laif-ds 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +5 -2
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +2 -5
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index6.js +5 -2
- package/dist/components/ui/accordion.js +20 -20
- package/dist/components/ui/alert-dialog.js +41 -41
- package/dist/components/ui/alert.js +10 -10
- package/dist/components/ui/aspect-ratio.js +4 -4
- package/dist/components/ui/async-select.js +112 -112
- package/dist/components/ui/audio-visualizer.js +26 -26
- package/dist/components/ui/avatar.js +17 -17
- package/dist/components/ui/badge.js +9 -10
- package/dist/components/ui/breadcrumb.js +24 -25
- package/dist/components/ui/button.js +17 -17
- package/dist/components/ui/calendar.js +8 -8
- package/dist/components/ui/card.js +15 -15
- package/dist/components/ui/carousel.js +66 -66
- package/dist/components/ui/chart.js +80 -80
- package/dist/components/ui/chat-message.js +104 -104
- package/dist/components/ui/chat.js +109 -109
- package/dist/components/ui/checkbox.js +5 -5
- package/dist/components/ui/collapsible.js +10 -10
- package/dist/components/ui/command.js +52 -52
- package/dist/components/ui/context-menu.js +61 -61
- package/dist/components/ui/copy-button.js +19 -19
- package/dist/components/ui/data-table.js +73 -73
- package/dist/components/ui/date-picker.js +18 -18
- package/dist/components/ui/dialog.js +49 -49
- package/dist/components/ui/drawer.js +43 -43
- package/dist/components/ui/file-preview.js +49 -49
- package/dist/components/ui/form.js +33 -33
- package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
- package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
- package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
- package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
- package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
- package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
- package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
- package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
- package/dist/components/ui/hover-card.js +4 -4
- package/dist/components/ui/icon.js +9 -9
- package/dist/components/ui/input-otp.js +14 -14
- package/dist/components/ui/input-selector.js +38 -38
- package/dist/components/ui/input.js +32 -32
- package/dist/components/ui/interrupt-prompt.js +9 -10
- package/dist/components/ui/label.js +4 -4
- package/dist/components/ui/markdown-renderer.js +60 -63
- package/dist/components/ui/menubar.js +89 -89
- package/dist/components/ui/message-input.js +149 -150
- package/dist/components/ui/message-list.js +15 -15
- package/dist/components/ui/multiple-selector.js +159 -159
- package/dist/components/ui/navigation-menu.js +44 -44
- package/dist/components/ui/pagination.js +39 -39
- package/dist/components/ui/popover.js +13 -13
- package/dist/components/ui/progress.js +14 -14
- package/dist/components/ui/prompt-suggestions.js +10 -10
- package/dist/components/ui/radio-group.js +15 -15
- package/dist/components/ui/resizable.js +13 -13
- package/dist/components/ui/scroll-area.js +25 -25
- package/dist/components/ui/select.js +80 -80
- package/dist/components/ui/separator.js +4 -4
- package/dist/components/ui/sheet.js +48 -48
- package/dist/components/ui/sidebar.js +178 -182
- package/dist/components/ui/skeleton.js +4 -4
- package/dist/components/ui/switch.js +5 -5
- package/dist/components/ui/table.js +14 -14
- package/dist/components/ui/tabs.js +10 -10
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/toaster.js +2 -2
- package/dist/components/ui/toggle-group.js +6 -6
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +19 -19
- package/dist/components/ui/typing-indicator.js +7 -7
- package/dist/components/ui/typo.js +10 -10
- package/dist/dist/components/ui/checkbox.js +6 -6
- package/dist/dist/components/ui/scroll-area.js +30 -30
- package/dist/dist/components/ui/table.js +15 -15
- package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
- package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
- package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
- package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
- package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
- package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/lib/index.js +39 -39
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/package.json +3 -2
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/node_modules/react/jsx-runtime.js +0 -11
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const e = (s) => (t) => typeof t == "string" && t.startsWith(s), a = /* @__PURE__ */ e("--"), r = /* @__PURE__ */ e("var(--"), n = (s) => r(s) ? i.test(s.split("/*")[0].trim()) : !1, i = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
|
|
3
|
-
export {
|
|
4
|
-
a as isCSSVariableName,
|
|
5
|
-
n as isCSSVariableToken
|
|
6
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { lowercaseSVGElements as r } from "../../svg/lowercase-elements.js";
|
|
3
|
-
function s(e) {
|
|
4
|
-
return (
|
|
5
|
-
/**
|
|
6
|
-
* If it's not a string, it's a custom React component. Currently we only support
|
|
7
|
-
* HTML custom React components.
|
|
8
|
-
*/
|
|
9
|
-
typeof e != "string" || /**
|
|
10
|
-
* If it contains a dash, the element is a custom HTML webcomponent.
|
|
11
|
-
*/
|
|
12
|
-
e.includes("-") ? !1 : (
|
|
13
|
-
/**
|
|
14
|
-
* If it's in our list of lowercase SVG tags, it's an SVG component
|
|
15
|
-
*/
|
|
16
|
-
!!(r.indexOf(e) > -1 || /**
|
|
17
|
-
* If it contains a capital letter, it's an SVG component
|
|
18
|
-
*/
|
|
19
|
-
/[A-Z]/u.test(e))
|
|
20
|
-
)
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
s as isSVGComponent
|
|
25
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { number as l } from "../../../value/types/numbers/index.js";
|
|
3
|
-
import { px as p } from "../../../value/types/numbers/units.js";
|
|
4
|
-
import { transformPropOrder as x } from "../../html/utils/keys-transform.js";
|
|
5
|
-
const b = (t) => t === l || t === p, i = (t, r) => parseFloat(t.split(", ")[r]), m = (t, r) => (a, { transform: o }) => {
|
|
6
|
-
if (o === "none" || !o)
|
|
7
|
-
return 0;
|
|
8
|
-
const s = o.match(/^matrix3d\((.+)\)$/u);
|
|
9
|
-
if (s)
|
|
10
|
-
return i(s[1], r);
|
|
11
|
-
{
|
|
12
|
-
const n = o.match(/^matrix\((.+)\)$/u);
|
|
13
|
-
return n ? i(n[1], t) : 0;
|
|
14
|
-
}
|
|
15
|
-
}, c = /* @__PURE__ */ new Set(["x", "y", "z"]), u = x.filter((t) => !c.has(t));
|
|
16
|
-
function d(t) {
|
|
17
|
-
const r = [];
|
|
18
|
-
return u.forEach((a) => {
|
|
19
|
-
const o = t.getValue(a);
|
|
20
|
-
o !== void 0 && (r.push([a, o.get()]), o.set(a.startsWith("scale") ? 1 : 0));
|
|
21
|
-
}), r;
|
|
22
|
-
}
|
|
23
|
-
const e = {
|
|
24
|
-
// Dimensions
|
|
25
|
-
width: ({ x: t }, { paddingLeft: r = "0", paddingRight: a = "0" }) => t.max - t.min - parseFloat(r) - parseFloat(a),
|
|
26
|
-
height: ({ y: t }, { paddingTop: r = "0", paddingBottom: a = "0" }) => t.max - t.min - parseFloat(r) - parseFloat(a),
|
|
27
|
-
top: (t, { top: r }) => parseFloat(r),
|
|
28
|
-
left: (t, { left: r }) => parseFloat(r),
|
|
29
|
-
bottom: ({ y: t }, { top: r }) => parseFloat(r) + (t.max - t.min),
|
|
30
|
-
right: ({ x: t }, { left: r }) => parseFloat(r) + (t.max - t.min),
|
|
31
|
-
// Transform
|
|
32
|
-
x: m(4, 13),
|
|
33
|
-
y: m(5, 14)
|
|
34
|
-
};
|
|
35
|
-
e.translateX = e.x;
|
|
36
|
-
e.translateY = e.y;
|
|
37
|
-
export {
|
|
38
|
-
b as isNumOrPxType,
|
|
39
|
-
e as positionalValues,
|
|
40
|
-
d as removeNonTranslationalTransform
|
|
41
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { complex as o } from "../../../value/types/complex/index.js";
|
|
3
|
-
import { filter as i } from "../../../value/types/complex/filter.js";
|
|
4
|
-
import { getDefaultValueType as l } from "./defaults.js";
|
|
5
|
-
function f(t, n) {
|
|
6
|
-
let e = l(t);
|
|
7
|
-
return e !== i && (e = o), e.getAnimatableNone ? e.getAnimatableNone(n) : void 0;
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
f as getAnimatableNone
|
|
11
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { color as o } from "../../../value/types/color/index.js";
|
|
3
|
-
import { filter as r } from "../../../value/types/complex/filter.js";
|
|
4
|
-
import { numberValueTypes as l } from "./number.js";
|
|
5
|
-
const t = {
|
|
6
|
-
...l,
|
|
7
|
-
// Color props
|
|
8
|
-
color: o,
|
|
9
|
-
backgroundColor: o,
|
|
10
|
-
outlineColor: o,
|
|
11
|
-
fill: o,
|
|
12
|
-
stroke: o,
|
|
13
|
-
// Border props
|
|
14
|
-
borderColor: o,
|
|
15
|
-
borderTopColor: o,
|
|
16
|
-
borderRightColor: o,
|
|
17
|
-
borderBottomColor: o,
|
|
18
|
-
borderLeftColor: o,
|
|
19
|
-
filter: r,
|
|
20
|
-
WebkitFilter: r
|
|
21
|
-
}, f = (e) => t[e];
|
|
22
|
-
export {
|
|
23
|
-
t as defaultValueTypes,
|
|
24
|
-
f as getDefaultValueType
|
|
25
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { number as o } from "../../../value/types/numbers/index.js";
|
|
3
|
-
import { px as r, percent as t, degrees as i, vw as m, vh as n } from "../../../value/types/numbers/units.js";
|
|
4
|
-
import { testValueType as p } from "./test.js";
|
|
5
|
-
import { auto as s } from "./type-auto.js";
|
|
6
|
-
const f = [o, r, t, i, m, n, s], l = (e) => f.find(p(e));
|
|
7
|
-
export {
|
|
8
|
-
f as dimensionValueTypes,
|
|
9
|
-
l as findDimensionValueType
|
|
10
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { color as e } from "../../../value/types/color/index.js";
|
|
3
|
-
import { complex as m } from "../../../value/types/complex/index.js";
|
|
4
|
-
import { dimensionValueTypes as p } from "./dimensions.js";
|
|
5
|
-
import { testValueType as r } from "./test.js";
|
|
6
|
-
const t = [...p, e, m], f = (o) => t.find(r(o));
|
|
7
|
-
export {
|
|
8
|
-
f as findValueType
|
|
9
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { px as t } from "../../../value/types/numbers/units.js";
|
|
3
|
-
const i = {
|
|
4
|
-
// Border props
|
|
5
|
-
borderWidth: t,
|
|
6
|
-
borderTopWidth: t,
|
|
7
|
-
borderRightWidth: t,
|
|
8
|
-
borderBottomWidth: t,
|
|
9
|
-
borderLeftWidth: t,
|
|
10
|
-
borderRadius: t,
|
|
11
|
-
radius: t,
|
|
12
|
-
borderTopLeftRadius: t,
|
|
13
|
-
borderTopRightRadius: t,
|
|
14
|
-
borderBottomRightRadius: t,
|
|
15
|
-
borderBottomLeftRadius: t,
|
|
16
|
-
// Positioning props
|
|
17
|
-
width: t,
|
|
18
|
-
maxWidth: t,
|
|
19
|
-
height: t,
|
|
20
|
-
maxHeight: t,
|
|
21
|
-
top: t,
|
|
22
|
-
right: t,
|
|
23
|
-
bottom: t,
|
|
24
|
-
left: t,
|
|
25
|
-
// Spacing props
|
|
26
|
-
padding: t,
|
|
27
|
-
paddingTop: t,
|
|
28
|
-
paddingRight: t,
|
|
29
|
-
paddingBottom: t,
|
|
30
|
-
paddingLeft: t,
|
|
31
|
-
margin: t,
|
|
32
|
-
marginTop: t,
|
|
33
|
-
marginRight: t,
|
|
34
|
-
marginBottom: t,
|
|
35
|
-
marginLeft: t,
|
|
36
|
-
// Misc
|
|
37
|
-
backgroundPositionX: t,
|
|
38
|
-
backgroundPositionY: t
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
i as browserNumberValueTypes
|
|
42
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { alpha as r } from "../../../value/types/numbers/index.js";
|
|
3
|
-
import { px as o } from "../../../value/types/numbers/units.js";
|
|
4
|
-
import { browserNumberValueTypes as m } from "./number-browser.js";
|
|
5
|
-
import { transformValueTypes as t } from "./transform.js";
|
|
6
|
-
import { int as e } from "./type-int.js";
|
|
7
|
-
const l = {
|
|
8
|
-
...m,
|
|
9
|
-
...t,
|
|
10
|
-
zIndex: e,
|
|
11
|
-
size: o,
|
|
12
|
-
// SVG
|
|
13
|
-
fillOpacity: r,
|
|
14
|
-
strokeOpacity: r,
|
|
15
|
-
numOctaves: e
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
l as numberValueTypes
|
|
19
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { alpha as s, scale as r } from "../../../value/types/numbers/index.js";
|
|
3
|
-
import { px as e, progressPercentage as a, degrees as t } from "../../../value/types/numbers/units.js";
|
|
4
|
-
const n = {
|
|
5
|
-
rotate: t,
|
|
6
|
-
rotateX: t,
|
|
7
|
-
rotateY: t,
|
|
8
|
-
rotateZ: t,
|
|
9
|
-
scale: r,
|
|
10
|
-
scaleX: r,
|
|
11
|
-
scaleY: r,
|
|
12
|
-
scaleZ: r,
|
|
13
|
-
skew: t,
|
|
14
|
-
skewX: t,
|
|
15
|
-
skewY: t,
|
|
16
|
-
distance: e,
|
|
17
|
-
translateX: e,
|
|
18
|
-
translateY: e,
|
|
19
|
-
translateZ: e,
|
|
20
|
-
x: e,
|
|
21
|
-
y: e,
|
|
22
|
-
z: e,
|
|
23
|
-
perspective: e,
|
|
24
|
-
transformPerspective: e,
|
|
25
|
-
opacity: s,
|
|
26
|
-
originX: a,
|
|
27
|
-
originY: a,
|
|
28
|
-
originZ: e
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
n as transformValueTypes
|
|
32
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { measureViewportBox as s } from "../../projection/utils/measure.js";
|
|
3
|
-
import { DOMVisualElement as n } from "../dom/DOMVisualElement.js";
|
|
4
|
-
import { isCSSVariableName as a } from "../dom/utils/is-css-variable.js";
|
|
5
|
-
import { getDefaultValueType as u } from "../dom/value-types/defaults.js";
|
|
6
|
-
import { buildHTMLStyles as i } from "./utils/build-styles.js";
|
|
7
|
-
import { transformProps as p } from "./utils/keys-transform.js";
|
|
8
|
-
import { renderHTML as l } from "./utils/render.js";
|
|
9
|
-
import { scrapeMotionValuesFromProps as f } from "./utils/scrape-motion-values.js";
|
|
10
|
-
function c(m) {
|
|
11
|
-
return window.getComputedStyle(m);
|
|
12
|
-
}
|
|
13
|
-
class w extends n {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments), this.type = "html", this.renderInstance = l;
|
|
16
|
-
}
|
|
17
|
-
readValueFromInstance(t, e) {
|
|
18
|
-
if (p.has(e)) {
|
|
19
|
-
const r = u(e);
|
|
20
|
-
return r && r.default || 0;
|
|
21
|
-
} else {
|
|
22
|
-
const r = c(t), o = (a(e) ? r.getPropertyValue(e) : r[e]) || 0;
|
|
23
|
-
return typeof o == "string" ? o.trim() : o;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
measureInstanceViewportBox(t, { transformPagePoint: e }) {
|
|
27
|
-
return s(t, e);
|
|
28
|
-
}
|
|
29
|
-
build(t, e, r) {
|
|
30
|
-
i(t, e, r.transformTemplate);
|
|
31
|
-
}
|
|
32
|
-
scrapeMotionValuesFromProps(t, e, r) {
|
|
33
|
-
return f(t, e, r);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
w as HTMLVisualElement,
|
|
38
|
-
c as getComputedStyle
|
|
39
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { makeUseVisualState as e } from "../../motion/utils/use-visual-state.js";
|
|
3
|
-
import { scrapeMotionValuesFromProps as t } from "./utils/scrape-motion-values.js";
|
|
4
|
-
import { createHtmlRenderState as o } from "./utils/create-render-state.js";
|
|
5
|
-
const i = {
|
|
6
|
-
useVisualState: e({
|
|
7
|
-
scrapeMotionValuesFromProps: t,
|
|
8
|
-
createRenderState: o
|
|
9
|
-
})
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as htmlMotionConfig
|
|
13
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { useMemo as i } from "react";
|
|
3
|
-
import { isForcedMotionValue as a } from "../../motion/utils/is-forced-motion-value.js";
|
|
4
|
-
import { isMotionValue as l } from "../../value/utils/is-motion-value.js";
|
|
5
|
-
import { buildHTMLStyles as r } from "./utils/build-styles.js";
|
|
6
|
-
import { createHtmlRenderState as s } from "./utils/create-render-state.js";
|
|
7
|
-
function u(t, o, n) {
|
|
8
|
-
for (const e in o)
|
|
9
|
-
!l(o[e]) && !a(e, n) && (t[e] = o[e]);
|
|
10
|
-
}
|
|
11
|
-
function c({ transformTemplate: t }, o) {
|
|
12
|
-
return i(() => {
|
|
13
|
-
const n = s();
|
|
14
|
-
return r(n, o, t), Object.assign({}, n.vars, n.style);
|
|
15
|
-
}, [o]);
|
|
16
|
-
}
|
|
17
|
-
function f(t, o) {
|
|
18
|
-
const n = t.style || {}, e = {};
|
|
19
|
-
return u(e, n, t), Object.assign(e, c(t, o)), e;
|
|
20
|
-
}
|
|
21
|
-
function M(t, o) {
|
|
22
|
-
const n = {}, e = f(t, o);
|
|
23
|
-
return t.drag && t.dragListener !== !1 && (n.draggable = !1, e.userSelect = e.WebkitUserSelect = e.WebkitTouchCallout = "none", e.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (n.tabIndex = 0), n.style = e, n;
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
u as copyRawValuesOnly,
|
|
27
|
-
M as useHTMLProps
|
|
28
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isCSSVariableName as u } from "../../dom/utils/is-css-variable.js";
|
|
3
|
-
import { getValueAsType as c } from "../../dom/value-types/get-as-type.js";
|
|
4
|
-
import { numberValueTypes as p } from "../../dom/value-types/number.js";
|
|
5
|
-
import { buildTransform as g } from "./build-transform.js";
|
|
6
|
-
import { transformProps as y } from "./keys-transform.js";
|
|
7
|
-
function S(f, o, e) {
|
|
8
|
-
const { style: i, vars: l, transformOrigin: t } = f;
|
|
9
|
-
let m = !1, a = !1;
|
|
10
|
-
for (const r in o) {
|
|
11
|
-
const n = o[r];
|
|
12
|
-
if (y.has(r)) {
|
|
13
|
-
m = !0;
|
|
14
|
-
continue;
|
|
15
|
-
} else if (u(r)) {
|
|
16
|
-
l[r] = n;
|
|
17
|
-
continue;
|
|
18
|
-
} else {
|
|
19
|
-
const s = c(n, p[r]);
|
|
20
|
-
r.startsWith("origin") ? (a = !0, t[r] = s) : i[r] = s;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
if (o.transform || (m || e ? i.transform = g(o, f.transform, e) : i.transform && (i.transform = "none")), a) {
|
|
24
|
-
const { originX: r = "50%", originY: n = "50%", originZ: s = 0 } = t;
|
|
25
|
-
i.transformOrigin = `${r} ${n} ${s}`;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
S as buildHTMLStyles
|
|
30
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { getValueAsType as m } from "../../dom/value-types/get-as-type.js";
|
|
3
|
-
import { numberValueTypes as p } from "../../dom/value-types/number.js";
|
|
4
|
-
import { transformPropOrder as f } from "./keys-transform.js";
|
|
5
|
-
const y = {
|
|
6
|
-
x: "translateX",
|
|
7
|
-
y: "translateY",
|
|
8
|
-
z: "translateZ",
|
|
9
|
-
transformPerspective: "perspective"
|
|
10
|
-
}, v = f.length;
|
|
11
|
-
function A(u, i, s) {
|
|
12
|
-
let e = "", o = !0;
|
|
13
|
-
for (let a = 0; a < v; a++) {
|
|
14
|
-
const t = f[a], r = u[t];
|
|
15
|
-
if (r === void 0)
|
|
16
|
-
continue;
|
|
17
|
-
let n = !0;
|
|
18
|
-
if (typeof r == "number" ? n = r === (t.startsWith("scale") ? 1 : 0) : n = parseFloat(r) === 0, !n || s) {
|
|
19
|
-
const l = m(r, p[t]);
|
|
20
|
-
if (!n) {
|
|
21
|
-
o = !1;
|
|
22
|
-
const c = y[t] || t;
|
|
23
|
-
e += `${c}(${l}) `;
|
|
24
|
-
}
|
|
25
|
-
s && (i[t] = l);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return e = e.trim(), s ? e = s(i, o ? "" : e) : o && (e = "none"), e;
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
A as buildTransform
|
|
32
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const t = [
|
|
3
|
-
"transformPerspective",
|
|
4
|
-
"x",
|
|
5
|
-
"y",
|
|
6
|
-
"z",
|
|
7
|
-
"translateX",
|
|
8
|
-
"translateY",
|
|
9
|
-
"translateZ",
|
|
10
|
-
"scale",
|
|
11
|
-
"scaleX",
|
|
12
|
-
"scaleY",
|
|
13
|
-
"rotate",
|
|
14
|
-
"rotateX",
|
|
15
|
-
"rotateY",
|
|
16
|
-
"rotateZ",
|
|
17
|
-
"skew",
|
|
18
|
-
"skewX",
|
|
19
|
-
"skewY"
|
|
20
|
-
], e = new Set(t);
|
|
21
|
-
export {
|
|
22
|
-
t as transformPropOrder,
|
|
23
|
-
e as transformProps
|
|
24
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { analyseComplexValue as l } from "../../../value/types/complex/index.js";
|
|
3
|
-
import { getAnimatableNone as m } from "../../dom/value-types/animatable-none.js";
|
|
4
|
-
const f = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
|
5
|
-
function g(t, o, i) {
|
|
6
|
-
let n = 0, a;
|
|
7
|
-
for (; n < t.length && !a; ) {
|
|
8
|
-
const e = t[n];
|
|
9
|
-
typeof e == "string" && !f.has(e) && l(e).values.length && (a = t[n]), n++;
|
|
10
|
-
}
|
|
11
|
-
if (a && i)
|
|
12
|
-
for (const e of o)
|
|
13
|
-
t[e] = m(i, a);
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
g as makeNoneKeyframesAnimatable
|
|
17
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isForcedMotionValue as u } from "../../../motion/utils/is-forced-motion-value.js";
|
|
3
|
-
import { isMotionValue as s } from "../../../value/utils/is-motion-value.js";
|
|
4
|
-
function a(n, l, e) {
|
|
5
|
-
var i;
|
|
6
|
-
const { style: t } = n, r = {};
|
|
7
|
-
for (const o in t)
|
|
8
|
-
(s(t[o]) || l.style && s(l.style[o]) || u(o, n) || ((i = e == null ? void 0 : e.getValue(o)) === null || i === void 0 ? void 0 : i.liveStyle) !== void 0) && (r[o] = t[o]);
|
|
9
|
-
return r;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
a as scrapeMotionValuesFromProps
|
|
13
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createBox as s } from "../../projection/geometry/models.js";
|
|
3
|
-
import { DOMVisualElement as a } from "../dom/DOMVisualElement.js";
|
|
4
|
-
import { camelToDash as m } from "../dom/utils/camel-to-dash.js";
|
|
5
|
-
import { getDefaultValueType as i } from "../dom/value-types/defaults.js";
|
|
6
|
-
import { transformProps as u } from "../html/utils/keys-transform.js";
|
|
7
|
-
import { buildSVGAttrs as p } from "./utils/build-attrs.js";
|
|
8
|
-
import { camelCaseAttributes as n } from "./utils/camel-case-attrs.js";
|
|
9
|
-
import { isSVGTag as l } from "./utils/is-svg-tag.js";
|
|
10
|
-
import { renderSVG as f } from "./utils/render.js";
|
|
11
|
-
import { scrapeMotionValuesFromProps as V } from "./utils/scrape-motion-values.js";
|
|
12
|
-
class A extends a {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = s;
|
|
15
|
-
}
|
|
16
|
-
getBaseTargetFromProps(t, r) {
|
|
17
|
-
return t[r];
|
|
18
|
-
}
|
|
19
|
-
readValueFromInstance(t, r) {
|
|
20
|
-
if (u.has(r)) {
|
|
21
|
-
const e = i(r);
|
|
22
|
-
return e && e.default || 0;
|
|
23
|
-
}
|
|
24
|
-
return r = n.has(r) ? r : m(r), t.getAttribute(r);
|
|
25
|
-
}
|
|
26
|
-
scrapeMotionValuesFromProps(t, r, e) {
|
|
27
|
-
return V(t, r, e);
|
|
28
|
-
}
|
|
29
|
-
build(t, r, e) {
|
|
30
|
-
p(t, r, this.isSVGTag, e.transformTemplate);
|
|
31
|
-
}
|
|
32
|
-
renderInstance(t, r, e, o) {
|
|
33
|
-
f(t, r, e, o);
|
|
34
|
-
}
|
|
35
|
-
mount(t) {
|
|
36
|
-
this.isSVGTag = l(t.tagName), super.mount(t);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
A as SVGVisualElement
|
|
41
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { frame as a } from "../../frameloop/frame.js";
|
|
3
|
-
import { makeUseVisualState as g } from "../../motion/utils/use-visual-state.js";
|
|
4
|
-
import { transformProps as d } from "../html/utils/keys-transform.js";
|
|
5
|
-
import { buildSVGAttrs as c } from "./utils/build-attrs.js";
|
|
6
|
-
import { createSvgRenderState as l } from "./utils/create-render-state.js";
|
|
7
|
-
import { isSVGTag as p } from "./utils/is-svg-tag.js";
|
|
8
|
-
import { renderSVG as h } from "./utils/render.js";
|
|
9
|
-
import { scrapeMotionValuesFromProps as y } from "./utils/scrape-motion-values.js";
|
|
10
|
-
function V(o, t) {
|
|
11
|
-
try {
|
|
12
|
-
t.dimensions = typeof o.getBBox == "function" ? o.getBBox() : o.getBoundingClientRect();
|
|
13
|
-
} catch {
|
|
14
|
-
t.dimensions = {
|
|
15
|
-
x: 0,
|
|
16
|
-
y: 0,
|
|
17
|
-
width: 0,
|
|
18
|
-
height: 0
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
const u = ["x", "y", "width", "height", "cx", "cy", "r"], b = {
|
|
23
|
-
useVisualState: g({
|
|
24
|
-
scrapeMotionValuesFromProps: y,
|
|
25
|
-
createRenderState: l,
|
|
26
|
-
onUpdate: ({ props: o, prevProps: t, current: e, renderState: i, latestValues: n }) => {
|
|
27
|
-
if (!e)
|
|
28
|
-
return;
|
|
29
|
-
let m = !!o.drag;
|
|
30
|
-
if (!m) {
|
|
31
|
-
for (const r in n)
|
|
32
|
-
if (d.has(r)) {
|
|
33
|
-
m = !0;
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
if (!m)
|
|
38
|
-
return;
|
|
39
|
-
let f = !t;
|
|
40
|
-
if (t)
|
|
41
|
-
for (let r = 0; r < u.length; r++) {
|
|
42
|
-
const s = u[r];
|
|
43
|
-
o[s] !== t[s] && (f = !0);
|
|
44
|
-
}
|
|
45
|
-
f && a.read(() => {
|
|
46
|
-
V(e, i), a.render(() => {
|
|
47
|
-
c(i, n, p(e.tagName), o.transformTemplate), h(e, i);
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
};
|
|
53
|
-
export {
|
|
54
|
-
b as svgMotionConfig
|
|
55
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const e = [
|
|
3
|
-
"animate",
|
|
4
|
-
"circle",
|
|
5
|
-
"defs",
|
|
6
|
-
"desc",
|
|
7
|
-
"ellipse",
|
|
8
|
-
"g",
|
|
9
|
-
"image",
|
|
10
|
-
"line",
|
|
11
|
-
"filter",
|
|
12
|
-
"marker",
|
|
13
|
-
"mask",
|
|
14
|
-
"metadata",
|
|
15
|
-
"path",
|
|
16
|
-
"pattern",
|
|
17
|
-
"polygon",
|
|
18
|
-
"polyline",
|
|
19
|
-
"rect",
|
|
20
|
-
"stop",
|
|
21
|
-
"switch",
|
|
22
|
-
"symbol",
|
|
23
|
-
"svg",
|
|
24
|
-
"text",
|
|
25
|
-
"tspan",
|
|
26
|
-
"use",
|
|
27
|
-
"view"
|
|
28
|
-
];
|
|
29
|
-
export {
|
|
30
|
-
e as lowercaseSVGElements
|
|
31
|
-
};
|