@nethesis/phone-island 1.0.9-dev.7 → 1.0.10-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/index8.js +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/TranscriptionView/TranscriptionView.js.map +1 -1
- package/dist/lib/devices/devices.js +1 -1
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +1 -1
- 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/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-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/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/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/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/feature-bundle.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.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/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/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/html/use-html-visual-state.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.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/create-render-state.mjs.js.map +1 -1
- 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/use-svg-visual-state.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.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/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/use-composed-ref.mjs.js +2 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.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/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/animate/single-value.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.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.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.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/interfaces/motion-value.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -0
- 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/optimized-appear/data-id.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +1 -0
- 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/calc-child-stagger.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +1 -0
- 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/default-transitions.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +1 -0
- 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/is-transition-defined.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js.map +1 -0
- 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/utils/resolve-transition.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js.map +1 -0
- 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/accelerated-values.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +1 -0
- 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/is-browser-color.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js.map +1 -0
- 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/events/add-dom-event.mjs.js.map +1 -0
- 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/projection/animation/mix-values.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js.map +1 -0
- package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -0
- 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/{framer-motion → motion-dom}/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs.js.map +1 -0
- 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/render/utils/motion-values.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.mjs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +1 -0
- 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/is-html-element.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js.map +1 -0
- 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/complex/mask.mjs.js +2 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +1 -0
- 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-dom/dist/es/value/utils/is-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.mjs.js.map +1 -0
- 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/format-error-message.mjs.js +2 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js.map +1 -0
- 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-object.mjs.js +2 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js.map +1 -0
- 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/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.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/package.json.js +1 -1
- package/dist/services/user.js +1 -1
- package/dist/services/user.js.map +1 -1
- package/package.json +1 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/store.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js.map +0 -1
- package/dist/utils/genericFunctions/summaryEvents.js +0 -2
- package/dist/utils/genericFunctions/summaryEvents.js.map +0 -1
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/is-motion-value.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/resolve-motion-value.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.mjs.js +0 -0
- /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/is.mjs.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport {
|
|
1
|
+
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { Feature, frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { PanSession } from './PanSession.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n if (handler) {\n frame.update(() => handler(event, info), false, true);\n }\n};\nclass PanGesture extends Feature {\n constructor() {\n super(...arguments);\n this.removePointerDownListener = noop;\n }\n onPointerDown(pointerDownEvent) {\n this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n transformPagePoint: this.node.getTransformPagePoint(),\n contextWindow: getContextWindow(this.node),\n });\n }\n createPanHandlers() {\n const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n return {\n onSessionStart: asyncHandler(onPanSessionStart),\n onStart: asyncHandler(onPanStart),\n onMove: asyncHandler(onPan),\n onEnd: (event, info) => {\n delete this.session;\n if (onPanEnd) {\n frame.postRender(() => onPanEnd(event, info));\n }\n },\n };\n }\n mount() {\n this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n }\n update() {\n this.session && this.session.updateHandlers(this.createPanHandlers());\n }\n unmount() {\n this.removePointerDownListener();\n this.session && this.session.end();\n }\n}\n\nexport { PanGesture };\n//# sourceMappingURL=index.mjs.map\n"],"names":["asyncHandler","handler","event","info","frame","update","PanGesture","Feature","constructor","this","removePointerDownListener","noop","onPointerDown","pointerDownEvent","session","PanSession","createPanHandlers","transformPagePoint","node","getTransformPagePoint","contextWindow","getContextWindow","onPanSessionStart","onPanStart","onPan","onPanEnd","getProps","onSessionStart","onStart","onMove","onEnd","postRender","mount","addPointerEvent","current","updateHandlers","unmount","end"],"mappings":"uZAOA,MAAMA,EACDC,GAA8B,CAACC,EAAqBC,KAC7CF,GACAG,QAAMC,QAAO,IAAMJ,EAAQC,EAAOC,KAAO,GAAO,EACpD,EAGF,MAAOG,UAAmBC,EAAAA,QAAhCC,WAAAA,uBAGYC,KAAAC,0BAAsCC,MA8ClD,CA5CIC,aAAAA,CAAcC,GACVJ,KAAKK,QAAU,IAAIC,EAAAA,WACfF,EACAJ,KAAKO,oBACL,CACIC,mBAAoBR,KAAKS,KAAKC,wBAC9BC,cAAeC,EAAAA,iBAAiBZ,KAAKS,OAGjD,CAEAF,iBAAAA,GACI,MAAMM,kBAAEA,EAAiBC,WAAEA,EAAUC,MAAEA,EAAKC,SAAEA,GAC1ChB,KAAKS,KAAKQ,WAEd,MAAO,CACHC,eAAgB3B,EAAasB,GAC7BM,QAAS5B,EAAauB,GACtBM,OAAQ7B,EAAawB,GACrBM,MAAOA,CAAC5B,EAAqBC,YAClBM,KAAKK,QACRW,GACArB,EAAKA,MAAC2B,YAAW,IAAMN,EAASvB,EAAOC,IAC3C,EAGZ,CAEA6B,KAAAA,GACIvB,KAAKC,0BAA4BuB,kBAC7BxB,KAAKS,KAAKgB,QACV,eACChC,GAAwBO,KAAKG,cAAcV,IAEpD,CAEAG,MAAAA,GACII,KAAKK,SAAWL,KAAKK,QAAQqB,eAAe1B,KAAKO,oBACrD,CAEAoB,OAAAA,GACI3B,KAAKC,4BACLD,KAAKK,SAAWL,KAAKK,QAAQuB,KACjC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../events/event-info.mjs.js"),t=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../events/event-info.mjs.js"),t=require("../../../../motion-dom/dist/es/render/Feature.mjs.js"),s=require("../../../../motion-dom/dist/es/gestures/press/index.mjs.js"),r=require("../../../../motion-dom/dist/es/frameloop/frame.mjs.js");function n(t,s,n){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap","Start"===n);const a=o["onTap"+("End"===n?"":n)];a&&r.frame.postRender((()=>a(s,e.extractEventInfo(s))))}class o extends t.Feature{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=s.press(e,((e,t)=>(n(this.node,t,"Start"),(e,t)=>{let{success:s}=t;return n(this.node,e,s?"End":"Cancel")})),{useGlobalTarget:t,stopPropagation:!1===r?.tap})}unmount(){}}exports.PressGesture=o;
|
|
2
2
|
//# sourceMappingURL=press.mjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"press.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\
|
|
1
|
+
{"version":3,"file":"press.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { Feature, press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.current instanceof HTMLButtonElement && node.current.disabled) {\n return;\n }\n if (node.animationState && props.whileTap) {\n node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n }\n const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass PressGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n const { globalTapTarget, propagate } = this.node.props;\n this.unmount = press(current, (_element, startEvent) => {\n handlePressEvent(this.node, startEvent, \"Start\");\n return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n }, {\n useGlobalTarget: globalTapTarget,\n stopPropagation: propagate?.tap === false,\n });\n }\n unmount() { }\n}\n\nexport { PressGesture };\n//# sourceMappingURL=press.mjs.map\n"],"names":["handlePressEvent","node","event","lifecycle","props","current","HTMLButtonElement","disabled","animationState","whileTap","setActive","callback","frame","postRender","extractEventInfo","PressGesture","Feature","mount","this","globalTapTarget","propagate","unmount","press","_element","startEvent","endEvent","_ref","success","useGlobalTarget","stopPropagation","tap"],"mappings":"8TAGA,SAASA,EACLC,EACAC,EACAC,GAEA,MAAMC,MAAEA,GAAUH,EAElB,GAAIA,EAAKI,mBAAmBC,mBAAqBL,EAAKI,QAAQE,SAC1D,OAGAN,EAAKO,gBAAkBJ,EAAMK,UAC7BR,EAAKO,eAAeE,UAAU,WAA0B,UAAdP,GAG9C,MAKMQ,EAAWP,EALE,SAAyB,QAAdD,EAAsB,GAAKA,IAMrDQ,GACAC,EAAKA,MAACC,YAAW,IAAMF,EAAST,EAAOY,mBAAiBZ,KAEhE,CAEM,MAAOa,UAAqBC,EAAAA,QAC9BC,KAAAA,GACI,MAAMZ,QAAEA,GAAYa,KAAKjB,KACzB,IAAKI,EAAS,OAEd,MAAMc,gBAAEA,EAAeC,UAAEA,GAAcF,KAAKjB,KAAKG,MAEjDc,KAAKG,QAAUC,EAAKA,MAChBjB,GACA,CAACkB,EAAUC,KACPxB,EAAiBkB,KAAKjB,KAAMuB,EAAY,SAEjC,CAACC,EAAQC,KAAA,IAAEC,QAAEA,GAASD,EAAA,OACzB1B,EACIkB,KAAKjB,KACLwB,EACAE,EAAU,MAAQ,SACrB,IAET,CACIC,gBAAiBT,EACjBU,iBAAoC,IAAnBT,GAAWU,KAGxC,CAEAT,OAAAA,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 t=require("../../../../../../motion-dom/dist/es/render/Feature.mjs.js"),e=require("../../../../../../motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js");let i=0;class s extends t.Feature{constructor(){super(...arguments),this.id=i++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&!1===s){if(this.isExitComplete){const{initial:t,custom:i}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const s=e.resolveVariant(this.node,t,i);if(s){const{transition:t,transitionEnd:e,...i}=s;for(const t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const n=this.node.animationState.setActive("exit",!t);i&&!t&&n.then((()=>{this.isExitComplete=!0,i(this.id)}))}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}exports.ExitAnimationFeature=s;
|
|
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 } from '
|
|
1
|
+
{"version":3,"file":"exit.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature, resolveVariant } from 'motion-dom';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n this.isExitComplete = false;\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 if (isPresent && prevIsPresent === false) {\n /**\n * When re-entering, if the exit animation already completed\n * (element is at rest), reset to initial values so the enter\n * animation replays from the correct position.\n */\n if (this.isExitComplete) {\n const { initial, custom } = this.node.getProps();\n if (typeof initial === \"string\" ||\n (typeof initial === \"object\" &&\n initial !== null &&\n !Array.isArray(initial))) {\n const resolved = resolveVariant(this.node, initial, custom);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n for (const key in target) {\n this.node\n .getValue(key)\n ?.jump(target[key]);\n }\n }\n }\n this.node.animationState.reset();\n this.node.animationState.animateChanges();\n }\n else {\n this.node.animationState.setActive(\"exit\", false);\n }\n this.isExitComplete = false;\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n this.isExitComplete = true;\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//# sourceMappingURL=exit.mjs.map\n"],"names":["id","ExitAnimationFeature","Feature","constructor","this","isExitComplete","update","node","presenceContext","isPresent","onExitComplete","prevIsPresent","prevPresenceContext","animationState","initial","custom","getProps","Array","isArray","resolved","resolveVariant","transition","transitionEnd","target","key","getValue","jump","reset","animateChanges","setActive","exitAnimation","then","mount","register","unmount"],"mappings":"+OAEA,IAAIA,EAAK,EAEH,MAAOC,UAA6BC,EAAAA,QAA1CC,WAAAA,uBACYC,KAAAJ,GAAaA,IACbI,KAAAC,gBAAiB,CAmF7B,CAjFIC,MAAAA,GACI,IAAKF,KAAKG,KAAKC,gBAAiB,OAEhC,MAAMC,UAAEA,EAASC,eAAEA,GAAmBN,KAAKG,KAAKC,iBACxCC,UAAWE,GAAkBP,KAAKG,KAAKK,qBAAuB,GAEtE,IAAKR,KAAKG,KAAKM,gBAAkBJ,IAAcE,EAC3C,OAGJ,GAAIF,IAA+B,IAAlBE,EAAyB,CAMtC,GAAIP,KAAKC,eAAgB,CACrB,MAAMS,QAAEA,EAAOC,OAAEA,GAAWX,KAAKG,KAAKS,WAEtC,GACuB,iBAAZF,GACa,iBAAZA,GACQ,OAAZA,IACCG,MAAMC,QAAQJ,GACrB,CACE,MAAMK,EAAWC,EAAAA,eACbhB,KAAKG,KACLO,EACAC,GAEJ,GAAII,EAAU,CACV,MAAME,WAAEA,EAAUC,cAAEA,KAAkBC,GAClCJ,EACJ,IAAK,MAAMK,KAAOD,EACdnB,KAAKG,KACAkB,SAASD,IACRE,KACEH,EACIC,GAIpB,CACJ,CAEApB,KAAKG,KAAKM,eAAec,QACzBvB,KAAKG,KAAKM,eAAee,sBAEzBxB,KAAKG,KAAKM,eAAegB,UAAU,QAAQ,GAI/C,YADAzB,KAAKC,gBAAiB,EAE1B,CAEA,MAAMyB,EAAgB1B,KAAKG,KAAKM,eAAegB,UAC3C,QACCpB,GAGDC,IAAmBD,GACnBqB,EAAcC,MAAK,KACf3B,KAAKC,gBAAiB,EACtBK,EAAeN,KAAKJ,GAAG,GAGnC,CAEAgC,KAAAA,GACI,MAAMC,SAAEA,EAAQvB,eAAEA,GAAmBN,KAAKG,KAAKC,iBAAmB,GAE9DE,GACAA,EAAeN,KAAKJ,IAGpBiC,IACA7B,KAAK8B,QAAUD,EAAS7B,KAAKJ,IAErC,CAEAkC,OAAAA,GAAW"}
|
|
@@ -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("../../../../../../motion-dom/dist/es/render/Feature.mjs.js"),e=require("../../../../../../motion-dom/dist/es/render/utils/animation-state.mjs.js"),n=require("../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.mjs.js");class o extends t.Feature{constructor(t){super(t),t.animationState||(t.animationState=e.createAnimationState(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();n.isAnimationControls(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}exports.AnimationFeature=o;
|
|
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 { Feature, createAnimationState, isAnimationControls } from 'motion-dom';\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//# sourceMappingURL=index.mjs.map\n"],"names":["AnimationFeature","Feature","constructor","node","super","animationState","createAnimationState","updateAnimationControlsSubscription","animate","this","getProps","isAnimationControls","unmountControls","subscribe","mount","update","prevAnimate","prevProps","unmount","reset"],"mappings":"kUAOM,MAAOA,UAAyBC,EAAAA,QAQlCC,WAAAA,CAAYC,GACRC,MAAMD,GACNA,EAAKE,iBAALF,EAAKE,eAAmBC,EAAoBA,qBAACH,GACjD,CAEAI,mCAAAA,GACI,MAAMC,QAAEA,GAAYC,KAAKN,KAAKO,WAC1BC,EAAAA,oBAAoBH,KACpBC,KAAKG,gBAAkBJ,EAAQK,UAAUJ,KAAKN,MAEtD,CAKAW,KAAAA,GACIL,KAAKF,qCACT,CAEAQ,MAAAA,GACI,MAAMP,QAAEA,GAAYC,KAAKN,KAAKO,YACtBF,QAASQ,GAAgBP,KAAKN,KAAKc,WAAa,GACpDT,IAAYQ,GACZP,KAAKF,qCAEb,CAEAW,OAAAA,GACIT,KAAKN,KAAKE,eAAgBc,QAC1BV,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"],"names":["animations","animation","Feature","AnimationFeature","exit","ExitAnimationFeature"],"mappings":"
|
|
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//# sourceMappingURL=animations.mjs.map\n"],"names":["animations","animation","Feature","AnimationFeature","exit","ExitAnimationFeature"],"mappings":"mJAIO,MAAMA,EAA8B,CACvCC,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});var e=require("../../../../../motion-dom/dist/es/render/VisualElement.mjs.js");const n={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"]};let t=!1;function i(){if(t)return;const i={};for(const e in n)i[e]={isEnabled:t=>n[e].some((e=>!!t[e]))};e.setFeatureDefinitions(i),t=!0}exports.getInitializedFeatureDefinitions=function(){return i(),e.getFeatureDefinitions()},exports.initFeatureDefinitions=i;
|
|
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":["import { getFeatureDefinitions, setFeatureDefinitions } from 'motion-dom';\n\nconst 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};\nlet isInitialized = false;\n/**\n * Initialize feature definitions with isEnabled checks.\n * This must be called before any motion components are rendered.\n */\nfunction initFeatureDefinitions() {\n if (isInitialized)\n return;\n const initialFeatureDefinitions = {};\n for (const key in featureProps) {\n initialFeatureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n }\n setFeatureDefinitions(initialFeatureDefinitions);\n isInitialized = true;\n}\n/**\n * Get the current feature definitions, initializing if needed.\n */\nfunction getInitializedFeatureDefinitions() {\n initFeatureDefinitions();\n return getFeatureDefinitions();\n}\n\nexport { getInitializedFeatureDefinitions, initFeatureDefinitions };\n//# sourceMappingURL=definitions.mjs.map\n"],"names":["featureProps","animation","exit","drag","focus","hover","tap","pan","inView","layout","isInitialized","initFeatureDefinitions","initialFeatureDefinitions","key","isEnabled","props","some","name","setFeatureDefinitions","getInitializedFeatureDefinitions","getFeatureDefinitions"],"mappings":"mJAIA,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,aAGvB,IAAIC,GAAgB,EAMJC,SAAAA,IACZ,GAAID,EAAe,OAEnB,MAAME,EAAyD,CAAA,EAE/D,IAAK,MAAMC,KAAOb,EACdY,EACIC,GACA,CACAC,UAAYC,GACRf,EAAaa,GAAkCG,MAC1CC,KAAmBF,EAAME,MAK1CC,EAAqBA,sBAACN,GACtBF,GAAgB,CACpB,0CAKgBS,WAEZ,OADAR,IACOS,EAAqBA,uBAChC"}
|
|
@@ -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("../../../../../motion-dom/dist/es/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 'motion-dom';\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//# sourceMappingURL=drag.mjs.map\n"],"names":["drag","pan","Feature","PanGesture","DragGesture","ProjectionNode","HTMLProjectionNode","MeasureLayout"],"mappings":"uSAMO,MAAMA,EAAwB,CACjCC,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"],"names":["gestureAnimations","inView","Feature","InViewFeature","tap","PressGesture","focus","FocusGesture","hover","HoverGesture"],"mappings":"
|
|
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//# sourceMappingURL=gestures.mjs.map\n"],"names":["gestureAnimations","inView","Feature","InViewFeature","tap","PressGesture","focus","FocusGesture","hover","HoverGesture"],"mappings":"mMAMO,MAAMA,EAAqC,CAC9CC,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"),t=require("../../../components/AnimatePresence/use-presence.mjs.js"),o=require("../../../context/LayoutGroupContext.mjs.js"),s=require("../../../context/SwitchLayoutGroupContext.mjs.js"),r=require("../../../../../../motion-dom/dist/es/projection/node/state.mjs.js"),n=require("../../../../../../motion-dom/dist/es/frameloop/frame.mjs.js"),i=require("../../../../../../motion-dom/dist/es/frameloop/microtask.mjs.js"),u=require("../../../../../../../_virtual/jsx-runtime.js");let a=!1;class p extends e.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o,layoutId:s}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),o&&o.register&&s&&o.register(n),a&&n.root.didUpdate(),n.addEventListener("animationComplete",(()=>{this.safeToRemove()})),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),r.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:o,drag:s,isPresent:r}=this.props,{projection:i}=o;return i?(i.isPresent=r,e.layoutDependency!==t&&i.setOptions({...i.options,layoutDependency:t}),a=!0,s||e.layoutDependency!==t||void 0===t||e.isPresent!==r?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||n.frame.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:o}=e;o&&(o.options.layoutAnchor=t,o.root.didUpdate(),i.microtask.postRender((()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:o}=this.props,{projection:s}=e;a=!0,s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),o&&o.deregister&&o.deregister(s))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}exports.MeasureLayout=function(r){const[n,i]=t.usePresence(),a=e.useContext(o.LayoutGroupContext);return u.exports.jsx(p,{...r,layoutGroup:a,switchLayoutGroup:e.useContext(s.SwitchLayoutGroupContext),isPresent:n,safeToRemove:i})};
|
|
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 { 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';\
|
|
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 { globalProjectionState, 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';\n\n/**\n * Track whether we've taken any snapshots yet. If not,\n * we can safely skip notification of didUpdate.\n *\n * Difficult to capture in a test but to prevent flickering\n * we must set this to true either on update or unmount.\n * Running `next-env/layout-id` in Safari will show this behaviour if broken.\n */\nlet hasTakenAnySnapshot = false;\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 if (projection) {\n if (layoutGroup.group)\n layoutGroup.group.add(projection);\n if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {\n switchLayoutGroup.register(projection);\n }\n if (hasTakenAnySnapshot) {\n projection.root.didUpdate();\n }\n projection.addEventListener(\"animationComplete\", () => {\n this.safeToRemove();\n });\n projection.setOptions({\n ...projection.options,\n layoutDependency: this.props.layoutDependency,\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;\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 (prevProps.layoutDependency !== layoutDependency) {\n projection.setOptions({\n ...projection.options,\n layoutDependency,\n });\n }\n hasTakenAnySnapshot = true;\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 { visualElement, layoutAnchor } = this.props;\n const { projection } = visualElement;\n if (projection) {\n projection.options.layoutAnchor = layoutAnchor;\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 hasTakenAnySnapshot = true;\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}\n\nexport { MeasureLayout };\n//# sourceMappingURL=MeasureLayout.mjs.map\n"],"names":["hasTakenAnySnapshot","MeasureLayoutWithContext","Component","visualElement","layoutGroup","switchLayoutGroup","layoutId","this","props","projection","group","add","register","root","didUpdate","addEventListener","layoutDependency","onExitComplete","safeToRemove","globalProjectionState","hasEverUpdated","getSnapshotBeforeUpdate","prevProps","drag","isPresent","undefined","relegate","frame","postRender","stack","getStack","options","layoutAnchor","microtask","promoteContext","remove","deregister","useContext","LayoutGroupContext"],"mappings":"umBA8BA,IAAAA,GAAA,EAEA,MAAAC,UAAAC,EAAAA,8BAOQ,MAAAC,cAAAA,EAAAC,YAAAA,EAAAC,kBAAAA,EAAAC,SAAAA,GAAAC,KAAAC,OAEAC,WAAAA,GAAAN,MAG2BC,EAAAA,OAAAA,EAAAM,MAAAC,IAAAF,qBAGnBJ,EAAAO,SAAAH,MAIAA,EAAAI,KAAAC,YAGJL,EAAAM,iBAAA,qBAAA,uDAKIC,iBAAAT,KAAAC,MAAAQ,iBACAC,eAAAA,IAAAV,KAAAW,kBAIRC,EAAAA,sBAAAC,gBAAA,EAGJC,uBAAAA,CAAAC,GACI,MAAAN,iBAAAA,EAAAb,cAAAA,EAAAoB,KAAAA,EAAAC,UAAAA,GAAAjB,KAAAC,OACAC,WAAAA,GAAAN,EAEA,OAAAM,GASAA,EAAAe,UAAAA,EAEAF,EAAAN,mBAAAA,wDASAO,gCAGIE,IAAAT,GACAM,EAAAE,YAAAA,qCAOJF,EAAAE,YAAAA,kBAGWf,EAAAiB,YAMHC,EAAAA,MAAAC,YAAA,KACI,MAAAC,EAAApB,EAAAqB,wDAQZ,MAjDiB,4EAsDjBrB,WAAAA,GAAAN,MAEIM,EAAAsB,QAAAC,aAAAA,EAEAvB,EAAAI,KAAAC,YAEAmB,EAAAA,UAAAL,YAAA,qFASJ,MAAAzB,cAAAA,EAAAC,YAAAA,EAAAC,kBAAA6B,GAAA3B,KAAAC,OAKAC,WAAAA,GAAAN,yCAMIC,GAAAA,EAAAM,OACIN,EAAAM,MAAAyB,OAAA1B,GACJyB,GAAAA,EAAAE,YACIF,EAAAE,WAAA3B,mBAKR,MAAAS,aAAAA,GAAAX,KAAAC,sBAKA,OAAA,4BAIF,SAAAA,8BAIFJ,EAAAiC,aAAAC,EAAAA,sJAWJ"}
|
|
@@ -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("./layout/MeasureLayout.mjs.js");const o={layout:{ProjectionNode:require("../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js").HTMLProjectionNode,MeasureLayout:e.MeasureLayout}};exports.layout=o;
|
|
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 'motion-dom';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\n\nconst layout = {\n layout: {\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { layout };\n//# sourceMappingURL=layout.mjs.map\n"],"names":["layout","ProjectionNode","HTMLProjectionNode","MeasureLayout"],"mappings":"mHAIO,MAAMA,EAA0B,CACnCA,OAAQ,CACJC,sGAAkCC,mBAClCC,cAAAA,EAAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./definitions.mjs.js");exports.loadFeatures=function(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./definitions.mjs.js"),i=require("../../../../../motion-dom/dist/es/render/VisualElement.mjs.js");exports.loadFeatures=function(t){const s=e.getInitializedFeatureDefinitions();for(const e in t)s[e]={...s[e],...t[e]};i.setFeatureDefinitions(s)};
|
|
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 { setFeatureDefinitions } from 'motion-dom';\nimport { getInitializedFeatureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n const featureDefinitions = getInitializedFeatureDefinitions();\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n setFeatureDefinitions(featureDefinitions);\n}\n\nexport { loadFeatures };\n//# sourceMappingURL=load-features.mjs.map\n"],"names":["features","featureDefinitions","getInitializedFeatureDefinitions","key","setFeatureDefinitions"],"mappings":"0MAIM,SAAuBA,GACzB,MAAMC,EAAqBC,EAAAA,mCAE3B,IAAK,MAAMC,KAAOH,EACdC,EAAmBE,GAA0C,IACtDF,EAAmBE,MACnBH,EAASG,IAIpBC,EAAqBA,sBAACH,EAC1B"}
|
|
@@ -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("./observers.mjs.js"),t=require("../../../../../../motion-dom/dist/es/render/Feature.mjs.js");const r={some:0,all:1};class s extends t.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:s,margin:i,amount:o="some",once:n}=t,a={root:s?s.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:r[o]};this.stopObserver=e.observeIntersection(this.node.current,a,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,n&&!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(),i=t?r:s;i&&i(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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}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 'motion-dom';\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.stopObserver?.();\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 this.stopObserver = 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 this.stopObserver?.();\n this.hasEnteredView = false;\n this.isInView = false;\n }\n}\nfunction hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) {\n return (name) => viewport[name] !== prevViewport[name];\n}\n\nexport { InViewFeature };\n//# sourceMappingURL=index.mjs.map\n"],"names":["thresholdNames","some","all","InViewFeature","Feature","constructor","this","hasEnteredView","isInView","startObserver","stopObserver","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","arguments","length","name","hasViewportOptionChanged","unmount"],"mappings":"gLAIA,MAAMA,EAAiB,CACnBC,KAAM,EACNC,IAAK,GAGH,MAAOC,UAAsBC,EAAAA,QAAnCC,WAAAA,uBACYC,KAAAC,gBAAiB,EAEjBD,KAAAE,UAAW,CAkFvB,CA9EYC,aAAAA,GACJH,KAAKI,iBAEL,MAAMC,SAAEA,EAAW,CAAA,GAAOL,KAAKM,KAAKC,YAC9BC,KAAEA,EAAMC,OAAQC,EAAUC,OAAEA,EAAS,OAAMC,KAAEA,GAASP,EAEtDQ,EAAU,CACZL,KAAMA,EAAOA,EAAKM,aAAUC,EAC5BL,aACAM,UACsB,iBAAXL,EAAsBA,EAASjB,EAAeiB,IAuC7DX,KAAKI,aAAea,EAAAA,oBAChBjB,KAAKM,KAAKQ,QACVD,GAtC0BK,IAC1B,MAAMC,eAAEA,GAAmBD,EAK3B,GAAIlB,KAAKE,WAAaiB,EAAgB,OAQtC,GANAnB,KAAKE,SAAWiB,EAMZP,IAASO,GAAkBnB,KAAKC,eAChC,OACOkB,IACPnB,KAAKC,gBAAiB,GAGtBD,KAAKM,KAAKc,gBACVpB,KAAKM,KAAKc,eAAeC,UACrB,cACAF,GAQR,MAAMG,gBAAEA,EAAeC,gBAAEA,GAAoBvB,KAAKM,KAAKC,WACjDiB,EAAWL,EAAiBG,EAAkBC,EACpDC,GAAYA,EAASN,EAAM,GAQnC,CAEAO,KAAAA,GACIzB,KAAKG,eACT,CAEAuB,MAAAA,GACI,GAAoC,oBAAzBC,qBAAsC,OAEjD,MAAMC,MAAEA,EAAKC,UAAEA,GAAc7B,KAAKM,KAC5BwB,EAAoB,CAAC,SAAU,SAAU,QAAQnC,KAgB/D,SAAiCoC,GAEoB,IADjD1B,SAAEA,EAAW,CAAA,GAAiB0B,GAC5B1B,SAAU2B,EAAe,CAAA,GAAEC,UAAAC,OAAAD,QAAAlB,IAAAkB,aAAAA,UAAA,GAAkB,GAE/C,OAAQE,GACJ9B,EAAS8B,KAAUH,EAAaG,EACxC,CArBYC,CAAyBR,EAAOC,IAGhCC,GACA9B,KAAKG,eAEb,CAEAkC,OAAAA,GACIrC,KAAKI,iBACLJ,KAAKC,gBAAiB,EACtBD,KAAKE,UAAW,CACpB"}
|
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"],"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":"
|
|
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//# sourceMappingURL=observers.mjs.map\n"],"names":["observerCallbacks","WeakMap","observers","fireObserverCallback","entry","callback","get","target","fireAllObserverCallbacks","entries","forEach","observeIntersection","element","options","rootInteresectionObserver","_ref","root","lookupRoot","document","has","set","rootObservers","key","JSON","stringify","IntersectionObserver","initIntersectionObserver","observe","delete","unobserve"],"mappings":"oEAWA,MAAMA,EAAoB,IAAIC,QAOxBC,EAAY,IAAID,QAKhBE,EAAwBC,IAC1B,MAAMC,EAAWL,EAAkBM,IAAIF,EAAMG,QAC7CF,GAAYA,EAASD,EAAM,EAGzBI,EAA0DC,IAC5DA,EAAQC,QAAQP,EAAqB,8BAiCzBQ,SACZC,EACAC,EACAR,GAEA,MAAMS,EAnCV,SAAiCC,GAGN,IAHOC,KAC9BA,KACGH,GACoBE,EACvB,MAAME,EAAaD,GAAQE,SAKtBhB,EAAUiB,IAAIF,IACff,EAAUkB,IAAIH,EAAY,CAAA,GAE9B,MAAMI,EAAgBnB,EAAUI,IAAIW,GAE9BK,EAAMC,KAAKC,UAAUX,GAa3B,OAPKQ,EAAcC,KACfD,EAAcC,GAAO,IAAIG,qBACrBjB,EACA,CAAEQ,UAASH,KAIZQ,EAAcC,EACzB,CAOsCI,CAAyBb,GAK3D,OAHAb,EAAkBoB,IAAIR,EAASP,GAC/BS,EAA0Ba,QAAQf,GAE3B,KACHZ,EAAkB4B,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"),s=require("../context/MotionContext/index.mjs.js"),r=require("../context/MotionContext/create.mjs.js"),i=require("../render/dom/use-render.mjs.js"),u=require("../render/dom/utils/is-svg-component.mjs.js"),a=require("../render/html/use-html-visual-state.mjs.js"),l=require("../render/svg/use-svg-visual-state.mjs.js"),m=require("./features/definitions.mjs.js"),d=require("./features/load-features.mjs.js"),c=require("./utils/symbol.mjs.js"),j=require("./utils/use-motion-ref.mjs.js"),x=require("./utils/use-visual-element.mjs.js"),v=require("../../../../../_virtual/jsx-runtime.js"),f=require("../../../../motion-utils/dist/es/errors.mjs.js");function p(o){let{layoutId:n}=o;const s=e.useContext(t.LayoutGroupContext).id;return s&&void 0!==n?s+"-"+n:n}exports.createMotionComponent=function(t){let{forwardMotionProps:y=!1,type:C}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q=arguments.length>2?arguments[2]:void 0,g=arguments.length>3?arguments[3]:void 0;q&&d.loadFeatures(q);const M=C?"svg"===C:u.isSVGComponent(t),h=M?l.useSVGVisualState:a.useHTMLVisualState;function E(u,a){let l;const d={...e.useContext(n.MotionConfigContext),...u,layoutId:p(u)},{isStatic:c}=d,C=r.useCreateMotionContext(u),E=h(u,c);if(!c&&"undefined"!=typeof window){!function(t,n){const s=e.useContext(o.LazyContext).strict;if("production"!==process.env.NODE_ENV&&n&&s){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?f.warning(!1,e,"lazy-strict-mode"):f.invariant(!1,e,"lazy-strict-mode")}}(d,q);const n=function(e){const t=m.getInitializedFeatureDefinitions(),{drag:o,layout:n}=t;if(!o&&!n)return{};const s={...o,...n};return{MeasureLayout:o?.isEnabled(e)||n?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(d);l=n.MeasureLayout,C.visualElement=x.useVisualElement(t,E,d,g,n.ProjectionNode,M)}return v.exports.jsxs(s.MotionContext.Provider,{value:C,children:[l&&C.visualElement?v.exports.jsx(l,{visualElement:C.visualElement,...d}):null,i.useRender(t,u,j.useMotionRef(E,C.visualElement,a),E,c,y,M)]})}E.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const L=e.forwardRef(E);return L[c.motionComponentSymbol]=t,L};
|
|
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 { useRender } from '../render/dom/use-render.mjs';\nimport { isSVGComponent } from '../render/dom/utils/is-svg-component.mjs';\nimport { useHTMLVisualState } from '../render/html/use-html-visual-state.mjs';\nimport { useSVGVisualState } from '../render/svg/use-svg-visual-state.mjs';\nimport { getInitializedFeatureDefinitions } 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 createMotionComponent(Component, { forwardMotionProps = false, type } = {}, preloadedFeatures, createVisualElement) {\n preloadedFeatures && loadFeatures(preloadedFeatures);\n /**\n * Determine whether to use SVG or HTML rendering based on:\n * 1. Explicit `type` option (highest priority)\n * 2. Auto-detection via `isSVGComponent`\n */\n const isSVG = type ? type === \"svg\" : isSVGComponent(Component);\n const useVisualState = isSVG ? useSVGVisualState : useHTMLVisualState;\n function MotionDOMComponent(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 && typeof window !== \"undefined\") {\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, isSVG);\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, forwardMotionProps, isSVG)] }));\n }\n MotionDOMComponent.displayName = `motion.${typeof Component === \"string\"\n ? Component\n : `create(${Component.displayName ?? Component.name ?? \"\"})`}`;\n const ForwardRefMotionComponent = forwardRef(MotionDOMComponent);\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, \"lazy-strict-mode\")\n : invariant(false, strictMessage, \"lazy-strict-mode\");\n }\n}\nfunction getProjectionFunctionality(props) {\n const featureDefinitions = getInitializedFeatureDefinitions();\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 { createMotionComponent };\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutId","_ref","layoutId","layoutGroupId","undefined","preloadedFeatures","loadFeatures","isSVG","type","isSVGComponent","Component","MotionDOMComponent","props","externalRef","MeasureLayout","configAndProps","isStatic","context","useCreateMotionContext","process","env","NODE_ENV","isStrict","ignoreStrict","useStrictMode","layoutProjection","featureDefinitions","getInitializedFeatureDefinitions","drag","layout","isEnabled","getProjectionFunctionality","visualElement","useVisualElement","visualState","createVisualElement","ProjectionNode","jsxs","exports","MotionContext","Provider","value","children","jsx","useRender","useMotionRef","forwardMotionProps","displayName","name","ForwardRefMotionComponent","forwardRef","motionComponentSymbol"],"mappings":"y5BA6KA,SAAAA,EAAAC,GAAA,IAAAC,SAAAA,GAAAD,gDAEI,OAAAE,QAAAC,IAAAF,EACIC,EAAAD,IAAAA,GAER,2NAnGIG,GAAAC,EAAAA,aAAAD,GAOA,MAAAE,EAAAC,EAAAC,QAAAD,EAAAC,EAAAA,eAAAC,gDAGA,SAAAC,EAAAC,EAAAC,GAQI,IAAAC,EAEA,MAAAC,EAAA,2CAEIH,EACAV,SAAAF,EAAAY,KAGJI,SAAAA,GAAAD,EAEAE,EAAAC,yBAAAN,gDAyER,SAAAG,EAAAV,8CAUI,GAAA,eAAAc,QAAAC,IAAAC,aAGIC,EAAA,4JAIAP,EAAAQ,qFAIR,CAzFYC,CAAAT,EAAAV,GAEA,MAAAoB,EAyFZ,SAAAb,GACI,MAAAc,EAAAC,EAAAA,oCACAC,KAAAA,EAAAC,OAAAA,GAAAH,EAEA,IAAAE,IAAAC,EAAsB,MAAA,CAAA,6BAKlBf,cAAAc,GAAAE,UAAAlB,IAAAiB,GAAAC,UAAAlB,wBAGQR,kCAGhB,CAxGY2B,CAAAhB,GACAD,EAAAW,EAAAX,cAQAG,EAAAe,cAAAC,mBAAAvB,EAAAwB,EAAAnB,EAAAoB,EAAAV,EAAAW,eAAA7B,GAcJ,OAAA8B,EAAAC,QAAAD,KAAAE,EAAAA,cAAAC,SAAA,CAAAC,MAAAxB,EAAAyB,SAAA,CAAA5B,GAAAG,EAAAe,cAAAW,EAAAA,QAAAA,IAAA7B,EAAA,CAAAkB,cAAAf,EAAAe,iBAAAjB,IAAA6B,KAAAA,EAAAA,UAAAlC,EAAAE,EAAAiC,EAAAA,aAAAX,EAAAjB,EAAAe,cAAAnB,GAAAqB,EAAAlB,EAAA8B,EAAAvC,MAwBJI,EAAAoC,YAAArC,2BAAAA,EAEQA,EACA,UAAAA,EAAAqC,aAAArC,EAAAsC,MAAA,QAGR,MAAAC,EAAAC,aAAAvC,GAGA,OAFEsC,EAAAE,EAAAA,uBAAAzC,EAEFuC,CACJ"}
|
|
@@ -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"],"names":["motionComponentSymbol","Symbol","for"],"mappings":"
|
|
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//# sourceMappingURL=symbol.mjs.map\n"],"names":["motionComponentSymbol","Symbol","for"],"mappings":"oEAAO,MAAMA,EAAwBC,OAAOC,IAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useMotionRef=function(t,n,r){const u=e.useRef(r);e.useInsertionEffect((()=>{u.current=r}));const o=e.useRef(null);return e.useCallback((e=>{e&&t.onMount?.(e),n&&(e?n.mount(e):n.unmount());const r=u.current;if("function"==typeof r)if(e){const t=r(e);"function"==typeof t&&(o.current=t)}else o.current?(o.current(),o.current=null):r(e);else r&&(r.current=e)}),[n])};
|
|
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":["\"use client\";\nimport { useRef, useInsertionEffect, useCallback } from 'react';\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 /**\n * Store externalRef in a ref to avoid including it in the useCallback\n * dependency array. Including externalRef in dependencies causes issues\n * with libraries like Radix UI that create new callback refs on each render\n * when using asChild - this would cause the callback to be recreated,\n * triggering element remounts and breaking AnimatePresence exit animations.\n */\n const externalRefContainer = useRef(externalRef);\n useInsertionEffect(() => {\n externalRefContainer.current = externalRef;\n });\n // Store cleanup function returned by callback refs (React 19 feature)\n const refCleanup = useRef(null);\n return useCallback((instance) => {\n if (instance) {\n visualState.onMount?.(instance);\n }\n if (visualElement) {\n instance ? visualElement.mount(instance) : visualElement.unmount();\n }\n const ref = externalRefContainer.current;\n if (typeof ref === \"function\") {\n if (instance) {\n const cleanup = ref(instance);\n if (typeof cleanup === \"function\") {\n refCleanup.current = cleanup;\n }\n }\n else if (refCleanup.current) {\n refCleanup.current();\n refCleanup.current = null;\n }\n else {\n ref(instance);\n }\n }\n else if (ref) {\n ref.current = instance;\n }\n }, [visualElement]);\n}\n\nexport { useMotionRef };\n//# sourceMappingURL=use-motion-ref.mjs.map\n"],"names":["externalRefContainer","useRef","externalRef","current","refCleanup","useCallback","instance","visualState","onMount","visualElement","mount","unmount","ref","cleanup"],"mappings":"gIAuBI,MAAAA,EAAAC,SAAAC,8BAEIF,EAAAG,QAAAD,CAAA,IAIJ,MAAAE,EAAAH,SAAA,MAEA,OAAAI,EAAAA,aAAAC,OAGYC,EAAAC,UAAAF,OAIAA,EAAAG,EAAAC,MAAAJ,GAAAG,EAAAE,WAGJ,MAAAC,EAAAZ,EAAAG,QACA,GAAA,mBAAAS,QAEQ,MAAAC,EAAAD,EAAAN,GACA,mBAAAO,IACIT,EAAAD,QAAAU,QAEDT,EAAAD,qBAEHC,EAAAD,QAAA,oBAKFS,EAAAT,QAAAG,KAEV,CAAAG,GAGR"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../../context/LazyContext.mjs.js"),o=require("../../context/MotionConfigContext.mjs.js"),n=require("../../context/MotionContext/index.mjs.js"),i=require("../../context/PresenceContext.mjs.js"),r=require("../../context/SwitchLayoutGroupContext.mjs.js"),a=require("../../utils/is-ref-object.mjs.js"),s=require("../../utils/use-isomorphic-effect.mjs.js"),u=require("../../../../../motion-dom/dist/es/animation/optimized-appear/data-id.mjs.js");function c(t){if(t)return!1!==t.options.allowProjection?t.projection:c(t.parent)}exports.useVisualElement=function(l,d,p,m,f,C){const{visualElement:y}=t.useContext(n.MotionContext),j=t.useContext(e.LazyContext),x=t.useContext(i.PresenceContext),M=t.useContext(o.MotionConfigContext),w=M.reducedMotion,h=M.skipAnimations,g=t.useRef(null),q=t.useRef(!1);m=m||j.renderer,!g.current&&m&&(g.current=m(l,{visualState:d,parent:y,props:p,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:w,skipAnimations:h,isSVG:C}),q.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const A=g.current,S=t.useContext(r.SwitchLayoutGroupContext);!A||A.projection||!f||"html"!==A.type&&"svg"!==A.type||function(t,e,o,n){const{layoutId:i,layout:r,drag:s,dragConstraints:u,layoutScroll:l,layoutRoot:d,layoutAnchor:p,layoutCrossfade:m}=e;t.projection=new o(t.latestValues,e["data-framer-portal-id"]?void 0:c(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:Boolean(s)||u&&a.isRefObject(u),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:m,layoutScroll:l,layoutRoot:d,layoutAnchor:p})}(g.current,p,f,S);const v=t.useRef(!1);t.useInsertionEffect((()=>{A&&v.current&&A.update(p,x)}));const R=p[u.optimizedAppearDataAttribute],I=t.useRef(Boolean(R)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return s.useIsomorphicLayoutEffect((()=>{q.current=!0,A&&(v.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),I.current&&A.animationState&&A.animationState.animateChanges())})),t.useEffect((()=>{A&&(!I.current&&A.animationState&&A.animationState.animateChanges(),I.current&&(queueMicrotask((()=>{window.MotionHandoffMarkAsComplete?.(R)})),I.current=!1),A.enteringChildren=void 0)})),A};
|
|
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":["\"use client\";\nimport { optimizedAppearDataAttribute } from 'motion-dom';\nimport { useContext, useRef, useInsertionEffect, useEffect } from 'react';\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, isSVG) {\n const { visualElement: parent } = useContext(MotionContext);\n const lazyContext = useContext(LazyContext);\n const presenceContext = useContext(PresenceContext);\n const motionConfig = useContext(MotionConfigContext);\n const reducedMotionConfig = motionConfig.reducedMotion;\n const skipAnimations = motionConfig.skipAnimations;\n const visualElementRef = useRef(null);\n /**\n * Track whether the component has been through React's commit phase.\n * Used to detect when LazyMotion features load after the component has mounted.\n */\n const hasMountedOnce = useRef(false);\n /**\n * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n */\n createVisualElement =\n createVisualElement ||\n 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 skipAnimations,\n isSVG,\n });\n /**\n * If the component has already mounted before features loaded (e.g. via\n * LazyMotion with async feature loading), we need to force the initial\n * animation to run. Otherwise state changes that occurred before features\n * loaded will be lost and the element will snap to its final state.\n */\n if (hasMountedOnce.current && visualElementRef.current) {\n visualElementRef.current.manuallyAnimateOnMount = true;\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 typeof window !== \"undefined\" &&\n !window.MotionHandoffIsComplete?.(optimisedAppearId) &&\n window.MotionHasOptimisedAnimation?.(optimisedAppearId));\n useIsomorphicLayoutEffect(() => {\n /**\n * Track that this component has mounted. This is used to detect when\n * LazyMotion features load after the component has already committed.\n */\n hasMountedOnce.current = true;\n if (!visualElement)\n return;\n isMounted.current = true;\n window.MotionIsMounted = true;\n visualElement.updateFeatures();\n visualElement.scheduleRenderMicrotask();\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 * Now we've finished triggering animations for this element we\n * can wipe the enteringChildren set for the next render.\n */\n visualElement.enteringChildren = undefined;\n });\n return visualElement;\n}\nfunction createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {\n const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, layoutAnchor, 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 layoutAnchor,\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//# sourceMappingURL=use-visual-element.mjs.map\n"],"names":["getClosestProjectingNode","visualElement","options","allowProjection","parent","Component","visualState","props","createVisualElement","ProjectionNodeConstructor","isSVG","lazyContext","useContext","LazyContext","presenceContext","PresenceContext","motionConfig","MotionConfigContext","reducedMotionConfig","reducedMotion","skipAnimations","visualElementRef","useRef","hasMountedOnce","current","blockInitialAnimation","initial","manuallyAnimateOnMount","initialLayoutGroupConfig","SwitchLayoutGroupContext","type","initialPromotionConfig","layoutId","layout","drag","dragConstraints","layoutScroll","layoutRoot","layoutAnchor","layoutCrossfade","projection","latestValues","undefined","setOptions","alwaysMeasureLayout","Boolean","isRefObject","animationType","crossfade","isMounted","update","optimisedAppearId","optimizedAppearDataAttribute","wantsHandoff","window","MotionHandoffIsComplete","MotionHasOptimisedAnimation","MotionIsMounted","animationState","animateChanges","MotionHandoffMarkAsComplete","enteringChildren"],"mappings":"+hBA4OA,SAAAA,EAAAC,GAOI,GAAAA,EAEA,WAAAA,EAAAC,QAAAC,6BAEIH,EAAAC,EAAAG,OACR,0BA9NM,SAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,wDAcFC,EAAAC,aAAAC,EAAAA,aACAC,EAAAF,aAAAG,EAAAA,iBACAC,EAAAJ,aAAAK,EAAAA,qBACAC,EAAAF,EAAAG,cACAC,EAAAJ,EAAAI,eAEAC,EAAAC,SAAA,MAQAC,EAAAD,UAAA,oBASAD,EAAAG,SAAAhB,IACIa,EAAAG,QAAAhB,EAAAH,EAAA,kDAKIoB,wBAAAX,IAEI,IADAA,EAAAY,gFAcJL,EAAAG,QAAAG,wBAAA,IAIR,MAAA1B,EAAAoB,EAAAG,QAMAI,EAAAhB,aAAAiB,EAAAA,2BAEA5B,GAIIA,EAAAA,aAAAA,GAAA,SAAAA,EAAA6B,MAAA,QAAA7B,EAAA6B,MA0FR,SAAA7B,EAAAM,EAAAE,EAAAsB,GAMI,MAAAC,SAAAA,EAAAC,OAAAA,EAAAC,KAAAA,EAAAC,gBAAAA,EAAAC,aAAAA,EAAAC,WAAAA,EAAAC,aAAAA,EAAAC,gBAAAA,GAAAhC,EAWAN,EAAAuC,WAAA/B,IAAAA,EAAAR,EAAAwC,aAAAlC,EAGQmC,8BAAAA,eAIRzC,EAAAuC,WAAAG,WAAA,qBAGIC,oBAAAC,QAAAX,IAAAC,GAAAW,EAAAA,YAAAX,mBAUAY,cAAA,iBAAAd,EAAAA,EAAA,gCAEAe,UAAAT,8CAKR,mBA5HI,MAAAU,EAAA3B,UAAA,8BAMIrB,GAAAgD,EAAAzB,SACIvB,EAAAiD,OAAA3C,EAAAO,MAQR,MAAAqC,EAAA5C,EAAA6C,EAAAA,8BAEAC,EAAA/B,EAAAA,OAAAuB,QAAAM,IAGQ,oBAAAG,SAAAA,OAAAC,0BAAAJ,IACAG,OAAAE,8BAAAL,IAwDR,yCAhDI5B,EAAAC,SAAA,EAEAvB,IAEAgD,EAAAzB,SAAA,EACA8B,OAAAG,iBAAA,8EAgBIxD,EAAAyD,eAAAC,uCAKJ1D,kCAGIA,EAAAyD,eAAAC,iBAGJN,EAAA7B,+BAGQ8B,OAAAM,8BAAAT,EAAA,IAGJE,EAAA7B,SAAA,GAOJvB,EAAA4D,sBAAAnB,EAAA,IAGJzC,CACJ"}
|
|
@@ -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("../../context/MotionContext/index.mjs.js"),n=require("../../context/PresenceContext.mjs.js"),o=require("../../utils/use-constant.mjs.js"),s=require("../../../../../motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js"),i=require("../../../../../motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/utils/is-animation-controls.mjs.js"),a=require("../../../../../motion-dom/dist/es/render/utils/resolve-variants.mjs.js");function l(e,t,n,o){const l={},u=o(e,{});for(const e in u)l[e]=s.resolveMotionValue(u[e]);let{initial:c,animate:m}=e;const d=i.isControllingVariants(e),j=i.isVariantNode(e);t&&j&&!d&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===m&&(m=t.animate));let v=!!n&&!1===n.initial;v=v||!1===c;const f=v?m:c;if(f&&"boolean"!=typeof f&&!r.isAnimationControls(f)){const t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){const o=a.resolveVariantFromProps(e,t[n]);if(o){const{transitionEnd:e,transition:t,...n}=o;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[v?t.length-1:0]}null!==t&&(l[e]=t)}for(const t in e)l[t]=e[t]}}}return l}exports.makeUseVisualState=s=>(i,r)=>{const a=e.useContext(t.MotionContext),u=e.useContext(n.PresenceContext),c=()=>function(e,t,n,o){let{scrapeMotionValuesFromProps:s,createRenderState:i}=e;return{latestValues:l(t,n,o,s),renderState:i()}}(s,i,a,u);return r?c():o.useConstant(c)};
|
|
2
2
|
//# sourceMappingURL=use-visual-state.mjs.js.map
|