@burdenoff/microfe-brainyrich 2026.706.3 → 2026.706.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +5 -5
- package/dist/brainyrich/components/viz.js +155 -156
- package/dist/brainyrich/components/viz.js.map +1 -1
- package/dist/brainyrich/pages/_shared.js +76 -68
- package/dist/brainyrich/pages/_shared.js.map +1 -1
- package/package.json +1 -3
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -13
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +0 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -14
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -259
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -61
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -135
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -72
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -109
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -132
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -86
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -168
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -47
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -56
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -63
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -45
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -590
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -53
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -206
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -58
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -137
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -39
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -94
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -66
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -19
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -33
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -10
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -28
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -10
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { transformProps as e } from "../utils/keys-transform.js";
|
|
2
|
-
import { camelToDash as t } from "../dom/utils/camel-to-dash.js";
|
|
3
|
-
import { getDefaultValueType as n } from "../../value/types/maps/defaults.js";
|
|
4
|
-
import { createBox as r } from "../../projection/geometry/models.js";
|
|
5
|
-
import { DOMVisualElement as i } from "../dom/DOMVisualElement.js";
|
|
6
|
-
import { buildSVGAttrs as a } from "./utils/build-attrs.js";
|
|
7
|
-
import { camelCaseAttributes as o } from "./utils/camel-case-attrs.js";
|
|
8
|
-
import { isSVGTag as s } from "./utils/is-svg-tag.js";
|
|
9
|
-
import { renderSVG as c } from "./utils/render.js";
|
|
10
|
-
import { scrapeMotionValuesFromProps as l } from "./utils/scrape-motion-values.js";
|
|
11
|
-
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
|
|
12
|
-
var u = class extends i {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = r;
|
|
15
|
-
}
|
|
16
|
-
getBaseTargetFromProps(e, t) {
|
|
17
|
-
return e[t];
|
|
18
|
-
}
|
|
19
|
-
readValueFromInstance(r, i) {
|
|
20
|
-
if (e.has(i)) {
|
|
21
|
-
let e = n(i);
|
|
22
|
-
return e && e.default || 0;
|
|
23
|
-
}
|
|
24
|
-
return i = o.has(i) ? i : t(i), r.getAttribute(i);
|
|
25
|
-
}
|
|
26
|
-
scrapeMotionValuesFromProps(e, t, n) {
|
|
27
|
-
return l(e, t, n);
|
|
28
|
-
}
|
|
29
|
-
build(e, t, n) {
|
|
30
|
-
a(e, t, this.isSVGTag, n.transformTemplate, n.style);
|
|
31
|
-
}
|
|
32
|
-
renderInstance(e, t, n, r) {
|
|
33
|
-
c(e, t, n, r);
|
|
34
|
-
}
|
|
35
|
-
mount(e) {
|
|
36
|
-
this.isSVGTag = s(e.tagName), super.mount(e);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
//#endregion
|
|
40
|
-
export { u as SVGVisualElement };
|
|
41
|
-
|
|
42
|
-
//# sourceMappingURL=SVGVisualElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SVGVisualElement.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs"],"sourcesContent":["import { transformProps } from '../utils/keys-transform.mjs';\nimport { getDefaultValueType } from '../../value/types/maps/defaults.mjs';\nimport { createBox } from '../../projection/geometry/models.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\nimport { camelToDash } from '../dom/utils/camel-to-dash.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { camelCaseAttributes } from './utils/camel-case-attrs.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\nimport { renderSVG } from './utils/render.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nclass SVGVisualElement extends DOMVisualElement {\n constructor() {\n super(...arguments);\n this.type = \"svg\";\n this.isSVGTag = false;\n this.measureInstanceViewportBox = createBox;\n }\n getBaseTargetFromProps(props, key) {\n return props[key];\n }\n readValueFromInstance(instance, key) {\n if (transformProps.has(key)) {\n const defaultType = getDefaultValueType(key);\n return defaultType ? defaultType.default || 0 : 0;\n }\n key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;\n return instance.getAttribute(key);\n }\n scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n }\n build(renderState, latestValues, props) {\n buildSVGAttrs(renderState, latestValues, this.isSVGTag, props.transformTemplate, props.style);\n }\n renderInstance(instance, renderState, styleProp, projection) {\n renderSVG(instance, renderState, styleProp, projection);\n }\n mount(instance) {\n this.isSVGTag = isSVGTag(instance.tagName);\n super.mount(instance);\n }\n}\n\nexport { SVGVisualElement };\n//# sourceMappingURL=SVGVisualElement.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;AAWA,IAAM,IAAN,cAA+B,EAAiB;CAC5C,cAAc;AAIV,EAHA,MAAM,GAAG,UAAU,EACnB,KAAK,OAAO,OACZ,KAAK,WAAW,IAChB,KAAK,6BAA6B;;CAEtC,uBAAuB,GAAO,GAAK;AAC/B,SAAO,EAAM;;CAEjB,sBAAsB,GAAU,GAAK;AACjC,MAAI,EAAe,IAAI,EAAI,EAAE;GACzB,IAAM,IAAc,EAAoB,EAAI;AAC5C,UAAO,KAAc,EAAY,WAAe;;AAGpD,SADA,IAAO,EAAoB,IAAI,EAAI,GAAsB,IAAnB,EAAY,EAAI,EAC/C,EAAS,aAAa,EAAI;;CAErC,4BAA4B,GAAO,GAAW,GAAe;AACzD,SAAO,EAA4B,GAAO,GAAW,EAAc;;CAEvE,MAAM,GAAa,GAAc,GAAO;AACpC,IAAc,GAAa,GAAc,KAAK,UAAU,EAAM,mBAAmB,EAAM,MAAM;;CAEjG,eAAe,GAAU,GAAa,GAAW,GAAY;AACzD,IAAU,GAAU,GAAa,GAAW,EAAW;;CAE3D,MAAM,GAAU;AAEZ,EADA,KAAK,WAAW,EAAS,EAAS,QAAQ,EAC1C,MAAM,MAAM,EAAS"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { buildHTMLStyles as e } from "../../html/utils/build-styles.js";
|
|
2
|
-
import { buildSVGPath as t } from "./path.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
|
|
4
|
-
var n = [
|
|
5
|
-
"offsetDistance",
|
|
6
|
-
"offsetPath",
|
|
7
|
-
"offsetRotate",
|
|
8
|
-
"offsetAnchor"
|
|
9
|
-
];
|
|
10
|
-
function r(r, { attrX: i, attrY: a, attrScale: o, pathLength: s, pathSpacing: c = 1, pathOffset: l = 0, ...u }, d, f, p) {
|
|
11
|
-
if (e(r, u, f), d) {
|
|
12
|
-
r.style.viewBox && (r.attrs.viewBox = r.style.viewBox);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
r.attrs = r.style, r.style = {};
|
|
16
|
-
let { attrs: m, style: h } = r;
|
|
17
|
-
m.transform && (h.transform = m.transform, delete m.transform), (h.transform || m.transformOrigin) && (h.transformOrigin = m.transformOrigin ?? "50% 50%", delete m.transformOrigin), h.transform && (h.transformBox = p?.transformBox ?? "fill-box", delete m.transformBox);
|
|
18
|
-
for (let e of n) m[e] !== void 0 && (h[e] = m[e], delete m[e]);
|
|
19
|
-
i !== void 0 && (m.x = i), a !== void 0 && (m.y = a), o !== void 0 && (m.scale = o), s !== void 0 && t(m, s, c, l, !1);
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
export { r as buildSVGAttrs };
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=build-attrs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-attrs.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs"],"sourcesContent":["import { buildHTMLStyles } from '../../html/utils/build-styles.mjs';\nimport { buildSVGPath } from './path.mjs';\n\n/**\n * CSS Motion Path properties that should remain as CSS styles on SVG elements.\n */\nconst cssMotionPathProperties = [\n \"offsetDistance\",\n \"offsetPath\",\n \"offsetRotate\",\n \"offsetAnchor\",\n];\n/**\n * Build SVG visual attributes, like cx and style.transform\n */\nfunction buildSVGAttrs(state, { attrX, attrY, attrScale, pathLength, pathSpacing = 1, pathOffset = 0, \n// This is object creation, which we try to avoid per-frame.\n...latest }, isSVGTag, transformTemplate, styleProp) {\n buildHTMLStyles(state, latest, transformTemplate);\n /**\n * For svg tags we just want to make sure viewBox is animatable and treat all the styles\n * as normal HTML tags.\n */\n if (isSVGTag) {\n if (state.style.viewBox) {\n state.attrs.viewBox = state.style.viewBox;\n }\n return;\n }\n state.attrs = state.style;\n state.style = {};\n const { attrs, style } = state;\n /**\n * However, we apply transforms as CSS transforms.\n * So if we detect a transform, transformOrigin we take it from attrs and copy it into style.\n */\n if (attrs.transform) {\n style.transform = attrs.transform;\n delete attrs.transform;\n }\n if (style.transform || attrs.transformOrigin) {\n style.transformOrigin = attrs.transformOrigin ?? \"50% 50%\";\n delete attrs.transformOrigin;\n }\n if (style.transform) {\n /**\n * SVG's element transform-origin uses its own median as a reference.\n * Therefore, transformBox becomes a fill-box\n */\n style.transformBox = styleProp?.transformBox ?? \"fill-box\";\n delete attrs.transformBox;\n }\n for (const key of cssMotionPathProperties) {\n if (attrs[key] !== undefined) {\n style[key] = attrs[key];\n delete attrs[key];\n }\n }\n // Render attrX/attrY/attrScale as attributes\n if (attrX !== undefined)\n attrs.x = attrX;\n if (attrY !== undefined)\n attrs.y = attrY;\n if (attrScale !== undefined)\n attrs.scale = attrScale;\n // Build SVG path if one has been defined\n if (pathLength !== undefined) {\n buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);\n }\n}\n\nexport { buildSVGAttrs };\n//# sourceMappingURL=build-attrs.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAMA,IAAM,IAA0B;CAC5B;CACA;CACA;CACA;CACH;AAID,SAAS,EAAc,GAAO,EAAE,UAAO,UAAO,cAAW,eAAY,iBAAc,GAAG,gBAAa,GAEnG,GAAG,KAAU,GAAU,GAAmB,GAAW;AAMjD,KALA,EAAgB,GAAO,GAAQ,EAAkB,EAK7C,GAAU;AACV,EAAI,EAAM,MAAM,YACZ,EAAM,MAAM,UAAU,EAAM,MAAM;AAEtC;;AAGJ,CADA,EAAM,QAAQ,EAAM,OACpB,EAAM,QAAQ,EAAE;CAChB,IAAM,EAAE,UAAO,aAAU;AAazB,CARI,EAAM,cACN,EAAM,YAAY,EAAM,WACxB,OAAO,EAAM,aAEb,EAAM,aAAa,EAAM,qBACzB,EAAM,kBAAkB,EAAM,mBAAmB,WACjD,OAAO,EAAM,kBAEb,EAAM,cAKN,EAAM,eAAe,GAAW,gBAAgB,YAChD,OAAO,EAAM;AAEjB,MAAK,IAAM,KAAO,EACd,CAAI,EAAM,OAAS,KAAA,MACf,EAAM,KAAO,EAAM,IACnB,OAAO,EAAM;AAWrB,CAPI,MAAU,KAAA,MACV,EAAM,IAAI,IACV,MAAU,KAAA,MACV,EAAM,IAAI,IACV,MAAc,KAAA,MACd,EAAM,QAAQ,IAEd,MAAe,KAAA,KACf,EAAa,GAAO,GAAY,GAAa,GAAY,GAAM"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
|
|
2
|
-
var e = new Set([
|
|
3
|
-
"baseFrequency",
|
|
4
|
-
"diffuseConstant",
|
|
5
|
-
"kernelMatrix",
|
|
6
|
-
"kernelUnitLength",
|
|
7
|
-
"keySplines",
|
|
8
|
-
"keyTimes",
|
|
9
|
-
"limitingConeAngle",
|
|
10
|
-
"markerHeight",
|
|
11
|
-
"markerWidth",
|
|
12
|
-
"numOctaves",
|
|
13
|
-
"targetX",
|
|
14
|
-
"targetY",
|
|
15
|
-
"surfaceScale",
|
|
16
|
-
"specularConstant",
|
|
17
|
-
"specularExponent",
|
|
18
|
-
"stdDeviation",
|
|
19
|
-
"tableValues",
|
|
20
|
-
"viewBox",
|
|
21
|
-
"gradientTransform",
|
|
22
|
-
"pathLength",
|
|
23
|
-
"startOffset",
|
|
24
|
-
"textLength",
|
|
25
|
-
"lengthAdjust"
|
|
26
|
-
]);
|
|
27
|
-
//#endregion
|
|
28
|
-
export { e as camelCaseAttributes };
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=camel-case-attrs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"camel-case-attrs.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs"],"sourcesContent":["/**\n * A set of attribute names that are always read/written as camel case.\n */\nconst camelCaseAttributes = new Set([\n \"baseFrequency\",\n \"diffuseConstant\",\n \"kernelMatrix\",\n \"kernelUnitLength\",\n \"keySplines\",\n \"keyTimes\",\n \"limitingConeAngle\",\n \"markerHeight\",\n \"markerWidth\",\n \"numOctaves\",\n \"targetX\",\n \"targetY\",\n \"surfaceScale\",\n \"specularConstant\",\n \"specularExponent\",\n \"stdDeviation\",\n \"tableValues\",\n \"viewBox\",\n \"gradientTransform\",\n \"pathLength\",\n \"startOffset\",\n \"textLength\",\n \"lengthAdjust\",\n]);\n\nexport { camelCaseAttributes };\n//# sourceMappingURL=camel-case-attrs.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAGA,IAAM,IAAsB,IAAI,IAAI;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-svg-tag.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs"],"sourcesContent":["const isSVGTag = (tag) => typeof tag === \"string\" && tag.toLowerCase() === \"svg\";\n\nexport { isSVGTag };\n//# sourceMappingURL=is-svg-tag.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAY,MAAQ,OAAO,KAAQ,YAAY,EAAI,aAAa,KAAK"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
|
|
2
|
-
var e = {
|
|
3
|
-
offset: "stroke-dashoffset",
|
|
4
|
-
array: "stroke-dasharray"
|
|
5
|
-
}, t = {
|
|
6
|
-
offset: "strokeDashoffset",
|
|
7
|
-
array: "strokeDasharray"
|
|
8
|
-
};
|
|
9
|
-
function n(n, r, i = 1, a = 0, o = !0) {
|
|
10
|
-
n.pathLength = 1;
|
|
11
|
-
let s = o ? e : t;
|
|
12
|
-
n[s.offset] = `${-a}`, n[s.array] = `${r} ${i}`;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { n as buildSVGPath };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=path.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/path.mjs"],"sourcesContent":["const dashKeys = {\n offset: \"stroke-dashoffset\",\n array: \"stroke-dasharray\",\n};\nconst camelKeys = {\n offset: \"strokeDashoffset\",\n array: \"strokeDasharray\",\n};\n/**\n * Build SVG path properties. Uses the path's measured length to convert\n * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset\n * and stroke-dasharray attributes.\n *\n * This function is mutative to reduce per-frame GC.\n *\n * Note: We use unitless values for stroke-dasharray and stroke-dashoffset\n * because Safari incorrectly scales px values when the page is zoomed.\n */\nfunction buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {\n // Normalise path length by setting SVG attribute pathLength to 1\n attrs.pathLength = 1;\n // We use dash case when setting attributes directly to the DOM node and camel case\n // when defining props on a React component.\n const keys = useDashCase ? dashKeys : camelKeys;\n // Build the dash offset (unitless to avoid Safari zoom bug)\n attrs[keys.offset] = `${-offset}`;\n // Build the dash array (unitless to avoid Safari zoom bug)\n attrs[keys.array] = `${length} ${spacing}`;\n}\n\nexport { buildSVGPath };\n//# sourceMappingURL=path.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAW;CACb,QAAQ;CACR,OAAO;CACV,EACK,IAAY;CACd,QAAQ;CACR,OAAO;CACV;AAWD,SAAS,EAAa,GAAO,GAAQ,IAAU,GAAG,IAAS,GAAG,IAAc,IAAM;AAE9E,GAAM,aAAa;CAGnB,IAAM,IAAO,IAAc,IAAW;AAItC,CAFA,EAAM,EAAK,UAAU,GAAG,CAAC,KAEzB,EAAM,EAAK,SAAS,GAAG,EAAO,GAAG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { camelToDash as e } from "../../dom/utils/camel-to-dash.js";
|
|
2
|
-
import { renderHTML as t } from "../../html/utils/render.js";
|
|
3
|
-
import { camelCaseAttributes as n } from "./camel-case-attrs.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
|
|
5
|
-
function r(r, i, a, o) {
|
|
6
|
-
t(r, i, void 0, o);
|
|
7
|
-
for (let t in i.attrs) r.setAttribute(n.has(t) ? t : e(t), i.attrs[t]);
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { r as renderSVG };
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=render.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/render.mjs"],"sourcesContent":["import { camelToDash } from '../../dom/utils/camel-to-dash.mjs';\nimport { renderHTML } from '../../html/utils/render.mjs';\nimport { camelCaseAttributes } from './camel-case-attrs.mjs';\n\nfunction renderSVG(element, renderState, _styleProp, projection) {\n renderHTML(element, renderState, undefined, projection);\n for (const key in renderState.attrs) {\n element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);\n }\n}\n\nexport { renderSVG };\n//# sourceMappingURL=render.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAS,EAAU,GAAS,GAAa,GAAY,GAAY;AAC7D,GAAW,GAAS,GAAa,KAAA,GAAW,EAAW;AACvD,MAAK,IAAM,KAAO,EAAY,MAC1B,GAAQ,aAAc,EAAoB,IAAI,EAAI,GAAsB,IAAnB,EAAY,EAAI,EAAQ,EAAY,MAAM,GAAK"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { transformPropOrder as e } from "../../utils/keys-transform.js";
|
|
2
|
-
import { isMotionValue as t } from "../../../value/utils/is-motion-value.js";
|
|
3
|
-
import { scrapeMotionValuesFromProps as n } from "../../html/utils/scrape-motion-values.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
|
|
5
|
-
function r(r, i, a) {
|
|
6
|
-
let o = n(r, i, a);
|
|
7
|
-
for (let n in r) if (t(r[n]) || t(i[n])) {
|
|
8
|
-
let t = e.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
|
|
9
|
-
o[t] = r[n];
|
|
10
|
-
}
|
|
11
|
-
return o;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { r as scrapeMotionValuesFromProps };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=scrape-motion-values.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scrape-motion-values.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue } from '../../../value/utils/is-motion-value.mjs';\nimport { transformPropOrder } from '../../utils/keys-transform.mjs';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n for (const key in props) {\n if (isMotionValue(props[key]) ||\n isMotionValue(prevProps[key])) {\n const targetKey = transformPropOrder.indexOf(key) !== -1\n ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1)\n : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n//# sourceMappingURL=scrape-motion-values.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAS,EAA4B,GAAO,GAAW,GAAe;CAClE,IAAM,IAAY,EAA8B,GAAO,GAAW,EAAc;AAChF,MAAK,IAAM,KAAO,EACd,KAAI,EAAc,EAAM,GAAK,IACzB,EAAc,EAAU,GAAK,EAAE;EAC/B,IAAM,IAAY,EAAmB,QAAQ,EAAI,KAAK,KAEhD,IADA,SAAS,EAAI,OAAO,EAAE,CAAC,aAAa,GAAG,EAAI,UAAU,EAAE;AAE7D,IAAU,KAAa,EAAM;;AAGrC,QAAO"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { calcChildStagger as e } from "../../animation/utils/calc-child-stagger.js";
|
|
2
|
-
import { resolveVariant as t } from "./resolve-dynamic-variants.js";
|
|
3
|
-
import { isKeyframesTarget as n } from "./is-keyframes-target.js";
|
|
4
|
-
import { animateVisualElement as r } from "../../animation/interfaces/visual-element.js";
|
|
5
|
-
import { isAnimationControls as i } from "./is-animation-controls.js";
|
|
6
|
-
import { isVariantLabel as a } from "./is-variant-label.js";
|
|
7
|
-
import { variantPriorityOrder as o } from "./variant-props.js";
|
|
8
|
-
import { getVariantContext as s } from "./get-variant-context.js";
|
|
9
|
-
import { shallowCompare as c } from "./shallow-compare.js";
|
|
10
|
-
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
|
|
11
|
-
var l = [...o].reverse(), u = o.length;
|
|
12
|
-
function d(e) {
|
|
13
|
-
return (t) => Promise.all(t.map(({ animation: t, options: n }) => r(e, t, n)));
|
|
14
|
-
}
|
|
15
|
-
function f(r) {
|
|
16
|
-
let o = d(r), f = h(), m = !0, g = !1, _ = (e) => (n, i) => {
|
|
17
|
-
let a = t(r, i, e === "exit" ? r.presenceContext?.custom : void 0);
|
|
18
|
-
if (a) {
|
|
19
|
-
let { transition: e, transitionEnd: t, ...r } = a;
|
|
20
|
-
n = {
|
|
21
|
-
...n,
|
|
22
|
-
...r,
|
|
23
|
-
...t
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
return n;
|
|
27
|
-
};
|
|
28
|
-
function v(e) {
|
|
29
|
-
o = e(r);
|
|
30
|
-
}
|
|
31
|
-
function y(d) {
|
|
32
|
-
let { props: h } = r, v = s(r.parent) || {}, y = [], b = /* @__PURE__ */ new Set(), x = {}, S = Infinity;
|
|
33
|
-
for (let o = 0; o < u; o++) {
|
|
34
|
-
let s = l[o], u = f[s], C = h[s] === void 0 ? v[s] : h[s], w = a(C), T = s === d ? u.isActive : null;
|
|
35
|
-
T === !1 && (S = o);
|
|
36
|
-
let E = C === v[s] && C !== h[s] && w;
|
|
37
|
-
if (E && (m || g) && r.manuallyAnimateOnMount && (E = !1), u.protectedKeys = { ...x }, !u.isActive && T === null || !C && !u.prevProp || i(C) || typeof C == "boolean") continue;
|
|
38
|
-
if (s === "exit" && u.isActive && T !== !0) {
|
|
39
|
-
u.prevResolvedValues && (x = {
|
|
40
|
-
...x,
|
|
41
|
-
...u.prevResolvedValues
|
|
42
|
-
});
|
|
43
|
-
continue;
|
|
44
|
-
}
|
|
45
|
-
let D = p(u.prevProp, C), O = D || s === d && u.isActive && !E && w || o > S && w, k = !1, A = Array.isArray(C) ? C : [C], j = A.reduce(_(s), {});
|
|
46
|
-
T === !1 && (j = {});
|
|
47
|
-
let { prevResolvedValues: M = {} } = u, N = {
|
|
48
|
-
...M,
|
|
49
|
-
...j
|
|
50
|
-
}, P = (e) => {
|
|
51
|
-
O = !0, b.has(e) && (k = !0, b.delete(e)), u.needsAnimating[e] = !0;
|
|
52
|
-
let t = r.getValue(e);
|
|
53
|
-
t && (t.liveStyle = !1);
|
|
54
|
-
};
|
|
55
|
-
for (let e in N) {
|
|
56
|
-
let t = j[e], r = M[e];
|
|
57
|
-
if (x.hasOwnProperty(e)) continue;
|
|
58
|
-
let i = !1;
|
|
59
|
-
i = n(t) && n(r) ? !c(t, r) : t !== r, i ? t == null ? b.add(e) : P(e) : t !== void 0 && b.has(e) ? P(e) : u.protectedKeys[e] = !0;
|
|
60
|
-
}
|
|
61
|
-
u.prevProp = C, u.prevResolvedValues = j, u.isActive && (x = {
|
|
62
|
-
...x,
|
|
63
|
-
...j
|
|
64
|
-
}), (m || g) && r.blockInitialAnimation && (O = !1);
|
|
65
|
-
let F = E && D;
|
|
66
|
-
O && (!F || k) && y.push(...A.map((n) => {
|
|
67
|
-
let i = { type: s };
|
|
68
|
-
if (typeof n == "string" && (m || g) && !F && r.manuallyAnimateOnMount && r.parent) {
|
|
69
|
-
let { parent: a } = r, o = t(a, n);
|
|
70
|
-
if (a.enteringChildren && o) {
|
|
71
|
-
let { delayChildren: t } = o.transition || {};
|
|
72
|
-
i.delay = e(a.enteringChildren, r, t);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
animation: n,
|
|
77
|
-
options: i
|
|
78
|
-
};
|
|
79
|
-
}));
|
|
80
|
-
}
|
|
81
|
-
if (b.size) {
|
|
82
|
-
let e = {};
|
|
83
|
-
if (typeof h.initial != "boolean") {
|
|
84
|
-
let n = t(r, Array.isArray(h.initial) ? h.initial[0] : h.initial);
|
|
85
|
-
n && n.transition && (e.transition = n.transition);
|
|
86
|
-
}
|
|
87
|
-
b.forEach((t) => {
|
|
88
|
-
let n = r.getBaseTarget(t), i = r.getValue(t);
|
|
89
|
-
i && (i.liveStyle = !0), e[t] = n ?? null;
|
|
90
|
-
}), y.push({ animation: e });
|
|
91
|
-
}
|
|
92
|
-
let C = !!y.length;
|
|
93
|
-
return m && (h.initial === !1 || h.initial === h.animate) && !r.manuallyAnimateOnMount && (C = !1), m = !1, g = !1, C ? o(y) : Promise.resolve();
|
|
94
|
-
}
|
|
95
|
-
function b(e, t) {
|
|
96
|
-
if (f[e].isActive === t) return Promise.resolve();
|
|
97
|
-
r.variantChildren?.forEach((n) => n.animationState?.setActive(e, t)), f[e].isActive = t;
|
|
98
|
-
let n = y(e);
|
|
99
|
-
for (let e in f) f[e].protectedKeys = {};
|
|
100
|
-
return n;
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
animateChanges: y,
|
|
104
|
-
setActive: b,
|
|
105
|
-
setAnimateFunction: v,
|
|
106
|
-
getState: () => f,
|
|
107
|
-
reset: () => {
|
|
108
|
-
f = h(), g = !0;
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function p(e, t) {
|
|
113
|
-
return typeof t == "string" ? t !== e : Array.isArray(t) ? !c(t, e) : !1;
|
|
114
|
-
}
|
|
115
|
-
function m(e = !1) {
|
|
116
|
-
return {
|
|
117
|
-
isActive: e,
|
|
118
|
-
protectedKeys: {},
|
|
119
|
-
needsAnimating: {},
|
|
120
|
-
prevResolvedValues: {}
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function h() {
|
|
124
|
-
return {
|
|
125
|
-
animate: m(!0),
|
|
126
|
-
whileInView: m(),
|
|
127
|
-
whileHover: m(),
|
|
128
|
-
whileTap: m(),
|
|
129
|
-
whileDrag: m(),
|
|
130
|
-
whileFocus: m(),
|
|
131
|
-
exit: m()
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
//#endregion
|
|
135
|
-
export { f as createAnimationState };
|
|
136
|
-
|
|
137
|
-
//# sourceMappingURL=animation-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"animation-state.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/animation-state.mjs"],"sourcesContent":["import { animateVisualElement } from '../../animation/interfaces/visual-element.mjs';\nimport { calcChildStagger } from '../../animation/utils/calc-child-stagger.mjs';\nimport { getVariantContext } from './get-variant-context.mjs';\nimport { isAnimationControls } from './is-animation-controls.mjs';\nimport { isKeyframesTarget } from './is-keyframes-target.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\nimport { shallowCompare } from './shallow-compare.mjs';\nimport { variantPriorityOrder } from './variant-props.mjs';\n\nconst reversePriorityOrder = [...variantPriorityOrder].reverse();\nconst numAnimationTypes = variantPriorityOrder.length;\nfunction createAnimateFunction(visualElement) {\n return (animations) => {\n return Promise.all(animations.map(({ animation, options }) => animateVisualElement(visualElement, animation, options)));\n };\n}\nfunction createAnimationState(visualElement) {\n let animate = createAnimateFunction(visualElement);\n let state = createState();\n let isInitialRender = true;\n /**\n * Track whether the animation state has been reset (e.g. via StrictMode\n * double-invocation or Suspense unmount/remount). On the first\n * animateChanges() call after a reset we need to behave like the initial\n * render for variant-inheritance checks, even though isInitialRender is\n * already false.\n */\n let wasReset = false;\n /**\n * This function will be used to reduce the animation definitions for\n * each active animation type into an object of resolved values for it.\n */\n const buildResolvedTypeValues = (type) => (acc, definition) => {\n const resolved = resolveVariant(visualElement, definition, type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n acc = { ...acc, ...target, ...transitionEnd };\n }\n return acc;\n };\n /**\n * This just allows us to inject mocked animation functions\n * @internal\n */\n function setAnimateFunction(makeAnimator) {\n animate = makeAnimator(visualElement);\n }\n /**\n * When we receive new props, we need to:\n * 1. Create a list of protected keys for each type. This is a directory of\n * value keys that are currently being \"handled\" by types of a higher priority\n * so that whenever an animation is played of a given type, these values are\n * protected from being animated.\n * 2. Determine if an animation type needs animating.\n * 3. Determine if any values have been removed from a type and figure out\n * what to animate those to.\n */\n function animateChanges(changedActiveType) {\n const { props } = visualElement;\n const context = getVariantContext(visualElement.parent) || {};\n /**\n * A list of animations that we'll build into as we iterate through the animation\n * types. This will get executed at the end of the function.\n */\n const animations = [];\n /**\n * Keep track of which values have been removed. Then, as we hit lower priority\n * animation types, we can check if they contain removed values and animate to that.\n */\n const removedKeys = new Set();\n /**\n * A dictionary of all encountered keys. This is an object to let us build into and\n * copy it without iteration. Each time we hit an animation type we set its protected\n * keys - the keys its not allowed to animate - to the latest version of this object.\n */\n let encounteredKeys = {};\n /**\n * If a variant has been removed at a given index, and this component is controlling\n * variant animations, we want to ensure lower-priority variants are forced to animate.\n */\n let removedVariantIndex = Infinity;\n /**\n * Iterate through all animation types in reverse priority order. For each, we want to\n * detect which values it's handling and whether or not they've changed (and therefore\n * need to be animated). If any values have been removed, we want to detect those in\n * lower priority props and flag for animation.\n */\n for (let i = 0; i < numAnimationTypes; i++) {\n const type = reversePriorityOrder[i];\n const typeState = state[type];\n const prop = props[type] !== undefined\n ? props[type]\n : context[type];\n const propIsVariant = isVariantLabel(prop);\n /**\n * If this type has *just* changed isActive status, set activeDelta\n * to that status. Otherwise set to null.\n */\n const activeDelta = type === changedActiveType ? typeState.isActive : null;\n if (activeDelta === false)\n removedVariantIndex = i;\n /**\n * If this prop is an inherited variant, rather than been set directly on the\n * component itself, we want to make sure we allow the parent to trigger animations.\n *\n * TODO: Can probably change this to a !isControllingVariants check\n */\n let isInherited = prop === context[type] &&\n prop !== props[type] &&\n propIsVariant;\n if (isInherited &&\n (isInitialRender || wasReset) &&\n visualElement.manuallyAnimateOnMount) {\n isInherited = false;\n }\n /**\n * Set all encountered keys so far as the protected keys for this type. This will\n * be any key that has been animated or otherwise handled by active, higher-priortiy types.\n */\n typeState.protectedKeys = { ...encounteredKeys };\n // Check if we can skip analysing this prop early\n if (\n // If it isn't active and hasn't *just* been set as inactive\n (!typeState.isActive && activeDelta === null) ||\n // If we didn't and don't have any defined prop for this animation type\n (!prop && !typeState.prevProp) ||\n // Or if the prop doesn't define an animation\n isAnimationControls(prop) ||\n typeof prop === \"boolean\") {\n continue;\n }\n /**\n * If exit is already active and wasn't just activated, skip\n * re-processing to prevent interrupting running exit animations.\n * Re-resolving exit with a changed custom value can start new\n * value animations that stop the originals, leaving the exit\n * animation promise unresolved and the component stuck in the DOM.\n */\n if (type === \"exit\" && typeState.isActive && activeDelta !== true) {\n if (typeState.prevResolvedValues) {\n encounteredKeys = {\n ...encounteredKeys,\n ...typeState.prevResolvedValues,\n };\n }\n continue;\n }\n /**\n * As we go look through the values defined on this type, if we detect\n * a changed value or a value that was removed in a higher priority, we set\n * this to true and add this prop to the animation list.\n */\n const variantDidChange = checkVariantsDidChange(typeState.prevProp, prop);\n let shouldAnimateType = variantDidChange ||\n // If we're making this variant active, we want to always make it active\n (type === changedActiveType &&\n typeState.isActive &&\n !isInherited &&\n propIsVariant) ||\n // If we removed a higher-priority variant (i is in reverse order)\n (i > removedVariantIndex && propIsVariant);\n let handledRemovedValues = false;\n /**\n * As animations can be set as variant lists, variants or target objects, we\n * coerce everything to an array if it isn't one already\n */\n const definitionList = Array.isArray(prop) ? prop : [prop];\n /**\n * Build an object of all the resolved values. We'll use this in the subsequent\n * animateChanges calls to determine whether a value has changed.\n */\n let resolvedValues = definitionList.reduce(buildResolvedTypeValues(type), {});\n if (activeDelta === false)\n resolvedValues = {};\n /**\n * Now we need to loop through all the keys in the prev prop and this prop,\n * and decide:\n * 1. If the value has changed, and needs animating\n * 2. If it has been removed, and needs adding to the removedKeys set\n * 3. If it has been removed in a higher priority type and needs animating\n * 4. If it hasn't been removed in a higher priority but hasn't changed, and\n * needs adding to the type's protectedKeys list.\n */\n const { prevResolvedValues = {} } = typeState;\n const allKeys = {\n ...prevResolvedValues,\n ...resolvedValues,\n };\n const markToAnimate = (key) => {\n shouldAnimateType = true;\n if (removedKeys.has(key)) {\n handledRemovedValues = true;\n removedKeys.delete(key);\n }\n typeState.needsAnimating[key] = true;\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = false;\n };\n for (const key in allKeys) {\n const next = resolvedValues[key];\n const prev = prevResolvedValues[key];\n // If we've already handled this we can just skip ahead\n if (encounteredKeys.hasOwnProperty(key))\n continue;\n /**\n * If the value has changed, we probably want to animate it.\n */\n let valueHasChanged = false;\n if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {\n valueHasChanged = !shallowCompare(next, prev);\n }\n else {\n valueHasChanged = next !== prev;\n }\n if (valueHasChanged) {\n if (next !== undefined && next !== null) {\n // If next is defined and doesn't equal prev, it needs animating\n markToAnimate(key);\n }\n else {\n // If it's undefined, it's been removed.\n removedKeys.add(key);\n }\n }\n else if (next !== undefined && removedKeys.has(key)) {\n /**\n * If next hasn't changed and it isn't undefined, we want to check if it's\n * been removed by a higher priority\n */\n markToAnimate(key);\n }\n else {\n /**\n * If it hasn't changed, we add it to the list of protected values\n * to ensure it doesn't get animated.\n */\n typeState.protectedKeys[key] = true;\n }\n }\n /**\n * Update the typeState so next time animateChanges is called we can compare the\n * latest prop and resolvedValues to these.\n */\n typeState.prevProp = prop;\n typeState.prevResolvedValues = resolvedValues;\n if (typeState.isActive) {\n encounteredKeys = { ...encounteredKeys, ...resolvedValues };\n }\n if ((isInitialRender || wasReset) &&\n visualElement.blockInitialAnimation) {\n shouldAnimateType = false;\n }\n /**\n * If this is an inherited prop we want to skip this animation\n * unless the inherited variants haven't changed on this render.\n */\n const willAnimateViaParent = isInherited && variantDidChange;\n const needsAnimating = !willAnimateViaParent || handledRemovedValues;\n if (shouldAnimateType && needsAnimating) {\n animations.push(...definitionList.map((animation) => {\n const options = { type };\n /**\n * If we're performing the initial animation, but we're not\n * rendering at the same time as the variant-controlling parent,\n * we want to use the parent's transition to calculate the stagger.\n */\n if (typeof animation === \"string\" &&\n (isInitialRender || wasReset) &&\n !willAnimateViaParent &&\n visualElement.manuallyAnimateOnMount &&\n visualElement.parent) {\n const { parent } = visualElement;\n const parentVariant = resolveVariant(parent, animation);\n if (parent.enteringChildren && parentVariant) {\n const { delayChildren } = parentVariant.transition || {};\n options.delay = calcChildStagger(parent.enteringChildren, visualElement, delayChildren);\n }\n }\n return {\n animation: animation,\n options,\n };\n }));\n }\n }\n /**\n * If there are some removed value that haven't been dealt with,\n * we need to create a new animation that falls back either to the value\n * defined in the style prop, or the last read value.\n */\n if (removedKeys.size) {\n const fallbackAnimation = {};\n /**\n * If the initial prop contains a transition we can use that, otherwise\n * allow the animation function to use the visual element's default.\n */\n if (typeof props.initial !== \"boolean\") {\n const initialTransition = resolveVariant(visualElement, Array.isArray(props.initial)\n ? props.initial[0]\n : props.initial);\n if (initialTransition && initialTransition.transition) {\n fallbackAnimation.transition = initialTransition.transition;\n }\n }\n removedKeys.forEach((key) => {\n const fallbackTarget = visualElement.getBaseTarget(key);\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = true;\n // @ts-expect-error - @mattgperry to figure if we should do something here\n fallbackAnimation[key] = fallbackTarget ?? null;\n });\n animations.push({ animation: fallbackAnimation });\n }\n let shouldAnimate = Boolean(animations.length);\n if (isInitialRender &&\n (props.initial === false || props.initial === props.animate) &&\n !visualElement.manuallyAnimateOnMount) {\n shouldAnimate = false;\n }\n isInitialRender = false;\n wasReset = false;\n return shouldAnimate ? animate(animations) : Promise.resolve();\n }\n /**\n * Change whether a certain animation type is active.\n */\n function setActive(type, isActive) {\n // If the active state hasn't changed, we can safely do nothing here\n if (state[type].isActive === isActive)\n return Promise.resolve();\n // Propagate active change to children\n visualElement.variantChildren?.forEach((child) => child.animationState?.setActive(type, isActive));\n state[type].isActive = isActive;\n const animations = animateChanges(type);\n for (const key in state) {\n state[key].protectedKeys = {};\n }\n return animations;\n }\n return {\n animateChanges,\n setActive,\n setAnimateFunction,\n getState: () => state,\n reset: () => {\n state = createState();\n wasReset = true;\n },\n };\n}\nfunction checkVariantsDidChange(prev, next) {\n if (typeof next === \"string\") {\n return next !== prev;\n }\n else if (Array.isArray(next)) {\n return !shallowCompare(next, prev);\n }\n return false;\n}\nfunction createTypeState(isActive = false) {\n return {\n isActive,\n protectedKeys: {},\n needsAnimating: {},\n prevResolvedValues: {},\n };\n}\nfunction createState() {\n return {\n animate: createTypeState(true),\n whileInView: createTypeState(),\n whileHover: createTypeState(),\n whileTap: createTypeState(),\n whileDrag: createTypeState(),\n whileFocus: createTypeState(),\n exit: createTypeState(),\n };\n}\n\nexport { checkVariantsDidChange, createAnimationState };\n//# sourceMappingURL=animation-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AAUA,IAAM,IAAuB,CAAC,GAAG,EAAqB,CAAC,SAAS,EAC1D,IAAoB,EAAqB;AAC/C,SAAS,EAAsB,GAAe;AAC1C,SAAQ,MACG,QAAQ,IAAI,EAAW,KAAK,EAAE,cAAW,iBAAc,EAAqB,GAAe,GAAW,EAAQ,CAAC,CAAC;;AAG/H,SAAS,EAAqB,GAAe;CACzC,IAAI,IAAU,EAAsB,EAAc,EAC9C,IAAQ,GAAa,EACrB,IAAkB,IAQlB,IAAW,IAKT,KAA2B,OAAU,GAAK,MAAe;EAC3D,IAAM,IAAW,EAAe,GAAe,GAAY,MAAS,SAC9D,EAAc,iBAAiB,SAC/B,KAAA,EAAU;AAChB,MAAI,GAAU;GACV,IAAM,EAAE,eAAY,kBAAe,GAAG,MAAW;AACjD,OAAM;IAAE,GAAG;IAAK,GAAG;IAAQ,GAAG;IAAe;;AAEjD,SAAO;;CAMX,SAAS,EAAmB,GAAc;AACtC,MAAU,EAAa,EAAc;;CAYzC,SAAS,EAAe,GAAmB;EACvC,IAAM,EAAE,aAAU,GACZ,IAAU,EAAkB,EAAc,OAAO,IAAI,EAAE,EAKvD,IAAa,EAAE,EAKf,oBAAc,IAAI,KAAK,EAMzB,IAAkB,EAAE,EAKpB,IAAsB;AAO1B,OAAK,IAAI,IAAI,GAAG,IAAI,GAAmB,KAAK;GACxC,IAAM,IAAO,EAAqB,IAC5B,IAAY,EAAM,IAClB,IAAO,EAAM,OAAU,KAAA,IAEvB,EAAQ,KADR,EAAM,IAEN,IAAgB,EAAe,EAAK,EAKpC,IAAc,MAAS,IAAoB,EAAU,WAAW;AACtE,GAAI,MAAgB,OAChB,IAAsB;GAO1B,IAAI,IAAc,MAAS,EAAQ,MAC/B,MAAS,EAAM,MACf;AAYJ,OAXI,MACC,KAAmB,MACpB,EAAc,2BACd,IAAc,KAMlB,EAAU,gBAAgB,EAAE,GAAG,GAAiB,EAI/C,CAAC,EAAU,YAAY,MAAgB,QAEnC,CAAC,KAAQ,CAAC,EAAU,YAErB,EAAoB,EAAK,IACzB,OAAO,KAAS,UAChB;AASJ,OAAI,MAAS,UAAU,EAAU,YAAY,MAAgB,IAAM;AAC/D,IAAI,EAAU,uBACV,IAAkB;KACd,GAAG;KACH,GAAG,EAAU;KAChB;AAEL;;GAOJ,IAAM,IAAmB,EAAuB,EAAU,UAAU,EAAK,EACrE,IAAoB,KAEnB,MAAS,KACN,EAAU,YACV,CAAC,KACD,KAEH,IAAI,KAAuB,GAC5B,IAAuB,IAKrB,IAAiB,MAAM,QAAQ,EAAK,GAAG,IAAO,CAAC,EAAK,EAKtD,IAAiB,EAAe,OAAO,EAAwB,EAAK,EAAE,EAAE,CAAC;AAC7E,GAAI,MAAgB,OAChB,IAAiB,EAAE;GAUvB,IAAM,EAAE,wBAAqB,EAAE,KAAK,GAC9B,IAAU;IACZ,GAAG;IACH,GAAG;IACN,EACK,KAAiB,MAAQ;AAM3B,IALA,IAAoB,IAChB,EAAY,IAAI,EAAI,KACpB,IAAuB,IACvB,EAAY,OAAO,EAAI,GAE3B,EAAU,eAAe,KAAO;IAChC,IAAM,IAAc,EAAc,SAAS,EAAI;AAC/C,IAAI,MACA,EAAY,YAAY;;AAEhC,QAAK,IAAM,KAAO,GAAS;IACvB,IAAM,IAAO,EAAe,IACtB,IAAO,EAAmB;AAEhC,QAAI,EAAgB,eAAe,EAAI,CACnC;IAIJ,IAAI,IAAkB;AAOtB,IANA,AAII,IAJA,EAAkB,EAAK,IAAI,EAAkB,EAAK,GAChC,CAAC,EAAe,GAAM,EAAK,GAG3B,MAAS,GAE3B,IACI,KAA+B,OAM/B,EAAY,IAAI,EAAI,GAJpB,EAAc,EAAI,GAOjB,MAAS,KAAA,KAAa,EAAY,IAAI,EAAI,GAK/C,EAAc,EAAI,GAOlB,EAAU,cAAc,KAAO;;AAYvC,GALA,EAAU,WAAW,GACrB,EAAU,qBAAqB,GAC3B,EAAU,aACV,IAAkB;IAAE,GAAG;IAAiB,GAAG;IAAgB,IAE1D,KAAmB,MACpB,EAAc,0BACd,IAAoB;GAMxB,IAAM,IAAuB,KAAe;AAE5C,GAAI,MADmB,CAAC,KAAwB,MAE5C,EAAW,KAAK,GAAG,EAAe,KAAK,MAAc;IACjD,IAAM,IAAU,EAAE,SAAM;AAMxB,QAAI,OAAO,KAAc,aACpB,KAAmB,MACpB,CAAC,KACD,EAAc,0BACd,EAAc,QAAQ;KACtB,IAAM,EAAE,cAAW,GACb,IAAgB,EAAe,GAAQ,EAAU;AACvD,SAAI,EAAO,oBAAoB,GAAe;MAC1C,IAAM,EAAE,qBAAkB,EAAc,cAAc,EAAE;AACxD,QAAQ,QAAQ,EAAiB,EAAO,kBAAkB,GAAe,EAAc;;;AAG/F,WAAO;KACQ;KACX;KACH;KACH,CAAC;;AAQX,MAAI,EAAY,MAAM;GAClB,IAAM,IAAoB,EAAE;AAK5B,OAAI,OAAO,EAAM,WAAY,WAAW;IACpC,IAAM,IAAoB,EAAe,GAAe,MAAM,QAAQ,EAAM,QAAQ,GAC9E,EAAM,QAAQ,KACd,EAAM,QAAQ;AACpB,IAAI,KAAqB,EAAkB,eACvC,EAAkB,aAAa,EAAkB;;AAWzD,GARA,EAAY,SAAS,MAAQ;IACzB,IAAM,IAAiB,EAAc,cAAc,EAAI,EACjD,IAAc,EAAc,SAAS,EAAI;AAI/C,IAHI,MACA,EAAY,YAAY,KAE5B,EAAkB,KAAO,KAAkB;KAC7C,EACF,EAAW,KAAK,EAAE,WAAW,GAAmB,CAAC;;EAErD,IAAI,IAAgB,EAAQ,EAAW;AAQvC,SAPI,MACC,EAAM,YAAY,MAAS,EAAM,YAAY,EAAM,YACpD,CAAC,EAAc,2BACf,IAAgB,KAEpB,IAAkB,IAClB,IAAW,IACJ,IAAgB,EAAQ,EAAW,GAAG,QAAQ,SAAS;;CAKlE,SAAS,EAAU,GAAM,GAAU;AAE/B,MAAI,EAAM,GAAM,aAAa,EACzB,QAAO,QAAQ,SAAS;AAG5B,EADA,EAAc,iBAAiB,SAAS,MAAU,EAAM,gBAAgB,UAAU,GAAM,EAAS,CAAC,EAClG,EAAM,GAAM,WAAW;EACvB,IAAM,IAAa,EAAe,EAAK;AACvC,OAAK,IAAM,KAAO,EACd,GAAM,GAAK,gBAAgB,EAAE;AAEjC,SAAO;;AAEX,QAAO;EACH;EACA;EACA;EACA,gBAAgB;EAChB,aAAa;AAET,GADA,IAAQ,GAAa,EACrB,IAAW;;EAElB;;AAEL,SAAS,EAAuB,GAAM,GAAM;AAOxC,QANI,OAAO,KAAS,WACT,MAAS,IAEX,MAAM,QAAQ,EAAK,GACjB,CAAC,EAAe,GAAM,EAAK,GAE/B;;AAEX,SAAS,EAAgB,IAAW,IAAO;AACvC,QAAO;EACH;EACA,eAAe,EAAE;EACjB,gBAAgB,EAAE;EAClB,oBAAoB,EAAE;EACzB;;AAEL,SAAS,IAAc;AACnB,QAAO;EACH,SAAS,EAAgB,GAAK;EAC9B,aAAa,GAAiB;EAC9B,YAAY,GAAiB;EAC7B,UAAU,GAAiB;EAC3B,WAAW,GAAiB;EAC5B,YAAY,GAAiB;EAC7B,MAAM,GAAiB;EAC1B"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { isVariantLabel as e } from "./is-variant-label.js";
|
|
2
|
-
import { variantProps as t } from "./variant-props.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs
|
|
4
|
-
var n = t.length;
|
|
5
|
-
function r(i) {
|
|
6
|
-
if (!i) return;
|
|
7
|
-
if (!i.isControllingVariants) {
|
|
8
|
-
let e = i.parent && r(i.parent) || {};
|
|
9
|
-
return i.props.initial !== void 0 && (e.initial = i.props.initial), e;
|
|
10
|
-
}
|
|
11
|
-
let a = {};
|
|
12
|
-
for (let r = 0; r < n; r++) {
|
|
13
|
-
let n = t[r], o = i.props[n];
|
|
14
|
-
(e(o) || o === !1) && (a[n] = o);
|
|
15
|
-
}
|
|
16
|
-
return a;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { r as getVariantContext };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=get-variant-context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-variant-context.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs"],"sourcesContent":["import { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nconst numVariantProps = variantProps.length;\n/**\n * Get variant context from a visual element's parent chain.\n * Uses `any` type for visualElement to avoid circular dependencies.\n */\nfunction getVariantContext(visualElement) {\n if (!visualElement)\n return undefined;\n if (!visualElement.isControllingVariants) {\n const context = visualElement.parent\n ? getVariantContext(visualElement.parent) || {}\n : {};\n if (visualElement.props.initial !== undefined) {\n context.initial = visualElement.props.initial;\n }\n return context;\n }\n const context = {};\n for (let i = 0; i < numVariantProps; i++) {\n const name = variantProps[i];\n const prop = visualElement.props[name];\n if (isVariantLabel(prop) || prop === false) {\n context[name] = prop;\n }\n }\n return context;\n}\n\nexport { getVariantContext };\n//# sourceMappingURL=get-variant-context.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAkB,EAAa;AAKrC,SAAS,EAAkB,GAAe;AACtC,KAAI,CAAC,EACD;AACJ,KAAI,CAAC,EAAc,uBAAuB;EACtC,IAAM,IAAU,EAAc,UACxB,EAAkB,EAAc,OAAO,IACvC,EAAE;AAIR,SAHI,EAAc,MAAM,YAAY,KAAA,MAChC,EAAQ,UAAU,EAAc,MAAM,UAEnC;;CAEX,IAAM,IAAU,EAAE;AAClB,MAAK,IAAI,IAAI,GAAG,IAAI,GAAiB,KAAK;EACtC,IAAM,IAAO,EAAa,IACpB,IAAO,EAAc,MAAM;AACjC,GAAI,EAAe,EAAK,IAAI,MAAS,QACjC,EAAQ,KAAQ;;AAGxB,QAAO"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
|
|
2
|
-
function e(e) {
|
|
3
|
-
return typeof e == "object" && !!e && typeof e.start == "function";
|
|
4
|
-
}
|
|
5
|
-
//#endregion
|
|
6
|
-
export { e as isAnimationControls };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=is-animation-controls.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-animation-controls.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs"],"sourcesContent":["function isAnimationControls(v) {\n return (v !== null &&\n typeof v === \"object\" &&\n typeof v.start === \"function\");\n}\n\nexport { isAnimationControls };\n//# sourceMappingURL=is-animation-controls.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAoB,GAAG;AAC5B,QACI,OAAO,KAAM,cADT,KAEJ,OAAO,EAAE,SAAU"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { isAnimationControls as e } from "./is-animation-controls.js";
|
|
2
|
-
import { isVariantLabel as t } from "./is-variant-label.js";
|
|
3
|
-
import { variantProps as n } from "./variant-props.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
|
|
5
|
-
function r(r) {
|
|
6
|
-
return e(r.animate) || n.some((e) => t(r[e]));
|
|
7
|
-
}
|
|
8
|
-
function i(e) {
|
|
9
|
-
return !!(r(e) || e.variants);
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { r as isControllingVariants, i as isVariantNode };
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=is-controlling-variants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-controlling-variants.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs"],"sourcesContent":["import { isAnimationControls } from './is-animation-controls.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nfunction isControllingVariants(props) {\n return (isAnimationControls(props.animate) ||\n variantProps.some((name) => isVariantLabel(props[name])));\n}\nfunction isVariantNode(props) {\n return Boolean(isControllingVariants(props) || props.variants);\n}\n\nexport { isControllingVariants, isVariantNode };\n//# sourceMappingURL=is-controlling-variants.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAS,EAAsB,GAAO;AAClC,QAAQ,EAAoB,EAAM,QAAQ,IACtC,EAAa,MAAM,MAAS,EAAe,EAAM,GAAM,CAAC;;AAEhE,SAAS,EAAc,GAAO;AAC1B,QAAO,GAAQ,EAAsB,EAAM,IAAI,EAAM"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { transformProps as e } from "./keys-transform.js";
|
|
2
|
-
import { scaleCorrectors as t } from "../../projection/styles/scale-correction.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
|
|
4
|
-
function n(n, { layout: r, layoutId: i }) {
|
|
5
|
-
return e.has(n) || n.startsWith("origin") || (r || i !== void 0) && (!!t[n] || n === "opacity");
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { n as isForcedMotionValue };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=is-forced-motion-value.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-forced-motion-value.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs"],"sourcesContent":["import { transformProps } from './keys-transform.mjs';\nimport { scaleCorrectors } from '../../projection/styles/scale-correction.mjs';\nexport { addScaleCorrector } from '../../projection/styles/scale-correction.mjs';\n\nfunction isForcedMotionValue(key, { layout, layoutId }) {\n return (transformProps.has(key) ||\n key.startsWith(\"origin\") ||\n ((layout || layoutId !== undefined) &&\n (!!scaleCorrectors[key] || key === \"opacity\")));\n}\n\nexport { isForcedMotionValue, scaleCorrectors };\n//# sourceMappingURL=is-forced-motion-value.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAS,EAAoB,GAAK,EAAE,WAAQ,eAAY;AACpD,QAAQ,EAAe,IAAI,EAAI,IAC3B,EAAI,WAAW,SAAS,KACtB,KAAU,MAAa,KAAA,OACpB,CAAC,CAAC,EAAgB,MAAQ,MAAQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-keyframes-target.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs"],"sourcesContent":["const isKeyframesTarget = (v) => {\n return Array.isArray(v);\n};\n\nexport { isKeyframesTarget };\n//# sourceMappingURL=is-keyframes-target.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAqB,MAChB,MAAM,QAAQ,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-variant-label.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs"],"sourcesContent":["/**\n * Decides if the supplied variable is variant label\n */\nfunction isVariantLabel(v) {\n return typeof v === \"string\" || Array.isArray(v);\n}\n\nexport { isVariantLabel };\n//# sourceMappingURL=is-variant-label.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAGA,SAAS,EAAe,GAAG;AACvB,QAAO,OAAO,KAAM,YAAY,MAAM,QAAQ,EAAE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { transformPropOrder as e } from "./keys-transform.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
|
|
3
|
-
var t = new Set([
|
|
4
|
-
"width",
|
|
5
|
-
"height",
|
|
6
|
-
"top",
|
|
7
|
-
"left",
|
|
8
|
-
"right",
|
|
9
|
-
"bottom",
|
|
10
|
-
...e
|
|
11
|
-
]);
|
|
12
|
-
//#endregion
|
|
13
|
-
export { t as positionalKeys };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=keys-position.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keys-position.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/keys-position.mjs"],"sourcesContent":["import { transformPropOrder } from './keys-transform.mjs';\n\nconst positionalKeys = new Set([\n \"width\",\n \"height\",\n \"top\",\n \"left\",\n \"right\",\n \"bottom\",\n ...transformPropOrder,\n]);\n\nexport { positionalKeys };\n//# sourceMappingURL=keys-position.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAiB,IAAI,IAAI;CAC3B;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;CACN,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
|
|
2
|
-
var e = [
|
|
3
|
-
"transformPerspective",
|
|
4
|
-
"x",
|
|
5
|
-
"y",
|
|
6
|
-
"z",
|
|
7
|
-
"translateX",
|
|
8
|
-
"translateY",
|
|
9
|
-
"translateZ",
|
|
10
|
-
"scale",
|
|
11
|
-
"scaleX",
|
|
12
|
-
"scaleY",
|
|
13
|
-
"rotate",
|
|
14
|
-
"rotateX",
|
|
15
|
-
"rotateY",
|
|
16
|
-
"rotateZ",
|
|
17
|
-
"skew",
|
|
18
|
-
"skewX",
|
|
19
|
-
"skewY"
|
|
20
|
-
], t = new Set(e);
|
|
21
|
-
//#endregion
|
|
22
|
-
export { e as transformPropOrder, t as transformProps };
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=keys-transform.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keys-transform.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs"],"sourcesContent":["/**\n * Generate a list of every possible transform key.\n */\nconst transformPropOrder = [\n \"transformPerspective\",\n \"x\",\n \"y\",\n \"z\",\n \"translateX\",\n \"translateY\",\n \"translateZ\",\n \"scale\",\n \"scaleX\",\n \"scaleY\",\n \"rotate\",\n \"rotateX\",\n \"rotateY\",\n \"rotateZ\",\n \"skew\",\n \"skewX\",\n \"skewY\",\n];\n/**\n * A quick lookup for transform props.\n */\nconst transformProps = /*@__PURE__*/ (() => new Set(transformPropOrder))();\n\nexport { transformPropOrder, transformProps };\n//# sourceMappingURL=keys-transform.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAGA,IAAM,IAAqB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH,EAIK,IAAsC,IAAI,IAAI,EAAmB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { motionValue as e } from "../../value/index.js";
|
|
2
|
-
import { isMotionValue as t } from "../../value/utils/is-motion-value.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
|
|
4
|
-
function n(n, r, i) {
|
|
5
|
-
for (let a in r) {
|
|
6
|
-
let o = r[a], s = i[a];
|
|
7
|
-
if (t(o)) n.addValue(a, o);
|
|
8
|
-
else if (t(s)) n.addValue(a, e(o, { owner: n }));
|
|
9
|
-
else if (s !== o) if (n.hasValue(a)) {
|
|
10
|
-
let e = n.getValue(a);
|
|
11
|
-
e.liveStyle === !0 ? e.jump(o) : e.hasAnimated || e.set(o);
|
|
12
|
-
} else {
|
|
13
|
-
let t = n.getStaticValue(a);
|
|
14
|
-
n.addValue(a, e(t === void 0 ? o : t, { owner: n }));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
for (let e in i) r[e] === void 0 && n.removeValue(e);
|
|
18
|
-
return r;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { n as updateMotionValuesFromProps };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=motion-values.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion-values.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/utils/motion-values.mjs"],"sourcesContent":["import { motionValue } from '../../value/index.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\n/**\n * Updates motion values from props changes.\n * Uses `any` type for element to avoid circular dependencies with VisualElement.\n */\nfunction updateMotionValuesFromProps(element, next, prev) {\n for (const key in next) {\n const nextValue = next[key];\n const prevValue = prev[key];\n if (isMotionValue(nextValue)) {\n /**\n * If this is a motion value found in props or style, we want to add it\n * to our visual element's motion value map.\n */\n element.addValue(key, nextValue);\n }\n else if (isMotionValue(prevValue)) {\n /**\n * If we're swapping from a motion value to a static value,\n * create a new motion value from that\n */\n element.addValue(key, motionValue(nextValue, { owner: element }));\n }\n else if (prevValue !== nextValue) {\n /**\n * If this is a flat value that has changed, update the motion value\n * or create one if it doesn't exist. We only want to do this if we're\n * not handling the value with our animation state.\n */\n if (element.hasValue(key)) {\n const existingValue = element.getValue(key);\n if (existingValue.liveStyle === true) {\n existingValue.jump(nextValue);\n }\n else if (!existingValue.hasAnimated) {\n existingValue.set(nextValue);\n }\n }\n else {\n const latestValue = element.getStaticValue(key);\n element.addValue(key, motionValue(latestValue !== undefined ? latestValue : nextValue, { owner: element }));\n }\n }\n }\n // Handle removed values\n for (const key in prev) {\n if (next[key] === undefined)\n element.removeValue(key);\n }\n return next;\n}\n\nexport { updateMotionValuesFromProps };\n//# sourceMappingURL=motion-values.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAOA,SAAS,EAA4B,GAAS,GAAM,GAAM;AACtD,MAAK,IAAM,KAAO,GAAM;EACpB,IAAM,IAAY,EAAK,IACjB,IAAY,EAAK;AACvB,MAAI,EAAc,EAAU,CAKxB,GAAQ,SAAS,GAAK,EAAU;WAE3B,EAAc,EAAU,CAK7B,GAAQ,SAAS,GAAK,EAAY,GAAW,EAAE,OAAO,GAAS,CAAC,CAAC;WAE5D,MAAc,EAMnB,KAAI,EAAQ,SAAS,EAAI,EAAE;GACvB,IAAM,IAAgB,EAAQ,SAAS,EAAI;AAC3C,GAAI,EAAc,cAAc,KAC5B,EAAc,KAAK,EAAU,GAEvB,EAAc,eACpB,EAAc,IAAI,EAAU;SAG/B;GACD,IAAM,IAAc,EAAQ,eAAe,EAAI;AAC/C,KAAQ,SAAS,GAAK,EAAY,MAAgB,KAAA,IAA0B,IAAd,GAAyB,EAAE,OAAO,GAAS,CAAC,CAAC;;;AAKvH,MAAK,IAAM,KAAO,EACd,CAAI,EAAK,OAAS,KAAA,KACd,EAAQ,YAAY,EAAI;AAEhC,QAAO"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { hasReducedMotionListener as e, prefersReducedMotion as t } from "./state.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs
|
|
3
|
-
var n = typeof window < "u";
|
|
4
|
-
function r() {
|
|
5
|
-
if (e.current = !0, n) if (window.matchMedia) {
|
|
6
|
-
let e = window.matchMedia("(prefers-reduced-motion)"), n = () => t.current = e.matches;
|
|
7
|
-
e.addEventListener("change", n), n();
|
|
8
|
-
} else t.current = !1;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { r as initPrefersReducedMotion };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs"],"sourcesContent":["import { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\nconst isBrowser = typeof window !== \"undefined\";\nfunction initPrefersReducedMotion() {\n hasReducedMotionListener.current = true;\n if (!isBrowser)\n return;\n if (window.matchMedia) {\n const motionMediaQuery = window.matchMedia(\"(prefers-reduced-motion)\");\n const setReducedMotionPreferences = () => (prefersReducedMotion.current = motionMediaQuery.matches);\n motionMediaQuery.addEventListener(\"change\", setReducedMotionPreferences);\n setReducedMotionPreferences();\n }\n else {\n prefersReducedMotion.current = false;\n }\n}\n\nexport { hasReducedMotionListener, initPrefersReducedMotion, prefersReducedMotion };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAY,OAAO,SAAW;AACpC,SAAS,IAA2B;AAChC,OAAyB,UAAU,IAC9B,EAEL,KAAI,OAAO,YAAY;EACnB,IAAM,IAAmB,OAAO,WAAW,2BAA2B,EAChE,UAAqC,EAAqB,UAAU,EAAiB;AAE3F,EADA,EAAiB,iBAAiB,UAAU,EAA4B,EACxE,GAA6B;OAG7B,GAAqB,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs"],"sourcesContent":["// Does this device prefer reduced motion? Returns `null` server-side.\nconst prefersReducedMotion = { current: null };\nconst hasReducedMotionListener = { current: false };\n\nexport { hasReducedMotionListener, prefersReducedMotion };\n//# sourceMappingURL=state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,IAAuB,EAAE,SAAS,MAAM,EACxC,IAA2B,EAAE,SAAS,IAAO"}
|