Initial commit — BMP Website 2026
Vollständiges Redesign mit Gold-Formularen, BMP-Logo, multi-step Forms (Bewerbung, Kontakt, Sponsoring), Netlify-Deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
27
node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
generated
vendored
Normal file
27
node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
function isIdentityScale(scale) {
|
||||
return scale === undefined || scale === 1;
|
||||
}
|
||||
function hasScale({ scale, scaleX, scaleY }) {
|
||||
return (!isIdentityScale(scale) ||
|
||||
!isIdentityScale(scaleX) ||
|
||||
!isIdentityScale(scaleY));
|
||||
}
|
||||
function hasTransform(values) {
|
||||
return (hasScale(values) ||
|
||||
has2DTranslate(values) ||
|
||||
values.z ||
|
||||
values.rotate ||
|
||||
values.rotateX ||
|
||||
values.rotateY ||
|
||||
values.skewX ||
|
||||
values.skewY);
|
||||
}
|
||||
function has2DTranslate(values) {
|
||||
return is2DTranslate(values.x) || is2DTranslate(values.y);
|
||||
}
|
||||
function is2DTranslate(value) {
|
||||
return value && value !== "0%";
|
||||
}
|
||||
|
||||
export { has2DTranslate, hasScale, hasTransform };
|
||||
//# sourceMappingURL=has-transform.mjs.map
|
||||
Reference in New Issue
Block a user