@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,23 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isMotionValue as e } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
|
|
3
|
-
import { filterProps as t } from "./utils/filter-props.js";
|
|
4
|
-
import { useHTMLProps as n } from "../html/use-props.js";
|
|
5
|
-
import { useSVGProps as r } from "../svg/use-props.js";
|
|
6
|
-
import { isSVGComponent as i } from "./utils/is-svg-component.js";
|
|
7
|
-
import { Fragment as a, createElement as o, useMemo as s } from "react";
|
|
8
|
-
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
|
|
9
|
-
function c(c, l, u, { latestValues: d }, f, p = !1, m) {
|
|
10
|
-
let h = (m ?? i(c) ? r : n)(l, d, f, c), g = t(l, typeof c == "string", p), _ = c === a ? {} : {
|
|
11
|
-
...g,
|
|
12
|
-
...h,
|
|
13
|
-
ref: u
|
|
14
|
-
}, { children: v } = l, y = s(() => e(v) ? v.get() : v, [v]);
|
|
15
|
-
return o(c, {
|
|
16
|
-
..._,
|
|
17
|
-
children: y
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { c as useRender };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=use-render.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-render.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue } from 'motion-dom';\nimport { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nfunction useRender(Component, props, ref, { latestValues, }, isStatic, forwardMotionProps = false, isSVG) {\n const useVisualProps = (isSVG ?? isSVGComponent(Component)) ? useSVGProps : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment ? { ...filteredProps, ...visualProps, ref } : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n}\n\nexport { useRender };\n//# sourceMappingURL=use-render.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAQA,SAAS,EAAU,GAAW,GAAO,GAAK,EAAE,mBAAiB,GAAU,IAAqB,IAAO,GAAO;CAEtG,IAAM,KADkB,KAAS,EAAe,EAAU,GAAI,IAAc,GACzC,GAAO,GAAc,GAAU,EAAU,EACtE,IAAgB,EAAY,GAAO,OAAO,KAAc,UAAU,EAAmB,EACrF,IAAe,MAAc,IAAuD,EAAE,GAA9C;EAAE,GAAG;EAAe,GAAG;EAAa;EAAK,EAMjF,EAAE,gBAAa,GACf,IAAmB,QAAe,EAAc,EAAS,GAAG,EAAS,KAAK,GAAG,GAAW,CAAC,EAAS,CAAC;AACzG,QAAO,EAAc,GAAW;EAC5B,GAAG;EACH,UAAU;EACb,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __toCommonJS as e } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { isMotionValue as t } from "../../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
|
|
3
|
-
import { isValidMotionProp as n } from "../../../motion/utils/valid-prop.js";
|
|
4
|
-
import { emotion_is_prop_valid_esm_exports as r, init_emotion_is_prop_valid_esm as i } from "../../../../../../@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js";
|
|
5
|
-
//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
|
|
6
|
-
var a = (e) => !n(e);
|
|
7
|
-
function o(e) {
|
|
8
|
-
typeof e == "function" && (a = (t) => t.startsWith("on") ? !n(t) : e(t));
|
|
9
|
-
}
|
|
10
|
-
try {
|
|
11
|
-
o((i(), e(r)).default);
|
|
12
|
-
} catch {}
|
|
13
|
-
function s(e, r, i) {
|
|
14
|
-
let o = {};
|
|
15
|
-
for (let s in e) s === "values" && typeof e.values == "object" || t(e[s]) || (a(s) || i === !0 && n(s) || !r && !n(s) || e.draggable && s.startsWith("onDrag")) && (o[s] = e[s]);
|
|
16
|
-
return o;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { s as filterProps };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=filter-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-props.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (typeof isValidProp !== \"function\")\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n *\n * String concatenation prevents bundlers like webpack (e.g. Storybook)\n * from statically resolving this optional dependency at build time.\n */\n const emotionPkg = \"@emotion/is-prop-\" + \"valid\";\n loadExternalIsValidProp(require(emotionPkg).default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (isMotionValue(props[key]))\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n//# sourceMappingURL=filter-props.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAGA,IAAI,KAAiB,MAAQ,CAAC,EAAkB,EAAI;AACpD,SAAS,EAAwB,GAAa;AACtC,QAAO,KAAgB,eAG3B,KAAiB,MAAQ,EAAI,WAAW,KAAK,GAAG,CAAC,EAAkB,EAAI,GAAG,EAAY,EAAI;;AAe9F,IAAI;AAUA,IAAA,GAAA,EAAA,EAAA,EAAA,EAA4C,QAAQ;QAElD;AAGN,SAAS,EAAY,GAAO,GAAO,GAAoB;CACnD,IAAM,IAAgB,EAAE;AACxB,MAAK,IAAM,KAAO,EAQV,OAAQ,YAAY,OAAO,EAAM,UAAW,YAE5C,EAAc,EAAM,GAAK,KAEzB,EAAc,EAAI,IACjB,MAAuB,MAAQ,EAAkB,EAAI,IACrD,CAAC,KAAS,CAAC,EAAkB,EAAI,IAEjC,EAAM,aACH,EAAI,WAAW,SAAS,MAC5B,EAAc,KACV,EAAM;AAGlB,QAAO"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { lowercaseSVGElements as e } from "../../svg/lowercase-elements.js";
|
|
2
|
-
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
|
|
3
|
-
function t(t) {
|
|
4
|
-
return typeof t != "string" || t.includes("-") ? !1 : !!(e.indexOf(t) > -1 || /[A-Z]/u.test(t));
|
|
5
|
-
}
|
|
6
|
-
//#endregion
|
|
7
|
-
export { t as isSVGComponent };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=is-svg-component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-svg-component.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n//# sourceMappingURL=is-svg-component.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAe,GAAW;AAwB/B,QAlBA,OAAO,KAAc,YAIjB,EAAU,SAAS,IAAI,GAChB,QAMX,EAAqB,QAAQ,EAAU,GAAG,MAItC,SAAS,KAAK,EAAU"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { scrapeMotionValuesFromProps as e } from "../../../../../motion-dom/dist/es/render/html/utils/scrape-motion-values.js";
|
|
3
|
-
import { createHtmlRenderState as t } from "./utils/create-render-state.js";
|
|
4
|
-
import { makeUseVisualState as n } from "../../motion/utils/use-visual-state.js";
|
|
5
|
-
//#region node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs
|
|
6
|
-
var r = /* @__PURE__ */ n({
|
|
7
|
-
scrapeMotionValuesFromProps: e,
|
|
8
|
-
createRenderState: t
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { r as useHTMLVisualState };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=use-html-visual-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-html-visual-state.js","names":["scrapeHTMLMotionValuesFromProps"],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeHTMLMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nconst useHTMLVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeHTMLMotionValuesFromProps,\n createRenderState: createHtmlRenderState,\n});\n\nexport { useHTMLVisualState };\n//# sourceMappingURL=use-html-visual-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAmC,kBAAmB;CAC3BA;CAC7B,mBAAmB;CACtB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isMotionValue as e } from "../../../../../motion-dom/dist/es/value/utils/is-motion-value.js";
|
|
3
|
-
import { buildHTMLStyles as t } from "../../../../../motion-dom/dist/es/render/html/utils/build-styles.js";
|
|
4
|
-
import { isForcedMotionValue as n } from "../../../../../motion-dom/dist/es/render/utils/is-forced-motion-value.js";
|
|
5
|
-
import { createHtmlRenderState as r } from "./utils/create-render-state.js";
|
|
6
|
-
import { useMemo as i } from "react";
|
|
7
|
-
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
|
|
8
|
-
function a(t, r, i) {
|
|
9
|
-
for (let a in r) !e(r[a]) && !n(a, i) && (t[a] = r[a]);
|
|
10
|
-
}
|
|
11
|
-
function o({ transformTemplate: e }, n) {
|
|
12
|
-
return i(() => {
|
|
13
|
-
let i = r();
|
|
14
|
-
return t(i, n, e), Object.assign({}, i.vars, i.style);
|
|
15
|
-
}, [n]);
|
|
16
|
-
}
|
|
17
|
-
function s(e, t) {
|
|
18
|
-
let n = e.style || {}, r = {};
|
|
19
|
-
return a(r, n, e), Object.assign(r, o(e, t)), r;
|
|
20
|
-
}
|
|
21
|
-
function c(e, t) {
|
|
22
|
-
let n = {}, r = s(e, t);
|
|
23
|
-
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as copyRawValuesOnly, c as useHTMLProps };
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=use-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-props.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue, isForcedMotionValue, buildHTMLStyles } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAKA,SAAS,EAAkB,GAAQ,GAAQ,GAAO;AAC9C,MAAK,IAAM,KAAO,EACd,CAAI,CAAC,EAAc,EAAO,GAAK,IAAI,CAAC,EAAoB,GAAK,EAAM,KAC/D,EAAO,KAAO,EAAO;;AAIjC,SAAS,EAAuB,EAAE,wBAAqB,GAAa;AAChE,QAAO,QAAc;EACjB,IAAM,IAAQ,GAAuB;AAErC,SADA,EAAgB,GAAO,GAAa,EAAkB,EAC/C,OAAO,OAAO,EAAE,EAAE,EAAM,MAAM,EAAM,MAAM;IAClD,CAAC,EAAY,CAAC;;AAErB,SAAS,EAAS,GAAO,GAAa;CAClC,IAAM,IAAY,EAAM,SAAS,EAAE,EAC7B,IAAQ,EAAE;AAMhB,QAFA,EAAkB,GAAO,GAAW,EAAM,EAC1C,OAAO,OAAO,GAAO,EAAuB,GAAO,EAAY,CAAC,EACzD;;AAEX,SAAS,EAAa,GAAO,GAAa;CAEtC,IAAM,IAAY,EAAE,EACd,IAAQ,EAAS,GAAO,EAAY;AAoB1C,QAnBI,EAAM,QAAQ,EAAM,iBAAiB,OAErC,EAAU,YAAY,IAEtB,EAAM,aACF,EAAM,mBACF,EAAM,qBACF,QAEZ,EAAM,cACF,EAAM,SAAS,KACT,SACA,OAAO,EAAM,SAAS,MAAM,MAAM,QAE5C,EAAM,aAAa,KAAA,MAClB,EAAM,SAAS,EAAM,cAAc,EAAM,cAC1C,EAAU,WAAW,IAEzB,EAAU,QAAQ,GACX"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
|
|
2
|
-
var e = () => ({
|
|
3
|
-
style: {},
|
|
4
|
-
transform: {},
|
|
5
|
-
transformOrigin: {},
|
|
6
|
-
vars: {}
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
9
|
-
export { e as createHtmlRenderState };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=create-render-state.js.map
|
package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-render-state.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,WAA+B;CACjC,OAAO,EAAE;CACT,WAAW,EAAE;CACb,iBAAiB,EAAE;CACnB,MAAM,EAAE;CACX"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
|
|
2
|
-
var e = [
|
|
3
|
-
"animate",
|
|
4
|
-
"circle",
|
|
5
|
-
"defs",
|
|
6
|
-
"desc",
|
|
7
|
-
"ellipse",
|
|
8
|
-
"g",
|
|
9
|
-
"image",
|
|
10
|
-
"line",
|
|
11
|
-
"filter",
|
|
12
|
-
"marker",
|
|
13
|
-
"mask",
|
|
14
|
-
"metadata",
|
|
15
|
-
"path",
|
|
16
|
-
"pattern",
|
|
17
|
-
"polygon",
|
|
18
|
-
"polyline",
|
|
19
|
-
"rect",
|
|
20
|
-
"stop",
|
|
21
|
-
"switch",
|
|
22
|
-
"symbol",
|
|
23
|
-
"svg",
|
|
24
|
-
"text",
|
|
25
|
-
"tspan",
|
|
26
|
-
"use",
|
|
27
|
-
"view"
|
|
28
|
-
];
|
|
29
|
-
//#endregion
|
|
30
|
-
export { e as lowercaseSVGElements };
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=lowercase-elements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lowercase-elements.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n//# sourceMappingURL=lowercase-elements.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAIA,IAAM,IAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { buildSVGAttrs as e } from "../../../../../motion-dom/dist/es/render/svg/utils/build-attrs.js";
|
|
3
|
-
import { isSVGTag as t } from "../../../../../motion-dom/dist/es/render/svg/utils/is-svg-tag.js";
|
|
4
|
-
import { copyRawValuesOnly as n } from "../html/use-props.js";
|
|
5
|
-
import { createSvgRenderState as r } from "./utils/create-render-state.js";
|
|
6
|
-
import { useMemo as i } from "react";
|
|
7
|
-
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
|
|
8
|
-
function a(a, o, s, c) {
|
|
9
|
-
let l = i(() => {
|
|
10
|
-
let n = r();
|
|
11
|
-
return e(n, o, t(c), a.transformTemplate, a.style), {
|
|
12
|
-
...n.attrs,
|
|
13
|
-
style: { ...n.style }
|
|
14
|
-
};
|
|
15
|
-
}, [o]);
|
|
16
|
-
if (a.style) {
|
|
17
|
-
let e = {};
|
|
18
|
-
n(e, a.style, a), l.style = {
|
|
19
|
-
...e,
|
|
20
|
-
...l.style
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
return l;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as useSVGProps };
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=use-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-props.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { buildSVGAttrs, isSVGTag } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAMA,SAAS,EAAY,GAAO,GAAa,GAAW,GAAW;CAC3D,IAAM,IAAc,QAAc;EAC9B,IAAM,IAAQ,GAAsB;AAEpC,SADA,EAAc,GAAO,GAAa,EAAS,EAAU,EAAE,EAAM,mBAAmB,EAAM,MAAM,EACrF;GACH,GAAG,EAAM;GACT,OAAO,EAAE,GAAG,EAAM,OAAO;GAC5B;IACF,CAAC,EAAY,CAAC;AACjB,KAAI,EAAM,OAAO;EACb,IAAM,IAAY,EAAE;AAEpB,EADA,EAAkB,GAAW,EAAM,OAAO,EAAM,EAChD,EAAY,QAAQ;GAAE,GAAG;GAAW,GAAG,EAAY;GAAO;;AAE9D,QAAO"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { scrapeMotionValuesFromProps as e } from "../../../../../motion-dom/dist/es/render/svg/utils/scrape-motion-values.js";
|
|
3
|
-
import { createSvgRenderState as t } from "./utils/create-render-state.js";
|
|
4
|
-
import { makeUseVisualState as n } from "../../motion/utils/use-visual-state.js";
|
|
5
|
-
//#region node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs
|
|
6
|
-
var r = /* @__PURE__ */ n({
|
|
7
|
-
scrapeMotionValuesFromProps: e,
|
|
8
|
-
createRenderState: t
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { r as useSVGVisualState };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=use-svg-visual-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-svg-visual-state.js","names":["scrapeSVGMotionValuesFromProps"],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeSVGMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nconst useSVGVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeSVGMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n});\n\nexport { useSVGVisualState };\n//# sourceMappingURL=use-svg-visual-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAkC,kBAAmB;CAC1BA;CAC7B,mBAAmB;CACtB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createHtmlRenderState as e } from "../../html/utils/create-render-state.js";
|
|
2
|
-
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
|
|
3
|
-
var t = () => ({
|
|
4
|
-
...e(),
|
|
5
|
-
attrs: {}
|
|
6
|
-
});
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as createSvgRenderState };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=create-render-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-render-state.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,WAA8B;CAChC,GAAG,GAAuB;CAC1B,OAAO,EAAE;CACZ"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region node_modules/framer-motion/dist/es/utils/distance.mjs
|
|
2
|
-
var e = (e, t) => Math.abs(e - t);
|
|
3
|
-
function t(t, n) {
|
|
4
|
-
let r = e(t.x, n.x), i = e(t.y, n.y);
|
|
5
|
-
return Math.sqrt(r ** 2 + i ** 2);
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as distance2D };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=distance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"distance.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n//# sourceMappingURL=distance.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAY,GAAG,MAAM,KAAK,IAAI,IAAI,EAAE;AAC1C,SAAS,EAAW,GAAG,GAAG;CAEtB,IAAM,IAAS,EAAS,EAAE,GAAG,EAAE,EAAE,EAC3B,IAAS,EAAS,EAAE,GAAG,EAAE,EAAE;AACjC,QAAO,KAAK,KAAK,KAAU,IAAI,KAAU,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-context-window.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n//# sourceMappingURL=get-context-window.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,KAAoB,EAAE,iBACjB,IAAU,EAAQ,cAAc,cAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-browser.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n//# sourceMappingURL=is-browser.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAY,OAAO,SAAW"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
|
|
2
|
-
function e(e) {
|
|
3
|
-
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
4
|
-
}
|
|
5
|
-
//#endregion
|
|
6
|
-
export { e as isRefObject };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=is-ref-object.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-ref-object.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n//# sourceMappingURL=is-ref-object.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAY,GAAK;AACtB,QAAQ,KACJ,OAAO,KAAQ,YACf,OAAO,UAAU,eAAe,KAAK,GAAK,UAAU"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { warnOnce as e } from "../../../../../motion-utils/dist/es/warn-once.js";
|
|
3
|
-
import { hasReducedMotionListener as t, prefersReducedMotion as n } from "../../../../../motion-dom/dist/es/render/utils/reduced-motion/state.js";
|
|
4
|
-
import { initPrefersReducedMotion as r } from "../../../../../motion-dom/dist/es/render/utils/reduced-motion/index.js";
|
|
5
|
-
import { useState as i } from "react";
|
|
6
|
-
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
|
|
7
|
-
function a() {
|
|
8
|
-
!t.current && r();
|
|
9
|
-
let [a] = i(n.current);
|
|
10
|
-
return process.env.NODE_ENV !== "production" && e(a !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), a;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { a as useReducedMotion };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=use-reduced-motion.js.map
|
package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-reduced-motion.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs"],"sourcesContent":["\"use client\";\nimport { hasReducedMotionListener, initPrefersReducedMotion, prefersReducedMotion } from 'motion-dom';\nimport { warnOnce } from 'motion-utils';\nimport { useState } from 'react';\n\n/**\n * A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.\n *\n * This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing\n * `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.\n *\n * It will actively respond to changes and re-render your components with the latest setting.\n *\n * ```jsx\n * export function Sidebar({ isOpen }) {\n * const shouldReduceMotion = useReducedMotion()\n * const closedX = shouldReduceMotion ? 0 : \"-100%\"\n *\n * return (\n * <motion.div animate={{\n * opacity: isOpen ? 1 : 0,\n * x: isOpen ? 0 : closedX\n * }} />\n * )\n * }\n * ```\n *\n * @return boolean\n *\n * @public\n */\nfunction useReducedMotion() {\n /**\n * Lazy initialisation of prefersReducedMotion\n */\n !hasReducedMotionListener.current && initPrefersReducedMotion();\n const [shouldReduceMotion] = useState(prefersReducedMotion.current);\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * TODO See if people miss automatically updating shouldReduceMotion setting\n */\n return shouldReduceMotion;\n}\n\nexport { useReducedMotion };\n//# sourceMappingURL=use-reduced-motion.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AA+BA,SAAS,IAAmB;AAIxB,EAAC,EAAyB,WAAW,GAA0B;CAC/D,IAAM,CAAC,KAAsB,EAAS,EAAqB,QAAQ;AAOnE,QANA,QAAA,IAAA,aAA6B,gBACzB,EAAS,MAAuB,IAAM,0FAA0F,0BAA0B,EAKvJ"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { useRef as e } from "react";
|
|
3
|
-
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
|
|
4
|
-
function t(t) {
|
|
5
|
-
let n = e(null);
|
|
6
|
-
return n.current === null && (n.current = t()), n.current;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { t as useConstant };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=use-constant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-constant.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["\"use client\";\nimport { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n//# sourceMappingURL=use-constant.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAUA,SAAS,EAAY,GAAM;CACvB,IAAM,IAAM,EAAO,KAAK;AAIxB,QAHI,EAAI,YAAY,SAChB,EAAI,UAAU,GAAM,GAEjB,EAAI"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isBrowser as e } from "./is-browser.js";
|
|
3
|
-
import { useEffect as t, useLayoutEffect as n } from "react";
|
|
4
|
-
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
|
|
5
|
-
var r = e ? n : t;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { r as useIsomorphicLayoutEffect };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=use-isomorphic-effect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-isomorphic-effect.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["\"use client\";\nimport { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n//# sourceMappingURL=use-isomorphic-effect.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAA4B,IAAY,IAAkB"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config.js";
|
|
2
|
-
import { noop as t } from "../../../../motion-utils/dist/es/noop.js";
|
|
3
|
-
import { time as n } from "../frameloop/sync-time.js";
|
|
4
|
-
import { getFinalKeyframe as r } from "./keyframes/get-final.js";
|
|
5
|
-
import { WithPromise as i } from "./utils/WithPromise.js";
|
|
6
|
-
import { JSAnimation as a } from "./JSAnimation.js";
|
|
7
|
-
import { KeyframeResolver as o, flushKeyframeResolvers as s } from "./keyframes/KeyframesResolver.js";
|
|
8
|
-
import { NativeAnimationExtended as c } from "./NativeAnimationExtended.js";
|
|
9
|
-
import { canAnimate as l } from "./utils/can-animate.js";
|
|
10
|
-
import { makeAnimationInstant as u } from "./utils/make-animation-instant.js";
|
|
11
|
-
import { supportsBrowserAnimation as d } from "./waapi/supports/waapi.js";
|
|
12
|
-
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
|
|
13
|
-
var f = 40, p = class extends i {
|
|
14
|
-
constructor({ autoplay: e = !0, delay: t = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: a = 0, repeatType: s = "loop", keyframes: c, name: l, motionValue: u, element: d, ...f }) {
|
|
15
|
-
super(), this.stop = () => {
|
|
16
|
-
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
17
|
-
}, this.createdAt = n.now();
|
|
18
|
-
let p = {
|
|
19
|
-
autoplay: e,
|
|
20
|
-
delay: t,
|
|
21
|
-
type: r,
|
|
22
|
-
repeat: i,
|
|
23
|
-
repeatDelay: a,
|
|
24
|
-
repeatType: s,
|
|
25
|
-
name: l,
|
|
26
|
-
motionValue: u,
|
|
27
|
-
element: d,
|
|
28
|
-
...f
|
|
29
|
-
};
|
|
30
|
-
this.keyframeResolver = new (d?.KeyframeResolver || o)(c, (e, t, n) => this.onKeyframesResolved(e, t, p, !n), l, u, d), this.keyframeResolver?.scheduleResolve();
|
|
31
|
-
}
|
|
32
|
-
onKeyframesResolved(i, o, s, p) {
|
|
33
|
-
this.keyframeResolver = void 0;
|
|
34
|
-
let { name: m, type: h, velocity: g, delay: _, isHandoff: v, onUpdate: y } = s;
|
|
35
|
-
this.resolvedAt = n.now();
|
|
36
|
-
let b = !0;
|
|
37
|
-
l(i, m, h, g) || (b = !1, (e.instantAnimations || !_) && y?.(r(i, s, o)), i[0] = i[i.length - 1], u(s), s.repeat = 0);
|
|
38
|
-
let x = {
|
|
39
|
-
startTime: p ? this.resolvedAt && this.resolvedAt - this.createdAt > f ? this.resolvedAt : this.createdAt : void 0,
|
|
40
|
-
finalKeyframe: o,
|
|
41
|
-
...s,
|
|
42
|
-
keyframes: i
|
|
43
|
-
}, S = b && !v && d(x), C = x.motionValue?.owner?.current, w;
|
|
44
|
-
if (S) try {
|
|
45
|
-
w = new c({
|
|
46
|
-
...x,
|
|
47
|
-
element: C
|
|
48
|
-
});
|
|
49
|
-
} catch {
|
|
50
|
-
w = new a(x);
|
|
51
|
-
}
|
|
52
|
-
else w = new a(x);
|
|
53
|
-
w.finished.then(() => {
|
|
54
|
-
this.notifyFinished();
|
|
55
|
-
}).catch(t), this.pendingTimeline &&= (this.stopTimeline = w.attachTimeline(this.pendingTimeline), void 0), this._animation = w;
|
|
56
|
-
}
|
|
57
|
-
get finished() {
|
|
58
|
-
return this._animation ? this.animation.finished : this._finished;
|
|
59
|
-
}
|
|
60
|
-
then(e, t) {
|
|
61
|
-
return this.finished.finally(e).then(() => {});
|
|
62
|
-
}
|
|
63
|
-
get animation() {
|
|
64
|
-
return this._animation || (this.keyframeResolver?.resume(), s()), this._animation;
|
|
65
|
-
}
|
|
66
|
-
get duration() {
|
|
67
|
-
return this.animation.duration;
|
|
68
|
-
}
|
|
69
|
-
get iterationDuration() {
|
|
70
|
-
return this.animation.iterationDuration;
|
|
71
|
-
}
|
|
72
|
-
get time() {
|
|
73
|
-
return this.animation.time;
|
|
74
|
-
}
|
|
75
|
-
set time(e) {
|
|
76
|
-
this.animation.time = e;
|
|
77
|
-
}
|
|
78
|
-
get speed() {
|
|
79
|
-
return this.animation.speed;
|
|
80
|
-
}
|
|
81
|
-
get state() {
|
|
82
|
-
return this.animation.state;
|
|
83
|
-
}
|
|
84
|
-
set speed(e) {
|
|
85
|
-
this.animation.speed = e;
|
|
86
|
-
}
|
|
87
|
-
get startTime() {
|
|
88
|
-
return this.animation.startTime;
|
|
89
|
-
}
|
|
90
|
-
attachTimeline(e) {
|
|
91
|
-
return this._animation ? this.stopTimeline = this.animation.attachTimeline(e) : this.pendingTimeline = e, () => this.stop();
|
|
92
|
-
}
|
|
93
|
-
play() {
|
|
94
|
-
this.animation.play();
|
|
95
|
-
}
|
|
96
|
-
pause() {
|
|
97
|
-
this.animation.pause();
|
|
98
|
-
}
|
|
99
|
-
complete() {
|
|
100
|
-
this.animation.complete();
|
|
101
|
-
}
|
|
102
|
-
cancel() {
|
|
103
|
-
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
//#endregion
|
|
107
|
-
export { p as AsyncMotionValueAnimation };
|
|
108
|
-
|
|
109
|
-
//# sourceMappingURL=AsyncMotionValueAnimation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncMotionValueAnimation.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"],"sourcesContent":["import { MotionGlobalConfig, noop } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { KeyframeResolver, flushKeyframeResolvers } from './keyframes/KeyframesResolver.mjs';\nimport { NativeAnimationExtended } from './NativeAnimationExtended.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { makeAnimationInstant } from './utils/make-animation-instant.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { supportsBrowserAnimation } from './waapi/supports/waapi.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass AsyncMotionValueAnimation extends WithPromise {\n constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", keyframes, name, motionValue, element, ...options }) {\n super();\n /**\n * Bound to support return animation.stop pattern\n */\n this.stop = () => {\n if (this._animation) {\n this._animation.stop();\n this.stopTimeline?.();\n }\n this.keyframeResolver?.cancel();\n };\n this.createdAt = time.now();\n const optionsWithDefaults = {\n autoplay,\n delay,\n type,\n repeat,\n repeatDelay,\n repeatType,\n name,\n motionValue,\n element,\n ...options,\n };\n const KeyframeResolver$1 = element?.KeyframeResolver || KeyframeResolver;\n this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element);\n this.keyframeResolver?.scheduleResolve();\n }\n onKeyframesResolved(keyframes, finalKeyframe, options, sync) {\n this.keyframeResolver = undefined;\n const { name, type, velocity, delay, isHandoff, onUpdate } = options;\n this.resolvedAt = time.now();\n /**\n * If we can't animate this value with the resolved keyframes\n * then we should complete it immediately.\n */\n let canAnimateValue = true;\n if (!canAnimate(keyframes, name, type, velocity)) {\n canAnimateValue = false;\n if (MotionGlobalConfig.instantAnimations || !delay) {\n onUpdate?.(getFinalKeyframe(keyframes, options, finalKeyframe));\n }\n keyframes[0] = keyframes[keyframes.length - 1];\n makeAnimationInstant(options);\n options.repeat = 0;\n }\n /**\n * Resolve startTime for the animation.\n *\n * This method uses the createdAt and resolvedAt to calculate the\n * animation startTime. *Ideally*, we would use the createdAt time as t=0\n * as the following frame would then be the first frame of the animation in\n * progress, which would feel snappier.\n *\n * However, if there's a delay (main thread work) between the creation of\n * the animation and the first committed frame, we prefer to use resolvedAt\n * to avoid a sudden jump into the animation.\n */\n const startTime = sync\n ? !this.resolvedAt\n ? this.createdAt\n : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n ? this.resolvedAt\n : this.createdAt\n : undefined;\n const resolvedOptions = {\n startTime,\n finalKeyframe,\n ...options,\n keyframes,\n };\n /**\n * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n * optimised animation.\n *\n * Also skip WAAPI when keyframes aren't animatable, as the resolved\n * values may not be valid CSS and would trigger browser warnings.\n */\n const useWaapi = canAnimateValue &&\n !isHandoff &&\n supportsBrowserAnimation(resolvedOptions);\n const element = resolvedOptions.motionValue?.owner?.current;\n let animation;\n if (useWaapi) {\n try {\n animation = new NativeAnimationExtended({\n ...resolvedOptions,\n element,\n });\n }\n catch {\n animation = new JSAnimation(resolvedOptions);\n }\n }\n else {\n animation = new JSAnimation(resolvedOptions);\n }\n animation.finished.then(() => {\n this.notifyFinished();\n }).catch(noop);\n if (this.pendingTimeline) {\n this.stopTimeline = animation.attachTimeline(this.pendingTimeline);\n this.pendingTimeline = undefined;\n }\n this._animation = animation;\n }\n get finished() {\n if (!this._animation) {\n return this._finished;\n }\n else {\n return this.animation.finished;\n }\n }\n then(onResolve, _onReject) {\n return this.finished.finally(onResolve).then(() => { });\n }\n get animation() {\n if (!this._animation) {\n this.keyframeResolver?.resume();\n flushKeyframeResolvers();\n }\n return this._animation;\n }\n get duration() {\n return this.animation.duration;\n }\n get iterationDuration() {\n return this.animation.iterationDuration;\n }\n get time() {\n return this.animation.time;\n }\n set time(newTime) {\n this.animation.time = newTime;\n }\n get speed() {\n return this.animation.speed;\n }\n get state() {\n return this.animation.state;\n }\n set speed(newSpeed) {\n this.animation.speed = newSpeed;\n }\n get startTime() {\n return this.animation.startTime;\n }\n attachTimeline(timeline) {\n if (this._animation) {\n this.stopTimeline = this.animation.attachTimeline(timeline);\n }\n else {\n this.pendingTimeline = timeline;\n }\n return () => this.stop();\n }\n play() {\n this.animation.play();\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.complete();\n }\n cancel() {\n if (this._animation) {\n this.animation.cancel();\n }\n this.keyframeResolver?.cancel();\n }\n}\n\nexport { AsyncMotionValueAnimation };\n//# sourceMappingURL=AsyncMotionValueAnimation.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAmBA,IAAM,IAAoB,IACpB,IAAN,cAAwC,EAAY;CAChD,YAAY,EAAE,cAAW,IAAM,WAAQ,GAAG,UAAO,aAAa,YAAS,GAAG,iBAAc,GAAG,gBAAa,QAAQ,cAAW,SAAM,gBAAa,YAAS,GAAG,KAAW;AAYjK,EAXA,OAAO,EAIP,KAAK,aAAa;AAKd,GAJI,KAAK,eACL,KAAK,WAAW,MAAM,EACtB,KAAK,gBAAgB,GAEzB,KAAK,kBAAkB,QAAQ;KAEnC,KAAK,YAAY,EAAK,KAAK;EAC3B,IAAM,IAAsB;GACxB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA,GAAG;GACN;AAGD,EADA,KAAK,mBAAmB,KADG,GAAS,oBAAoB,GACT,IAAY,GAAmB,GAAe,MAAW,KAAK,oBAAoB,GAAmB,GAAe,GAAqB,CAAC,EAAO,EAAE,GAAM,GAAa,EAAQ,EAC7N,KAAK,kBAAkB,iBAAiB;;CAE5C,oBAAoB,GAAW,GAAe,GAAS,GAAM;AACzD,OAAK,mBAAmB,KAAA;EACxB,IAAM,EAAE,SAAM,SAAM,aAAU,UAAO,cAAW,gBAAa;AAC7D,OAAK,aAAa,EAAK,KAAK;EAK5B,IAAI,IAAkB;AACtB,EAAK,EAAW,GAAW,GAAM,GAAM,EAAS,KAC5C,IAAkB,KACd,EAAmB,qBAAqB,CAAC,MACzC,IAAW,EAAiB,GAAW,GAAS,EAAc,CAAC,EAEnE,EAAU,KAAK,EAAU,EAAU,SAAS,IAC5C,EAAqB,EAAQ,EAC7B,EAAQ,SAAS;EAqBrB,IAAM,IAAkB;GACpB,WARc,IACX,KAAK,cAEF,KAAK,aAAa,KAAK,YAAY,IAC/B,KAAK,aACL,KAAK,YACb,KAAA;GAGF;GACA,GAAG;GACH;GACH,EASK,IAAW,KACb,CAAC,KACD,EAAyB,EAAgB,EACvC,IAAU,EAAgB,aAAa,OAAO,SAChD;AACJ,MAAI,EACA,KAAI;AACA,OAAY,IAAI,EAAwB;IACpC,GAAG;IACH;IACH,CAAC;UAEA;AACF,OAAY,IAAI,EAAY,EAAgB;;MAIhD,KAAY,IAAI,EAAY,EAAgB;AAShD,EAPA,EAAU,SAAS,WAAW;AAC1B,QAAK,gBAAgB;IACvB,CAAC,MAAM,EAAK,EACd,AAEI,KAAK,qBADL,KAAK,eAAe,EAAU,eAAe,KAAK,gBAAgB,EAC3C,KAAA,IAE3B,KAAK,aAAa;;CAEtB,IAAI,WAAW;AAEP,SADC,KAAK,aAIC,KAAK,UAAU,WAHf,KAAK;;CAMpB,KAAK,GAAW,GAAW;AACvB,SAAO,KAAK,SAAS,QAAQ,EAAU,CAAC,WAAW,GAAI;;CAE3D,IAAI,YAAY;AAKZ,SAJK,KAAK,eACN,KAAK,kBAAkB,QAAQ,EAC/B,GAAwB,GAErB,KAAK;;CAEhB,IAAI,WAAW;AACX,SAAO,KAAK,UAAU;;CAE1B,IAAI,oBAAoB;AACpB,SAAO,KAAK,UAAU;;CAE1B,IAAI,OAAO;AACP,SAAO,KAAK,UAAU;;CAE1B,IAAI,KAAK,GAAS;AACd,OAAK,UAAU,OAAO;;CAE1B,IAAI,QAAQ;AACR,SAAO,KAAK,UAAU;;CAE1B,IAAI,QAAQ;AACR,SAAO,KAAK,UAAU;;CAE1B,IAAI,MAAM,GAAU;AAChB,OAAK,UAAU,QAAQ;;CAE3B,IAAI,YAAY;AACZ,SAAO,KAAK,UAAU;;CAE1B,eAAe,GAAU;AAOrB,SANI,KAAK,aACL,KAAK,eAAe,KAAK,UAAU,eAAe,EAAS,GAG3D,KAAK,kBAAkB,SAEd,KAAK,MAAM;;CAE5B,OAAO;AACH,OAAK,UAAU,MAAM;;CAEzB,QAAQ;AACJ,OAAK,UAAU,OAAO;;CAE1B,WAAW;AACP,OAAK,UAAU,UAAU;;CAE7B,SAAS;AAIL,EAHI,KAAK,cACL,KAAK,UAAU,QAAQ,EAE3B,KAAK,kBAAkB,QAAQ"}
|