motion-v 1.0.0-beta.3 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +3089 -3584
- 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 +2 -1
- package/dist/es/components/motion/use-motion-state.d.ts +706 -706
- package/dist/es/components/reorder/index.d.ts +2808 -2808
- package/dist/es/components/reorder/utils.d.ts +1 -1
- package/dist/es/components/reorder/utils.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/index.mjs +3 -2
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/single-value.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +247 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +102 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +281 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation → framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators}/drivers/driver-frameloop.mjs +3 -2
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation → framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators}/utils/can-animate.mjs +3 -3
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +108 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +32 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +14 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +22 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +10 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs → framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs} +2 -1
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/keyframes.mjs +5 -5
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/spring/find.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/spring/index.mjs +6 -15
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/utils/velocity.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +24 -16
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +6 -8
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/create.mjs +10 -10
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +4 -3
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/animation}/utils/is-none.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/stagger.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/cubic-bezier.mjs +2 -1
- package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/steps.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/utils/get-easing-for-segment.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/utils/map.mjs +4 -7
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +14 -8
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +25 -48
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/shared/stack.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +2 -2
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/transform.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/VisualElement.mjs +19 -15
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom}/DOMKeyframesResolver.mjs +9 -9
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +7 -6
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/scroll/index.mjs +70 -0
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +3 -2
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom}/scroll/observe.mjs +3 -2
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +4 -3
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom}/utils/css-variables-conversion.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom}/utils/unit-conversion.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/utils → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/animatable-none.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/maps → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/defaults.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/dimensions.mjs +3 -3
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/find.mjs +9 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/maps/number.mjs → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs} +4 -13
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/number.mjs +18 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/maps → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/transform.mjs +2 -2
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/int.mjs → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs} +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +3 -3
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +4 -4
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +3 -3
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/render → framer-motion@12.5.0/external/framer-motion/dist/es/render/html}/utils/keys-transform.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/render/html}/utils/make-none-animatable.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +15 -2
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +8 -9
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/svg/utils/measure.mjs +15 -0
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/path.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +1 -1
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +12 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/render/utils}/KeyframesResolver.mjs +28 -26
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +2 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/motion-values.mjs +4 -3
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +1 -1
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/setters.mjs +3 -5
- package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/delay.mjs +5 -4
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/interpolate.mjs +6 -7
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/color.mjs +4 -4
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/complex.mjs +8 -7
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/offsets/fill.mjs +3 -2
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/resolve-value.mjs +11 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/transform.mjs +8 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/color/rgba.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/complex/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/numbers/index.mjs +1 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/numbers/units.mjs +3 -3
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +10 -0
- package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +9 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/GroupAnimation.mjs → motion-dom@12.5.0/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs} +15 -8
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/controls/Group.mjs +9 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +2 -1
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +6 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +6 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +81 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +7 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +37 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +3 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/batcher.mjs +4 -6
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/frame.mjs +2 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/order.mjs +0 -4
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/sync-time.mjs +2 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +1 -1
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/gestures/press/index.mjs +74 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +12 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/utils/resolve-elements.mjs +2 -1
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/utils/supports/flags.mjs +6 -0
- package/dist/es/external/.pnpm/motion-dom@12.5.0/external/motion-dom/dist/es/utils/supports/memo.mjs +13 -0
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +2 -1
- package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/value/index.mjs +10 -12
- package/dist/es/external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/array.mjs +13 -0
- package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/errors.mjs +3 -4
- package/dist/es/external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/global-config.mjs +7 -0
- package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/warn-once.mjs +0 -6
- package/dist/es/features/animation/animation.mjs +4 -3
- package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +3 -2
- package/dist/es/features/gestures/drag/index.mjs +2 -1
- package/dist/es/features/gestures/focus/index.mjs +1 -1
- package/dist/es/features/gestures/hover/index.mjs +3 -2
- package/dist/es/features/gestures/in-view/index.mjs +3 -2
- package/dist/es/features/gestures/pan/PanSession.mjs +5 -4
- package/dist/es/features/gestures/pan/index.mjs +3 -2
- package/dist/es/features/gestures/press/index.mjs +3 -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 +36 -243
- package/dist/es/state/animate-variants-children.d.ts +15 -0
- package/dist/es/state/create-visual-element.mjs +2 -2
- package/dist/es/state/motion-state.mjs +6 -2
- package/dist/es/state/utils.d.ts +2 -2
- package/dist/es/types/index.d.ts +1 -0
- package/dist/es/types/transform.d.ts +23 -0
- package/dist/es/utils/index.d.ts +1 -0
- package/dist/es/utils/time-conversion.mjs +8 -0
- package/dist/es/utils/use-animation-frame.mjs +2 -1
- package/dist/es/utils/use-in-view.mjs +1 -1
- package/dist/es/value/use-combine-values.mjs +3 -2
- package/dist/es/value/use-computed.mjs +2 -1
- package/dist/es/value/use-scroll.d.ts +4 -4
- package/dist/es/value/use-scroll.mjs +3 -2
- package/dist/es/value/use-spring.mjs +7 -6
- package/dist/es/value/use-time.d.ts +1 -1
- package/dist/es/value/use-time.mjs +2 -1
- package/dist/es/value/use-transform.d.ts +2 -1
- package/dist/es/value/use-transform.mjs +1 -1
- package/dist/es/value/use-velocity.mjs +3 -2
- package/package.json +4 -3
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +0 -73
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +0 -13
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +0 -17
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +0 -18
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -9
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +0 -27
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -15
- package/dist/es/external/.pnpm/framer-motion@12.9.0/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -7
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +0 -133
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -10
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/JSAnimation.mjs +0 -261
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/NativeAnimation.mjs +0 -150
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +0 -44
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -14
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -6
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes/get-final.mjs +0 -10
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +0 -11
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +0 -8
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -29
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/active-animations.mjs +0 -11
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -6
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +0 -18
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +0 -4
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +0 -21
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs +0 -15
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +0 -36
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +0 -26
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +0 -14
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +0 -40
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +0 -19
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/effects/style-effect.mjs +0 -30
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -11
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs +0 -25
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/gestures/press/index.mjs +0 -53
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/render/dom/is-css-var.mjs +0 -4
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/render/dom/style-computed.mjs +0 -8
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/render/dom/style-set.mjs +0 -7
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/stats/animation-count.mjs +0 -8
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/stats/index.mjs +0 -114
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -4
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/utils/supports/memo.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/value/map-value.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/value/subscribe-value.mjs +0 -13
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/value/transform-value.mjs +0 -14
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/value/types/utils/find.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/index.mjs +0 -65
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/queue.mjs +0 -45
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/start.mjs +0 -115
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/utils/choose-layer-type.mjs +0 -12
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/utils/css.mjs +0 -35
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/utils/get-layer-name.mjs +0 -9
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/utils/get-view-animations.mjs +0 -13
- package/dist/es/external/.pnpm/motion-dom@12.9.0/external/motion-dom/dist/es/view/utils/has-target.mjs +0 -6
- package/dist/es/external/.pnpm/motion-utils@12.8.3/external/motion-utils/dist/es/array.mjs +0 -23
- package/dist/es/external/.pnpm/motion-utils@12.8.3/external/motion-utils/dist/es/global-config.mjs +0 -4
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/waapi → framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators}/utils/accelerated-values.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/inertia.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/generators/spring/defaults.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/animation/utils/is-animatable.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/anticipate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/back.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/circ.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/ease.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/modifiers/mirror.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/modifiers/reverse.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils → framer-motion@12.5.0/external/framer-motion}/dist/es/easing/utils/is-easing-array.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom}/utils/is-css-variable.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/utils → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/get-as-type.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types}/test.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/auto.mjs → framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs} +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/render → framer-motion@12.5.0/external/framer-motion/dist/es/render/html}/utils/keys-position.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/render/dom → framer-motion@12.5.0/external/framer-motion/dist/es/render/html/utils}/parse-transform.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/store.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/clamp.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/value/types/color → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/hsla-to-rgba.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/is-numerical-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/is-zero-value-string.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/immediate.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/number.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/utils/mix/visibility.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/offsets/default.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/offsets/time.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/pipe.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es → framer-motion@12.5.0/external/framer-motion/dist/es/utils}/wrap.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/color/hex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/color/hsla.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/color/index.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/color/utils.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/complex/filter.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/utils/color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/utils/float-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/utils/is-nullish.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/utils/sanitize.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0/external/motion-dom → framer-motion@12.5.0/external/framer-motion}/dist/es/value/types/utils/single-color-regex.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
- /package/dist/es/external/.pnpm/{framer-motion@12.9.0 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3/external/motion-utils/dist/es/easing → motion-dom@12.5.0/external/motion-dom/dist/es}/utils/is-bezier-definition.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-dom@12.9.0 → motion-dom@12.5.0}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/memo.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/noop.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/progress.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/subscription-manager.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
- /package/dist/es/external/.pnpm/{motion-utils@12.8.3 → motion-utils@12.5.0}/external/motion-utils/dist/es/velocity-per-second.mjs +0 -0
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
import { GroupPlaybackControls } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/controls/Group.mjs";
|
|
2
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
3
|
+
import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
4
|
+
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
5
|
+
import { frame } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
6
|
+
import { AcceleratedAnimation } from "../animators/AcceleratedAnimation.mjs";
|
|
7
|
+
import { MainThreadAnimation } from "../animators/MainThreadAnimation.mjs";
|
|
1
8
|
import { getFinalKeyframe } from "../animators/waapi/utils/get-final-keyframe.mjs";
|
|
2
9
|
import { getDefaultTransition } from "../utils/default-transitions.mjs";
|
|
3
10
|
import { isTransitionDefined } from "../utils/is-transition-defined.mjs";
|
|
4
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
5
|
-
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/time-conversion.mjs";
|
|
6
|
-
import { MotionGlobalConfig } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/global-config.mjs";
|
|
7
|
-
import { frame } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
8
|
-
import { AsyncMotionValueAnimation } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs";
|
|
9
11
|
const animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {
|
|
10
12
|
const valueTransition = getValueTransition(transition, name) || {};
|
|
11
13
|
const delay = valueTransition.delay || transition.delay || 0;
|
|
12
14
|
let { elapsed = 0 } = transition;
|
|
13
15
|
elapsed = elapsed - secondsToMilliseconds(delay);
|
|
14
|
-
|
|
16
|
+
let options = {
|
|
15
17
|
keyframes: Array.isArray(target) ? target : [null, target],
|
|
16
18
|
ease: "easeOut",
|
|
17
19
|
velocity: value.getVelocity(),
|
|
@@ -30,10 +32,17 @@ const animateMotionValue = (name, value, target, transition = {}, element, isHan
|
|
|
30
32
|
element: isHandoff ? void 0 : element
|
|
31
33
|
};
|
|
32
34
|
if (!isTransitionDefined(valueTransition)) {
|
|
33
|
-
|
|
35
|
+
options = {
|
|
36
|
+
...options,
|
|
37
|
+
...getDefaultTransition(name, options)
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
if (options.duration) {
|
|
41
|
+
options.duration = secondsToMilliseconds(options.duration);
|
|
42
|
+
}
|
|
43
|
+
if (options.repeatDelay) {
|
|
44
|
+
options.repeatDelay = secondsToMilliseconds(options.repeatDelay);
|
|
34
45
|
}
|
|
35
|
-
options.duration && (options.duration = secondsToMilliseconds(options.duration));
|
|
36
|
-
options.repeatDelay && (options.repeatDelay = secondsToMilliseconds(options.repeatDelay));
|
|
37
46
|
if (options.from !== void 0) {
|
|
38
47
|
options.keyframes[0] = options.from;
|
|
39
48
|
}
|
|
@@ -44,11 +53,6 @@ const animateMotionValue = (name, value, target, transition = {}, element, isHan
|
|
|
44
53
|
shouldSkip = true;
|
|
45
54
|
}
|
|
46
55
|
}
|
|
47
|
-
if (MotionGlobalConfig.instantAnimations || MotionGlobalConfig.skipAnimations) {
|
|
48
|
-
shouldSkip = true;
|
|
49
|
-
options.duration = 0;
|
|
50
|
-
options.delay = 0;
|
|
51
|
-
}
|
|
52
56
|
options.allowFlatten = !valueTransition.type && !valueTransition.ease;
|
|
53
57
|
if (shouldSkip && !isHandoff && value.get() !== void 0) {
|
|
54
58
|
const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);
|
|
@@ -57,10 +61,14 @@ const animateMotionValue = (name, value, target, transition = {}, element, isHan
|
|
|
57
61
|
options.onUpdate(finalKeyframe);
|
|
58
62
|
options.onComplete();
|
|
59
63
|
});
|
|
60
|
-
return;
|
|
64
|
+
return new GroupPlaybackControls([]);
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
|
-
|
|
67
|
+
if (!isHandoff && AcceleratedAnimation.supports(options)) {
|
|
68
|
+
return new AcceleratedAnimation(options);
|
|
69
|
+
} else {
|
|
70
|
+
return new MainThreadAnimation(options);
|
|
71
|
+
}
|
|
64
72
|
};
|
|
65
73
|
export {
|
|
66
74
|
animateMotionValue
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
+
import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
3
|
+
import { frame } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
4
|
+
import { positionalKeys } from "../../render/html/utils/keys-position.mjs";
|
|
1
5
|
import { setTarget } from "../../render/utils/setters.mjs";
|
|
2
6
|
import { addValueToWillChange } from "../../value/use-will-change/add-will-change.mjs";
|
|
3
7
|
import { getOptimisedAppearId } from "../optimized-appear/get-appear-id.mjs";
|
|
4
8
|
import { animateMotionValue } from "./motion-value.mjs";
|
|
5
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
6
|
-
import { frame } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
7
|
-
import { positionalKeys } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/render/utils/keys-position.mjs";
|
|
8
9
|
function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {
|
|
9
10
|
const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
|
|
10
11
|
needsAnimating[key] = false;
|
|
11
12
|
return shouldBlock;
|
|
12
13
|
}
|
|
13
14
|
function animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {
|
|
15
|
+
var _a;
|
|
14
16
|
let { transition = visualElement.getDefaultTransition(), transitionEnd, ...target } = targetAndTransition;
|
|
15
17
|
if (transitionOverride)
|
|
16
18
|
transition = transitionOverride;
|
|
17
19
|
const animations = [];
|
|
18
20
|
const animationTypeState = type && visualElement.animationState && visualElement.animationState.getState()[type];
|
|
19
21
|
for (const key in target) {
|
|
20
|
-
const value = visualElement.getValue(key, visualElement.latestValues[key]
|
|
22
|
+
const value = visualElement.getValue(key, (_a = visualElement.latestValues[key]) !== null && _a !== void 0 ? _a : null);
|
|
21
23
|
const valueTarget = target[key];
|
|
22
24
|
if (valueTarget === void 0 || animationTypeState && shouldBlockAnimation(animationTypeState, key)) {
|
|
23
25
|
continue;
|
|
@@ -26,10 +28,6 @@ function animateTarget(visualElement, targetAndTransition, { delay = 0, transiti
|
|
|
26
28
|
delay,
|
|
27
29
|
...getValueTransition(transition || {}, key)
|
|
28
30
|
};
|
|
29
|
-
const currentValue = value.get();
|
|
30
|
-
if (currentValue !== void 0 && !value.isAnimating && !Array.isArray(valueTarget) && valueTarget === currentValue && !valueTransition.velocity) {
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
31
|
let isHandoff = false;
|
|
34
32
|
if (window.MotionHandoffAnimation) {
|
|
35
33
|
const appearId = getOptimisedAppearId(visualElement);
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { invariant } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { progress } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/progress.mjs";
|
|
3
|
+
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/time-conversion.mjs";
|
|
4
|
+
import { createGeneratorEasing } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
|
|
5
|
+
import { isGenerator } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
6
|
+
import { getEasingForSegment } from "../../easing/utils/get-easing-for-segment.mjs";
|
|
7
|
+
import { defaultOffset } from "../../utils/offsets/default.mjs";
|
|
8
|
+
import { fillOffset } from "../../utils/offsets/fill.mjs";
|
|
1
9
|
import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
|
|
2
10
|
import { resolveSubjects } from "../animate/resolve-subjects.mjs";
|
|
3
11
|
import { calculateRepeatDuration } from "./utils/calc-repeat-duration.mjs";
|
|
@@ -5,14 +13,6 @@ import { calcNextTime } from "./utils/calc-time.mjs";
|
|
|
5
13
|
import { addKeyframes } from "./utils/edit.mjs";
|
|
6
14
|
import { normalizeTimes } from "./utils/normalize-times.mjs";
|
|
7
15
|
import { compareByTime } from "./utils/sort.mjs";
|
|
8
|
-
import { defaultOffset } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs";
|
|
9
|
-
import { createGeneratorEasing } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
|
|
10
|
-
import { fillOffset } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs";
|
|
11
|
-
import { invariant } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/errors.mjs";
|
|
12
|
-
import { getEasingForSegment } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs";
|
|
13
|
-
import { progress } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/progress.mjs";
|
|
14
|
-
import { isGenerator } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
|
|
15
|
-
import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/time-conversion.mjs";
|
|
16
16
|
const defaultSegmentEasing = "easeInOut";
|
|
17
17
|
const MAX_REPEAT = 20;
|
|
18
18
|
function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...sequenceTransition } = {}, scope, generators) {
|
|
@@ -44,7 +44,7 @@ function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...seq
|
|
|
44
44
|
let { ease = defaultTransition.ease || "easeOut", duration } = valueTransition;
|
|
45
45
|
const calculatedDelay = typeof delay === "function" ? delay(elementIndex, numSubjects) : delay;
|
|
46
46
|
const numKeyframes = valueKeyframesAsList.length;
|
|
47
|
-
const createGenerator = isGenerator(type) ? type : generators
|
|
47
|
+
const createGenerator = isGenerator(type) ? type : generators === null || generators === void 0 ? void 0 : generators[type];
|
|
48
48
|
if (numKeyframes <= 2 && createGenerator) {
|
|
49
49
|
let absoluteDelta = 100;
|
|
50
50
|
if (numKeyframes === 2 && isNumberKeyframesArray(valueKeyframesAsList)) {
|
|
@@ -59,7 +59,7 @@ function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...seq
|
|
|
59
59
|
ease = springEasing.ease;
|
|
60
60
|
duration = springEasing.duration;
|
|
61
61
|
}
|
|
62
|
-
duration
|
|
62
|
+
duration !== null && duration !== void 0 ? duration : duration = defaultDuration;
|
|
63
63
|
const startTime = currentTime + calculatedDelay;
|
|
64
64
|
if (times.length === 1 && times[0] === 0) {
|
|
65
65
|
times[1] = 1;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function calcNextTime(current, next, prev, labels) {
|
|
2
|
+
var _a;
|
|
2
3
|
if (typeof next === "number") {
|
|
3
4
|
return next;
|
|
4
5
|
} else if (next.startsWith("-") || next.startsWith("+")) {
|
|
@@ -6,7 +7,7 @@ function calcNextTime(current, next, prev, labels) {
|
|
|
6
7
|
} else if (next === "<") {
|
|
7
8
|
return prev;
|
|
8
9
|
} else {
|
|
9
|
-
return labels.get(next)
|
|
10
|
+
return (_a = labels.get(next)) !== null && _a !== void 0 ? _a : current;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
export {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { removeItem } from "../../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/array.mjs";
|
|
2
|
+
import "../../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
3
|
+
import { getEasingForSegment } from "../../../easing/utils/get-easing-for-segment.mjs";
|
|
4
|
+
import { mixNumber } from "../../../utils/mix/number.mjs";
|
|
4
5
|
function eraseKeyframes(sequence, startTime, endTime) {
|
|
5
6
|
for (let i = 0; i < sequence.length; i++) {
|
|
6
7
|
const keyframe = sequence[i];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { transformProps } from "
|
|
1
|
+
import { transformProps } from "../../render/html/utils/keys-transform.mjs";
|
|
2
2
|
const underDampedSpring = {
|
|
3
3
|
type: "spring",
|
|
4
4
|
stiffness: 500,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isZeroValueString } from "
|
|
1
|
+
import { isZeroValueString } from "../../utils/is-zero-value-string.mjs";
|
|
2
2
|
function isNone(value) {
|
|
3
3
|
if (typeof value === "number") {
|
|
4
4
|
return value === 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { easingDefinitionToFunction } from "
|
|
1
|
+
import { easingDefinitionToFunction } from "../../easing/utils/map.mjs";
|
|
2
2
|
function getOriginIndex(from, total) {
|
|
3
3
|
if (from === "first") {
|
|
4
4
|
return 0;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { noop } from "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
|
|
2
3
|
const calcBezier = (t, a1, a2) => (((1 - 3 * a2 + 3 * a1) * t + (3 * a2 - 6 * a1)) * t + 3 * a1) * t;
|
|
3
4
|
const subdivisionPrecision = 1e-7;
|
|
4
5
|
const subdivisionMaxIterations = 12;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { invariant } from "
|
|
2
|
-
import { noop } from "
|
|
1
|
+
import { invariant } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { noop } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
|
|
3
|
+
import { isBezierDefinition } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/utils/is-bezier-definition.mjs";
|
|
3
4
|
import { anticipate } from "../anticipate.mjs";
|
|
4
5
|
import { backIn, backInOut, backOut } from "../back.mjs";
|
|
5
6
|
import { circIn, circInOut, circOut } from "../circ.mjs";
|
|
6
7
|
import { cubicBezier } from "../cubic-bezier.mjs";
|
|
7
8
|
import { easeIn, easeInOut, easeOut } from "../ease.mjs";
|
|
8
|
-
import { isBezierDefinition } from "./is-bezier-definition.mjs";
|
|
9
9
|
const easingLookup = {
|
|
10
10
|
linear: noop,
|
|
11
11
|
easeIn,
|
|
@@ -19,15 +19,12 @@ const easingLookup = {
|
|
|
19
19
|
backOut,
|
|
20
20
|
anticipate
|
|
21
21
|
};
|
|
22
|
-
const isValidEasing = (easing) => {
|
|
23
|
-
return typeof easing === "string";
|
|
24
|
-
};
|
|
25
22
|
const easingDefinitionToFunction = (definition) => {
|
|
26
23
|
if (isBezierDefinition(definition)) {
|
|
27
24
|
invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`);
|
|
28
25
|
const [x1, y1, x2, y2] = definition;
|
|
29
26
|
return cubicBezier(x1, y1, x2, y2);
|
|
30
|
-
} else if (
|
|
27
|
+
} else if (typeof definition === "string") {
|
|
31
28
|
invariant(easingLookup[definition] !== void 0, `Invalid easing type '${definition}'`);
|
|
32
29
|
return easingLookup[definition];
|
|
33
30
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { scaleCorrectors } from "../../projection/styles/scale-correction.mjs";
|
|
2
|
-
import { transformProps } from "
|
|
2
|
+
import { transformProps } from "../../render/html/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,18 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { progress } from "../../../../../../../motion-utils@12.
|
|
4
|
-
import { circOut } from "
|
|
5
|
-
import {
|
|
1
|
+
import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { noop } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
|
|
3
|
+
import { progress } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/progress.mjs";
|
|
4
|
+
import { circOut } from "../../easing/circ.mjs";
|
|
5
|
+
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
6
|
+
import { percent, px } from "../../value/types/numbers/units.mjs";
|
|
6
7
|
const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
|
|
7
8
|
const numBorders = borders.length;
|
|
8
9
|
const asNumber = (value) => typeof value === "string" ? parseFloat(value) : value;
|
|
9
10
|
const isPx = (value) => typeof value === "number" || px.test(value);
|
|
10
11
|
function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOnlyMember) {
|
|
11
12
|
if (shouldCrossfadeOpacity) {
|
|
12
|
-
target.opacity = mixNumber(
|
|
13
|
-
|
|
13
|
+
target.opacity = mixNumber(
|
|
14
|
+
0,
|
|
15
|
+
// TODO Reinstate this if only child
|
|
16
|
+
lead.opacity !== void 0 ? lead.opacity : 1,
|
|
17
|
+
easeCrossfadeIn(progress2)
|
|
18
|
+
);
|
|
19
|
+
target.opacityExit = mixNumber(follow.opacity !== void 0 ? follow.opacity : 1, 0, easeCrossfadeOut(progress2));
|
|
14
20
|
} else if (isOnlyMember) {
|
|
15
|
-
target.opacity = mixNumber(follow.opacity
|
|
21
|
+
target.opacity = mixNumber(follow.opacity !== void 0 ? follow.opacity : 1, lead.opacity !== void 0 ? lead.opacity : 1, progress2);
|
|
16
22
|
}
|
|
17
23
|
for (let i = 0; i < numBorders; i++) {
|
|
18
24
|
const borderLabel = `border${borders[i]}Radius`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
1
2
|
import { hasTransform } from "../utils/has-transform.mjs";
|
|
2
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.9.0/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 "
|
|
1
|
+
import { mixNumber } from "../../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
|
+
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
2
|
+
import { percent } from "../../value/types/numbers/units.mjs";
|
|
1
3
|
import { scalePoint } from "./delta-apply.mjs";
|
|
2
|
-
import { percent } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/value/types/numbers/units.mjs";
|
|
3
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.9.0/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);
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
|
+
import { noop } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
|
|
3
|
+
import { SubscriptionManager } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/subscription-manager.mjs";
|
|
4
|
+
import { getValueTransition } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
5
|
+
import { cancelFrame, frameData, frameSteps, frame } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
6
|
+
import { microtask } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/microtask.mjs";
|
|
7
|
+
import { time } from "../../../../../../../motion-dom@12.5.0/external/motion-dom/dist/es/frameloop/sync-time.mjs";
|
|
1
8
|
import { animateSingleValue } from "../../animation/animate/single-value.mjs";
|
|
2
9
|
import { getOptimisedAppearId } from "../../animation/optimized-appear/get-appear-id.mjs";
|
|
3
10
|
import { isSVGElement } from "../../render/dom/utils/is-svg-element.mjs";
|
|
4
11
|
import { FlatTree } from "../../render/utils/flat-tree.mjs";
|
|
12
|
+
import { clamp } from "../../utils/clamp.mjs";
|
|
5
13
|
import { delay } from "../../utils/delay.mjs";
|
|
14
|
+
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
6
15
|
import { resolveMotionValue } from "../../value/utils/resolve-motion-value.mjs";
|
|
7
16
|
import { mixValues } from "../animation/mix-values.mjs";
|
|
8
17
|
import { copyBoxInto, copyAxisDeltaInto } from "../geometry/copy.mjs";
|
|
@@ -17,21 +26,6 @@ import { buildProjectionTransform } from "../styles/transform.mjs";
|
|
|
17
26
|
import { eachAxis } from "../utils/each-axis.mjs";
|
|
18
27
|
import { hasTransform, hasScale, has2DTranslate } from "../utils/has-transform.mjs";
|
|
19
28
|
import { globalProjectionState } from "./state.mjs";
|
|
20
|
-
import { noop } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/noop.mjs";
|
|
21
|
-
import { statsBuffer } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/stats/buffer.mjs";
|
|
22
|
-
import { SubscriptionManager } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/subscription-manager.mjs";
|
|
23
|
-
import { getValueTransition } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
|
|
24
|
-
import { cancelFrame, frameData, frameSteps, frame } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/frame.mjs";
|
|
25
|
-
import { time } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/sync-time.mjs";
|
|
26
|
-
import { clamp } from "../../../../../../../motion-utils@12.8.3/external/motion-utils/dist/es/clamp.mjs";
|
|
27
|
-
import { microtask } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/frameloop/microtask.mjs";
|
|
28
|
-
import { activeAnimations } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/stats/animation-count.mjs";
|
|
29
|
-
import { mixNumber } from "../../../../../../../motion-dom@12.9.0/external/motion-dom/dist/es/utils/mix/number.mjs";
|
|
30
|
-
const metrics = {
|
|
31
|
-
nodes: 0,
|
|
32
|
-
calculatedTargetDeltas: 0,
|
|
33
|
-
calculatedProjections: 0
|
|
34
|
-
};
|
|
35
29
|
const transformAxes = ["", "X", "Y", "Z"];
|
|
36
30
|
const hiddenVisibility = { visibility: "hidden" };
|
|
37
31
|
const animationTarget = 1e3;
|
|
@@ -65,7 +59,7 @@ function cancelTreeOptimisedTransformAnimations(projectionNode) {
|
|
|
65
59
|
}
|
|
66
60
|
function createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform }) {
|
|
67
61
|
return class ProjectionNode {
|
|
68
|
-
constructor(latestValues = {}, parent = defaultParent
|
|
62
|
+
constructor(latestValues = {}, parent = defaultParent === null || defaultParent === void 0 ? void 0 : defaultParent()) {
|
|
69
63
|
this.id = id++;
|
|
70
64
|
this.animationId = 0;
|
|
71
65
|
this.children = /* @__PURE__ */ new Set();
|
|
@@ -97,16 +91,10 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
97
91
|
};
|
|
98
92
|
this.updateProjection = () => {
|
|
99
93
|
this.projectionUpdateScheduled = false;
|
|
100
|
-
if (statsBuffer.value) {
|
|
101
|
-
metrics.nodes = metrics.calculatedTargetDeltas = metrics.calculatedProjections = 0;
|
|
102
|
-
}
|
|
103
94
|
this.nodes.forEach(propagateDirtyNodes);
|
|
104
95
|
this.nodes.forEach(resolveTargetDelta);
|
|
105
96
|
this.nodes.forEach(calcProjection);
|
|
106
97
|
this.nodes.forEach(cleanDirtyNodes);
|
|
107
|
-
if (statsBuffer.addProjectionMetrics) {
|
|
108
|
-
statsBuffer.addProjectionMetrics(metrics);
|
|
109
|
-
}
|
|
110
98
|
};
|
|
111
99
|
this.resolvedRelativeTargetAt = 0;
|
|
112
100
|
this.hasProjected = false;
|
|
@@ -407,7 +395,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
407
395
|
if (!visualElement)
|
|
408
396
|
return createBox();
|
|
409
397
|
const box = visualElement.measureViewportBox();
|
|
410
|
-
const wasInScrollRoot = ((_a = this.scroll)
|
|
398
|
+
const wasInScrollRoot = ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) || this.path.some(checkNodeWasScrollRoot);
|
|
411
399
|
if (!wasInScrollRoot) {
|
|
412
400
|
const { scroll } = this.root;
|
|
413
401
|
if (scroll) {
|
|
@@ -421,7 +409,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
421
409
|
var _a;
|
|
422
410
|
const boxWithoutScroll = createBox();
|
|
423
411
|
copyBoxInto(boxWithoutScroll, box);
|
|
424
|
-
if ((_a = this.scroll)
|
|
412
|
+
if ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) {
|
|
425
413
|
return boxWithoutScroll;
|
|
426
414
|
}
|
|
427
415
|
for (let i = 0; i < this.path.length; i++) {
|
|
@@ -512,7 +500,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
512
500
|
this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
|
|
513
501
|
this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
|
|
514
502
|
const isShared = Boolean(this.resumingFrom) || this !== lead;
|
|
515
|
-
const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a = this.parent)
|
|
503
|
+
const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize);
|
|
516
504
|
if (canSkip)
|
|
517
505
|
return;
|
|
518
506
|
const { layout, layoutId } = this.options;
|
|
@@ -565,9 +553,6 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
565
553
|
this.relativeParent = this.relativeTarget = void 0;
|
|
566
554
|
}
|
|
567
555
|
}
|
|
568
|
-
if (statsBuffer.value) {
|
|
569
|
-
metrics.calculatedTargetDeltas++;
|
|
570
|
-
}
|
|
571
556
|
}
|
|
572
557
|
getClosestProjectingParent() {
|
|
573
558
|
if (!this.parent || hasScale(this.parent.latestValues) || has2DTranslate(this.parent.latestValues)) {
|
|
@@ -587,7 +572,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
587
572
|
const lead = this.getLead();
|
|
588
573
|
const isShared = Boolean(this.resumingFrom) || this !== lead;
|
|
589
574
|
let canSkip = true;
|
|
590
|
-
if (this.isProjectionDirty || ((_a = this.parent)
|
|
575
|
+
if (this.isProjectionDirty || ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty)) {
|
|
591
576
|
canSkip = false;
|
|
592
577
|
}
|
|
593
578
|
if (isShared && (this.isSharedProjectionDirty || this.isTransformDirty)) {
|
|
@@ -633,9 +618,6 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
633
618
|
this.scheduleRender();
|
|
634
619
|
this.notifyListeners("projectionUpdate", target);
|
|
635
620
|
}
|
|
636
|
-
if (statsBuffer.value) {
|
|
637
|
-
metrics.calculatedProjections++;
|
|
638
|
-
}
|
|
639
621
|
}
|
|
640
622
|
hide() {
|
|
641
623
|
this.isVisible = false;
|
|
@@ -645,7 +627,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
645
627
|
}
|
|
646
628
|
scheduleRender(notifyAll = true) {
|
|
647
629
|
var _a;
|
|
648
|
-
(_a = this.options.visualElement)
|
|
630
|
+
(_a = this.options.visualElement) === null || _a === void 0 ? void 0 : _a.scheduleRender();
|
|
649
631
|
if (notifyAll) {
|
|
650
632
|
const stack = this.getStack();
|
|
651
633
|
stack && stack.scheduleRender();
|
|
@@ -714,7 +696,6 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
714
696
|
}
|
|
715
697
|
this.pendingAnimation = frame.update(() => {
|
|
716
698
|
globalProjectionState.hasAnimatedSinceResize = true;
|
|
717
|
-
activeAnimations.layout++;
|
|
718
699
|
this.currentAnimation = animateSingleValue(0, animationTarget, {
|
|
719
700
|
...options,
|
|
720
701
|
onUpdate: (latest) => {
|
|
@@ -722,10 +703,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
722
703
|
options.onUpdate && options.onUpdate(latest);
|
|
723
704
|
},
|
|
724
705
|
onStop: () => {
|
|
725
|
-
activeAnimations.layout--;
|
|
726
706
|
},
|
|
727
707
|
onComplete: () => {
|
|
728
|
-
activeAnimations.layout--;
|
|
729
708
|
options.onComplete && options.onComplete();
|
|
730
709
|
this.completeAnimation();
|
|
731
710
|
}
|
|
@@ -790,12 +769,12 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
790
769
|
getLead() {
|
|
791
770
|
var _a;
|
|
792
771
|
const { layoutId } = this.options;
|
|
793
|
-
return layoutId ? ((_a = this.getStack())
|
|
772
|
+
return layoutId ? ((_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.lead) || this : this;
|
|
794
773
|
}
|
|
795
774
|
getPrevLead() {
|
|
796
775
|
var _a;
|
|
797
776
|
const { layoutId } = this.options;
|
|
798
|
-
return layoutId ? (_a = this.getStack())
|
|
777
|
+
return layoutId ? (_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.prevLead : void 0;
|
|
799
778
|
}
|
|
800
779
|
getStack() {
|
|
801
780
|
const { layoutId } = this.options;
|
|
@@ -850,6 +829,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
850
829
|
visualElement.scheduleRender();
|
|
851
830
|
}
|
|
852
831
|
getProjectionStyles(styleProp) {
|
|
832
|
+
var _a, _b;
|
|
853
833
|
if (!this.instance || this.isSVG)
|
|
854
834
|
return void 0;
|
|
855
835
|
if (!this.isVisible) {
|
|
@@ -862,7 +842,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
862
842
|
if (this.needsReset) {
|
|
863
843
|
this.needsReset = false;
|
|
864
844
|
styles.opacity = "";
|
|
865
|
-
styles.pointerEvents = resolveMotionValue(styleProp
|
|
845
|
+
styles.pointerEvents = resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
|
|
866
846
|
styles.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none";
|
|
867
847
|
return styles;
|
|
868
848
|
}
|
|
@@ -871,7 +851,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
871
851
|
const emptyStyles = {};
|
|
872
852
|
if (this.options.layoutId) {
|
|
873
853
|
emptyStyles.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1;
|
|
874
|
-
emptyStyles.pointerEvents = resolveMotionValue(styleProp
|
|
854
|
+
emptyStyles.pointerEvents = resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
|
|
875
855
|
}
|
|
876
856
|
if (this.hasProjected && !hasTransform(this.latestValues)) {
|
|
877
857
|
emptyStyles.transform = transformTemplate ? transformTemplate({}, "") : "none";
|
|
@@ -888,7 +868,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
888
868
|
const { x, y } = this.projectionDelta;
|
|
889
869
|
styles.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;
|
|
890
870
|
if (lead.animationValues) {
|
|
891
|
-
styles.opacity = lead === this ? valuesToRender.opacity
|
|
871
|
+
styles.opacity = lead === this ? (_b = (_a = valuesToRender.opacity) !== null && _a !== void 0 ? _a : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit;
|
|
892
872
|
} else {
|
|
893
873
|
styles.opacity = lead === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
|
|
894
874
|
}
|
|
@@ -911,7 +891,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
911
891
|
}
|
|
912
892
|
}
|
|
913
893
|
if (this.options.layoutId) {
|
|
914
|
-
styles.pointerEvents = lead === this ? resolveMotionValue(styleProp
|
|
894
|
+
styles.pointerEvents = lead === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
|
|
915
895
|
}
|
|
916
896
|
return styles;
|
|
917
897
|
}
|
|
@@ -922,7 +902,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
922
902
|
resetTree() {
|
|
923
903
|
this.root.nodes.forEach((node) => {
|
|
924
904
|
var _a;
|
|
925
|
-
return (_a = node.currentAnimation)
|
|
905
|
+
return (_a = node.currentAnimation) === null || _a === void 0 ? void 0 : _a.stop();
|
|
926
906
|
});
|
|
927
907
|
this.root.nodes.forEach(clearMeasurements);
|
|
928
908
|
this.root.sharedNodes.clear();
|
|
@@ -934,7 +914,7 @@ function updateLayout(node) {
|
|
|
934
914
|
}
|
|
935
915
|
function notifyLayoutUpdate(node) {
|
|
936
916
|
var _a;
|
|
937
|
-
const snapshot = ((_a = node.resumeFrom)
|
|
917
|
+
const snapshot = ((_a = node.resumeFrom) === null || _a === void 0 ? void 0 : _a.snapshot) || node.snapshot;
|
|
938
918
|
if (node.isLead() && node.layout && snapshot && node.hasListeners("didUpdate")) {
|
|
939
919
|
const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;
|
|
940
920
|
const { animationType } = node.options;
|
|
@@ -1002,9 +982,6 @@ function notifyLayoutUpdate(node) {
|
|
|
1002
982
|
node.options.transition = void 0;
|
|
1003
983
|
}
|
|
1004
984
|
function propagateDirtyNodes(node) {
|
|
1005
|
-
if (statsBuffer.value) {
|
|
1006
|
-
metrics.nodes++;
|
|
1007
|
-
}
|
|
1008
985
|
if (!node.parent)
|
|
1009
986
|
return;
|
|
1010
987
|
if (!node.isProjecting()) {
|
|
@@ -1085,7 +1062,7 @@ function shouldAnimatePositionOnly(animationType, snapshot, layout) {
|
|
|
1085
1062
|
}
|
|
1086
1063
|
function checkNodeWasScrollRoot(node) {
|
|
1087
1064
|
var _a;
|
|
1088
|
-
return node !== node.root && ((_a = node.scroll)
|
|
1065
|
+
return node !== node.root && ((_a = node.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot);
|
|
1089
1066
|
}
|
|
1090
1067
|
export {
|
|
1091
1068
|
cleanDirtyNodes,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { addUniqueItem, removeItem } from "../../../../../../../motion-utils@12.
|
|
1
|
+
import { addUniqueItem, removeItem } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/array.mjs";
|
|
2
|
+
import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
|
|
2
3
|
class NodeStack {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.members = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { mixNumber } from "../../utils/mix/number.mjs";
|
|
2
|
+
import { complex } from "../../value/types/complex/index.mjs";
|
|
3
3
|
const correctBoxShadow = {
|
|
4
4
|
correct: (latest, { treeScale, projectionDelta }) => {
|
|
5
5
|
const original = latest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isCSSVariableName } from "
|
|
1
|
+
import { isCSSVariableName } from "../../render/dom/utils/is-css-variable.mjs";
|
|
2
2
|
const scaleCorrectors = {};
|
|
3
3
|
function addScaleCorrector(correctors) {
|
|
4
4
|
for (const key in correctors) {
|