@nethesis/phone-island 1.0.11 → 1.0.12-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.js +1 -1
- package/dist/App.js.map +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index9.js +1 -1
- package/dist/components/CallView/index.js +1 -1
- package/dist/components/CallView/index.js.map +1 -1
- package/dist/components/IslandMotion.js +1 -1
- package/dist/components/IslandMotion.js.map +1 -1
- package/dist/components/RecorderView/Actions.js +1 -1
- package/dist/components/RecorderView/Actions.js.map +1 -1
- package/dist/components/RestAPI.js +1 -1
- package/dist/components/RestAPI.js.map +1 -1
- package/dist/components/SideView/hooks/useSideViewLogic.js +1 -1
- package/dist/components/SideView/hooks/useSideViewLogic.js.map +1 -1
- package/dist/components/Socket.js +1 -1
- package/dist/components/Socket.js.map +1 -1
- package/dist/components/VideoView/index.js +1 -1
- package/dist/components/VideoView/index.js.map +1 -1
- package/dist/events/PlayerEvents.js +1 -1
- package/dist/events/PlayerEvents.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/lib/devices/devices.js +1 -1
- package/dist/lib/phone/call.js +1 -1
- package/dist/lib/phone/call.js.map +1 -1
- package/dist/models/motions.js +1 -1
- package/dist/models/motions.js.map +1 -1
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js +1 -7
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js.map +1 -1
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +1 -1
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js.map +1 -0
- package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/styles/transform.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js.map +1 -1
- package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js +1 -1
- package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js.map +1 -1
- package/dist/node_modules/mic-check/lib/index.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/array.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/errors.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/errors.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/memo.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/noop.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/progress.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/progress.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js +1 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
- package/dist/node_modules/react-moment/dist/index.js +2 -12
- package/dist/node_modules/react-moment/dist/index.js.map +1 -1
- package/dist/node_modules/react-redux/es/components/Context.js +1 -1
- package/dist/node_modules/react-redux/es/components/Context.js.map +1 -1
- package/dist/node_modules/react-redux/es/components/Provider.js +1 -1
- package/dist/node_modules/react-redux/es/components/Provider.js.map +1 -1
- package/dist/node_modules/react-redux/es/hooks/useReduxContext.js +1 -1
- package/dist/node_modules/react-redux/es/hooks/useReduxContext.js.map +1 -1
- package/dist/node_modules/react-redux/es/hooks/useSelector.js +1 -1
- package/dist/node_modules/react-redux/es/hooks/useSelector.js.map +1 -1
- package/dist/node_modules/react-redux/es/hooks/useStore.js +1 -1
- package/dist/node_modules/react-redux/es/hooks/useStore.js.map +1 -1
- package/dist/node_modules/react-redux/es/index.js +1 -1
- package/dist/node_modules/react-redux/es/index.js.map +1 -1
- package/dist/node_modules/react-redux/es/utils/Subscription.js +1 -1
- package/dist/node_modules/react-redux/es/utils/Subscription.js.map +1 -1
- package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js +1 -1
- package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist/node_modules/react-redux/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js +1 -1
- package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/adapter_factory.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/adapter_factory.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/getusermedia.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/firefox/getusermedia.js.map +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/utils.js +1 -1
- package/dist/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
- package/dist/package.json.js +1 -1
- package/package.json +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.mjs.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js.map +0 -1
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/interfaces/visual-element.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/optimized-appear/data-id.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/optimized-appear/get-appear-id.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/animation}/utils/is-animation-controls.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/animation}/utils/is-keyframes-target.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/events/add-dom-event.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/motion/features}/Feature.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/conversion.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/copy.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/models.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/utils.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/node/HTMLProjectionNode.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/node/state.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/each-axis.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/has-transform.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/measure.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/store.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/camel-case-attrs.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/is-svg-tag.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/render.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/projection → framer-motion/dist/es/render}/utils/compare-by-depth.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/projection → framer-motion/dist/es/render}/utils/flat-tree.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/get-variant-context.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/is-variant-label.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/resolve-dynamic-variants.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/resolve-variants.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/variant-props.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es}/utils/reduced-motion/state.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es}/utils/shallow-compare.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/value/will-change → framer-motion/dist/es/value/use-will-change}/add-will-change.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom/dist/es/value/will-change → framer-motion/dist/es/value/use-will-change}/is.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/value/utils/is-motion-value.mjs.js +0 -0
- /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/value/utils/resolve-motion-value.mjs.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Feature.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/Feature.mjs"],"sourcesContent":["class Feature {\n constructor(node) {\n this.isMounted = false;\n this.node = node;\n }\n update() { }\n}\n\nexport { Feature };\n"],"names":["constructor","node","this","isMounted","update"],"mappings":"oFAAA,MACIA,WAAAA,CAAYC,GACRC,KAAKC,WAAY,EACjBD,KAAKD,KAAOA,CAChB,CACAG,MAAAA,GAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../Feature.mjs.js");let t=0;class n extends e.Feature{constructor(){super(...arguments),this.id=t++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then((()=>{t(this.id)}))}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}exports.ExitAnimationFeature=n;
|
|
2
2
|
//# sourceMappingURL=exit.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exit.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature
|
|
1
|
+
{"version":3,"file":"exit.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature } from '../Feature.mjs';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n }\n update() {\n if (!this.node.presenceContext)\n return;\n const { isPresent, onExitComplete } = this.node.presenceContext;\n const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n if (!this.node.animationState || isPresent === prevIsPresent) {\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n onExitComplete(this.id);\n });\n }\n }\n mount() {\n const { register, onExitComplete } = this.node.presenceContext || {};\n if (onExitComplete) {\n onExitComplete(this.id);\n }\n if (register) {\n this.unmount = register(this.id);\n }\n }\n unmount() { }\n}\n\nexport { ExitAnimationFeature };\n"],"names":["id","ExitAnimationFeature","Feature","constructor","super","arguments","this","update","node","presenceContext","isPresent","onExitComplete","prevIsPresent","prevPresenceContext","animationState","exitAnimation","setActive","then","mount","register","unmount"],"mappings":"uGAEA,IAAIA,EAAK,EACT,MAAMC,UAA6BC,EAAAA,QAC/BC,WAAAA,GACIC,SAASC,WACTC,KAAKN,GAAKA,GACd,CACAO,MAAAA,GACI,IAAKD,KAAKE,KAAKC,gBACX,OACJ,MAAMC,UAAEA,EAASC,eAAEA,GAAmBL,KAAKE,KAAKC,iBACxCC,UAAWE,GAAkBN,KAAKE,KAAKK,qBAAuB,GACtE,IAAKP,KAAKE,KAAKM,gBAAkBJ,IAAcE,EAC3C,OAEJ,MAAMG,EAAgBT,KAAKE,KAAKM,eAAeE,UAAU,QAASN,GAC9DC,IAAmBD,GACnBK,EAAcE,MAAK,KACfN,EAAeL,KAAKN,GAAG,GAGnC,CACAkB,KAAAA,GACI,MAAMC,SAAEA,EAAQR,eAAEA,GAAmBL,KAAKE,KAAKC,iBAAmB,GAC9DE,GACAA,EAAeL,KAAKN,IAEpBmB,IACAb,KAAKc,QAAUD,EAASb,KAAKN,IAErC,CACAoB,OAAAA,GAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../animation/utils/is-animation-controls.mjs.js"),n=require("../../../render/utils/animation-state.mjs.js"),e=require("../Feature.mjs.js");class i extends e.Feature{constructor(t){super(t),t.animationState||(t.animationState=n.createAnimationState(t))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();t.isAnimationControls(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}exports.AnimationFeature=i;
|
|
2
2
|
//# sourceMappingURL=index.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import { isAnimationControls } from '../../../animation/utils/is-animation-controls.mjs';\nimport { createAnimationState } from '../../../render/utils/animation-state.mjs';\nimport { Feature } from '../Feature.mjs';\n\nclass AnimationFeature extends Feature {\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n constructor(node) {\n super(node);\n node.animationState || (node.animationState = createAnimationState(node));\n }\n updateAnimationControlsSubscription() {\n const { animate } = this.node.getProps();\n if (isAnimationControls(animate)) {\n this.unmountControls = animate.subscribe(this.node);\n }\n }\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n mount() {\n this.updateAnimationControlsSubscription();\n }\n update() {\n const { animate } = this.node.getProps();\n const { animate: prevAnimate } = this.node.prevProps || {};\n if (animate !== prevAnimate) {\n this.updateAnimationControlsSubscription();\n }\n }\n unmount() {\n this.node.animationState.reset();\n this.unmountControls?.();\n }\n}\n\nexport { AnimationFeature };\n"],"names":["AnimationFeature","Feature","constructor","node","super","animationState","createAnimationState","updateAnimationControlsSubscription","animate","this","getProps","isAnimationControls","unmountControls","subscribe","mount","update","prevAnimate","prevProps","unmount","reset"],"mappings":"oOAIA,MAAMA,UAAyBC,EAAAA,QAM3BC,WAAAA,CAAYC,GACRC,MAAMD,GACNA,EAAKE,iBAAmBF,EAAKE,eAAiBC,EAAoBA,qBAACH,GACvE,CACAI,mCAAAA,GACI,MAAMC,QAAEA,GAAYC,KAAKN,KAAKO,WAC1BC,EAAAA,oBAAoBH,KACpBC,KAAKG,gBAAkBJ,EAAQK,UAAUJ,KAAKN,MAEtD,CAIAW,KAAAA,GACIL,KAAKF,qCACT,CACAQ,MAAAA,GACI,MAAMP,QAAEA,GAAYC,KAAKN,KAAKO,YACtBF,QAASQ,GAAgBP,KAAKN,KAAKc,WAAa,GACpDT,IAAYQ,GACZP,KAAKF,qCAEb,CACAW,OAAAA,GACIT,KAAKN,KAAKE,eAAec,QACzBV,KAAKG,mBACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n
|
|
1
|
+
{"version":3,"file":"animations.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n"],"names":["animations","animation","Feature","AnimationFeature","exit","ExitAnimationFeature"],"mappings":"mJAGA,MAAMA,EAAa,CACfC,UAAW,CACPC,QAASC,EAAAA,kBAEbC,KAAM,CACFF,QAASG,EAAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o={};for(const n in e)o[n]={isEnabled:o=>e[n].some((e=>!!o[e]))};exports.featureDefinitions=o;
|
|
2
2
|
//# sourceMappingURL=definitions.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/definitions.mjs"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"definitions.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/definitions.mjs"],"sourcesContent":["const featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nconst featureDefinitions = {};\nfor (const key in featureProps) {\n featureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n}\n\nexport { featureDefinitions };\n"],"names":["featureProps","animation","exit","drag","focus","hover","tap","pan","inView","layout","featureDefinitions","key","isEnabled","props","some","name"],"mappings":"oEAAA,MAAMA,EAAe,CACjBC,UAAW,CACP,UACA,WACA,aACA,WACA,OACA,cACA,aACA,aAEJC,KAAM,CAAC,QACPC,KAAM,CAAC,OAAQ,gBACfC,MAAO,CAAC,cACRC,MAAO,CAAC,aAAc,eAAgB,cACtCC,IAAK,CAAC,WAAY,QAAS,aAAc,eACzCC,IAAK,CAAC,QAAS,aAAc,oBAAqB,YAClDC,OAAQ,CAAC,cAAe,kBAAmB,mBAC3CC,OAAQ,CAAC,SAAU,aAEjBC,EAAqB,CAAE,EAC7B,IAAK,MAAMC,KAAOX,EACdU,EAAmBC,GAAO,CACtBC,UAAYC,GAAUb,EAAaW,GAAKG,MAAMC,KAAWF,EAAME"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../gestures/drag/index.mjs.js"),r=require("../../gestures/pan/index.mjs.js"),s=require("./layout/MeasureLayout.mjs.js"),o=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../gestures/drag/index.mjs.js"),r=require("../../gestures/pan/index.mjs.js"),s=require("./layout/MeasureLayout.mjs.js"),o=require("../../projection/node/HTMLProjectionNode.mjs.js");const t={pan:{Feature:r.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:o.HTMLProjectionNode,MeasureLayout:s.MeasureLayout}};exports.drag=t;
|
|
2
2
|
//# sourceMappingURL=drag.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/drag.mjs"],"sourcesContent":["import { DragGesture } from '../../gestures/drag/index.mjs';\nimport { PanGesture } from '../../gestures/pan/index.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\nimport { HTMLProjectionNode } from '
|
|
1
|
+
{"version":3,"file":"drag.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/drag.mjs"],"sourcesContent":["import { DragGesture } from '../../gestures/drag/index.mjs';\nimport { PanGesture } from '../../gestures/pan/index.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\nimport { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\n\nconst drag = {\n pan: {\n Feature: PanGesture,\n },\n drag: {\n Feature: DragGesture,\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { drag };\n"],"names":["drag","pan","Feature","PanGesture","DragGesture","ProjectionNode","HTMLProjectionNode","MeasureLayout"],"mappings":"2QAKA,MAAMA,EAAO,CACTC,IAAK,CACDC,QAASC,EAAAA,YAEbH,KAAM,CACFE,QAASE,EAAWA,YACpBC,eAAgBC,EAAkBA,mBAClCC,cAAAA,EAAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/gestures.mjs"],"sourcesContent":["import { HoverGesture } from '../../gestures/hover.mjs';\nimport { FocusGesture } from '../../gestures/focus.mjs';\nimport { PressGesture } from '../../gestures/press.mjs';\nimport { InViewFeature } from './viewport/index.mjs';\n\nconst gestureAnimations = {\n inView: {\n Feature: InViewFeature,\n },\n tap: {\n Feature: PressGesture,\n },\n focus: {\n Feature: FocusGesture,\n },\n hover: {\n Feature: HoverGesture,\n },\n};\n\nexport { gestureAnimations };\n
|
|
1
|
+
{"version":3,"file":"gestures.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/gestures.mjs"],"sourcesContent":["import { HoverGesture } from '../../gestures/hover.mjs';\nimport { FocusGesture } from '../../gestures/focus.mjs';\nimport { PressGesture } from '../../gestures/press.mjs';\nimport { InViewFeature } from './viewport/index.mjs';\n\nconst gestureAnimations = {\n inView: {\n Feature: InViewFeature,\n },\n tap: {\n Feature: PressGesture,\n },\n focus: {\n Feature: FocusGesture,\n },\n hover: {\n Feature: HoverGesture,\n },\n};\n\nexport { gestureAnimations };\n"],"names":["gestureAnimations","inView","Feature","InViewFeature","tap","PressGesture","focus","FocusGesture","hover","HoverGesture"],"mappings":"mMAKA,MAAMA,EAAoB,CACtBC,OAAQ,CACJC,2CAASC,eAEbC,IAAK,CACDF,QAASG,EAAAA,cAEbC,MAAO,CACHJ,QAASK,EAAAA,cAEbC,MAAO,CACHN,QAASO,EAAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../../../react/jsx-runtime.js");var e=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../../../react/jsx-runtime.js");var e=require("react"),o=require("../../../components/AnimatePresence/use-presence.mjs.js"),t=require("../../../context/LayoutGroupContext.mjs.js"),r=require("../../../context/SwitchLayoutGroupContext.mjs.js"),s=require("../../../projection/node/state.mjs.js"),i=require("../../../projection/styles/scale-border-radius.mjs.js"),n=require("../../../projection/styles/scale-box-shadow.mjs.js"),a=require("../../../projection/styles/scale-correction.mjs.js"),u=require("../../../../../../motion-dom/dist/es/frameloop/frame.mjs.js"),d=require("../../../../../../motion-dom/dist/es/frameloop/microtask.mjs.js"),p=require("../../../../../../../_virtual/jsx-runtime.js");class c extends e.Component{componentDidMount(){const{visualElement:e,layoutGroup:o,switchLayoutGroup:t,layoutId:r}=this.props,{projection:i}=e;a.addScaleCorrector(m),i&&(o.group&&o.group.add(i),t&&t.register&&r&&t.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),s.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:o,visualElement:t,drag:r,isPresent:s}=this.props,i=t.projection;return i?(i.isPresent=s,r||e.layoutDependency!==o||void 0===o||e.isPresent!==s?i.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?i.promote():i.relegate()||u.frame.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),d.microtask.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:o,switchLayoutGroup:t}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(r),t&&t.deregister&&t.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}const m={borderRadius:{...i.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i.correctBorderRadius,borderTopRightRadius:i.correctBorderRadius,borderBottomLeftRadius:i.correctBorderRadius,borderBottomRightRadius:i.correctBorderRadius,boxShadow:n.correctBoxShadow};exports.MeasureLayout=function(s){const[i,n]=o.usePresence(),a=e.useContext(t.LayoutGroupContext);return p.exports.jsx(c,{...s,layoutGroup:a,switchLayoutGroup:e.useContext(r.SwitchLayoutGroupContext),isPresent:i,safeToRemove:n})};
|
|
2
2
|
//# sourceMappingURL=MeasureLayout.mjs.js.map
|
package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasureLayout.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport {
|
|
1
|
+
{"version":3,"file":"MeasureLayout.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { frame, microtask } from 'motion-dom';\nimport { useContext, Component } from 'react';\nimport { usePresence } from '../../../components/AnimatePresence/use-presence.mjs';\nimport { LayoutGroupContext } from '../../../context/LayoutGroupContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../../context/SwitchLayoutGroupContext.mjs';\nimport { globalProjectionState } from '../../../projection/node/state.mjs';\nimport { correctBorderRadius } from '../../../projection/styles/scale-border-radius.mjs';\nimport { correctBoxShadow } from '../../../projection/styles/scale-box-shadow.mjs';\nimport { addScaleCorrector } from '../../../projection/styles/scale-correction.mjs';\n\nclass MeasureLayoutWithContext extends Component {\n /**\n * This only mounts projection nodes for components that\n * need measuring, we might want to do it for all components\n * in order to incorporate transforms\n */\n componentDidMount() {\n const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props;\n const { projection } = visualElement;\n addScaleCorrector(defaultScaleCorrectors);\n if (projection) {\n if (layoutGroup.group)\n layoutGroup.group.add(projection);\n if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {\n switchLayoutGroup.register(projection);\n }\n projection.root.didUpdate();\n projection.addEventListener(\"animationComplete\", () => {\n this.safeToRemove();\n });\n projection.setOptions({\n ...projection.options,\n onExitComplete: () => this.safeToRemove(),\n });\n }\n globalProjectionState.hasEverUpdated = true;\n }\n getSnapshotBeforeUpdate(prevProps) {\n const { layoutDependency, visualElement, drag, isPresent } = this.props;\n const projection = visualElement.projection;\n if (!projection)\n return null;\n /**\n * TODO: We use this data in relegate to determine whether to\n * promote a previous element. There's no guarantee its presence data\n * will have updated by this point - if a bug like this arises it will\n * have to be that we markForRelegation and then find a new lead some other way,\n * perhaps in didUpdate\n */\n projection.isPresent = isPresent;\n if (drag ||\n prevProps.layoutDependency !== layoutDependency ||\n layoutDependency === undefined ||\n prevProps.isPresent !== isPresent) {\n projection.willUpdate();\n }\n else {\n this.safeToRemove();\n }\n if (prevProps.isPresent !== isPresent) {\n if (isPresent) {\n projection.promote();\n }\n else if (!projection.relegate()) {\n /**\n * If there's another stack member taking over from this one,\n * it's in charge of the exit animation and therefore should\n * be in charge of the safe to remove. Otherwise we call it here.\n */\n frame.postRender(() => {\n const stack = projection.getStack();\n if (!stack || !stack.members.length) {\n this.safeToRemove();\n }\n });\n }\n }\n return null;\n }\n componentDidUpdate() {\n const { projection } = this.props.visualElement;\n if (projection) {\n projection.root.didUpdate();\n microtask.postRender(() => {\n if (!projection.currentAnimation && projection.isLead()) {\n this.safeToRemove();\n }\n });\n }\n }\n componentWillUnmount() {\n const { visualElement, layoutGroup, switchLayoutGroup: promoteContext, } = this.props;\n const { projection } = visualElement;\n if (projection) {\n projection.scheduleCheckAfterUnmount();\n if (layoutGroup && layoutGroup.group)\n layoutGroup.group.remove(projection);\n if (promoteContext && promoteContext.deregister)\n promoteContext.deregister(projection);\n }\n }\n safeToRemove() {\n const { safeToRemove } = this.props;\n safeToRemove && safeToRemove();\n }\n render() {\n return null;\n }\n}\nfunction MeasureLayout(props) {\n const [isPresent, safeToRemove] = usePresence();\n const layoutGroup = useContext(LayoutGroupContext);\n return (jsx(MeasureLayoutWithContext, { ...props, layoutGroup: layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent: isPresent, safeToRemove: safeToRemove }));\n}\nconst defaultScaleCorrectors = {\n borderRadius: {\n ...correctBorderRadius,\n applyTo: [\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\",\n \"borderBottomLeftRadius\",\n \"borderBottomRightRadius\",\n ],\n },\n borderTopLeftRadius: correctBorderRadius,\n borderTopRightRadius: correctBorderRadius,\n borderBottomLeftRadius: correctBorderRadius,\n borderBottomRightRadius: correctBorderRadius,\n boxShadow: correctBoxShadow,\n};\n\nexport { MeasureLayout };\n"],"names":["MeasureLayoutWithContext","Component","componentDidMount","visualElement","layoutGroup","switchLayoutGroup","layoutId","this","props","projection","addScaleCorrector","defaultScaleCorrectors","group","add","register","root","didUpdate","addEventListener","safeToRemove","setOptions","options","onExitComplete","globalProjectionState","hasEverUpdated","getSnapshotBeforeUpdate","prevProps","layoutDependency","drag","isPresent","undefined","willUpdate","promote","relegate","frame","postRender","stack","getStack","members","length","componentDidUpdate","microtask","currentAnimation","isLead","componentWillUnmount","promoteContext","scheduleCheckAfterUnmount","remove","deregister","render","borderRadius","correctBorderRadius","applyTo","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","boxShadow","correctBoxShadow","usePresence","useContext","LayoutGroupContext","jsx","SwitchLayoutGroupContext"],"mappings":"8wBAYA,MAAMA,UAAiCC,EAAAA,UAMnCC,iBAAAA,GACI,MAAMC,cAAEA,EAAaC,YAAEA,EAAWC,kBAAEA,EAAiBC,SAAEA,GAAaC,KAAKC,OACnEC,WAAEA,GAAeN,EACvBO,EAAiBA,kBAACC,GACdF,IACIL,EAAYQ,OACZR,EAAYQ,MAAMC,IAAIJ,GACtBJ,GAAqBA,EAAkBS,UAAYR,GACnDD,EAAkBS,SAASL,GAE/BA,EAAWM,KAAKC,YAChBP,EAAWQ,iBAAiB,qBAAqB,KAC7CV,KAAKW,cAAc,IAEvBT,EAAWU,WAAW,IACfV,EAAWW,QACdC,eAAgBA,IAAMd,KAAKW,kBAGnCI,EAAqBA,sBAACC,gBAAiB,CAC3C,CACAC,uBAAAA,CAAwBC,GACpB,MAAMC,iBAAEA,EAAgBvB,cAAEA,EAAawB,KAAEA,EAAIC,UAAEA,GAAcrB,KAAKC,MAC5DC,EAAaN,EAAcM,WACjC,OAAKA,GASLA,EAAWmB,UAAYA,EACnBD,GACAF,EAAUC,mBAAqBA,QACVG,IAArBH,GACAD,EAAUG,YAAcA,EACxBnB,EAAWqB,aAGXvB,KAAKW,eAELO,EAAUG,YAAcA,IACpBA,EACAnB,EAAWsB,UAELtB,EAAWuB,YAMjBC,EAAKA,MAACC,YAAW,KACb,MAAMC,EAAQ1B,EAAW2B,WACpBD,GAAUA,EAAME,QAAQC,QACzB/B,KAAKW,cACT,KAIL,MApCI,IAqCf,CACAqB,kBAAAA,GACI,MAAM9B,WAAEA,GAAeF,KAAKC,MAAML,cAC9BM,IACAA,EAAWM,KAAKC,YAChBwB,EAASA,UAACN,YAAW,MACZzB,EAAWgC,kBAAoBhC,EAAWiC,UAC3CnC,KAAKW,cACT,IAGZ,CACAyB,oBAAAA,GACI,MAAMxC,cAAEA,EAAaC,YAAEA,EAAaC,kBAAmBuC,GAAoBrC,KAAKC,OAC1EC,WAAEA,GAAeN,EACnBM,IACAA,EAAWoC,4BACPzC,GAAeA,EAAYQ,OAC3BR,EAAYQ,MAAMkC,OAAOrC,GACzBmC,GAAkBA,EAAeG,YACjCH,EAAeG,WAAWtC,GAEtC,CACAS,YAAAA,GACI,MAAMA,aAAEA,GAAiBX,KAAKC,MAC9BU,GAAgBA,GACpB,CACA8B,MAAAA,GACI,OAAO,IACX,EAOJ,MAAMrC,EAAyB,CAC3BsC,aAAc,IACPC,EAAmBA,oBACtBC,QAAS,CACL,sBACA,uBACA,yBACA,4BAGRC,oBAAqBF,EAAmBA,oBACxCG,qBAAsBH,EAAmBA,oBACzCI,uBAAwBJ,EAAmBA,oBAC3CK,wBAAyBL,EAAmBA,oBAC5CM,UAAWC,EAAAA,wCAnBf,SAAuBjD,GACnB,MAAOoB,EAAWV,GAAgBwC,EAAWA,cACvCtD,EAAcuD,aAAWC,EAAAA,oBAC/B,OAAQC,EAAAA,QAAAA,IAAI7D,EAA0B,IAAKQ,EAAOJ,YAAaA,EAAaC,kBAAmBsD,EAAUA,WAACG,4BAA2BlC,UAAWA,EAAWV,aAAcA,GAC7K"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./layout/MeasureLayout.mjs.js");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../projection/node/HTMLProjectionNode.mjs.js"),o=require("./layout/MeasureLayout.mjs.js");const r={layout:{ProjectionNode:e.HTMLProjectionNode,MeasureLayout:o.MeasureLayout}};exports.layout=r;
|
|
2
2
|
//# sourceMappingURL=layout.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout.mjs"],"sourcesContent":["import { HTMLProjectionNode } from '
|
|
1
|
+
{"version":3,"file":"layout.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout.mjs"],"sourcesContent":["import { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\n\nconst layout = {\n layout: {\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { layout };\n"],"names":["layout","ProjectionNode","HTMLProjectionNode","MeasureLayout"],"mappings":"gLAGA,MAAMA,EAAS,CACXA,OAAQ,CACJC,eAAgBC,EAAkBA,mBAClCC,cAAAA,EAAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./definitions.mjs.js")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./definitions.mjs.js");exports.loadFeatures=function(i){for(const t in i)e.featureDefinitions[t]={...e.featureDefinitions[t],...i[t]}};
|
|
2
2
|
//# sourceMappingURL=load-features.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-features.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/load-features.mjs"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"load-features.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/load-features.mjs"],"sourcesContent":["import { featureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n}\n\nexport { loadFeatures };\n"],"names":["features","key","featureDefinitions"],"mappings":"+HAEA,SAAsBA,GAClB,IAAK,MAAMC,KAAOD,EACdE,EAAkBA,mBAACD,GAAO,IACnBC,EAAAA,mBAAmBD,MACnBD,EAASC,GAGxB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../Feature.mjs.js"),t=require("./observers.mjs.js");const r={some:0,all:1};class s extends e.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:s,margin:n,amount:o="some",once:i}=e,u={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:r[o]};return t.observeIntersection(this.node.current,u,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:s}=this.node.getProps(),n=t?r:s;n&&n(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,r=["amount","margin","root"].some(function(e){let{viewport:t={}}=e,{viewport:r={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>t[e]!==r[e]}(e,t));r&&this.startObserver()}unmount(){}}exports.InViewFeature=s;
|
|
2
2
|
//# sourceMappingURL=index.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs"],"sourcesContent":["import { Feature } from '
|
|
1
|
+
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs"],"sourcesContent":["import { Feature } from '../Feature.mjs';\nimport { observeIntersection } from './observers.mjs';\n\nconst thresholdNames = {\n some: 0,\n all: 1,\n};\nclass InViewFeature extends Feature {\n constructor() {\n super(...arguments);\n this.hasEnteredView = false;\n this.isInView = false;\n }\n startObserver() {\n this.unmount();\n const { viewport = {} } = this.node.getProps();\n const { root, margin: rootMargin, amount = \"some\", once } = viewport;\n const options = {\n root: root ? root.current : undefined,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholdNames[amount],\n };\n const onIntersectionUpdate = (entry) => {\n const { isIntersecting } = entry;\n /**\n * If there's been no change in the viewport state, early return.\n */\n if (this.isInView === isIntersecting)\n return;\n this.isInView = isIntersecting;\n /**\n * Handle hasEnteredView. If this is only meant to run once, and\n * element isn't visible, early return. Otherwise set hasEnteredView to true.\n */\n if (once && !isIntersecting && this.hasEnteredView) {\n return;\n }\n else if (isIntersecting) {\n this.hasEnteredView = true;\n }\n if (this.node.animationState) {\n this.node.animationState.setActive(\"whileInView\", isIntersecting);\n }\n /**\n * Use the latest committed props rather than the ones in scope\n * when this observer is created\n */\n const { onViewportEnter, onViewportLeave } = this.node.getProps();\n const callback = isIntersecting ? onViewportEnter : onViewportLeave;\n callback && callback(entry);\n };\n return observeIntersection(this.node.current, options, onIntersectionUpdate);\n }\n mount() {\n this.startObserver();\n }\n update() {\n if (typeof IntersectionObserver === \"undefined\")\n return;\n const { props, prevProps } = this.node;\n const hasOptionsChanged = [\"amount\", \"margin\", \"root\"].some(hasViewportOptionChanged(props, prevProps));\n if (hasOptionsChanged) {\n this.startObserver();\n }\n }\n unmount() { }\n}\nfunction hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) {\n return (name) => viewport[name] !== prevViewport[name];\n}\n\nexport { InViewFeature };\n"],"names":["thresholdNames","some","all","InViewFeature","Feature","constructor","super","arguments","this","hasEnteredView","isInView","startObserver","unmount","viewport","node","getProps","root","margin","rootMargin","amount","once","options","current","undefined","threshold","observeIntersection","entry","isIntersecting","animationState","setActive","onViewportEnter","onViewportLeave","callback","mount","update","IntersectionObserver","props","prevProps","hasOptionsChanged","_ref","prevViewport","length","name","hasViewportOptionChanged"],"mappings":"uIAGA,MAAMA,EAAiB,CACnBC,KAAM,EACNC,IAAK,GAET,MAAMC,UAAsBC,EAAAA,QACxBC,WAAAA,GACIC,SAASC,WACTC,KAAKC,gBAAiB,EACtBD,KAAKE,UAAW,CACpB,CACAC,aAAAA,GACIH,KAAKI,UACL,MAAMC,SAAEA,EAAW,CAAC,GAAML,KAAKM,KAAKC,YAC9BC,KAAEA,EAAMC,OAAQC,EAAUC,OAAEA,EAAS,OAAMC,KAAEA,GAASP,EACtDQ,EAAU,CACZL,KAAMA,EAAOA,EAAKM,aAAUC,EAC5BL,aACAM,UAA6B,iBAAXL,EAAsBA,EAASnB,EAAemB,IA+BpE,OAAOM,EAAAA,oBAAoBjB,KAAKM,KAAKQ,QAASD,GA7BhBK,IAC1B,MAAMC,eAAEA,GAAmBD,EAI3B,GAAIlB,KAAKE,WAAaiB,EAClB,OAMJ,GALAnB,KAAKE,SAAWiB,EAKZP,IAASO,GAAkBnB,KAAKC,eAChC,OAEKkB,IACLnB,KAAKC,gBAAiB,GAEtBD,KAAKM,KAAKc,gBACVpB,KAAKM,KAAKc,eAAeC,UAAU,cAAeF,GAMtD,MAAMG,gBAAEA,EAAeC,gBAAEA,GAAoBvB,KAAKM,KAAKC,WACjDiB,EAAWL,EAAiBG,EAAkBC,EACpDC,GAAYA,EAASN,EAAM,GAGnC,CACAO,KAAAA,GACIzB,KAAKG,eACT,CACAuB,MAAAA,GACI,GAAoC,oBAAzBC,qBACP,OACJ,MAAMC,MAAEA,EAAKC,UAAEA,GAAc7B,KAAKM,KAC5BwB,EAAoB,CAAC,SAAU,SAAU,QAAQrC,KAO/D,SAAiCsC,GAA0D,IAAzD1B,SAAEA,EAAW,CAAC,GAAG0B,GAAI1B,SAAU2B,EAAe,CAAC,GAAGjC,UAAAkC,OAAAlC,QAAAgB,IAAAhB,UAAAgB,GAAAhB,UAAG,GAAA,GACnF,OAAQmC,GAAS7B,EAAS6B,KAAUF,EAAaE,EACrD,CAToEC,CAAyBP,EAAOC,IACxFC,GACA9B,KAAKG,eAEb,CACAC,OAAAA,GAAY"}
|
package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observers.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"],"sourcesContent":["/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nconst observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nconst observers = new WeakMap();\nconst fireObserverCallback = (entry) => {\n const callback = observerCallbacks.get(entry.target);\n callback && callback(entry);\n};\nconst fireAllObserverCallbacks = (entries) => {\n entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver({ root, ...options }) {\n const lookupRoot = root || document;\n /**\n * If we don't have an observer lookup map for this root, create one.\n */\n if (!observers.has(lookupRoot)) {\n observers.set(lookupRoot, {});\n }\n const rootObservers = observers.get(lookupRoot);\n const key = JSON.stringify(options);\n /**\n * If we don't have an observer for this combination of root and settings,\n * create one.\n */\n if (!rootObservers[key]) {\n rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { root, ...options });\n }\n return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n const rootInteresectionObserver = initIntersectionObserver(options);\n observerCallbacks.set(element, callback);\n rootInteresectionObserver.observe(element);\n return () => {\n observerCallbacks.delete(element);\n rootInteresectionObserver.unobserve(element);\n };\n}\n\nexport { observeIntersection };\n
|
|
1
|
+
{"version":3,"file":"observers.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"],"sourcesContent":["/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nconst observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nconst observers = new WeakMap();\nconst fireObserverCallback = (entry) => {\n const callback = observerCallbacks.get(entry.target);\n callback && callback(entry);\n};\nconst fireAllObserverCallbacks = (entries) => {\n entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver({ root, ...options }) {\n const lookupRoot = root || document;\n /**\n * If we don't have an observer lookup map for this root, create one.\n */\n if (!observers.has(lookupRoot)) {\n observers.set(lookupRoot, {});\n }\n const rootObservers = observers.get(lookupRoot);\n const key = JSON.stringify(options);\n /**\n * If we don't have an observer for this combination of root and settings,\n * create one.\n */\n if (!rootObservers[key]) {\n rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { root, ...options });\n }\n return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n const rootInteresectionObserver = initIntersectionObserver(options);\n observerCallbacks.set(element, callback);\n rootInteresectionObserver.observe(element);\n return () => {\n observerCallbacks.delete(element);\n rootInteresectionObserver.unobserve(element);\n };\n}\n\nexport { observeIntersection };\n"],"names":["observerCallbacks","WeakMap","observers","fireObserverCallback","entry","callback","get","target","fireAllObserverCallbacks","entries","forEach","element","options","rootInteresectionObserver","_ref","root","lookupRoot","document","has","set","rootObservers","key","JSON","stringify","IntersectionObserver","initIntersectionObserver","observe","delete","unobserve"],"mappings":"oEAKA,MAAMA,EAAoB,IAAIC,QAMxBC,EAAY,IAAID,QAChBE,EAAwBC,IAC1B,MAAMC,EAAWL,EAAkBM,IAAIF,EAAMG,QAC7CF,GAAYA,EAASD,EAAM,EAEzBI,EAA4BC,IAC9BA,EAAQC,QAAQP,EAAqB,8BAqBzC,SAA6BQ,EAASC,EAASP,GAC3C,MAAMQ,EApBV,SAAiCC,GAAuB,IAAtBC,KAAEA,KAASH,GAASE,EAClD,MAAME,EAAaD,GAAQE,SAItBf,EAAUgB,IAAIF,IACfd,EAAUiB,IAAIH,EAAY,CAAA,GAE9B,MAAMI,EAAgBlB,EAAUI,IAAIU,GAC9BK,EAAMC,KAAKC,UAAUX,GAQ3B,OAHKQ,EAAcC,KACfD,EAAcC,GAAO,IAAIG,qBAAqBhB,EAA0B,CAAEO,UAASH,KAEhFQ,EAAcC,EACzB,CAEsCI,CAAyBb,GAG3D,OAFAZ,EAAkBmB,IAAIR,EAASN,GAC/BQ,EAA0Ba,QAAQf,GAC3B,KACHX,EAAkB2B,OAAOhB,GACzBE,EAA0Be,UAAUjB,EAAQ,CAEpD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../react/jsx-runtime.js");var e=require("react"),t=require("../context/LayoutGroupContext.mjs.js"),o=require("../context/LazyContext.mjs.js"),n=require("../context/MotionConfigContext.mjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../../react/jsx-runtime.js");var e=require("react"),t=require("../context/LayoutGroupContext.mjs.js"),o=require("../context/LazyContext.mjs.js"),n=require("../context/MotionConfigContext.mjs.js"),r=require("../context/MotionContext/index.mjs.js"),s=require("../context/MotionContext/create.mjs.js"),i=require("../utils/is-browser.mjs.js"),u=require("./features/definitions.mjs.js"),a=require("./features/load-features.mjs.js"),l=require("./utils/symbol.mjs.js"),m=require("./utils/use-motion-ref.mjs.js"),c=require("./utils/use-visual-element.mjs.js"),j=require("../../../../../_virtual/jsx-runtime.js"),d=require("../../../../motion-utils/dist/es/errors.mjs.js");function x(o){let{layoutId:n}=o;const r=e.useContext(t.LayoutGroupContext).id;return r&&void 0!==n?r+"-"+n:n}exports.createRendererMotionComponent=function(t){let{preloadedFeatures:f,createVisualElement:p,useRender:C,useVisualState:v,Component:y}=t;function q(t,a){let l;const q={...e.useContext(n.MotionConfigContext),...t,layoutId:x(t)},{isStatic:M}=q,E=s.useCreateMotionContext(t),L=v(t,M);if(!M&&i.isBrowser){!function(t,n){const r=e.useContext(o.LazyContext).strict;if("production"!==process.env.NODE_ENV&&n&&r){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?d.warning(!1,e):d.invariant(!1,e)}}(q,f);const t=function(e){const{drag:t,layout:o}=u.featureDefinitions;if(!t&&!o)return{};const n={...t,...o};return{MeasureLayout:t?.isEnabled(e)||o?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(q);l=t.MeasureLayout,E.visualElement=c.useVisualElement(y,L,q,p,t.ProjectionNode)}return j.exports.jsxs(r.MotionContext.Provider,{value:E,children:[l&&E.visualElement?j.exports.jsx(l,{visualElement:E.visualElement,...q}):null,C(y,t,m.useMotionRef(L,E.visualElement,a),L,M,E.visualElement)]})}f&&a.loadFeatures(f),q.displayName=`motion.${"string"==typeof y?y:`create(${y.displayName??y.name??""})`}`;const M=e.forwardRef(q);return M[l.motionComponentSymbol]=y,M};
|
|
2
2
|
//# sourceMappingURL=index.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/motion/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { warning, invariant } from 'motion-utils';\nimport { forwardRef, useContext } from 'react';\nimport { LayoutGroupContext } from '../context/LayoutGroupContext.mjs';\nimport { LazyContext } from '../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../context/MotionContext/index.mjs';\nimport { useCreateMotionContext } from '../context/MotionContext/create.mjs';\nimport {
|
|
1
|
+
{"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/motion/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { warning, invariant } from 'motion-utils';\nimport { forwardRef, useContext } from 'react';\nimport { LayoutGroupContext } from '../context/LayoutGroupContext.mjs';\nimport { LazyContext } from '../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../context/MotionContext/index.mjs';\nimport { useCreateMotionContext } from '../context/MotionContext/create.mjs';\nimport { isBrowser } from '../utils/is-browser.mjs';\nimport { featureDefinitions } from './features/definitions.mjs';\nimport { loadFeatures } from './features/load-features.mjs';\nimport { motionComponentSymbol } from './utils/symbol.mjs';\nimport { useMotionRef } from './utils/use-motion-ref.mjs';\nimport { useVisualElement } from './utils/use-visual-element.mjs';\n\n/**\n * Create a `motion` component.\n *\n * This function accepts a Component argument, which can be either a string (ie \"div\"\n * for `motion.div`), or an actual React component.\n *\n * Alongside this is a config option which provides a way of rendering the provided\n * component \"offline\", or outside the React render cycle.\n */\nfunction createRendererMotionComponent({ preloadedFeatures, createVisualElement, useRender, useVisualState, Component, }) {\n preloadedFeatures && loadFeatures(preloadedFeatures);\n function MotionComponent(props, externalRef) {\n /**\n * If we need to measure the element we load this functionality in a\n * separate class component in order to gain access to getSnapshotBeforeUpdate.\n */\n let MeasureLayout;\n const configAndProps = {\n ...useContext(MotionConfigContext),\n ...props,\n layoutId: useLayoutId(props),\n };\n const { isStatic } = configAndProps;\n const context = useCreateMotionContext(props);\n const visualState = useVisualState(props, isStatic);\n if (!isStatic && isBrowser) {\n useStrictMode(configAndProps, preloadedFeatures);\n const layoutProjection = getProjectionFunctionality(configAndProps);\n MeasureLayout = layoutProjection.MeasureLayout;\n /**\n * Create a VisualElement for this component. A VisualElement provides a common\n * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as\n * providing a way of rendering to these APIs outside of the React render loop\n * for more performant animations and interactions\n */\n context.visualElement = useVisualElement(Component, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode);\n }\n /**\n * The mount order and hierarchy is specific to ensure our element ref\n * is hydrated by the time features fire their effects.\n */\n return (jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout && context.visualElement ? (jsx(MeasureLayout, { visualElement: context.visualElement, ...configAndProps })) : null, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, context.visualElement)] }));\n }\n MotionComponent.displayName = `motion.${typeof Component === \"string\"\n ? Component\n : `create(${Component.displayName ?? Component.name ?? \"\"})`}`;\n const ForwardRefMotionComponent = forwardRef(MotionComponent);\n ForwardRefMotionComponent[motionComponentSymbol] = Component;\n return ForwardRefMotionComponent;\n}\nfunction useLayoutId({ layoutId }) {\n const layoutGroupId = useContext(LayoutGroupContext).id;\n return layoutGroupId && layoutId !== undefined\n ? layoutGroupId + \"-\" + layoutId\n : layoutId;\n}\nfunction useStrictMode(configAndProps, preloadedFeatures) {\n const isStrict = useContext(LazyContext).strict;\n /**\n * If we're in development mode, check to make sure we're not rendering a motion component\n * as a child of LazyMotion, as this will break the file-size benefits of using it.\n */\n if (process.env.NODE_ENV !== \"production\" &&\n preloadedFeatures &&\n isStrict) {\n const strictMessage = \"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.\";\n configAndProps.ignoreStrict\n ? warning(false, strictMessage)\n : invariant(false, strictMessage);\n }\n}\nfunction getProjectionFunctionality(props) {\n const { drag, layout } = featureDefinitions;\n if (!drag && !layout)\n return {};\n const combined = { ...drag, ...layout };\n return {\n MeasureLayout: drag?.isEnabled(props) || layout?.isEnabled(props)\n ? combined.MeasureLayout\n : undefined,\n ProjectionNode: combined.ProjectionNode,\n };\n}\n\nexport { createRendererMotionComponent };\n"],"names":["useLayoutId","_ref2","layoutId","layoutGroupId","useContext","LayoutGroupContext","id","undefined","_ref","preloadedFeatures","createVisualElement","useRender","useVisualState","Component","MotionComponent","props","externalRef","MeasureLayout","configAndProps","MotionConfigContext","isStatic","context","useCreateMotionContext","visualState","isBrowser","isStrict","LazyContext","strict","process","env","NODE_ENV","strictMessage","ignoreStrict","warning","invariant","useStrictMode","layoutProjection","drag","layout","featureDefinitions","combined","isEnabled","ProjectionNode","getProjectionFunctionality","visualElement","useVisualElement","jsxs","exports","MotionContext","Provider","value","children","jsx","useMotionRef","loadFeatures","displayName","name","ForwardRefMotionComponent","forwardRef","motionComponentSymbol"],"mappings":"2uBAkEA,SAASA,EAAWC,GAAe,IAAdC,SAAEA,GAAUD,EAC7B,MAAME,EAAgBC,EAAAA,WAAWC,EAAkBA,oBAAEC,GACrD,OAAOH,QAA8BI,IAAbL,EAClBC,EAAgB,IAAMD,EACtBA,CACV,uCA9CA,SAAsCM,GAAoF,IAAnFC,kBAAEA,EAAiBC,oBAAEA,EAAmBC,UAAEA,EAASC,eAAEA,EAAcC,UAAEA,GAAYL,EAEpH,SAASM,EAAgBC,EAAOC,GAK5B,IAAIC,EACJ,MAAMC,EAAiB,IAChBd,EAAAA,WAAWe,EAAAA,wBACXJ,EACHb,SAAUF,EAAYe,KAEpBK,SAAEA,GAAaF,EACfG,EAAUC,yBAAuBP,GACjCQ,EAAcX,EAAeG,EAAOK,GAC1C,IAAKA,GAAYI,YAAW,EA+BpC,SAAuBN,EAAgBT,GACnC,MAAMgB,EAAWrB,EAAAA,WAAWsB,EAAWA,aAAEC,OAKzC,GAA6B,eAAzBC,QAAQC,IAAIC,UACZrB,GACAgB,EAAU,CACV,MAAMM,EAAgB,mJACtBb,EAAec,aACTC,EAAAA,SAAQ,EAAOF,GACfG,EAASA,WAAC,EAAOH,EAC3B,CACJ,CA5CYI,CAAcjB,EAAgBT,GAC9B,MAAM2B,EA4ClB,SAAoCrB,GAChC,MAAMsB,KAAEA,EAAIC,OAAEA,GAAWC,qBACzB,IAAKF,IAASC,EACV,MAAO,CAAA,EACX,MAAME,EAAW,IAAKH,KAASC,GAC/B,MAAO,CACHrB,cAAeoB,GAAMI,UAAU1B,IAAUuB,GAAQG,UAAU1B,GACrDyB,EAASvB,mBACTV,EACNmC,eAAgBF,EAASE,eAEjC,CAvDqCC,CAA2BzB,GACpDD,EAAgBmB,EAAiBnB,cAOjCI,EAAQuB,cAAgBC,EAAgBA,iBAAChC,EAAWU,EAAaL,EAAgBR,EAAqB0B,EAAiBM,eAC3H,CAKA,OAAQI,EAAIC,QAAAD,KAACE,EAAaA,cAACC,SAAU,CAAEC,MAAO7B,EAAS8B,SAAU,CAAClC,GAAiBI,EAAQuB,cAAiBQ,EAAAA,QAAAA,IAAInC,EAAe,CAAE2B,cAAevB,EAAQuB,iBAAkB1B,IAAqB,KAAMP,EAAUE,EAAWE,EAAOsC,EAAYA,aAAC9B,EAAaF,EAAQuB,cAAe5B,GAAcO,EAAaH,EAAUC,EAAQuB,iBACnU,CAhCAnC,GAAqB6C,EAAAA,aAAa7C,GAiClCK,EAAgByC,YAAc,UAA+B,iBAAd1C,EACzCA,EACA,UAAUA,EAAU0C,aAAe1C,EAAU2C,MAAQ,QAC3D,MAAMC,EAA4BC,aAAW5C,GAE7C,OADA2C,EAA0BE,EAAAA,uBAAyB9C,EAC5C4C,CACX"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../projection/styles/scale-correction.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/utils/keys-transform.mjs.js");exports.isForcedMotionValue=function(o,s){let{layout:t,layoutId:i}=s;return r.transformProps.has(o)||o.startsWith("origin")||(t||void 0!==i)&&(!!e.scaleCorrectors[o]||"opacity"===o)};
|
|
2
|
+
//# sourceMappingURL=is-forced-motion-value.mjs.js.map
|
package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-forced-motion-value.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"],"sourcesContent":["import { transformProps } from 'motion-dom';\nimport { scaleCorrectors } from '../../projection/styles/scale-correction.mjs';\n\nfunction isForcedMotionValue(key, { layout, layoutId }) {\n return (transformProps.has(key) ||\n key.startsWith(\"origin\") ||\n ((layout || layoutId !== undefined) &&\n (!!scaleCorrectors[key] || key === \"opacity\")));\n}\n\nexport { isForcedMotionValue };\n"],"names":["key","_ref","layout","layoutId","transformProps","has","startsWith","undefined","scaleCorrectors"],"mappings":"mPAGA,SAA6BA,EAAGC,GAAwB,IAAtBC,OAAEA,EAAMC,SAAEA,GAAUF,EAClD,OAAQG,EAAAA,eAAeC,IAAIL,IACvBA,EAAIM,WAAW,YACbJ,QAAuBK,IAAbJ,OACLK,EAAAA,gBAAgBR,IAAgB,YAARA,EACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"symbol.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"],"sourcesContent":["const motionComponentSymbol = Symbol.for(\"motionComponentSymbol\");\n\nexport { motionComponentSymbol };\n
|
|
1
|
+
{"version":3,"file":"symbol.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"],"sourcesContent":["const motionComponentSymbol = Symbol.for(\"motionComponentSymbol\");\n\nexport { motionComponentSymbol };\n"],"names":["motionComponentSymbol","Symbol","for"],"mappings":"oEAAA,MAAMA,EAAwBC,OAAOC,IAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useMotionRef=function(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../utils/is-ref-object.mjs.js");exports.useMotionRef=function(u,o,r){return e.useCallback((e=>{e&&u.onMount&&u.onMount(e),o&&(e?o.mount(e):o.unmount()),r&&("function"==typeof r?r(e):t.isRefObject(r)&&(r.current=e))}),[o])};
|
|
2
2
|
//# sourceMappingURL=use-motion-ref.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-motion-ref.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"use-motion-ref.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"],"sourcesContent":["import { useCallback } from 'react';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\n\n/**\n * Creates a ref function that, when called, hydrates the provided\n * external ref and VisualElement.\n */\nfunction useMotionRef(visualState, visualElement, externalRef) {\n return useCallback((instance) => {\n if (instance) {\n visualState.onMount && visualState.onMount(instance);\n }\n if (visualElement) {\n if (instance) {\n visualElement.mount(instance);\n }\n else {\n visualElement.unmount();\n }\n }\n if (externalRef) {\n if (typeof externalRef === \"function\") {\n externalRef(instance);\n }\n else if (isRefObject(externalRef)) {\n externalRef.current = instance;\n }\n }\n }, \n /**\n * Only pass a new ref callback to React if we've received a visual element\n * factory. Otherwise we'll be mounting/remounting every time externalRef\n * or other dependencies change.\n */\n [visualElement]);\n}\n\nexport { useMotionRef };\n"],"names":["visualState","visualElement","externalRef","useCallback","instance","onMount","mount","unmount","isRefObject","current"],"mappings":"8JAOA,SAAsBA,EAAaC,EAAeC,GAC9C,OAAOC,EAAAA,aAAaC,IACZA,GACAJ,EAAYK,SAAWL,EAAYK,QAAQD,GAE3CH,IACIG,EACAH,EAAcK,MAAMF,GAGpBH,EAAcM,WAGlBL,IAC2B,mBAAhBA,EACPA,EAAYE,GAEPI,EAAAA,YAAYN,KACjBA,EAAYO,QAAUL,GAE9B,GAOJ,CAACH,GACL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../../context/LazyContext.mjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../../animation/optimized-appear/data-id.mjs.js"),o=require("../../context/LazyContext.mjs.js"),n=require("../../context/MotionConfigContext.mjs.js"),i=require("../../context/MotionContext/index.mjs.js"),r=require("../../context/PresenceContext.mjs.js"),a=require("../../context/SwitchLayoutGroupContext.mjs.js"),s=require("../../utils/is-ref-object.mjs.js"),u=require("../../utils/use-isomorphic-effect.mjs.js"),c=require("../../../../../motion-dom/dist/es/frameloop/microtask.mjs.js");function l(t){if(t)return!1!==t.options.allowProjection?t.projection:l(t.parent)}exports.useVisualElement=function(m,p,d,f,j){const{visualElement:C}=t.useContext(i.MotionContext),x=t.useContext(o.LazyContext),y=t.useContext(r.PresenceContext),M=t.useContext(n.MotionConfigContext).reducedMotion,w=t.useRef(null);f=f||x.renderer,!w.current&&f&&(w.current=f(m,{visualState:p,parent:C,props:d,presenceContext:y,blockInitialAnimation:!!y&&!1===y.initial,reducedMotionConfig:M}));const q=w.current,g=t.useContext(a.SwitchLayoutGroupContext);!q||q.projection||!j||"html"!==q.type&&"svg"!==q.type||function(t,e,o,n){const{layoutId:i,layout:r,drag:a,dragConstraints:u,layoutScroll:c,layoutRoot:m,layoutCrossfade:p}=e;t.projection=new o(t.latestValues,e["data-framer-portal-id"]?void 0:l(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:Boolean(a)||u&&s.isRefObject(u),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:c,layoutRoot:m})}(w.current,d,j,g);const S=t.useRef(!1);t.useInsertionEffect((()=>{q&&S.current&&q.update(d,y)}));const h=d[e.optimizedAppearDataAttribute],v=t.useRef(Boolean(h)&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return u.useIsomorphicLayoutEffect((()=>{q&&(S.current=!0,window.MotionIsMounted=!0,q.updateFeatures(),c.microtask.render(q.render),v.current&&q.animationState&&q.animationState.animateChanges())})),t.useEffect((()=>{q&&(!v.current&&q.animationState&&q.animationState.animateChanges(),v.current&&(queueMicrotask((()=>{window.MotionHandoffMarkAsComplete?.(h)})),v.current=!1))})),q};
|
|
2
2
|
//# sourceMappingURL=use-visual-element.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"use-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"],"sourcesContent":["import { microtask } from 'motion-dom';\nimport { useContext, useRef, useInsertionEffect, useEffect } from 'react';\nimport { optimizedAppearDataAttribute } from '../../animation/optimized-appear/data-id.mjs';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../context/SwitchLayoutGroupContext.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\nfunction useVisualElement(Component, visualState, props, createVisualElement, ProjectionNodeConstructor) {\n const { visualElement: parent } = useContext(MotionContext);\n const lazyContext = useContext(LazyContext);\n const presenceContext = useContext(PresenceContext);\n const reducedMotionConfig = useContext(MotionConfigContext).reducedMotion;\n const visualElementRef = useRef(null);\n /**\n * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n */\n createVisualElement = createVisualElement || lazyContext.renderer;\n if (!visualElementRef.current && createVisualElement) {\n visualElementRef.current = createVisualElement(Component, {\n visualState,\n parent,\n props,\n presenceContext,\n blockInitialAnimation: presenceContext\n ? presenceContext.initial === false\n : false,\n reducedMotionConfig,\n });\n }\n const visualElement = visualElementRef.current;\n /**\n * Load Motion gesture and animation features. These are rendered as renderless\n * components so each feature can optionally make use of React lifecycle methods.\n */\n const initialLayoutGroupConfig = useContext(SwitchLayoutGroupContext);\n if (visualElement &&\n !visualElement.projection &&\n ProjectionNodeConstructor &&\n (visualElement.type === \"html\" || visualElement.type === \"svg\")) {\n createProjectionNode(visualElementRef.current, props, ProjectionNodeConstructor, initialLayoutGroupConfig);\n }\n const isMounted = useRef(false);\n useInsertionEffect(() => {\n /**\n * Check the component has already mounted before calling\n * `update` unnecessarily. This ensures we skip the initial update.\n */\n if (visualElement && isMounted.current) {\n visualElement.update(props, presenceContext);\n }\n });\n /**\n * Cache this value as we want to know whether HandoffAppearAnimations\n * was present on initial render - it will be deleted after this.\n */\n const optimisedAppearId = props[optimizedAppearDataAttribute];\n const wantsHandoff = useRef(Boolean(optimisedAppearId) &&\n !window.MotionHandoffIsComplete?.(optimisedAppearId) &&\n window.MotionHasOptimisedAnimation?.(optimisedAppearId));\n useIsomorphicLayoutEffect(() => {\n if (!visualElement)\n return;\n isMounted.current = true;\n window.MotionIsMounted = true;\n visualElement.updateFeatures();\n microtask.render(visualElement.render);\n /**\n * Ideally this function would always run in a useEffect.\n *\n * However, if we have optimised appear animations to handoff from,\n * it needs to happen synchronously to ensure there's no flash of\n * incorrect styles in the event of a hydration error.\n *\n * So if we detect a situtation where optimised appear animations\n * are running, we use useLayoutEffect to trigger animations.\n */\n if (wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n });\n useEffect(() => {\n if (!visualElement)\n return;\n if (!wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n if (wantsHandoff.current) {\n // This ensures all future calls to animateChanges() in this component will run in useEffect\n queueMicrotask(() => {\n window.MotionHandoffMarkAsComplete?.(optimisedAppearId);\n });\n wantsHandoff.current = false;\n }\n });\n return visualElement;\n}\nfunction createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {\n const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, layoutCrossfade, } = props;\n visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props[\"data-framer-portal-id\"]\n ? undefined\n : getClosestProjectingNode(visualElement.parent));\n visualElement.projection.setOptions({\n layoutId,\n layout,\n alwaysMeasureLayout: Boolean(drag) || (dragConstraints && isRefObject(dragConstraints)),\n visualElement,\n /**\n * TODO: Update options in an effect. This could be tricky as it'll be too late\n * to update by the time layout animations run.\n * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,\n * ensuring it gets called if there's no potential layout animations.\n *\n */\n animationType: typeof layout === \"string\" ? layout : \"both\",\n initialPromotionConfig,\n crossfade: layoutCrossfade,\n layoutScroll,\n layoutRoot,\n });\n}\nfunction getClosestProjectingNode(visualElement) {\n if (!visualElement)\n return undefined;\n return visualElement.options.allowProjection !== false\n ? visualElement.projection\n : getClosestProjectingNode(visualElement.parent);\n}\n\nexport { useVisualElement };\n"],"names":["getClosestProjectingNode","visualElement","options","allowProjection","projection","parent","Component","visualState","props","createVisualElement","ProjectionNodeConstructor","useContext","MotionContext","lazyContext","LazyContext","presenceContext","PresenceContext","reducedMotionConfig","MotionConfigContext","reducedMotion","visualElementRef","useRef","renderer","current","blockInitialAnimation","initial","initialLayoutGroupConfig","SwitchLayoutGroupContext","type","initialPromotionConfig","layoutId","layout","drag","dragConstraints","layoutScroll","layoutRoot","layoutCrossfade","latestValues","undefined","setOptions","alwaysMeasureLayout","Boolean","isRefObject","animationType","crossfade","createProjectionNode","isMounted","useInsertionEffect","update","optimisedAppearId","optimizedAppearDataAttribute","wantsHandoff","window","MotionHandoffIsComplete","MotionHasOptimisedAnimation","useIsomorphicLayoutEffect","MotionIsMounted","updateFeatures","microtask","render","animationState","animateChanges","useEffect","queueMicrotask","MotionHandoffMarkAsComplete"],"mappings":"6kBA4HA,SAASA,EAAyBC,GAC9B,GAAKA,EAEL,OAAiD,IAA1CA,EAAcC,QAAQC,gBACvBF,EAAcG,WACdJ,EAAyBC,EAAcI,OACjD,0BAvHA,SAA0BC,EAAWC,EAAaC,EAAOC,EAAqBC,GAC1E,MAAQT,cAAeI,GAAWM,EAAAA,WAAWC,EAAAA,eACvCC,EAAcF,aAAWG,EAAAA,aACzBC,EAAkBJ,aAAWK,EAAAA,iBAC7BC,EAAsBN,EAAAA,WAAWO,EAAmBA,qBAAEC,cACtDC,EAAmBC,SAAO,MAIhCZ,EAAsBA,GAAuBI,EAAYS,UACpDF,EAAiBG,SAAWd,IAC7BW,EAAiBG,QAAUd,EAAoBH,EAAW,CACtDC,cACAF,SACAG,QACAO,kBACAS,wBAAuBT,IACW,IAA5BA,EAAgBU,QAEtBR,yBAGR,MAAMhB,EAAgBmB,EAAiBG,QAKjCG,EAA2Bf,aAAWgB,EAAAA,2BACxC1B,GACCA,EAAcG,aACfM,GACwB,SAAvBT,EAAc2B,MAA0C,QAAvB3B,EAAc2B,MA0DxD,SAA8B3B,EAAeO,EAAOE,EAA2BmB,GAC3E,MAAMC,SAAEA,EAAQC,OAAEA,EAAMC,KAAEA,EAAIC,gBAAEA,EAAeC,aAAEA,EAAYC,WAAEA,EAAUC,gBAAEA,GAAqB5B,EAChGP,EAAcG,WAAa,IAAIM,EAA0BT,EAAcoC,aAAc7B,EAAM,8BACrF8B,EACAtC,EAAyBC,EAAcI,SAC7CJ,EAAcG,WAAWmC,WAAW,CAChCT,WACAC,SACAS,oBAAqBC,QAAQT,IAAUC,GAAmBS,EAAAA,YAAYT,GACtEhC,gBAQA0C,cAAiC,iBAAXZ,EAAsBA,EAAS,OACrDF,yBACAe,UAAWR,EACXF,eACAC,cAER,CAhFQU,CAAqBzB,EAAiBG,QAASf,EAAOE,EAA2BgB,GAErF,MAAMoB,EAAYzB,UAAO,GACzB0B,EAAAA,oBAAmB,KAKX9C,GAAiB6C,EAAUvB,SAC3BtB,EAAc+C,OAAOxC,EAAOO,EAChC,IAMJ,MAAMkC,EAAoBzC,EAAM0C,EAAAA,8BAC1BC,EAAe9B,EAAMA,OAACoB,QAAQQ,KAC/BG,OAAOC,0BAA0BJ,IAClCG,OAAOE,8BAA8BL,IAoCzC,OAnCAM,EAAAA,2BAA0B,KACjBtD,IAEL6C,EAAUvB,SAAU,EACpB6B,OAAOI,iBAAkB,EACzBvD,EAAcwD,iBACdC,EAAAA,UAAUC,OAAO1D,EAAc0D,QAW3BR,EAAa5B,SAAWtB,EAAc2D,gBACtC3D,EAAc2D,eAAeC,iBACjC,IAEJC,EAAAA,WAAU,KACD7D,KAEAkD,EAAa5B,SAAWtB,EAAc2D,gBACvC3D,EAAc2D,eAAeC,iBAE7BV,EAAa5B,UAEbwC,gBAAe,KACXX,OAAOY,8BAA8Bf,EAAkB,IAE3DE,EAAa5B,SAAU,GAC3B,IAEGtB,CACX"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../animation/utils/is-animation-controls.mjs.js"),n=require("../../context/MotionContext/index.mjs.js"),r=require("../../context/PresenceContext.mjs.js"),i=require("../../render/utils/is-controlling-variants.mjs.js"),s=require("../../render/utils/resolve-variants.mjs.js"),o=require("../../utils/use-constant.mjs.js"),a=require("../../value/utils/resolve-motion-value.mjs.js");function l(e,n,r,o){const l={},u=o(e,{});for(const e in u)l[e]=a.resolveMotionValue(u[e]);let{initial:c,animate:m}=e;const j=i.isControllingVariants(e),v=i.isVariantNode(e);n&&v&&!j&&!1!==e.inherit&&(void 0===c&&(c=n.initial),void 0===m&&(m=n.animate));let d=!!r&&!1===r.initial;d=d||!1===c;const f=d?m:c;if(f&&"boolean"!=typeof f&&!t.isAnimationControls(f)){const t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){const r=s.resolveVariantFromProps(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[d?t.length-1:0]}null!==t&&(l[e]=t)}for(const t in e)l[t]=e[t]}}}return l}exports.makeUseVisualState=t=>(i,s)=>{const a=e.useContext(n.MotionContext),u=e.useContext(r.PresenceContext),c=()=>function(e,t,n,r){let{scrapeMotionValuesFromProps:i,createRenderState:s}=e;return{latestValues:l(t,n,r,i),renderState:s()}}(t,i,a,u);return s?c():o.useConstant(c)};
|
|
2
2
|
//# sourceMappingURL=use-visual-state.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"use-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["import { useContext } from 'react';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { isControllingVariants, isVariantNode } from '../../render/utils/is-controlling-variants.mjs';\nimport { resolveVariantFromProps } from '../../render/utils/resolve-variants.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, }, props, context, presenceContext) {\n const state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n return state;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n const context = useContext(MotionContext);\n const presenceContext = useContext(PresenceContext);\n const make = () => makeState(config, props, context, presenceContext);\n return isStatic ? make() : useConstant(make);\n};\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n const values = {};\n const motionValues = scrapeMotionValues(props, {});\n for (const key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n let { initial, animate } = props;\n const isControllingVariants$1 = isControllingVariants(props);\n const isVariantNode$1 = isVariantNode(props);\n if (context &&\n isVariantNode$1 &&\n !isControllingVariants$1 &&\n props.inherit !== false) {\n if (initial === undefined)\n initial = context.initial;\n if (animate === undefined)\n animate = context.animate;\n }\n let isInitialAnimationBlocked = presenceContext\n ? presenceContext.initial === false\n : false;\n isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n const variantToSet = isInitialAnimationBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n for (let i = 0; i < list.length; i++) {\n const resolved = resolveVariantFromProps(props, list[i]);\n if (resolved) {\n const { transitionEnd, transition, ...target } = resolved;\n for (const key in target) {\n let valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n const index = isInitialAnimationBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (const key in transitionEnd) {\n values[key] = transitionEnd[key];\n }\n }\n }\n }\n return values;\n}\n\nexport { makeUseVisualState };\n"],"names":["makeLatestValues","props","context","presenceContext","scrapeMotionValues","values","motionValues","key","resolveMotionValue","initial","animate","isControllingVariants$1","isControllingVariants","isVariantNode$1","isVariantNode","inherit","undefined","isInitialAnimationBlocked","variantToSet","isAnimationControls","list","Array","isArray","i","length","resolved","resolveVariantFromProps","transitionEnd","transition","target","valueTarget","config","isStatic","useContext","MotionContext","PresenceContext","make","_ref","scrapeMotionValuesFromProps","createRenderState","latestValues","renderState","makeState","useConstant"],"mappings":"keAsBA,SAASA,EAAiBC,EAAOC,EAASC,EAAiBC,GACvD,MAAMC,EAAS,CAAA,EACTC,EAAeF,EAAmBH,EAAO,CAAE,GACjD,IAAK,MAAMM,KAAOD,EACdD,EAAOE,GAAOC,EAAAA,mBAAmBF,EAAaC,IAElD,IAAIE,QAAEA,EAAOC,QAAEA,GAAYT,EAC3B,MAAMU,EAA0BC,wBAAsBX,GAChDY,EAAkBC,gBAAcb,GAClCC,GACAW,IACCF,IACiB,IAAlBV,EAAMc,eACUC,IAAZP,IACAA,EAAUP,EAAQO,cACNO,IAAZN,IACAA,EAAUR,EAAQQ,UAE1B,IAAIO,IAA4Bd,IACE,IAA5BA,EAAgBM,QAEtBQ,EAA4BA,IAAyC,IAAZR,EACzD,MAAMS,EAAeD,EAA4BP,EAAUD,EAC3D,GAAIS,GACwB,kBAAjBA,IACNC,EAAAA,oBAAoBD,GAAe,CACpC,MAAME,EAAOC,MAAMC,QAAQJ,GAAgBA,EAAe,CAACA,GAC3D,IAAK,IAAIK,EAAI,EAAGA,EAAIH,EAAKI,OAAQD,IAAK,CAClC,MAAME,EAAWC,EAAAA,wBAAwBzB,EAAOmB,EAAKG,IACrD,GAAIE,EAAU,CACV,MAAME,cAAEA,EAAaC,WAAEA,KAAeC,GAAWJ,EACjD,IAAK,MAAMlB,KAAOsB,EAAQ,CACtB,IAAIC,EAAcD,EAAOtB,GACzB,GAAIc,MAAMC,QAAQQ,GAAc,CAQ5BA,EAAcA,EAHAb,EACRa,EAAYN,OAAS,EACrB,EAEV,CACoB,OAAhBM,IACAzB,EAAOE,GAAOuB,EAEtB,CACA,IAAK,MAAMvB,KAAOoB,EACdtB,EAAOE,GAAOoB,EAAcpB,EAEpC,CACJ,CACJ,CACA,OAAOF,CACX,4BA5D4B0B,GAAW,CAAC9B,EAAO+B,KAC3C,MAAM9B,EAAU+B,aAAWC,EAAAA,eACrB/B,EAAkB8B,aAAWE,EAAAA,iBAC7BC,EAAOA,IAVjB,SAAkBC,EAAsDpC,EAAOC,EAASC,GAAiB,IAAtFmC,4BAAEA,EAA2BC,kBAAEA,GAAoBF,EAKlE,MAJc,CACVG,aAAcxC,EAAiBC,EAAOC,EAASC,EAAiBmC,GAChEG,YAAaF,IAGrB,CAIuBG,CAAUX,EAAQ9B,EAAOC,EAASC,GACrD,OAAO6B,EAAWI,IAASO,EAAWA,YAACP,EAAK"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);exports.isValidMotionProp=function(a){return a.startsWith("while")||a.startsWith("drag")&&"draggable"!==a||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||t.has(a)};
|
|
2
2
|
//# sourceMappingURL=valid-prop.mjs.js.map
|