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:
22
node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
generated
vendored
Normal file
22
node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { isMotionValue } from '../../../value/utils/is-motion-value.mjs';
|
||||
import { isForcedMotionValue } from '../../utils/is-forced-motion-value.mjs';
|
||||
|
||||
function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
|
||||
const style = props.style;
|
||||
const prevStyle = prevProps?.style;
|
||||
const newValues = {};
|
||||
if (!style)
|
||||
return newValues;
|
||||
for (const key in style) {
|
||||
if (isMotionValue(style[key]) ||
|
||||
(prevStyle && isMotionValue(prevStyle[key])) ||
|
||||
isForcedMotionValue(key, props) ||
|
||||
visualElement?.getValue(key)?.liveStyle !== undefined) {
|
||||
newValues[key] = style[key];
|
||||
}
|
||||
}
|
||||
return newValues;
|
||||
}
|
||||
|
||||
export { scrapeMotionValuesFromProps };
|
||||
//# sourceMappingURL=scrape-motion-values.mjs.map
|
||||
Reference in New Issue
Block a user