@windrun-huaiin/third-ui 14.2.0 → 14.3.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/fuma/mdx/index.d.ts +1 -0
- package/dist/fuma/mdx/index.js +2 -0
- package/dist/fuma/mdx/index.mjs +1 -0
- package/dist/fuma/mdx/suno-embed.d.ts +7 -0
- package/dist/fuma/mdx/suno-embed.js +120 -0
- package/dist/fuma/mdx/suno-embed.mjs +118 -0
- package/dist/main/delayed-img.js +2 -1
- package/dist/main/delayed-img.mjs +3 -2
- package/dist/main/index.d.ts +1 -0
- package/dist/main/index.js +4 -0
- package/dist/main/index.mjs +2 -1
- package/dist/main/loading.d.ts +1 -0
- package/dist/main/loading.js +7 -0
- package/dist/main/loading.mjs +7 -1
- package/dist/main/snake-loading-frame.d.ts +23 -0
- package/dist/main/snake-loading-frame.js +344 -0
- package/dist/main/snake-loading-frame.mjs +341 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +47 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +45 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.js +16 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs +14 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.js +12 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.mjs +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.js +16 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +576 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +573 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.js +52 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.mjs +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +141 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +129 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.js +43 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.mjs +41 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.mjs +30 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +282 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs +280 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.mjs +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.js +39 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.mjs +37 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +69 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs +67 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs +40 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.js +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.mjs +48 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.js +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.mjs +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.js +23 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.mjs +21 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +139 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +137 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.js +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.mjs +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +78 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs +76 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs +49 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.js +114 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.mjs +112 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.js +5 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs +3 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +53 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +167 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs +165 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +82 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs +80 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +60 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs +58 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.js +47 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs +45 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +20 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs +18 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.js +29 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.mjs +27 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +69 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs +66 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +32 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +30 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.js +61 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.mjs +58 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +35 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs +33 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.js +27 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.mjs +25 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.js +12 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.mjs +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.js +5 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.mjs +3 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.js +24 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs +22 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.js +21 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.mjs +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.js +40 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.mjs +38 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.js +22 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.mjs +20 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.js +41 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.mjs +39 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.js +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.mjs +48 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +201 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +199 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.js +387 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs +385 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +182 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs +180 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.js +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs +51 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.js +332 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.mjs +330 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +106 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs +104 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +101 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs +99 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +61 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs +59 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +143 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +141 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +150 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +147 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +50 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +46 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs +43 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +29 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +52 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.js +74 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.mjs +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.js +85 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.mjs +83 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.js +71 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.mjs +69 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.js +91 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.mjs +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +38 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +75 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs +73 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +37 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.js +35 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +133 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs +124 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +67 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs +58 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +59 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.js +39 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs +27 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1644 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs +1637 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.js +86 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.mjs +84 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs +41 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +37 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs +35 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.js +51 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.mjs +49 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs +24 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.js +567 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.mjs +563 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs +83 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +67 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs +63 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +74 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.js +388 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs +385 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +34 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.js +57 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs +55 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +38 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.js +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.mjs +63 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.js +81 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.mjs +79 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.js +50 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.mjs +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.js +98 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.mjs +93 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.js +322 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.mjs +319 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.js +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.js +24 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.js +34 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.mjs +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs +25 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.mjs +29 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.js +116 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.mjs +113 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.js +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.mjs +70 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.js +25 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.js +14 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.js +12 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +53 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs +51 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.js +43 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.mjs +41 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.js +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.js +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.js +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.js +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.js +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.js +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.mjs +4 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.js +21 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.js +42 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.js +15 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.mjs +11 -0
- package/package.json +2 -1
- package/src/fuma/mdx/index.ts +2 -1
- package/src/fuma/mdx/suno-embed.tsx +213 -0
- package/src/main/delayed-img.tsx +12 -10
- package/src/main/index.ts +2 -1
- package/src/main/loading.tsx +8 -0
- package/src/main/snake-loading-frame.tsx +709 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var eventInfo = require('../events/event-info.js');
|
|
4
|
+
var Feature = require('../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js');
|
|
5
|
+
var index = require('../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.js');
|
|
6
|
+
var frame = require('../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.js');
|
|
7
|
+
|
|
8
|
+
function handlePressEvent(node, event, lifecycle) {
|
|
9
|
+
const { props } = node;
|
|
10
|
+
if (node.current instanceof HTMLButtonElement && node.current.disabled) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (node.animationState && props.whileTap) {
|
|
14
|
+
node.animationState.setActive("whileTap", lifecycle === "Start");
|
|
15
|
+
}
|
|
16
|
+
const eventName = ("onTap" + (lifecycle === "End" ? "" : lifecycle));
|
|
17
|
+
const callback = props[eventName];
|
|
18
|
+
if (callback) {
|
|
19
|
+
frame.frame.postRender(() => callback(event, eventInfo.extractEventInfo(event)));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
class PressGesture extends Feature.Feature {
|
|
23
|
+
mount() {
|
|
24
|
+
const { current } = this.node;
|
|
25
|
+
if (!current)
|
|
26
|
+
return;
|
|
27
|
+
const { globalTapTarget, propagate } = this.node.props;
|
|
28
|
+
this.unmount = index.press(current, (_element, startEvent) => {
|
|
29
|
+
handlePressEvent(this.node, startEvent, "Start");
|
|
30
|
+
return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? "End" : "Cancel");
|
|
31
|
+
}, {
|
|
32
|
+
useGlobalTarget: globalTapTarget,
|
|
33
|
+
stopPropagation: propagate?.tap === false,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
unmount() { }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.PressGesture = PressGesture;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { extractEventInfo } from '../events/event-info.mjs';
|
|
2
|
+
import { Feature } from '../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs';
|
|
3
|
+
import { press } from '../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.mjs';
|
|
4
|
+
import { frame } from '../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.mjs';
|
|
5
|
+
|
|
6
|
+
function handlePressEvent(node, event, lifecycle) {
|
|
7
|
+
const { props } = node;
|
|
8
|
+
if (node.current instanceof HTMLButtonElement && node.current.disabled) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (node.animationState && props.whileTap) {
|
|
12
|
+
node.animationState.setActive("whileTap", lifecycle === "Start");
|
|
13
|
+
}
|
|
14
|
+
const eventName = ("onTap" + (lifecycle === "End" ? "" : lifecycle));
|
|
15
|
+
const callback = props[eventName];
|
|
16
|
+
if (callback) {
|
|
17
|
+
frame.postRender(() => callback(event, extractEventInfo(event)));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
class PressGesture extends Feature {
|
|
21
|
+
mount() {
|
|
22
|
+
const { current } = this.node;
|
|
23
|
+
if (!current)
|
|
24
|
+
return;
|
|
25
|
+
const { globalTapTarget, propagate } = this.node.props;
|
|
26
|
+
this.unmount = press(current, (_element, startEvent) => {
|
|
27
|
+
handlePressEvent(this.node, startEvent, "Start");
|
|
28
|
+
return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? "End" : "Cancel");
|
|
29
|
+
}, {
|
|
30
|
+
useGlobalTarget: globalTapTarget,
|
|
31
|
+
stopPropagation: propagate?.tap === false,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
unmount() { }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { PressGesture };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Feature = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js');
|
|
4
|
+
var resolveDynamicVariants = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js');
|
|
5
|
+
|
|
6
|
+
let id = 0;
|
|
7
|
+
class ExitAnimationFeature extends Feature.Feature {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.id = id++;
|
|
11
|
+
this.isExitComplete = false;
|
|
12
|
+
}
|
|
13
|
+
update() {
|
|
14
|
+
if (!this.node.presenceContext)
|
|
15
|
+
return;
|
|
16
|
+
const { isPresent, onExitComplete } = this.node.presenceContext;
|
|
17
|
+
const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};
|
|
18
|
+
if (!this.node.animationState || isPresent === prevIsPresent) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (isPresent && prevIsPresent === false) {
|
|
22
|
+
/**
|
|
23
|
+
* When re-entering, if the exit animation already completed
|
|
24
|
+
* (element is at rest), reset to initial values so the enter
|
|
25
|
+
* animation replays from the correct position.
|
|
26
|
+
*/
|
|
27
|
+
if (this.isExitComplete) {
|
|
28
|
+
const { initial, custom } = this.node.getProps();
|
|
29
|
+
if (typeof initial === "string") {
|
|
30
|
+
const resolved = resolveDynamicVariants.resolveVariant(this.node, initial, custom);
|
|
31
|
+
if (resolved) {
|
|
32
|
+
const { transition, transitionEnd, ...target } = resolved;
|
|
33
|
+
for (const key in target) {
|
|
34
|
+
this.node
|
|
35
|
+
.getValue(key)
|
|
36
|
+
?.jump(target[key]);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
this.node.animationState.reset();
|
|
41
|
+
this.node.animationState.animateChanges();
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.node.animationState.setActive("exit", false);
|
|
45
|
+
}
|
|
46
|
+
this.isExitComplete = false;
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const exitAnimation = this.node.animationState.setActive("exit", !isPresent);
|
|
50
|
+
if (onExitComplete && !isPresent) {
|
|
51
|
+
exitAnimation.then(() => {
|
|
52
|
+
this.isExitComplete = true;
|
|
53
|
+
onExitComplete(this.id);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
mount() {
|
|
58
|
+
const { register, onExitComplete } = this.node.presenceContext || {};
|
|
59
|
+
if (onExitComplete) {
|
|
60
|
+
onExitComplete(this.id);
|
|
61
|
+
}
|
|
62
|
+
if (register) {
|
|
63
|
+
this.unmount = register(this.id);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
unmount() { }
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
exports.ExitAnimationFeature = ExitAnimationFeature;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Feature } from '../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs';
|
|
2
|
+
import { resolveVariant } from '../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs';
|
|
3
|
+
|
|
4
|
+
let id = 0;
|
|
5
|
+
class ExitAnimationFeature extends Feature {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.id = id++;
|
|
9
|
+
this.isExitComplete = false;
|
|
10
|
+
}
|
|
11
|
+
update() {
|
|
12
|
+
if (!this.node.presenceContext)
|
|
13
|
+
return;
|
|
14
|
+
const { isPresent, onExitComplete } = this.node.presenceContext;
|
|
15
|
+
const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};
|
|
16
|
+
if (!this.node.animationState || isPresent === prevIsPresent) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (isPresent && prevIsPresent === false) {
|
|
20
|
+
/**
|
|
21
|
+
* When re-entering, if the exit animation already completed
|
|
22
|
+
* (element is at rest), reset to initial values so the enter
|
|
23
|
+
* animation replays from the correct position.
|
|
24
|
+
*/
|
|
25
|
+
if (this.isExitComplete) {
|
|
26
|
+
const { initial, custom } = this.node.getProps();
|
|
27
|
+
if (typeof initial === "string") {
|
|
28
|
+
const resolved = resolveVariant(this.node, initial, custom);
|
|
29
|
+
if (resolved) {
|
|
30
|
+
const { transition, transitionEnd, ...target } = resolved;
|
|
31
|
+
for (const key in target) {
|
|
32
|
+
this.node
|
|
33
|
+
.getValue(key)
|
|
34
|
+
?.jump(target[key]);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
this.node.animationState.reset();
|
|
39
|
+
this.node.animationState.animateChanges();
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
this.node.animationState.setActive("exit", false);
|
|
43
|
+
}
|
|
44
|
+
this.isExitComplete = false;
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const exitAnimation = this.node.animationState.setActive("exit", !isPresent);
|
|
48
|
+
if (onExitComplete && !isPresent) {
|
|
49
|
+
exitAnimation.then(() => {
|
|
50
|
+
this.isExitComplete = true;
|
|
51
|
+
onExitComplete(this.id);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
mount() {
|
|
56
|
+
const { register, onExitComplete } = this.node.presenceContext || {};
|
|
57
|
+
if (onExitComplete) {
|
|
58
|
+
onExitComplete(this.id);
|
|
59
|
+
}
|
|
60
|
+
if (register) {
|
|
61
|
+
this.unmount = register(this.id);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
unmount() { }
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { ExitAnimationFeature };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Feature = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js');
|
|
4
|
+
var animationState = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.js');
|
|
5
|
+
var isAnimationControls = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js');
|
|
6
|
+
|
|
7
|
+
class AnimationFeature extends Feature.Feature {
|
|
8
|
+
/**
|
|
9
|
+
* We dynamically generate the AnimationState manager as it contains a reference
|
|
10
|
+
* to the underlying animation library. We only want to load that if we load this,
|
|
11
|
+
* so people can optionally code split it out using the `m` component.
|
|
12
|
+
*/
|
|
13
|
+
constructor(node) {
|
|
14
|
+
super(node);
|
|
15
|
+
node.animationState || (node.animationState = animationState.createAnimationState(node));
|
|
16
|
+
}
|
|
17
|
+
updateAnimationControlsSubscription() {
|
|
18
|
+
const { animate } = this.node.getProps();
|
|
19
|
+
if (isAnimationControls.isAnimationControls(animate)) {
|
|
20
|
+
this.unmountControls = animate.subscribe(this.node);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
25
|
+
*/
|
|
26
|
+
mount() {
|
|
27
|
+
this.updateAnimationControlsSubscription();
|
|
28
|
+
}
|
|
29
|
+
update() {
|
|
30
|
+
const { animate } = this.node.getProps();
|
|
31
|
+
const { animate: prevAnimate } = this.node.prevProps || {};
|
|
32
|
+
if (animate !== prevAnimate) {
|
|
33
|
+
this.updateAnimationControlsSubscription();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
unmount() {
|
|
37
|
+
this.node.animationState.reset();
|
|
38
|
+
this.unmountControls?.();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.AnimationFeature = AnimationFeature;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Feature } from '../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs';
|
|
2
|
+
import { createAnimationState } from '../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs';
|
|
3
|
+
import { isAnimationControls } from '../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs';
|
|
4
|
+
|
|
5
|
+
class AnimationFeature extends Feature {
|
|
6
|
+
/**
|
|
7
|
+
* We dynamically generate the AnimationState manager as it contains a reference
|
|
8
|
+
* to the underlying animation library. We only want to load that if we load this,
|
|
9
|
+
* so people can optionally code split it out using the `m` component.
|
|
10
|
+
*/
|
|
11
|
+
constructor(node) {
|
|
12
|
+
super(node);
|
|
13
|
+
node.animationState || (node.animationState = createAnimationState(node));
|
|
14
|
+
}
|
|
15
|
+
updateAnimationControlsSubscription() {
|
|
16
|
+
const { animate } = this.node.getProps();
|
|
17
|
+
if (isAnimationControls(animate)) {
|
|
18
|
+
this.unmountControls = animate.subscribe(this.node);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
23
|
+
*/
|
|
24
|
+
mount() {
|
|
25
|
+
this.updateAnimationControlsSubscription();
|
|
26
|
+
}
|
|
27
|
+
update() {
|
|
28
|
+
const { animate } = this.node.getProps();
|
|
29
|
+
const { animate: prevAnimate } = this.node.prevProps || {};
|
|
30
|
+
if (animate !== prevAnimate) {
|
|
31
|
+
this.updateAnimationControlsSubscription();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
unmount() {
|
|
35
|
+
this.node.animationState.reset();
|
|
36
|
+
this.unmountControls?.();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { AnimationFeature };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./animation/index.js');
|
|
4
|
+
var exit = require('./animation/exit.js');
|
|
5
|
+
|
|
6
|
+
const animations = {
|
|
7
|
+
animation: {
|
|
8
|
+
Feature: index.AnimationFeature,
|
|
9
|
+
},
|
|
10
|
+
exit: {
|
|
11
|
+
Feature: exit.ExitAnimationFeature,
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.animations = animations;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnimationFeature } from './animation/index.mjs';
|
|
2
|
+
import { ExitAnimationFeature } from './animation/exit.mjs';
|
|
3
|
+
|
|
4
|
+
const animations = {
|
|
5
|
+
animation: {
|
|
6
|
+
Feature: AnimationFeature,
|
|
7
|
+
},
|
|
8
|
+
exit: {
|
|
9
|
+
Feature: ExitAnimationFeature,
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { animations };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var VisualElement = require('../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.js');
|
|
4
|
+
|
|
5
|
+
const featureProps = {
|
|
6
|
+
animation: [
|
|
7
|
+
"animate",
|
|
8
|
+
"variants",
|
|
9
|
+
"whileHover",
|
|
10
|
+
"whileTap",
|
|
11
|
+
"exit",
|
|
12
|
+
"whileInView",
|
|
13
|
+
"whileFocus",
|
|
14
|
+
"whileDrag",
|
|
15
|
+
],
|
|
16
|
+
exit: ["exit"],
|
|
17
|
+
drag: ["drag", "dragControls"],
|
|
18
|
+
focus: ["whileFocus"],
|
|
19
|
+
hover: ["whileHover", "onHoverStart", "onHoverEnd"],
|
|
20
|
+
tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
|
|
21
|
+
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
22
|
+
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
23
|
+
layout: ["layout", "layoutId"],
|
|
24
|
+
};
|
|
25
|
+
let isInitialized = false;
|
|
26
|
+
/**
|
|
27
|
+
* Initialize feature definitions with isEnabled checks.
|
|
28
|
+
* This must be called before any motion components are rendered.
|
|
29
|
+
*/
|
|
30
|
+
function initFeatureDefinitions() {
|
|
31
|
+
if (isInitialized)
|
|
32
|
+
return;
|
|
33
|
+
const initialFeatureDefinitions = {};
|
|
34
|
+
for (const key in featureProps) {
|
|
35
|
+
initialFeatureDefinitions[key] = {
|
|
36
|
+
isEnabled: (props) => featureProps[key].some((name) => !!props[name]),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
VisualElement.setFeatureDefinitions(initialFeatureDefinitions);
|
|
40
|
+
isInitialized = true;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get the current feature definitions, initializing if needed.
|
|
44
|
+
*/
|
|
45
|
+
function getInitializedFeatureDefinitions() {
|
|
46
|
+
initFeatureDefinitions();
|
|
47
|
+
return VisualElement.getFeatureDefinitions();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
exports.getInitializedFeatureDefinitions = getInitializedFeatureDefinitions;
|
|
51
|
+
exports.initFeatureDefinitions = initFeatureDefinitions;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getFeatureDefinitions, setFeatureDefinitions } from '../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.mjs';
|
|
2
|
+
|
|
3
|
+
const featureProps = {
|
|
4
|
+
animation: [
|
|
5
|
+
"animate",
|
|
6
|
+
"variants",
|
|
7
|
+
"whileHover",
|
|
8
|
+
"whileTap",
|
|
9
|
+
"exit",
|
|
10
|
+
"whileInView",
|
|
11
|
+
"whileFocus",
|
|
12
|
+
"whileDrag",
|
|
13
|
+
],
|
|
14
|
+
exit: ["exit"],
|
|
15
|
+
drag: ["drag", "dragControls"],
|
|
16
|
+
focus: ["whileFocus"],
|
|
17
|
+
hover: ["whileHover", "onHoverStart", "onHoverEnd"],
|
|
18
|
+
tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
|
|
19
|
+
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
20
|
+
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
21
|
+
layout: ["layout", "layoutId"],
|
|
22
|
+
};
|
|
23
|
+
let isInitialized = false;
|
|
24
|
+
/**
|
|
25
|
+
* Initialize feature definitions with isEnabled checks.
|
|
26
|
+
* This must be called before any motion components are rendered.
|
|
27
|
+
*/
|
|
28
|
+
function initFeatureDefinitions() {
|
|
29
|
+
if (isInitialized)
|
|
30
|
+
return;
|
|
31
|
+
const initialFeatureDefinitions = {};
|
|
32
|
+
for (const key in featureProps) {
|
|
33
|
+
initialFeatureDefinitions[key] = {
|
|
34
|
+
isEnabled: (props) => featureProps[key].some((name) => !!props[name]),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
setFeatureDefinitions(initialFeatureDefinitions);
|
|
38
|
+
isInitialized = true;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get the current feature definitions, initializing if needed.
|
|
42
|
+
*/
|
|
43
|
+
function getInitializedFeatureDefinitions() {
|
|
44
|
+
initFeatureDefinitions();
|
|
45
|
+
return getFeatureDefinitions();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { getInitializedFeatureDefinitions, initFeatureDefinitions };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('../../gestures/drag/index.js');
|
|
4
|
+
var index$1 = require('../../gestures/pan/index.js');
|
|
5
|
+
var MeasureLayout = require('./layout/MeasureLayout.js');
|
|
6
|
+
var HTMLProjectionNode = require('../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js');
|
|
7
|
+
|
|
8
|
+
const drag = {
|
|
9
|
+
pan: {
|
|
10
|
+
Feature: index$1.PanGesture,
|
|
11
|
+
},
|
|
12
|
+
drag: {
|
|
13
|
+
Feature: index.DragGesture,
|
|
14
|
+
ProjectionNode: HTMLProjectionNode.HTMLProjectionNode,
|
|
15
|
+
MeasureLayout: MeasureLayout.MeasureLayout,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.drag = drag;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DragGesture } from '../../gestures/drag/index.mjs';
|
|
2
|
+
import { PanGesture } from '../../gestures/pan/index.mjs';
|
|
3
|
+
import { MeasureLayout } from './layout/MeasureLayout.mjs';
|
|
4
|
+
import { HTMLProjectionNode } from '../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs';
|
|
5
|
+
|
|
6
|
+
const drag = {
|
|
7
|
+
pan: {
|
|
8
|
+
Feature: PanGesture,
|
|
9
|
+
},
|
|
10
|
+
drag: {
|
|
11
|
+
Feature: DragGesture,
|
|
12
|
+
ProjectionNode: HTMLProjectionNode,
|
|
13
|
+
MeasureLayout,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { drag };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var hover = require('../../gestures/hover.js');
|
|
4
|
+
var focus = require('../../gestures/focus.js');
|
|
5
|
+
var press = require('../../gestures/press.js');
|
|
6
|
+
var index = require('./viewport/index.js');
|
|
7
|
+
|
|
8
|
+
const gestureAnimations = {
|
|
9
|
+
inView: {
|
|
10
|
+
Feature: index.InViewFeature,
|
|
11
|
+
},
|
|
12
|
+
tap: {
|
|
13
|
+
Feature: press.PressGesture,
|
|
14
|
+
},
|
|
15
|
+
focus: {
|
|
16
|
+
Feature: focus.FocusGesture,
|
|
17
|
+
},
|
|
18
|
+
hover: {
|
|
19
|
+
Feature: hover.HoverGesture,
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.gestureAnimations = gestureAnimations;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HoverGesture } from '../../gestures/hover.mjs';
|
|
2
|
+
import { FocusGesture } from '../../gestures/focus.mjs';
|
|
3
|
+
import { PressGesture } from '../../gestures/press.mjs';
|
|
4
|
+
import { InViewFeature } from './viewport/index.mjs';
|
|
5
|
+
|
|
6
|
+
const gestureAnimations = {
|
|
7
|
+
inView: {
|
|
8
|
+
Feature: InViewFeature,
|
|
9
|
+
},
|
|
10
|
+
tap: {
|
|
11
|
+
Feature: PressGesture,
|
|
12
|
+
},
|
|
13
|
+
focus: {
|
|
14
|
+
Feature: FocusGesture,
|
|
15
|
+
},
|
|
16
|
+
hover: {
|
|
17
|
+
Feature: HoverGesture,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { gestureAnimations };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var usePresence = require('../../../components/AnimatePresence/use-presence.js');
|
|
7
|
+
var LayoutGroupContext = require('../../../context/LayoutGroupContext.js');
|
|
8
|
+
var SwitchLayoutGroupContext = require('../../../context/SwitchLayoutGroupContext.js');
|
|
9
|
+
var state = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.js');
|
|
10
|
+
var frame = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.js');
|
|
11
|
+
var microtask = require('../../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.js');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Track whether we've taken any snapshots yet. If not,
|
|
15
|
+
* we can safely skip notification of didUpdate.
|
|
16
|
+
*
|
|
17
|
+
* Difficult to capture in a test but to prevent flickering
|
|
18
|
+
* we must set this to true either on update or unmount.
|
|
19
|
+
* Running `next-env/layout-id` in Safari will show this behaviour if broken.
|
|
20
|
+
*/
|
|
21
|
+
let hasTakenAnySnapshot = false;
|
|
22
|
+
class MeasureLayoutWithContext extends React.Component {
|
|
23
|
+
/**
|
|
24
|
+
* This only mounts projection nodes for components that
|
|
25
|
+
* need measuring, we might want to do it for all components
|
|
26
|
+
* in order to incorporate transforms
|
|
27
|
+
*/
|
|
28
|
+
componentDidMount() {
|
|
29
|
+
const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props;
|
|
30
|
+
const { projection } = visualElement;
|
|
31
|
+
if (projection) {
|
|
32
|
+
if (layoutGroup.group)
|
|
33
|
+
layoutGroup.group.add(projection);
|
|
34
|
+
if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {
|
|
35
|
+
switchLayoutGroup.register(projection);
|
|
36
|
+
}
|
|
37
|
+
if (hasTakenAnySnapshot) {
|
|
38
|
+
projection.root.didUpdate();
|
|
39
|
+
}
|
|
40
|
+
projection.addEventListener("animationComplete", () => {
|
|
41
|
+
this.safeToRemove();
|
|
42
|
+
});
|
|
43
|
+
projection.setOptions({
|
|
44
|
+
...projection.options,
|
|
45
|
+
layoutDependency: this.props.layoutDependency,
|
|
46
|
+
onExitComplete: () => this.safeToRemove(),
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
state.globalProjectionState.hasEverUpdated = true;
|
|
50
|
+
}
|
|
51
|
+
getSnapshotBeforeUpdate(prevProps) {
|
|
52
|
+
const { layoutDependency, visualElement, drag, isPresent } = this.props;
|
|
53
|
+
const { projection } = visualElement;
|
|
54
|
+
if (!projection)
|
|
55
|
+
return null;
|
|
56
|
+
/**
|
|
57
|
+
* TODO: We use this data in relegate to determine whether to
|
|
58
|
+
* promote a previous element. There's no guarantee its presence data
|
|
59
|
+
* will have updated by this point - if a bug like this arises it will
|
|
60
|
+
* have to be that we markForRelegation and then find a new lead some other way,
|
|
61
|
+
* perhaps in didUpdate
|
|
62
|
+
*/
|
|
63
|
+
projection.isPresent = isPresent;
|
|
64
|
+
if (prevProps.layoutDependency !== layoutDependency) {
|
|
65
|
+
projection.setOptions({
|
|
66
|
+
...projection.options,
|
|
67
|
+
layoutDependency,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
hasTakenAnySnapshot = true;
|
|
71
|
+
if (drag ||
|
|
72
|
+
prevProps.layoutDependency !== layoutDependency ||
|
|
73
|
+
layoutDependency === undefined ||
|
|
74
|
+
prevProps.isPresent !== isPresent) {
|
|
75
|
+
projection.willUpdate();
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.safeToRemove();
|
|
79
|
+
}
|
|
80
|
+
if (prevProps.isPresent !== isPresent) {
|
|
81
|
+
if (isPresent) {
|
|
82
|
+
projection.promote();
|
|
83
|
+
}
|
|
84
|
+
else if (!projection.relegate()) {
|
|
85
|
+
/**
|
|
86
|
+
* If there's another stack member taking over from this one,
|
|
87
|
+
* it's in charge of the exit animation and therefore should
|
|
88
|
+
* be in charge of the safe to remove. Otherwise we call it here.
|
|
89
|
+
*/
|
|
90
|
+
frame.frame.postRender(() => {
|
|
91
|
+
const stack = projection.getStack();
|
|
92
|
+
if (!stack || !stack.members.length) {
|
|
93
|
+
this.safeToRemove();
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
componentDidUpdate() {
|
|
101
|
+
const { visualElement, layoutAnchor } = this.props;
|
|
102
|
+
const { projection } = visualElement;
|
|
103
|
+
if (projection) {
|
|
104
|
+
projection.options.layoutAnchor = layoutAnchor;
|
|
105
|
+
projection.root.didUpdate();
|
|
106
|
+
microtask.microtask.postRender(() => {
|
|
107
|
+
if (!projection.currentAnimation && projection.isLead()) {
|
|
108
|
+
this.safeToRemove();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
componentWillUnmount() {
|
|
114
|
+
const { visualElement, layoutGroup, switchLayoutGroup: promoteContext, } = this.props;
|
|
115
|
+
const { projection } = visualElement;
|
|
116
|
+
hasTakenAnySnapshot = true;
|
|
117
|
+
if (projection) {
|
|
118
|
+
projection.scheduleCheckAfterUnmount();
|
|
119
|
+
if (layoutGroup && layoutGroup.group)
|
|
120
|
+
layoutGroup.group.remove(projection);
|
|
121
|
+
if (promoteContext && promoteContext.deregister)
|
|
122
|
+
promoteContext.deregister(projection);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
safeToRemove() {
|
|
126
|
+
const { safeToRemove } = this.props;
|
|
127
|
+
safeToRemove && safeToRemove();
|
|
128
|
+
}
|
|
129
|
+
render() {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function MeasureLayout(props) {
|
|
134
|
+
const [isPresent, safeToRemove] = usePresence.usePresence();
|
|
135
|
+
const layoutGroup = React.useContext(LayoutGroupContext.LayoutGroupContext);
|
|
136
|
+
return (jsxRuntime.jsx(MeasureLayoutWithContext, { ...props, layoutGroup: layoutGroup, switchLayoutGroup: React.useContext(SwitchLayoutGroupContext.SwitchLayoutGroupContext), isPresent: isPresent, safeToRemove: safeToRemove }));
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
exports.MeasureLayout = MeasureLayout;
|