@burdenoff/microfe-brainyrich 2026.706.2 → 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/AccountsPage.js.map +1 -1
- package/dist/brainyrich/pages/AiAssistantPage.js.map +1 -1
- package/dist/brainyrich/pages/AnalyticsPage.js.map +1 -1
- package/dist/brainyrich/pages/DashboardPage.js.map +1 -1
- package/dist/brainyrich/pages/FamilyPage.js.map +1 -1
- package/dist/brainyrich/pages/GoalsPage.js.map +1 -1
- package/dist/brainyrich/pages/InvestmentsPage.js.map +1 -1
- package/dist/brainyrich/pages/PortfoliosPage.js.map +1 -1
- package/dist/brainyrich/pages/ReportsPage.js +2 -1
- package/dist/brainyrich/pages/ReportsPage.js.map +1 -1
- package/dist/brainyrich/pages/RiskPage.js.map +1 -1
- package/dist/brainyrich/pages/_shared.js +76 -68
- package/dist/brainyrich/pages/_shared.js.map +1 -1
- package/package.json +3 -4
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -10
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.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,13 +0,0 @@
|
|
|
1
|
-
import { isBezierDefinition as e } from "../../../../../../motion-utils/dist/es/easing/utils/is-bezier-definition.js";
|
|
2
|
-
import { generateLinearEasing as t } from "../utils/linear.js";
|
|
3
|
-
import { supportsLinearEasing as n } from "../../../utils/supports/linear-easing.js";
|
|
4
|
-
import { cubicBezierAsString as r } from "./cubic-bezier.js";
|
|
5
|
-
import { supportedWaapiEasing as i } from "./supported.js";
|
|
6
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
|
|
7
|
-
function a(o, s) {
|
|
8
|
-
if (o) return typeof o == "function" ? n() ? t(o, s) : "ease-out" : e(o) ? r(o) : Array.isArray(o) ? o.map((e) => a(e, s) || i.easeOut) : i[o];
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { a as mapEasingToNativeEasing };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=map-easing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-easing.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs"],"sourcesContent":["import { isBezierDefinition } from 'motion-utils';\nimport { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { generateLinearEasing } from '../utils/linear.mjs';\nimport { cubicBezierAsString } from './cubic-bezier.mjs';\nimport { supportedWaapiEasing } from './supported.mjs';\n\nfunction mapEasingToNativeEasing(easing, duration) {\n if (!easing) {\n return undefined;\n }\n else if (typeof easing === \"function\") {\n return supportsLinearEasing()\n ? generateLinearEasing(easing, duration)\n : \"ease-out\";\n }\n else if (isBezierDefinition(easing)) {\n return cubicBezierAsString(easing);\n }\n else if (Array.isArray(easing)) {\n return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) ||\n supportedWaapiEasing.easeOut);\n }\n else {\n return supportedWaapiEasing[easing];\n }\n}\n\nexport { mapEasingToNativeEasing };\n//# sourceMappingURL=map-easing.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAMA,SAAS,EAAwB,GAAQ,GAAU;AAC1C,OAgBD,QAbK,OAAO,KAAW,aAChB,GAAsB,GACvB,EAAqB,GAAQ,EAAS,GACtC,aAED,EAAmB,EAAO,GACxB,EAAoB,EAAO,GAE7B,MAAM,QAAQ,EAAO,GACnB,EAAO,KAAK,MAAkB,EAAwB,GAAe,EAAS,IACjF,EAAqB,QAAQ,GAG1B,EAAqB"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { cubicBezierAsString as e } from "./cubic-bezier.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs
|
|
3
|
-
var t = {
|
|
4
|
-
linear: "linear",
|
|
5
|
-
ease: "ease",
|
|
6
|
-
easeIn: "ease-in",
|
|
7
|
-
easeOut: "ease-out",
|
|
8
|
-
easeInOut: "ease-in-out",
|
|
9
|
-
circIn: /* @__PURE__ */ e([
|
|
10
|
-
0,
|
|
11
|
-
.65,
|
|
12
|
-
.55,
|
|
13
|
-
1
|
|
14
|
-
]),
|
|
15
|
-
circOut: /* @__PURE__ */ e([
|
|
16
|
-
.55,
|
|
17
|
-
0,
|
|
18
|
-
1,
|
|
19
|
-
.45
|
|
20
|
-
]),
|
|
21
|
-
backIn: /* @__PURE__ */ e([
|
|
22
|
-
.31,
|
|
23
|
-
.01,
|
|
24
|
-
.66,
|
|
25
|
-
-.59
|
|
26
|
-
]),
|
|
27
|
-
backOut: /* @__PURE__ */ e([
|
|
28
|
-
.33,
|
|
29
|
-
1.53,
|
|
30
|
-
.69,
|
|
31
|
-
.99
|
|
32
|
-
])
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { t as supportedWaapiEasing };
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=supported.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supported.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs"],"sourcesContent":["import { cubicBezierAsString } from './cubic-bezier.mjs';\n\nconst supportedWaapiEasing = {\n linear: \"linear\",\n ease: \"ease\",\n easeIn: \"ease-in\",\n easeOut: \"ease-out\",\n easeInOut: \"ease-in-out\",\n circIn: /*@__PURE__*/ cubicBezierAsString([0, 0.65, 0.55, 1]),\n circOut: /*@__PURE__*/ cubicBezierAsString([0.55, 0, 1, 0.45]),\n backIn: /*@__PURE__*/ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),\n backOut: /*@__PURE__*/ cubicBezierAsString([0.33, 1.53, 0.69, 0.99]),\n};\n\nexport { supportedWaapiEasing };\n//# sourceMappingURL=supported.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAuB;CACzB,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,SAAS;CACT,WAAW;CACX,QAAsB,kBAAoB;EAAC;EAAG;EAAM;EAAM;EAAE,CAAC;CAC7D,SAAuB,kBAAoB;EAAC;EAAM;EAAG;EAAG;EAAK,CAAC;CAC9D,QAAsB,kBAAoB;EAAC;EAAM;EAAM;EAAM;EAAM,CAAC;CACpE,SAAuB,kBAAoB;EAAC;EAAM;EAAM;EAAM;EAAK,CAAC;CACvE"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { statsBuffer as e } from "../../stats/buffer.js";
|
|
2
|
-
import { activeAnimations as t } from "../../stats/animation-count.js";
|
|
3
|
-
import { mapEasingToNativeEasing as n } from "./easing/map-easing.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
|
|
5
|
-
function r(r, i, a, { delay: o = 0, duration: s = 300, repeat: c = 0, repeatType: l = "loop", ease: u = "easeOut", times: d } = {}, f = void 0) {
|
|
6
|
-
let p = { [i]: a };
|
|
7
|
-
d && (p.offset = d);
|
|
8
|
-
let m = n(u, s);
|
|
9
|
-
Array.isArray(m) && (p.easing = m), e.value && t.waapi++;
|
|
10
|
-
let h = {
|
|
11
|
-
delay: o,
|
|
12
|
-
duration: s,
|
|
13
|
-
easing: Array.isArray(m) ? "linear" : m,
|
|
14
|
-
fill: "both",
|
|
15
|
-
iterations: c + 1,
|
|
16
|
-
direction: l === "reverse" ? "alternate" : "normal"
|
|
17
|
-
};
|
|
18
|
-
f && (h.pseudoElement = f);
|
|
19
|
-
let g = r.animate(p, h);
|
|
20
|
-
return e.value && g.finished.finally(() => {
|
|
21
|
-
t.waapi--;
|
|
22
|
-
}), g;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { r as startWaapiAnimation };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=start-waapi-animation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start-waapi-animation.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs"],"sourcesContent":["import { activeAnimations } from '../../stats/animation-count.mjs';\nimport { statsBuffer } from '../../stats/buffer.mjs';\nimport { mapEasingToNativeEasing } from './easing/map-easing.mjs';\n\nfunction startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = \"loop\", ease = \"easeOut\", times, } = {}, pseudoElement = undefined) {\n const keyframeOptions = {\n [valueName]: keyframes,\n };\n if (times)\n keyframeOptions.offset = times;\n const easing = mapEasingToNativeEasing(ease, duration);\n /**\n * If this is an easing array, apply to keyframes, not animation as a whole\n */\n if (Array.isArray(easing))\n keyframeOptions.easing = easing;\n if (statsBuffer.value) {\n activeAnimations.waapi++;\n }\n const options = {\n delay,\n duration,\n easing: !Array.isArray(easing) ? easing : \"linear\",\n fill: \"both\",\n iterations: repeat + 1,\n direction: repeatType === \"reverse\" ? \"alternate\" : \"normal\",\n };\n if (pseudoElement)\n options.pseudoElement = pseudoElement;\n const animation = element.animate(keyframeOptions, options);\n if (statsBuffer.value) {\n animation.finished.finally(() => {\n activeAnimations.waapi--;\n });\n }\n return animation;\n}\n\nexport { startWaapiAnimation };\n//# sourceMappingURL=start-waapi-animation.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAS,EAAoB,GAAS,GAAW,GAAW,EAAE,WAAQ,GAAG,cAAW,KAAK,YAAS,GAAG,gBAAa,QAAQ,UAAO,WAAW,aAAW,EAAE,EAAE,IAAgB,KAAA,GAAW;CAClL,IAAM,IAAkB,GACnB,IAAY,GAChB;AACD,CAAI,MACA,EAAgB,SAAS;CAC7B,IAAM,IAAS,EAAwB,GAAM,EAAS;AAMtD,CAFI,MAAM,QAAQ,EAAO,KACrB,EAAgB,SAAS,IACzB,EAAY,SACZ,EAAiB;CAErB,IAAM,IAAU;EACZ;EACA;EACA,QAAS,MAAM,QAAQ,EAAO,GAAY,WAAT;EACjC,MAAM;EACN,YAAY,IAAS;EACrB,WAAW,MAAe,YAAY,cAAc;EACvD;AACD,CAAI,MACA,EAAQ,gBAAgB;CAC5B,IAAM,IAAY,EAAQ,QAAQ,GAAiB,EAAQ;AAM3D,QALI,EAAY,SACZ,EAAU,SAAS,cAAc;AAC7B,IAAiB;GACnB,EAEC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { memo as e } from "../../../../../../motion-utils/dist/es/memo.js";
|
|
2
|
-
import { acceleratedValues as t } from "../utils/accelerated-values.js";
|
|
3
|
-
import { hasBrowserOnlyColors as n } from "../utils/is-browser-color.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
|
|
5
|
-
var r = new Set([
|
|
6
|
-
"color",
|
|
7
|
-
"backgroundColor",
|
|
8
|
-
"outlineColor",
|
|
9
|
-
"fill",
|
|
10
|
-
"stroke",
|
|
11
|
-
"borderColor",
|
|
12
|
-
"borderTopColor",
|
|
13
|
-
"borderRightColor",
|
|
14
|
-
"borderBottomColor",
|
|
15
|
-
"borderLeftColor"
|
|
16
|
-
]), i = /* @__PURE__ */ e(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
|
|
17
|
-
function a(e) {
|
|
18
|
-
let { motionValue: a, name: o, repeatDelay: s, repeatType: c, damping: l, type: u, keyframes: d } = e;
|
|
19
|
-
if (!(a?.owner?.current instanceof HTMLElement)) return !1;
|
|
20
|
-
let { onUpdate: f, transformTemplate: p } = a.owner.getProps();
|
|
21
|
-
return i() && o && (t.has(o) || r.has(o) && n(d)) && (o !== "transform" || !p) && !f && !s && c !== "mirror" && l !== 0 && u !== "inertia";
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { a as supportsBrowserAnimation };
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=waapi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waapi.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs"],"sourcesContent":["import { memo } from 'motion-utils';\nimport { acceleratedValues } from '../utils/accelerated-values.mjs';\nimport { hasBrowserOnlyColors } from '../utils/is-browser-color.mjs';\n\nconst colorProperties = new Set([\n \"color\",\n \"backgroundColor\",\n \"outlineColor\",\n \"fill\",\n \"stroke\",\n \"borderColor\",\n \"borderTopColor\",\n \"borderRightColor\",\n \"borderBottomColor\",\n \"borderLeftColor\",\n]);\nconst supportsWaapi = /*@__PURE__*/ memo(() => Object.hasOwnProperty.call(Element.prototype, \"animate\"));\nfunction supportsBrowserAnimation(options) {\n const { motionValue, name, repeatDelay, repeatType, damping, type, keyframes, } = options;\n const subject = motionValue?.owner?.current;\n /**\n * We use this check instead of isHTMLElement() because we explicitly\n * **don't** want elements in different timing contexts (i.e. popups)\n * to be accelerated, as it's not possible to sync these animations\n * properly with those driven from the main window frameloop.\n */\n if (!(subject instanceof HTMLElement)) {\n return false;\n }\n const { onUpdate, transformTemplate } = motionValue.owner.getProps();\n return (supportsWaapi() &&\n name &&\n /**\n * Force WAAPI for color properties with browser-only color formats\n * (oklch, oklab, lab, lch, etc.) that the JS animation path can't parse.\n */\n (acceleratedValues.has(name) ||\n (colorProperties.has(name) &&\n hasBrowserOnlyColors(keyframes))) &&\n (name !== \"transform\" || !transformTemplate) &&\n /**\n * If we're outputting values to onUpdate then we can't use WAAPI as there's\n * no way to read the value from WAAPI every frame.\n */\n !onUpdate &&\n !repeatDelay &&\n repeatType !== \"mirror\" &&\n damping !== 0 &&\n type !== \"inertia\");\n}\n\nexport { supportsBrowserAnimation };\n//# sourceMappingURL=waapi.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAkB,IAAI,IAAI;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH,CAAC,EACI,IAA8B,wBAAW,OAAO,eAAe,KAAK,QAAQ,WAAW,UAAU,CAAC;AACxG,SAAS,EAAyB,GAAS;CACvC,IAAM,EAAE,gBAAa,SAAM,gBAAa,eAAY,YAAS,SAAM,iBAAe;AAQlF,KAAI,EAPY,GAAa,OAAO,mBAOX,aACrB,QAAO;CAEX,IAAM,EAAE,aAAU,yBAAsB,EAAY,MAAM,UAAU;AACpE,QAAQ,GAAe,IACnB,MAKC,EAAkB,IAAI,EAAK,IACvB,EAAgB,IAAI,EAAK,IACtB,EAAqB,EAAU,MACtC,MAAS,eAAe,CAAC,MAK1B,CAAC,KACD,CAAC,KACD,MAAe,YACf,MAAY,KACZ,MAAS"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
|
|
2
|
-
var e = new Set([
|
|
3
|
-
"opacity",
|
|
4
|
-
"clipPath",
|
|
5
|
-
"filter",
|
|
6
|
-
"transform"
|
|
7
|
-
]);
|
|
8
|
-
//#endregion
|
|
9
|
-
export { e as acceleratedValues };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=accelerated-values.js.map
|
package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accelerated-values.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs"],"sourcesContent":["/**\n * A list of values that can be hardware-accelerated.\n */\nconst acceleratedValues = new Set([\n \"opacity\",\n \"clipPath\",\n \"filter\",\n \"transform\",\n // TODO: Can be accelerated but currently disabled until https://issues.chromium.org/issues/41491098 is resolved\n // or until we implement support for linear() easing.\n // \"background-color\"\n]);\n\nexport { acceleratedValues };\n//# sourceMappingURL=accelerated-values.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAGA,IAAM,IAAoB,IAAI,IAAI;CAC9B;CACA;CACA;CACA;CAIH,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { supportsLinearEasing as e } from "../../../utils/supports/linear-easing.js";
|
|
2
|
-
import { isGenerator as t } from "../../generators/utils/is-generator.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
|
|
4
|
-
function n({ type: n, ...r }) {
|
|
5
|
-
return t(n) && e() ? n.applyToOptions(r) : (r.duration ??= 300, r.ease ??= "easeOut", r);
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { n as applyGeneratorOptions };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=apply-generator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apply-generator.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs"],"sourcesContent":["import { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { isGenerator } from '../../generators/utils/is-generator.mjs';\n\nfunction applyGeneratorOptions({ type, ...options }) {\n if (isGenerator(type) && supportsLinearEasing()) {\n return type.applyToOptions(options);\n }\n else {\n options.duration ?? (options.duration = 300);\n options.ease ?? (options.ease = \"easeOut\");\n }\n return options;\n}\n\nexport { applyGeneratorOptions };\n//# sourceMappingURL=apply-generator.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAsB,EAAE,SAAM,GAAG,KAAW;AAQjD,QAPI,EAAY,EAAK,IAAI,GAAsB,GACpC,EAAK,eAAe,EAAQ,IAGnC,AAAqB,EAAQ,aAAW,KACxC,AAAiB,EAAQ,SAAO,WAE7B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs
|
|
2
|
-
var e = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
|
|
3
|
-
function t(t) {
|
|
4
|
-
for (let n = 0; n < t.length; n++) if (typeof t[n] == "string" && e.test(t[n])) return !0;
|
|
5
|
-
return !1;
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as hasBrowserOnlyColors };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=is-browser-color.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-browser-color.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs"],"sourcesContent":["const browserColorFunctions = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\\(/;\nfunction hasBrowserOnlyColors(keyframes) {\n for (let i = 0; i < keyframes.length; i++) {\n if (typeof keyframes[i] === \"string\" &&\n browserColorFunctions.test(keyframes[i])) {\n return true;\n }\n }\n return false;\n}\n\nexport { hasBrowserOnlyColors };\n//# sourceMappingURL=is-browser-color.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAwB;AAC9B,SAAS,EAAqB,GAAW;AACrC,MAAK,IAAI,IAAI,GAAG,IAAI,EAAU,QAAQ,IAClC,KAAI,OAAO,EAAU,MAAO,YACxB,EAAsB,KAAK,EAAU,GAAG,CACxC,QAAO;AAGf,QAAO"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs
|
|
2
|
-
var e = (e, t, n = 10) => {
|
|
3
|
-
let r = "", i = Math.max(Math.round(t / n), 2);
|
|
4
|
-
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
|
|
5
|
-
return `linear(${r.substring(0, r.length - 2)})`;
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { e as generateLinearEasing };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=linear.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linear.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs"],"sourcesContent":["const generateLinearEasing = (easing, duration, // as milliseconds\nresolution = 10 // as milliseconds\n) => {\n let points = \"\";\n const numPoints = Math.max(Math.round(duration / resolution), 2);\n for (let i = 0; i < numPoints; i++) {\n points += Math.round(easing(i / (numPoints - 1)) * 10000) / 10000 + \", \";\n }\n return `linear(${points.substring(0, points.length - 2)})`;\n};\n\nexport { generateLinearEasing };\n//# sourceMappingURL=linear.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAwB,GAAQ,GACtC,IAAa,OACR;CACD,IAAI,IAAS,IACP,IAAY,KAAK,IAAI,KAAK,MAAM,IAAW,EAAW,EAAE,EAAE;AAChE,MAAK,IAAI,IAAI,GAAG,IAAI,GAAW,IAC3B,MAAU,KAAK,MAAM,EAAO,KAAK,IAAY,GAAG,GAAG,IAAM,GAAG,MAAQ;AAExE,QAAO,UAAU,EAAO,UAAU,GAAG,EAAO,SAAS,EAAE,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { backInOut as e } from "../../../../../../motion-utils/dist/es/easing/back.js";
|
|
2
|
-
import { anticipate as t } from "../../../../../../motion-utils/dist/es/easing/anticipate.js";
|
|
3
|
-
import { circInOut as n } from "../../../../../../motion-utils/dist/es/easing/circ.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs
|
|
5
|
-
var r = {
|
|
6
|
-
anticipate: t,
|
|
7
|
-
backInOut: e,
|
|
8
|
-
circInOut: n
|
|
9
|
-
};
|
|
10
|
-
function i(e) {
|
|
11
|
-
return e in r;
|
|
12
|
-
}
|
|
13
|
-
function a(e) {
|
|
14
|
-
typeof e.ease == "string" && i(e.ease) && (e.ease = r[e.ease]);
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { a as replaceStringEasing };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=unsupported-easing.js.map
|
package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unsupported-easing.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs"],"sourcesContent":["import { circInOut, backInOut, anticipate } from 'motion-utils';\n\nconst unsupportedEasingFunctions = {\n anticipate,\n backInOut,\n circInOut,\n};\nfunction isUnsupportedEase(key) {\n return key in unsupportedEasingFunctions;\n}\nfunction replaceStringEasing(transition) {\n if (typeof transition.ease === \"string\" &&\n isUnsupportedEase(transition.ease)) {\n transition.ease = unsupportedEasingFunctions[transition.ease];\n }\n}\n\nexport { replaceStringEasing };\n//# sourceMappingURL=unsupported-easing.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAEA,IAAM,IAA6B;CAC/B;CACA;CACA;CACH;AACD,SAAS,EAAkB,GAAK;AAC5B,QAAO,KAAO;;AAElB,SAAS,EAAoB,GAAY;AACrC,CAAI,OAAO,EAAW,QAAS,YAC3B,EAAkB,EAAW,KAAK,KAClC,EAAW,OAAO,EAA2B,EAAW"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
|
|
2
|
-
function e(e, t, n, r = { passive: !0 }) {
|
|
3
|
-
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n);
|
|
4
|
-
}
|
|
5
|
-
//#endregion
|
|
6
|
-
export { e as addDomEvent };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=add-dom-event.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-dom-event.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/events/add-dom-event.mjs"],"sourcesContent":["function addDomEvent(target, eventName, handler, options = { passive: true }) {\n target.addEventListener(eventName, handler, options);\n return () => target.removeEventListener(eventName, handler);\n}\n\nexport { addDomEvent };\n//# sourceMappingURL=add-dom-event.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAY,GAAQ,GAAW,GAAS,IAAU,EAAE,SAAS,IAAM,EAAE;AAE1E,QADA,EAAO,iBAAiB,GAAW,GAAS,EAAQ,QACvC,EAAO,oBAAoB,GAAW,EAAQ"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config.js";
|
|
2
|
-
import { stepsOrder as t } from "./order.js";
|
|
3
|
-
import { createRenderStep as n } from "./render-step.js";
|
|
4
|
-
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
|
|
5
|
-
var r = 40;
|
|
6
|
-
function i(i, a) {
|
|
7
|
-
let o = !1, s = !0, c = {
|
|
8
|
-
delta: 0,
|
|
9
|
-
timestamp: 0,
|
|
10
|
-
isProcessing: !1
|
|
11
|
-
}, l = () => o = !0, u = t.reduce((e, t) => (e[t] = n(l, a ? t : void 0), e), {}), { setup: d, read: f, resolveKeyframes: p, preUpdate: m, update: h, preRender: g, render: _, postRender: v } = u, y = () => {
|
|
12
|
-
let t = e.useManualTiming, n = t ? c.timestamp : performance.now();
|
|
13
|
-
o = !1, t || (c.delta = s ? 1e3 / 60 : Math.max(Math.min(n - c.timestamp, r), 1)), c.timestamp = n, c.isProcessing = !0, d.process(c), f.process(c), p.process(c), m.process(c), h.process(c), g.process(c), _.process(c), v.process(c), c.isProcessing = !1, o && a && (s = !1, i(y));
|
|
14
|
-
}, b = () => {
|
|
15
|
-
o = !0, s = !0, c.isProcessing || i(y);
|
|
16
|
-
};
|
|
17
|
-
return {
|
|
18
|
-
schedule: t.reduce((e, t) => {
|
|
19
|
-
let n = u[t];
|
|
20
|
-
return e[t] = (e, t = !1, r = !1) => (o || b(), n.schedule(e, t, r)), e;
|
|
21
|
-
}, {}),
|
|
22
|
-
cancel: (e) => {
|
|
23
|
-
for (let n = 0; n < t.length; n++) u[t[n]].cancel(e);
|
|
24
|
-
},
|
|
25
|
-
state: c,
|
|
26
|
-
steps: u
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { i as createRenderBatcher };
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=batcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"batcher.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/batcher.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { stepsOrder } from './order.mjs';\nimport { createRenderStep } from './render-step.mjs';\n\nconst maxElapsed = 40;\nfunction createRenderBatcher(scheduleNextBatch, allowKeepAlive) {\n let runNextFrame = false;\n let useDefaultElapsed = true;\n const state = {\n delta: 0.0,\n timestamp: 0.0,\n isProcessing: false,\n };\n const flagRunNextFrame = () => (runNextFrame = true);\n const steps = stepsOrder.reduce((acc, key) => {\n acc[key] = createRenderStep(flagRunNextFrame, allowKeepAlive ? key : undefined);\n return acc;\n }, {});\n const { setup, read, resolveKeyframes, preUpdate, update, preRender, render, postRender, } = steps;\n const processBatch = () => {\n const useManualTiming = MotionGlobalConfig.useManualTiming;\n const timestamp = useManualTiming\n ? state.timestamp\n : performance.now();\n runNextFrame = false;\n if (!useManualTiming) {\n state.delta = useDefaultElapsed\n ? 1000 / 60\n : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);\n }\n state.timestamp = timestamp;\n state.isProcessing = true;\n // Unrolled render loop for better per-frame performance\n setup.process(state);\n read.process(state);\n resolveKeyframes.process(state);\n preUpdate.process(state);\n update.process(state);\n preRender.process(state);\n render.process(state);\n postRender.process(state);\n state.isProcessing = false;\n if (runNextFrame && allowKeepAlive) {\n useDefaultElapsed = false;\n scheduleNextBatch(processBatch);\n }\n };\n const wake = () => {\n runNextFrame = true;\n useDefaultElapsed = true;\n if (!state.isProcessing) {\n scheduleNextBatch(processBatch);\n }\n };\n const schedule = stepsOrder.reduce((acc, key) => {\n const step = steps[key];\n acc[key] = (process, keepAlive = false, immediate = false) => {\n if (!runNextFrame)\n wake();\n return step.schedule(process, keepAlive, immediate);\n };\n return acc;\n }, {});\n const cancel = (process) => {\n for (let i = 0; i < stepsOrder.length; i++) {\n steps[stepsOrder[i]].cancel(process);\n }\n };\n return { schedule, cancel, state, steps };\n}\n\nexport { createRenderBatcher };\n//# sourceMappingURL=batcher.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAa;AACnB,SAAS,EAAoB,GAAmB,GAAgB;CAC5D,IAAI,IAAe,IACf,IAAoB,IAClB,IAAQ;EACV,OAAO;EACP,WAAW;EACX,cAAc;EACjB,EACK,UAA0B,IAAe,IACzC,IAAQ,EAAW,QAAQ,GAAK,OAClC,EAAI,KAAO,EAAiB,GAAkB,IAAiB,IAAM,KAAA,EAAU,EACxE,IACR,EAAE,CAAC,EACA,EAAE,UAAO,SAAM,qBAAkB,cAAW,WAAQ,cAAW,WAAQ,kBAAgB,GACvF,UAAqB;EACvB,IAAM,IAAkB,EAAmB,iBACrC,IAAY,IACZ,EAAM,YACN,YAAY,KAAK;AAmBvB,EAlBA,IAAe,IACV,MACD,EAAM,QAAQ,IACR,MAAO,KACP,KAAK,IAAI,KAAK,IAAI,IAAY,EAAM,WAAW,EAAW,EAAE,EAAE,GAExE,EAAM,YAAY,GAClB,EAAM,eAAe,IAErB,EAAM,QAAQ,EAAM,EACpB,EAAK,QAAQ,EAAM,EACnB,EAAiB,QAAQ,EAAM,EAC/B,EAAU,QAAQ,EAAM,EACxB,EAAO,QAAQ,EAAM,EACrB,EAAU,QAAQ,EAAM,EACxB,EAAO,QAAQ,EAAM,EACrB,EAAW,QAAQ,EAAM,EACzB,EAAM,eAAe,IACjB,KAAgB,MAChB,IAAoB,IACpB,EAAkB,EAAa;IAGjC,UAAa;AAGf,EAFA,IAAe,IACf,IAAoB,IACf,EAAM,gBACP,EAAkB,EAAa;;AAiBvC,QAAO;EAAE,UAdQ,EAAW,QAAQ,GAAK,MAAQ;GAC7C,IAAM,IAAO,EAAM;AAMnB,UALA,EAAI,MAAQ,GAAS,IAAY,IAAO,IAAY,QAC3C,KACD,GAAM,EACH,EAAK,SAAS,GAAS,GAAW,EAAU,GAEhD;KACR,EAAE,CAAC;EAMa,SALH,MAAY;AACxB,QAAK,IAAI,IAAI,GAAG,IAAI,EAAW,QAAQ,IACnC,GAAM,EAAW,IAAI,OAAO,EAAQ;;EAGjB;EAAO;EAAO"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { noop as e } from "../../../../motion-utils/dist/es/noop.js";
|
|
2
|
-
import { createRenderBatcher as t } from "./batcher.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
|
|
4
|
-
var { schedule: n, cancel: r, state: i, steps: a } = /* @__PURE__ */ t(typeof requestAnimationFrame < "u" ? requestAnimationFrame : e, !0);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { r as cancelFrame, n as frame, i as frameData, a as frameSteps };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=frame.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frame.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/frame.mjs"],"sourcesContent":["import { noop } from 'motion-utils';\nimport { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== \"undefined\" ? requestAnimationFrame : noop, true);\n\nexport { cancelFrame, frame, frameData, frameSteps };\n//# sourceMappingURL=frame.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,EAAE,UAAU,GAAO,QAAQ,GAAa,OAAO,GAAW,OAAO,MAAgC,kBAAoB,OAAO,wBAA0B,MAAc,wBAAwB,GAAM,GAAK"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { createRenderBatcher as e } from "./batcher.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
|
|
3
|
-
var { schedule: t, cancel: n } = /* @__PURE__ */ e(queueMicrotask, !1);
|
|
4
|
-
//#endregion
|
|
5
|
-
export { t as microtask };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=microtask.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"microtask.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/microtask.mjs"],"sourcesContent":["import { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: microtask, cancel: cancelMicrotask } = \n/* @__PURE__ */ createRenderBatcher(queueMicrotask, false);\n\nexport { cancelMicrotask, microtask };\n//# sourceMappingURL=microtask.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,EAAE,UAAU,GAAW,QAAQ,MACrB,kBAAoB,gBAAgB,GAAM"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/frameloop/order.mjs
|
|
2
|
-
var e = [
|
|
3
|
-
"setup",
|
|
4
|
-
"read",
|
|
5
|
-
"resolveKeyframes",
|
|
6
|
-
"preUpdate",
|
|
7
|
-
"update",
|
|
8
|
-
"preRender",
|
|
9
|
-
"render",
|
|
10
|
-
"postRender"
|
|
11
|
-
];
|
|
12
|
-
//#endregion
|
|
13
|
-
export { e as stepsOrder };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=order.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/order.mjs"],"sourcesContent":["const stepsOrder = [\n \"setup\", // Compute\n \"read\", // Read\n \"resolveKeyframes\", // Write/Read/Write/Read\n \"preUpdate\", // Compute\n \"update\", // Compute\n \"preRender\", // Compute\n \"render\", // Write\n \"postRender\", // Compute\n];\n\nexport { stepsOrder };\n//# sourceMappingURL=order.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAa;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { statsBuffer as e } from "../stats/buffer.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
|
|
3
|
-
function t(t, n) {
|
|
4
|
-
let r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), a = !1, o = !1, s = /* @__PURE__ */ new WeakSet(), c = {
|
|
5
|
-
delta: 0,
|
|
6
|
-
timestamp: 0,
|
|
7
|
-
isProcessing: !1
|
|
8
|
-
}, l = 0;
|
|
9
|
-
function u(e) {
|
|
10
|
-
s.has(e) && (d.schedule(e), t()), l++, e(c);
|
|
11
|
-
}
|
|
12
|
-
let d = {
|
|
13
|
-
schedule: (e, t = !1, n = !1) => {
|
|
14
|
-
let o = n && a ? r : i;
|
|
15
|
-
return t && s.add(e), o.add(e), e;
|
|
16
|
-
},
|
|
17
|
-
cancel: (e) => {
|
|
18
|
-
i.delete(e), s.delete(e);
|
|
19
|
-
},
|
|
20
|
-
process: (t) => {
|
|
21
|
-
if (c = t, a) {
|
|
22
|
-
o = !0;
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
a = !0;
|
|
26
|
-
let s = r;
|
|
27
|
-
r = i, i = s, r.forEach(u), n && e.value && e.value.frameloop[n].push(l), l = 0, r.clear(), a = !1, o && (o = !1, d.process(t));
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
return d;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { t as createRenderStep };
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=render-step.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-step.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/render-step.mjs"],"sourcesContent":["import { statsBuffer } from '../stats/buffer.mjs';\n\nfunction createRenderStep(runNextFrame, stepName) {\n /**\n * We create and reuse two queues, one to queue jobs for the current frame\n * and one for the next. We reuse to avoid triggering GC after x frames.\n */\n let thisFrame = new Set();\n let nextFrame = new Set();\n /**\n * Track whether we're currently processing jobs in this step. This way\n * we can decide whether to schedule new jobs for this frame or next.\n */\n let isProcessing = false;\n let flushNextFrame = false;\n /**\n * A set of processes which were marked keepAlive when scheduled.\n */\n const toKeepAlive = new WeakSet();\n let latestFrameData = {\n delta: 0.0,\n timestamp: 0.0,\n isProcessing: false,\n };\n let numCalls = 0;\n function triggerCallback(callback) {\n if (toKeepAlive.has(callback)) {\n step.schedule(callback);\n runNextFrame();\n }\n numCalls++;\n callback(latestFrameData);\n }\n const step = {\n /**\n * Schedule a process to run on the next frame.\n */\n schedule: (callback, keepAlive = false, immediate = false) => {\n const addToCurrentFrame = immediate && isProcessing;\n const queue = addToCurrentFrame ? thisFrame : nextFrame;\n if (keepAlive)\n toKeepAlive.add(callback);\n queue.add(callback);\n return callback;\n },\n /**\n * Cancel the provided callback from running on the next frame.\n */\n cancel: (callback) => {\n nextFrame.delete(callback);\n toKeepAlive.delete(callback);\n },\n /**\n * Execute all schedule callbacks.\n */\n process: (frameData) => {\n latestFrameData = frameData;\n /**\n * If we're already processing we've probably been triggered by a flushSync\n * inside an existing process. Instead of executing, mark flushNextFrame\n * as true and ensure we flush the following frame at the end of this one.\n */\n if (isProcessing) {\n flushNextFrame = true;\n return;\n }\n isProcessing = true;\n // Swap this frame and the next to avoid GC\n const prevFrame = thisFrame;\n thisFrame = nextFrame;\n nextFrame = prevFrame;\n // Execute this frame\n thisFrame.forEach(triggerCallback);\n /**\n * If we're recording stats then\n */\n if (stepName && statsBuffer.value) {\n statsBuffer.value.frameloop[stepName].push(numCalls);\n }\n numCalls = 0;\n // Clear the frame so no callbacks remain. This is to avoid\n // memory leaks should this render step not run for a while.\n thisFrame.clear();\n isProcessing = false;\n if (flushNextFrame) {\n flushNextFrame = false;\n step.process(frameData);\n }\n },\n };\n return step;\n}\n\nexport { createRenderStep };\n//# sourceMappingURL=render-step.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAiB,GAAc,GAAU;CAK9C,IAAI,oBAAY,IAAI,KAAK,EACrB,oBAAY,IAAI,KAAK,EAKrB,IAAe,IACf,IAAiB,IAIf,oBAAc,IAAI,SAAS,EAC7B,IAAkB;EAClB,OAAO;EACP,WAAW;EACX,cAAc;EACjB,EACG,IAAW;CACf,SAAS,EAAgB,GAAU;AAM/B,EALI,EAAY,IAAI,EAAS,KACzB,EAAK,SAAS,EAAS,EACvB,GAAc,GAElB,KACA,EAAS,EAAgB;;CAE7B,IAAM,IAAO;EAIT,WAAW,GAAU,IAAY,IAAO,IAAY,OAAU;GAE1D,IAAM,IADoB,KAAa,IACL,IAAY;AAI9C,UAHI,KACA,EAAY,IAAI,EAAS,EAC7B,EAAM,IAAI,EAAS,EACZ;;EAKX,SAAS,MAAa;AAElB,GADA,EAAU,OAAO,EAAS,EAC1B,EAAY,OAAO,EAAS;;EAKhC,UAAU,MAAc;AAOpB,OANA,IAAkB,GAMd,GAAc;AACd,QAAiB;AACjB;;AAEJ,OAAe;GAEf,IAAM,IAAY;AAgBlB,GAfA,IAAY,GACZ,IAAY,GAEZ,EAAU,QAAQ,EAAgB,EAI9B,KAAY,EAAY,SACxB,EAAY,MAAM,UAAU,GAAU,KAAK,EAAS,EAExD,IAAW,GAGX,EAAU,OAAO,EACjB,IAAe,IACX,MACA,IAAiB,IACjB,EAAK,QAAQ,EAAU;;EAGlC;AACD,QAAO"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config.js";
|
|
2
|
-
import { frameData as t } from "./frame.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/frameloop/sync-time.mjs
|
|
4
|
-
var n;
|
|
5
|
-
function r() {
|
|
6
|
-
n = void 0;
|
|
7
|
-
}
|
|
8
|
-
var i = {
|
|
9
|
-
now: () => (n === void 0 && i.set(t.isProcessing || e.useManualTiming ? t.timestamp : performance.now()), n),
|
|
10
|
-
set: (e) => {
|
|
11
|
-
n = e, queueMicrotask(r);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { i as time };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=sync-time.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync-time.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/frameloop/sync-time.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { frameData } from './frame.mjs';\n\nlet now;\nfunction clearTime() {\n now = undefined;\n}\n/**\n * An eventloop-synchronous alternative to performance.now().\n *\n * Ensures that time measurements remain consistent within a synchronous context.\n * Usually calling performance.now() twice within the same synchronous context\n * will return different values which isn't useful for animations when we're usually\n * trying to sync animations to the same frame.\n */\nconst time = {\n now: () => {\n if (now === undefined) {\n time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming\n ? frameData.timestamp\n : performance.now());\n }\n return now;\n },\n set: (newTime) => {\n now = newTime;\n queueMicrotask(clearTime);\n },\n};\n\nexport { time };\n//# sourceMappingURL=sync-time.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAI;AACJ,SAAS,IAAY;AACjB,KAAM,KAAA;;AAUV,IAAM,IAAO;CACT,YACQ,MAAQ,KAAA,KACR,EAAK,IAAI,EAAU,gBAAgB,EAAmB,kBAChD,EAAU,YACV,YAAY,KAAK,CAAC,EAErB;CAEX,MAAM,MAAY;AAEd,EADA,IAAM,GACN,eAAe,EAAU;;CAEhC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
|
|
2
|
-
var e = {
|
|
3
|
-
x: !1,
|
|
4
|
-
y: !1
|
|
5
|
-
};
|
|
6
|
-
function t() {
|
|
7
|
-
return e.x || e.y;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { t as isDragActive, e as isDragging };
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=is-active.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-active.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs"],"sourcesContent":["const isDragging = {\n x: false,\n y: false,\n};\nfunction isDragActive() {\n return isDragging.x || isDragging.y;\n}\n\nexport { isDragActive, isDragging };\n//# sourceMappingURL=is-active.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAa;CACf,GAAG;CACH,GAAG;CACN;AACD,SAAS,IAAe;AACpB,QAAO,EAAW,KAAK,EAAW"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isDragging as e } from "./is-active.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
|
|
3
|
-
function t(t) {
|
|
4
|
-
return t === "x" || t === "y" ? e[t] ? null : (e[t] = !0, () => {
|
|
5
|
-
e[t] = !1;
|
|
6
|
-
}) : e.x || e.y ? null : (e.x = e.y = !0, () => {
|
|
7
|
-
e.x = e.y = !1;
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { t as setDragLock };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=set-active.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set-active.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs"],"sourcesContent":["import { isDragging } from './is-active.mjs';\n\nfunction setDragLock(axis) {\n if (axis === \"x\" || axis === \"y\") {\n if (isDragging[axis]) {\n return null;\n }\n else {\n isDragging[axis] = true;\n return () => {\n isDragging[axis] = false;\n };\n }\n }\n else {\n if (isDragging.x || isDragging.y) {\n return null;\n }\n else {\n isDragging.x = isDragging.y = true;\n return () => {\n isDragging.x = isDragging.y = false;\n };\n }\n }\n}\n\nexport { setDragLock };\n//# sourceMappingURL=set-active.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAY,GAAM;AAkBf,QAjBJ,MAAS,OAAO,MAAS,MACrB,EAAW,KACJ,QAGP,EAAW,KAAQ,UACN;AACT,IAAW,KAAQ;MAKvB,EAAW,KAAK,EAAW,IACpB,QAGP,EAAW,IAAI,EAAW,IAAI,UACjB;AACT,IAAW,IAAI,EAAW,IAAI"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { isDragActive as e } from "./drag/state/is-active.js";
|
|
2
|
-
import { setupGesture as t } from "./utils/setup.js";
|
|
3
|
-
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
|
|
4
|
-
function n(t) {
|
|
5
|
-
return !(t.pointerType === "touch" || e());
|
|
6
|
-
}
|
|
7
|
-
function r(e, r, i = {}) {
|
|
8
|
-
let [a, o, s] = t(e, i);
|
|
9
|
-
return a.forEach((e) => {
|
|
10
|
-
let t = !1, i = !1, a, s = () => {
|
|
11
|
-
e.removeEventListener("pointerleave", d);
|
|
12
|
-
}, c = (e) => {
|
|
13
|
-
a &&= (a(e), void 0), s();
|
|
14
|
-
}, l = (e) => {
|
|
15
|
-
t = !1, window.removeEventListener("pointerup", l), window.removeEventListener("pointercancel", l), i && (i = !1, c(e));
|
|
16
|
-
}, u = () => {
|
|
17
|
-
t = !0, window.addEventListener("pointerup", l, o), window.addEventListener("pointercancel", l, o);
|
|
18
|
-
}, d = (e) => {
|
|
19
|
-
if (e.pointerType !== "touch") {
|
|
20
|
-
if (t) {
|
|
21
|
-
i = !0;
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
c(e);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
e.addEventListener("pointerenter", (t) => {
|
|
28
|
-
if (!n(t)) return;
|
|
29
|
-
i = !1;
|
|
30
|
-
let s = r(e, t);
|
|
31
|
-
typeof s == "function" && (a = s, e.addEventListener("pointerleave", d, o));
|
|
32
|
-
}, o), e.addEventListener("pointerdown", u, o);
|
|
33
|
-
}), s;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { r as hover };
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=hover.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/gestures/hover.mjs"],"sourcesContent":["import { isDragActive } from './drag/state/is-active.mjs';\nimport { setupGesture } from './utils/setup.mjs';\n\nfunction isValidHover(event) {\n return !(event.pointerType === \"touch\" || isDragActive());\n}\n/**\n * Create a hover gesture. hover() is different to .addEventListener(\"pointerenter\")\n * in that it has an easier syntax, filters out polyfilled touch events, interoperates\n * with drag gestures, and automatically removes the \"pointerennd\" event listener when the hover ends.\n *\n * @public\n */\nfunction hover(elementOrSelector, onHoverStart, options = {}) {\n const [elements, eventOptions, cancel] = setupGesture(elementOrSelector, options);\n elements.forEach((element) => {\n let isPressed = false;\n let deferredHoverEnd = false;\n let hoverEndCallback;\n const removePointerLeave = () => {\n element.removeEventListener(\"pointerleave\", onPointerLeave);\n };\n const endHover = (event) => {\n if (hoverEndCallback) {\n hoverEndCallback(event);\n hoverEndCallback = undefined;\n }\n removePointerLeave();\n };\n const onPointerUp = (event) => {\n isPressed = false;\n window.removeEventListener(\"pointerup\", onPointerUp);\n window.removeEventListener(\"pointercancel\", onPointerUp);\n if (deferredHoverEnd) {\n deferredHoverEnd = false;\n endHover(event);\n }\n };\n const onPointerDown = () => {\n isPressed = true;\n window.addEventListener(\"pointerup\", onPointerUp, eventOptions);\n window.addEventListener(\"pointercancel\", onPointerUp, eventOptions);\n };\n const onPointerLeave = (leaveEvent) => {\n if (leaveEvent.pointerType === \"touch\")\n return;\n if (isPressed) {\n deferredHoverEnd = true;\n return;\n }\n endHover(leaveEvent);\n };\n const onPointerEnter = (enterEvent) => {\n if (!isValidHover(enterEvent))\n return;\n deferredHoverEnd = false;\n const onHoverEnd = onHoverStart(element, enterEvent);\n if (typeof onHoverEnd !== \"function\")\n return;\n hoverEndCallback = onHoverEnd;\n element.addEventListener(\"pointerleave\", onPointerLeave, eventOptions);\n };\n element.addEventListener(\"pointerenter\", onPointerEnter, eventOptions);\n element.addEventListener(\"pointerdown\", onPointerDown, eventOptions);\n });\n return cancel;\n}\n\nexport { hover };\n//# sourceMappingURL=hover.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAa,GAAO;AACzB,QAAO,EAAE,EAAM,gBAAgB,WAAW,GAAc;;AAS5D,SAAS,EAAM,GAAmB,GAAc,IAAU,EAAE,EAAE;CAC1D,IAAM,CAAC,GAAU,GAAc,KAAU,EAAa,GAAmB,EAAQ;AAmDjF,QAlDA,EAAS,SAAS,MAAY;EAC1B,IAAI,IAAY,IACZ,IAAmB,IACnB,GACE,UAA2B;AAC7B,KAAQ,oBAAoB,gBAAgB,EAAe;KAEzD,KAAY,MAAU;AAKxB,GAJA,AAEI,OADA,EAAiB,EAAM,EACJ,KAAA,IAEvB,GAAoB;KAElB,KAAe,MAAU;AAI3B,GAHA,IAAY,IACZ,OAAO,oBAAoB,aAAa,EAAY,EACpD,OAAO,oBAAoB,iBAAiB,EAAY,EACpD,MACA,IAAmB,IACnB,EAAS,EAAM;KAGjB,UAAsB;AAGxB,GAFA,IAAY,IACZ,OAAO,iBAAiB,aAAa,GAAa,EAAa,EAC/D,OAAO,iBAAiB,iBAAiB,GAAa,EAAa;KAEjE,KAAkB,MAAe;AAC/B,SAAW,gBAAgB,SAE/B;QAAI,GAAW;AACX,SAAmB;AACnB;;AAEJ,MAAS,EAAW;;;AAaxB,EADA,EAAQ,iBAAiB,iBAVD,MAAe;AACnC,OAAI,CAAC,EAAa,EAAW,CACzB;AACJ,OAAmB;GACnB,IAAM,IAAa,EAAa,GAAS,EAAW;AAChD,UAAO,KAAe,eAE1B,IAAmB,GACnB,EAAQ,iBAAiB,gBAAgB,GAAgB,EAAa;KAEjB,EAAa,EACtE,EAAQ,iBAAiB,eAAe,GAAe,EAAa;GACtE,EACK"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { isHTMLElement as e } from "../../utils/is-html-element.js";
|
|
2
|
-
import { isDragActive as t } from "../drag/state/is-active.js";
|
|
3
|
-
import { setupGesture as n } from "../utils/setup.js";
|
|
4
|
-
import { isNodeOrChild as r } from "../utils/is-node-or-child.js";
|
|
5
|
-
import { isPrimaryPointer as i } from "../utils/is-primary-pointer.js";
|
|
6
|
-
import { isElementKeyboardAccessible as a } from "./utils/is-keyboard-accessible.js";
|
|
7
|
-
import { isPressing as o } from "./utils/state.js";
|
|
8
|
-
import { enableKeyboardPress as s } from "./utils/keyboard.js";
|
|
9
|
-
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
|
|
10
|
-
function c(e) {
|
|
11
|
-
return i(e) && !t();
|
|
12
|
-
}
|
|
13
|
-
var l = /* @__PURE__ */ new WeakSet();
|
|
14
|
-
function u(t, i, u = {}) {
|
|
15
|
-
let [d, f, p] = n(t, u), m = (e) => {
|
|
16
|
-
let t = e.currentTarget;
|
|
17
|
-
if (!c(e) || l.has(e)) return;
|
|
18
|
-
o.add(t), u.stopPropagation && l.add(e);
|
|
19
|
-
let n = i(t, e), a = (e, r) => {
|
|
20
|
-
window.removeEventListener("pointerup", s), window.removeEventListener("pointercancel", d), o.has(t) && o.delete(t), c(e) && typeof n == "function" && n(e, { success: r });
|
|
21
|
-
}, s = (e) => {
|
|
22
|
-
a(e, t === window || t === document || u.useGlobalTarget || r(t, e.target));
|
|
23
|
-
}, d = (e) => {
|
|
24
|
-
a(e, !1);
|
|
25
|
-
};
|
|
26
|
-
window.addEventListener("pointerup", s, f), window.addEventListener("pointercancel", d, f);
|
|
27
|
-
};
|
|
28
|
-
return d.forEach((t) => {
|
|
29
|
-
(u.useGlobalTarget ? window : t).addEventListener("pointerdown", m, f), e(t) && (t.addEventListener("focus", (e) => s(e, f)), !a(t) && !t.hasAttribute("tabindex") && (t.tabIndex = 0));
|
|
30
|
-
}), p;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { u as press };
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/gestures/press/index.mjs"],"sourcesContent":["import { isHTMLElement } from '../../utils/is-html-element.mjs';\nimport { isDragActive } from '../drag/state/is-active.mjs';\nimport { isNodeOrChild } from '../utils/is-node-or-child.mjs';\nimport { isPrimaryPointer } from '../utils/is-primary-pointer.mjs';\nimport { setupGesture } from '../utils/setup.mjs';\nimport { isElementKeyboardAccessible } from './utils/is-keyboard-accessible.mjs';\nimport { enableKeyboardPress } from './utils/keyboard.mjs';\nimport { isPressing } from './utils/state.mjs';\n\n/**\n * Filter out events that are not primary pointer events, or are triggering\n * while a Motion gesture is active.\n */\nfunction isValidPressEvent(event) {\n return isPrimaryPointer(event) && !isDragActive();\n}\nconst claimedPointerDownEvents = new WeakSet();\n/**\n * Create a press gesture.\n *\n * Press is different to `\"pointerdown\"`, `\"pointerup\"` in that it\n * automatically filters out secondary pointer events like right\n * click and multitouch.\n *\n * It also adds accessibility support for keyboards, where\n * an element with a press gesture will receive focus and\n * trigger on Enter `\"keydown\"` and `\"keyup\"` events.\n *\n * This is different to a browser's `\"click\"` event, which does\n * respond to keyboards but only for the `\"click\"` itself, rather\n * than the press start and end/cancel. The element also needs\n * to be focusable for this to work, whereas a press gesture will\n * make an element focusable by default.\n *\n * @public\n */\nfunction press(targetOrSelector, onPressStart, options = {}) {\n const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);\n const startPress = (startEvent) => {\n const target = startEvent.currentTarget;\n if (!isValidPressEvent(startEvent))\n return;\n if (claimedPointerDownEvents.has(startEvent))\n return;\n isPressing.add(target);\n if (options.stopPropagation) {\n claimedPointerDownEvents.add(startEvent);\n }\n const onPressEnd = onPressStart(target, startEvent);\n const onPointerEnd = (endEvent, success) => {\n window.removeEventListener(\"pointerup\", onPointerUp);\n window.removeEventListener(\"pointercancel\", onPointerCancel);\n if (isPressing.has(target)) {\n isPressing.delete(target);\n }\n if (!isValidPressEvent(endEvent)) {\n return;\n }\n if (typeof onPressEnd === \"function\") {\n onPressEnd(endEvent, { success });\n }\n };\n const onPointerUp = (upEvent) => {\n onPointerEnd(upEvent, target === window ||\n target === document ||\n options.useGlobalTarget ||\n isNodeOrChild(target, upEvent.target));\n };\n const onPointerCancel = (cancelEvent) => {\n onPointerEnd(cancelEvent, false);\n };\n window.addEventListener(\"pointerup\", onPointerUp, eventOptions);\n window.addEventListener(\"pointercancel\", onPointerCancel, eventOptions);\n };\n targets.forEach((target) => {\n const pointerDownTarget = options.useGlobalTarget ? window : target;\n pointerDownTarget.addEventListener(\"pointerdown\", startPress, eventOptions);\n if (isHTMLElement(target)) {\n target.addEventListener(\"focus\", (event) => enableKeyboardPress(event, eventOptions));\n if (!isElementKeyboardAccessible(target) &&\n !target.hasAttribute(\"tabindex\")) {\n target.tabIndex = 0;\n }\n }\n });\n return cancelEvents;\n}\n\nexport { press };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAaA,SAAS,EAAkB,GAAO;AAC9B,QAAO,EAAiB,EAAM,IAAI,CAAC,GAAc;;AAErD,IAAM,oBAA2B,IAAI,SAAS;AAoB9C,SAAS,EAAM,GAAkB,GAAc,IAAU,EAAE,EAAE;CACzD,IAAM,CAAC,GAAS,GAAc,KAAgB,EAAa,GAAkB,EAAQ,EAC/E,KAAc,MAAe;EAC/B,IAAM,IAAS,EAAW;AAG1B,MAFI,CAAC,EAAkB,EAAW,IAE9B,EAAyB,IAAI,EAAW,CACxC;AAEJ,EADA,EAAW,IAAI,EAAO,EAClB,EAAQ,mBACR,EAAyB,IAAI,EAAW;EAE5C,IAAM,IAAa,EAAa,GAAQ,EAAW,EAC7C,KAAgB,GAAU,MAAY;AACxC,UAAO,oBAAoB,aAAa,EAAY,EACpD,OAAO,oBAAoB,iBAAiB,EAAgB,EACxD,EAAW,IAAI,EAAO,IACtB,EAAW,OAAO,EAAO,EAExB,EAAkB,EAAS,IAG5B,OAAO,KAAe,cACtB,EAAW,GAAU,EAAE,YAAS,CAAC;KAGnC,KAAe,MAAY;AAC7B,KAAa,GAAS,MAAW,UAC7B,MAAW,YACX,EAAQ,mBACR,EAAc,GAAQ,EAAQ,OAAO,CAAC;KAExC,KAAmB,MAAgB;AACrC,KAAa,GAAa,GAAM;;AAGpC,EADA,OAAO,iBAAiB,aAAa,GAAa,EAAa,EAC/D,OAAO,iBAAiB,iBAAiB,GAAiB,EAAa;;AAa3E,QAXA,EAAQ,SAAS,MAAW;AAGxB,GAF0B,EAAQ,kBAAkB,SAAS,GAC3C,iBAAiB,eAAe,GAAY,EAAa,EACvE,EAAc,EAAO,KACrB,EAAO,iBAAiB,UAAU,MAAU,EAAoB,GAAO,EAAa,CAAC,EACjF,CAAC,EAA4B,EAAO,IACpC,CAAC,EAAO,aAAa,WAAW,KAChC,EAAO,WAAW;GAG5B,EACK"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
|
|
2
|
-
var e = new Set([
|
|
3
|
-
"BUTTON",
|
|
4
|
-
"INPUT",
|
|
5
|
-
"SELECT",
|
|
6
|
-
"TEXTAREA",
|
|
7
|
-
"A"
|
|
8
|
-
]);
|
|
9
|
-
function t(t) {
|
|
10
|
-
return e.has(t.tagName) || t.isContentEditable === !0;
|
|
11
|
-
}
|
|
12
|
-
var n = new Set([
|
|
13
|
-
"INPUT",
|
|
14
|
-
"SELECT",
|
|
15
|
-
"TEXTAREA"
|
|
16
|
-
]);
|
|
17
|
-
function r(e) {
|
|
18
|
-
return n.has(e.tagName) || e.isContentEditable === !0;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t as isElementKeyboardAccessible, r as isElementTextInput };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=is-keyboard-accessible.js.map
|
package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-keyboard-accessible.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs"],"sourcesContent":["const keyboardAccessibleElements = new Set([\n \"BUTTON\",\n \"INPUT\",\n \"SELECT\",\n \"TEXTAREA\",\n \"A\",\n]);\n/**\n * Checks if an element is natively keyboard accessible (focusable).\n * Used by the press gesture to determine if we need to add tabIndex.\n */\nfunction isElementKeyboardAccessible(element) {\n return (keyboardAccessibleElements.has(element.tagName) ||\n element.isContentEditable === true);\n}\nconst textInputElements = new Set([\"INPUT\", \"SELECT\", \"TEXTAREA\"]);\n/**\n * Checks if an element has text selection or direct interaction behavior\n * that should block drag gestures from starting.\n *\n * This specifically targets form controls where the user might want to select\n * text or interact with the control (e.g., sliders, dropdowns).\n *\n * Buttons and links are NOT included because they don't have click-and-move\n * actions of their own - they only respond to click events, so dragging\n * should still work when initiated from these elements.\n */\nfunction isElementTextInput(element) {\n return (textInputElements.has(element.tagName) ||\n element.isContentEditable === true);\n}\n\nexport { isElementKeyboardAccessible, isElementTextInput };\n//# sourceMappingURL=is-keyboard-accessible.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAA6B,IAAI,IAAI;CACvC;CACA;CACA;CACA;CACA;CACH,CAAC;AAKF,SAAS,EAA4B,GAAS;AAC1C,QAAQ,EAA2B,IAAI,EAAQ,QAAQ,IACnD,EAAQ,sBAAsB;;AAEtC,IAAM,IAAoB,IAAI,IAAI;CAAC;CAAS;CAAU;CAAW,CAAC;AAYlE,SAAS,EAAmB,GAAS;AACjC,QAAQ,EAAkB,IAAI,EAAQ,QAAQ,IAC1C,EAAQ,sBAAsB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { isPressing as e } from "./state.js";
|
|
2
|
-
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
|
|
3
|
-
function t(e) {
|
|
4
|
-
return (t) => {
|
|
5
|
-
t.key === "Enter" && e(t);
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
function n(e, t) {
|
|
9
|
-
e.dispatchEvent(new PointerEvent("pointer" + t, {
|
|
10
|
-
isPrimary: !0,
|
|
11
|
-
bubbles: !0
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
var r = (r, i) => {
|
|
15
|
-
let a = r.currentTarget;
|
|
16
|
-
if (!a) return;
|
|
17
|
-
let o = t(() => {
|
|
18
|
-
if (e.has(a)) return;
|
|
19
|
-
n(a, "down");
|
|
20
|
-
let r = t(() => {
|
|
21
|
-
n(a, "up");
|
|
22
|
-
});
|
|
23
|
-
a.addEventListener("keyup", r, i), a.addEventListener("blur", () => n(a, "cancel"), i);
|
|
24
|
-
});
|
|
25
|
-
a.addEventListener("keydown", o, i), a.addEventListener("blur", () => a.removeEventListener("keydown", o), i);
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { r as enableKeyboardPress };
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=keyboard.js.map
|