@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,7 +0,0 @@
|
|
|
1
|
-
import { memoSupports as e } from "./memo.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
|
|
3
|
-
var t = /* @__PURE__ */ e(() => window.ScrollTimeline !== void 0, "scrollTimeline");
|
|
4
|
-
//#endregion
|
|
5
|
-
export { t as supportsScrollTimeline };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=scroll-timeline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-timeline.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs"],"sourcesContent":["import { memoSupports } from './memo.mjs';\n\nconst supportsScrollTimeline = /* @__PURE__ */ memoSupports(() => window.ScrollTimeline !== undefined, \"scrollTimeline\");\nconst supportsViewTimeline = /* @__PURE__ */ memoSupports(() => window.ViewTimeline !== undefined, \"viewTimeline\");\n\nexport { supportsScrollTimeline, supportsViewTimeline };\n//# sourceMappingURL=scroll-timeline.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAyC,wBAAmB,OAAO,mBAAmB,KAAA,GAAW,iBAAiB"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { SubscriptionManager as e } from "../../../../motion-utils/dist/es/subscription-manager.js";
|
|
2
|
-
import { velocityPerSecond as t } from "../../../../motion-utils/dist/es/velocity-per-second.js";
|
|
3
|
-
import { warnOnce as n } from "../../../../motion-utils/dist/es/warn-once.js";
|
|
4
|
-
import { frame as r } from "../frameloop/frame.js";
|
|
5
|
-
import { time as i } from "../frameloop/sync-time.js";
|
|
6
|
-
//#region node_modules/motion-dom/dist/es/value/index.mjs
|
|
7
|
-
var a = 30, o = (e) => !isNaN(parseFloat(e)), s = { current: void 0 }, c = class {
|
|
8
|
-
constructor(e, t = {}) {
|
|
9
|
-
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
|
|
10
|
-
let t = i.now();
|
|
11
|
-
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
|
|
12
|
-
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
|
|
13
|
-
}
|
|
14
|
-
setCurrent(e) {
|
|
15
|
-
this.current = e, this.updatedAt = i.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = o(this.current));
|
|
16
|
-
}
|
|
17
|
-
setPrevFrameValue(e = this.current) {
|
|
18
|
-
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
|
|
19
|
-
}
|
|
20
|
-
onChange(e) {
|
|
21
|
-
return process.env.NODE_ENV !== "production" && n(!1, "value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback)."), this.on("change", e);
|
|
22
|
-
}
|
|
23
|
-
on(t, n) {
|
|
24
|
-
this.events[t] || (this.events[t] = new e());
|
|
25
|
-
let i = this.events[t].add(n);
|
|
26
|
-
return t === "change" ? () => {
|
|
27
|
-
i(), r.read(() => {
|
|
28
|
-
this.events.change.getSize() || this.stop();
|
|
29
|
-
});
|
|
30
|
-
} : i;
|
|
31
|
-
}
|
|
32
|
-
clearListeners() {
|
|
33
|
-
for (let e in this.events) this.events[e].clear();
|
|
34
|
-
}
|
|
35
|
-
attach(e, t) {
|
|
36
|
-
this.passiveEffect = e, this.stopPassiveEffect = t;
|
|
37
|
-
}
|
|
38
|
-
set(e) {
|
|
39
|
-
this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e);
|
|
40
|
-
}
|
|
41
|
-
setWithVelocity(e, t, n) {
|
|
42
|
-
this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;
|
|
43
|
-
}
|
|
44
|
-
jump(e, t = !0) {
|
|
45
|
-
this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
46
|
-
}
|
|
47
|
-
dirty() {
|
|
48
|
-
this.events.change?.notify(this.current);
|
|
49
|
-
}
|
|
50
|
-
addDependent(e) {
|
|
51
|
-
this.dependents ||= /* @__PURE__ */ new Set(), this.dependents.add(e);
|
|
52
|
-
}
|
|
53
|
-
removeDependent(e) {
|
|
54
|
-
this.dependents && this.dependents.delete(e);
|
|
55
|
-
}
|
|
56
|
-
get() {
|
|
57
|
-
return s.current && s.current.push(this), this.current;
|
|
58
|
-
}
|
|
59
|
-
getPrevious() {
|
|
60
|
-
return this.prev;
|
|
61
|
-
}
|
|
62
|
-
getVelocity() {
|
|
63
|
-
let e = i.now();
|
|
64
|
-
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > a) return 0;
|
|
65
|
-
let n = Math.min(this.updatedAt - this.prevUpdatedAt, a);
|
|
66
|
-
return t(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
|
|
67
|
-
}
|
|
68
|
-
start(e) {
|
|
69
|
-
return this.stop(), new Promise((t) => {
|
|
70
|
-
this.hasAnimated = !0, this.animation = e(t), this.events.animationStart && this.events.animationStart.notify();
|
|
71
|
-
}).then(() => {
|
|
72
|
-
this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
stop() {
|
|
76
|
-
this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
|
|
77
|
-
}
|
|
78
|
-
isAnimating() {
|
|
79
|
-
return !!this.animation;
|
|
80
|
-
}
|
|
81
|
-
clearAnimation() {
|
|
82
|
-
delete this.animation;
|
|
83
|
-
}
|
|
84
|
-
destroy() {
|
|
85
|
-
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
function l(e, t) {
|
|
89
|
-
return new c(e, t);
|
|
90
|
-
}
|
|
91
|
-
//#endregion
|
|
92
|
-
export { l as motionValue };
|
|
93
|
-
|
|
94
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/value/index.mjs"],"sourcesContent":["import { warnOnce, SubscriptionManager, velocityPerSecond } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Maximum time between the value of two frames, beyond which we\n * assume the velocity has since been 0.\n */\nconst MAX_VELOCITY_DELTA = 30;\nconst isFloat = (value) => {\n return !isNaN(parseFloat(value));\n};\nconst collectMotionValues = {\n current: undefined,\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nclass MotionValue {\n /**\n * @param init - The initiating value\n * @param config - Optional configuration options\n *\n * - `transformer`: A function to transform incoming values with.\n */\n constructor(init, options = {}) {\n /**\n * Tracks whether this value can output a velocity. Currently this is only true\n * if the value is numerical, but we might be able to widen the scope here and support\n * other value types.\n *\n * @internal\n */\n this.canTrackVelocity = null;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n this.updateAndNotify = (v) => {\n const currentTime = time.now();\n /**\n * If we're updating the value during another frame or eventloop\n * than the previous frame, then the we set the previous frame value\n * to current.\n */\n if (this.updatedAt !== currentTime) {\n this.setPrevFrameValue();\n }\n this.prev = this.current;\n this.setCurrent(v);\n // Update update subscribers\n if (this.current !== this.prev) {\n this.events.change?.notify(this.current);\n if (this.dependents) {\n for (const dependent of this.dependents) {\n dependent.dirty();\n }\n }\n }\n };\n this.hasAnimated = false;\n this.setCurrent(init);\n this.owner = options.owner;\n }\n setCurrent(current) {\n this.current = current;\n this.updatedAt = time.now();\n if (this.canTrackVelocity === null && current !== undefined) {\n this.canTrackVelocity = isFloat(this.current);\n }\n }\n setPrevFrameValue(prevFrameValue = this.current) {\n this.prevFrameValue = prevFrameValue;\n this.prevUpdatedAt = this.updatedAt;\n }\n /**\n * Adds a function that will be notified when the `MotionValue` is updated.\n *\n * It returns a function that, when called, will cancel the subscription.\n *\n * When calling `onChange` inside a React component, it should be wrapped with the\n * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n * from the `useEffect` function to ensure you don't add duplicate subscribers..\n *\n * ```jsx\n * export const MyComponent = () => {\n * const x = useMotionValue(0)\n * const y = useMotionValue(0)\n * const opacity = useMotionValue(1)\n *\n * useEffect(() => {\n * function updateOpacity() {\n * const maxXY = Math.max(x.get(), y.get())\n * const newOpacity = transform(maxXY, [0, 100], [1, 0])\n * opacity.set(newOpacity)\n * }\n *\n * const unsubscribeX = x.on(\"change\", updateOpacity)\n * const unsubscribeY = y.on(\"change\", updateOpacity)\n *\n * return () => {\n * unsubscribeX()\n * unsubscribeY()\n * }\n * }, [])\n *\n * return <motion.div style={{ x }} />\n * }\n * ```\n *\n * @param subscriber - A function that receives the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @deprecated\n */\n onChange(subscription) {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback).`);\n }\n return this.on(\"change\", subscription);\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n const unsubscribe = this.events[eventName].add(callback);\n if (eventName === \"change\") {\n return () => {\n unsubscribe();\n /**\n * If we have no more change listeners by the start\n * of the next frame, stop active animations.\n */\n frame.read(() => {\n if (!this.events.change.getSize()) {\n this.stop();\n }\n });\n };\n }\n return unsubscribe;\n }\n clearListeners() {\n for (const eventManagers in this.events) {\n this.events[eventManagers].clear();\n }\n }\n /**\n * Attaches a passive effect to the `MotionValue`.\n */\n attach(passiveEffect, stopPassiveEffect) {\n this.passiveEffect = passiveEffect;\n this.stopPassiveEffect = stopPassiveEffect;\n }\n /**\n * Sets the state of the `MotionValue`.\n *\n * @remarks\n *\n * ```jsx\n * const x = useMotionValue(0)\n * x.set(10)\n * ```\n *\n * @param latest - Latest value to set.\n * @param render - Whether to notify render subscribers. Defaults to `true`\n *\n * @public\n */\n set(v) {\n if (!this.passiveEffect) {\n this.updateAndNotify(v);\n }\n else {\n this.passiveEffect(v, this.updateAndNotify);\n }\n }\n setWithVelocity(prev, current, delta) {\n this.set(current);\n this.prev = undefined;\n this.prevFrameValue = prev;\n this.prevUpdatedAt = this.updatedAt - delta;\n }\n /**\n * Set the state of the `MotionValue`, stopping any active animations,\n * effects, and resets velocity to `0`.\n */\n jump(v, endAnimation = true) {\n this.updateAndNotify(v);\n this.prev = v;\n this.prevUpdatedAt = this.prevFrameValue = undefined;\n endAnimation && this.stop();\n if (this.stopPassiveEffect)\n this.stopPassiveEffect();\n }\n dirty() {\n this.events.change?.notify(this.current);\n }\n addDependent(dependent) {\n if (!this.dependents) {\n this.dependents = new Set();\n }\n this.dependents.add(dependent);\n }\n removeDependent(dependent) {\n if (this.dependents) {\n this.dependents.delete(dependent);\n }\n }\n /**\n * Returns the latest state of `MotionValue`\n *\n * @returns - The latest state of `MotionValue`\n *\n * @public\n */\n get() {\n if (collectMotionValues.current) {\n collectMotionValues.current.push(this);\n }\n return this.current;\n }\n /**\n * @public\n */\n getPrevious() {\n return this.prev;\n }\n /**\n * Returns the latest velocity of `MotionValue`\n *\n * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n *\n * @public\n */\n getVelocity() {\n const currentTime = time.now();\n if (!this.canTrackVelocity ||\n this.prevFrameValue === undefined ||\n currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {\n return 0;\n }\n const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);\n // Casts because of parseFloat's poor typing\n return velocityPerSecond(parseFloat(this.current) -\n parseFloat(this.prevFrameValue), delta);\n }\n /**\n * Registers a new animation to control this `MotionValue`. Only one\n * animation can drive a `MotionValue` at one time.\n *\n * ```jsx\n * value.start()\n * ```\n *\n * @param animation - A function that starts the provided animation\n */\n start(startAnimation) {\n this.stop();\n return new Promise((resolve) => {\n this.hasAnimated = true;\n this.animation = startAnimation(resolve);\n if (this.events.animationStart) {\n this.events.animationStart.notify();\n }\n }).then(() => {\n if (this.events.animationComplete) {\n this.events.animationComplete.notify();\n }\n this.clearAnimation();\n });\n }\n /**\n * Stop the currently active animation.\n *\n * @public\n */\n stop() {\n if (this.animation) {\n this.animation.stop();\n if (this.events.animationCancel) {\n this.events.animationCancel.notify();\n }\n }\n this.clearAnimation();\n }\n /**\n * Returns `true` if this value is currently animating.\n *\n * @public\n */\n isAnimating() {\n return !!this.animation;\n }\n clearAnimation() {\n delete this.animation;\n }\n /**\n * Destroy and clean up subscribers to this `MotionValue`.\n *\n * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n * created a `MotionValue` via the `motionValue` function.\n *\n * @public\n */\n destroy() {\n this.dependents?.clear();\n this.events.destroy?.notify();\n this.clearListeners();\n this.stop();\n if (this.stopPassiveEffect) {\n this.stopPassiveEffect();\n }\n }\n}\nfunction motionValue(init, options) {\n return new MotionValue(init, options);\n}\n\nexport { MotionValue, collectMotionValues, motionValue };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAQA,IAAM,IAAqB,IACrB,KAAW,MACN,CAAC,MAAM,WAAW,EAAM,CAAC,EAE9B,IAAsB,EACxB,SAAS,KAAA,GACZ,EAMK,IAAN,MAAkB;CAOd,YAAY,GAAM,IAAU,EAAE,EAAE;AAqC5B,EA7BA,KAAK,mBAAmB,MAIxB,KAAK,SAAS,EAAE,EAChB,KAAK,mBAAmB,MAAM;GAC1B,IAAM,IAAc,EAAK,KAAK;AAY9B,OANI,KAAK,cAAc,KACnB,KAAK,mBAAmB,EAE5B,KAAK,OAAO,KAAK,SACjB,KAAK,WAAW,EAAE,EAEd,KAAK,YAAY,KAAK,SACtB,KAAK,OAAO,QAAQ,OAAO,KAAK,QAAQ,EACpC,KAAK,YACL,MAAK,IAAM,KAAa,KAAK,WACzB,GAAU,OAAO;KAKjC,KAAK,cAAc,IACnB,KAAK,WAAW,EAAK,EACrB,KAAK,QAAQ,EAAQ;;CAEzB,WAAW,GAAS;AAGhB,EAFA,KAAK,UAAU,GACf,KAAK,YAAY,EAAK,KAAK,EACvB,KAAK,qBAAqB,QAAQ,MAAY,KAAA,MAC9C,KAAK,mBAAmB,EAAQ,KAAK,QAAQ;;CAGrD,kBAAkB,IAAiB,KAAK,SAAS;AAE7C,EADA,KAAK,iBAAiB,GACtB,KAAK,gBAAgB,KAAK;;CA0C9B,SAAS,GAAc;AAInB,SAHA,QAAA,IAAA,aAA6B,gBACzB,EAAS,IAAO,oFAAkF,EAE/F,KAAK,GAAG,UAAU,EAAa;;CAE1C,GAAG,GAAW,GAAU;AACpB,EAAK,KAAK,OAAO,OACb,KAAK,OAAO,KAAa,IAAI,GAAqB;EAEtD,IAAM,IAAc,KAAK,OAAO,GAAW,IAAI,EAAS;AAexD,SAdI,MAAc,iBACD;AAMT,GALA,GAAa,EAKb,EAAM,WAAW;AACb,IAAK,KAAK,OAAO,OAAO,SAAS,IAC7B,KAAK,MAAM;KAEjB;MAGH;;CAEX,iBAAiB;AACb,OAAK,IAAM,KAAiB,KAAK,OAC7B,MAAK,OAAO,GAAe,OAAO;;CAM1C,OAAO,GAAe,GAAmB;AAErC,EADA,KAAK,gBAAgB,GACrB,KAAK,oBAAoB;;CAiB7B,IAAI,GAAG;AACH,EAAK,KAAK,gBAIN,KAAK,cAAc,GAAG,KAAK,gBAAgB,GAH3C,KAAK,gBAAgB,EAAE;;CAM/B,gBAAgB,GAAM,GAAS,GAAO;AAIlC,EAHA,KAAK,IAAI,EAAQ,EACjB,KAAK,OAAO,KAAA,GACZ,KAAK,iBAAiB,GACtB,KAAK,gBAAgB,KAAK,YAAY;;CAM1C,KAAK,GAAG,IAAe,IAAM;AAKzB,EAJA,KAAK,gBAAgB,EAAE,EACvB,KAAK,OAAO,GACZ,KAAK,gBAAgB,KAAK,iBAAiB,KAAA,GAC3C,KAAgB,KAAK,MAAM,EACvB,KAAK,qBACL,KAAK,mBAAmB;;CAEhC,QAAQ;AACJ,OAAK,OAAO,QAAQ,OAAO,KAAK,QAAQ;;CAE5C,aAAa,GAAW;AAIpB,EAHA,AACI,KAAK,+BAAa,IAAI,KAAK,EAE/B,KAAK,WAAW,IAAI,EAAU;;CAElC,gBAAgB,GAAW;AACvB,EAAI,KAAK,cACL,KAAK,WAAW,OAAO,EAAU;;CAUzC,MAAM;AAIF,SAHI,EAAoB,WACpB,EAAoB,QAAQ,KAAK,KAAK,EAEnC,KAAK;;CAKhB,cAAc;AACV,SAAO,KAAK;;CAShB,cAAc;EACV,IAAM,IAAc,EAAK,KAAK;AAC9B,MAAI,CAAC,KAAK,oBACN,KAAK,mBAAmB,KAAA,KACxB,IAAc,KAAK,YAAY,EAC/B,QAAO;EAEX,IAAM,IAAQ,KAAK,IAAI,KAAK,YAAY,KAAK,eAAe,EAAmB;AAE/E,SAAO,EAAkB,WAAW,KAAK,QAAQ,GAC7C,WAAW,KAAK,eAAe,EAAE,EAAM;;CAY/C,MAAM,GAAgB;AAElB,SADA,KAAK,MAAM,EACJ,IAAI,SAAS,MAAY;AAG5B,GAFA,KAAK,cAAc,IACnB,KAAK,YAAY,EAAe,EAAQ,EACpC,KAAK,OAAO,kBACZ,KAAK,OAAO,eAAe,QAAQ;IAEzC,CAAC,WAAW;AAIV,GAHI,KAAK,OAAO,qBACZ,KAAK,OAAO,kBAAkB,QAAQ,EAE1C,KAAK,gBAAgB;IACvB;;CAON,OAAO;AAOH,EANI,KAAK,cACL,KAAK,UAAU,MAAM,EACjB,KAAK,OAAO,mBACZ,KAAK,OAAO,gBAAgB,QAAQ,GAG5C,KAAK,gBAAgB;;CAOzB,cAAc;AACV,SAAO,CAAC,CAAC,KAAK;;CAElB,iBAAiB;AACb,SAAO,KAAK;;CAWhB,UAAU;AAKN,EAJA,KAAK,YAAY,OAAO,EACxB,KAAK,OAAO,SAAS,QAAQ,EAC7B,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACP,KAAK,qBACL,KAAK,mBAAmB;;;AAIpC,SAAS,EAAY,GAAM,GAAS;AAChC,QAAO,IAAI,EAAY,GAAM,EAAQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auto.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/value/types/auto.mjs"],"sourcesContent":["/**\n * ValueType for \"auto\"\n */\nconst auto = {\n test: (v) => v === \"auto\",\n parse: (v) => v,\n};\n\nexport { auto };\n//# sourceMappingURL=auto.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAGA,IAAM,IAAO;CACT,OAAO,MAAM,MAAM;CACnB,QAAQ,MAAM;CACjB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { isColorString as e } from "./utils.js";
|
|
2
|
-
import { rgba as t } from "./rgba.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
|
|
4
|
-
function n(e) {
|
|
5
|
-
let t = "", n = "", r = "", i = "";
|
|
6
|
-
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
|
|
7
|
-
red: parseInt(t, 16),
|
|
8
|
-
green: parseInt(n, 16),
|
|
9
|
-
blue: parseInt(r, 16),
|
|
10
|
-
alpha: i ? parseInt(i, 16) / 255 : 1
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var r = {
|
|
14
|
-
test: /* @__PURE__ */ e("#"),
|
|
15
|
-
parse: n,
|
|
16
|
-
transform: t.transform
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { r as hex };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=hex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hex.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hex.mjs"],"sourcesContent":["import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = \"\";\n let g = \"\";\n let b = \"\";\n let a = \"\";\n // If we have 6 characters, ie #FF0000\n if (v.length > 5) {\n r = v.substring(1, 3);\n g = v.substring(3, 5);\n b = v.substring(5, 7);\n a = v.substring(7, 9);\n // Or we have 3 characters, ie #F00\n }\n else {\n r = v.substring(1, 2);\n g = v.substring(2, 3);\n b = v.substring(3, 4);\n a = v.substring(4, 5);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: /*@__PURE__*/ isColorString(\"#\"),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n//# sourceMappingURL=hex.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAS,GAAG;CACjB,IAAI,IAAI,IACJ,IAAI,IACJ,IAAI,IACJ,IAAI;AAmBR,QAjBI,EAAE,SAAS,KACX,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,KAIrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,IAAI,EAAE,UAAU,GAAG,EAAE,EACrB,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,IAEF;EACH,KAAK,SAAS,GAAG,GAAG;EACpB,OAAO,SAAS,GAAG,GAAG;EACtB,MAAM,SAAS,GAAG,GAAG;EACrB,OAAO,IAAI,SAAS,GAAG,GAAG,GAAG,MAAM;EACtC;;AAEL,IAAM,IAAM;CACR,MAAoB,kBAAc,IAAI;CACtC,OAAO;CACP,WAAW,EAAK;CACnB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
|
|
2
|
-
function e(e, t, n) {
|
|
3
|
-
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
4
|
-
}
|
|
5
|
-
function t({ hue: t, saturation: n, lightness: r, alpha: i }) {
|
|
6
|
-
t /= 360, n /= 100, r /= 100;
|
|
7
|
-
let a = 0, o = 0, s = 0;
|
|
8
|
-
if (!n) a = o = s = r;
|
|
9
|
-
else {
|
|
10
|
-
let i = r < .5 ? r * (1 + n) : r + n - r * n, c = 2 * r - i;
|
|
11
|
-
a = e(c, i, t + 1 / 3), o = e(c, i, t), s = e(c, i, t - 1 / 3);
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
red: Math.round(a * 255),
|
|
15
|
-
green: Math.round(o * 255),
|
|
16
|
-
blue: Math.round(s * 255),
|
|
17
|
-
alpha: i
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t as hslaToRgba };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=hsla-to-rgba.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hsla-to-rgba.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs"],"sourcesContent":["// Adapted from https://gist.github.com/mjackson/5311256\nfunction hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nexport { hslaToRgba };\n//# sourceMappingURL=hsla-to-rgba.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AACA,SAAS,EAAS,GAAG,GAAG,GAAG;AAWvB,QAVI,IAAI,MACJ,KAAK,IACL,IAAI,KACJ,KACA,IAAI,IAAI,IACD,KAAK,IAAI,KAAK,IAAI,IACzB,IAAI,IAAI,IACD,IACP,IAAI,IAAI,IACD,KAAK,IAAI,MAAM,IAAI,IAAI,KAAK,IAChC;;AAEX,SAAS,EAAW,EAAE,QAAK,eAAY,cAAW,YAAS;AAGvD,CAFA,KAAO,KACP,KAAc,KACd,KAAa;CACb,IAAI,IAAM,GACN,IAAQ,GACR,IAAO;AACX,KAAI,CAAC,EACD,KAAM,IAAQ,IAAO;MAEpB;EACD,IAAM,IAAI,IAAY,KAChB,KAAa,IAAI,KACjB,IAAY,IAAa,IAAY,GACrC,IAAI,IAAI,IAAY;AAG1B,EAFA,IAAM,EAAS,GAAG,GAAG,IAAM,IAAI,EAAE,EACjC,IAAQ,EAAS,GAAG,GAAG,EAAI,EAC3B,IAAO,EAAS,GAAG,GAAG,IAAM,IAAI,EAAE;;AAEtC,QAAO;EACH,KAAK,KAAK,MAAM,IAAM,IAAI;EAC1B,OAAO,KAAK,MAAM,IAAQ,IAAI;EAC9B,MAAM,KAAK,MAAM,IAAO,IAAI;EAC5B;EACH"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { alpha as e } from "../numbers/index.js";
|
|
2
|
-
import { sanitize as t } from "../utils/sanitize.js";
|
|
3
|
-
import { isColorString as n, splitColor as r } from "./utils.js";
|
|
4
|
-
import { percent as i } from "../numbers/units.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/hsla.mjs
|
|
6
|
-
var a = {
|
|
7
|
-
test: /* @__PURE__ */ n("hsl", "hue"),
|
|
8
|
-
parse: /* @__PURE__ */ r("hue", "saturation", "lightness"),
|
|
9
|
-
transform: ({ hue: n, saturation: r, lightness: a, alpha: o = 1 }) => "hsla(" + Math.round(n) + ", " + i.transform(t(r)) + ", " + i.transform(t(a)) + ", " + t(e.transform(o)) + ")"
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { a as hsla };
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=hsla.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hsla.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla.mjs"],"sourcesContent":["import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst hsla = {\n test: /*@__PURE__*/ isColorString(\"hsl\", \"hue\"),\n parse: /*@__PURE__*/ splitColor(\"hue\", \"saturation\", \"lightness\"),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return (\"hsla(\" +\n Math.round(hue) +\n \", \" +\n percent.transform(sanitize(saturation)) +\n \", \" +\n percent.transform(sanitize(lightness)) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\");\n },\n};\n\nexport { hsla };\n//# sourceMappingURL=hsla.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAO;CACT,MAAoB,kBAAc,OAAO,MAAM;CAC/C,OAAqB,kBAAW,OAAO,cAAc,YAAY;CACjE,YAAY,EAAE,QAAK,eAAY,cAAW,OAAO,IAAU,QAC/C,UACJ,KAAK,MAAM,EAAI,GACf,OACA,EAAQ,UAAU,EAAS,EAAW,CAAC,GACvC,OACA,EAAQ,UAAU,EAAS,EAAU,CAAC,GACtC,OACA,EAAS,EAAM,UAAU,EAAQ,CAAC,GAClC;CAEX"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { rgba as e } from "./rgba.js";
|
|
2
|
-
import { hex as t } from "./hex.js";
|
|
3
|
-
import { hsla as n } from "./hsla.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/index.mjs
|
|
5
|
-
var r = {
|
|
6
|
-
test: (r) => e.test(r) || t.test(r) || n.test(r),
|
|
7
|
-
parse: (r) => e.test(r) ? e.parse(r) : n.test(r) ? n.parse(r) : t.parse(r),
|
|
8
|
-
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? e.transform(t) : n.transform(t),
|
|
9
|
-
getAnimatableNone: (e) => {
|
|
10
|
-
let t = r.parse(e);
|
|
11
|
-
return t.alpha = 0, r.transform(t);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { r as color };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/index.mjs"],"sourcesContent":["import { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return typeof v === \"string\"\n ? v\n : v.hasOwnProperty(\"red\")\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n getAnimatableNone: (v) => {\n const parsed = color.parse(v);\n parsed.alpha = 0;\n return color.transform(parsed);\n },\n};\n\nexport { color };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAQ;CACV,OAAO,MAAM,EAAK,KAAK,EAAE,IAAI,EAAI,KAAK,EAAE,IAAI,EAAK,KAAK,EAAE;CACxD,QAAQ,MACA,EAAK,KAAK,EAAE,GACL,EAAK,MAAM,EAAE,GAEf,EAAK,KAAK,EAAE,GACV,EAAK,MAAM,EAAE,GAGb,EAAI,MAAM,EAAE;CAG3B,YAAY,MACD,OAAO,KAAM,WACd,IACA,EAAE,eAAe,MAAM,GACnB,EAAK,UAAU,EAAE,GACjB,EAAK,UAAU,EAAE;CAE/B,oBAAoB,MAAM;EACtB,IAAM,IAAS,EAAM,MAAM,EAAE;AAE7B,SADA,EAAO,QAAQ,GACR,EAAM,UAAU,EAAO;;CAErC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { clamp as e } from "../../../../../../motion-utils/dist/es/clamp.js";
|
|
2
|
-
import { alpha as t, number as n } from "../numbers/index.js";
|
|
3
|
-
import { sanitize as r } from "../utils/sanitize.js";
|
|
4
|
-
import { isColorString as i, splitColor as a } from "./utils.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/rgba.mjs
|
|
6
|
-
var o = (t) => e(0, 255, t), s = {
|
|
7
|
-
...n,
|
|
8
|
-
transform: (e) => Math.round(o(e))
|
|
9
|
-
}, c = {
|
|
10
|
-
test: /* @__PURE__ */ i("rgb", "red"),
|
|
11
|
-
parse: /* @__PURE__ */ a("red", "green", "blue"),
|
|
12
|
-
transform: ({ red: e, green: n, blue: i, alpha: a = 1 }) => "rgba(" + s.transform(e) + ", " + s.transform(n) + ", " + s.transform(i) + ", " + r(t.transform(a)) + ")"
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { c as rgba };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=rgba.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rgba.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/rgba.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\nimport { number, alpha } from '../numbers/index.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst clampRgbUnit = (v) => clamp(0, 255, v);\nconst rgbUnit = {\n ...number,\n transform: (v) => Math.round(clampRgbUnit(v)),\n};\nconst rgba = {\n test: /*@__PURE__*/ isColorString(\"rgb\", \"red\"),\n parse: /*@__PURE__*/ splitColor(\"red\", \"green\", \"blue\"),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => \"rgba(\" +\n rgbUnit.transform(red) +\n \", \" +\n rgbUnit.transform(green) +\n \", \" +\n rgbUnit.transform(blue) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\",\n};\n\nexport { rgbUnit, rgba };\n//# sourceMappingURL=rgba.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,KAAgB,MAAM,EAAM,GAAG,KAAK,EAAE,EACtC,IAAU;CACZ,GAAG;CACH,YAAY,MAAM,KAAK,MAAM,EAAa,EAAE,CAAC;CAChD,EACK,IAAO;CACT,MAAoB,kBAAc,OAAO,MAAM;CAC/C,OAAqB,kBAAW,OAAO,SAAS,OAAO;CACvD,YAAY,EAAE,QAAK,UAAO,SAAM,OAAO,IAAU,QAAQ,UACrD,EAAQ,UAAU,EAAI,GACtB,OACA,EAAQ,UAAU,EAAM,GACxB,OACA,EAAQ,UAAU,EAAK,GACvB,OACA,EAAS,EAAM,UAAU,EAAQ,CAAC,GAClC;CACP"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { floatRegex as e } from "../utils/float-regex.js";
|
|
2
|
-
import { isNullish as t } from "../utils/is-nullish.js";
|
|
3
|
-
import { singleColorRegex as n } from "../utils/single-color-regex.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/value/types/color/utils.mjs
|
|
5
|
-
var r = (e, r) => (i) => !!(typeof i == "string" && n.test(i) && i.startsWith(e) || r && !t(i) && Object.prototype.hasOwnProperty.call(i, r)), i = (t, n, r) => (i) => {
|
|
6
|
-
if (typeof i != "string") return i;
|
|
7
|
-
let [a, o, s, c] = i.match(e);
|
|
8
|
-
return {
|
|
9
|
-
[t]: parseFloat(a),
|
|
10
|
-
[n]: parseFloat(o),
|
|
11
|
-
[r]: parseFloat(s),
|
|
12
|
-
alpha: c === void 0 ? 1 : parseFloat(c)
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { r as isColorString, i as splitColor };
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/utils.mjs"],"sourcesContent":["import { floatRegex } from '../utils/float-regex.mjs';\nimport { isNullish } from '../utils/is-nullish.mjs';\nimport { singleColorRegex } from '../utils/single-color-regex.mjs';\n\n/**\n * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,\n * but false if a number or multiple colors\n */\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((typeof v === \"string\" &&\n singleColorRegex.test(v) &&\n v.startsWith(type)) ||\n (testProp &&\n !isNullish(v) &&\n Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (typeof v !== \"string\")\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n//# sourceMappingURL=utils.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAQA,IAAM,KAAiB,GAAM,OAAc,MAChC,GAAS,OAAO,KAAM,YACzB,EAAiB,KAAK,EAAE,IACxB,EAAE,WAAW,EAAK,IACjB,KACG,CAAC,EAAU,EAAE,IACb,OAAO,UAAU,eAAe,KAAK,GAAG,EAAS,GAEvD,KAAc,GAAO,GAAO,OAAW,MAAM;AAC/C,KAAI,OAAO,KAAM,SACb,QAAO;CACX,IAAM,CAAC,GAAG,GAAG,GAAG,KAAS,EAAE,MAAM,EAAW;AAC5C,QAAO;GACF,IAAQ,WAAW,EAAE;GACrB,IAAQ,WAAW,EAAE;GACrB,IAAQ,WAAW,EAAE;EACtB,OAAO,MAAU,KAAA,IAAgC,IAApB,WAAW,EAAM;EACjD"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { floatRegex as e } from "../utils/float-regex.js";
|
|
2
|
-
import { complex as t } from "./index.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
|
|
4
|
-
var n = new Set([
|
|
5
|
-
"brightness",
|
|
6
|
-
"contrast",
|
|
7
|
-
"saturate",
|
|
8
|
-
"opacity"
|
|
9
|
-
]);
|
|
10
|
-
function r(t) {
|
|
11
|
-
let [r, i] = t.slice(0, -1).split("(");
|
|
12
|
-
if (r === "drop-shadow") return t;
|
|
13
|
-
let [a] = i.match(e) || [];
|
|
14
|
-
if (!a) return t;
|
|
15
|
-
let o = i.replace(a, ""), s = +!!n.has(r);
|
|
16
|
-
return a !== i && (s *= 100), r + "(" + s + o + ")";
|
|
17
|
-
}
|
|
18
|
-
var i = /\b([a-z-]*)\(.*?\)/gu, a = {
|
|
19
|
-
...t,
|
|
20
|
-
getAnimatableNone: (e) => {
|
|
21
|
-
let t = e.match(i);
|
|
22
|
-
return t ? t.map(r).join(" ") : e;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as filter };
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=filter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/complex/filter.mjs"],"sourcesContent":["import { complex } from './index.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\n\n/**\n * Properties that should default to 1 or 100%\n */\nconst maxDefaults = new Set([\"brightness\", \"contrast\", \"saturate\", \"opacity\"]);\nfunction applyDefaultFilter(v) {\n const [name, value] = v.slice(0, -1).split(\"(\");\n if (name === \"drop-shadow\")\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, \"\");\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + \"(\" + defaultValue + unit + \")\";\n}\nconst functionRegex = /\\b([a-z-]*)\\(.*?\\)/gu;\nconst filter = {\n ...complex,\n getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(\" \") : v;\n },\n};\n\nexport { filter };\n//# sourceMappingURL=filter.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAMA,IAAM,IAAc,IAAI,IAAI;CAAC;CAAc;CAAY;CAAY;CAAU,CAAC;AAC9E,SAAS,EAAmB,GAAG;CAC3B,IAAM,CAAC,GAAM,KAAS,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,IAAI;AAC/C,KAAI,MAAS,cACT,QAAO;CACX,IAAM,CAAC,KAAU,EAAM,MAAM,EAAW,IAAI,EAAE;AAC9C,KAAI,CAAC,EACD,QAAO;CACX,IAAM,IAAO,EAAM,QAAQ,GAAQ,GAAG,EAClC,IAAe,KAAY,IAAI,EAAK;AAGxC,QAFI,MAAW,MACX,KAAgB,MACb,IAAO,MAAM,IAAe,IAAO;;AAE9C,IAAM,IAAgB,wBAChB,IAAS;CACX,GAAG;CACH,oBAAoB,MAAM;EACtB,IAAM,IAAY,EAAE,MAAM,EAAc;AACxC,SAAO,IAAY,EAAU,IAAI,EAAmB,CAAC,KAAK,IAAI,GAAG;;CAExE"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { sanitize as e } from "../utils/sanitize.js";
|
|
2
|
-
import { floatRegex as t } from "../utils/float-regex.js";
|
|
3
|
-
import { color as n } from "../color/index.js";
|
|
4
|
-
import { colorRegex as r } from "../utils/color-regex.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
|
|
6
|
-
function i(e) {
|
|
7
|
-
return isNaN(e) && typeof e == "string" && (e.match(t)?.length || 0) + (e.match(r)?.length || 0) > 0;
|
|
8
|
-
}
|
|
9
|
-
var a = "number", o = "color", s = "var", c = "var(", l = "${}", u = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
10
|
-
function d(e) {
|
|
11
|
-
let t = e.toString(), r = [], i = {
|
|
12
|
-
color: [],
|
|
13
|
-
number: [],
|
|
14
|
-
var: []
|
|
15
|
-
}, d = [], f = 0;
|
|
16
|
-
return {
|
|
17
|
-
values: r,
|
|
18
|
-
split: t.replace(u, (e) => (n.test(e) ? (i.color.push(f), d.push(o), r.push(n.parse(e))) : e.startsWith(c) ? (i.var.push(f), d.push(s), r.push(e)) : (i.number.push(f), d.push(a), r.push(parseFloat(e))), ++f, l)).split(l),
|
|
19
|
-
indexes: i,
|
|
20
|
-
types: d
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function f(e) {
|
|
24
|
-
return d(e).values;
|
|
25
|
-
}
|
|
26
|
-
function p({ split: t, types: r }) {
|
|
27
|
-
let i = t.length;
|
|
28
|
-
return (s) => {
|
|
29
|
-
let c = "";
|
|
30
|
-
for (let l = 0; l < i; l++) if (c += t[l], s[l] !== void 0) {
|
|
31
|
-
let t = r[l];
|
|
32
|
-
t === a ? c += e(s[l]) : t === o ? c += n.transform(s[l]) : c += s[l];
|
|
33
|
-
}
|
|
34
|
-
return c;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function m(e) {
|
|
38
|
-
return p(d(e));
|
|
39
|
-
}
|
|
40
|
-
var h = (e) => typeof e == "number" ? 0 : n.test(e) ? n.getAnimatableNone(e) : e, g = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : h(e);
|
|
41
|
-
function _(e) {
|
|
42
|
-
let t = d(e);
|
|
43
|
-
return p(t)(t.values.map((e, n) => g(e, t.split[n])));
|
|
44
|
-
}
|
|
45
|
-
var v = {
|
|
46
|
-
test: i,
|
|
47
|
-
parse: f,
|
|
48
|
-
createTransformer: m,
|
|
49
|
-
getAnimatableNone: _
|
|
50
|
-
};
|
|
51
|
-
//#endregion
|
|
52
|
-
export { d as analyseComplexValue, v as complex };
|
|
53
|
-
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/complex/index.mjs"],"sourcesContent":["import { color } from '../color/index.mjs';\nimport { colorRegex } from '../utils/color-regex.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\n\nfunction test(v) {\n return (isNaN(v) &&\n typeof v === \"string\" &&\n (v.match(floatRegex)?.length || 0) +\n (v.match(colorRegex)?.length || 0) >\n 0);\n}\nconst NUMBER_TOKEN = \"number\";\nconst COLOR_TOKEN = \"color\";\nconst VAR_TOKEN = \"var\";\nconst VAR_FUNCTION_TOKEN = \"var(\";\nconst SPLIT_TOKEN = \"${}\";\n// this regex consists of the `singleCssVariableRegex|rgbHSLValueRegex|digitRegex`\nconst complexRegex = /var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;\nfunction analyseComplexValue(value) {\n const originalValue = value.toString();\n const values = [];\n const indexes = {\n color: [],\n number: [],\n var: [],\n };\n const types = [];\n let i = 0;\n const tokenised = originalValue.replace(complexRegex, (parsedValue) => {\n if (color.test(parsedValue)) {\n indexes.color.push(i);\n types.push(COLOR_TOKEN);\n values.push(color.parse(parsedValue));\n }\n else if (parsedValue.startsWith(VAR_FUNCTION_TOKEN)) {\n indexes.var.push(i);\n types.push(VAR_TOKEN);\n values.push(parsedValue);\n }\n else {\n indexes.number.push(i);\n types.push(NUMBER_TOKEN);\n values.push(parseFloat(parsedValue));\n }\n ++i;\n return SPLIT_TOKEN;\n });\n const split = tokenised.split(SPLIT_TOKEN);\n return { values, split, indexes, types };\n}\nfunction parseComplexValue(v) {\n return analyseComplexValue(v).values;\n}\nfunction buildTransformer({ split, types }) {\n const numSections = split.length;\n return (v) => {\n let output = \"\";\n for (let i = 0; i < numSections; i++) {\n output += split[i];\n if (v[i] !== undefined) {\n const type = types[i];\n if (type === NUMBER_TOKEN) {\n output += sanitize(v[i]);\n }\n else if (type === COLOR_TOKEN) {\n output += color.transform(v[i]);\n }\n else {\n output += v[i];\n }\n }\n }\n return output;\n };\n}\nfunction createTransformer(source) {\n return buildTransformer(analyseComplexValue(source));\n}\nconst convertNumbersToZero = (v) => typeof v === \"number\" ? 0 : color.test(v) ? color.getAnimatableNone(v) : v;\n/**\n * Convert a parsed value to its zero equivalent, but preserve numbers\n * that act as divisors in CSS calc() expressions.\n *\n * analyseComplexValue extracts numbers from CSS strings and puts the\n * surrounding text into a `split` template array. For example:\n * \"calc(var(--gap) / 5)\" → values: [var(--gap), 5]\n * split: [\"calc(\", \" / \", \")\"]\n *\n * When building a zero-equivalent for animation, naively zeroing all\n * numbers turns the divisor into 0 → \"calc(var(--gap) / 0)\" → NaN.\n * We detect this by checking whether the text preceding a number\n * (split[i]) ends with \"/\" — the CSS calc division operator.\n */\nconst convertToZero = (value, splitBefore) => {\n if (typeof value === \"number\") {\n return splitBefore?.trim().endsWith(\"/\") ? value : 0;\n }\n return convertNumbersToZero(value);\n};\nfunction getAnimatableNone(v) {\n const info = analyseComplexValue(v);\n const transformer = buildTransformer(info);\n return transformer(info.values.map((value, i) => convertToZero(value, info.split[i])));\n}\nconst complex = {\n test,\n parse: parseComplexValue,\n createTransformer,\n getAnimatableNone,\n};\n\nexport { analyseComplexValue, complex };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,SAAS,EAAK,GAAG;AACb,QAAQ,MAAM,EAAE,IACZ,OAAO,KAAM,aACZ,EAAE,MAAM,EAAW,EAAE,UAAU,MAC3B,EAAE,MAAM,EAAW,EAAE,UAAU,KAChC;;AAEZ,IAAM,IAAe,UACf,IAAc,SACd,IAAY,OACZ,IAAqB,QACrB,IAAc,OAEd,IAAe;AACrB,SAAS,EAAoB,GAAO;CAChC,IAAM,IAAgB,EAAM,UAAU,EAChC,IAAS,EAAE,EACX,IAAU;EACZ,OAAO,EAAE;EACT,QAAQ,EAAE;EACV,KAAK,EAAE;EACV,EACK,IAAQ,EAAE,EACZ,IAAI;AAqBR,QAAO;EAAE;EAAQ,OApBC,EAAc,QAAQ,IAAe,OAC/C,EAAM,KAAK,EAAY,IACvB,EAAQ,MAAM,KAAK,EAAE,EACrB,EAAM,KAAK,EAAY,EACvB,EAAO,KAAK,EAAM,MAAM,EAAY,CAAC,IAEhC,EAAY,WAAW,EAAmB,IAC/C,EAAQ,IAAI,KAAK,EAAE,EACnB,EAAM,KAAK,EAAU,EACrB,EAAO,KAAK,EAAY,KAGxB,EAAQ,OAAO,KAAK,EAAE,EACtB,EAAM,KAAK,EAAa,EACxB,EAAO,KAAK,WAAW,EAAY,CAAC,GAExC,EAAE,GACK,GACT,CACsB,MAAM,EAAY;EAClB;EAAS;EAAO;;AAE5C,SAAS,EAAkB,GAAG;AAC1B,QAAO,EAAoB,EAAE,CAAC;;AAElC,SAAS,EAAiB,EAAE,UAAO,YAAS;CACxC,IAAM,IAAc,EAAM;AAC1B,SAAQ,MAAM;EACV,IAAI,IAAS;AACb,OAAK,IAAI,IAAI,GAAG,IAAI,GAAa,IAE7B,KADA,KAAU,EAAM,IACZ,EAAE,OAAO,KAAA,GAAW;GACpB,IAAM,IAAO,EAAM;AACnB,GAAI,MAAS,IACT,KAAU,EAAS,EAAE,GAAG,GAEnB,MAAS,IACd,KAAU,EAAM,UAAU,EAAE,GAAG,GAG/B,KAAU,EAAE;;AAIxB,SAAO;;;AAGf,SAAS,EAAkB,GAAQ;AAC/B,QAAO,EAAiB,EAAoB,EAAO,CAAC;;AAExD,IAAM,KAAwB,MAAM,OAAO,KAAM,WAAW,IAAI,EAAM,KAAK,EAAE,GAAG,EAAM,kBAAkB,EAAE,GAAG,GAevG,KAAiB,GAAO,MACtB,OAAO,KAAU,WACV,GAAa,MAAM,CAAC,SAAS,IAAI,GAAG,IAAQ,IAEhD,EAAqB,EAAM;AAEtC,SAAS,EAAkB,GAAG;CAC1B,IAAM,IAAO,EAAoB,EAAE;AAEnC,QADoB,EAAiB,EAAK,CACvB,EAAK,OAAO,KAAK,GAAO,MAAM,EAAc,GAAO,EAAK,MAAM,GAAG,CAAC,CAAC;;AAE1F,IAAM,IAAU;CACZ;CACA,OAAO;CACP;CACA;CACH"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { complex as e } from "./index.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/value/types/complex/mask.mjs
|
|
3
|
-
var t = {
|
|
4
|
-
...e,
|
|
5
|
-
getAnimatableNone: (t) => {
|
|
6
|
-
let n = e.parse(t);
|
|
7
|
-
return e.createTransformer(t)(n.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
|
|
8
|
-
...e,
|
|
9
|
-
alpha: 1
|
|
10
|
-
} : e));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
export { t as mask };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=mask.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mask.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/complex/mask.mjs"],"sourcesContent":["import { complex } from './index.mjs';\n\nconst mask = {\n ...complex,\n getAnimatableNone: (v) => {\n const parsed = complex.parse(v);\n const transformer = complex.createTransformer(v);\n return transformer(parsed.map((v) => typeof v === \"number\" ? 0 : typeof v === \"object\" ? { ...v, alpha: 1 } : v));\n },\n};\n\nexport { mask };\n//# sourceMappingURL=mask.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAO;CACT,GAAG;CACH,oBAAoB,MAAM;EACtB,IAAM,IAAS,EAAQ,MAAM,EAAE;AAE/B,SADoB,EAAQ,kBAAkB,EAAE,CAC7B,EAAO,KAAK,MAAM,OAAO,KAAM,WAAW,IAAI,OAAO,KAAM,WAAW;GAAE,GAAG;GAAG,OAAO;GAAG,GAAG,EAAE,CAAC;;CAExH"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { number as e } from "./numbers/index.js";
|
|
2
|
-
import { degrees as t, percent as n, px as r, vh as i, vw as a } from "./numbers/units.js";
|
|
3
|
-
import { auto as o } from "./auto.js";
|
|
4
|
-
import { testValueType as s } from "./test.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/dimensions.mjs
|
|
6
|
-
var c = [
|
|
7
|
-
e,
|
|
8
|
-
r,
|
|
9
|
-
n,
|
|
10
|
-
t,
|
|
11
|
-
a,
|
|
12
|
-
i,
|
|
13
|
-
o
|
|
14
|
-
], l = (e) => c.find(s(e));
|
|
15
|
-
//#endregion
|
|
16
|
-
export { c as dimensionValueTypes, l as findDimensionValueType };
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=dimensions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dimensions.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/value/types/dimensions.mjs"],"sourcesContent":["import { auto } from './auto.mjs';\nimport { number } from './numbers/index.mjs';\nimport { px, percent, degrees, vw, vh } from './numbers/units.mjs';\nimport { testValueType } from './test.mjs';\n\n/**\n * A list of value types commonly used for dimensions\n */\nconst dimensionValueTypes = [number, px, percent, degrees, vw, vh, auto];\n/**\n * Tests a dimensional value against the list of dimension ValueTypes\n */\nconst findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v));\n\nexport { dimensionValueTypes, findDimensionValueType };\n//# sourceMappingURL=dimensions.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAQA,IAAM,IAAsB;CAAC;CAAQ;CAAI;CAAS;CAAS;CAAI;CAAI;CAAK,EAIlE,KAA0B,MAAM,EAAoB,KAAK,EAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"int.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/value/types/int.mjs"],"sourcesContent":["import { number } from './numbers/index.mjs';\n\nconst int = {\n ...number,\n transform: Math.round,\n};\n\nexport { int };\n//# sourceMappingURL=int.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAM;CACR,GAAG;CACH,WAAW,KAAK;CACnB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { color as e } from "../color/index.js";
|
|
2
|
-
import { filter as t } from "../complex/filter.js";
|
|
3
|
-
import { mask as n } from "../complex/mask.js";
|
|
4
|
-
import { numberValueTypes as r } from "./number.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs
|
|
6
|
-
var i = {
|
|
7
|
-
...r,
|
|
8
|
-
color: e,
|
|
9
|
-
backgroundColor: e,
|
|
10
|
-
outlineColor: e,
|
|
11
|
-
fill: e,
|
|
12
|
-
stroke: e,
|
|
13
|
-
borderColor: e,
|
|
14
|
-
borderTopColor: e,
|
|
15
|
-
borderRightColor: e,
|
|
16
|
-
borderBottomColor: e,
|
|
17
|
-
borderLeftColor: e,
|
|
18
|
-
filter: t,
|
|
19
|
-
WebkitFilter: t,
|
|
20
|
-
mask: n,
|
|
21
|
-
WebkitMask: n
|
|
22
|
-
}, a = (e) => i[e];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { a as getDefaultValueType };
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs"],"sourcesContent":["import { color } from '../color/index.mjs';\nimport { filter } from '../complex/filter.mjs';\nimport { mask } from '../complex/mask.mjs';\nimport { numberValueTypes } from './number.mjs';\n\n/**\n * A map of default value types for common values\n */\nconst defaultValueTypes = {\n ...numberValueTypes,\n // Color props\n color,\n backgroundColor: color,\n outlineColor: color,\n fill: color,\n stroke: color,\n // Border props\n borderColor: color,\n borderTopColor: color,\n borderRightColor: color,\n borderBottomColor: color,\n borderLeftColor: color,\n filter,\n WebkitFilter: filter,\n mask,\n WebkitMask: mask,\n};\n/**\n * Gets the default ValueType for the provided value key\n */\nconst getDefaultValueType = (key) => defaultValueTypes[key];\n\nexport { defaultValueTypes, getDefaultValueType };\n//# sourceMappingURL=defaults.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAQA,IAAM,IAAoB;CACtB,GAAG;CAEH;CACA,iBAAiB;CACjB,cAAc;CACd,MAAM;CACN,QAAQ;CAER,aAAa;CACb,gBAAgB;CAChB,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB;CACA,cAAc;CACd;CACA,YAAY;CACf,EAIK,KAAuB,MAAQ,EAAkB"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { alpha as e } from "../numbers/index.js";
|
|
2
|
-
import { px as t } from "../numbers/units.js";
|
|
3
|
-
import { int as n } from "../int.js";
|
|
4
|
-
import { transformValueTypes as r } from "./transform.js";
|
|
5
|
-
//#region node_modules/motion-dom/dist/es/value/types/maps/number.mjs
|
|
6
|
-
var i = {
|
|
7
|
-
borderWidth: t,
|
|
8
|
-
borderTopWidth: t,
|
|
9
|
-
borderRightWidth: t,
|
|
10
|
-
borderBottomWidth: t,
|
|
11
|
-
borderLeftWidth: t,
|
|
12
|
-
borderRadius: t,
|
|
13
|
-
borderTopLeftRadius: t,
|
|
14
|
-
borderTopRightRadius: t,
|
|
15
|
-
borderBottomRightRadius: t,
|
|
16
|
-
borderBottomLeftRadius: t,
|
|
17
|
-
width: t,
|
|
18
|
-
maxWidth: t,
|
|
19
|
-
height: t,
|
|
20
|
-
maxHeight: t,
|
|
21
|
-
top: t,
|
|
22
|
-
right: t,
|
|
23
|
-
bottom: t,
|
|
24
|
-
left: t,
|
|
25
|
-
inset: t,
|
|
26
|
-
insetBlock: t,
|
|
27
|
-
insetBlockStart: t,
|
|
28
|
-
insetBlockEnd: t,
|
|
29
|
-
insetInline: t,
|
|
30
|
-
insetInlineStart: t,
|
|
31
|
-
insetInlineEnd: t,
|
|
32
|
-
padding: t,
|
|
33
|
-
paddingTop: t,
|
|
34
|
-
paddingRight: t,
|
|
35
|
-
paddingBottom: t,
|
|
36
|
-
paddingLeft: t,
|
|
37
|
-
paddingBlock: t,
|
|
38
|
-
paddingBlockStart: t,
|
|
39
|
-
paddingBlockEnd: t,
|
|
40
|
-
paddingInline: t,
|
|
41
|
-
paddingInlineStart: t,
|
|
42
|
-
paddingInlineEnd: t,
|
|
43
|
-
margin: t,
|
|
44
|
-
marginTop: t,
|
|
45
|
-
marginRight: t,
|
|
46
|
-
marginBottom: t,
|
|
47
|
-
marginLeft: t,
|
|
48
|
-
marginBlock: t,
|
|
49
|
-
marginBlockStart: t,
|
|
50
|
-
marginBlockEnd: t,
|
|
51
|
-
marginInline: t,
|
|
52
|
-
marginInlineStart: t,
|
|
53
|
-
marginInlineEnd: t,
|
|
54
|
-
fontSize: t,
|
|
55
|
-
backgroundPositionX: t,
|
|
56
|
-
backgroundPositionY: t,
|
|
57
|
-
...r,
|
|
58
|
-
zIndex: n,
|
|
59
|
-
fillOpacity: e,
|
|
60
|
-
strokeOpacity: e,
|
|
61
|
-
numOctaves: n
|
|
62
|
-
};
|
|
63
|
-
//#endregion
|
|
64
|
-
export { i as numberValueTypes };
|
|
65
|
-
|
|
66
|
-
//# sourceMappingURL=number.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/maps/number.mjs"],"sourcesContent":["import { int } from '../int.mjs';\nimport { alpha } from '../numbers/index.mjs';\nimport { px } from '../numbers/units.mjs';\nimport { transformValueTypes } from './transform.mjs';\n\nconst numberValueTypes = {\n // Border props\n borderWidth: px,\n borderTopWidth: px,\n borderRightWidth: px,\n borderBottomWidth: px,\n borderLeftWidth: px,\n borderRadius: px,\n borderTopLeftRadius: px,\n borderTopRightRadius: px,\n borderBottomRightRadius: px,\n borderBottomLeftRadius: px,\n // Positioning props\n width: px,\n maxWidth: px,\n height: px,\n maxHeight: px,\n top: px,\n right: px,\n bottom: px,\n left: px,\n inset: px,\n insetBlock: px,\n insetBlockStart: px,\n insetBlockEnd: px,\n insetInline: px,\n insetInlineStart: px,\n insetInlineEnd: px,\n // Spacing props\n padding: px,\n paddingTop: px,\n paddingRight: px,\n paddingBottom: px,\n paddingLeft: px,\n paddingBlock: px,\n paddingBlockStart: px,\n paddingBlockEnd: px,\n paddingInline: px,\n paddingInlineStart: px,\n paddingInlineEnd: px,\n margin: px,\n marginTop: px,\n marginRight: px,\n marginBottom: px,\n marginLeft: px,\n marginBlock: px,\n marginBlockStart: px,\n marginBlockEnd: px,\n marginInline: px,\n marginInlineStart: px,\n marginInlineEnd: px,\n // Typography\n fontSize: px,\n // Misc\n backgroundPositionX: px,\n backgroundPositionY: px,\n ...transformValueTypes,\n zIndex: int,\n // SVG\n fillOpacity: alpha,\n strokeOpacity: alpha,\n numOctaves: int,\n};\n\nexport { numberValueTypes };\n//# sourceMappingURL=number.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAmB;CAErB,aAAa;CACb,gBAAgB;CAChB,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,cAAc;CACd,qBAAqB;CACrB,sBAAsB;CACtB,yBAAyB;CACzB,wBAAwB;CAExB,OAAO;CACP,UAAU;CACV,QAAQ;CACR,WAAW;CACX,KAAK;CACL,OAAO;CACP,QAAQ;CACR,MAAM;CACN,OAAO;CACP,YAAY;CACZ,iBAAiB;CACjB,eAAe;CACf,aAAa;CACb,kBAAkB;CAClB,gBAAgB;CAEhB,SAAS;CACT,YAAY;CACZ,cAAc;CACd,eAAe;CACf,aAAa;CACb,cAAc;CACd,mBAAmB;CACnB,iBAAiB;CACjB,eAAe;CACf,oBAAoB;CACpB,kBAAkB;CAClB,QAAQ;CACR,WAAW;CACX,aAAa;CACb,cAAc;CACd,YAAY;CACZ,aAAa;CACb,kBAAkB;CAClB,gBAAgB;CAChB,cAAc;CACd,mBAAmB;CACnB,iBAAiB;CAEjB,UAAU;CAEV,qBAAqB;CACrB,qBAAqB;CACrB,GAAG;CACH,QAAQ;CAER,aAAa;CACb,eAAe;CACf,YAAY;CACf"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { alpha as e, scale as t } from "../numbers/index.js";
|
|
2
|
-
import { degrees as n, progressPercentage as r, px as i } from "../numbers/units.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/value/types/maps/transform.mjs
|
|
4
|
-
var a = {
|
|
5
|
-
rotate: n,
|
|
6
|
-
rotateX: n,
|
|
7
|
-
rotateY: n,
|
|
8
|
-
rotateZ: n,
|
|
9
|
-
scale: t,
|
|
10
|
-
scaleX: t,
|
|
11
|
-
scaleY: t,
|
|
12
|
-
scaleZ: t,
|
|
13
|
-
skew: n,
|
|
14
|
-
skewX: n,
|
|
15
|
-
skewY: n,
|
|
16
|
-
distance: i,
|
|
17
|
-
translateX: i,
|
|
18
|
-
translateY: i,
|
|
19
|
-
translateZ: i,
|
|
20
|
-
x: i,
|
|
21
|
-
y: i,
|
|
22
|
-
z: i,
|
|
23
|
-
perspective: i,
|
|
24
|
-
transformPerspective: i,
|
|
25
|
-
opacity: e,
|
|
26
|
-
originX: r,
|
|
27
|
-
originY: r,
|
|
28
|
-
originZ: i
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
export { a as transformValueTypes };
|
|
32
|
-
|
|
33
|
-
//# sourceMappingURL=transform.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/maps/transform.mjs"],"sourcesContent":["import { alpha, scale } from '../numbers/index.mjs';\nimport { px, progressPercentage, degrees } from '../numbers/units.mjs';\n\nconst transformValueTypes = {\n rotate: degrees,\n rotateX: degrees,\n rotateY: degrees,\n rotateZ: degrees,\n scale,\n scaleX: scale,\n scaleY: scale,\n scaleZ: scale,\n skew: degrees,\n skewX: degrees,\n skewY: degrees,\n distance: px,\n translateX: px,\n translateY: px,\n translateZ: px,\n x: px,\n y: px,\n z: px,\n perspective: px,\n transformPerspective: px,\n opacity: alpha,\n originX: progressPercentage,\n originY: progressPercentage,\n originZ: px,\n};\n\nexport { transformValueTypes };\n//# sourceMappingURL=transform.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAsB;CACxB,QAAQ;CACR,SAAS;CACT,SAAS;CACT,SAAS;CACT;CACA,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,OAAO;CACP,OAAO;CACP,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,GAAG;CACH,GAAG;CACH,GAAG;CACH,aAAa;CACb,sBAAsB;CACtB,SAAS;CACT,SAAS;CACT,SAAS;CACT,SAAS;CACZ"}
|