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,50 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { color as u } from "../color/index.js";
|
|
3
|
-
import { colorRegex as g } from "../utils/color-regex.js";
|
|
4
|
-
import { floatRegex as N } from "../utils/float-regex.js";
|
|
5
|
-
import { sanitize as b } from "../utils/sanitize.js";
|
|
6
|
-
function x(t) {
|
|
7
|
-
var o, e;
|
|
8
|
-
return isNaN(t) && typeof t == "string" && (((o = t.match(N)) === null || o === void 0 ? void 0 : o.length) || 0) + (((e = t.match(g)) === null || e === void 0 ? void 0 : e.length) || 0) > 0;
|
|
9
|
-
}
|
|
10
|
-
const p = "number", m = "color", T = "var", O = "var(", a = "${}", _ = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
11
|
-
function f(t) {
|
|
12
|
-
const o = t.toString(), e = [], i = {
|
|
13
|
-
color: [],
|
|
14
|
-
number: [],
|
|
15
|
-
var: []
|
|
16
|
-
}, n = [];
|
|
17
|
-
let s = 0;
|
|
18
|
-
const l = o.replace(_, (c) => (u.test(c) ? (i.color.push(s), n.push(m), e.push(u.parse(c))) : c.startsWith(O) ? (i.var.push(s), n.push(T), e.push(c)) : (i.number.push(s), n.push(p), e.push(parseFloat(c))), ++s, a)).split(a);
|
|
19
|
-
return { values: e, split: l, indexes: i, types: n };
|
|
20
|
-
}
|
|
21
|
-
function h(t) {
|
|
22
|
-
return f(t).values;
|
|
23
|
-
}
|
|
24
|
-
function d(t) {
|
|
25
|
-
const { split: o, types: e } = f(t), i = o.length;
|
|
26
|
-
return (n) => {
|
|
27
|
-
let s = "";
|
|
28
|
-
for (let r = 0; r < i; r++)
|
|
29
|
-
if (s += o[r], n[r] !== void 0) {
|
|
30
|
-
const l = e[r];
|
|
31
|
-
l === p ? s += b(n[r]) : l === m ? s += u.transform(n[r]) : s += n[r];
|
|
32
|
-
}
|
|
33
|
-
return s;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
const R = (t) => typeof t == "number" ? 0 : t;
|
|
37
|
-
function y(t) {
|
|
38
|
-
const o = h(t);
|
|
39
|
-
return d(t)(o.map(R));
|
|
40
|
-
}
|
|
41
|
-
const A = {
|
|
42
|
-
test: x,
|
|
43
|
-
parse: h,
|
|
44
|
-
createTransformer: d,
|
|
45
|
-
getAnimatableNone: y
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
f as analyseComplexValue,
|
|
49
|
-
A as complex
|
|
50
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { clamp as r } from "../../../utils/clamp.js";
|
|
3
|
-
const e = {
|
|
4
|
-
test: (t) => typeof t == "number",
|
|
5
|
-
parse: parseFloat,
|
|
6
|
-
transform: (t) => t
|
|
7
|
-
}, o = {
|
|
8
|
-
...e,
|
|
9
|
-
transform: (t) => r(0, 1, t)
|
|
10
|
-
}, s = {
|
|
11
|
-
...e,
|
|
12
|
-
default: 1
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
o as alpha,
|
|
16
|
-
e as number,
|
|
17
|
-
s as scale
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const s = (e) => ({
|
|
3
|
-
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
4
|
-
parse: parseFloat,
|
|
5
|
-
transform: (t) => `${t}${e}`
|
|
6
|
-
}), n = /* @__PURE__ */ s("deg"), r = /* @__PURE__ */ s("%"), o = /* @__PURE__ */ s("px"), p = /* @__PURE__ */ s("vh"), c = /* @__PURE__ */ s("vw"), a = {
|
|
7
|
-
...r,
|
|
8
|
-
parse: (e) => r.parse(e) / 100,
|
|
9
|
-
transform: (e) => r.transform(e * 100)
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as degrees,
|
|
13
|
-
r as percent,
|
|
14
|
-
a as progressPercentage,
|
|
15
|
-
o as px,
|
|
16
|
-
p as vh,
|
|
17
|
-
c as vw
|
|
18
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isCustomValue as e } from "../../utils/resolve-value.js";
|
|
3
|
-
import { isMotionValue as r } from "./is-motion-value.js";
|
|
4
|
-
function u(o) {
|
|
5
|
-
const t = r(o) ? o.get() : o;
|
|
6
|
-
return e(t) ? t.toValue() : t;
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
u as resolveMotionValue
|
|
10
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { supportsScrollTimeline as n } from "../../utils/supports/scroll-timeline.js";
|
|
3
|
-
class o {
|
|
4
|
-
constructor(t) {
|
|
5
|
-
this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
|
|
6
|
-
}
|
|
7
|
-
get finished() {
|
|
8
|
-
return Promise.all(this.animations.map((t) => "finished" in t ? t.finished : t));
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* TODO: Filter out cancelled or stopped animations before returning
|
|
12
|
-
*/
|
|
13
|
-
getAll(t) {
|
|
14
|
-
return this.animations[0][t];
|
|
15
|
-
}
|
|
16
|
-
setAll(t, e) {
|
|
17
|
-
for (let s = 0; s < this.animations.length; s++)
|
|
18
|
-
this.animations[s][t] = e;
|
|
19
|
-
}
|
|
20
|
-
attachTimeline(t, e) {
|
|
21
|
-
const s = this.animations.map((i) => {
|
|
22
|
-
if (n() && i.attachTimeline)
|
|
23
|
-
return i.attachTimeline(t);
|
|
24
|
-
if (typeof e == "function")
|
|
25
|
-
return e(i);
|
|
26
|
-
});
|
|
27
|
-
return () => {
|
|
28
|
-
s.forEach((i, l) => {
|
|
29
|
-
i && i(), this.animations[l].stop();
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
get time() {
|
|
34
|
-
return this.getAll("time");
|
|
35
|
-
}
|
|
36
|
-
set time(t) {
|
|
37
|
-
this.setAll("time", t);
|
|
38
|
-
}
|
|
39
|
-
get speed() {
|
|
40
|
-
return this.getAll("speed");
|
|
41
|
-
}
|
|
42
|
-
set speed(t) {
|
|
43
|
-
this.setAll("speed", t);
|
|
44
|
-
}
|
|
45
|
-
get startTime() {
|
|
46
|
-
return this.getAll("startTime");
|
|
47
|
-
}
|
|
48
|
-
get duration() {
|
|
49
|
-
let t = 0;
|
|
50
|
-
for (let e = 0; e < this.animations.length; e++)
|
|
51
|
-
t = Math.max(t, this.animations[e].duration);
|
|
52
|
-
return t;
|
|
53
|
-
}
|
|
54
|
-
runAll(t) {
|
|
55
|
-
this.animations.forEach((e) => e[t]());
|
|
56
|
-
}
|
|
57
|
-
flatten() {
|
|
58
|
-
this.runAll("flatten");
|
|
59
|
-
}
|
|
60
|
-
play() {
|
|
61
|
-
this.runAll("play");
|
|
62
|
-
}
|
|
63
|
-
pause() {
|
|
64
|
-
this.runAll("pause");
|
|
65
|
-
}
|
|
66
|
-
cancel() {
|
|
67
|
-
this.runAll("cancel");
|
|
68
|
-
}
|
|
69
|
-
complete() {
|
|
70
|
-
this.runAll("complete");
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
o as BaseGroupPlaybackControls
|
|
75
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const a = 2e4;
|
|
3
|
-
function o(e) {
|
|
4
|
-
let t = 0;
|
|
5
|
-
const r = 50;
|
|
6
|
-
let n = e.next(t);
|
|
7
|
-
for (; !n.done && t < 2e4; )
|
|
8
|
-
t += r, n = e.next(t);
|
|
9
|
-
return t >= 2e4 ? 1 / 0 : t;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
o as calcGeneratorDuration,
|
|
13
|
-
a as maxGeneratorDuration
|
|
14
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isBezierDefinition as u } from "../../../utils/is-bezier-definition.js";
|
|
3
|
-
import { supportsLinearEasing as n } from "../../../utils/supports/linear-easing.js";
|
|
4
|
-
import { generateLinearEasing as s } from "./linear.js";
|
|
5
|
-
function c(e) {
|
|
6
|
-
return !!(typeof e == "function" && n() || !e || typeof e == "string" && (e in o || n()) || u(e) || Array.isArray(e) && e.every(c));
|
|
7
|
-
}
|
|
8
|
-
const r = ([e, t, i, a]) => `cubic-bezier(${e}, ${t}, ${i}, ${a})`, o = {
|
|
9
|
-
linear: "linear",
|
|
10
|
-
ease: "ease",
|
|
11
|
-
easeIn: "ease-in",
|
|
12
|
-
easeOut: "ease-out",
|
|
13
|
-
easeInOut: "ease-in-out",
|
|
14
|
-
circIn: /* @__PURE__ */ r([0, 0.65, 0.55, 1]),
|
|
15
|
-
circOut: /* @__PURE__ */ r([0.55, 0, 1, 0.45]),
|
|
16
|
-
backIn: /* @__PURE__ */ r([0.31, 0.01, 0.66, -0.59]),
|
|
17
|
-
backOut: /* @__PURE__ */ r([0.33, 1.53, 0.69, 0.99])
|
|
18
|
-
};
|
|
19
|
-
function p(e, t) {
|
|
20
|
-
if (e)
|
|
21
|
-
return typeof e == "function" && n() ? s(e, t) : u(e) ? r(e) : Array.isArray(e) ? e.map((i) => p(i, t) || o.easeOut) : o[e];
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
r as cubicBezierAsString,
|
|
25
|
-
c as isWaapiSupportedEasing,
|
|
26
|
-
p as mapEasingToNativeEasing,
|
|
27
|
-
o as supportedWaapiEasing
|
|
28
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../../../../../motion-utils/dist/es/errors.js";
|
|
3
|
-
import { progress as s } from "../../../../../../motion-utils/dist/es/progress.js";
|
|
4
|
-
const l = (e, o, i = 10) => {
|
|
5
|
-
let t = "";
|
|
6
|
-
const r = Math.max(Math.round(o / i), 2);
|
|
7
|
-
for (let n = 0; n < r; n++)
|
|
8
|
-
t += e(s(0, r - 1, n)) + ", ";
|
|
9
|
-
return `linear(${t.substring(0, t.length - 2)})`;
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
l as generateLinearEasing
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isDragging as e } from "./is-active.js";
|
|
3
|
-
function l(r) {
|
|
4
|
-
return r === "x" || r === "y" ? e[r] ? null : (e[r] = !0, () => {
|
|
5
|
-
e[r] = !1;
|
|
6
|
-
}) : e.x || e.y ? null : (e.x = e.y = !0, () => {
|
|
7
|
-
e.x = e.y = !1;
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
l as setDragLock
|
|
12
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isDragActive as l } from "./drag/state/is-active.js";
|
|
3
|
-
import { setupGesture as m } from "./utils/setup.js";
|
|
4
|
-
function c(n) {
|
|
5
|
-
return (e) => {
|
|
6
|
-
e.pointerType === "touch" || l() || n(e);
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
function L(n, e, p = {}) {
|
|
10
|
-
const [u, o, f] = m(n, p), v = c((t) => {
|
|
11
|
-
const { target: r } = t, i = e(t);
|
|
12
|
-
if (typeof i != "function" || !r)
|
|
13
|
-
return;
|
|
14
|
-
const s = c((a) => {
|
|
15
|
-
i(a), r.removeEventListener("pointerleave", s);
|
|
16
|
-
});
|
|
17
|
-
r.addEventListener("pointerleave", s, o);
|
|
18
|
-
});
|
|
19
|
-
return u.forEach((t) => {
|
|
20
|
-
t.addEventListener("pointerenter", v, o);
|
|
21
|
-
}), f;
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
L as hover
|
|
25
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isDragActive as b } from "../drag/state/is-active.js";
|
|
3
|
-
import { isNodeOrChild as g } from "../utils/is-node-or-child.js";
|
|
4
|
-
import { isPrimaryPointer as v } from "../utils/is-primary-pointer.js";
|
|
5
|
-
import { setupGesture as E } from "../utils/setup.js";
|
|
6
|
-
import { isElementKeyboardAccessible as L } from "./utils/is-keyboard-accessible.js";
|
|
7
|
-
import { enableKeyboardPress as h } from "./utils/keyboard.js";
|
|
8
|
-
import { isPressing as i } from "./utils/state.js";
|
|
9
|
-
function p(s) {
|
|
10
|
-
return v(s) && !b();
|
|
11
|
-
}
|
|
12
|
-
function O(s, u, a = {}) {
|
|
13
|
-
const [l, n, m] = E(s, a), w = (e) => {
|
|
14
|
-
const t = e.currentTarget;
|
|
15
|
-
if (!p(e) || i.has(t))
|
|
16
|
-
return;
|
|
17
|
-
i.add(t);
|
|
18
|
-
const o = u(e), c = (r, P) => {
|
|
19
|
-
window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), !(!p(r) || !i.has(t)) && (i.delete(t), typeof o == "function" && o(r, { success: P }));
|
|
20
|
-
}, d = (r) => {
|
|
21
|
-
c(r, a.useGlobalTarget || g(t, r.target));
|
|
22
|
-
}, f = (r) => {
|
|
23
|
-
c(r, !1);
|
|
24
|
-
};
|
|
25
|
-
window.addEventListener("pointerup", d, n), window.addEventListener("pointercancel", f, n);
|
|
26
|
-
};
|
|
27
|
-
return l.forEach((e) => {
|
|
28
|
-
!L(e) && e.getAttribute("tabindex") === null && (e.tabIndex = 0), (a.useGlobalTarget ? window : e).addEventListener("pointerdown", w, n), e.addEventListener("focus", (o) => h(o, n), n);
|
|
29
|
-
}), m;
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
O as press
|
|
33
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { isPressing as o } from "./state.js";
|
|
3
|
-
function s(r) {
|
|
4
|
-
return (n) => {
|
|
5
|
-
n.key === "Enter" && r(n);
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
function t(r, n) {
|
|
9
|
-
r.dispatchEvent(new PointerEvent("pointer" + n, { isPrimary: !0, bubbles: !0 }));
|
|
10
|
-
}
|
|
11
|
-
const c = (r, n) => {
|
|
12
|
-
const e = r.currentTarget;
|
|
13
|
-
if (!e)
|
|
14
|
-
return;
|
|
15
|
-
const i = s(() => {
|
|
16
|
-
if (o.has(e))
|
|
17
|
-
return;
|
|
18
|
-
t(e, "down");
|
|
19
|
-
const d = s(() => {
|
|
20
|
-
t(e, "up");
|
|
21
|
-
}), u = () => t(e, "cancel");
|
|
22
|
-
e.addEventListener("keyup", d, n), e.addEventListener("blur", u, n);
|
|
23
|
-
});
|
|
24
|
-
e.addEventListener("keydown", i, n), e.addEventListener("blur", () => e.removeEventListener("keydown", i), n);
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
c as enableKeyboardPress
|
|
28
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { resolveElements as s } from "../../utils/resolve-elements.js";
|
|
3
|
-
function i(t, n) {
|
|
4
|
-
const o = s(t), e = new AbortController(), r = {
|
|
5
|
-
passive: !0,
|
|
6
|
-
...n,
|
|
7
|
-
signal: e.signal
|
|
8
|
-
};
|
|
9
|
-
return [o, r, () => e.abort()];
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
i as setupGesture
|
|
13
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
function i(o, t, e) {
|
|
3
|
-
var r;
|
|
4
|
-
if (o instanceof Element)
|
|
5
|
-
return [o];
|
|
6
|
-
if (typeof o == "string") {
|
|
7
|
-
let s = document;
|
|
8
|
-
const n = (r = void 0) !== null && r !== void 0 ? r : s.querySelectorAll(o);
|
|
9
|
-
return n ? Array.from(n) : [];
|
|
10
|
-
}
|
|
11
|
-
return Array.from(o);
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
i as resolveElements
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { memoSupports as e } from "./memo.js";
|
|
3
|
-
const n = /* @__PURE__ */ e(() => {
|
|
4
|
-
try {
|
|
5
|
-
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
6
|
-
} catch {
|
|
7
|
-
return !1;
|
|
8
|
-
}
|
|
9
|
-
return !0;
|
|
10
|
-
}, "linearEasing");
|
|
11
|
-
export {
|
|
12
|
-
n as supportsLinearEasing
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../../../../motion-utils/dist/es/errors.js";
|
|
3
|
-
import { memo as e } from "../../../../../motion-utils/dist/es/memo.js";
|
|
4
|
-
import { supportsFlags as p } from "./flags.js";
|
|
5
|
-
function s(r, m) {
|
|
6
|
-
const t = e(r);
|
|
7
|
-
return () => {
|
|
8
|
-
var o;
|
|
9
|
-
return (o = p[m]) !== null && o !== void 0 ? o : t();
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
s as memoSupports
|
|
14
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { noop as e } from "./noop.js";
|
|
3
|
-
let r = e, i = e;
|
|
4
|
-
process.env.NODE_ENV !== "production" && (r = (o, n) => {
|
|
5
|
-
!o && typeof console < "u" && console.warn(n);
|
|
6
|
-
}, i = (o, n) => {
|
|
7
|
-
if (!o)
|
|
8
|
-
throw new Error(n);
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
i as invariant,
|
|
12
|
-
r as warning
|
|
13
|
-
};
|