motion-v 1.1.0-alpha.0 → 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 +40 -35
- 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 +8 -3
- package/dist/es/components/motion/use-motion-state.d.ts +1 -1
- package/dist/es/components/reorder/index.d.ts +4 -4
- package/dist/es/components/reorder/utils.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/index.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/single-value.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +7 -7
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/external/framer-motion/dist/es/animation/sequence/create.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +8 -8
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/VisualElement.mjs +8 -8
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/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.10.5}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/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.10.5}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/delay.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/press/index.mjs +1 -1
- package/dist/es/features/animation/animation.mjs +2 -2
- package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
- 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 +2 -2
- package/dist/es/features/gestures/pan/index.mjs +1 -1
- 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 +2 -2
- package/dist/es/features/layout/projection.mjs +2 -2
- package/dist/es/index.mjs +95 -95
- package/dist/es/state/create-visual-element.mjs +2 -2
- package/dist/es/state/motion-state.mjs +4 -4
- 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-scroll.mjs +30 -30
- package/dist/es/value/use-spring.mjs +3 -3
- 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/package.json +2 -2
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/animate/subject.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/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.10.5}/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.10.5}/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.10.5}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/render/store.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/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.10.5}/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.10.5}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.10.4 → 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.10.4 → 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.10.4 → framer-motion@12.10.5}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/GroupAnimation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/JSAnimation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/NativeAnimation.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/drivers/frame.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/inertia.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/keyframes.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → 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.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/spring/find.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/generators/spring/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/animation/generators/utils/velocity.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/animation/utils/can-animate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → 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.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/effects/MotionValueState.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/effects/style/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/effects/style/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/batcher.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/frame.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/order.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/frameloop/sync-time.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → 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.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/render/dom/parse-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/scroll/observe.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/stats/animation-count.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/stats/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/interpolate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/color.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/complex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/immediate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/mix/visibility.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/utils/supports/memo.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/utils/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/map-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/subscribe-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/transform-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/types/auto.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/value/types/color/rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/value/types/dimensions.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/value/types/int.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/value/types/numbers/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/value/types/test.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/view/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/view/queue.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/external/motion-dom/dist/es/view/start.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/external/motion-dom/dist/es/view/utils/css.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.10.4 → motion-dom@12.10.5}/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.10.5}/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.10.5}/external/motion-dom/dist/es/view/utils/has-target.mjs +0 -0
package/dist/cjs/index.js
CHANGED
|
@@ -3097,7 +3097,7 @@ function press(targetOrSelector, onPressStart, options = {}) {
|
|
|
3097
3097
|
const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);
|
|
3098
3098
|
const startPress = (startEvent) => {
|
|
3099
3099
|
const target = startEvent.currentTarget;
|
|
3100
|
-
if (!isValidPressEvent(startEvent)
|
|
3100
|
+
if (!isValidPressEvent(startEvent))
|
|
3101
3101
|
return;
|
|
3102
3102
|
isPressing.add(target);
|
|
3103
3103
|
const onPressEnd = onPressStart(target, startEvent);
|
|
@@ -9020,11 +9020,11 @@ class MotionState {
|
|
|
9020
9020
|
unmount(unMountChildren = false) {
|
|
9021
9021
|
const shouldDelay = this.options.layoutId && !mountedLayoutIds.has(this.options.layoutId);
|
|
9022
9022
|
const unmount = () => {
|
|
9023
|
-
if (unMountChildren) {
|
|
9024
|
-
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
9025
|
-
}
|
|
9026
9023
|
const unmountState = () => {
|
|
9027
9024
|
var _a, _b, _c;
|
|
9025
|
+
if (unMountChildren) {
|
|
9026
|
+
Array.from(this.children).reverse().forEach(this.unmountChild);
|
|
9027
|
+
}
|
|
9028
9028
|
(_b = (_a = this.parent) == null ? void 0 : _a.children) == null ? void 0 : _b.delete(this);
|
|
9029
9029
|
mountedStates.delete(this.element);
|
|
9030
9030
|
this.featureManager.unmount();
|
|
@@ -9925,35 +9925,35 @@ function useScroll({
|
|
|
9925
9925
|
vue.onMounted(() => {
|
|
9926
9926
|
refWarning("target", target);
|
|
9927
9927
|
refWarning("container", container);
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
return;
|
|
9934
|
-
}
|
|
9935
|
-
const cleanup = scroll(
|
|
9936
|
-
(_progress, { x, y }) => {
|
|
9937
|
-
values.scrollX.set(x.current);
|
|
9938
|
-
values.scrollXProgress.set(x.progress);
|
|
9939
|
-
values.scrollY.set(y.current);
|
|
9940
|
-
values.scrollYProgress.set(y.progress);
|
|
9941
|
-
},
|
|
9942
|
-
{
|
|
9943
|
-
...options,
|
|
9944
|
-
container: (container == null ? void 0 : container.value) ?? void 0,
|
|
9945
|
-
target: (target == null ? void 0 : target.value) ?? void 0
|
|
9928
|
+
vue.watch(
|
|
9929
|
+
[() => container == null ? void 0 : container.value, () => target == null ? void 0 : target.value, () => options.offset],
|
|
9930
|
+
(n, o, onCleanup) => {
|
|
9931
|
+
if (isSSR) {
|
|
9932
|
+
return;
|
|
9946
9933
|
}
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9934
|
+
const cleanup = scroll(
|
|
9935
|
+
(_progress, { x, y }) => {
|
|
9936
|
+
values.scrollX.set(x.current);
|
|
9937
|
+
values.scrollXProgress.set(x.progress);
|
|
9938
|
+
values.scrollY.set(y.current);
|
|
9939
|
+
values.scrollYProgress.set(y.progress);
|
|
9940
|
+
},
|
|
9941
|
+
{
|
|
9942
|
+
...options,
|
|
9943
|
+
container: (container == null ? void 0 : container.value) ?? void 0,
|
|
9944
|
+
target: (target == null ? void 0 : target.value) ?? void 0
|
|
9945
|
+
}
|
|
9946
|
+
);
|
|
9947
|
+
onCleanup(() => {
|
|
9948
|
+
cleanup();
|
|
9949
|
+
});
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
immediate: true,
|
|
9953
|
+
flush: "post"
|
|
9954
|
+
}
|
|
9955
|
+
);
|
|
9956
|
+
});
|
|
9957
9957
|
return values;
|
|
9958
9958
|
}
|
|
9959
9959
|
function useVelocity(value) {
|
|
@@ -10182,13 +10182,18 @@ function notify(node) {
|
|
|
10182
10182
|
function nodeGroup() {
|
|
10183
10183
|
const nodes = /* @__PURE__ */ new Set();
|
|
10184
10184
|
const subscriptions = /* @__PURE__ */ new WeakMap();
|
|
10185
|
-
const dirtyAll = () =>
|
|
10185
|
+
const dirtyAll = (node) => {
|
|
10186
|
+
var _a;
|
|
10187
|
+
nodes.forEach(notify);
|
|
10188
|
+
if (!(node == null ? void 0 : node.options.layoutId))
|
|
10189
|
+
(_a = node == null ? void 0 : node.root) == null ? void 0 : _a.didUpdate();
|
|
10190
|
+
};
|
|
10186
10191
|
return {
|
|
10187
10192
|
add: (node) => {
|
|
10188
10193
|
nodes.add(node);
|
|
10189
10194
|
subscriptions.set(
|
|
10190
10195
|
node,
|
|
10191
|
-
node.addEventListener("willUpdate", dirtyAll)
|
|
10196
|
+
node.addEventListener("willUpdate", () => dirtyAll(node))
|
|
10192
10197
|
);
|
|
10193
10198
|
},
|
|
10194
10199
|
remove: (node) => {
|
|
@@ -10198,7 +10203,7 @@ function nodeGroup() {
|
|
|
10198
10203
|
unsubscribe();
|
|
10199
10204
|
subscriptions.delete(node);
|
|
10200
10205
|
}
|
|
10201
|
-
dirtyAll();
|
|
10206
|
+
dirtyAll(node);
|
|
10202
10207
|
},
|
|
10203
10208
|
dirty: dirtyAll
|
|
10204
10209
|
};
|
|
@@ -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.10.
|
|
3
|
+
import { setTarget } from "../../external/.pnpm/framer-motion@12.10.5/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.10.
|
|
2
|
+
import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.10.5/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.10.
|
|
2
|
+
import { frame } from "../../external/.pnpm/motion-dom@12.10.5/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,18 @@ 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
|
+
var _a;
|
|
9
|
+
nodes.forEach(notify);
|
|
10
|
+
if (!(node == null ? void 0 : node.options.layoutId))
|
|
11
|
+
(_a = node == null ? void 0 : node.root) == null ? void 0 : _a.didUpdate();
|
|
12
|
+
};
|
|
8
13
|
return {
|
|
9
14
|
add: (node) => {
|
|
10
15
|
nodes.add(node);
|
|
11
16
|
subscriptions.set(
|
|
12
17
|
node,
|
|
13
|
-
node.addEventListener("willUpdate", dirtyAll)
|
|
18
|
+
node.addEventListener("willUpdate", () => dirtyAll(node))
|
|
14
19
|
);
|
|
15
20
|
},
|
|
16
21
|
remove: (node) => {
|
|
@@ -20,7 +25,7 @@ function nodeGroup() {
|
|
|
20
25
|
unsubscribe();
|
|
21
26
|
subscriptions.delete(node);
|
|
22
27
|
}
|
|
23
|
-
dirtyAll();
|
|
28
|
+
dirtyAll(node);
|
|
24
29
|
},
|
|
25
30
|
dirty: dirtyAll
|
|
26
31
|
};
|
|
@@ -39,12 +39,12 @@ export declare function useMotionState(props: MotionProps): {
|
|
|
39
39
|
[x: number]: string | number | import('framer-motion').MotionValue<any>;
|
|
40
40
|
[x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
|
|
41
41
|
string?: string | number | import('framer-motion').MotionValue<any>;
|
|
42
|
+
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
42
43
|
end?: string | number | import('framer-motion').MotionValue<any>;
|
|
43
44
|
x?: string | number | import('framer-motion').MotionValue<any>;
|
|
44
45
|
y?: string | number | import('framer-motion').MotionValue<any>;
|
|
45
46
|
position?: string | number | import('framer-motion').MotionValue<any>;
|
|
46
47
|
page?: string | number | import('framer-motion').MotionValue<any>;
|
|
47
|
-
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
48
48
|
top?: string | number | import('framer-motion').MotionValue<any>;
|
|
49
49
|
right?: string | number | import('framer-motion').MotionValue<any>;
|
|
50
50
|
bottom?: string | number | import('framer-motion').MotionValue<any>;
|
|
@@ -35,12 +35,12 @@ export declare const ReorderGroup: <T, K, V>(__VLS_props: NonNullable<Awaited<ty
|
|
|
35
35
|
[x: number]: string | number | import('framer-motion').MotionValue<any>;
|
|
36
36
|
[x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
|
|
37
37
|
string?: string | number | import('framer-motion').MotionValue<any>;
|
|
38
|
+
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
38
39
|
end?: string | number | import('framer-motion').MotionValue<any>;
|
|
39
40
|
x?: string | number | import('framer-motion').MotionValue<any>;
|
|
40
41
|
y?: string | number | import('framer-motion').MotionValue<any>;
|
|
41
42
|
position?: string | number | import('framer-motion').MotionValue<any>;
|
|
42
43
|
page?: string | number | import('framer-motion').MotionValue<any>;
|
|
43
|
-
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
44
44
|
top?: string | number | import('framer-motion').MotionValue<any>;
|
|
45
45
|
right?: string | number | import('framer-motion').MotionValue<any>;
|
|
46
46
|
bottom?: string | number | import('framer-motion').MotionValue<any>;
|
|
@@ -836,12 +836,12 @@ export declare const ReorderItem: <T extends import('../..').ElementType = "li",
|
|
|
836
836
|
[x: number]: string | number | import('framer-motion').MotionValue<any>;
|
|
837
837
|
[x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
|
|
838
838
|
string?: string | number | import('framer-motion').MotionValue<any>;
|
|
839
|
+
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
839
840
|
end?: string | number | import('framer-motion').MotionValue<any>;
|
|
840
841
|
x?: string | number | import('framer-motion').MotionValue<any>;
|
|
841
842
|
y?: string | number | import('framer-motion').MotionValue<any>;
|
|
842
843
|
position?: string | number | import('framer-motion').MotionValue<any>;
|
|
843
844
|
page?: string | number | import('framer-motion').MotionValue<any>;
|
|
844
|
-
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
845
845
|
top?: string | number | import('framer-motion').MotionValue<any>;
|
|
846
846
|
right?: string | number | import('framer-motion').MotionValue<any>;
|
|
847
847
|
bottom?: string | number | import('framer-motion').MotionValue<any>;
|
|
@@ -1638,12 +1638,12 @@ export declare const Reorder: {
|
|
|
1638
1638
|
[x: number]: string | number | import('framer-motion').MotionValue<any>;
|
|
1639
1639
|
[x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
|
|
1640
1640
|
string?: string | number | import('framer-motion').MotionValue<any>;
|
|
1641
|
+
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
1641
1642
|
end?: string | number | import('framer-motion').MotionValue<any>;
|
|
1642
1643
|
x?: string | number | import('framer-motion').MotionValue<any>;
|
|
1643
1644
|
y?: string | number | import('framer-motion').MotionValue<any>;
|
|
1644
1645
|
position?: string | number | import('framer-motion').MotionValue<any>;
|
|
1645
1646
|
page?: string | number | import('framer-motion').MotionValue<any>;
|
|
1646
|
-
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
1647
1647
|
top?: string | number | import('framer-motion').MotionValue<any>;
|
|
1648
1648
|
right?: string | number | import('framer-motion').MotionValue<any>;
|
|
1649
1649
|
bottom?: string | number | import('framer-motion').MotionValue<any>;
|
|
@@ -2439,12 +2439,12 @@ export declare const Reorder: {
|
|
|
2439
2439
|
[x: number]: string | number | import('framer-motion').MotionValue<any>;
|
|
2440
2440
|
[x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
|
|
2441
2441
|
string?: string | number | import('framer-motion').MotionValue<any>;
|
|
2442
|
+
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
2442
2443
|
end?: string | number | import('framer-motion').MotionValue<any>;
|
|
2443
2444
|
x?: string | number | import('framer-motion').MotionValue<any>;
|
|
2444
2445
|
y?: string | number | import('framer-motion').MotionValue<any>;
|
|
2445
2446
|
position?: string | number | import('framer-motion').MotionValue<any>;
|
|
2446
2447
|
page?: string | number | import('framer-motion').MotionValue<any>;
|
|
2447
|
-
[Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
|
|
2448
2448
|
top?: string | number | import('framer-motion').MotionValue<any>;
|
|
2449
2449
|
right?: string | number | import('framer-motion').MotionValue<any>;
|
|
2450
2450
|
bottom?: string | number | import('framer-motion').MotionValue<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
2
|
-
import { motionValue } from "../../external/.pnpm/motion-dom@12.10.
|
|
2
|
+
import { motionValue } from "../../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
3
3
|
import { isMotionValue } from "../../utils/motion-value.mjs";
|
|
4
4
|
function compareMin(a, b) {
|
|
5
5
|
return a.layout.min - b.layout.min;
|
|
@@ -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.10.
|
|
3
|
+
import { GroupAnimationWithThen } from "../../../../../../../motion-dom@12.10.5/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.10.
|
|
2
|
+
import { resolveElements } from "../../../../../../../motion-dom@12.10.5/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.10.
|
|
3
|
+
import { spring } from "../../../../../../../motion-dom@12.10.5/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
1
|
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
2
2
|
import { animateMotionValue } from "../interfaces/motion-value.mjs";
|
|
3
|
-
import { motionValue } from "../../../../../../../motion-dom@12.10.
|
|
3
|
+
import { motionValue } from "../../../../../../../motion-dom@12.10.5/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
|
-
import { resolveElements } from "../../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { resolveElements } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
2
2
|
import { invariant } from "../../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/errors.mjs";
|
|
3
|
-
import { getValueTransition } from "../../../../../../../../motion-dom@12.10.
|
|
4
|
-
import { getAnimationMap, animationMapKey } from "../../../../../../../../motion-dom@12.10.
|
|
5
|
-
import { getComputedStyle } from "../../../../../../../../motion-dom@12.10.
|
|
6
|
-
import { fillWildcards } from "../../../../../../../../motion-dom@12.10.
|
|
7
|
-
import { applyPxDefaults } from "../../../../../../../../motion-dom@12.10.
|
|
8
|
-
import { NativeAnimation } from "../../../../../../../../motion-dom@12.10.
|
|
3
|
+
import { getValueTransition } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
4
|
+
import { getAnimationMap, animationMapKey } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/active-animations.mjs";
|
|
5
|
+
import { getComputedStyle } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/render/dom/style-computed.mjs";
|
|
6
|
+
import { fillWildcards } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs";
|
|
7
|
+
import { applyPxDefaults } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs";
|
|
8
|
+
import { NativeAnimation } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/NativeAnimation.mjs";
|
|
9
9
|
import { secondsToMilliseconds } from "../../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/time-conversion.mjs";
|
|
10
10
|
function animateElements(elementOrSelector, keyframes, options, scope) {
|
|
11
11
|
const elements = resolveElements(elementOrSelector, scope);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { animateElements } from "./animate-elements.mjs";
|
|
2
|
-
import { GroupAnimationWithThen } from "../../../../../../../../motion-dom@12.10.
|
|
2
|
+
import { GroupAnimationWithThen } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs";
|
|
3
3
|
const createScopedWaapiAnimate = (scope) => {
|
|
4
4
|
function scopedAnimate(elementOrSelector, keyframes, options) {
|
|
5
5
|
return new GroupAnimationWithThen(animateElements(elementOrSelector, keyframes, options, scope));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getFinalKeyframe } from "../animators/waapi/utils/get-final-keyframe.mjs";
|
|
2
2
|
import { getDefaultTransition } from "../utils/default-transitions.mjs";
|
|
3
3
|
import { isTransitionDefined } from "../utils/is-transition-defined.mjs";
|
|
4
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.10.
|
|
4
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
5
5
|
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/time-conversion.mjs";
|
|
6
6
|
import { MotionGlobalConfig } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/global-config.mjs";
|
|
7
|
-
import { frame } from "../../../../../../../motion-dom@12.10.
|
|
8
|
-
import { JSAnimation } from "../../../../../../../motion-dom@12.10.
|
|
9
|
-
import { AsyncMotionValueAnimation } from "../../../../../../../motion-dom@12.10.
|
|
7
|
+
import { frame } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
8
|
+
import { JSAnimation } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/JSAnimation.mjs";
|
|
9
|
+
import { AsyncMotionValueAnimation } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs";
|
|
10
10
|
const animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {
|
|
11
11
|
const valueTransition = getValueTransition(transition, name) || {};
|
|
12
12
|
const delay = valueTransition.delay || transition.delay || 0;
|
|
@@ -2,9 +2,9 @@ import { setTarget } from "../../render/utils/setters.mjs";
|
|
|
2
2
|
import { addValueToWillChange } from "../../value/use-will-change/add-will-change.mjs";
|
|
3
3
|
import { getOptimisedAppearId } from "../optimized-appear/get-appear-id.mjs";
|
|
4
4
|
import { animateMotionValue } from "./motion-value.mjs";
|
|
5
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.10.
|
|
6
|
-
import { frame } from "../../../../../../../motion-dom@12.10.
|
|
7
|
-
import { positionalKeys } from "../../../../../../../motion-dom@12.10.
|
|
5
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
6
|
+
import { frame } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
7
|
+
import { positionalKeys } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-position.mjs";
|
|
8
8
|
function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {
|
|
9
9
|
const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
|
|
10
10
|
needsAnimating[key] = false;
|
|
@@ -5,13 +5,13 @@ import { calcNextTime } from "./utils/calc-time.mjs";
|
|
|
5
5
|
import { addKeyframes } from "./utils/edit.mjs";
|
|
6
6
|
import { normalizeTimes } from "./utils/normalize-times.mjs";
|
|
7
7
|
import { compareByTime } from "./utils/sort.mjs";
|
|
8
|
-
import { defaultOffset } from "../../../../../../../motion-dom@12.10.
|
|
9
|
-
import { createGeneratorEasing } from "../../../../../../../motion-dom@12.10.
|
|
10
|
-
import { fillOffset } from "../../../../../../../motion-dom@12.10.
|
|
8
|
+
import { defaultOffset } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs";
|
|
9
|
+
import { createGeneratorEasing } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
|
|
10
|
+
import { fillOffset } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs";
|
|
11
11
|
import { invariant } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/errors.mjs";
|
|
12
12
|
import { getEasingForSegment } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs";
|
|
13
13
|
import { progress } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/progress.mjs";
|
|
14
|
-
import { isGenerator } from "../../../../../../../motion-dom@12.10.
|
|
14
|
+
import { isGenerator } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
15
15
|
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/time-conversion.mjs";
|
|
16
16
|
const defaultSegmentEasing = "easeInOut";
|
|
17
17
|
const MAX_REPEAT = 20;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mixNumber } from "../../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { mixNumber } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
2
2
|
import { getEasingForSegment } from "../../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs";
|
|
3
3
|
import { removeItem } from "../../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/array.mjs";
|
|
4
4
|
function eraseKeyframes(sequence, startTime, endTime) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { transformProps } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { transformProps } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-transform.mjs";
|
|
2
2
|
const underDampedSpring = {
|
|
3
3
|
type: "spring",
|
|
4
4
|
stiffness: 500,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { scaleCorrectors } from "../../projection/styles/scale-correction.mjs";
|
|
2
|
-
import { transformProps } from "../../../../../../../motion-dom@12.10.
|
|
2
|
+
import { transformProps } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-transform.mjs";
|
|
3
3
|
function isForcedMotionValue(key, { layout, layoutId }) {
|
|
4
4
|
return transformProps.has(key) || key.startsWith("origin") || (layout || layoutId !== void 0) && (!!scaleCorrectors[key] || key === "opacity");
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
2
|
-
import { percent, px } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
2
|
+
import { percent, px } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/numbers/units.mjs";
|
|
3
3
|
import { progress } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/progress.mjs";
|
|
4
4
|
import { circOut } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/easing/circ.mjs";
|
|
5
5
|
import { noop } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/noop.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { hasTransform } from "../utils/has-transform.mjs";
|
|
2
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
2
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
3
3
|
function scalePoint(point, scale, originPoint) {
|
|
4
4
|
const distanceFromOrigin = point - originPoint;
|
|
5
5
|
const scaled = scale * distanceFromOrigin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
2
2
|
const SCALE_PRECISION = 1e-4;
|
|
3
3
|
const SCALE_MIN = 1 - SCALE_PRECISION;
|
|
4
4
|
const SCALE_MAX = 1 + SCALE_PRECISION;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scalePoint } from "./delta-apply.mjs";
|
|
2
|
-
import { percent } from "../../../../../../../motion-dom@12.10.
|
|
3
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
2
|
+
import { percent } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/numbers/units.mjs";
|
|
3
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
4
4
|
function removePointDelta(point, translate, scale, originPoint, boxScale) {
|
|
5
5
|
point -= translate;
|
|
6
6
|
point = scalePoint(point, 1 / scale, originPoint);
|
|
@@ -18,16 +18,16 @@ import { eachAxis } from "../utils/each-axis.mjs";
|
|
|
18
18
|
import { hasTransform, hasScale, has2DTranslate } from "../utils/has-transform.mjs";
|
|
19
19
|
import { globalProjectionState } from "./state.mjs";
|
|
20
20
|
import { noop } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/noop.mjs";
|
|
21
|
-
import { statsBuffer } from "../../../../../../../motion-dom@12.10.
|
|
21
|
+
import { statsBuffer } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/stats/buffer.mjs";
|
|
22
22
|
import { SubscriptionManager } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/subscription-manager.mjs";
|
|
23
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.10.
|
|
24
|
-
import { cancelFrame, frameData, frameSteps, frame } from "../../../../../../../motion-dom@12.10.
|
|
25
|
-
import { time } from "../../../../../../../motion-dom@12.10.
|
|
23
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
24
|
+
import { cancelFrame, frameData, frameSteps, frame } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
25
|
+
import { time } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/sync-time.mjs";
|
|
26
26
|
import { clamp } from "../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/clamp.mjs";
|
|
27
|
-
import { microtask } from "../../../../../../../motion-dom@12.10.
|
|
28
|
-
import { activeAnimations } from "../../../../../../../motion-dom@12.10.
|
|
29
|
-
import { motionValue } from "../../../../../../../motion-dom@12.10.
|
|
30
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
27
|
+
import { microtask } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/microtask.mjs";
|
|
28
|
+
import { activeAnimations } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/stats/animation-count.mjs";
|
|
29
|
+
import { motionValue } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
30
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
31
31
|
const metrics = {
|
|
32
32
|
nodes: 0,
|
|
33
33
|
calculatedTargetDeltas: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { px } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { px } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/numbers/units.mjs";
|
|
2
2
|
function pixelsToPercent(pixels, axis) {
|
|
3
3
|
if (axis.max === axis.min)
|
|
4
4
|
return 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { complex } from "../../../../../../../motion-dom@12.10.
|
|
2
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { complex } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/complex/index.mjs";
|
|
2
|
+
import { mixNumber } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
3
3
|
const correctBoxShadow = {
|
|
4
4
|
correct: (latest, { treeScale, projectionDelta }) => {
|
|
5
5
|
const original = latest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isCSSVariableName } from "../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { isCSSVariableName } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/utils/is-css-variable.mjs";
|
|
2
2
|
const scaleCorrectors = {};
|
|
3
3
|
function addScaleCorrector(correctors) {
|
|
4
4
|
for (const key in correctors) {
|
|
@@ -7,17 +7,17 @@ import { visualElementStore } from "./store.mjs";
|
|
|
7
7
|
import { isControllingVariants, isVariantNode } from "./utils/is-controlling-variants.mjs";
|
|
8
8
|
import { updateMotionValuesFromProps } from "./utils/motion-values.mjs";
|
|
9
9
|
import { resolveVariantFromProps } from "./utils/resolve-variants.mjs";
|
|
10
|
-
import { KeyframeResolver } from "../../../../../../motion-dom@12.10.
|
|
11
|
-
import { time } from "../../../../../../motion-dom@12.10.
|
|
12
|
-
import { frame, cancelFrame } from "../../../../../../motion-dom@12.10.
|
|
10
|
+
import { KeyframeResolver } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs";
|
|
11
|
+
import { time } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/sync-time.mjs";
|
|
12
|
+
import { frame, cancelFrame } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
13
13
|
import { warnOnce } from "../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/warn-once.mjs";
|
|
14
|
-
import { transformProps } from "../../../../../../motion-dom@12.10.
|
|
15
|
-
import { motionValue } from "../../../../../../motion-dom@12.10.
|
|
14
|
+
import { transformProps } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/render/utils/keys-transform.mjs";
|
|
15
|
+
import { motionValue } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/index.mjs";
|
|
16
16
|
import { isNumericalString } from "../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/is-numerical-string.mjs";
|
|
17
17
|
import { isZeroValueString } from "../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/is-zero-value-string.mjs";
|
|
18
|
-
import { findValueType } from "../../../../../../motion-dom@12.10.
|
|
19
|
-
import { complex } from "../../../../../../motion-dom@12.10.
|
|
20
|
-
import { getAnimatableNone } from "../../../../../../motion-dom@12.10.
|
|
18
|
+
import { findValueType } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/find.mjs";
|
|
19
|
+
import { complex } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/complex/index.mjs";
|
|
20
|
+
import { getAnimatableNone } from "../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/value/types/utils/animatable-none.mjs";
|
|
21
21
|
import { SubscriptionManager } from "../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/subscription-manager.mjs";
|
|
22
22
|
const propEventHandlers = [
|
|
23
23
|
"AnimationStart",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
2
2
|
import { VisualElement } from "../VisualElement.mjs";
|
|
3
|
-
import { DOMKeyframesResolver } from "../../../../../../../motion-dom@12.10.
|
|
3
|
+
import { DOMKeyframesResolver } from "../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs";
|
|
4
4
|
class DOMVisualElement extends VisualElement {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveElements } from "../../../../../../../../motion-dom@12.10.
|
|
1
|
+
import { resolveElements } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
2
2
|
const resizeHandlers = /* @__PURE__ */ new WeakMap();
|
|
3
3
|
let observer;
|
|
4
4
|
function getElementSize(target, borderBoxSize) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getTimeline } from "./utils/get-timeline.mjs";
|
|
2
|
-
import { observeTimeline } from "../../../../../../../../motion-dom@12.10.
|
|
2
|
+
import { observeTimeline } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/scroll/observe.mjs";
|
|
3
3
|
function attachToAnimation(animation, options) {
|
|
4
4
|
const timeline = getTimeline(options);
|
|
5
5
|
return animation.attachTimeline({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scrollInfo } from "./track.mjs";
|
|
2
2
|
import { getTimeline } from "./utils/get-timeline.mjs";
|
|
3
|
-
import { observeTimeline } from "../../../../../../../../motion-dom@12.10.
|
|
3
|
+
import { observeTimeline } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/scroll/observe.mjs";
|
|
4
4
|
function isOnScrollWithInfo(onScroll) {
|
|
5
5
|
return onScroll.length === 2;
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { calcInset } from "./inset.mjs";
|
|
2
2
|
import { resolveOffset } from "./offset.mjs";
|
|
3
3
|
import { ScrollOffset } from "./presets.mjs";
|
|
4
|
-
import { interpolate } from "../../../../../../../../../motion-dom@12.10.
|
|
5
|
-
import { defaultOffset } from "../../../../../../../../../motion-dom@12.10.
|
|
4
|
+
import { interpolate } from "../../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/utils/interpolate.mjs";
|
|
5
|
+
import { defaultOffset } from "../../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs";
|
|
6
6
|
import { clamp } from "../../../../../../../../../motion-utils@12.9.4/external/motion-utils/dist/es/clamp.mjs";
|
|
7
7
|
const point = { x: 0, y: 0 };
|
|
8
8
|
function getTargetSize(target) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resize } from "../resize/index.mjs";
|
|
2
2
|
import { createScrollInfo } from "./info.mjs";
|
|
3
3
|
import { createOnScrollHandler } from "./on-scroll-handler.mjs";
|
|
4
|
-
import { frame, cancelFrame, frameData } from "../../../../../../../../motion-dom@12.10.
|
|
4
|
+
import { frame, cancelFrame, frameData } from "../../../../../../../../motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
5
5
|
const scrollListeners = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
const resizeListeners = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
const onScrollHandlers = /* @__PURE__ */ new WeakMap();
|