@betterinternship/components 2.9.7 → 3.0.0
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/README.md +45 -50
- package/dist/components/{ui/accordion.d.ts → accordion.d.ts} +7 -1
- package/dist/components/accordion.js +23 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/{ui/animated-count.d.ts → animated-count.d.ts} +1 -4
- package/dist/components/animated-count.js +19 -0
- package/dist/components/animated-count.js.map +1 -0
- package/dist/components/animated-shiny-text.d.ts +5 -0
- package/dist/components/{ui/app-header.d.ts → app-header.d.ts} +3 -1
- package/dist/components/app-header.js +72 -0
- package/dist/components/app-header.js.map +1 -0
- package/dist/components/autocomplete.d.ts +34 -0
- package/dist/components/{ui/avatar.js → avatar.js} +1 -1
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.d.ts +13 -0
- package/dist/components/{ui/badge.js → badge.js} +54 -31
- package/dist/components/badge.js.map +1 -0
- package/dist/components/banner.d.ts +17 -0
- package/dist/components/banner.js +41 -0
- package/dist/components/banner.js.map +1 -0
- package/dist/components/button.d.ts +56 -0
- package/dist/components/button.js +53 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/calendar.d.ts +10 -0
- package/dist/components/calendar.js +56 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/{ui/card.d.ts → card.d.ts} +7 -1
- package/dist/components/{ui/card.js → card.js} +10 -4
- package/dist/components/card.js.map +1 -0
- package/dist/components/carousel.d.ts +40 -0
- package/dist/components/checkbox.d.ts +8 -0
- package/dist/components/checkbox.js +20 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/chip-select.d.ts +18 -0
- package/dist/components/collapsible.d.ts +18 -0
- package/dist/components/context-menu.d.ts +27 -0
- package/dist/components/{ui/dialog.d.ts → dialog.d.ts} +5 -2
- package/dist/components/dialog.js +44 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/divider.d.ts +3 -0
- package/dist/components/divider.js +10 -0
- package/dist/components/divider.js.map +1 -0
- package/dist/components/dot-matrix.d.ts +21 -0
- package/dist/components/dropdown-menu.js +61 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/dropdown.d.ts +65 -0
- package/dist/components/error.d.ts +8 -0
- package/dist/components/file-upload.d.ts +16 -0
- package/dist/components/file-upload.js +29 -0
- package/dist/components/file-upload.js.map +1 -0
- package/dist/components/filter-chip.d.ts +21 -0
- package/dist/components/filter-chip.js +28 -0
- package/dist/components/filter-chip.js.map +1 -0
- package/dist/components/form-checkbox-group.d.ts +31 -0
- package/dist/components/form-checkbox-group.js +29 -0
- package/dist/components/form-checkbox-group.js.map +1 -0
- package/dist/components/form-checkbox.d.ts +15 -0
- package/dist/components/form-checkbox.js +14 -0
- package/dist/components/form-checkbox.js.map +1 -0
- package/dist/components/form-date-picker.d.ts +47 -0
- package/dist/components/form-date-picker.js +55 -0
- package/dist/components/form-date-picker.js.map +1 -0
- package/dist/components/form-field.d.ts +14 -0
- package/dist/components/form-field.js +10 -0
- package/dist/components/form-field.js.map +1 -0
- package/dist/components/form-input.d.ts +11 -0
- package/dist/components/form-input.js +12 -0
- package/dist/components/form-input.js.map +1 -0
- package/dist/components/form-month-picker.d.ts +26 -0
- package/dist/components/form-month-picker.js +55 -0
- package/dist/components/form-month-picker.js.map +1 -0
- package/dist/components/form-radio.d.ts +15 -0
- package/dist/components/form-radio.js +20 -0
- package/dist/components/form-radio.js.map +1 -0
- package/dist/components/form-textarea.d.ts +11 -0
- package/dist/components/form-textarea.js +11 -0
- package/dist/components/form-textarea.js.map +1 -0
- package/dist/components/form.d.ts +24 -0
- package/dist/components/hover-card.d.ts +6 -0
- package/dist/components/input-otp.d.ts +39 -0
- package/dist/components/input.js +30 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/label.d.ts +15 -0
- package/dist/components/label.js +19 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/loader.d.ts +20 -0
- package/dist/components/loader.js +14 -0
- package/dist/components/loader.js.map +1 -0
- package/dist/components/magnetic-button.d.ts +5 -0
- package/dist/components/messages.d.ts +6 -0
- package/dist/components/mobile-sheet-portal.d.ts +9 -0
- package/dist/components/page-header.d.ts +6 -0
- package/dist/components/page-header.js +9 -0
- package/dist/components/page-header.js.map +1 -0
- package/dist/components/paginator.d.ts +9 -0
- package/dist/components/{ui/popover.js → popover.js} +2 -2
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +4 -0
- package/dist/components/radio-group.d.ts +5 -0
- package/dist/components/radio-group.js +17 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/select.d.ts +15 -0
- package/dist/components/select.js +50 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/sheet.d.ts +27 -0
- package/dist/components/{ui/skeleton.js → skeleton.js} +2 -2
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.d.ts +4 -0
- package/dist/components/sonner-toast.d.ts +106 -0
- package/dist/components/stepper.d.ts +9 -0
- package/dist/components/stepper.js +14 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/switch.js +10 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +33 -0
- package/dist/components/table.js +88 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.d.ts +22 -0
- package/dist/components/textarea.d.ts +3 -0
- package/dist/components/textarea.js +11 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/time-input-native.d.ts +14 -0
- package/dist/components/time-input-native.js +61 -0
- package/dist/components/time-input-native.js.map +1 -0
- package/dist/components/timeline.d.ts +17 -0
- package/dist/components/toggle.d.ts +5 -0
- package/dist/components/{ui/tooltip.js → tooltip.js} +2 -2
- package/dist/components/tooltip.js.map +1 -0
- package/dist/design-tokens.d.ts +69 -0
- package/dist/hooks/use-detect-click-outside.d.ts +4 -0
- package/dist/hooks/use-field-focus.d.ts +37 -0
- package/dist/hooks/use-field-focus.js +57 -0
- package/dist/hooks/use-field-focus.js.map +1 -0
- package/dist/hooks/use-mobile-sheet-viewport.d.ts +6 -0
- package/dist/hooks/use-mobile-sheet-viewport.js +60 -0
- package/dist/hooks/use-mobile-sheet-viewport.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.js +16 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-resource-table.d.ts +141 -0
- package/dist/hooks/useMQJob.d.ts +2 -2
- package/dist/hooks/useMQJob.js.map +1 -1
- package/dist/index.d.ts +36 -22
- package/dist/index.js +34 -22
- package/dist/index.js.map +1 -1
- package/dist/lib/interaction-styles.d.ts +10 -0
- package/dist/lib/interaction-styles.js +15 -0
- package/dist/lib/interaction-styles.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +118 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +190 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +586 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +51 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +130 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +285 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +51 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +71 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +138 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +113 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +166 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +81 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +61 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +200 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +386 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +181 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +331 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +106 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +109 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +60 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +142 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +148 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +47 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +44 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +55 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +73 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +97 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +69 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +125 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +55 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1660 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +85 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +564 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +55 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +66 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +72 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +64 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +387 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +56 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +64 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +80 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +48 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +94 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +320 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +114 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +71 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +53 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +42 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +15 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +41 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +13 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
- package/dist/utils.js.map +1 -1
- package/package.json +285 -249
- package/theme.css +355 -228
- package/theme.legacy.css +84 -0
- package/dist/components/ui/accordion.js +0 -20
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/animated-count.js +0 -22
- package/dist/components/ui/animated-count.js.map +0 -1
- package/dist/components/ui/app-header.js +0 -72
- package/dist/components/ui/app-header.js.map +0 -1
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -22
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/button.js +0 -88
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/button.test.d.ts +0 -1
- package/dist/components/ui/calendar.d.ts +0 -7
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/checkbox.js +0 -11
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/dialog.js +0 -41
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -61
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/fab.js +0 -9
- package/dist/components/ui/fab.js.map +0 -1
- package/dist/components/ui/icons.d.ts +0 -10
- package/dist/components/ui/icons.js +0 -39
- package/dist/components/ui/icons.js.map +0 -1
- package/dist/components/ui/input.js +0 -17
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/label.js +0 -10
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/page-header.d.ts +0 -18
- package/dist/components/ui/page-header.js +0 -17
- package/dist/components/ui/page-header.js.map +0 -1
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/separator.js +0 -10
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/status-notice.d.ts +0 -14
- package/dist/components/ui/status-notice.js +0 -30
- package/dist/components/ui/status-notice.js.map +0 -1
- package/dist/components/ui/switch.js +0 -10
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.d.ts +0 -10
- package/dist/components/ui/table.js +0 -30
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -3
- package/dist/components/ui/textarea.js +0 -9
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/config.d.ts +0 -6
- package/dist/config.js +0 -9
- package/dist/config.js.map +0 -1
- package/dist/hooks/useClientProcess.d.ts +0 -69
- package/dist/hooks/useClientProcess.js +0 -255
- package/dist/hooks/useClientProcess.js.map +0 -1
- /package/dist/components/{ui/avatar.d.ts → avatar.d.ts} +0 -0
- /package/dist/components/{ui/dropdown-menu.d.ts → dropdown-menu.d.ts} +0 -0
- /package/dist/components/{ui/fab.d.ts → fab.d.ts} +0 -0
- /package/dist/components/{ui/input.d.ts → input.d.ts} +0 -0
- /package/dist/components/{ui/popover.d.ts → popover.d.ts} +0 -0
- /package/dist/components/{ui/skeleton.d.ts → skeleton.d.ts} +0 -0
- /package/dist/components/{ui/switch.d.ts → switch.d.ts} +0 -0
- /package/dist/components/{ui/tooltip.d.ts → tooltip.d.ts} +0 -0
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
import { KeyframeResolver } from '../animation/keyframes/KeyframesResolver.js';
|
|
2
|
+
import { NativeAnimation } from '../animation/NativeAnimation.js';
|
|
3
|
+
import { acceleratedValues } from '../animation/waapi/utils/accelerated-values.js';
|
|
4
|
+
import { microtask } from '../frameloop/microtask.js';
|
|
5
|
+
import { time } from '../frameloop/sync-time.js';
|
|
6
|
+
import { createBox } from '../projection/geometry/models.js';
|
|
7
|
+
import { motionValue } from '../value/index.js';
|
|
8
|
+
import { complex } from '../value/types/complex/index.js';
|
|
9
|
+
import { getAnimatableNone } from '../value/types/utils/animatable-none.js';
|
|
10
|
+
import { findValueType } from '../value/types/utils/find.js';
|
|
11
|
+
import { isMotionValue } from '../value/utils/is-motion-value.js';
|
|
12
|
+
import { visualElementStore } from './store.js';
|
|
13
|
+
import { isControllingVariants, isVariantNode } from './utils/is-controlling-variants.js';
|
|
14
|
+
import { transformProps } from './utils/keys-transform.js';
|
|
15
|
+
import { updateMotionValuesFromProps } from './utils/motion-values.js';
|
|
16
|
+
import { initPrefersReducedMotion } from './utils/reduced-motion/index.js';
|
|
17
|
+
import { resolveVariantFromProps } from './utils/resolve-variants.js';
|
|
18
|
+
import { hasReducedMotionListener, prefersReducedMotion } from './utils/reduced-motion/state.js';
|
|
19
|
+
import { frame, cancelFrame } from '../frameloop/frame.js';
|
|
20
|
+
import { warnOnce } from '../../../../motion-utils/dist/es/warn-once.js';
|
|
21
|
+
import { secondsToMilliseconds } from '../../../../motion-utils/dist/es/time-conversion.js';
|
|
22
|
+
import { isNumericalString } from '../../../../motion-utils/dist/es/is-numerical-string.js';
|
|
23
|
+
import { isZeroValueString } from '../../../../motion-utils/dist/es/is-zero-value-string.js';
|
|
24
|
+
import { SubscriptionManager } from '../../../../motion-utils/dist/es/subscription-manager.js';
|
|
25
|
+
|
|
26
|
+
const propEventHandlers = [
|
|
27
|
+
"AnimationStart",
|
|
28
|
+
"AnimationComplete",
|
|
29
|
+
"Update",
|
|
30
|
+
"BeforeLayoutMeasure",
|
|
31
|
+
"LayoutMeasure",
|
|
32
|
+
"LayoutAnimationStart",
|
|
33
|
+
"LayoutAnimationComplete",
|
|
34
|
+
];
|
|
35
|
+
/**
|
|
36
|
+
* Static feature definitions - can be injected by framework layer
|
|
37
|
+
*/
|
|
38
|
+
let featureDefinitions = {};
|
|
39
|
+
/**
|
|
40
|
+
* Set feature definitions for all VisualElements.
|
|
41
|
+
* This should be called by the framework layer (e.g., framer-motion) during initialization.
|
|
42
|
+
*/
|
|
43
|
+
function setFeatureDefinitions(definitions) {
|
|
44
|
+
featureDefinitions = definitions;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Get the current feature definitions
|
|
48
|
+
*/
|
|
49
|
+
function getFeatureDefinitions() {
|
|
50
|
+
return featureDefinitions;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* A VisualElement is an imperative abstraction around UI elements such as
|
|
54
|
+
* HTMLElement, SVGElement, Three.Object3D etc.
|
|
55
|
+
*/
|
|
56
|
+
class VisualElement {
|
|
57
|
+
/**
|
|
58
|
+
* This method takes React props and returns found MotionValues. For example, HTML
|
|
59
|
+
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
60
|
+
*
|
|
61
|
+
* This isn't an abstract method as it needs calling in the constructor, but it is
|
|
62
|
+
* intended to be one.
|
|
63
|
+
*/
|
|
64
|
+
scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {
|
|
65
|
+
return {};
|
|
66
|
+
}
|
|
67
|
+
constructor({ parent, props, presenceContext, reducedMotionConfig, skipAnimations, blockInitialAnimation, visualState, }, options = {}) {
|
|
68
|
+
/**
|
|
69
|
+
* A reference to the current underlying Instance, e.g. a HTMLElement
|
|
70
|
+
* or Three.Mesh etc.
|
|
71
|
+
*/
|
|
72
|
+
this.current = null;
|
|
73
|
+
/**
|
|
74
|
+
* A set containing references to this VisualElement's children.
|
|
75
|
+
*/
|
|
76
|
+
this.children = new Set();
|
|
77
|
+
/**
|
|
78
|
+
* Determine what role this visual element should take in the variant tree.
|
|
79
|
+
*/
|
|
80
|
+
this.isVariantNode = false;
|
|
81
|
+
this.isControllingVariants = false;
|
|
82
|
+
/**
|
|
83
|
+
* Decides whether this VisualElement should animate in reduced motion
|
|
84
|
+
* mode.
|
|
85
|
+
*
|
|
86
|
+
* TODO: This is currently set on every individual VisualElement but feels
|
|
87
|
+
* like it could be set globally.
|
|
88
|
+
*/
|
|
89
|
+
this.shouldReduceMotion = null;
|
|
90
|
+
/**
|
|
91
|
+
* Decides whether animations should be skipped for this VisualElement.
|
|
92
|
+
* Useful for E2E tests and visual regression testing.
|
|
93
|
+
*/
|
|
94
|
+
this.shouldSkipAnimations = false;
|
|
95
|
+
/**
|
|
96
|
+
* A map of all motion values attached to this visual element. Motion
|
|
97
|
+
* values are source of truth for any given animated value. A motion
|
|
98
|
+
* value might be provided externally by the component via props.
|
|
99
|
+
*/
|
|
100
|
+
this.values = new Map();
|
|
101
|
+
this.KeyframeResolver = KeyframeResolver;
|
|
102
|
+
/**
|
|
103
|
+
* Cleanup functions for active features (hover/tap/exit etc)
|
|
104
|
+
*/
|
|
105
|
+
this.features = {};
|
|
106
|
+
/**
|
|
107
|
+
* A map of every subscription that binds the provided or generated
|
|
108
|
+
* motion values onChange listeners to this visual element.
|
|
109
|
+
*/
|
|
110
|
+
this.valueSubscriptions = new Map();
|
|
111
|
+
/**
|
|
112
|
+
* A reference to the previously-provided motion values as returned
|
|
113
|
+
* from scrapeMotionValuesFromProps. We use the keys in here to determine
|
|
114
|
+
* if any motion values need to be removed after props are updated.
|
|
115
|
+
*/
|
|
116
|
+
this.prevMotionValues = {};
|
|
117
|
+
/**
|
|
118
|
+
* Track whether this element has been mounted before, to detect
|
|
119
|
+
* remounts after Suspense unmount/remount cycles.
|
|
120
|
+
*/
|
|
121
|
+
this.hasBeenMounted = false;
|
|
122
|
+
/**
|
|
123
|
+
* An object containing a SubscriptionManager for each active event.
|
|
124
|
+
*/
|
|
125
|
+
this.events = {};
|
|
126
|
+
/**
|
|
127
|
+
* An object containing an unsubscribe function for each prop event subscription.
|
|
128
|
+
* For example, every "Update" event can have multiple subscribers via
|
|
129
|
+
* VisualElement.on(), but only one of those can be defined via the onUpdate prop.
|
|
130
|
+
*/
|
|
131
|
+
this.propEventSubscriptions = {};
|
|
132
|
+
this.notifyUpdate = () => this.notify("Update", this.latestValues);
|
|
133
|
+
this.render = () => {
|
|
134
|
+
if (!this.current)
|
|
135
|
+
return;
|
|
136
|
+
this.triggerBuild();
|
|
137
|
+
this.renderInstance(this.current, this.renderState, this.props.style, this.projection);
|
|
138
|
+
};
|
|
139
|
+
this.renderScheduledAt = 0.0;
|
|
140
|
+
this.scheduleRender = () => {
|
|
141
|
+
const now = time.now();
|
|
142
|
+
if (this.renderScheduledAt < now) {
|
|
143
|
+
this.renderScheduledAt = now;
|
|
144
|
+
frame.render(this.render, false, true);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
const { latestValues, renderState } = visualState;
|
|
148
|
+
this.latestValues = latestValues;
|
|
149
|
+
this.baseTarget = { ...latestValues };
|
|
150
|
+
this.initialValues = props.initial ? { ...latestValues } : {};
|
|
151
|
+
this.renderState = renderState;
|
|
152
|
+
this.parent = parent;
|
|
153
|
+
this.props = props;
|
|
154
|
+
this.presenceContext = presenceContext;
|
|
155
|
+
this.depth = parent ? parent.depth + 1 : 0;
|
|
156
|
+
this.reducedMotionConfig = reducedMotionConfig;
|
|
157
|
+
this.skipAnimationsConfig = skipAnimations;
|
|
158
|
+
this.options = options;
|
|
159
|
+
this.blockInitialAnimation = Boolean(blockInitialAnimation);
|
|
160
|
+
this.isControllingVariants = isControllingVariants(props);
|
|
161
|
+
this.isVariantNode = isVariantNode(props);
|
|
162
|
+
if (this.isVariantNode) {
|
|
163
|
+
this.variantChildren = new Set();
|
|
164
|
+
}
|
|
165
|
+
this.manuallyAnimateOnMount = Boolean(parent && parent.current);
|
|
166
|
+
/**
|
|
167
|
+
* Any motion values that are provided to the element when created
|
|
168
|
+
* aren't yet bound to the element, as this would technically be impure.
|
|
169
|
+
* However, we iterate through the motion values and set them to the
|
|
170
|
+
* initial values for this component.
|
|
171
|
+
*
|
|
172
|
+
* TODO: This is impure and we should look at changing this to run on mount.
|
|
173
|
+
* Doing so will break some tests but this isn't necessarily a breaking change,
|
|
174
|
+
* more a reflection of the test.
|
|
175
|
+
*/
|
|
176
|
+
const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);
|
|
177
|
+
for (const key in initialMotionValues) {
|
|
178
|
+
const value = initialMotionValues[key];
|
|
179
|
+
if (latestValues[key] !== undefined && isMotionValue(value)) {
|
|
180
|
+
value.set(latestValues[key]);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
mount(instance) {
|
|
185
|
+
/**
|
|
186
|
+
* If this element has been mounted before (e.g. after a Suspense
|
|
187
|
+
* unmount/remount), reset motion values to their initial state
|
|
188
|
+
* so animations replay correctly from initial → animate.
|
|
189
|
+
*/
|
|
190
|
+
if (this.hasBeenMounted) {
|
|
191
|
+
for (const key in this.initialValues) {
|
|
192
|
+
this.values.get(key)?.jump(this.initialValues[key]);
|
|
193
|
+
this.latestValues[key] = this.initialValues[key];
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
this.current = instance;
|
|
197
|
+
visualElementStore.set(instance, this);
|
|
198
|
+
if (this.projection && !this.projection.instance) {
|
|
199
|
+
this.projection.mount(instance);
|
|
200
|
+
}
|
|
201
|
+
if (this.parent && this.isVariantNode && !this.isControllingVariants) {
|
|
202
|
+
this.removeFromVariantTree = this.parent.addVariantChild(this);
|
|
203
|
+
}
|
|
204
|
+
this.values.forEach((value, key) => this.bindToMotionValue(key, value));
|
|
205
|
+
/**
|
|
206
|
+
* Determine reduced motion preference. Only initialize the matchMedia
|
|
207
|
+
* listener if we actually need the dynamic value (i.e., when config
|
|
208
|
+
* is neither "never" nor "always").
|
|
209
|
+
*/
|
|
210
|
+
if (this.reducedMotionConfig === "never") {
|
|
211
|
+
this.shouldReduceMotion = false;
|
|
212
|
+
}
|
|
213
|
+
else if (this.reducedMotionConfig === "always") {
|
|
214
|
+
this.shouldReduceMotion = true;
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
if (!hasReducedMotionListener.current) {
|
|
218
|
+
initPrefersReducedMotion();
|
|
219
|
+
}
|
|
220
|
+
this.shouldReduceMotion = prefersReducedMotion.current;
|
|
221
|
+
}
|
|
222
|
+
if (process.env.NODE_ENV !== "production") {
|
|
223
|
+
warnOnce(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled");
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Set whether animations should be skipped based on the config.
|
|
227
|
+
*/
|
|
228
|
+
this.shouldSkipAnimations = this.skipAnimationsConfig ?? false;
|
|
229
|
+
this.parent?.addChild(this);
|
|
230
|
+
this.update(this.props, this.presenceContext);
|
|
231
|
+
this.hasBeenMounted = true;
|
|
232
|
+
}
|
|
233
|
+
unmount() {
|
|
234
|
+
this.projection && this.projection.unmount();
|
|
235
|
+
cancelFrame(this.notifyUpdate);
|
|
236
|
+
cancelFrame(this.render);
|
|
237
|
+
this.valueSubscriptions.forEach((remove) => remove());
|
|
238
|
+
this.valueSubscriptions.clear();
|
|
239
|
+
this.removeFromVariantTree && this.removeFromVariantTree();
|
|
240
|
+
this.parent?.removeChild(this);
|
|
241
|
+
for (const key in this.events) {
|
|
242
|
+
this.events[key].clear();
|
|
243
|
+
}
|
|
244
|
+
for (const key in this.features) {
|
|
245
|
+
const feature = this.features[key];
|
|
246
|
+
if (feature) {
|
|
247
|
+
feature.unmount();
|
|
248
|
+
feature.isMounted = false;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
this.current = null;
|
|
252
|
+
}
|
|
253
|
+
addChild(child) {
|
|
254
|
+
this.children.add(child);
|
|
255
|
+
this.enteringChildren ?? (this.enteringChildren = new Set());
|
|
256
|
+
this.enteringChildren.add(child);
|
|
257
|
+
}
|
|
258
|
+
removeChild(child) {
|
|
259
|
+
this.children.delete(child);
|
|
260
|
+
this.enteringChildren && this.enteringChildren.delete(child);
|
|
261
|
+
}
|
|
262
|
+
bindToMotionValue(key, value) {
|
|
263
|
+
if (this.valueSubscriptions.has(key)) {
|
|
264
|
+
this.valueSubscriptions.get(key)();
|
|
265
|
+
}
|
|
266
|
+
if (value.accelerate &&
|
|
267
|
+
acceleratedValues.has(key) &&
|
|
268
|
+
this.current instanceof HTMLElement) {
|
|
269
|
+
const { factory, keyframes, times, ease, duration } = value.accelerate;
|
|
270
|
+
const animation = new NativeAnimation({
|
|
271
|
+
element: this.current,
|
|
272
|
+
name: key,
|
|
273
|
+
keyframes,
|
|
274
|
+
times,
|
|
275
|
+
ease,
|
|
276
|
+
duration: secondsToMilliseconds(duration),
|
|
277
|
+
});
|
|
278
|
+
const cleanup = factory(animation);
|
|
279
|
+
this.valueSubscriptions.set(key, () => {
|
|
280
|
+
cleanup();
|
|
281
|
+
animation.cancel();
|
|
282
|
+
});
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
const valueIsTransform = transformProps.has(key);
|
|
286
|
+
if (valueIsTransform && this.onBindTransform) {
|
|
287
|
+
this.onBindTransform();
|
|
288
|
+
}
|
|
289
|
+
const removeOnChange = value.on("change", (latestValue) => {
|
|
290
|
+
this.latestValues[key] = latestValue;
|
|
291
|
+
this.props.onUpdate && frame.preRender(this.notifyUpdate);
|
|
292
|
+
if (valueIsTransform && this.projection) {
|
|
293
|
+
this.projection.isTransformDirty = true;
|
|
294
|
+
}
|
|
295
|
+
this.scheduleRender();
|
|
296
|
+
});
|
|
297
|
+
let removeSyncCheck;
|
|
298
|
+
if (typeof window !== "undefined" &&
|
|
299
|
+
window.MotionCheckAppearSync) {
|
|
300
|
+
removeSyncCheck = window.MotionCheckAppearSync(this, key, value);
|
|
301
|
+
}
|
|
302
|
+
this.valueSubscriptions.set(key, () => {
|
|
303
|
+
removeOnChange();
|
|
304
|
+
if (removeSyncCheck)
|
|
305
|
+
removeSyncCheck();
|
|
306
|
+
// Defer to MotionValue.on("change") auto-stop so React 19 remounts
|
|
307
|
+
// can resubscribe before the animation is cancelled (#3315).
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
sortNodePosition(other) {
|
|
311
|
+
/**
|
|
312
|
+
* If these nodes aren't even of the same type we can't compare their depth.
|
|
313
|
+
*/
|
|
314
|
+
if (!this.current ||
|
|
315
|
+
!this.sortInstanceNodePosition ||
|
|
316
|
+
this.type !== other.type) {
|
|
317
|
+
return 0;
|
|
318
|
+
}
|
|
319
|
+
return this.sortInstanceNodePosition(this.current, other.current);
|
|
320
|
+
}
|
|
321
|
+
updateFeatures() {
|
|
322
|
+
let key = "animation";
|
|
323
|
+
for (key in featureDefinitions) {
|
|
324
|
+
const featureDefinition = featureDefinitions[key];
|
|
325
|
+
if (!featureDefinition)
|
|
326
|
+
continue;
|
|
327
|
+
const { isEnabled, Feature: FeatureConstructor } = featureDefinition;
|
|
328
|
+
/**
|
|
329
|
+
* If this feature is enabled but not active, make a new instance.
|
|
330
|
+
*/
|
|
331
|
+
if (!this.features[key] &&
|
|
332
|
+
FeatureConstructor &&
|
|
333
|
+
isEnabled(this.props)) {
|
|
334
|
+
this.features[key] = new FeatureConstructor(this);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* If we have a feature, mount or update it.
|
|
338
|
+
*/
|
|
339
|
+
if (this.features[key]) {
|
|
340
|
+
const feature = this.features[key];
|
|
341
|
+
if (feature.isMounted) {
|
|
342
|
+
feature.update();
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
feature.mount();
|
|
346
|
+
feature.isMounted = true;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
triggerBuild() {
|
|
352
|
+
this.build(this.renderState, this.latestValues, this.props);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Measure the current viewport box with or without transforms.
|
|
356
|
+
* Only measures axis-aligned boxes, rotate and skew must be manually
|
|
357
|
+
* removed with a re-render to work.
|
|
358
|
+
*/
|
|
359
|
+
measureViewportBox() {
|
|
360
|
+
return this.current
|
|
361
|
+
? this.measureInstanceViewportBox(this.current, this.props)
|
|
362
|
+
: createBox();
|
|
363
|
+
}
|
|
364
|
+
getStaticValue(key) {
|
|
365
|
+
return this.latestValues[key];
|
|
366
|
+
}
|
|
367
|
+
setStaticValue(key, value) {
|
|
368
|
+
this.latestValues[key] = value;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Update the provided props. Ensure any newly-added motion values are
|
|
372
|
+
* added to our map, old ones removed, and listeners updated.
|
|
373
|
+
*/
|
|
374
|
+
update(props, presenceContext) {
|
|
375
|
+
if (props.transformTemplate || this.props.transformTemplate) {
|
|
376
|
+
this.scheduleRender();
|
|
377
|
+
}
|
|
378
|
+
this.prevProps = this.props;
|
|
379
|
+
this.props = props;
|
|
380
|
+
this.prevPresenceContext = this.presenceContext;
|
|
381
|
+
this.presenceContext = presenceContext;
|
|
382
|
+
/**
|
|
383
|
+
* Update prop event handlers ie onAnimationStart, onAnimationComplete
|
|
384
|
+
*/
|
|
385
|
+
for (let i = 0; i < propEventHandlers.length; i++) {
|
|
386
|
+
const key = propEventHandlers[i];
|
|
387
|
+
if (this.propEventSubscriptions[key]) {
|
|
388
|
+
this.propEventSubscriptions[key]();
|
|
389
|
+
delete this.propEventSubscriptions[key];
|
|
390
|
+
}
|
|
391
|
+
const listenerName = ("on" + key);
|
|
392
|
+
const listener = props[listenerName];
|
|
393
|
+
if (listener) {
|
|
394
|
+
this.propEventSubscriptions[key] = this.on(key, listener);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps || {}, this), this.prevMotionValues);
|
|
398
|
+
if (this.handleChildMotionValue) {
|
|
399
|
+
this.handleChildMotionValue();
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
getProps() {
|
|
403
|
+
return this.props;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Returns the variant definition with a given name.
|
|
407
|
+
*/
|
|
408
|
+
getVariant(name) {
|
|
409
|
+
return this.props.variants ? this.props.variants[name] : undefined;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* Returns the defined default transition on this component.
|
|
413
|
+
*/
|
|
414
|
+
getDefaultTransition() {
|
|
415
|
+
return this.props.transition;
|
|
416
|
+
}
|
|
417
|
+
getTransformPagePoint() {
|
|
418
|
+
return this.props.transformPagePoint;
|
|
419
|
+
}
|
|
420
|
+
getClosestVariantNode() {
|
|
421
|
+
return this.isVariantNode
|
|
422
|
+
? this
|
|
423
|
+
: this.parent
|
|
424
|
+
? this.parent.getClosestVariantNode()
|
|
425
|
+
: undefined;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Add a child visual element to our set of children.
|
|
429
|
+
*/
|
|
430
|
+
addVariantChild(child) {
|
|
431
|
+
const closestVariantNode = this.getClosestVariantNode();
|
|
432
|
+
if (closestVariantNode) {
|
|
433
|
+
closestVariantNode.variantChildren &&
|
|
434
|
+
closestVariantNode.variantChildren.add(child);
|
|
435
|
+
return () => closestVariantNode.variantChildren.delete(child);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Add a motion value and bind it to this visual element.
|
|
440
|
+
*/
|
|
441
|
+
addValue(key, value) {
|
|
442
|
+
// Remove existing value if it exists
|
|
443
|
+
const existingValue = this.values.get(key);
|
|
444
|
+
if (value !== existingValue) {
|
|
445
|
+
if (existingValue)
|
|
446
|
+
this.removeValue(key);
|
|
447
|
+
this.bindToMotionValue(key, value);
|
|
448
|
+
this.values.set(key, value);
|
|
449
|
+
this.latestValues[key] = value.get();
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Remove a motion value and unbind any active subscriptions.
|
|
454
|
+
*/
|
|
455
|
+
removeValue(key) {
|
|
456
|
+
this.values.delete(key);
|
|
457
|
+
const unsubscribe = this.valueSubscriptions.get(key);
|
|
458
|
+
if (unsubscribe) {
|
|
459
|
+
unsubscribe();
|
|
460
|
+
this.valueSubscriptions.delete(key);
|
|
461
|
+
}
|
|
462
|
+
delete this.latestValues[key];
|
|
463
|
+
this.removeValueFromRenderState(key, this.renderState);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Check whether we have a motion value for this key
|
|
467
|
+
*/
|
|
468
|
+
hasValue(key) {
|
|
469
|
+
return this.values.has(key);
|
|
470
|
+
}
|
|
471
|
+
getValue(key, defaultValue) {
|
|
472
|
+
if (this.props.values && this.props.values[key]) {
|
|
473
|
+
return this.props.values[key];
|
|
474
|
+
}
|
|
475
|
+
let value = this.values.get(key);
|
|
476
|
+
if (value === undefined && defaultValue !== undefined) {
|
|
477
|
+
value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });
|
|
478
|
+
this.addValue(key, value);
|
|
479
|
+
}
|
|
480
|
+
return value;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* If we're trying to animate to a previously unencountered value,
|
|
484
|
+
* we need to check for it in our state and as a last resort read it
|
|
485
|
+
* directly from the instance (which might have performance implications).
|
|
486
|
+
*/
|
|
487
|
+
readValue(key, target) {
|
|
488
|
+
let value = this.latestValues[key] !== undefined || !this.current
|
|
489
|
+
? this.latestValues[key]
|
|
490
|
+
: this.getBaseTargetFromProps(this.props, key) ??
|
|
491
|
+
this.readValueFromInstance(this.current, key, this.options);
|
|
492
|
+
if (value !== undefined && value !== null) {
|
|
493
|
+
if (typeof value === "string" &&
|
|
494
|
+
(isNumericalString(value) || isZeroValueString(value))) {
|
|
495
|
+
// If this is a number read as a string, ie "0" or "200", convert it to a number
|
|
496
|
+
value = parseFloat(value);
|
|
497
|
+
}
|
|
498
|
+
else if (!findValueType(value) && complex.test(target)) {
|
|
499
|
+
value = getAnimatableNone(key, target);
|
|
500
|
+
}
|
|
501
|
+
this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);
|
|
502
|
+
}
|
|
503
|
+
return isMotionValue(value) ? value.get() : value;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Set the base target to later animate back to. This is currently
|
|
507
|
+
* only hydrated on creation and when we first read a value.
|
|
508
|
+
*/
|
|
509
|
+
setBaseTarget(key, value) {
|
|
510
|
+
this.baseTarget[key] = value;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Find the base target for a value thats been removed from all animation
|
|
514
|
+
* props.
|
|
515
|
+
*/
|
|
516
|
+
getBaseTarget(key) {
|
|
517
|
+
const { initial } = this.props;
|
|
518
|
+
let valueFromInitial;
|
|
519
|
+
if (typeof initial === "string" || typeof initial === "object") {
|
|
520
|
+
const variant = resolveVariantFromProps(this.props, initial, this.presenceContext?.custom);
|
|
521
|
+
if (variant) {
|
|
522
|
+
valueFromInitial = variant[key];
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* If this value still exists in the current initial variant, read that.
|
|
527
|
+
*/
|
|
528
|
+
if (initial && valueFromInitial !== undefined) {
|
|
529
|
+
return valueFromInitial;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Alternatively, if this VisualElement config has defined a getBaseTarget
|
|
533
|
+
* so we can read the value from an alternative source, try that.
|
|
534
|
+
*/
|
|
535
|
+
const target = this.getBaseTargetFromProps(this.props, key);
|
|
536
|
+
if (target !== undefined && !isMotionValue(target))
|
|
537
|
+
return target;
|
|
538
|
+
/**
|
|
539
|
+
* If the value was initially defined on initial, but it doesn't any more,
|
|
540
|
+
* return undefined. Otherwise return the value as initially read from the DOM.
|
|
541
|
+
*/
|
|
542
|
+
return this.initialValues[key] !== undefined &&
|
|
543
|
+
valueFromInitial === undefined
|
|
544
|
+
? undefined
|
|
545
|
+
: this.baseTarget[key];
|
|
546
|
+
}
|
|
547
|
+
on(eventName, callback) {
|
|
548
|
+
if (!this.events[eventName]) {
|
|
549
|
+
this.events[eventName] = new SubscriptionManager();
|
|
550
|
+
}
|
|
551
|
+
return this.events[eventName].add(callback);
|
|
552
|
+
}
|
|
553
|
+
notify(eventName, ...args) {
|
|
554
|
+
if (this.events[eventName]) {
|
|
555
|
+
this.events[eventName].notify(...args);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
scheduleRenderMicrotask() {
|
|
559
|
+
microtask.render(this.render);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export { VisualElement, getFeatureDefinitions, setFeatureDefinitions };
|
|
564
|
+
//# sourceMappingURL=VisualElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisualElement.js","sources":["../../../../../../node_modules/motion-dom/dist/es/render/VisualElement.mjs"],"sourcesContent":["import { warnOnce, secondsToMilliseconds, isNumericalString, isZeroValueString, SubscriptionManager } from 'motion-utils';\nimport { KeyframeResolver } from '../animation/keyframes/KeyframesResolver.mjs';\nimport { NativeAnimation } from '../animation/NativeAnimation.mjs';\nimport { acceleratedValues } from '../animation/waapi/utils/accelerated-values.mjs';\nimport { microtask } from '../frameloop/microtask.mjs';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { createBox } from '../projection/geometry/models.mjs';\nimport { motionValue } from '../value/index.mjs';\nimport { complex } from '../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../value/types/utils/animatable-none.mjs';\nimport { findValueType } from '../value/types/utils/find.mjs';\nimport { isMotionValue } from '../value/utils/is-motion-value.mjs';\nimport { visualElementStore } from './store.mjs';\nimport { isControllingVariants, isVariantNode } from './utils/is-controlling-variants.mjs';\nimport { transformProps } from './utils/keys-transform.mjs';\nimport { updateMotionValuesFromProps } from './utils/motion-values.mjs';\nimport { initPrefersReducedMotion } from './utils/reduced-motion/index.mjs';\nimport { resolveVariantFromProps } from './utils/resolve-variants.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './utils/reduced-motion/state.mjs';\nimport { frame, cancelFrame } from '../frameloop/frame.mjs';\n\nconst propEventHandlers = [\n \"AnimationStart\",\n \"AnimationComplete\",\n \"Update\",\n \"BeforeLayoutMeasure\",\n \"LayoutMeasure\",\n \"LayoutAnimationStart\",\n \"LayoutAnimationComplete\",\n];\n/**\n * Static feature definitions - can be injected by framework layer\n */\nlet featureDefinitions = {};\n/**\n * Set feature definitions for all VisualElements.\n * This should be called by the framework layer (e.g., framer-motion) during initialization.\n */\nfunction setFeatureDefinitions(definitions) {\n featureDefinitions = definitions;\n}\n/**\n * Get the current feature definitions\n */\nfunction getFeatureDefinitions() {\n return featureDefinitions;\n}\n/**\n * A VisualElement is an imperative abstraction around UI elements such as\n * HTMLElement, SVGElement, Three.Object3D etc.\n */\nclass VisualElement {\n /**\n * This method takes React props and returns found MotionValues. For example, HTML\n * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.\n *\n * This isn't an abstract method as it needs calling in the constructor, but it is\n * intended to be one.\n */\n scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {\n return {};\n }\n constructor({ parent, props, presenceContext, reducedMotionConfig, skipAnimations, blockInitialAnimation, visualState, }, options = {}) {\n /**\n * A reference to the current underlying Instance, e.g. a HTMLElement\n * or Three.Mesh etc.\n */\n this.current = null;\n /**\n * A set containing references to this VisualElement's children.\n */\n this.children = new Set();\n /**\n * Determine what role this visual element should take in the variant tree.\n */\n this.isVariantNode = false;\n this.isControllingVariants = false;\n /**\n * Decides whether this VisualElement should animate in reduced motion\n * mode.\n *\n * TODO: This is currently set on every individual VisualElement but feels\n * like it could be set globally.\n */\n this.shouldReduceMotion = null;\n /**\n * Decides whether animations should be skipped for this VisualElement.\n * Useful for E2E tests and visual regression testing.\n */\n this.shouldSkipAnimations = false;\n /**\n * A map of all motion values attached to this visual element. Motion\n * values are source of truth for any given animated value. A motion\n * value might be provided externally by the component via props.\n */\n this.values = new Map();\n this.KeyframeResolver = KeyframeResolver;\n /**\n * Cleanup functions for active features (hover/tap/exit etc)\n */\n this.features = {};\n /**\n * A map of every subscription that binds the provided or generated\n * motion values onChange listeners to this visual element.\n */\n this.valueSubscriptions = new Map();\n /**\n * A reference to the previously-provided motion values as returned\n * from scrapeMotionValuesFromProps. We use the keys in here to determine\n * if any motion values need to be removed after props are updated.\n */\n this.prevMotionValues = {};\n /**\n * Track whether this element has been mounted before, to detect\n * remounts after Suspense unmount/remount cycles.\n */\n this.hasBeenMounted = false;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n /**\n * An object containing an unsubscribe function for each prop event subscription.\n * For example, every \"Update\" event can have multiple subscribers via\n * VisualElement.on(), but only one of those can be defined via the onUpdate prop.\n */\n this.propEventSubscriptions = {};\n this.notifyUpdate = () => this.notify(\"Update\", this.latestValues);\n this.render = () => {\n if (!this.current)\n return;\n this.triggerBuild();\n this.renderInstance(this.current, this.renderState, this.props.style, this.projection);\n };\n this.renderScheduledAt = 0.0;\n this.scheduleRender = () => {\n const now = time.now();\n if (this.renderScheduledAt < now) {\n this.renderScheduledAt = now;\n frame.render(this.render, false, true);\n }\n };\n const { latestValues, renderState } = visualState;\n this.latestValues = latestValues;\n this.baseTarget = { ...latestValues };\n this.initialValues = props.initial ? { ...latestValues } : {};\n this.renderState = renderState;\n this.parent = parent;\n this.props = props;\n this.presenceContext = presenceContext;\n this.depth = parent ? parent.depth + 1 : 0;\n this.reducedMotionConfig = reducedMotionConfig;\n this.skipAnimationsConfig = skipAnimations;\n this.options = options;\n this.blockInitialAnimation = Boolean(blockInitialAnimation);\n this.isControllingVariants = isControllingVariants(props);\n this.isVariantNode = isVariantNode(props);\n if (this.isVariantNode) {\n this.variantChildren = new Set();\n }\n this.manuallyAnimateOnMount = Boolean(parent && parent.current);\n /**\n * Any motion values that are provided to the element when created\n * aren't yet bound to the element, as this would technically be impure.\n * However, we iterate through the motion values and set them to the\n * initial values for this component.\n *\n * TODO: This is impure and we should look at changing this to run on mount.\n * Doing so will break some tests but this isn't necessarily a breaking change,\n * more a reflection of the test.\n */\n const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);\n for (const key in initialMotionValues) {\n const value = initialMotionValues[key];\n if (latestValues[key] !== undefined && isMotionValue(value)) {\n value.set(latestValues[key]);\n }\n }\n }\n mount(instance) {\n /**\n * If this element has been mounted before (e.g. after a Suspense\n * unmount/remount), reset motion values to their initial state\n * so animations replay correctly from initial → animate.\n */\n if (this.hasBeenMounted) {\n for (const key in this.initialValues) {\n this.values.get(key)?.jump(this.initialValues[key]);\n this.latestValues[key] = this.initialValues[key];\n }\n }\n this.current = instance;\n visualElementStore.set(instance, this);\n if (this.projection && !this.projection.instance) {\n this.projection.mount(instance);\n }\n if (this.parent && this.isVariantNode && !this.isControllingVariants) {\n this.removeFromVariantTree = this.parent.addVariantChild(this);\n }\n this.values.forEach((value, key) => this.bindToMotionValue(key, value));\n /**\n * Determine reduced motion preference. Only initialize the matchMedia\n * listener if we actually need the dynamic value (i.e., when config\n * is neither \"never\" nor \"always\").\n */\n if (this.reducedMotionConfig === \"never\") {\n this.shouldReduceMotion = false;\n }\n else if (this.reducedMotionConfig === \"always\") {\n this.shouldReduceMotion = true;\n }\n else {\n if (!hasReducedMotionListener.current) {\n initPrefersReducedMotion();\n }\n this.shouldReduceMotion = prefersReducedMotion.current;\n }\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(this.shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * Set whether animations should be skipped based on the config.\n */\n this.shouldSkipAnimations = this.skipAnimationsConfig ?? false;\n this.parent?.addChild(this);\n this.update(this.props, this.presenceContext);\n this.hasBeenMounted = true;\n }\n unmount() {\n this.projection && this.projection.unmount();\n cancelFrame(this.notifyUpdate);\n cancelFrame(this.render);\n this.valueSubscriptions.forEach((remove) => remove());\n this.valueSubscriptions.clear();\n this.removeFromVariantTree && this.removeFromVariantTree();\n this.parent?.removeChild(this);\n for (const key in this.events) {\n this.events[key].clear();\n }\n for (const key in this.features) {\n const feature = this.features[key];\n if (feature) {\n feature.unmount();\n feature.isMounted = false;\n }\n }\n this.current = null;\n }\n addChild(child) {\n this.children.add(child);\n this.enteringChildren ?? (this.enteringChildren = new Set());\n this.enteringChildren.add(child);\n }\n removeChild(child) {\n this.children.delete(child);\n this.enteringChildren && this.enteringChildren.delete(child);\n }\n bindToMotionValue(key, value) {\n if (this.valueSubscriptions.has(key)) {\n this.valueSubscriptions.get(key)();\n }\n if (value.accelerate &&\n acceleratedValues.has(key) &&\n this.current instanceof HTMLElement) {\n const { factory, keyframes, times, ease, duration } = value.accelerate;\n const animation = new NativeAnimation({\n element: this.current,\n name: key,\n keyframes,\n times,\n ease,\n duration: secondsToMilliseconds(duration),\n });\n const cleanup = factory(animation);\n this.valueSubscriptions.set(key, () => {\n cleanup();\n animation.cancel();\n });\n return;\n }\n const valueIsTransform = transformProps.has(key);\n if (valueIsTransform && this.onBindTransform) {\n this.onBindTransform();\n }\n const removeOnChange = value.on(\"change\", (latestValue) => {\n this.latestValues[key] = latestValue;\n this.props.onUpdate && frame.preRender(this.notifyUpdate);\n if (valueIsTransform && this.projection) {\n this.projection.isTransformDirty = true;\n }\n this.scheduleRender();\n });\n let removeSyncCheck;\n if (typeof window !== \"undefined\" &&\n window.MotionCheckAppearSync) {\n removeSyncCheck = window.MotionCheckAppearSync(this, key, value);\n }\n this.valueSubscriptions.set(key, () => {\n removeOnChange();\n if (removeSyncCheck)\n removeSyncCheck();\n // Defer to MotionValue.on(\"change\") auto-stop so React 19 remounts\n // can resubscribe before the animation is cancelled (#3315).\n });\n }\n sortNodePosition(other) {\n /**\n * If these nodes aren't even of the same type we can't compare their depth.\n */\n if (!this.current ||\n !this.sortInstanceNodePosition ||\n this.type !== other.type) {\n return 0;\n }\n return this.sortInstanceNodePosition(this.current, other.current);\n }\n updateFeatures() {\n let key = \"animation\";\n for (key in featureDefinitions) {\n const featureDefinition = featureDefinitions[key];\n if (!featureDefinition)\n continue;\n const { isEnabled, Feature: FeatureConstructor } = featureDefinition;\n /**\n * If this feature is enabled but not active, make a new instance.\n */\n if (!this.features[key] &&\n FeatureConstructor &&\n isEnabled(this.props)) {\n this.features[key] = new FeatureConstructor(this);\n }\n /**\n * If we have a feature, mount or update it.\n */\n if (this.features[key]) {\n const feature = this.features[key];\n if (feature.isMounted) {\n feature.update();\n }\n else {\n feature.mount();\n feature.isMounted = true;\n }\n }\n }\n }\n triggerBuild() {\n this.build(this.renderState, this.latestValues, this.props);\n }\n /**\n * Measure the current viewport box with or without transforms.\n * Only measures axis-aligned boxes, rotate and skew must be manually\n * removed with a re-render to work.\n */\n measureViewportBox() {\n return this.current\n ? this.measureInstanceViewportBox(this.current, this.props)\n : createBox();\n }\n getStaticValue(key) {\n return this.latestValues[key];\n }\n setStaticValue(key, value) {\n this.latestValues[key] = value;\n }\n /**\n * Update the provided props. Ensure any newly-added motion values are\n * added to our map, old ones removed, and listeners updated.\n */\n update(props, presenceContext) {\n if (props.transformTemplate || this.props.transformTemplate) {\n this.scheduleRender();\n }\n this.prevProps = this.props;\n this.props = props;\n this.prevPresenceContext = this.presenceContext;\n this.presenceContext = presenceContext;\n /**\n * Update prop event handlers ie onAnimationStart, onAnimationComplete\n */\n for (let i = 0; i < propEventHandlers.length; i++) {\n const key = propEventHandlers[i];\n if (this.propEventSubscriptions[key]) {\n this.propEventSubscriptions[key]();\n delete this.propEventSubscriptions[key];\n }\n const listenerName = (\"on\" + key);\n const listener = props[listenerName];\n if (listener) {\n this.propEventSubscriptions[key] = this.on(key, listener);\n }\n }\n this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps || {}, this), this.prevMotionValues);\n if (this.handleChildMotionValue) {\n this.handleChildMotionValue();\n }\n }\n getProps() {\n return this.props;\n }\n /**\n * Returns the variant definition with a given name.\n */\n getVariant(name) {\n return this.props.variants ? this.props.variants[name] : undefined;\n }\n /**\n * Returns the defined default transition on this component.\n */\n getDefaultTransition() {\n return this.props.transition;\n }\n getTransformPagePoint() {\n return this.props.transformPagePoint;\n }\n getClosestVariantNode() {\n return this.isVariantNode\n ? this\n : this.parent\n ? this.parent.getClosestVariantNode()\n : undefined;\n }\n /**\n * Add a child visual element to our set of children.\n */\n addVariantChild(child) {\n const closestVariantNode = this.getClosestVariantNode();\n if (closestVariantNode) {\n closestVariantNode.variantChildren &&\n closestVariantNode.variantChildren.add(child);\n return () => closestVariantNode.variantChildren.delete(child);\n }\n }\n /**\n * Add a motion value and bind it to this visual element.\n */\n addValue(key, value) {\n // Remove existing value if it exists\n const existingValue = this.values.get(key);\n if (value !== existingValue) {\n if (existingValue)\n this.removeValue(key);\n this.bindToMotionValue(key, value);\n this.values.set(key, value);\n this.latestValues[key] = value.get();\n }\n }\n /**\n * Remove a motion value and unbind any active subscriptions.\n */\n removeValue(key) {\n this.values.delete(key);\n const unsubscribe = this.valueSubscriptions.get(key);\n if (unsubscribe) {\n unsubscribe();\n this.valueSubscriptions.delete(key);\n }\n delete this.latestValues[key];\n this.removeValueFromRenderState(key, this.renderState);\n }\n /**\n * Check whether we have a motion value for this key\n */\n hasValue(key) {\n return this.values.has(key);\n }\n getValue(key, defaultValue) {\n if (this.props.values && this.props.values[key]) {\n return this.props.values[key];\n }\n let value = this.values.get(key);\n if (value === undefined && defaultValue !== undefined) {\n value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });\n this.addValue(key, value);\n }\n return value;\n }\n /**\n * If we're trying to animate to a previously unencountered value,\n * we need to check for it in our state and as a last resort read it\n * directly from the instance (which might have performance implications).\n */\n readValue(key, target) {\n let value = this.latestValues[key] !== undefined || !this.current\n ? this.latestValues[key]\n : this.getBaseTargetFromProps(this.props, key) ??\n this.readValueFromInstance(this.current, key, this.options);\n if (value !== undefined && value !== null) {\n if (typeof value === \"string\" &&\n (isNumericalString(value) || isZeroValueString(value))) {\n // If this is a number read as a string, ie \"0\" or \"200\", convert it to a number\n value = parseFloat(value);\n }\n else if (!findValueType(value) && complex.test(target)) {\n value = getAnimatableNone(key, target);\n }\n this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);\n }\n return isMotionValue(value) ? value.get() : value;\n }\n /**\n * Set the base target to later animate back to. This is currently\n * only hydrated on creation and when we first read a value.\n */\n setBaseTarget(key, value) {\n this.baseTarget[key] = value;\n }\n /**\n * Find the base target for a value thats been removed from all animation\n * props.\n */\n getBaseTarget(key) {\n const { initial } = this.props;\n let valueFromInitial;\n if (typeof initial === \"string\" || typeof initial === \"object\") {\n const variant = resolveVariantFromProps(this.props, initial, this.presenceContext?.custom);\n if (variant) {\n valueFromInitial = variant[key];\n }\n }\n /**\n * If this value still exists in the current initial variant, read that.\n */\n if (initial && valueFromInitial !== undefined) {\n return valueFromInitial;\n }\n /**\n * Alternatively, if this VisualElement config has defined a getBaseTarget\n * so we can read the value from an alternative source, try that.\n */\n const target = this.getBaseTargetFromProps(this.props, key);\n if (target !== undefined && !isMotionValue(target))\n return target;\n /**\n * If the value was initially defined on initial, but it doesn't any more,\n * return undefined. Otherwise return the value as initially read from the DOM.\n */\n return this.initialValues[key] !== undefined &&\n valueFromInitial === undefined\n ? undefined\n : this.baseTarget[key];\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n return this.events[eventName].add(callback);\n }\n notify(eventName, ...args) {\n if (this.events[eventName]) {\n this.events[eventName].notify(...args);\n }\n }\n scheduleRenderMicrotask() {\n microtask.render(this.render);\n }\n}\n\nexport { VisualElement, getFeatureDefinitions, setFeatureDefinitions };\n//# sourceMappingURL=VisualElement.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,iBAAiB,GAAG;AAC1B,IAAI,gBAAgB;AACpB,IAAI,mBAAmB;AACvB,IAAI,QAAQ;AACZ,IAAI,qBAAqB;AACzB,IAAI,eAAe;AACnB,IAAI,sBAAsB;AAC1B,IAAI,yBAAyB;AAC7B,CAAC;AACD;AACA;AACA;AACA,IAAI,kBAAkB,GAAG,EAAE;AAC3B;AACA;AACA;AACA;AACA,SAAS,qBAAqB,CAAC,WAAW,EAAE;AAC5C,IAAI,kBAAkB,GAAG,WAAW;AACpC;AACA;AACA;AACA;AACA,SAAS,qBAAqB,GAAG;AACjC,IAAI,OAAO,kBAAkB;AAC7B;AACA;AACA;AACA;AACA;AACA,MAAM,aAAa,CAAC;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,2BAA2B,CAAC,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE;AACpE,QAAQ,OAAO,EAAE;AACjB,IAAI;AACJ,IAAI,WAAW,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,cAAc,EAAE,qBAAqB,EAAE,WAAW,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE;AAC5I;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,OAAO,GAAG,IAAI;AAC3B;AACA;AACA;AACA,QAAQ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