motion-v 0.10.0-beta.1 → 0.11.0-beta.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 +270 -242
- package/dist/es/animation/hooks/animation-controls.mjs +1 -1
- package/dist/es/animation/hooks/use-animate.mjs +1 -1
- package/dist/es/components/LayoutGroup.d.ts +15 -1
- package/dist/es/components/LayoutGroup.vue.mjs +1 -1
- package/dist/es/components/RowValue.d.ts +16 -0
- package/dist/es/components/RowValue.vue.mjs +25 -0
- package/dist/es/components/RowValue.vue2.mjs +4 -0
- package/dist/es/components/animate-presence/AnimatePresence.d.ts +6 -0
- package/dist/es/components/animate-presence/AnimatePresence.vue.mjs +12 -8
- package/dist/es/components/animate-presence/types.d.ts +2 -0
- package/dist/es/components/animate-presence/use-pop-layout.mjs +10 -9
- package/dist/es/components/group.mjs +1 -0
- package/dist/es/components/index.d.ts +2 -0
- package/dist/es/components/motion/Motion.vue.mjs +2 -3
- package/dist/es/components/reorder/Group.vue.mjs +3 -1
- package/dist/es/components/reorder/utils.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +11 -14
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +8 -8
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +3 -4
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
- package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/create.mjs +5 -5
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/batcher.mjs +18 -6
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/frame.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/index-legacy.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/render-step.mjs +1 -8
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +35 -22
- package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +8 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/VisualElement.mjs +2 -6
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -12
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/delay.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/hover.mjs +11 -11
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/memo.mjs +2 -2
- package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +6 -0
- package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/memo.mjs +0 -1
- package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs +4 -0
- package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/progress.mjs +1 -1
- package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs +6 -0
- package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
- package/dist/es/features/gestures/drag/index.mjs +3 -4
- package/dist/es/features/gestures/focus/index.mjs +1 -1
- package/dist/es/features/gestures/hover/index.mjs +4 -4
- package/dist/es/features/gestures/in-view/index.mjs +3 -3
- package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
- package/dist/es/features/gestures/pan/index.mjs +3 -3
- package/dist/es/features/gestures/press/index.mjs +4 -4
- package/dist/es/features/layout/config.mjs +2 -2
- package/dist/es/features/layout/layout.d.ts +0 -1
- package/dist/es/features/layout/layout.mjs +11 -11
- package/dist/es/features/layout/projection.mjs +2 -2
- package/dist/es/features/svg.mjs +1 -1
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.mjs +43 -41
- package/dist/es/state/animate-updates.mjs +3 -3
- package/dist/es/state/create-visual-element.mjs +2 -2
- package/dist/es/state/motion-state.d.ts +3 -3
- package/dist/es/state/motion-state.mjs +50 -36
- package/dist/es/state/utils.d.ts +1 -0
- package/dist/es/state/utils.mjs +21 -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-scroll.mjs +2 -2
- 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 +5 -4
- package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -6
- package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/frameloop/order.mjs +0 -17
- package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -14
- package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/render/svg/utils/measure.mjs +0 -15
- package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/stats/buffer.mjs +0 -7
- package/dist/es/external/.pnpm/motion-dom@12.0.0/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -6
- package/dist/es/external/.pnpm/motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs +0 -4
- package/dist/es/external/.pnpm/motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs +0 -6
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/single-value.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/back.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/store.mjs +0 -0
- package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +1 -1
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/setters.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/array.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/warn-once.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/errors.mjs +0 -0
|
@@ -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@
|
|
3
|
+
import { setTarget } from "../../external/.pnpm/framer-motion@11.16.6/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@
|
|
2
|
+
import { createScopedAnimate } from "../../external/.pnpm/framer-motion@11.16.6/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, {
|
|
@@ -10,9 +10,20 @@ declare function __VLS_template(): {
|
|
|
10
10
|
attrs: Partial<{}>;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<LayoutGroupProps>, {
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LayoutGroupProps>, {
|
|
14
|
+
inherit: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LayoutGroupProps>, {
|
|
16
|
+
inherit: boolean;
|
|
17
|
+
}>>>, {
|
|
18
|
+
inherit: boolean | "id" | "group";
|
|
19
|
+
}, {}>;
|
|
14
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
21
|
export default _default;
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
16
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
28
|
type __VLS_TypePropsToOption<T> = {
|
|
18
29
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -27,3 +38,6 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
27
38
|
$slots: S;
|
|
28
39
|
};
|
|
29
40
|
};
|
|
41
|
+
type __VLS_PrettifyLocal<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MotionValue } from 'framer-motion/dom';
|
|
2
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>>, never>, never> & {
|
|
4
|
+
value: MotionValue<T>;
|
|
5
|
+
}> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
7
|
+
attrs: any;
|
|
8
|
+
slots: {};
|
|
9
|
+
emit: {};
|
|
10
|
+
}>) => import('vue').VNode & {
|
|
11
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_PrettifyLocal<T> = {
|
|
15
|
+
[K in keyof T]: T[K];
|
|
16
|
+
} & {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent, getCurrentInstance, watchEffect, toDisplayString } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "RowValue",
|
|
4
|
+
props: {
|
|
5
|
+
value: {}
|
|
6
|
+
},
|
|
7
|
+
setup(__props) {
|
|
8
|
+
const props = __props;
|
|
9
|
+
const instance = getCurrentInstance().proxy;
|
|
10
|
+
watchEffect((cleanup) => {
|
|
11
|
+
const unSub = props.value.on("change", (value) => {
|
|
12
|
+
if (instance.$el) {
|
|
13
|
+
instance.$el.textContent = value;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
cleanup(unSub);
|
|
17
|
+
});
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return toDisplayString(_ctx.value.get());
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
_sfc_main as default
|
|
25
|
+
};
|
|
@@ -11,14 +11,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
11
11
|
mode: string;
|
|
12
12
|
initial: boolean;
|
|
13
13
|
multiple: boolean;
|
|
14
|
+
unwrapElement: boolean;
|
|
15
|
+
anchorX: string;
|
|
14
16
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AnimatePresenceProps>, {
|
|
15
17
|
mode: string;
|
|
16
18
|
initial: boolean;
|
|
17
19
|
multiple: boolean;
|
|
20
|
+
unwrapElement: boolean;
|
|
21
|
+
anchorX: string;
|
|
18
22
|
}>>>, {
|
|
19
23
|
initial: boolean;
|
|
20
24
|
mode: "wait" | "popLayout" | "sync";
|
|
21
25
|
multiple: boolean;
|
|
26
|
+
unwrapElement: boolean;
|
|
27
|
+
anchorX: "left" | "right";
|
|
22
28
|
}, {}>;
|
|
23
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
30
|
export default _default;
|
|
@@ -2,7 +2,6 @@ import { defineComponent, onMounted, onUnmounted, computed, openBlock, createBlo
|
|
|
2
2
|
import { mountedStates } from "../../state/motion-state.mjs";
|
|
3
3
|
import { provideAnimatePresence, removeDoneCallback, doneCallbacks } from "../presence.mjs";
|
|
4
4
|
import { usePopLayout } from "./use-pop-layout.mjs";
|
|
5
|
-
import { frame } from "../../external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/frameloop/frame.mjs";
|
|
6
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
6
|
...{
|
|
8
7
|
name: "AnimatePresence",
|
|
@@ -15,7 +14,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
14
|
multiple: { type: Boolean, default: false },
|
|
16
15
|
as: {},
|
|
17
16
|
custom: {},
|
|
18
|
-
onExitComplete: {}
|
|
17
|
+
onExitComplete: {},
|
|
18
|
+
unwrapElement: { type: Boolean, default: false },
|
|
19
|
+
anchorX: { default: "left" }
|
|
19
20
|
},
|
|
20
21
|
setup(__props) {
|
|
21
22
|
const props = __props;
|
|
@@ -27,24 +28,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
28
|
onMounted(() => {
|
|
28
29
|
presenceContext.initial = void 0;
|
|
29
30
|
});
|
|
31
|
+
const { addPopStyle, removePopStyle, styles } = usePopLayout(props);
|
|
30
32
|
function enter(el) {
|
|
31
33
|
const state = mountedStates.get(el);
|
|
32
34
|
if (!state) {
|
|
33
35
|
return;
|
|
34
36
|
}
|
|
37
|
+
removePopStyle(state);
|
|
35
38
|
state.isVShow = true;
|
|
36
39
|
removeDoneCallback(el);
|
|
37
40
|
state.setActive("exit", false);
|
|
38
41
|
}
|
|
39
|
-
const { addPopStyle, removePopStyle, styles } = usePopLayout(props);
|
|
40
42
|
const exitDom = /* @__PURE__ */ new Map();
|
|
41
43
|
onUnmounted(() => {
|
|
42
44
|
exitDom.clear();
|
|
43
45
|
});
|
|
44
46
|
function exit(el, done) {
|
|
45
|
-
|
|
47
|
+
let state = mountedStates.get(el);
|
|
46
48
|
if (!state) {
|
|
47
|
-
|
|
49
|
+
if (!props.unwrapElement) {
|
|
50
|
+
return done();
|
|
51
|
+
}
|
|
52
|
+
el = el.firstElementChild;
|
|
53
|
+
state = mountedStates.get(el);
|
|
48
54
|
}
|
|
49
55
|
exitDom.set(el, true);
|
|
50
56
|
removeDoneCallback(el);
|
|
@@ -64,9 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
70
|
if (!styles.has(state)) {
|
|
65
71
|
state.willUpdate("done");
|
|
66
72
|
} else {
|
|
67
|
-
|
|
68
|
-
removePopStyle(state);
|
|
69
|
-
});
|
|
73
|
+
removePopStyle(state);
|
|
70
74
|
}
|
|
71
75
|
done();
|
|
72
76
|
if (!(el == null ? void 0 : el.isConnected)) {
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { useMotionConfig } from "../motion-config/context.mjs";
|
|
2
|
+
import { frame } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
|
|
2
3
|
function usePopLayout(props) {
|
|
3
4
|
const styles = /* @__PURE__ */ new WeakMap();
|
|
4
5
|
const config = useMotionConfig();
|
|
5
6
|
function addPopStyle(state) {
|
|
6
7
|
if (props.mode !== "popLayout")
|
|
7
8
|
return;
|
|
9
|
+
const parent = state.element.offsetParent;
|
|
10
|
+
const parentWidth = parent instanceof HTMLElement ? parent.offsetWidth || 0 : 0;
|
|
8
11
|
const size = {
|
|
9
12
|
height: state.element.offsetHeight || 0,
|
|
10
13
|
width: state.element.offsetWidth || 0,
|
|
11
14
|
top: state.element.offsetTop,
|
|
12
|
-
left: state.element.offsetLeft
|
|
15
|
+
left: state.element.offsetLeft,
|
|
16
|
+
right: 0
|
|
13
17
|
};
|
|
18
|
+
size.right = parentWidth - size.width - size.left;
|
|
19
|
+
const x = props.anchorX === "left" ? `left: ${size.left}` : `right: ${size.right}`;
|
|
14
20
|
state.element.dataset.motionPopId = state.id;
|
|
15
21
|
const style = document.createElement("style");
|
|
16
22
|
if (config.value.nonce) {
|
|
@@ -18,11 +24,6 @@ function usePopLayout(props) {
|
|
|
18
24
|
}
|
|
19
25
|
styles.set(state, style);
|
|
20
26
|
document.head.appendChild(style);
|
|
21
|
-
style.textContent = `
|
|
22
|
-
[data-motion-pop-id="${state.id}"] {
|
|
23
|
-
animation: pop 0.3s ease-in-out;
|
|
24
|
-
}
|
|
25
|
-
`;
|
|
26
27
|
if (style.sheet) {
|
|
27
28
|
style.sheet.insertRule(`
|
|
28
29
|
[data-motion-pop-id="${state.id}"] {
|
|
@@ -30,8 +31,8 @@ function usePopLayout(props) {
|
|
|
30
31
|
width: ${size.width}px !important;
|
|
31
32
|
height: ${size.height}px !important;
|
|
32
33
|
top: ${size.top}px !important;
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
${x}px !important;
|
|
35
|
+
}
|
|
35
36
|
`);
|
|
36
37
|
}
|
|
37
38
|
}
|
|
@@ -40,7 +41,7 @@ function usePopLayout(props) {
|
|
|
40
41
|
if (!style)
|
|
41
42
|
return;
|
|
42
43
|
styles.delete(state);
|
|
43
|
-
|
|
44
|
+
frame.render(() => {
|
|
44
45
|
document.head.removeChild(style);
|
|
45
46
|
});
|
|
46
47
|
}
|
|
@@ -140,8 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
140
|
state.update(getMotionProps());
|
|
141
141
|
});
|
|
142
142
|
function getProps() {
|
|
143
|
-
|
|
144
|
-
const isSVG = ((_a = state.visualElement) == null ? void 0 : _a.type) === "svg";
|
|
143
|
+
const isSVG = state.visualElement.type === "svg";
|
|
145
144
|
const attrsProps = { ...attrs };
|
|
146
145
|
Object.keys(attrs).forEach((key) => {
|
|
147
146
|
if (isMotionValue(attrs[key]))
|
|
@@ -149,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
148
|
});
|
|
150
149
|
let styleProps = {
|
|
151
150
|
...props.style,
|
|
152
|
-
...isSVG ? {} :
|
|
151
|
+
...isSVG ? {} : state.visualElement.latestValues
|
|
153
152
|
};
|
|
154
153
|
if (isSVG) {
|
|
155
154
|
const { attributes, style } = convertSvgStyleToAttributes(state.target);
|
|
@@ -97,12 +97,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
order.sort(compareMin);
|
|
98
98
|
},
|
|
99
99
|
updateOrder: (item, offset, velocity) => {
|
|
100
|
+
var _a;
|
|
100
101
|
if (isReordering)
|
|
101
102
|
return;
|
|
102
103
|
const newOrder = checkReorder(order, item, offset, velocity);
|
|
103
104
|
if (order !== newOrder) {
|
|
104
105
|
isReordering = true;
|
|
105
|
-
props["onUpdate:values"](
|
|
106
|
+
(_a = props["onUpdate:values"]) == null ? void 0 : _a.call(
|
|
107
|
+
props,
|
|
106
108
|
newOrder.map(getValue).filter((value) => props.values.includes(value))
|
|
107
109
|
);
|
|
108
110
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
2
|
-
import { motionValue } from "../../external/.pnpm/framer-motion@
|
|
2
|
+
import { motionValue } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/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,9 +1,9 @@
|
|
|
1
|
-
import { GroupPlaybackControls } from "../../../../../../../motion-dom@
|
|
2
|
-
import "../../../../../../../motion-utils@
|
|
1
|
+
import { GroupPlaybackControls } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
|
|
2
|
+
import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
3
3
|
import { animateSequence } from "./sequence.mjs";
|
|
4
4
|
import { animateSubject } from "./subject.mjs";
|
|
5
5
|
function isSequence(value) {
|
|
6
|
-
return Array.isArray(value) &&
|
|
6
|
+
return Array.isArray(value) && Array.isArray(value[0]);
|
|
7
7
|
}
|
|
8
8
|
function createScopedAnimate(scope) {
|
|
9
9
|
function scopedAnimate(subjectOrSequence, optionsOrKeyframes, options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../../../../motion-utils@
|
|
2
|
-
import { resolveElements } from "../../../../../../../motion-dom@
|
|
1
|
+
import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { resolveElements } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
3
3
|
import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
|
|
4
4
|
function resolveSubjects(subject, keyframes, scope, selectorCache) {
|
|
5
5
|
if (typeof subject === "string" && isDOMKeyframes(keyframes)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { invariant } from "../../../../../../../motion-utils@
|
|
1
|
+
import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
2
|
import { visualElementStore } from "../../render/store.mjs";
|
|
3
3
|
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
4
4
|
import { animateTarget } from "../interfaces/visual-element-target.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../../../../../motion-utils@
|
|
2
|
-
import { noop } from "../../../../../../../motion-utils@
|
|
3
|
-
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@
|
|
4
|
-
import { isGenerator } from "../../../../../../../motion-dom@
|
|
5
|
-
import { attachTimeline } from "../../../../../../../motion-dom@
|
|
6
|
-
import { isWaapiSupportedEasing } from "../../../../../../../motion-dom@
|
|
7
|
-
import { supportsLinearEasing } from "../../../../../../../motion-dom@
|
|
1
|
+
import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { noop } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
|
|
3
|
+
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
4
|
+
import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
5
|
+
import { attachTimeline } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs";
|
|
6
|
+
import { isWaapiSupportedEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
|
|
7
|
+
import { supportsLinearEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
|
|
8
8
|
import { anticipate } from "../../easing/anticipate.mjs";
|
|
9
9
|
import { backInOut } from "../../easing/back.mjs";
|
|
10
10
|
import { circInOut } from "../../easing/circ.mjs";
|
|
@@ -59,8 +59,9 @@ class AcceleratedAnimation extends BaseAnimation {
|
|
|
59
59
|
this.resolver.scheduleResolve();
|
|
60
60
|
}
|
|
61
61
|
initPlayback(keyframes, finalKeyframe) {
|
|
62
|
+
var _a;
|
|
62
63
|
let { duration = 300, times, ease, type, motionValue, name, startTime } = this.options;
|
|
63
|
-
if (!motionValue.owner ||
|
|
64
|
+
if (!((_a = motionValue.owner) === null || _a === void 0 ? void 0 : _a.current)) {
|
|
64
65
|
return false;
|
|
65
66
|
}
|
|
66
67
|
if (typeof ease === "string" && supportsLinearEasing() && isUnsupportedEase(ease)) {
|
|
@@ -231,15 +232,11 @@ class AcceleratedAnimation extends BaseAnimation {
|
|
|
231
232
|
}
|
|
232
233
|
static supports(options) {
|
|
233
234
|
const { motionValue, name, repeatDelay, repeatType, damping, type } = options;
|
|
234
|
-
|
|
235
|
-
return false;
|
|
236
|
-
}
|
|
237
|
-
const { onUpdate, transformTemplate } = motionValue.owner.getProps();
|
|
238
|
-
return supportsWaapi() && name && acceleratedValues.has(name) && /**
|
|
235
|
+
return supportsWaapi() && name && acceleratedValues.has(name) && motionValue && motionValue.owner && motionValue.owner.current instanceof HTMLElement && /**
|
|
239
236
|
* If we're outputting values to onUpdate then we can't use WAAPI as there's
|
|
240
237
|
* no way to read the value from WAAPI every frame.
|
|
241
238
|
*/
|
|
242
|
-
!onUpdate && !
|
|
239
|
+
!motionValue.owner.getProps().onUpdate && !repeatDelay && repeatType !== "mirror" && damping !== 0 && type !== "inertia";
|
|
243
240
|
}
|
|
244
241
|
}
|
|
245
242
|
export {
|
|
@@ -56,8 +56,8 @@ class BaseAnimation {
|
|
|
56
56
|
const { name, type, velocity, delay, onComplete, onUpdate, isGenerator } = this.options;
|
|
57
57
|
if (!isGenerator && !canAnimate(keyframes, name, type, velocity)) {
|
|
58
58
|
if (!delay) {
|
|
59
|
-
onUpdate
|
|
60
|
-
onComplete
|
|
59
|
+
onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(getFinalKeyframe(keyframes, this.options, finalKeyframe));
|
|
60
|
+
onComplete === null || onComplete === void 0 ? void 0 : onComplete();
|
|
61
61
|
this.resolveFinishedPromise();
|
|
62
62
|
return;
|
|
63
63
|
} else {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { invariant } from "../../../../../../../motion-utils@
|
|
2
|
-
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@
|
|
3
|
-
import { calcGeneratorDuration } from "../../../../../../../motion-dom@
|
|
4
|
-
import { isGenerator } from "../../../../../../../motion-dom@
|
|
1
|
+
import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
3
|
+
import { calcGeneratorDuration } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
|
|
4
|
+
import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
5
5
|
import { KeyframeResolver } from "../../render/utils/KeyframesResolver.mjs";
|
|
6
6
|
import { clamp } from "../../utils/clamp.mjs";
|
|
7
7
|
import { mix } from "../../utils/mix/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { warning } from "../../../../../../../../motion-utils@
|
|
2
|
-
import { isGenerator } from "../../../../../../../../motion-dom@
|
|
1
|
+
import { warning } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { isGenerator } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
3
3
|
import { isAnimatable } from "../../utils/is-animatable.mjs";
|
|
4
4
|
function hasKeyframesChanged(keyframes) {
|
|
5
5
|
const current = keyframes[0];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { invariant } from "../../../../../../../../motion-utils@
|
|
2
|
-
import { secondsToMilliseconds } from "../../../../../../../../motion-utils@
|
|
3
|
-
import { createGeneratorEasing } from "../../../../../../../../motion-dom@
|
|
4
|
-
import { isGenerator } from "../../../../../../../../motion-dom@
|
|
5
|
-
import { NativeAnimationControls } from "../../../../../../../../motion-dom@
|
|
6
|
-
import { supportsLinearEasing } from "../../../../../../../../motion-dom@
|
|
1
|
+
import { invariant } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { secondsToMilliseconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
3
|
+
import { createGeneratorEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
|
|
4
|
+
import { isGenerator } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
5
|
+
import { NativeAnimationControls } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs";
|
|
6
|
+
import { supportsLinearEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
|
|
7
7
|
import { startWaapiAnimation } from "./index.mjs";
|
|
8
8
|
import { browserNumberValueTypes } from "../../../render/dom/value-types/number-browser.mjs";
|
|
9
9
|
import { getFinalKeyframe } from "./utils/get-final-keyframe.mjs";
|
|
@@ -61,8 +61,8 @@ class NativeAnimation extends NativeAnimationControls {
|
|
|
61
61
|
this.options = options;
|
|
62
62
|
this.updateFinishedPromise();
|
|
63
63
|
this.removeAnimation = () => {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
var _a;
|
|
65
|
+
return (_a = state.get(element)) === null || _a === void 0 ? void 0 : _a.delete(valueName);
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
if (!supportsWaapi()) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { invariant } from "../../../../../../../../motion-utils@
|
|
2
|
-
import { secondsToMilliseconds } from "../../../../../../../../motion-utils@
|
|
3
|
-
import { getValueTransition } from "../../../../../../../../motion-dom@
|
|
4
|
-
import { resolveElements } from "../../../../../../../../motion-dom@
|
|
1
|
+
import { invariant } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { secondsToMilliseconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
3
|
+
import { getValueTransition } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
4
|
+
import { resolveElements } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs";
|
|
5
5
|
import { NativeAnimation } from "./NativeAnimation.mjs";
|
|
6
6
|
function animateElements(elementOrSelector, keyframes, options, scope) {
|
|
7
7
|
const elements = resolveElements(elementOrSelector, scope);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GroupPlaybackControls } from "../../../../../../../../motion-dom@
|
|
2
|
-
import "../../../../../../../../motion-utils@
|
|
1
|
+
import { GroupPlaybackControls } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
|
|
2
|
+
import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
3
3
|
import { animateElements } from "./animate-elements.mjs";
|
|
4
4
|
const createScopedWaapiAnimate = (scope) => {
|
|
5
5
|
function scopedAnimate(elementOrSelector, keyframes, options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../../../../../motion-utils@
|
|
2
|
-
import { mapEasingToNativeEasing } from "../../../../../../../../motion-dom@
|
|
1
|
+
import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { mapEasingToNativeEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
|
|
3
3
|
function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = "loop", ease = "easeInOut", times } = {}) {
|
|
4
4
|
const keyframeOptions = { [valueName]: keyframes };
|
|
5
5
|
if (times)
|
|
@@ -7,7 +7,7 @@ function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duratio
|
|
|
7
7
|
const easing = mapEasingToNativeEasing(ease, duration);
|
|
8
8
|
if (Array.isArray(easing))
|
|
9
9
|
keyframeOptions.easing = easing;
|
|
10
|
-
|
|
10
|
+
return element.animate(keyframeOptions, {
|
|
11
11
|
delay,
|
|
12
12
|
duration,
|
|
13
13
|
easing: !Array.isArray(easing) ? easing : "linear",
|
|
@@ -15,7 +15,6 @@ function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duratio
|
|
|
15
15
|
iterations: repeat + 1,
|
|
16
16
|
direction: repeatType === "reverse" ? "alternate" : "normal"
|
|
17
17
|
});
|
|
18
|
-
return animation;
|
|
19
18
|
}
|
|
20
19
|
export {
|
|
21
20
|
startWaapiAnimation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../../../../../../motion-utils@
|
|
2
|
-
import { memo } from "../../../../../../../../../motion-utils@
|
|
1
|
+
import "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { memo } from "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/memo.mjs";
|
|
3
3
|
const supportsPartialKeyframes = /* @__PURE__ */ memo(() => {
|
|
4
4
|
try {
|
|
5
5
|
document.createElement("div").animate({ opacity: [1] });
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { memo } from "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/memo.mjs";
|
|
3
|
+
const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
|
|
4
|
+
export {
|
|
5
|
+
supportsWaapi
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { warning } from "../../../../../../../../motion-utils@
|
|
2
|
-
import { secondsToMilliseconds, millisecondsToSeconds } from "../../../../../../../../motion-utils@
|
|
1
|
+
import { warning } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { secondsToMilliseconds, millisecondsToSeconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
3
3
|
import { clamp } from "../../../utils/clamp.mjs";
|
|
4
4
|
import { springDefaults } from "./defaults.mjs";
|
|
5
5
|
const safeMin = 1e-3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../../../../../../motion-utils@
|
|
2
|
-
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../../motion-utils@
|
|
3
|
-
import { calcGeneratorDuration, maxGeneratorDuration } from "../../../../../../../../motion-dom@
|
|
4
|
-
import { generateLinearEasing } from "../../../../../../../../motion-dom@
|
|
1
|
+
import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
3
|
+
import { calcGeneratorDuration, maxGeneratorDuration } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
|
|
4
|
+
import { generateLinearEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs";
|
|
5
5
|
import { clamp } from "../../../utils/clamp.mjs";
|
|
6
6
|
import { calcGeneratorVelocity } from "../utils/velocity.mjs";
|
|
7
7
|
import { springDefaults } from "./defaults.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GroupPlaybackControls } from "../../../../../../../motion-dom@
|
|
2
|
-
import { getValueTransition } from "../../../../../../../motion-dom@
|
|
3
|
-
import "../../../../../../../motion-utils@
|
|
4
|
-
import { secondsToMilliseconds } from "../../../../../../../motion-utils@
|
|
1
|
+
import { GroupPlaybackControls } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
|
|
2
|
+
import { getValueTransition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
3
|
+
import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
4
|
+
import { secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
5
5
|
import { frame } from "../../frameloop/frame.mjs";
|
|
6
6
|
import { AcceleratedAnimation } from "../animators/AcceleratedAnimation.mjs";
|
|
7
7
|
import { MainThreadAnimation } from "../animators/MainThreadAnimation.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../../../../motion-utils@
|
|
2
|
-
import { getValueTransition } from "../../../../../../../motion-dom@
|
|
1
|
+
import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { getValueTransition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
3
3
|
import { positionalKeys } from "../../render/html/utils/keys-position.mjs";
|
|
4
4
|
import { setTarget } from "../../render/utils/setters.mjs";
|
|
5
5
|
import { addValueToWillChange } from "../../value/use-will-change/add-will-change.mjs";
|