@useloops/design-system 1.4.670 → 1.4.671
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/esm/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/events/add-pointer-event.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/drag/index.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/focus.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/hover.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/pan/index.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/gestures/press.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/animation/index.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/definitions.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/drag.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/layout.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/load-features.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/index.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/dom/use-render.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/use-props.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/use-props.js +1 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/JSAnimation.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/animate/single-value.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/inertia.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/spring.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/frameloop/batcher.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/frameloop/render-step.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/gestures/hover.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/gestures/press/index.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/shared/stack.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/projection/styles/transform.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/VisualElement.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/svg/utils/path.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/animation-state.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/motion-values.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/render/utils/setters.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/resize/handle-element.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/resize/handle-window.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/resize/index.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/utils/delay.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/utils/interpolate.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/utils/is-html-element.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/utils/resolve-elements.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/color/hsla.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/color/rgba.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/complex/index.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/complex/mask.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/maps/number.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/maps/transform.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +1 -1
- package/dist/esm/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +1 -0
- package/dist/esm/node_modules/motion-dom/dist/es/value/will-change/is.js +1 -0
- package/dist/esm/node_modules/motion-utils/dist/es/easing/anticipate.js +1 -1
- package/dist/esm/node_modules/motion-utils/dist/es/errors.js +1 -1
- package/dist/esm/node_modules/motion-utils/dist/es/is-object.js +1 -1
- package/dist/esm/node_modules/motion-utils/dist/es/pipe.js +1 -1
- package/dist/esm/node_modules/motion-utils/dist/es/progress.js +1 -1
- package/dist/esm/node_modules/motion-utils/dist/es/velocity-per-second.js +1 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/rng.js +1 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/stringify.js +1 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/esm/systems/BrandCore/colorRamps.js +1 -1
- package/dist/esm/systems/Platform/AISummary/AISummary.js +1 -1
- package/dist/esm/theme/theme.hooks.js +1 -1
- package/dist/esm/theme/theme.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +1 -0
- package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/DocumentProjectionNode.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +1 -1
- package/dist/systems/BrandCore/Icon/components/Add.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Ai.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/AlertDot.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ArrowDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ArrowLeft.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ArrowRight.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ArrowUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/AttachFile.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeCross.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeCrossInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeFlag.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeFlagInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeHyphen.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeHyphenInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeQuestion.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeQuestionInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeThumbUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeThumbUpInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeTick.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BadgeTickInCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BatteryFull.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BrandLogomark.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/BrandWordmark.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Cancel.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Chat.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Check.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/CheckCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/CheckCircleFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/CheckDouble.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ChevronDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ChevronLeft.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ChevronRight.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ChevronUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Close.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Comment.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/CommentFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Compress.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Controls.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Copy.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Crosshair.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Dashboard.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/DataBar.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Delete.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Document.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Dollar.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/DragHandle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/DragSelect.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Edit.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Email.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Emoticon.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Error.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Euro.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Expand.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ExpandWindow.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Eye.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/EyeOff.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FilterList.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Fingerprint.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FocusHollow.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FocusPoint.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Folder.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FormatBold.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FormatItalic.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/FormatUnderlined.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Gift.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/GridView.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/GridViewFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/GridViewLarge.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/GridViewSmall.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Hand.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Help.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Home.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/HomeFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Image.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ImageAdd.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ImageNo.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ImageSearch.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Info.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/InfoFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Keyboard.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Label.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Lasso.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Layers.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Lightbulb.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/LinearScale.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Link.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ListView.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Lock.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Menu.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/MenuOpen.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Microphone.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/MicrophoneOff.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Monitor.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/MoreHorizontal.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/MoreVertical.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NavPushDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NavPushLeft.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NavPushRight.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NavPushUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NavToggle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/NetworkSignalStrength.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Notification.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number0.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number1.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number10.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number11.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number12.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number13.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number14.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number15.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number16.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number17.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number18.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number19.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number2.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number20.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number21.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number22.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number23.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number24.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number25.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number26.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number27.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number28.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number29.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number3.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number30.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number31.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number32.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number33.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number34.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number35.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number36.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number37.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number38.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number39.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number4.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number40.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number41.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number42.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number43.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number44.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number45.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number46.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number47.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number48.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number49.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number5.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number50.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number6.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number7.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number8.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Number9.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/OpenInNew.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Pause.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PaymentCardAmex.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PaymentCardMastercard.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PaymentCardVisa.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Phone.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Pin.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PinFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PinLocation.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Play.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PlayCircle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/PlayVideo.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Pound.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Rank.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Redo.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ReduceWindow.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Remove.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Replay.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/RotateDevice.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Save.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Search.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Select.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Send.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SentimentDoubleDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SentimentDoubleUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SentimentDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SentimentFlat.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SentimentUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Settings.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Shuffle.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SocialGoogleFullColour.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SocialLinkedinFullColour.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SocialLinkedinSingleColour.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SocialMediumSingleColour.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/SocialYoutubeSingleColour.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Sort.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Star.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/StarFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/StarHalf.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Stop.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Tablet.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Test.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/TestEdit.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/TestPending.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ThumbDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ThumbUp.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ThumbsUpDown.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Time.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/TimeFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Translate.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Unfold.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Upload.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/UploadCloud.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/UploadCloudFilled.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/UserSearch.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Users.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/VolumeHigh.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/VolumeLow.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/VolumeMute.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Warning.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Wifi.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/Work.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ZoomIn.d.ts +2 -2
- package/dist/systems/BrandCore/Icon/components/ZoomOut.d.ts +2 -2
- package/dist/systems/Platform/ForgotYourPassword/ForgotYourPasswordForm.d.ts +2 -2
- package/dist/systems/Platform/LinkExpired/LinkExpired.d.ts +2 -2
- package/dist/systems/Platform/LoginForm/LoginForm.d.ts +2 -2
- package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.d.ts +2 -2
- package/dist/systems/Platform/MiniResultCard/graphVariants.d.ts +5 -5
- package/dist/systems/Platform/ResetPassword/ResetPasswordForm.d.ts +2 -2
- package/dist/systems/Platform/SignUpForm/SignUpForm.d.ts +2 -2
- package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.d.ts +8 -8
- package/dist/systems/WebCore/ButtonBase/ButtonBase.d.ts +2 -2
- package/dist/systems/WebCore/Checkbox/Checkbox.d.ts +1 -1
- package/dist/systems/WebCore/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/dist/systems/WebCore/FormGenerator/types.d.ts +1 -1
- package/dist/systems/WebCore/IconButtonBase/IconButton.variant-helpers.d.ts +1 -1
- package/dist/systems/WebCore/InputFieldBase/InputFieldBase.d.ts +1 -1
- package/dist/systems/WebCore/Menu/Menu.d.ts +1 -1
- package/dist/systems/WebCore/Popper/Popper.d.ts +3 -3
- package/dist/systems/WebCore/PoweredByWatermarkLogo/PoweredByWatermarkLogo.d.ts +2 -2
- package/dist/systems/WebCore/SortableList/SortableList.d.ts +2 -2
- package/dist/systems/WebCore/SortableList/components/SortableItem/SortableItem.d.ts +4 -4
- package/dist/systems/WebCore/Typography/Typography.d.ts +1 -1
- package/dist/theme/theme.hooks.d.ts +1 -1
- package/package.json +91 -75
- package/dist/esm/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/utils/delay.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -1
- package/dist/esm/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -1
- package/dist/esm/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -1
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-variant.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/calc-child-stagger.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/store.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.js +0 -0
- /package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js +0 -0
- /package/dist/esm/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-variant.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/calc-child-stagger.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("../../animation/animate/single-value.js"),e=require("../../animation/optimized-appear/get-appear-id.js"),i=require("../../render/utils/flat-tree.js"),s=require("../../utils/delay.js"),o=require("../../value/utils/resolve-motion-value.js"),a=require("../animation/mix-values.js"),r=require("../geometry/copy.js"),n=require("../geometry/delta-apply.js"),l=require("../geometry/delta-calc.js"),h=require("../geometry/delta-remove.js"),c=require("../geometry/models.js"),u=require("../geometry/utils.js"),d=require("../shared/stack.js"),m=require("../styles/scale-correction.js"),p=require("../styles/transform.js"),y=require("../utils/each-axis.js"),g=require("../utils/has-transform.js"),f=require("./state.js"),v=require("../../../../../motion-utils/dist/es/subscription-manager.js"),x=require("../../../../../motion-dom/dist/es/utils/is-svg-element.js"),T=require("../../../../../motion-dom/dist/es/utils/is-svg-svg-element.js"),D=require("../../../../../motion-dom/dist/es/frameloop/frame.js"),B=require("../../../../../motion-dom/dist/es/animation/utils/get-value-transition.js"),P=require("../../../../../motion-dom/dist/es/frameloop/sync-time.js"),j=require("../../../../../motion-dom/dist/es/frameloop/microtask.js"),S=require("../../../../../motion-dom/dist/es/value/index.js"),R=require("../../../../../motion-utils/dist/es/clamp.js"),A=require("../../../../../motion-dom/dist/es/utils/mix/number.js"),V=require("../../../../../motion-utils/dist/es/noop.js");const L=["","X","Y","Z"];let E=0;function k(t,e,i,s){const{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function w(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:i}=t.options;if(!i)return;const s=e.getOptimisedAppearId(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",D.frame,!(e||i))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&w(o)}function C(t){t.updateLayout()}function U(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=t.layout,{animationType:o}=t.options,a=e.source!==t.layout.source;"size"===o?y.eachAxis(t=>{const s=a?e.measuredBox[t]:e.layoutBox[t],o=l.calcLength(s);s.min=i[t].min,s.max=s.min+o}):tt(o,e.layoutBox,i)&&y.eachAxis(s=>{const o=a?e.measuredBox[s]:e.layoutBox[s],r=l.calcLength(i[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});const r=c.createDelta();l.calcBoxDelta(r,i,e.layoutBox);const n=c.createDelta();a?l.calcBoxDelta(n,t.applyTransform(s,!0),e.measuredBox):l.calcBoxDelta(n,i,e.layoutBox);const h=!u.isDeltaZero(r);let d=!1;if(!t.resumeFrom){const s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){const{snapshot:o,layout:a}=s;if(o&&a){const r=c.createBox();l.calcRelativePosition(r,e.layoutBox,o.layoutBox);const n=c.createBox();l.calcRelativePosition(n,i,a.layoutBox),u.boxEqualsRounded(r,n)||(d=!0),s.options.layoutRoot&&(t.relativeTarget=n,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:n,layoutDelta:r,hasLayoutChanged:h,hasRelativeLayoutChanged:d})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function I(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function F(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function q(t){t.clearSnapshot()}function O(t){t.clearMeasurements()}function b(t){t.isLayoutDirty=!1}function M(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function N(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function z(t){t.resolveTargetDelta()}function H(t){t.calcProjection()}function W(t){t.resetSkewAndRotation()}function G(t){t.removeLeadSnapshot()}function Z(t,e,i){t.translate=A.mixNumber(e.translate,0,i),t.scale=A.mixNumber(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function $(t,e,i,s){t.min=A.mixNumber(e.min,i.min,s),t.max=A.mixNumber(e.max,i.max,s)}function X(t,e,i,s){$(t.x,e.x,i.x,s),$(t.y,e.y,i.y,s)}function Y(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const J={duration:.45,ease:[.4,0,.1,1]},K=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Q=K("applewebkit/")&&!K("chrome/")?Math.round:V.noop;function _(t){t.min=Q(t.min),t.max=Q(t.max)}function tt(t,e,i){return"position"===t||"preserve-aspect"===t&&!l.isNear(u.aspectRatio(e),u.aspectRatio(i),.2)}function et(t){return t!==t.root&&t.scroll?.wasRoot}exports.cleanDirtyNodes=F,exports.createProjectionNode=function({attachResizeListener:e,defaultParent:y,measureScroll:A,checkIsScrollRoot:V,resetTransform:$}){return class{constructor(t={},e=y?.()){this.id=E++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(I),this.nodes.forEach(z),this.nodes.forEach(H),this.nodes.forEach(F)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new i.FlatTree)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new v.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=x.isSVGElement(t)&&!T.isSVGSVGElement(t),this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||i)&&(this.isLayoutDirty=!0),e){let i,o=0;const a=()=>this.root.updateBlockedByResize=!1;D.frame.read(()=>{o=window.innerWidth}),e(t,()=>{const t=window.innerWidth;t!==o&&(o=t,this.root.updateBlockedByResize=!0,i&&i(),i=s.delay(a,250),f.globalProjectionState.hasAnimatedSinceResize&&(f.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(N)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||J,{onLayoutAnimationStart:r,onLayoutAnimationComplete:n}=a.getProps(),l=!this.targetLayout||!u.boxEqualsRounded(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...B.getValueTransition(o,"layout"),onPlay:r,onComplete:n};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||N(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),D.cancelFrame(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(W),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&w(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(O);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(b);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(M),this.nodes.forEach(C),this.nodes.forEach(U)):this.nodes.forEach(b),this.clearAllSnapshots();const t=P.time.now();D.frameData.delta=R.clamp(0,1e3/60,t-D.frameData.timestamp),D.frameData.timestamp=t,D.frameData.isProcessing=!0,D.frameSteps.update.process(D.frameData),D.frameSteps.preRender.process(D.frameData),D.frameSteps.render.process(D.frameData),D.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(q),this.sharedNodes.forEach(G)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,D.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){D.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||l.calcLength(this.snapshot.measuredBox.x)||l.calcLength(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){this.path[t].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=c.createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=V(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:A(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!$)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!u.isDeltaZero(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||g.hasTransform(this.latestValues)||o)&&($(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let i=this.removeElementScroll(e);var s;return t&&(i=this.removeTransform(i)),_((s=i).x),_(s.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return c.createBox();const e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(et))){const{scroll:t}=this.root;t&&(n.translateAxis(e.x,t.offset.x),n.translateAxis(e.y,t.offset.y))}return e}removeElementScroll(t){const e=c.createBox();if(r.copyBoxInto(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){const s=this.path[i],{scroll:o,options:a}=s;s!==this.root&&o&&a.layoutScroll&&(o.wasRoot&&r.copyBoxInto(e,t),n.translateAxis(e.x,o.offset.x),n.translateAxis(e.y,o.offset.y))}return e}applyTransform(t,e=!1){const i=c.createBox();r.copyBoxInto(i,t);for(let t=0;t<this.path.length;t++){const s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&n.transformBox(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),g.hasTransform(s.latestValues)&&n.transformBox(i,s.latestValues)}return g.hasTransform(this.latestValues)&&n.transformBox(i,this.latestValues),i}removeTransform(t){const e=c.createBox();r.copyBoxInto(e,t);for(let t=0;t<this.path.length;t++){const i=this.path[t];if(!i.instance)continue;if(!g.hasTransform(i.latestValues))continue;g.hasScale(i.latestValues)&&i.updateSnapshot();const s=c.createBox(),o=i.measurePageBox();r.copyBoxInto(s,o),h.removeBoxTransforms(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return g.hasTransform(this.latestValues)&&h.removeBoxTransforms(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==D.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=D.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=c.createBox(),this.relativeTargetOrigin=c.createBox(),l.calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),r.copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&(this.target||(this.target=c.createBox(),this.targetWithTransforms=c.createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),l.calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):r.copyBoxInto(this.target,this.layout.layoutBox),n.applyBoxDelta(this.target,this.targetDelta)):r.copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=c.createBox(),this.relativeTargetOrigin=c.createBox(),l.calcRelativePosition(this.relativeTargetOrigin,this.target,t.target),r.copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!g.hasScale(this.parent.latestValues)&&!g.has2DTranslate(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===D.frameData.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;r.copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,h=this.treeScale.y;n.applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,e),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=c.createBox());const{target:d}=t;d?(this.projectionDelta&&this.prevProjectionDelta?(r.copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),r.copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),l.calcBoxDelta(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.treeScale.x===a&&this.treeScale.y===h&&u.axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)&&u.axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=c.createDelta(),this.projectionDelta=c.createDelta(),this.projectionDeltaWithTransform=c.createDelta()}setAnimationOrigin(t,e=!1){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},n=c.createDelta();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const h=c.createBox(),d=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),m=this.getStack(),p=!m||m.members.length<=1,y=Boolean(d&&!p&&!0===this.options.crossfade&&!this.path.some(Y));let g;this.animationProgress=0,this.mixTargetDelta=e=>{const i=e/1e3;Z(n.x,t.x,i),Z(n.y,t.y,i),this.setTargetDelta(n),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(l.calcRelativePosition(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),X(this.relativeTarget,this.relativeTargetOrigin,h,i),g&&u.boxEquals(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=c.createBox()),r.copyBoxInto(g,this.relativeTarget)),d&&(this.animationValues=o,a.mixValues(o,s,this.latestValues,i,y,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(D.cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=D.frame.update(()=>{f.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=S.motionValue(0)),this.currentAnimation=t.animateSingleValue(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:i,layout:s,latestValues:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tt(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||c.createBox();const e=l.calcLength(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;const s=l.calcLength(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}r.copyBoxInto(e,i),n.transformBox(e,o),l.calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new d.NodeStack);this.sharedNodes.get(t).add(e);const i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){const s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;const s={};i.z&&k("z",t,s,this.animationValues);for(let e=0;e<L.length;e++)k(`rotate${L[e]}`,t,s,this.animationValues),k(`skew${L[e]}`,t,s,this.animationValues);t.render();for(const e in s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=o.resolveMotionValue(e?.pointerEvents)||"",void(t.transform=i?i(this.latestValues,""):"none");const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=o.resolveMotionValue(e?.pointerEvents)||""),void(this.hasProjected&&!g.hasTransform(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1));t.visibility="";const a=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=p.buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,a);i&&(r=i(a,r)),t.transform=r;const{x:n,y:l}=this.projectionDelta;t.transformOrigin=`${100*n.origin}% ${100*l.origin}% 0`,s.animationValues?t.opacity=s===this?a.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:t.opacity=s===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in m.scaleCorrectors){if(void 0===a[e])continue;const{correct:i,applyTo:o,isCSSVariable:n}=m.scaleCorrectors[e],l="none"===r?a[e]:i(a[e],s);if(o){const e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else n?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?o.resolveMotionValue(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(O),this.root.sharedNodes.clear()}}},exports.mixAxis=$,exports.mixAxisDelta=Z,exports.mixBox=X,exports.propagateDirtyNodes=I;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../motion-utils/dist/es/array.js");exports.NodeStack=class{constructor(){this.members=[]}add(s){e.addUniqueItem(this.members,s),s.scheduleRender()}remove(s){if(e.removeItem(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const s=this.members.findIndex(s=>e===s);if(0===s)return!1;let t;for(let e=s;e>=0;e--){const s=this.members[e];if(!1!==s.isPresent){t=s;break}}return!!t&&(this.promote(t),!0)}promote(e,s){const t=this.lead;if(e!==t&&(this.prevLead=t,this.lead=e,e.show(),t)){t.instance&&t.scheduleRender(),e.scheduleRender(),e.resumeFrom=t,s&&(e.resumeFrom.preserveOpacity=!0),t.snapshot&&(e.snapshot=t.snapshot,e.snapshot.latestValues=t.animationValues||t.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&t.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:t}=e;s.onExitComplete&&s.onExitComplete(),t&&t.options.onExitComplete&&t.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("../../../../../motion-dom/dist/es/value/types/numbers/units.js");function r(t,r){return r.max===r.min?0:t/(r.max-r.min)*100}const e={correct:(e,s)=>{if(!s.target)return e;if("string"==typeof e){if(!t.px.test(e))return e;e=parseFloat(e)}return`${r(e,s.target.x)}% ${r(e,s.target.y)}%`}};exports.correctBorderRadius=e,exports.pixelsToPercent=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../motion-dom/dist/es/value/types/complex/index.js"),r=require("../../../../../motion-dom/dist/es/utils/mix/number.js");const t={correct:(t,{treeScale:o,projectionDelta:s})=>{const c=t,n=e.complex.parse(t);if(n.length>5)return c;const m=e.complex.createTransformer(t),i="number"!=typeof n[0]?1:0,u=s.x.scale*o.x,a=s.y.scale*o.y;n[0+i]/=u,n[1+i]/=a;const l=r.mixNumber(u,a,.5);return"number"==typeof n[2+i]&&(n[2+i]/=l),"number"==typeof n[3+i]&&(n[3+i]/=l),m(n)}};exports.correctBoxShadow=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=require("../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js");const r={};exports.addScaleCorrector=function(i){for(const e in i)r[e]=i[e],s.isCSSVariableName(e)&&(r[e].isCSSVariable=!0)},exports.scaleCorrectors=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.buildProjectionTransform=function(e,t,s){let r="";const a=e.x.translate/t.x,o=e.y.translate/t.y,n=s?.z||0;if((a||o||n)&&(r=`translate3d(${a}px, ${o}px, ${n}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),s){const{transformPerspective:e,rotate:t,rotateX:a,rotateY:o,skewX:n,skewY:$}=s;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),n&&(r+=`skewX(${n}deg) `),$&&(r+=`skewY(${$}deg) `)}const $=e.x.scale*t.x,c=e.y.scale*t.y;return 1===$&&1===c||(r+=`scale(${$}, ${c})`),r||"none"};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("../motion/features/definitions.js"),e=require("../projection/geometry/models.js"),i=require("../utils/reduced-motion/index.js"),s=require("../utils/reduced-motion/state.js"),r=require("./store.js"),n=require("./utils/is-controlling-variants.js"),o=require("./utils/motion-values.js"),a=require("./utils/resolve-variants.js"),h=require("../../../../motion-dom/dist/es/animation/keyframes/KeyframesResolver.js"),u=require("../../../../motion-dom/dist/es/frameloop/sync-time.js"),l=require("../../../../motion-dom/dist/es/frameloop/frame.js"),d=require("../../../../motion-dom/dist/es/value/utils/is-motion-value.js"),p=require("../../../../motion-utils/dist/es/warn-once.js"),c=require("../../../../motion-dom/dist/es/render/utils/keys-transform.js"),m=require("../../../../motion-dom/dist/es/value/index.js"),v=require("../../../../motion-utils/dist/es/is-numerical-string.js"),V=require("../../../../motion-utils/dist/es/is-zero-value-string.js"),f=require("../../../../motion-dom/dist/es/value/types/utils/find.js"),g=require("../../../../motion-dom/dist/es/value/types/complex/index.js"),C=require("../../../../motion-dom/dist/es/value/types/utils/animatable-none.js"),M=require("../../../../motion-utils/dist/es/subscription-manager.js"),S=require("../../../../motion-dom/dist/es/frameloop/microtask.js");const y=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];exports.VisualElement=class{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=h.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=u.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,l.frame.render(this.render,!1,!0))};const{latestValues:p,renderState:c}=o;this.latestValues=p,this.baseTarget={...p},this.initialValues=e.initial?{...p}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=n.isControllingVariants(e),this.isVariantNode=n.isVariantNode(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:m,...v}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in v){const e=v[t];void 0!==p[t]&&d.isMotionValue(e)&&e.set(p[t])}}mount(t){this.current=t,r.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),s.hasReducedMotionListener.current||i.initPrefersReducedMotion(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||s.prefersReducedMotion.current),"production"!==process.env.NODE_ENV&&p.warnOnce(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),l.cancelFrame(this.notifyUpdate),l.cancelFrame(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=c.transformProps.has(t);i&&this.onBindTransform&&this.onBindTransform();const s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&l.frame.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let e="animation";for(e in t.featureDefinitions){const i=t.featureDefinitions[e];if(!i)continue;const{isEnabled:s,Feature:r}=i;if(!this.features[e]&&r&&s(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):e.createBox()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<y.length;e++){const i=y[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=o.updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=m.motionValue(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(v.isNumericalString(i)||V.isZeroValueString(i))?i=parseFloat(i):!f.findValueType(i)&&g.complex.test(e)&&(i=C.getAnimatableNone(t,e)),this.setBaseTarget(t,d.isMotionValue(i)?i.get():i)),d.isMotionValue(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let i;if("string"==typeof e||"object"==typeof e){const s=a.resolveVariantFromProps(this.props,e,this.presenceContext?.custom);s&&(i=s[t])}if(e&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||d.isMotionValue(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new M.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){S.microtask.render(this.render)}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../VisualElement.js"),t=require("../../../../../motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js"),s=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.js");class i extends e.VisualElement{constructor(){super(...arguments),this.KeyframeResolver=t.DOMKeyframesResolver}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:s}){delete t[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;s.isMotionValue(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}exports.DOMVisualElement=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.camelToDash=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../projection/utils/measure.js"),r=require("../dom/DOMVisualElement.js"),s=require("./utils/build-styles.js"),t=require("./utils/render.js"),o=require("./utils/scrape-motion-values.js"),i=require("../../../../../motion-dom/dist/es/render/utils/keys-transform.js"),n=require("../../../../../motion-dom/dist/es/render/dom/parse-transform.js"),a=require("../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js");function u(e){return window.getComputedStyle(e)}class l extends r.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=t.renderHTML}readValueFromInstance(e,r){if(i.transformProps.has(r))return this.projection?.isProjecting?n.defaultTransformValue(r):n.readTransformValue(e,r);{const s=u(e),t=(a.isCSSVariableName(r)?s.getPropertyValue(r):s[r])||0;return"string"==typeof t?t.trim():t}}measureInstanceViewportBox(r,{transformPagePoint:s}){return e.measureViewportBox(r,s)}build(e,r,t){s.buildHTMLStyles(e,r,t.transformTemplate)}scrapeMotionValuesFromProps(e,r,s){return o.scrapeMotionValuesFromProps(e,r,s)}}exports.HTMLVisualElement=l,exports.getComputedStyle=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=require("./build-transform.js"),r=require("../../../../../../motion-dom/dist/es/render/utils/keys-transform.js"),i=require("../../../../../../motion-dom/dist/es/animation/utils/is-css-variable.js"),e=require("../../../../../../motion-dom/dist/es/value/types/utils/get-as-type.js"),t=require("../../../../../../motion-dom/dist/es/value/types/maps/number.js");exports.buildHTMLStyles=function(o,n,a){const{style:m,vars:u,transformOrigin:l}=o;let f=!1,d=!1;for(const s in n){const o=n[s];if(r.transformProps.has(s))f=!0;else if(i.isCSSVariableName(s))u[s]=o;else{const r=e.getValueAsType(o,t.numberValueTypes[s]);s.startsWith("origin")?(d=!0,l[s]=r):m[s]=r}}if(n.transform||(f||a?m.transform=s.buildTransform(n,o.transform,a):m.transform&&(m.transform="none")),d){const{originX:s="50%",originY:r="50%",originZ:i=0}=l;m.transformOrigin=`${s} ${r} ${i}`}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../../motion-dom/dist/es/render/utils/keys-transform.js"),t=require("../../../../../../motion-dom/dist/es/value/types/utils/get-as-type.js"),r=require("../../../../../../motion-dom/dist/es/value/types/maps/number.js");const s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=e.transformPropOrder.length;exports.buildTransform=function(n,i,a){let u="",l=!0;for(let m=0;m<o;m++){const o=e.transformPropOrder[m],p=n[o];if(void 0===p)continue;let d=!0;if(d="number"==typeof p?p===(o.startsWith("scale")?1:0):0===parseFloat(p),!d||a){const e=t.getValueAsType(p,r.numberValueTypes[o]);if(!d){l=!1;u+=`${s[o]||o}(${e}) `}a&&(i[o]=e)}}return u=u.trim(),a?u=a(i,l?"":u):l&&(u="none"),u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=require("../../../motion/utils/is-forced-motion-value.js"),e=require("../../../../../../motion-dom/dist/es/value/utils/is-motion-value.js");exports.scrapeMotionValuesFromProps=function(i,t,s){const{style:l}=i,r={};for(const u in l)(e.isMotionValue(l[u])||t.style&&e.isMotionValue(t.style[u])||o.isForcedMotionValue(u,i)||void 0!==s?.getValue(u)?.liveStyle)&&(r[u]=l[u]);return r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../projection/geometry/models.js"),s=require("../dom/DOMVisualElement.js"),r=require("../dom/utils/camel-to-dash.js"),t=require("./utils/build-attrs.js"),a=require("./utils/camel-case-attrs.js"),i=require("./utils/is-svg-tag.js"),u=require("./utils/render.js"),o=require("./utils/scrape-motion-values.js"),l=require("../../../../../motion-dom/dist/es/render/utils/keys-transform.js"),n=require("../../../../../motion-dom/dist/es/value/types/maps/defaults.js");class m extends s.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=e.createBox}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(l.transformProps.has(s)){const e=n.getDefaultValueType(s);return e&&e.default||0}return s=a.camelCaseAttributes.has(s)?s:r.camelToDash(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,r){return o.scrapeMotionValuesFromProps(e,s,r)}build(e,s,r){t.buildSVGAttrs(e,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,s,r,t){u.renderSVG(e,s,r,t)}mount(e){this.isSVGTag=i.isSVGTag(e.tagName),super.mount(e)}}exports.SVGVisualElement=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("../../html/utils/build-styles.js"),r=require("./path.js");exports.buildSVGAttrs=function(s,{attrX:e,attrY:a,attrScale:i,pathLength:o,pathSpacing:n=1,pathOffset:l=0,...f},m,d,u){if(t.buildHTMLStyles(s,f,d),m)return void(s.style.viewBox&&(s.attrs.viewBox=s.style.viewBox));s.attrs=s.style,s.style={};const{attrs:v,style:x}=s;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=u?.transformBox??"fill-box",delete v.transformBox),void 0!==e&&(v.x=e),void 0!==a&&(v.y=a),void 0!==i&&(v.scale=i),void 0!==o&&r.buildSVGPath(v,o,n,l,!1)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=require("../../../../../../motion-dom/dist/es/value/types/numbers/units.js");const r={offset:"stroke-dashoffset",array:"stroke-dasharray"},t={offset:"strokeDashoffset",array:"strokeDasharray"};exports.buildSVGPath=function(a,o,e=1,f=0,n=!0){a.pathLength=1;const h=n?r:t;a[h.offset]=s.px.transform(-f);const i=s.px.transform(o),u=s.px.transform(e);a[h.array]=`${i} ${u}`};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("../../html/utils/scrape-motion-values.js"),s=require("../../../../../../motion-dom/dist/es/value/utils/is-motion-value.js"),o=require("../../../../../../motion-dom/dist/es/render/utils/keys-transform.js");exports.scrapeMotionValuesFromProps=function(e,t,i){const n=r.scrapeMotionValuesFromProps(e,t,i);for(const r in e)if(s.isMotionValue(e[r])||s.isMotionValue(t[r])){n[-1!==o.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../animation/interfaces/visual-element.js"),t=require("../../animation/utils/calc-child-stagger.js"),i=require("../../animation/utils/is-animation-controls.js"),n=require("../../animation/utils/is-keyframes-target.js"),r=require("../../utils/shallow-compare.js"),a=require("./get-variant-context.js"),o=require("./is-variant-label.js"),s=require("./resolve-dynamic-variants.js"),l=require("./variant-props.js");const c=[...l.variantPriorityOrder].reverse(),u=l.variantPriorityOrder.length;function m(t){return i=>Promise.all(i.map(({animation:i,options:n})=>e.animateVisualElement(t,i,n)))}function v(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!r.shallowCompare(t,e)}function p(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function d(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}exports.checkVariantsDidChange=v,exports.createAnimationState=function(e){let l=m(e),p=d(),f=!0;const y=t=>(i,n)=>{const r=s.resolveVariant(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){const{transition:e,transitionEnd:t,...n}=r;i={...i,...n,...t}}return i};function h(m){const{props:d}=e,h=a.getVariantContext(e.parent)||{},g=[],A=new Set;let V={},C=1/0;for(let a=0;a<u;a++){const l=c[a],u=p[l],w=void 0!==d[l]?d[l]:h[l],j=o.isVariantLabel(w),q=l===m?u.isActive:null;!1===q&&(C=a);let P=w===h[l]&&w!==d[l]&&j;if(P&&f&&e.manuallyAnimateOnMount&&(P=!1),u.protectedKeys={...V},!u.isActive&&null===q||!w&&!u.prevProp||i.isAnimationControls(w)||"boolean"==typeof w)continue;const x=v(u.prevProp,w);let S=x||l===m&&u.isActive&&!P&&j||a>C&&j,K=!1;const O=Array.isArray(w)?w:[w];let b=O.reduce(y(l),{});!1===q&&(b={});const{prevResolvedValues:E={}}=u,T={...E,...b},k=t=>{S=!0,A.has(t)&&(K=!0,A.delete(t)),u.needsAnimating[t]=!0;const i=e.getValue(t);i&&(i.liveStyle=!1)};for(const e in T){const t=b[e],i=E[e];if(V.hasOwnProperty(e))continue;let a=!1;a=n.isKeyframesTarget(t)&&n.isKeyframesTarget(i)?!r.shallowCompare(t,i):t!==i,a?null!=t?k(e):A.add(e):void 0!==t&&A.has(e)?k(e):u.protectedKeys[e]=!0}u.prevProp=w,u.prevResolvedValues=b,u.isActive&&(V={...V,...b}),f&&e.blockInitialAnimation&&(S=!1);const M=P&&x;S&&(!M||K)&&g.push(...O.map(i=>{const n={type:l};if("string"==typeof i&&f&&!M&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,a=s.resolveVariant(r,i);if(r.enteringChildren&&a){const{delayChildren:i}=a.transition||{};n.delay=t.calcChildStagger(r.enteringChildren,e,i)}}return{animation:i,options:n}}))}if(A.size){const t={};if("boolean"!=typeof d.initial){const i=s.resolveVariant(e,Array.isArray(d.initial)?d.initial[0]:d.initial);i&&i.transition&&(t.transition=i.transition)}A.forEach(i=>{const n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),g.push({animation:t})}let w=Boolean(g.length);return!f||!1!==d.initial&&d.initial!==d.animate||e.manuallyAnimateOnMount||(w=!1),f=!1,w?l(g):Promise.resolve()}return{animateChanges:h,setActive:function(t,i){if(p[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),p[t].isActive=i;const n=h(t);for(const e in p)p[e].protectedKeys={};return n},setAnimateFunction:function(t){l=t(e)},getState:()=>p,reset:()=>{p=d()}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var i=require("../../animation/utils/is-animation-controls.js"),r=require("./is-variant-label.js"),a=require("./variant-props.js");function n(n){return i.isAnimationControls(n.animate)||a.variantProps.some(i=>r.isVariantLabel(n[i]))}exports.isControllingVariants=n,exports.isVariantNode=function(i){return Boolean(n(i)||i.variants)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.js"),o=require("../../../../../motion-dom/dist/es/value/index.js");exports.updateMotionValuesFromProps=function(i,t,s){for(const a in t){const u=t[a],n=s[a];if(e.isMotionValue(u))i.addValue(a,u);else if(e.isMotionValue(n))i.addValue(a,o.motionValue(u,{owner:i}));else if(n!==u)if(i.hasValue(a)){const e=i.getValue(a);!0===e.liveStyle?e.jump(u):e.hasAnimated||e.set(u)}else{const e=i.getStaticValue(a);i.addValue(a,o.motionValue(void 0!==e?e:u,{owner:i}))}}for(const e in s)void 0===t[e]&&i.removeValue(e);return t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../animation/utils/is-keyframes-target.js"),t=require("./resolve-dynamic-variants.js"),i=require("../../../../../motion-dom/dist/es/value/index.js");function n(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,i.motionValue(n))}function r(t){return e.isKeyframesTarget(t)?t[t.length-1]||0:t}exports.setTarget=function(e,i){const s=t.resolveVariant(e,i);let{transitionEnd:a={},transition:o={},...u}=s||{};u={...u,...a};for(const t in u){n(e,t,r(u[t]))}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../motion-dom/dist/es/frameloop/sync-time.js"),t=require("../../../../motion-dom/dist/es/frameloop/frame.js");exports.delay=function(o,r){const m=e.time.now(),s=({timestamp:e})=>{const a=e-m;a>=r&&(t.cancelFrame(s),o(a-r))};return t.frame.setup(s,!0),()=>t.cancelFrame(s)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../is-browser.js"),r=require("./state.js");exports.initPrefersReducedMotion=function(){if(r.hasReducedMotionListener.current=!0,e.isBrowser)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>r.prefersReducedMotion.current=e.matches;e.addEventListener("change",t),t()}else r.prefersReducedMotion.current=!1};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var i=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.js");exports.isWillChangeMotionValue=function(o){return Boolean(i.isMotionValue(o)&&o.add)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.js");exports.resolveMotionValue=function(o){return e.isMotionValue(o)?o.get():o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.springDefaults={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=require("./defaults.js"),t=require("../../../../../../motion-utils/dist/es/errors.js"),n=require("../../../../../../motion-utils/dist/es/time-conversion.js"),i=require("../../../../../../motion-utils/dist/es/clamp.js");const e=.001;const r=12;function a(s,t){return s*Math.sqrt(1-t*t)}exports.calcAngularFreq=a,exports.findSpring=function({duration:o=s.springDefaults.duration,bounce:u=s.springDefaults.bounce,velocity:l=s.springDefaults.velocity,mass:p=s.springDefaults.mass}){let c,f;t.warning(o<=n.secondsToMilliseconds(s.springDefaults.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let m=1-u;m=i.clamp(s.springDefaults.minDamping,s.springDefaults.maxDamping,m),o=i.clamp(s.springDefaults.minDuration,s.springDefaults.maxDuration,n.millisecondsToSeconds(o)),m<1?(c=s=>{const t=s*m,n=t*o,i=t-l,r=a(s,m),u=Math.exp(-n);return e-i/r*u},f=s=>{const t=s*m*o,n=t*l+l,i=Math.pow(m,2)*Math.pow(s,2)*o,r=Math.exp(-t),u=a(Math.pow(s,2),m);return(-c(s)+e>0?-1:1)*((n-i)*r)/u}):(c=s=>Math.exp(-s*o)*((s-l)*o+1)-.001,f=s=>Math.exp(-s*o)*(o*o*(l-s)));const d=function(s,t,n){let i=n;for(let n=1;n<r;n++)i-=s(i)/t(i);return i}(c,f,5/o);if(o=n.secondsToMilliseconds(o),isNaN(d))return{stiffness:s.springDefaults.stiffness,damping:s.springDefaults.damping,duration:o};{const s=Math.pow(d,2)*p;return{stiffness:s,damping:2*m*Math.sqrt(p*s),duration:o}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("../../waapi/utils/linear.js"),s=require("../utils/calc-duration.js"),t=require("../utils/create-generator-easing.js"),n=require("../utils/velocity.js"),a=require("./defaults.js"),i=require("./find.js"),r=require("../../../../../../motion-utils/dist/es/time-conversion.js"),o=require("../../../../../../motion-utils/dist/es/clamp.js");const l=["duration","bounce"],u=["stiffness","damping","mass"];function c(e,s){return s.some(s=>void 0!==e[s])}function f(t=a.springDefaults.visualDuration,f=a.springDefaults.bounce){const d="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:f}:t;let{restSpeed:p,restDelta:m}=d;const g=d.keyframes[0],D=d.keyframes[d.keyframes.length-1],h={done:!1,value:g},{stiffness:v,damping:M,mass:y,duration:q,velocity:j,isResolvedFromDuration:b}=function(e){let s={velocity:a.springDefaults.velocity,stiffness:a.springDefaults.stiffness,damping:a.springDefaults.damping,mass:a.springDefaults.mass,isResolvedFromDuration:!1,...e};if(!c(e,u)&&c(e,l))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(1.2*t),i=n*n,r=2*o.clamp(.05,1,1-(e.bounce||0))*Math.sqrt(i);s={...s,mass:a.springDefaults.mass,stiffness:i,damping:r}}else{const t=i.findSpring(e);s={...s,...t,mass:a.springDefaults.mass},s.isResolvedFromDuration=!0}return s}({...d,velocity:-r.millisecondsToSeconds(d.velocity||0)}),x=j||0,S=M/(2*Math.sqrt(v*y)),T=D-g,k=r.millisecondsToSeconds(Math.sqrt(v/y)),F=Math.abs(T)<5;let G;if(p||(p=F?a.springDefaults.restSpeed.granular:a.springDefaults.restSpeed.default),m||(m=F?a.springDefaults.restDelta.granular:a.springDefaults.restDelta.default),S<1){const e=i.calcAngularFreq(k,S);G=s=>{const t=Math.exp(-S*k*s);return D-t*((x+S*k*T)/e*Math.sin(e*s)+T*Math.cos(e*s))}}else if(1===S)G=e=>D-Math.exp(-k*e)*(T+(x+k*T)*e);else{const e=k*Math.sqrt(S*S-1);G=s=>{const t=Math.exp(-S*k*s),n=Math.min(e*s,300);return D-t*((x+S*k*T)*Math.sinh(n)+e*T*Math.cosh(n))/e}}const R={calculatedDuration:b&&q||null,next:e=>{const s=G(e);if(b)h.done=e>=q;else{let t=0===e?x:0;S<1&&(t=0===e?r.secondsToMilliseconds(x):n.calcGeneratorVelocity(G,e,s));const a=Math.abs(t)<=p,i=Math.abs(D-s)<=m;h.done=a&&i}return h.value=h.done?D:s,h},toString:()=>{const t=Math.min(s.calcGeneratorDuration(R),s.maxGeneratorDuration),n=e.generateLinearEasing(e=>R.next(t*e).value,t,30);return t+"ms "+n},toTransition:()=>{}};return R}f.applyToOptions=e=>{const s=t.createGeneratorEasing(e,100,f);return e.ease=s.ease,e.duration=r.secondsToMilliseconds(s.duration),e.type="keyframes",e},exports.spring=f;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js
RENAMED
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js
RENAMED
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js
RENAMED
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js
RENAMED
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js
RENAMED
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js
RENAMED
|
File without changes
|