motion-v 1.1.0-alpha.0 → 1.1.0
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 +129 -64
- 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 -1
- package/dist/es/components/group.mjs +4 -2
- package/dist/es/components/motion/use-motion-state.mjs +1 -1
- package/dist/es/components/reorder/utils.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/index.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/single-value.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/subject.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +9 -9
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +6 -6
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/create.mjs +9 -9
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +3 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/stagger.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +5 -5
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +15 -14
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/shared/stack.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/VisualElement.mjs +13 -13
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +3 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +6 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +5 -4
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/path.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/motion-values.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/delay.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/value/use-will-change/is.mjs +1 -1
- package/dist/es/external/.pnpm/framer-motion@12.12.1/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +7 -0
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/JSAnimation.mjs +15 -14
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimation.mjs +3 -4
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/keyframes.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/find.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/index.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/velocity.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/can-animate.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +5 -4
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/batcher.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/frame.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/sync-time.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/index.mjs +3 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/parse-transform.mjs +1 -0
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/interpolate.mjs +6 -6
- package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-html-element.mjs +7 -0
- package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-svg-element.mjs +7 -0
- package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-svg-svg-element.mjs +7 -0
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/color.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/complex.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/memo.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/index.mjs +3 -4
- package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/spring-value.mjs +57 -0
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/rgba.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/numbers/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/queue.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/start.mjs +1 -1
- package/dist/es/external/.pnpm/motion-utils@12.12.1/external/motion-utils/dist/es/is-object.mjs +6 -0
- package/dist/es/features/animation/animation.mjs +3 -3
- package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
- package/dist/es/features/gestures/drag/index.mjs +1 -1
- package/dist/es/features/gestures/focus/index.mjs +1 -1
- package/dist/es/features/gestures/hover/index.mjs +2 -2
- package/dist/es/features/gestures/in-view/index.mjs +2 -2
- package/dist/es/features/gestures/pan/PanSession.mjs +4 -4
- package/dist/es/features/gestures/pan/index.mjs +2 -2
- package/dist/es/features/gestures/press/index.mjs +2 -2
- package/dist/es/features/layout/config.mjs +2 -2
- package/dist/es/features/layout/layout.mjs +5 -4
- package/dist/es/features/layout/projection.mjs +2 -2
- package/dist/es/index.mjs +135 -123
- package/dist/es/state/create-visual-element.mjs +2 -2
- package/dist/es/state/motion-state.mjs +5 -5
- package/dist/es/state/style.mjs +1 -1
- package/dist/es/utils/createContext.mjs +8 -9
- package/dist/es/utils/motion-value.d.ts +1 -2
- package/dist/es/utils/time-conversion.d.ts +8 -0
- package/dist/es/utils/use-animation-frame.mjs +1 -1
- package/dist/es/utils/use-in-view.mjs +1 -1
- package/dist/es/value/use-combine-values.mjs +2 -2
- package/dist/es/value/use-computed.mjs +1 -1
- package/dist/es/value/use-motion-template.mjs +1 -1
- package/dist/es/value/use-scroll.mjs +2 -2
- package/dist/es/value/use-spring.mjs +4 -4
- package/dist/es/value/use-time.mjs +1 -1
- package/dist/es/value/use-transform.mjs +1 -1
- package/dist/es/value/use-velocity.mjs +2 -2
- package/dist/es/value/use-will-change/is.mjs +1 -1
- package/package.json +2 -2
- package/dist/es/external/.pnpm/framer-motion@12.10.4/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -6
- package/dist/es/external/.pnpm/framer-motion@12.10.4/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -7
- package/dist/es/utils/motion-value.mjs +0 -6
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/store.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/GroupAnimation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/drivers/frame.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/inertia.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/defaults.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/get-final.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/active-animations.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/is-animatable.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/is-css-variable.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/MotionValueState.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/style/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/style/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/order.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/is-css-var.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/style-computed.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/style-set.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/utils/keys-position.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/utils/keys-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/scroll/observe.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/animation-count.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/immediate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/visibility.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/map-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/subscribe-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/transform-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/auto.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hsla.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/complex/filter.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/complex/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/dimensions.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/int.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/defaults.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/numbers/units.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/test.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/animatable-none.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/find.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/float-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/get-as-type.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/is-nullish.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/sanitize.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4/external/framer-motion → motion-dom@12.12.1/external/motion-dom}/dist/es/value/utils/is-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/choose-layer-type.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/css.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/get-layer-name.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/get-view-animations.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/has-target.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/array.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/clamp.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/anticipate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/back.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/circ.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/cubic-bezier.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/ease.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/modifiers/mirror.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/modifiers/reverse.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/steps.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/is-easing-array.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/map.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/errors.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/global-config.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/is-numerical-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/is-zero-value-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/memo.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/noop.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/pipe.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/progress.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/subscription-manager.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/velocity-per-second.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/warn-once.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/wrap.mjs +0 -0
package/dist/cjs/index.js
CHANGED
|
@@ -46,6 +46,9 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
46
46
|
}
|
|
47
47
|
const MotionGlobalConfig = {};
|
|
48
48
|
const isNumericalString = (v) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v);
|
|
49
|
+
function isObject(value) {
|
|
50
|
+
return typeof value === "object" && value !== null;
|
|
51
|
+
}
|
|
49
52
|
const isZeroValueString = (v) => /^0[^.\s]+$/u.test(v);
|
|
50
53
|
// @__NO_SIDE_EFFECTS__
|
|
51
54
|
function memo(callback) {
|
|
@@ -1140,14 +1143,12 @@ function replaceTransitionType(transition) {
|
|
|
1140
1143
|
}
|
|
1141
1144
|
class WithPromise {
|
|
1142
1145
|
constructor() {
|
|
1143
|
-
this.count = 0;
|
|
1144
1146
|
this.updateFinished();
|
|
1145
1147
|
}
|
|
1146
1148
|
get finished() {
|
|
1147
1149
|
return this._finished;
|
|
1148
1150
|
}
|
|
1149
1151
|
updateFinished() {
|
|
1150
|
-
this.count++;
|
|
1151
1152
|
this._finished = new Promise((resolve) => {
|
|
1152
1153
|
this.resolve = resolve;
|
|
1153
1154
|
});
|
|
@@ -1175,6 +1176,7 @@ class JSAnimation extends WithPromise {
|
|
|
1175
1176
|
this.holdTime = null;
|
|
1176
1177
|
this.playbackSpeed = 1;
|
|
1177
1178
|
this.stop = (sync2 = true) => {
|
|
1179
|
+
var _a, _b;
|
|
1178
1180
|
if (sync2) {
|
|
1179
1181
|
const { motionValue: motionValue2 } = this.options;
|
|
1180
1182
|
if (motionValue2 && motionValue2.updatedAt !== time.now()) {
|
|
@@ -1185,8 +1187,7 @@ class JSAnimation extends WithPromise {
|
|
|
1185
1187
|
if (this.state === "idle")
|
|
1186
1188
|
return;
|
|
1187
1189
|
this.teardown();
|
|
1188
|
-
|
|
1189
|
-
onStop && onStop();
|
|
1190
|
+
(_b = (_a = this.options).onStop) == null ? void 0 : _b.call(_a);
|
|
1190
1191
|
};
|
|
1191
1192
|
activeAnimations.mainThread++;
|
|
1192
1193
|
this.options = options;
|
|
@@ -1335,13 +1336,14 @@ class JSAnimation extends WithPromise {
|
|
|
1335
1336
|
}
|
|
1336
1337
|
}
|
|
1337
1338
|
play() {
|
|
1339
|
+
var _a, _b;
|
|
1338
1340
|
if (this.isStopped)
|
|
1339
1341
|
return;
|
|
1340
|
-
const { driver = frameloopDriver,
|
|
1342
|
+
const { driver = frameloopDriver, startTime } = this.options;
|
|
1341
1343
|
if (!this.driver) {
|
|
1342
1344
|
this.driver = driver((timestamp) => this.tick(timestamp));
|
|
1343
1345
|
}
|
|
1344
|
-
onPlay
|
|
1346
|
+
(_b = (_a = this.options).onPlay) == null ? void 0 : _b.call(_a);
|
|
1345
1347
|
const now2 = this.driver.now();
|
|
1346
1348
|
if (this.state === "finished") {
|
|
1347
1349
|
this.updateFinished();
|
|
@@ -1371,19 +1373,21 @@ class JSAnimation extends WithPromise {
|
|
|
1371
1373
|
this.holdTime = null;
|
|
1372
1374
|
}
|
|
1373
1375
|
finish() {
|
|
1376
|
+
var _a, _b;
|
|
1377
|
+
this.notifyFinished();
|
|
1374
1378
|
this.teardown();
|
|
1375
1379
|
this.state = "finished";
|
|
1376
|
-
|
|
1377
|
-
onComplete && onComplete();
|
|
1380
|
+
(_b = (_a = this.options).onComplete) == null ? void 0 : _b.call(_a);
|
|
1378
1381
|
}
|
|
1379
1382
|
cancel() {
|
|
1383
|
+
var _a, _b;
|
|
1380
1384
|
this.holdTime = null;
|
|
1381
1385
|
this.startTime = 0;
|
|
1382
1386
|
this.tick(0);
|
|
1383
1387
|
this.teardown();
|
|
1388
|
+
(_b = (_a = this.options).onCancel) == null ? void 0 : _b.call(_a);
|
|
1384
1389
|
}
|
|
1385
1390
|
teardown() {
|
|
1386
|
-
this.notifyFinished();
|
|
1387
1391
|
this.state = "idle";
|
|
1388
1392
|
this.stopDriver();
|
|
1389
1393
|
this.startTime = this.holdTime = null;
|
|
@@ -1785,7 +1789,6 @@ class NativeAnimation extends WithPromise {
|
|
|
1785
1789
|
onComplete == null ? void 0 : onComplete();
|
|
1786
1790
|
this.notifyFinished();
|
|
1787
1791
|
};
|
|
1788
|
-
this.animation.oncancel = () => this.notifyFinished();
|
|
1789
1792
|
}
|
|
1790
1793
|
play() {
|
|
1791
1794
|
if (this.isStopped)
|
|
@@ -1977,19 +1980,22 @@ function canAnimate(keyframes2, name, type, velocity) {
|
|
|
1977
1980
|
}
|
|
1978
1981
|
return hasKeyframesChanged(keyframes2) || (type === "spring" || isGenerator(type)) && velocity;
|
|
1979
1982
|
}
|
|
1983
|
+
function isHTMLElement$1(element) {
|
|
1984
|
+
return isObject(element) && "offsetHeight" in element;
|
|
1985
|
+
}
|
|
1980
1986
|
const acceleratedValues$1 = /* @__PURE__ */ new Set([
|
|
1981
1987
|
"opacity",
|
|
1982
1988
|
"clipPath",
|
|
1983
1989
|
"filter",
|
|
1984
1990
|
"transform"
|
|
1985
|
-
// TODO:
|
|
1986
|
-
// or until we implement support for linear() easing.
|
|
1991
|
+
// TODO: Could be re-enabled now we have support for linear() easing
|
|
1987
1992
|
// "background-color"
|
|
1988
1993
|
]);
|
|
1989
1994
|
const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
|
|
1990
1995
|
function supportsBrowserAnimation(options) {
|
|
1996
|
+
var _a;
|
|
1991
1997
|
const { motionValue: motionValue2, name, repeatDelay, repeatType, damping, type } = options;
|
|
1992
|
-
if (!motionValue2
|
|
1998
|
+
if (!isHTMLElement$1((_a = motionValue2 == null ? void 0 : motionValue2.owner) == null ? void 0 : _a.current)) {
|
|
1993
1999
|
return false;
|
|
1994
2000
|
}
|
|
1995
2001
|
const { onUpdate, transformTemplate } = motionValue2.owner.getProps();
|
|
@@ -2587,7 +2593,6 @@ class MotionValue {
|
|
|
2587
2593
|
* - `transformer`: A function to transform incoming values with.
|
|
2588
2594
|
*/
|
|
2589
2595
|
constructor(init, options = {}) {
|
|
2590
|
-
this.version = "__VERSION__";
|
|
2591
2596
|
this.canTrackVelocity = null;
|
|
2592
2597
|
this.events = {};
|
|
2593
2598
|
this.updateAndNotify = (v, render = true) => {
|
|
@@ -3097,7 +3102,7 @@ function press(targetOrSelector, onPressStart, options = {}) {
|
|
|
3097
3102
|
const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);
|
|
3098
3103
|
const startPress = (startEvent) => {
|
|
3099
3104
|
const target = startEvent.currentTarget;
|
|
3100
|
-
if (!isValidPressEvent(startEvent)
|
|
3105
|
+
if (!isValidPressEvent(startEvent))
|
|
3101
3106
|
return;
|
|
3102
3107
|
isPressing.add(target);
|
|
3103
3108
|
const onPressEnd = onPressStart(target, startEvent);
|
|
@@ -3126,7 +3131,7 @@ function press(targetOrSelector, onPressStart, options = {}) {
|
|
|
3126
3131
|
targets.forEach((target) => {
|
|
3127
3132
|
const pointerDownTarget = options.useGlobalTarget ? window : target;
|
|
3128
3133
|
pointerDownTarget.addEventListener("pointerdown", startPress, eventOptions);
|
|
3129
|
-
if (target
|
|
3134
|
+
if (isHTMLElement$1(target)) {
|
|
3130
3135
|
target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions));
|
|
3131
3136
|
if (!isElementKeyboardAccessible(target) && !target.hasAttribute("tabindex")) {
|
|
3132
3137
|
target.tabIndex = 0;
|
|
@@ -3261,6 +3266,12 @@ function recordStats() {
|
|
|
3261
3266
|
frame.postRender(record, true);
|
|
3262
3267
|
return reportStats;
|
|
3263
3268
|
}
|
|
3269
|
+
function isSVGElement$1(element) {
|
|
3270
|
+
return isObject(element) && "ownerSVGElement" in element;
|
|
3271
|
+
}
|
|
3272
|
+
function isSVGSVGElement(element) {
|
|
3273
|
+
return isSVGElement$1(element) && element.tagName === "svg";
|
|
3274
|
+
}
|
|
3264
3275
|
function transform(...args) {
|
|
3265
3276
|
const useImmediate = !Array.isArray(args[0]);
|
|
3266
3277
|
const argOffset = useImmediate ? 0 : -1;
|
|
@@ -3293,6 +3304,56 @@ function mapValue(inputValue, inputRange, outputRange, options) {
|
|
|
3293
3304
|
const map = transform(inputRange, outputRange, options);
|
|
3294
3305
|
return transformValue(() => map(inputValue.get()));
|
|
3295
3306
|
}
|
|
3307
|
+
const isMotionValue = (value) => Boolean(value && value.getVelocity);
|
|
3308
|
+
function springValue(source, options) {
|
|
3309
|
+
const initialValue = isMotionValue(source) ? source.get() : source;
|
|
3310
|
+
const value = motionValue(initialValue);
|
|
3311
|
+
attachSpring(value, source, options);
|
|
3312
|
+
return value;
|
|
3313
|
+
}
|
|
3314
|
+
function attachSpring(value, source, options) {
|
|
3315
|
+
const initialValue = value.get();
|
|
3316
|
+
let activeAnimation = null;
|
|
3317
|
+
let latestValue = initialValue;
|
|
3318
|
+
let latestSetter;
|
|
3319
|
+
const unit = typeof initialValue === "string" ? initialValue.replace(/[\d.-]/g, "") : void 0;
|
|
3320
|
+
const stopAnimation2 = () => {
|
|
3321
|
+
if (activeAnimation) {
|
|
3322
|
+
activeAnimation.stop();
|
|
3323
|
+
activeAnimation = null;
|
|
3324
|
+
}
|
|
3325
|
+
};
|
|
3326
|
+
const startAnimation = () => {
|
|
3327
|
+
stopAnimation2();
|
|
3328
|
+
activeAnimation = new JSAnimation({
|
|
3329
|
+
keyframes: [asNumber$1(value.get()), asNumber$1(latestValue)],
|
|
3330
|
+
velocity: value.getVelocity(),
|
|
3331
|
+
type: "spring",
|
|
3332
|
+
restDelta: 1e-3,
|
|
3333
|
+
restSpeed: 0.01,
|
|
3334
|
+
...options,
|
|
3335
|
+
onUpdate: latestSetter
|
|
3336
|
+
});
|
|
3337
|
+
};
|
|
3338
|
+
value.attach((v, set) => {
|
|
3339
|
+
latestValue = v;
|
|
3340
|
+
latestSetter = (latest) => set(parseValue(latest, unit));
|
|
3341
|
+
frame.postRender(startAnimation);
|
|
3342
|
+
return value.get();
|
|
3343
|
+
}, stopAnimation2);
|
|
3344
|
+
let unsubscribe = void 0;
|
|
3345
|
+
if (isMotionValue(source)) {
|
|
3346
|
+
unsubscribe = source.on("change", (v) => value.set(parseValue(v, unit)));
|
|
3347
|
+
value.on("destroy", unsubscribe);
|
|
3348
|
+
}
|
|
3349
|
+
return unsubscribe;
|
|
3350
|
+
}
|
|
3351
|
+
function parseValue(v, unit) {
|
|
3352
|
+
return unit ? v + unit : v;
|
|
3353
|
+
}
|
|
3354
|
+
function asNumber$1(v) {
|
|
3355
|
+
return typeof v === "number" ? v : parseFloat(v);
|
|
3356
|
+
}
|
|
3296
3357
|
const valueTypes = [...dimensionValueTypes, color, complex];
|
|
3297
3358
|
const findValueType = (v) => valueTypes.find(testValueType(v));
|
|
3298
3359
|
function chooseLayerType(valueName) {
|
|
@@ -3558,7 +3619,6 @@ const cancelSync = stepsOrder.reduce((acc, key) => {
|
|
|
3558
3619
|
acc[key] = (process2) => cancelFrame(process2);
|
|
3559
3620
|
return acc;
|
|
3560
3621
|
}, {});
|
|
3561
|
-
const isMotionValue$1 = (value) => Boolean(value && value.getVelocity);
|
|
3562
3622
|
function isDOMKeyframes(keyframes2) {
|
|
3563
3623
|
return typeof keyframes2 === "object" && !Array.isArray(keyframes2);
|
|
3564
3624
|
}
|
|
@@ -3697,7 +3757,7 @@ function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...seq
|
|
|
3697
3757
|
maxDuration = Math.max(calculatedDelay + duration, maxDuration);
|
|
3698
3758
|
totalDuration = Math.max(targetTime, totalDuration);
|
|
3699
3759
|
};
|
|
3700
|
-
if (isMotionValue
|
|
3760
|
+
if (isMotionValue(subject)) {
|
|
3701
3761
|
const subjectSequence = getSubjectSequence(subject, sequences);
|
|
3702
3762
|
resolveValueSequence(keyframes2, transition, getValueSequence("default", subjectSequence));
|
|
3703
3763
|
} else {
|
|
@@ -3827,7 +3887,7 @@ function setTarget(visualElement, definition) {
|
|
|
3827
3887
|
}
|
|
3828
3888
|
}
|
|
3829
3889
|
function isWillChangeMotionValue$1(value) {
|
|
3830
|
-
return Boolean(isMotionValue
|
|
3890
|
+
return Boolean(isMotionValue(value) && value.add);
|
|
3831
3891
|
}
|
|
3832
3892
|
function addValueToWillChange$1(visualElement, key) {
|
|
3833
3893
|
const willChange = visualElement.getValue("willChange");
|
|
@@ -3991,9 +4051,6 @@ function animateTarget(visualElement, targetAndTransition, { delay: delay2 = 0,
|
|
|
3991
4051
|
}
|
|
3992
4052
|
return animations;
|
|
3993
4053
|
}
|
|
3994
|
-
function isSVGElement$1(element) {
|
|
3995
|
-
return element instanceof SVGElement && element.tagName !== "svg";
|
|
3996
|
-
}
|
|
3997
4054
|
function convertBoundingBoxToBox$1({ top, left, right, bottom }) {
|
|
3998
4055
|
return {
|
|
3999
4056
|
x: { min: left, max: right },
|
|
@@ -4182,9 +4239,9 @@ function updateMotionValuesFromProps(element, next2, prev) {
|
|
|
4182
4239
|
for (const key in next2) {
|
|
4183
4240
|
const nextValue = next2[key];
|
|
4184
4241
|
const prevValue = prev[key];
|
|
4185
|
-
if (isMotionValue
|
|
4242
|
+
if (isMotionValue(nextValue)) {
|
|
4186
4243
|
element.addValue(key, nextValue);
|
|
4187
|
-
} else if (isMotionValue
|
|
4244
|
+
} else if (isMotionValue(prevValue)) {
|
|
4188
4245
|
element.addValue(key, motionValue(nextValue, { owner: element }));
|
|
4189
4246
|
} else if (prevValue !== nextValue) {
|
|
4190
4247
|
if (element.hasValue(key)) {
|
|
@@ -4275,7 +4332,7 @@ class VisualElement {
|
|
|
4275
4332
|
const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);
|
|
4276
4333
|
for (const key in initialMotionValues) {
|
|
4277
4334
|
const value = initialMotionValues[key];
|
|
4278
|
-
if (latestValues[key] !== void 0 && isMotionValue
|
|
4335
|
+
if (latestValues[key] !== void 0 && isMotionValue(value)) {
|
|
4279
4336
|
value.set(latestValues[key], false);
|
|
4280
4337
|
}
|
|
4281
4338
|
}
|
|
@@ -4510,9 +4567,9 @@ class VisualElement {
|
|
|
4510
4567
|
} else if (!findValueType(value) && complex.test(target)) {
|
|
4511
4568
|
value = getAnimatableNone(key, target);
|
|
4512
4569
|
}
|
|
4513
|
-
this.setBaseTarget(key, isMotionValue
|
|
4570
|
+
this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);
|
|
4514
4571
|
}
|
|
4515
|
-
return isMotionValue
|
|
4572
|
+
return isMotionValue(value) ? value.get() : value;
|
|
4516
4573
|
}
|
|
4517
4574
|
/**
|
|
4518
4575
|
* Set the base target to later animate back to. This is currently
|
|
@@ -4539,7 +4596,7 @@ class VisualElement {
|
|
|
4539
4596
|
return valueFromInitial;
|
|
4540
4597
|
}
|
|
4541
4598
|
const target = this.getBaseTargetFromProps(this.props, key);
|
|
4542
|
-
if (target !== void 0 && !isMotionValue
|
|
4599
|
+
if (target !== void 0 && !isMotionValue(target))
|
|
4543
4600
|
return target;
|
|
4544
4601
|
return this.initialValues[key] !== void 0 && valueFromInitial === void 0 ? void 0 : this.baseTarget[key];
|
|
4545
4602
|
}
|
|
@@ -4576,7 +4633,7 @@ class DOMVisualElement extends VisualElement {
|
|
|
4576
4633
|
delete this.childSubscription;
|
|
4577
4634
|
}
|
|
4578
4635
|
const { children } = this.props;
|
|
4579
|
-
if (isMotionValue
|
|
4636
|
+
if (isMotionValue(children)) {
|
|
4580
4637
|
this.childSubscription = children.on("change", (latest) => {
|
|
4581
4638
|
if (this.current) {
|
|
4582
4639
|
this.current.textContent = `${latest}`;
|
|
@@ -4683,7 +4740,7 @@ function scrapeMotionValuesFromProps$1(props, prevProps, visualElement) {
|
|
|
4683
4740
|
const { style: style2 } = props;
|
|
4684
4741
|
const newValues = {};
|
|
4685
4742
|
for (const key in style2) {
|
|
4686
|
-
if (isMotionValue
|
|
4743
|
+
if (isMotionValue(style2[key]) || prevProps.style && isMotionValue(prevProps.style[key]) || isForcedMotionValue(key, props) || ((_a = visualElement == null ? void 0 : visualElement.getValue(key)) == null ? void 0 : _a.liveStyle) !== void 0) {
|
|
4687
4744
|
newValues[key] = style2[key];
|
|
4688
4745
|
}
|
|
4689
4746
|
}
|
|
@@ -4699,8 +4756,9 @@ class HTMLVisualElement extends DOMVisualElement {
|
|
|
4699
4756
|
this.renderInstance = renderHTML;
|
|
4700
4757
|
}
|
|
4701
4758
|
readValueFromInstance(instance, key) {
|
|
4759
|
+
var _a;
|
|
4702
4760
|
if (transformProps.has(key)) {
|
|
4703
|
-
return readTransformValue(instance, key);
|
|
4761
|
+
return ((_a = this.projection) == null ? void 0 : _a.isProjecting) ? defaultTransformValue(key) : readTransformValue(instance, key);
|
|
4704
4762
|
} else {
|
|
4705
4763
|
const computedStyle = getComputedStyle$1(instance);
|
|
4706
4764
|
const value = (isCSSVariableName(key) ? computedStyle.getPropertyValue(key) : computedStyle[key]) || 0;
|
|
@@ -4846,7 +4904,7 @@ function renderSVG(element, renderState, _styleProp, projection) {
|
|
|
4846
4904
|
function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
|
|
4847
4905
|
const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);
|
|
4848
4906
|
for (const key in props) {
|
|
4849
|
-
if (isMotionValue
|
|
4907
|
+
if (isMotionValue(props[key]) || isMotionValue(prevProps[key])) {
|
|
4850
4908
|
const targetKey = transformPropOrder.indexOf(key) !== -1 ? "attr" + key.charAt(0).toUpperCase() + key.substring(1) : key;
|
|
4851
4909
|
newValues[targetKey] = props[key];
|
|
4852
4910
|
}
|
|
@@ -4900,7 +4958,7 @@ function createDOMVisualElement(element) {
|
|
|
4900
4958
|
latestValues: {}
|
|
4901
4959
|
}
|
|
4902
4960
|
};
|
|
4903
|
-
const node = isSVGElement$1(element) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
|
|
4961
|
+
const node = isSVGElement$1(element) && !isSVGSVGElement(element) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
|
|
4904
4962
|
node.mount(element);
|
|
4905
4963
|
visualElementStore.set(element, node);
|
|
4906
4964
|
}
|
|
@@ -4920,12 +4978,12 @@ function createObjectVisualElement(subject) {
|
|
|
4920
4978
|
visualElementStore.set(subject, node);
|
|
4921
4979
|
}
|
|
4922
4980
|
function animateSingleValue(value, keyframes2, options) {
|
|
4923
|
-
const motionValue$1 = isMotionValue
|
|
4981
|
+
const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
|
|
4924
4982
|
motionValue$1.start(animateMotionValue("", motionValue$1, keyframes2, options));
|
|
4925
4983
|
return motionValue$1.animation;
|
|
4926
4984
|
}
|
|
4927
4985
|
function isSingleValue(subject, keyframes2) {
|
|
4928
|
-
return isMotionValue
|
|
4986
|
+
return isMotionValue(subject) || typeof subject === "number" || typeof subject === "string" && !isDOMKeyframes(keyframes2);
|
|
4929
4987
|
}
|
|
4930
4988
|
function animateSubject(subject, keyframes2, options, scope) {
|
|
4931
4989
|
const animations = [];
|
|
@@ -5053,7 +5111,7 @@ function getElementSize(target, borderBoxSize) {
|
|
|
5053
5111
|
if (borderBoxSize) {
|
|
5054
5112
|
const { inlineSize, blockSize } = borderBoxSize[0];
|
|
5055
5113
|
return { width: inlineSize, height: blockSize };
|
|
5056
|
-
} else if (target
|
|
5114
|
+
} else if (isSVGElement$1(target) && "getBBox" in target) {
|
|
5057
5115
|
return target.getBBox();
|
|
5058
5116
|
} else {
|
|
5059
5117
|
return {
|
|
@@ -5185,7 +5243,7 @@ function calcInset(element, container) {
|
|
|
5185
5243
|
const inset = { x: 0, y: 0 };
|
|
5186
5244
|
let current2 = element;
|
|
5187
5245
|
while (current2 && current2 !== container) {
|
|
5188
|
-
if (current2
|
|
5246
|
+
if (isHTMLElement$1(current2)) {
|
|
5189
5247
|
inset.x += current2.offsetLeft;
|
|
5190
5248
|
inset.y += current2.offsetTop;
|
|
5191
5249
|
current2 = current2.offsetParent;
|
|
@@ -5346,8 +5404,10 @@ function createOnScrollHandler(element, onScroll, info, options = {}) {
|
|
|
5346
5404
|
const scrollListeners = /* @__PURE__ */ new WeakMap();
|
|
5347
5405
|
const resizeListeners = /* @__PURE__ */ new WeakMap();
|
|
5348
5406
|
const onScrollHandlers = /* @__PURE__ */ new WeakMap();
|
|
5349
|
-
const getEventTarget = (element) => element === document.
|
|
5350
|
-
function scrollInfo(onScroll, { container = document.
|
|
5407
|
+
const getEventTarget = (element) => element === document.scrollingElement ? window : element;
|
|
5408
|
+
function scrollInfo(onScroll, { container = document.scrollingElement, ...options } = {}) {
|
|
5409
|
+
if (!container)
|
|
5410
|
+
return noop;
|
|
5351
5411
|
let containerHandlers = onScrollHandlers.get(container);
|
|
5352
5412
|
if (!containerHandlers) {
|
|
5353
5413
|
containerHandlers = /* @__PURE__ */ new Set();
|
|
@@ -5450,10 +5510,9 @@ function attachToFunction(onScroll, options) {
|
|
|
5450
5510
|
return observeTimeline(onScroll, getTimeline(options));
|
|
5451
5511
|
}
|
|
5452
5512
|
}
|
|
5453
|
-
function scroll(onScroll, { axis = "y", container = document.
|
|
5454
|
-
if (container
|
|
5455
|
-
|
|
5456
|
-
}
|
|
5513
|
+
function scroll(onScroll, { axis = "y", container = document.scrollingElement, ...options } = {}) {
|
|
5514
|
+
if (!container)
|
|
5515
|
+
return noop;
|
|
5457
5516
|
const optionsWithDefaults = { axis, container, ...options };
|
|
5458
5517
|
return typeof onScroll === "function" ? attachToFunction(onScroll, optionsWithDefaults) : attachToAnimation(onScroll, optionsWithDefaults);
|
|
5459
5518
|
}
|
|
@@ -5542,15 +5601,14 @@ function createContext(providerComponentName, contextName) {
|
|
|
5542
5601
|
const injectionKey = Symbol(symbolDescription);
|
|
5543
5602
|
const injectContext = (fallback) => {
|
|
5544
5603
|
const context = vue.inject(injectionKey, fallback);
|
|
5545
|
-
if (context)
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
);
|
|
5604
|
+
if (context === void 0) {
|
|
5605
|
+
throw new Error(
|
|
5606
|
+
`Injection \`${injectionKey.toString()}\` not found. Component must be used within ${Array.isArray(providerComponentName) ? `one of the following components: ${providerComponentName.join(
|
|
5607
|
+
", "
|
|
5608
|
+
)}` : `\`${providerComponentName}\``}`
|
|
5609
|
+
);
|
|
5610
|
+
}
|
|
5611
|
+
return context;
|
|
5554
5612
|
};
|
|
5555
5613
|
const provideContext = (contextValue) => {
|
|
5556
5614
|
vue.provide(injectionKey, contextValue);
|
|
@@ -5558,9 +5616,6 @@ function createContext(providerComponentName, contextName) {
|
|
|
5558
5616
|
};
|
|
5559
5617
|
return [injectContext, provideContext];
|
|
5560
5618
|
}
|
|
5561
|
-
function isMotionValue(value) {
|
|
5562
|
-
return Boolean(value && value.getVelocity);
|
|
5563
|
-
}
|
|
5564
5619
|
function useInView(domRef, options) {
|
|
5565
5620
|
const isInView = vue.ref(false);
|
|
5566
5621
|
vue.watch([domRef, () => vue.isRef(options) ? options.value : options], (_v1, _v2, onCleanup) => {
|
|
@@ -6858,8 +6913,9 @@ class LayoutFeature extends Feature {
|
|
|
6858
6913
|
}
|
|
6859
6914
|
didUpdate() {
|
|
6860
6915
|
var _a, _b;
|
|
6861
|
-
if (this.state.options.layout || this.state.options.layoutId || this.state.options.drag)
|
|
6916
|
+
if (this.state.options.layout || this.state.options.layoutId || this.state.options.drag) {
|
|
6862
6917
|
(_b = (_a = this.state.visualElement.projection) == null ? void 0 : _a.root) == null ? void 0 : _b.didUpdate();
|
|
6918
|
+
}
|
|
6863
6919
|
}
|
|
6864
6920
|
mount() {
|
|
6865
6921
|
var _a;
|
|
@@ -6891,7 +6947,7 @@ class LayoutFeature extends Feature {
|
|
|
6891
6947
|
const layoutGroup = this.state.options.layoutGroup;
|
|
6892
6948
|
const projection = this.state.visualElement.projection;
|
|
6893
6949
|
if (projection) {
|
|
6894
|
-
if (layoutGroup == null ? void 0 : layoutGroup.group) {
|
|
6950
|
+
if ((layoutGroup == null ? void 0 : layoutGroup.group) && (this.state.options.layout || this.state.options.layoutId)) {
|
|
6895
6951
|
layoutGroup.group.remove(projection);
|
|
6896
6952
|
}
|
|
6897
6953
|
this.didUpdate();
|
|
@@ -7441,7 +7497,7 @@ class FlatTree {
|
|
|
7441
7497
|
}
|
|
7442
7498
|
}
|
|
7443
7499
|
function resolveMotionValue(value) {
|
|
7444
|
-
return isMotionValue
|
|
7500
|
+
return isMotionValue(value) ? value.get() : value;
|
|
7445
7501
|
}
|
|
7446
7502
|
const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
|
|
7447
7503
|
const numBorders = borders.length;
|
|
@@ -7845,7 +7901,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
7845
7901
|
mount(instance) {
|
|
7846
7902
|
if (this.instance)
|
|
7847
7903
|
return;
|
|
7848
|
-
this.isSVG = isSVGElement$1(instance);
|
|
7904
|
+
this.isSVG = isSVGElement$1(instance) && !isSVGSVGElement(instance);
|
|
7849
7905
|
this.instance = instance;
|
|
7850
7906
|
const { layoutId, layout, visualElement } = this.options;
|
|
7851
7907
|
if (visualElement && !visualElement.current) {
|
|
@@ -9020,11 +9076,11 @@ class MotionState {
|
|
|
9020
9076
|
unmount(unMountChildren = false) {
|
|
9021
9077
|
const shouldDelay = this.options.layoutId && !mountedLayoutIds.has(this.options.layoutId);
|
|
9022
9078
|
const unmount = () => {
|
|
9023
|
-
if (unMountChildren) {
|
|
9024
|
-
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
9025
|
-
}
|
|
9026
9079
|
const unmountState = () => {
|
|
9027
9080
|
var _a, _b, _c;
|
|
9081
|
+
if (unMountChildren) {
|
|
9082
|
+
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
9083
|
+
}
|
|
9028
9084
|
(_b = (_a = this.parent) == null ? void 0 : _a.children) == null ? void 0 : _b.delete(this);
|
|
9029
9085
|
mountedStates.delete(this.element);
|
|
9030
9086
|
this.featureManager.unmount();
|
|
@@ -10182,13 +10238,15 @@ function notify(node) {
|
|
|
10182
10238
|
function nodeGroup() {
|
|
10183
10239
|
const nodes = /* @__PURE__ */ new Set();
|
|
10184
10240
|
const subscriptions = /* @__PURE__ */ new WeakMap();
|
|
10185
|
-
const dirtyAll = () =>
|
|
10241
|
+
const dirtyAll = (node) => {
|
|
10242
|
+
nodes.forEach(notify);
|
|
10243
|
+
};
|
|
10186
10244
|
return {
|
|
10187
10245
|
add: (node) => {
|
|
10188
10246
|
nodes.add(node);
|
|
10189
10247
|
subscriptions.set(
|
|
10190
10248
|
node,
|
|
10191
|
-
node.addEventListener("willUpdate", dirtyAll)
|
|
10249
|
+
node.addEventListener("willUpdate", () => dirtyAll())
|
|
10192
10250
|
);
|
|
10193
10251
|
},
|
|
10194
10252
|
remove: (node) => {
|
|
@@ -10448,6 +10506,7 @@ exports.animateView = animateView;
|
|
|
10448
10506
|
exports.animationMapKey = animationMapKey;
|
|
10449
10507
|
exports.anticipate = anticipate;
|
|
10450
10508
|
exports.applyPxDefaults = applyPxDefaults;
|
|
10509
|
+
exports.attachSpring = attachSpring;
|
|
10451
10510
|
exports.backIn = backIn;
|
|
10452
10511
|
exports.backInOut = backInOut;
|
|
10453
10512
|
exports.backOut = backOut;
|
|
@@ -10471,6 +10530,7 @@ exports.cubicBezier = cubicBezier;
|
|
|
10471
10530
|
exports.cubicBezierAsString = cubicBezierAsString;
|
|
10472
10531
|
exports.defaultEasing = defaultEasing;
|
|
10473
10532
|
exports.defaultOffset = defaultOffset$1;
|
|
10533
|
+
exports.defaultTransformValue = defaultTransformValue;
|
|
10474
10534
|
exports.defaultValueTypes = defaultValueTypes;
|
|
10475
10535
|
exports.degrees = degrees;
|
|
10476
10536
|
exports.delay = delayInSeconds;
|
|
@@ -10520,10 +10580,14 @@ exports.isDragActive = isDragActive;
|
|
|
10520
10580
|
exports.isDragging = isDragging;
|
|
10521
10581
|
exports.isEasingArray = isEasingArray;
|
|
10522
10582
|
exports.isGenerator = isGenerator;
|
|
10583
|
+
exports.isHTMLElement = isHTMLElement$1;
|
|
10523
10584
|
exports.isMotionValue = isMotionValue;
|
|
10524
10585
|
exports.isNodeOrChild = isNodeOrChild;
|
|
10525
10586
|
exports.isNumericalString = isNumericalString;
|
|
10587
|
+
exports.isObject = isObject;
|
|
10526
10588
|
exports.isPrimaryPointer = isPrimaryPointer$1;
|
|
10589
|
+
exports.isSVGElement = isSVGElement$1;
|
|
10590
|
+
exports.isSVGSVGElement = isSVGSVGElement;
|
|
10527
10591
|
exports.isWaapiSupportedEasing = isWaapiSupportedEasing;
|
|
10528
10592
|
exports.isZeroValueString = isZeroValueString;
|
|
10529
10593
|
exports.keyframes = keyframes;
|
|
@@ -10578,6 +10642,7 @@ exports.secondsToMilliseconds = secondsToMilliseconds;
|
|
|
10578
10642
|
exports.setDragLock = setDragLock;
|
|
10579
10643
|
exports.setStyle = setStyle;
|
|
10580
10644
|
exports.spring = spring;
|
|
10645
|
+
exports.springValue = springValue;
|
|
10581
10646
|
exports.stagger = stagger;
|
|
10582
10647
|
exports.startWaapiAnimation = startWaapiAnimation;
|
|
10583
10648
|
exports.statsBuffer = statsBuffer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mountedStates } from "../../state/motion-state.mjs";
|
|
2
2
|
import { invariant } from "hey-listen";
|
|
3
|
-
import { setTarget } from "../../external/.pnpm/framer-motion@12.
|
|
3
|
+
import { setTarget } from "../../external/.pnpm/framer-motion@12.12.1/external/framer-motion/dist/es/render/utils/setters.mjs";
|
|
4
4
|
import { resolveVariant } from "../../state/utils.mjs";
|
|
5
5
|
function stopAnimation(visualElement) {
|
|
6
6
|
visualElement.values.forEach((value) => value.stop());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, onUnmounted } from "vue";
|
|
2
|
-
import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.
|
|
2
|
+
import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.12.1/external/framer-motion/dist/es/animation/animate/index.mjs";
|
|
3
3
|
function useAnimate() {
|
|
4
4
|
const dom = ref(null);
|
|
5
5
|
const domProxy = new Proxy(dom, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMotionConfig } from "../motion-config/context.mjs";
|
|
2
|
-
import { frame } from "../../external/.pnpm/motion-dom@12.
|
|
2
|
+
import { frame } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
3
3
|
function usePopLayout(props) {
|
|
4
4
|
const styles = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
const config = useMotionConfig();
|
|
@@ -4,13 +4,15 @@ function notify(node) {
|
|
|
4
4
|
function nodeGroup() {
|
|
5
5
|
const nodes = /* @__PURE__ */ new Set();
|
|
6
6
|
const subscriptions = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const dirtyAll = () =>
|
|
7
|
+
const dirtyAll = (node) => {
|
|
8
|
+
nodes.forEach(notify);
|
|
9
|
+
};
|
|
8
10
|
return {
|
|
9
11
|
add: (node) => {
|
|
10
12
|
nodes.add(node);
|
|
11
13
|
subscriptions.set(
|
|
12
14
|
node,
|
|
13
|
-
node.addEventListener("willUpdate", dirtyAll)
|
|
15
|
+
node.addEventListener("willUpdate", () => dirtyAll())
|
|
14
16
|
);
|
|
15
17
|
},
|
|
16
18
|
remove: (node) => {
|
|
@@ -8,7 +8,7 @@ import { convertSvgStyleToAttributes, createStyles } from "../../state/style.mjs
|
|
|
8
8
|
import { warning, invariant } from "hey-listen";
|
|
9
9
|
import { ref, useAttrs, getCurrentInstance, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onBeforeUpdate, onUpdated } from "vue";
|
|
10
10
|
import { useMotionConfig } from "../motion-config/context.mjs";
|
|
11
|
-
import { isMotionValue } from "../../utils/motion-value.mjs";
|
|
11
|
+
import { isMotionValue } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
|
|
12
12
|
function useMotionState(props) {
|
|
13
13
|
var _a;
|
|
14
14
|
const parentState = injectMotion(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
2
|
-
import { motionValue } from "../../external/.pnpm/motion-dom@12.
|
|
3
|
-
import { isMotionValue } from "../../utils/motion-value.mjs";
|
|
2
|
+
import { motionValue } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/index.mjs";
|
|
3
|
+
import { isMotionValue } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
|
|
4
4
|
function compareMin(a, b) {
|
|
5
5
|
return a.layout.min - b.layout.min;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { animateSequence } from "./sequence.mjs";
|
|
2
2
|
import { animateSubject } from "./subject.mjs";
|
|
3
|
-
import { GroupAnimationWithThen } from "../../../../../../../motion-dom@12.
|
|
3
|
+
import { GroupAnimationWithThen } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs";
|
|
4
4
|
function isSequence(value) {
|
|
5
5
|
return Array.isArray(value) && value.some(Array.isArray);
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
|
|
2
|
-
import { resolveElements } from "../../../../../../../motion-dom@12.
|
|
2
|
+
import { resolveElements } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
3
3
|
function resolveSubjects(subject, keyframes, scope, selectorCache) {
|
|
4
4
|
if (typeof subject === "string" && isDOMKeyframes(keyframes)) {
|
|
5
5
|
return resolveElements(subject, scope, selectorCache);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createAnimationsFromSequence } from "../sequence/create.mjs";
|
|
2
2
|
import { animateSubject } from "./subject.mjs";
|
|
3
|
-
import { spring } from "../../../../../../../motion-dom@12.
|
|
3
|
+
import { spring } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/animation/generators/spring/index.mjs";
|
|
4
4
|
function animateSequence(sequence, options, scope) {
|
|
5
5
|
const animations = [];
|
|
6
6
|
const animationDefinitions = createAnimationsFromSequence(sequence, options, scope, { spring });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
2
1
|
import { animateMotionValue } from "../interfaces/motion-value.mjs";
|
|
3
|
-
import {
|
|
2
|
+
import { isMotionValue } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
|
|
3
|
+
import { motionValue } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/value/index.mjs";
|
|
4
4
|
function animateSingleValue(value, keyframes, options) {
|
|
5
5
|
const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
|
|
6
6
|
motionValue$1.start(animateMotionValue("", motionValue$1, keyframes, options));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { visualElementStore } from "../../render/store.mjs";
|
|
2
|
-
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
3
2
|
import { animateTarget } from "../interfaces/visual-element-target.mjs";
|
|
4
3
|
import { createDOMVisualElement, createObjectVisualElement } from "../utils/create-visual-element.mjs";
|
|
5
4
|
import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
|
|
6
5
|
import { resolveSubjects } from "./resolve-subjects.mjs";
|
|
7
6
|
import { animateSingleValue } from "./single-value.mjs";
|
|
8
|
-
import { invariant } from "../../../../../../../motion-utils@12.
|
|
7
|
+
import { invariant } from "../../../../../../../motion-utils@12.12.1/external/motion-utils/dist/es/errors.mjs";
|
|
8
|
+
import { isMotionValue } from "../../../../../../../motion-dom@12.12.1/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
|
|
9
9
|
function isSingleValue(subject, keyframes) {
|
|
10
10
|
return isMotionValue(subject) || typeof subject === "number" || typeof subject === "string" && !isDOMKeyframes(keyframes);
|
|
11
11
|
}
|