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,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Root as
|
|
4
|
-
import { cva as
|
|
2
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import { Root as g } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
|
|
4
|
+
import { cva as m } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
5
5
|
import { cn as i } from "../../lib/utils.js";
|
|
6
6
|
import { Icon as c } from "./icon.js";
|
|
7
|
-
const v =
|
|
7
|
+
const v = m(
|
|
8
8
|
"cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
@@ -29,31 +29,31 @@ const v = g(
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
|
-
function
|
|
33
|
-
className:
|
|
34
|
-
variant:
|
|
32
|
+
function y({
|
|
33
|
+
className: o,
|
|
34
|
+
variant: n,
|
|
35
35
|
size: e,
|
|
36
|
-
asChild:
|
|
36
|
+
asChild: s = !1,
|
|
37
37
|
iconLeft: a,
|
|
38
38
|
iconRight: d,
|
|
39
39
|
...t
|
|
40
40
|
}) {
|
|
41
|
-
const u =
|
|
42
|
-
return
|
|
41
|
+
const u = s ? g : "button";
|
|
42
|
+
return s ? /* @__PURE__ */ r(
|
|
43
43
|
u,
|
|
44
44
|
{
|
|
45
45
|
"data-slot": "button",
|
|
46
|
-
className: i(v({ variant:
|
|
46
|
+
className: i(v({ variant: n, size: e, className: o })),
|
|
47
47
|
...t
|
|
48
48
|
}
|
|
49
|
-
) : /* @__PURE__ */
|
|
49
|
+
) : /* @__PURE__ */ l(
|
|
50
50
|
u,
|
|
51
51
|
{
|
|
52
52
|
"data-slot": "button",
|
|
53
|
-
className: i(v({ variant:
|
|
53
|
+
className: i(v({ variant: n, size: e, className: o }), "relative"),
|
|
54
54
|
...t,
|
|
55
55
|
children: [
|
|
56
|
-
/* @__PURE__ */ r
|
|
56
|
+
/* @__PURE__ */ r(
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
59
|
className: i(
|
|
@@ -64,14 +64,14 @@ function h({
|
|
|
64
64
|
)
|
|
65
65
|
}
|
|
66
66
|
),
|
|
67
|
-
a && /* @__PURE__ */ r
|
|
67
|
+
a && /* @__PURE__ */ r(c, { name: a, size: e === "default" ? "md" : e === "sm" ? "xs" : "sm" }),
|
|
68
68
|
t.children,
|
|
69
|
-
d && /* @__PURE__ */ r
|
|
69
|
+
d && /* @__PURE__ */ r(c, { name: d, size: e === "default" ? "md" : e === "sm" ? "xs" : "sm" })
|
|
70
70
|
]
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
73
|
}
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
y as Button,
|
|
76
76
|
v as buttonVariants
|
|
77
77
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { DayPicker as l } from "../../node_modules/react-day-picker/dist/index.esm.js";
|
|
4
4
|
import { cn as e } from "../../lib/utils.js";
|
|
5
5
|
import { buttonVariants as d } from "./button.js";
|
|
@@ -7,14 +7,14 @@ import c from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
|
7
7
|
import m from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
|
|
8
8
|
function h({
|
|
9
9
|
className: n,
|
|
10
|
-
classNames:
|
|
11
|
-
showOutsideDays:
|
|
10
|
+
classNames: i,
|
|
11
|
+
showOutsideDays: s = !0,
|
|
12
12
|
...o
|
|
13
13
|
}) {
|
|
14
|
-
return /* @__PURE__ */ r
|
|
14
|
+
return /* @__PURE__ */ r(
|
|
15
15
|
l,
|
|
16
16
|
{
|
|
17
|
-
showOutsideDays:
|
|
17
|
+
showOutsideDays: s,
|
|
18
18
|
className: e("p-3", n),
|
|
19
19
|
classNames: {
|
|
20
20
|
months: "flex flex-col sm:flex-row gap-2",
|
|
@@ -48,11 +48,11 @@ function h({
|
|
|
48
48
|
day_disabled: "text-muted-foreground opacity-50",
|
|
49
49
|
day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
50
50
|
day_hidden: "invisible",
|
|
51
|
-
...
|
|
51
|
+
...i
|
|
52
52
|
},
|
|
53
53
|
components: {
|
|
54
|
-
IconLeft: ({ className: a, ...t }) => /* @__PURE__ */ r
|
|
55
|
-
IconRight: ({ className: a, ...t }) => /* @__PURE__ */ r
|
|
54
|
+
IconLeft: ({ className: a, ...t }) => /* @__PURE__ */ r(m, { className: e("size-4", a), ...t }),
|
|
55
|
+
IconRight: ({ className: a, ...t }) => /* @__PURE__ */ r(c, { className: e("size-4", a), ...t })
|
|
56
56
|
},
|
|
57
57
|
...o
|
|
58
58
|
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import * as d from "react";
|
|
4
4
|
import { cn as e } from "../../lib/utils.js";
|
|
5
|
-
const
|
|
5
|
+
const n = d.createContext({ size: "default" }), s = {
|
|
6
6
|
sm: "py-3 px-3 gap-4",
|
|
7
7
|
default: "py-6 px-6 gap-6",
|
|
8
8
|
lg: "py-8 px-8 gap-8"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return /* @__PURE__ */ r
|
|
10
|
+
function u({ className: a, size: t = "default", ...o }) {
|
|
11
|
+
return /* @__PURE__ */ r(n.Provider, { value: { size: t }, children: /* @__PURE__ */ r(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
"data-slot": "card",
|
|
15
15
|
className: e(
|
|
16
|
-
`bg-card text-card-foreground flex flex-col rounded-xl border shadow-sm ${
|
|
16
|
+
`bg-card text-card-foreground flex flex-col rounded-xl border shadow-sm ${s[t]}`,
|
|
17
17
|
a
|
|
18
18
|
),
|
|
19
19
|
...o
|
|
20
20
|
}
|
|
21
21
|
) });
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
const { size: o } = d.useContext(
|
|
25
|
-
return /* @__PURE__ */ r
|
|
23
|
+
function x({ className: a, ...t }) {
|
|
24
|
+
const { size: o } = d.useContext(n);
|
|
25
|
+
return /* @__PURE__ */ r(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
"data-slot": "card-header",
|
|
29
29
|
className: e(
|
|
30
|
-
`@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 ${
|
|
30
|
+
`@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 ${o === "sm" ? "px-3" : o === "lg" ? "px-8" : "px-6"} has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6`,
|
|
31
31
|
a
|
|
32
32
|
),
|
|
33
33
|
...t
|
|
@@ -35,7 +35,7 @@ function u({ className: a, ...t }) {
|
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
function m({ className: a, ...t }) {
|
|
38
|
-
return /* @__PURE__ */ r
|
|
38
|
+
return /* @__PURE__ */ r(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "card-title",
|
|
@@ -45,7 +45,7 @@ function m({ className: a, ...t }) {
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
function f({ className: a, ...t }) {
|
|
48
|
-
return /* @__PURE__ */ r
|
|
48
|
+
return /* @__PURE__ */ r(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
"data-slot": "card-description",
|
|
@@ -55,7 +55,7 @@ function f({ className: a, ...t }) {
|
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
function g({ className: a, ...t }) {
|
|
58
|
-
return /* @__PURE__ */ r
|
|
58
|
+
return /* @__PURE__ */ r(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
"data-slot": "card-content",
|
|
@@ -65,7 +65,7 @@ function g({ className: a, ...t }) {
|
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
function C({ className: a, ...t }) {
|
|
68
|
-
return /* @__PURE__ */ r
|
|
68
|
+
return /* @__PURE__ */ r(
|
|
69
69
|
"div",
|
|
70
70
|
{
|
|
71
71
|
"data-slot": "card-footer",
|
|
@@ -75,10 +75,10 @@ function C({ className: a, ...t }) {
|
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
export {
|
|
78
|
-
|
|
78
|
+
u as Card,
|
|
79
79
|
g as CardContent,
|
|
80
80
|
f as CardDescription,
|
|
81
81
|
C as CardFooter,
|
|
82
|
-
|
|
82
|
+
x as CardHeader,
|
|
83
83
|
m as CardTitle
|
|
84
84
|
};
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cn as
|
|
6
|
-
import { Button as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
10
|
-
function
|
|
11
|
-
const o =
|
|
2
|
+
import { jsx as n, jsxs as h } from "react/jsx-runtime";
|
|
3
|
+
import * as l from "react";
|
|
4
|
+
import z from "../../node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
|
|
5
|
+
import { cn as d } from "../../lib/utils.js";
|
|
6
|
+
import { Button as v } from "./button.js";
|
|
7
|
+
import p from "../../node_modules/lucide-react/dist/esm/icons/arrow-left.js";
|
|
8
|
+
import g from "../../node_modules/lucide-react/dist/esm/icons/arrow-right.js";
|
|
9
|
+
const N = l.createContext(null);
|
|
10
|
+
function m() {
|
|
11
|
+
const o = l.useContext(N);
|
|
12
12
|
if (!o)
|
|
13
13
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function K({
|
|
17
17
|
orientation: o = "horizontal",
|
|
18
18
|
opts: r,
|
|
19
19
|
setApi: t,
|
|
20
|
-
plugins:
|
|
20
|
+
plugins: s,
|
|
21
21
|
className: c,
|
|
22
22
|
children: i,
|
|
23
23
|
...u
|
|
24
24
|
}) {
|
|
25
|
-
const [
|
|
25
|
+
const [b, e] = z(
|
|
26
26
|
{
|
|
27
27
|
...r,
|
|
28
28
|
axis: o === "horizontal" ? "x" : "y"
|
|
29
29
|
},
|
|
30
|
-
|
|
31
|
-
), [
|
|
32
|
-
|
|
33
|
-
}, []),
|
|
30
|
+
s
|
|
31
|
+
), [w, S] = l.useState(!1), [y, P] = l.useState(!1), f = l.useCallback((a) => {
|
|
32
|
+
a && (S(a.canScrollPrev()), P(a.canScrollNext()));
|
|
33
|
+
}, []), x = l.useCallback(() => {
|
|
34
34
|
e == null || e.scrollPrev();
|
|
35
|
-
}, [e]), C =
|
|
35
|
+
}, [e]), C = l.useCallback(() => {
|
|
36
36
|
e == null || e.scrollNext();
|
|
37
|
-
}, [e]),
|
|
38
|
-
(
|
|
39
|
-
|
|
37
|
+
}, [e]), k = l.useCallback(
|
|
38
|
+
(a) => {
|
|
39
|
+
a.key === "ArrowLeft" ? (a.preventDefault(), x()) : a.key === "ArrowRight" && (a.preventDefault(), C());
|
|
40
40
|
},
|
|
41
|
-
[
|
|
41
|
+
[x, C]
|
|
42
42
|
);
|
|
43
|
-
return
|
|
43
|
+
return l.useEffect(() => {
|
|
44
44
|
!e || !t || t(e);
|
|
45
|
-
}, [e, t]),
|
|
45
|
+
}, [e, t]), l.useEffect(() => {
|
|
46
46
|
if (e)
|
|
47
47
|
return f(e), e.on("reInit", f), e.on("select", f), () => {
|
|
48
48
|
e == null || e.off("select", f);
|
|
49
49
|
};
|
|
50
|
-
}, [e, f]), /* @__PURE__ */
|
|
51
|
-
|
|
50
|
+
}, [e, f]), /* @__PURE__ */ n(
|
|
51
|
+
N.Provider,
|
|
52
52
|
{
|
|
53
53
|
value: {
|
|
54
|
-
carouselRef:
|
|
54
|
+
carouselRef: b,
|
|
55
55
|
api: e,
|
|
56
56
|
opts: r,
|
|
57
57
|
orientation: o || ((r == null ? void 0 : r.axis) === "y" ? "vertical" : "horizontal"),
|
|
58
|
-
scrollPrev:
|
|
58
|
+
scrollPrev: x,
|
|
59
59
|
scrollNext: C,
|
|
60
|
-
canScrollPrev:
|
|
61
|
-
canScrollNext:
|
|
60
|
+
canScrollPrev: w,
|
|
61
|
+
canScrollNext: y
|
|
62
62
|
},
|
|
63
|
-
children: /* @__PURE__ */
|
|
63
|
+
children: /* @__PURE__ */ n(
|
|
64
64
|
"div",
|
|
65
65
|
{
|
|
66
|
-
onKeyDownCapture:
|
|
67
|
-
className:
|
|
66
|
+
onKeyDownCapture: k,
|
|
67
|
+
className: d("relative", c),
|
|
68
68
|
role: "region",
|
|
69
69
|
"aria-roledescription": "carousel",
|
|
70
70
|
"data-slot": "carousel",
|
|
@@ -75,20 +75,20 @@ function I({
|
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
const { carouselRef: t, orientation:
|
|
80
|
-
return /* @__PURE__ */
|
|
78
|
+
function L({ className: o, ...r }) {
|
|
79
|
+
const { carouselRef: t, orientation: s } = m();
|
|
80
|
+
return /* @__PURE__ */ n(
|
|
81
81
|
"div",
|
|
82
82
|
{
|
|
83
83
|
ref: t,
|
|
84
84
|
className: "overflow-hidden",
|
|
85
85
|
"data-slot": "carousel-content",
|
|
86
|
-
children: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ n(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: d(
|
|
90
90
|
"flex",
|
|
91
|
-
|
|
91
|
+
s === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
92
92
|
o
|
|
93
93
|
),
|
|
94
94
|
...r
|
|
@@ -97,15 +97,15 @@ function K({ className: o, ...r }) {
|
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
const { orientation: t } =
|
|
102
|
-
return /* @__PURE__ */
|
|
100
|
+
function B({ className: o, ...r }) {
|
|
101
|
+
const { orientation: t } = m();
|
|
102
|
+
return /* @__PURE__ */ n(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
105
|
role: "group",
|
|
106
106
|
"aria-roledescription": "slide",
|
|
107
107
|
"data-slot": "carousel-item",
|
|
108
|
-
className:
|
|
108
|
+
className: d(
|
|
109
109
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
110
110
|
t === "horizontal" ? "pl-4" : "pt-4",
|
|
111
111
|
o
|
|
@@ -114,66 +114,66 @@ function L({ className: o, ...r }) {
|
|
|
114
114
|
}
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function q({
|
|
118
118
|
className: o,
|
|
119
119
|
variant: r = "outline",
|
|
120
120
|
size: t = "icon",
|
|
121
|
-
...
|
|
121
|
+
...s
|
|
122
122
|
}) {
|
|
123
|
-
const { orientation: c, scrollPrev: i, canScrollPrev: u } =
|
|
124
|
-
return /* @__PURE__ */
|
|
125
|
-
|
|
123
|
+
const { orientation: c, scrollPrev: i, canScrollPrev: u } = m();
|
|
124
|
+
return /* @__PURE__ */ h(
|
|
125
|
+
v,
|
|
126
126
|
{
|
|
127
127
|
"data-slot": "carousel-previous",
|
|
128
128
|
variant: r,
|
|
129
129
|
size: t,
|
|
130
|
-
className:
|
|
130
|
+
className: d(
|
|
131
131
|
"absolute size-8 rounded-full",
|
|
132
132
|
c === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
133
133
|
o
|
|
134
134
|
),
|
|
135
135
|
disabled: !u,
|
|
136
136
|
onClick: i,
|
|
137
|
-
...
|
|
137
|
+
...s,
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ n(p, {}),
|
|
140
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: "Previous slide" })
|
|
141
141
|
]
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function F({
|
|
146
146
|
className: o,
|
|
147
147
|
variant: r = "outline",
|
|
148
148
|
size: t = "icon",
|
|
149
|
-
...
|
|
149
|
+
...s
|
|
150
150
|
}) {
|
|
151
|
-
const { orientation: c, scrollNext: i, canScrollNext: u } =
|
|
152
|
-
return /* @__PURE__ */
|
|
153
|
-
|
|
151
|
+
const { orientation: c, scrollNext: i, canScrollNext: u } = m();
|
|
152
|
+
return /* @__PURE__ */ h(
|
|
153
|
+
v,
|
|
154
154
|
{
|
|
155
155
|
"data-slot": "carousel-next",
|
|
156
156
|
variant: r,
|
|
157
157
|
size: t,
|
|
158
|
-
className:
|
|
158
|
+
className: d(
|
|
159
159
|
"absolute size-8 rounded-full",
|
|
160
160
|
c === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
161
161
|
o
|
|
162
162
|
),
|
|
163
163
|
disabled: !u,
|
|
164
164
|
onClick: i,
|
|
165
|
-
...
|
|
165
|
+
...s,
|
|
166
166
|
children: [
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ n(g, {}),
|
|
168
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: "Next slide" })
|
|
169
169
|
]
|
|
170
170
|
}
|
|
171
171
|
);
|
|
172
172
|
}
|
|
173
173
|
export {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
174
|
+
K as Carousel,
|
|
175
|
+
L as CarouselContent,
|
|
176
|
+
B as CarouselItem,
|
|
177
|
+
F as CarouselNext,
|
|
178
|
+
q as CarouselPrevious
|
|
179
179
|
};
|