motion-v 1.0.2 → 1.1.0-alpha.1
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/cjs/index.js +3754 -3130
- package/dist/es/animation/hooks/animation-controls.mjs +1 -1
- package/dist/es/animation/hooks/use-animate.mjs +1 -1
- package/dist/es/components/animate-presence/use-pop-layout.mjs +1 -2
- package/dist/es/components/group.mjs +8 -3
- package/dist/es/components/motion/use-motion-state.d.ts +702 -702
- package/dist/es/components/motion/use-motion-state.mjs +10 -2
- package/dist/es/components/reorder/index.d.ts +2808 -2808
- package/dist/es/components/reorder/utils.d.ts +1 -1
- package/dist/es/components/reorder/utils.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/index.mjs +2 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/single-value.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +73 -0
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +13 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +17 -24
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +8 -6
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/create.mjs +10 -10
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +3 -4
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/stagger.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +8 -14
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +61 -35
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/shared/stack.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/styles/transform.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/VisualElement.mjs +15 -19
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +6 -7
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +17 -0
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +18 -0
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/index.mjs +12 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +6 -6
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +27 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +3 -16
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +10 -9
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/path.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -6
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/setters.mjs +5 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/delay.mjs +4 -5
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +15 -0
- package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +7 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +138 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/animation/GroupAnimation.mjs} +8 -15
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +10 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/JSAnimation.mjs +267 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimation.mjs +150 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +44 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +14 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/animation/drivers/frame.mjs} +3 -4
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/keyframes.mjs +5 -5
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/spring/find.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/spring/index.mjs +15 -6
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +1 -2
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +6 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/utils/velocity.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/DOMKeyframesResolver.mjs +10 -10
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/utils → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/KeyframesResolver.mjs +32 -35
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/get-final.mjs +10 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/offsets/fill.mjs +2 -3
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +11 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +8 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/animation → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/utils/is-none.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/html → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/utils/make-none-animatable.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/utils/unit-conversion.mjs +2 -2
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +29 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/active-animations.mjs +11 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators → motion-dom@12.10.5/external/motion-dom/dist/es/animation}/utils/can-animate.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom → motion-dom@12.10.5/external/motion-dom/dist/es/animation}/utils/css-variables-conversion.mjs +3 -3
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +6 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +18 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +4 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +9 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +21 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs +15 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +36 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs} +1 -2
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +26 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +14 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +1 -3
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +40 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +19 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/effects/MotionValueState.mjs +42 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/effects/style/index.mjs +49 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/effects/style/transform.mjs +33 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/batcher.mjs +6 -4
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/frame.mjs +1 -2
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/index-legacy.mjs +11 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/order.mjs +4 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/sync-time.mjs +1 -2
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +1 -1
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs +25 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/press/index.mjs +55 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/is-css-var.mjs +4 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/style-computed.mjs +8 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/style-set.mjs +7 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/html → motion-dom@12.10.5/external/motion-dom/dist/es/render}/utils/keys-transform.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom → motion-dom@12.10.5/external/motion-dom/dist/es}/scroll/observe.mjs +2 -3
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/stats/animation-count.mjs +8 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/stats/index.mjs +114 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/interpolate.mjs +7 -6
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/color.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/complex.mjs +7 -8
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/resolve-elements.mjs +1 -2
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/supports/flags.mjs +4 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/supports/memo.mjs +9 -0
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/transform.mjs +1 -8
- package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/index.mjs +33 -10
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/map-value.mjs +9 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/subscribe-value.mjs +13 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/transform-value.mjs +14 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/color/rgba.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/complex/index.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types}/dimensions.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/int.mjs} +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps}/defaults.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps/number.mjs} +13 -4
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps}/transform.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/numbers/index.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/numbers/units.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils}/animatable-none.mjs +3 -3
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/find.mjs +9 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/index.mjs +65 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/queue.mjs +45 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/start.mjs +115 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/utils/choose-layer-type.mjs +12 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/utils/css.mjs +35 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/utils/get-layer-name.mjs +9 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/utils/get-view-animations.mjs +13 -0
- package/dist/es/external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/utils/has-target.mjs +6 -0
- package/dist/es/external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/array.mjs +23 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/cubic-bezier.mjs +1 -2
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/steps.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/utils/get-easing-for-segment.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/utils/map.mjs +7 -4
- package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/errors.mjs +4 -3
- package/dist/es/external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/global-config.mjs +4 -0
- package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/warn-once.mjs +6 -0
- package/dist/es/features/animation/animation.mjs +3 -4
- package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -3
- package/dist/es/features/gestures/drag/index.mjs +1 -2
- package/dist/es/features/gestures/focus/index.mjs +1 -1
- package/dist/es/features/gestures/hover/index.mjs +2 -3
- package/dist/es/features/gestures/in-view/index.mjs +2 -3
- package/dist/es/features/gestures/pan/PanSession.mjs +4 -5
- package/dist/es/features/gestures/pan/index.mjs +2 -3
- package/dist/es/features/gestures/press/index.mjs +2 -3
- package/dist/es/features/layout/config.mjs +2 -2
- package/dist/es/features/layout/layout.mjs +2 -2
- package/dist/es/features/layout/projection.mjs +2 -2
- package/dist/es/index.mjs +243 -36
- package/dist/es/state/create-visual-element.mjs +2 -2
- package/dist/es/state/motion-state.mjs +5 -9
- package/dist/es/state/style.d.ts +1 -1
- package/dist/es/state/style.mjs +5 -5
- package/dist/es/state/utils.d.ts +1 -2
- package/dist/es/types/transform.d.ts +1 -23
- package/dist/es/utils/index.d.ts +0 -1
- package/dist/es/utils/use-animation-frame.mjs +1 -2
- package/dist/es/utils/use-in-view.mjs +1 -1
- package/dist/es/value/use-combine-values.mjs +2 -3
- package/dist/es/value/use-computed.mjs +1 -2
- package/dist/es/value/use-scroll.d.ts +4 -4
- package/dist/es/value/use-scroll.mjs +30 -31
- package/dist/es/value/use-spring.mjs +3 -4
- package/dist/es/value/use-time.d.ts +1 -1
- package/dist/es/value/use-time.mjs +1 -2
- package/dist/es/value/use-transform.mjs +1 -1
- package/dist/es/value/use-velocity.mjs +2 -3
- package/package.json +3 -4
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +0 -247
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +0 -102
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +0 -281
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +0 -108
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +0 -32
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +0 -14
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +0 -22
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +0 -10
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -6
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -70
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -9
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -18
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/svg/utils/measure.mjs +0 -15
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -12
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -11
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -10
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -6
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -6
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +0 -81
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -7
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -37
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/gestures/press/index.mjs +0 -74
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +0 -12
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -6
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/utils/supports/memo.mjs +0 -13
- package/dist/es/external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/array.mjs +0 -13
- package/dist/es/external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/global-config.mjs +0 -7
- package/dist/es/render/utils/setters.d.ts +0 -3
- package/dist/es/utils/time-conversion.d.ts +0 -8
- package/dist/es/utils/time-conversion.mjs +0 -8
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +2 -2
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/store.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0 → framer-motion@12.10.5}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/inertia.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/generators/spring/defaults.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/offsets/default.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes}/offsets/time.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/animation/utils/is-animatable.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom → motion-dom@12.10.5/external/motion-dom/dist/es/animation}/utils/is-css-variable.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators → motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi}/utils/accelerated-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/html/utils → motion-dom@12.10.5/external/motion-dom/dist/es/render/dom}/parse-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/html → motion-dom@12.10.5/external/motion-dom/dist/es/render}/utils/keys-position.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/immediate.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/utils/mix/visibility.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/auto.mjs} +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/color/hex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color}/hsla-to-rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/color/hsla.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/color/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/color/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/complex/filter.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types}/test.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/utils/color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/utils/float-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types → motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils}/get-as-type.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/utils/is-nullish.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/utils/sanitize.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-dom@12.10.5/external/motion-dom}/dist/es/value/types/utils/single-color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-utils@12.9.4/external/motion-utils/dist/es}/clamp.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/anticipate.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/back.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/circ.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/ease.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/modifiers/mirror.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/modifiers/reverse.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.5.0/external/motion-dom/dist/es → motion-utils@12.9.4/external/motion-utils/dist/es/easing}/utils/is-bezier-definition.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion → motion-utils@12.9.4/external/motion-utils}/dist/es/easing/utils/is-easing-array.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-utils@12.9.4/external/motion-utils/dist/es}/is-numerical-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-utils@12.9.4/external/motion-utils/dist/es}/is-zero-value-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/memo.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/noop.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-utils@12.9.4/external/motion-utils/dist/es}/pipe.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/progress.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/subscription-manager.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.5.0 → motion-utils@12.9.4}/external/motion-utils/dist/es/velocity-per-second.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.5.0/external/framer-motion/dist/es/utils → motion-utils@12.9.4/external/motion-utils/dist/es}/wrap.mjs +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { correctBorderRadius } from "../../external/.pnpm/framer-motion@12.5
|
|
2
|
-
import { correctBoxShadow } from "../../external/.pnpm/framer-motion@12.5
|
|
1
|
+
import { correctBorderRadius } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
|
|
2
|
+
import { correctBoxShadow } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs";
|
|
3
3
|
const defaultScaleCorrector = {
|
|
4
4
|
borderRadius: {
|
|
5
5
|
...correctBorderRadius,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Feature } from "../feature.mjs";
|
|
2
|
-
import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.5
|
|
2
|
+
import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
|
|
3
3
|
import { defaultScaleCorrector } from "./config.mjs";
|
|
4
|
-
import { globalProjectionState } from "../../external/.pnpm/framer-motion@12.5
|
|
4
|
+
import { globalProjectionState } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/node/state.mjs";
|
|
5
5
|
class LayoutFeature extends Feature {
|
|
6
6
|
constructor(state) {
|
|
7
7
|
super(state);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Feature } from "../feature.mjs";
|
|
2
|
-
import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@12.5
|
|
2
|
+
import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
|
|
3
3
|
import { getClosestProjectingNode } from "./utils.mjs";
|
|
4
|
-
import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.5
|
|
4
|
+
import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
|
|
5
5
|
import { defaultScaleCorrector } from "./config.mjs";
|
|
6
6
|
import { isHTMLElement } from "../gestures/drag/utils/is.mjs";
|
|
7
7
|
import { doneCallbacks } from "../../components/presence.mjs";
|
package/dist/es/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addScaleCorrector } from "./external/.pnpm/framer-motion@12.5
|
|
1
|
+
import { addScaleCorrector } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
|
|
2
2
|
import { default as default2 } from "./components/LayoutGroup.vue.mjs";
|
|
3
3
|
import { useLayoutGroup } from "./components/use-layout-group.mjs";
|
|
4
4
|
import { injectLayoutGroup, injectMotion, provideLayoutGroup, provideMotion } from "./components/context.mjs";
|
|
@@ -8,40 +8,127 @@ import { domAnimation } from "./features/dom-animation.mjs";
|
|
|
8
8
|
import { default as default3 } from "./components/RowValue.vue.mjs";
|
|
9
9
|
import { default as default4 } from "./components/animate-presence/AnimatePresence.vue.mjs";
|
|
10
10
|
import { default as default5 } from "./components/motion-config/MotionConfig.vue.mjs";
|
|
11
|
-
import { MotionValue, motionValue, motionValue as motionValue2 } from "./external/.pnpm/motion-dom@12.5
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
11
|
+
import { MotionValue, collectMotionValues, motionValue, motionValue as motionValue2 } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
12
|
+
import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/animate/index.mjs";
|
|
13
|
+
import { animateMini } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
|
|
14
|
+
import { scroll } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
|
|
15
|
+
import { scrollInfo } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
|
|
16
|
+
import { inView } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
|
|
17
|
+
import { stagger } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/utils/stagger.mjs";
|
|
18
|
+
import { delayInSeconds } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/utils/delay.mjs";
|
|
19
|
+
import { distance, distance2D } from "./external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/utils/distance.mjs";
|
|
20
|
+
import { AsyncMotionValueAnimation } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs";
|
|
21
|
+
import { GroupAnimation } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/GroupAnimation.mjs";
|
|
22
|
+
import { GroupAnimationWithThen } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs";
|
|
23
|
+
import { JSAnimation, animateValue } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/JSAnimation.mjs";
|
|
24
|
+
import { NativeAnimation } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimation.mjs";
|
|
25
|
+
import { NativeAnimationExtended } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs";
|
|
26
|
+
import { NativeAnimationWrapper } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs";
|
|
27
|
+
import { animationMapKey, getAnimationMap } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/active-animations.mjs";
|
|
28
|
+
import { getVariableValue, parseCSSVariable } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs";
|
|
29
|
+
import { getValueTransition } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
30
|
+
import { isCSSVariableName, isCSSVariableToken } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/is-css-variable.mjs";
|
|
31
|
+
import { inertia } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/inertia.mjs";
|
|
32
|
+
import { defaultEasing, keyframes } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/keyframes.mjs";
|
|
33
|
+
import { spring } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/spring/index.mjs";
|
|
34
|
+
import { calcGeneratorDuration, maxGeneratorDuration } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
|
|
35
|
+
import { createGeneratorEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
|
|
36
|
+
import { isGenerator } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
37
|
+
import { DOMKeyframesResolver } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs";
|
|
38
|
+
import { KeyframeResolver, flushKeyframeResolvers } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs";
|
|
39
|
+
import { defaultOffset } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs";
|
|
40
|
+
import { fillOffset } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs";
|
|
41
|
+
import { convertOffsetToTimes } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/time.mjs";
|
|
42
|
+
import { applyPxDefaults } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs";
|
|
43
|
+
import { fillWildcards } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs";
|
|
44
|
+
import { cubicBezierAsString } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs";
|
|
45
|
+
import { isWaapiSupportedEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs";
|
|
46
|
+
import { mapEasingToNativeEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs";
|
|
47
|
+
import { supportedWaapiEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs";
|
|
48
|
+
import { startWaapiAnimation } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs";
|
|
49
|
+
import { supportsPartialKeyframes } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs";
|
|
50
|
+
import { supportsBrowserAnimation } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs";
|
|
51
|
+
import { acceleratedValues } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs";
|
|
52
|
+
import { generateLinearEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs";
|
|
53
|
+
import { styleEffect } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/effects/style/index.mjs";
|
|
54
|
+
import { createRenderBatcher } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/batcher.mjs";
|
|
55
|
+
import { cancelMicrotask, microtask } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/microtask.mjs";
|
|
56
|
+
import { time } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/sync-time.mjs";
|
|
57
|
+
import { isDragActive, isDragging } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs";
|
|
58
|
+
import { setDragLock } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs";
|
|
59
|
+
import { hover } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/hover.mjs";
|
|
60
|
+
import { press } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/press/index.mjs";
|
|
61
|
+
import { isNodeOrChild } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs";
|
|
62
|
+
import { isPrimaryPointer } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs";
|
|
63
|
+
import { parseValueFromTransform, readTransformValue } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/parse-transform.mjs";
|
|
64
|
+
import { getComputedStyle } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/style-computed.mjs";
|
|
65
|
+
import { setStyle } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/style-set.mjs";
|
|
66
|
+
import { positionalKeys } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-position.mjs";
|
|
67
|
+
import { transformPropOrder, transformProps } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-transform.mjs";
|
|
68
|
+
import { observeTimeline } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/scroll/observe.mjs";
|
|
69
|
+
import { recordStats } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/stats/index.mjs";
|
|
70
|
+
import { activeAnimations } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/stats/animation-count.mjs";
|
|
71
|
+
import { statsBuffer } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/stats/buffer.mjs";
|
|
72
|
+
import { interpolate } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/interpolate.mjs";
|
|
73
|
+
import { mix } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/index.mjs";
|
|
74
|
+
import { mixColor, mixLinearColor } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/color.mjs";
|
|
75
|
+
import { getMixer, mixArray, mixComplex, mixObject } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/complex.mjs";
|
|
76
|
+
import { mixImmediate } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/immediate.mjs";
|
|
77
|
+
import { mixNumber } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
78
|
+
import { invisibleValues, mixVisibility } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/visibility.mjs";
|
|
79
|
+
import { resolveElements } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
80
|
+
import { supportsFlags } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/supports/flags.mjs";
|
|
81
|
+
import { supportsLinearEasing } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
|
|
82
|
+
import { supportsScrollTimeline } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs";
|
|
83
|
+
import { transform } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/utils/transform.mjs";
|
|
84
|
+
import { mapValue } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/map-value.mjs";
|
|
85
|
+
import { transformValue } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/transform-value.mjs";
|
|
86
|
+
import { color } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color/index.mjs";
|
|
87
|
+
import { hex } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color/hex.mjs";
|
|
88
|
+
import { hsla } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color/hsla.mjs";
|
|
89
|
+
import { hslaToRgba } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs";
|
|
90
|
+
import { rgbUnit, rgba } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/color/rgba.mjs";
|
|
91
|
+
import { analyseComplexValue, complex } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/complex/index.mjs";
|
|
92
|
+
import { dimensionValueTypes, findDimensionValueType } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/dimensions.mjs";
|
|
93
|
+
import { defaultValueTypes, getDefaultValueType } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps/defaults.mjs";
|
|
94
|
+
import { numberValueTypes } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps/number.mjs";
|
|
95
|
+
import { transformValueTypes } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/maps/transform.mjs";
|
|
96
|
+
import { alpha, number, scale } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/numbers/index.mjs";
|
|
97
|
+
import { degrees, percent, progressPercentage, px, vh, vw } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/numbers/units.mjs";
|
|
98
|
+
import { testValueType } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/test.mjs";
|
|
99
|
+
import { getAnimatableNone } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/animatable-none.mjs";
|
|
100
|
+
import { findValueType } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/find.mjs";
|
|
101
|
+
import { getValueAsType } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/get-as-type.mjs";
|
|
102
|
+
import { ViewTransitionBuilder, animateView } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/view/index.mjs";
|
|
103
|
+
import { cancelSync, sync } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/index-legacy.mjs";
|
|
104
|
+
import { cancelFrame, frame, frameData, frameSteps } from "./external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
105
|
+
import { addUniqueItem, moveItem, removeItem } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/array.mjs";
|
|
106
|
+
import { clamp } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/clamp.mjs";
|
|
107
|
+
import { invariant, warning } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/errors.mjs";
|
|
108
|
+
import { MotionGlobalConfig } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/global-config.mjs";
|
|
109
|
+
import { isNumericalString } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/is-numerical-string.mjs";
|
|
110
|
+
import { isZeroValueString } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/is-zero-value-string.mjs";
|
|
111
|
+
import { memo } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/memo.mjs";
|
|
112
|
+
import { noop } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/noop.mjs";
|
|
113
|
+
import { pipe } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/pipe.mjs";
|
|
114
|
+
import { progress } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/progress.mjs";
|
|
115
|
+
import { SubscriptionManager } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/subscription-manager.mjs";
|
|
116
|
+
import { millisecondsToSeconds, secondsToMilliseconds } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/time-conversion.mjs";
|
|
117
|
+
import { velocityPerSecond } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/velocity-per-second.mjs";
|
|
118
|
+
import { hasWarned, warnOnce } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/warn-once.mjs";
|
|
119
|
+
import { wrap } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/wrap.mjs";
|
|
120
|
+
import { anticipate } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/anticipate.mjs";
|
|
121
|
+
import { backIn, backInOut, backOut } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/back.mjs";
|
|
122
|
+
import { circIn, circInOut, circOut } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/circ.mjs";
|
|
123
|
+
import { cubicBezier } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/cubic-bezier.mjs";
|
|
124
|
+
import { easeIn, easeInOut, easeOut } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/ease.mjs";
|
|
125
|
+
import { mirrorEasing } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/modifiers/mirror.mjs";
|
|
126
|
+
import { reverseEasing } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/modifiers/reverse.mjs";
|
|
127
|
+
import { steps } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/steps.mjs";
|
|
128
|
+
import { getEasingForSegment } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs";
|
|
129
|
+
import { isBezierDefinition } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs";
|
|
130
|
+
import { isEasingArray } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/is-easing-array.mjs";
|
|
131
|
+
import { easingDefinitionToFunction } from "./external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/map.mjs";
|
|
45
132
|
import { Motion, motion } from "./components/motion/index.mjs";
|
|
46
133
|
import { mountedStates } from "./state/motion-state.mjs";
|
|
47
134
|
import { provideMotionConfig, useMotionConfig } from "./components/motion-config/context.mjs";
|
|
@@ -64,37 +151,72 @@ import { createContext } from "./utils/createContext.mjs";
|
|
|
64
151
|
import { isMotionValue } from "./utils/motion-value.mjs";
|
|
65
152
|
import { useInView } from "./utils/use-in-view.mjs";
|
|
66
153
|
import { useAnimationFrame } from "./utils/use-animation-frame.mjs";
|
|
67
|
-
import { millisecondsToSeconds, secondsToMilliseconds } from "./utils/time-conversion.mjs";
|
|
68
154
|
import { getContextWindow } from "./utils/get-context-window.mjs";
|
|
69
155
|
import { useDomRef } from "./utils/use-dom-ref.mjs";
|
|
70
156
|
export {
|
|
71
157
|
default4 as AnimatePresence,
|
|
158
|
+
AsyncMotionValueAnimation,
|
|
159
|
+
DOMKeyframesResolver,
|
|
160
|
+
GroupAnimation,
|
|
161
|
+
GroupAnimationWithThen,
|
|
162
|
+
JSAnimation,
|
|
163
|
+
KeyframeResolver,
|
|
72
164
|
default2 as LayoutGroup,
|
|
73
165
|
LazyMotion,
|
|
74
166
|
M,
|
|
75
167
|
Motion,
|
|
76
168
|
default5 as MotionConfig,
|
|
169
|
+
MotionGlobalConfig,
|
|
77
170
|
MotionValue,
|
|
171
|
+
NativeAnimation,
|
|
172
|
+
NativeAnimationExtended,
|
|
173
|
+
NativeAnimationWrapper,
|
|
78
174
|
Reorder,
|
|
79
175
|
ReorderGroup,
|
|
80
176
|
ReorderItem,
|
|
81
177
|
default3 as RowValue,
|
|
178
|
+
SubscriptionManager,
|
|
179
|
+
ViewTransitionBuilder,
|
|
180
|
+
acceleratedValues,
|
|
181
|
+
activeAnimations,
|
|
82
182
|
addScaleCorrector,
|
|
183
|
+
addUniqueItem,
|
|
184
|
+
alpha,
|
|
185
|
+
analyseComplexValue,
|
|
83
186
|
animate,
|
|
84
187
|
animateMini,
|
|
188
|
+
animateValue,
|
|
189
|
+
animateView,
|
|
190
|
+
animationMapKey,
|
|
85
191
|
anticipate,
|
|
192
|
+
applyPxDefaults,
|
|
86
193
|
backIn,
|
|
87
194
|
backInOut,
|
|
88
195
|
backOut,
|
|
196
|
+
calcGeneratorDuration,
|
|
89
197
|
cancelFrame,
|
|
198
|
+
cancelMicrotask,
|
|
199
|
+
cancelSync,
|
|
90
200
|
circIn,
|
|
91
201
|
circInOut,
|
|
92
202
|
circOut,
|
|
93
203
|
clamp,
|
|
204
|
+
collectMotionValues,
|
|
205
|
+
color,
|
|
206
|
+
complex,
|
|
207
|
+
convertOffsetToTimes,
|
|
94
208
|
createContext,
|
|
209
|
+
createGeneratorEasing,
|
|
210
|
+
createRenderBatcher,
|
|
95
211
|
createScopedAnimate,
|
|
96
212
|
cubicBezier,
|
|
213
|
+
cubicBezierAsString,
|
|
214
|
+
defaultEasing,
|
|
215
|
+
defaultOffset,
|
|
216
|
+
defaultValueTypes,
|
|
217
|
+
degrees,
|
|
97
218
|
delayInSeconds as delay,
|
|
219
|
+
dimensionValueTypes,
|
|
98
220
|
distance,
|
|
99
221
|
distance2D,
|
|
100
222
|
domAnimation,
|
|
@@ -102,42 +224,122 @@ export {
|
|
|
102
224
|
easeIn,
|
|
103
225
|
easeInOut,
|
|
104
226
|
easeOut,
|
|
227
|
+
easingDefinitionToFunction,
|
|
228
|
+
fillOffset,
|
|
229
|
+
fillWildcards,
|
|
230
|
+
findDimensionValueType,
|
|
231
|
+
findValueType,
|
|
232
|
+
flushKeyframeResolvers,
|
|
105
233
|
frame,
|
|
106
234
|
frameData,
|
|
235
|
+
frameSteps,
|
|
236
|
+
generateLinearEasing,
|
|
237
|
+
getAnimatableNone,
|
|
238
|
+
getAnimationMap,
|
|
239
|
+
getComputedStyle,
|
|
107
240
|
getContextWindow,
|
|
241
|
+
getDefaultValueType,
|
|
242
|
+
getEasingForSegment,
|
|
243
|
+
getMixer,
|
|
244
|
+
getValueAsType,
|
|
245
|
+
getValueTransition,
|
|
246
|
+
getVariableValue,
|
|
247
|
+
hasWarned,
|
|
248
|
+
hex,
|
|
108
249
|
hover,
|
|
250
|
+
hsla,
|
|
251
|
+
hslaToRgba,
|
|
109
252
|
inView,
|
|
110
253
|
inertia,
|
|
111
254
|
injectLayoutGroup,
|
|
112
255
|
injectMotion,
|
|
113
256
|
interpolate,
|
|
114
257
|
invariant,
|
|
258
|
+
invisibleValues,
|
|
259
|
+
isBezierDefinition,
|
|
260
|
+
isCSSVariableName,
|
|
261
|
+
isCSSVariableToken,
|
|
115
262
|
isDragActive,
|
|
263
|
+
isDragging,
|
|
264
|
+
isEasingArray,
|
|
265
|
+
isGenerator,
|
|
116
266
|
isMotionValue,
|
|
267
|
+
isNodeOrChild,
|
|
268
|
+
isNumericalString,
|
|
269
|
+
isPrimaryPointer,
|
|
270
|
+
isWaapiSupportedEasing,
|
|
271
|
+
isZeroValueString,
|
|
117
272
|
keyframes,
|
|
118
273
|
m,
|
|
274
|
+
mapEasingToNativeEasing,
|
|
275
|
+
mapValue,
|
|
276
|
+
maxGeneratorDuration,
|
|
277
|
+
memo,
|
|
278
|
+
microtask,
|
|
119
279
|
millisecondsToSeconds,
|
|
120
280
|
mirrorEasing,
|
|
121
281
|
mix,
|
|
282
|
+
mixArray,
|
|
283
|
+
mixColor,
|
|
284
|
+
mixComplex,
|
|
285
|
+
mixImmediate,
|
|
286
|
+
mixLinearColor,
|
|
287
|
+
mixNumber,
|
|
288
|
+
mixObject,
|
|
289
|
+
mixVisibility,
|
|
122
290
|
motion,
|
|
123
291
|
motionValue,
|
|
124
292
|
mountedStates,
|
|
293
|
+
moveItem,
|
|
125
294
|
noop,
|
|
295
|
+
number,
|
|
296
|
+
numberValueTypes,
|
|
297
|
+
observeTimeline,
|
|
298
|
+
parseCSSVariable,
|
|
299
|
+
parseValueFromTransform,
|
|
300
|
+
percent,
|
|
126
301
|
pipe,
|
|
302
|
+
positionalKeys,
|
|
127
303
|
press,
|
|
128
304
|
progress,
|
|
305
|
+
progressPercentage,
|
|
129
306
|
provideLayoutGroup,
|
|
130
307
|
provideMotion,
|
|
131
308
|
provideMotionConfig,
|
|
309
|
+
px,
|
|
310
|
+
readTransformValue,
|
|
311
|
+
recordStats,
|
|
312
|
+
removeItem,
|
|
313
|
+
resolveElements,
|
|
132
314
|
reverseEasing,
|
|
315
|
+
rgbUnit,
|
|
316
|
+
rgba,
|
|
317
|
+
scale,
|
|
133
318
|
scroll,
|
|
134
319
|
scrollInfo,
|
|
135
320
|
secondsToMilliseconds,
|
|
321
|
+
setDragLock,
|
|
322
|
+
setStyle,
|
|
136
323
|
spring,
|
|
137
324
|
stagger,
|
|
325
|
+
startWaapiAnimation,
|
|
326
|
+
statsBuffer,
|
|
138
327
|
steps,
|
|
328
|
+
styleEffect,
|
|
329
|
+
supportedWaapiEasing,
|
|
330
|
+
supportsBrowserAnimation,
|
|
331
|
+
supportsFlags,
|
|
332
|
+
supportsLinearEasing,
|
|
333
|
+
supportsPartialKeyframes,
|
|
334
|
+
supportsScrollTimeline,
|
|
335
|
+
sync,
|
|
336
|
+
testValueType,
|
|
139
337
|
time,
|
|
140
338
|
transform,
|
|
339
|
+
transformPropOrder,
|
|
340
|
+
transformProps,
|
|
341
|
+
transformValue,
|
|
342
|
+
transformValueTypes,
|
|
141
343
|
useAnimate,
|
|
142
344
|
useAnimationControls,
|
|
143
345
|
useAnimationFrame,
|
|
@@ -157,5 +359,10 @@ export {
|
|
|
157
359
|
useTime,
|
|
158
360
|
useTransform,
|
|
159
361
|
useVelocity,
|
|
362
|
+
velocityPerSecond,
|
|
363
|
+
vh,
|
|
364
|
+
vw,
|
|
365
|
+
warnOnce,
|
|
366
|
+
warning,
|
|
160
367
|
wrap
|
|
161
368
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isSVGElement } from "./utils.mjs";
|
|
2
|
-
import { HTMLVisualElement } from "../external/.pnpm/framer-motion@12.5
|
|
3
|
-
import { SVGVisualElement } from "../external/.pnpm/framer-motion@12.5
|
|
2
|
+
import { HTMLVisualElement } from "../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
|
|
3
|
+
import { SVGVisualElement } from "../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs";
|
|
4
4
|
function createVisualElement(Component, options) {
|
|
5
5
|
return isSVGElement(Component) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
|
|
6
6
|
}
|
|
@@ -3,9 +3,8 @@ import { isSVGElement, resolveVariant, isAnimateChanged } from "./utils.mjs";
|
|
|
3
3
|
import { FeatureManager } from "../features/feature-manager.mjs";
|
|
4
4
|
import { doneCallbacks } from "../components/presence.mjs";
|
|
5
5
|
import { isVariantLabels } from "./utils/is-variant-labels.mjs";
|
|
6
|
-
import { noop } from "../external/.pnpm/motion-utils@12.
|
|
7
|
-
import "../external/.pnpm/motion-
|
|
8
|
-
import { frame, cancelFrame } from "../external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
6
|
+
import { noop } from "../external/.pnpm/motion-utils@12.9.4/external/motion-utils/dist/es/noop.mjs";
|
|
7
|
+
import { frame, cancelFrame } from "../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
9
8
|
const mountedStates = /* @__PURE__ */ new WeakMap();
|
|
10
9
|
let id = 0;
|
|
11
10
|
const mountedLayoutIds = /* @__PURE__ */ new Set();
|
|
@@ -84,9 +83,6 @@ class MotionState {
|
|
|
84
83
|
this.updateOptions(options);
|
|
85
84
|
this.featureManager.mount();
|
|
86
85
|
if (!notAnimate && this.options.animate) {
|
|
87
|
-
if (this.type === "svg") {
|
|
88
|
-
this.visualElement.updateDimensions();
|
|
89
|
-
}
|
|
90
86
|
(_a = this.startAnimation) == null ? void 0 : _a.call(this);
|
|
91
87
|
}
|
|
92
88
|
if (this.options.layoutId) {
|
|
@@ -121,11 +117,11 @@ class MotionState {
|
|
|
121
117
|
unmount(unMountChildren = false) {
|
|
122
118
|
const shouldDelay = this.options.layoutId && !mountedLayoutIds.has(this.options.layoutId);
|
|
123
119
|
const unmount = () => {
|
|
124
|
-
if (unMountChildren) {
|
|
125
|
-
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
126
|
-
}
|
|
127
120
|
const unmountState = () => {
|
|
128
121
|
var _a, _b, _c;
|
|
122
|
+
if (unMountChildren) {
|
|
123
|
+
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
124
|
+
}
|
|
129
125
|
(_b = (_a = this.parent) == null ? void 0 : _a.children) == null ? void 0 : _b.delete(this);
|
|
130
126
|
mountedStates.delete(this.element);
|
|
131
127
|
this.featureManager.unmount();
|
package/dist/es/state/style.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ export declare const style: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare function createStyles(keyframes?: MotionStyle | DOMKeyframesDefinition): any;
|
|
8
8
|
export declare function convertSvgStyleToAttributes(keyframes?: MotionStyle | DOMKeyframesDefinition): {
|
|
9
|
-
|
|
9
|
+
attrs: Record<string, any>;
|
|
10
10
|
style: Record<string, any>;
|
|
11
11
|
};
|
package/dist/es/state/style.mjs
CHANGED
|
@@ -105,22 +105,22 @@ function buildSVGPath(attrs, length, spacing = 1, offset = 0) {
|
|
|
105
105
|
attrs["stroke-dasharray"] = `${pathLength} ${pathSpacing}`;
|
|
106
106
|
}
|
|
107
107
|
function convertSvgStyleToAttributes(keyframes) {
|
|
108
|
-
const
|
|
108
|
+
const attrs = {};
|
|
109
109
|
const styleProps = {};
|
|
110
110
|
for (const key in keyframes) {
|
|
111
111
|
const kebabKey = camelToKebab(key);
|
|
112
112
|
if (kebabKey in SVG_STYLE_TO_ATTRIBUTES) {
|
|
113
113
|
const value = keyframes[key];
|
|
114
|
-
|
|
114
|
+
attrs[kebabKey] = isMotionValue(value) ? value.get() : value;
|
|
115
115
|
} else {
|
|
116
116
|
styleProps[key] = keyframes[key];
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
if (
|
|
120
|
-
buildSVGPath(
|
|
119
|
+
if (attrs["path-length"] !== void 0) {
|
|
120
|
+
buildSVGPath(attrs, attrs["path-length"], attrs["path-spacing"], attrs["path-offset"]);
|
|
121
121
|
}
|
|
122
122
|
return {
|
|
123
|
-
|
|
123
|
+
attrs,
|
|
124
124
|
style: styleProps
|
|
125
125
|
};
|
|
126
126
|
}
|
package/dist/es/state/utils.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $Transition, AsTag, Options } from '../types';
|
|
2
|
-
import { Variant } from 'framer-motion';
|
|
1
|
+
import { $Transition, AsTag, Options, Variant } from '../types';
|
|
3
2
|
export declare function resolveVariant(definition?: Options['animate'], variants?: Options['variants'], custom?: Options['custom']): Variant | undefined;
|
|
4
3
|
export declare function hasChanged(a: any, b: any): boolean;
|
|
5
4
|
export declare function shallowCompare(next: any[], prev: any[]): boolean;
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export interface TransformOptions<T> {
|
|
3
|
-
/**
|
|
4
|
-
* Clamp values to within the given range. Defaults to `true`
|
|
5
|
-
*
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
clamp?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Easing functions to use on the interpolations between each value in the input and output ranges.
|
|
11
|
-
*
|
|
12
|
-
* If provided as an array, the array must be one item shorter than the input and output ranges, as the easings apply to the transition **between** each.
|
|
13
|
-
*
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
ease?: EasingFunction | EasingFunction[];
|
|
17
|
-
/**
|
|
18
|
-
* Provide a function that can interpolate between any two values in the provided range.
|
|
19
|
-
*
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
mixer?: (from: T, to: T) => (v: number) => any;
|
|
23
|
-
}
|
|
1
|
+
export type { TransformOptions } from 'framer-motion/dom';
|
package/dist/es/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { onBeforeUpdate, onUnmounted } from "vue";
|
|
2
|
-
import { frame, cancelFrame } from "../external/.pnpm/motion-dom@12.5
|
|
3
|
-
import "../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { frame, cancelFrame } from "../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
4
3
|
function useAnimationFrame(callback) {
|
|
5
4
|
let initialTimestamp = 0;
|
|
6
5
|
const provideTimeSinceStart = ({ timestamp, delta }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watch, isRef, unref } from "vue";
|
|
2
|
-
import { inView } from "../external/.pnpm/framer-motion@12.5
|
|
2
|
+
import { inView } from "../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
|
|
3
3
|
function useInView(domRef, options) {
|
|
4
4
|
const isInView = ref(false);
|
|
5
5
|
watch([domRef, () => isRef(options) ? options.value : options], (_v1, _v2, onCleanup) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { onUnmounted } from "vue";
|
|
2
|
-
import { motionValue } from "../external/.pnpm/motion-dom@12.5
|
|
3
|
-
import "../external/.pnpm/motion-
|
|
4
|
-
import { cancelFrame, frame } from "../external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
2
|
+
import { motionValue } from "../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
3
|
+
import { cancelFrame, frame } from "../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
5
4
|
function useCombineMotionValues(combineValues) {
|
|
6
5
|
const value = motionValue(combineValues());
|
|
7
6
|
const updateValue = () => value.set(combineValues());
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useCombineMotionValues } from "./use-combine-values.mjs";
|
|
2
|
-
import "../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
3
|
-
import { collectMotionValues } from "../external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/value/index.mjs";
|
|
4
2
|
import { onBeforeUpdate } from "vue";
|
|
3
|
+
import { collectMotionValues } from "../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
5
4
|
function useComputed(computed) {
|
|
6
5
|
collectMotionValues.current = [];
|
|
7
6
|
const { value, subscribe, unsubscribe } = useCombineMotionValues(computed);
|
|
@@ -5,8 +5,8 @@ export interface UseScrollOptions extends Omit<ScrollInfoOptions, 'container' |
|
|
|
5
5
|
target?: Ref<HTMLElement | null>;
|
|
6
6
|
}
|
|
7
7
|
export declare function useScroll({ container, target, ...options }?: UseScrollOptions): {
|
|
8
|
-
scrollX: import('motion
|
|
9
|
-
scrollY: import('motion
|
|
10
|
-
scrollXProgress: import('motion
|
|
11
|
-
scrollYProgress: import('motion
|
|
8
|
+
scrollX: import('framer-motion/dom').MotionValue<number>;
|
|
9
|
+
scrollY: import('framer-motion/dom').MotionValue<number>;
|
|
10
|
+
scrollXProgress: import('framer-motion/dom').MotionValue<number>;
|
|
11
|
+
scrollYProgress: import('framer-motion/dom').MotionValue<number>;
|
|
12
12
|
};
|