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,127 +1,127 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import { Root as
|
|
5
|
-
import { cva as
|
|
6
|
-
import { useIsMobile as
|
|
2
|
+
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
3
|
+
import * as l from "react";
|
|
4
|
+
import { Root as h } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
|
|
5
|
+
import { cva as k } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
6
|
+
import { useIsMobile as z } from "../../hooks/use-mobile.js";
|
|
7
7
|
import { cn as r } from "../../lib/utils.js";
|
|
8
|
-
import { Button as
|
|
9
|
-
import { Input as
|
|
10
|
-
import { Separator as
|
|
11
|
-
import { Sheet as
|
|
12
|
-
import { Skeleton as
|
|
13
|
-
import { Tooltip as
|
|
14
|
-
import
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
const a =
|
|
8
|
+
import { Button as I } from "./button.js";
|
|
9
|
+
import { Input as E } from "./input.js";
|
|
10
|
+
import { Separator as D } from "./separator.js";
|
|
11
|
+
import { Sheet as T, SheetContent as B, SheetHeader as A, SheetTitle as O, SheetDescription as R } from "./sheet.js";
|
|
12
|
+
import { Skeleton as N } from "./skeleton.js";
|
|
13
|
+
import { Tooltip as H, TooltipTrigger as K, TooltipContent as j, TooltipProvider as G } from "./tooltip.js";
|
|
14
|
+
import L from "../../node_modules/lucide-react/dist/esm/icons/panel-left.js";
|
|
15
|
+
const $ = "sidebar_state", P = 60 * 60 * 24 * 7, V = "16rem", W = "18rem", q = "3rem", F = "b", _ = l.createContext(null);
|
|
16
|
+
function S() {
|
|
17
|
+
const a = l.useContext(_);
|
|
18
18
|
if (!a)
|
|
19
19
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
20
20
|
return a;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function de({
|
|
23
23
|
defaultOpen: a = !0,
|
|
24
24
|
open: e,
|
|
25
25
|
onOpenChange: i,
|
|
26
|
-
className:
|
|
27
|
-
style:
|
|
28
|
-
children:
|
|
29
|
-
...
|
|
26
|
+
className: n,
|
|
27
|
+
style: o,
|
|
28
|
+
children: u,
|
|
29
|
+
...m
|
|
30
30
|
}) {
|
|
31
|
-
const
|
|
32
|
-
(
|
|
33
|
-
const b = typeof
|
|
34
|
-
i ? i(b) :
|
|
31
|
+
const s = z(), [f, c] = l.useState(!1), [v, M] = l.useState(a), g = e ?? v, x = l.useCallback(
|
|
32
|
+
(d) => {
|
|
33
|
+
const b = typeof d == "function" ? d(g) : d;
|
|
34
|
+
i ? i(b) : M(b), typeof document < "u" && (document.cookie = `${$}=${b}; path=/; max-age=${P}`);
|
|
35
35
|
},
|
|
36
|
-
[i,
|
|
37
|
-
),
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
b.key ===
|
|
36
|
+
[i, g]
|
|
37
|
+
), w = l.useCallback(() => s ? c((d) => !d) : x((d) => !d), [s, x, c]);
|
|
38
|
+
l.useEffect(() => {
|
|
39
|
+
const d = (b) => {
|
|
40
|
+
b.key === F && (b.metaKey || b.ctrlKey) && (b.preventDefault(), w());
|
|
41
41
|
};
|
|
42
42
|
if (typeof window < "u")
|
|
43
|
-
return window.addEventListener("keydown",
|
|
44
|
-
}, [
|
|
45
|
-
const
|
|
43
|
+
return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
|
|
44
|
+
}, [w]);
|
|
45
|
+
const y = g ? "expanded" : "collapsed", C = l.useMemo(
|
|
46
46
|
() => ({
|
|
47
|
-
state:
|
|
48
|
-
open:
|
|
49
|
-
setOpen:
|
|
50
|
-
isMobile:
|
|
47
|
+
state: y,
|
|
48
|
+
open: g,
|
|
49
|
+
setOpen: x,
|
|
50
|
+
isMobile: s,
|
|
51
51
|
openMobile: f,
|
|
52
52
|
setOpenMobile: c,
|
|
53
|
-
toggleSidebar:
|
|
53
|
+
toggleSidebar: w
|
|
54
54
|
}),
|
|
55
|
-
[
|
|
55
|
+
[y, g, x, s, f, c, w]
|
|
56
56
|
);
|
|
57
|
-
return /* @__PURE__ */ t
|
|
57
|
+
return /* @__PURE__ */ t(_.Provider, { value: C, children: /* @__PURE__ */ t(G, { delayDuration: 0, children: /* @__PURE__ */ t(
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
60
|
"data-slot": "sidebar-wrapper",
|
|
61
61
|
style: {
|
|
62
|
-
"--sidebar-width":
|
|
63
|
-
"--sidebar-width-icon":
|
|
64
|
-
...
|
|
62
|
+
"--sidebar-width": V,
|
|
63
|
+
"--sidebar-width-icon": q,
|
|
64
|
+
...o
|
|
65
65
|
},
|
|
66
66
|
className: r(
|
|
67
67
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
68
|
-
|
|
68
|
+
n
|
|
69
69
|
),
|
|
70
|
-
...
|
|
71
|
-
children:
|
|
70
|
+
...m,
|
|
71
|
+
children: u
|
|
72
72
|
}
|
|
73
73
|
) }) });
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function se({
|
|
76
76
|
side: a = "left",
|
|
77
77
|
variant: e = "sidebar",
|
|
78
78
|
collapsible: i = "offcanvas",
|
|
79
|
-
className:
|
|
80
|
-
children:
|
|
81
|
-
...
|
|
79
|
+
className: n,
|
|
80
|
+
children: o,
|
|
81
|
+
...u
|
|
82
82
|
}) {
|
|
83
|
-
const { isMobile:
|
|
84
|
-
return i === "none" ? /* @__PURE__ */ t
|
|
83
|
+
const { isMobile: m, state: s, openMobile: f, setOpenMobile: c } = S();
|
|
84
|
+
return i === "none" ? /* @__PURE__ */ t(
|
|
85
85
|
"div",
|
|
86
86
|
{
|
|
87
87
|
"data-slot": "sidebar",
|
|
88
88
|
className: r(
|
|
89
89
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
90
|
-
|
|
90
|
+
n
|
|
91
91
|
),
|
|
92
|
-
...
|
|
93
|
-
children:
|
|
92
|
+
...u,
|
|
93
|
+
children: o
|
|
94
94
|
}
|
|
95
|
-
) :
|
|
96
|
-
|
|
95
|
+
) : m ? /* @__PURE__ */ t(T, { open: f, onOpenChange: c, ...u, children: /* @__PURE__ */ p(
|
|
96
|
+
B,
|
|
97
97
|
{
|
|
98
98
|
"data-sidebar": "sidebar",
|
|
99
99
|
"data-slot": "sidebar",
|
|
100
100
|
"data-mobile": "true",
|
|
101
101
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
102
102
|
style: {
|
|
103
|
-
"--sidebar-width":
|
|
103
|
+
"--sidebar-width": W
|
|
104
104
|
},
|
|
105
105
|
side: a,
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */ t
|
|
109
|
-
/* @__PURE__ */ t
|
|
107
|
+
/* @__PURE__ */ p(A, { className: "sr-only", children: [
|
|
108
|
+
/* @__PURE__ */ t(O, { children: "Sidebar" }),
|
|
109
|
+
/* @__PURE__ */ t(R, { children: "Displays the mobile sidebar." })
|
|
110
110
|
] }),
|
|
111
|
-
/* @__PURE__ */ t
|
|
111
|
+
/* @__PURE__ */ t("div", { className: "flex h-full w-full flex-col", children: o })
|
|
112
112
|
]
|
|
113
113
|
}
|
|
114
|
-
) }) : /* @__PURE__ */
|
|
114
|
+
) }) : /* @__PURE__ */ p(
|
|
115
115
|
"div",
|
|
116
116
|
{
|
|
117
117
|
className: "group peer text-sidebar-foreground hidden md:block",
|
|
118
|
-
"data-state":
|
|
119
|
-
"data-collapsible":
|
|
118
|
+
"data-state": s,
|
|
119
|
+
"data-collapsible": s === "collapsed" ? i : "",
|
|
120
120
|
"data-variant": e,
|
|
121
121
|
"data-side": a,
|
|
122
122
|
"data-slot": "sidebar",
|
|
123
123
|
children: [
|
|
124
|
-
/* @__PURE__ */ t
|
|
124
|
+
/* @__PURE__ */ t(
|
|
125
125
|
"div",
|
|
126
126
|
{
|
|
127
127
|
"data-slot": "sidebar-gap",
|
|
@@ -133,7 +133,7 @@ function oe({
|
|
|
133
133
|
)
|
|
134
134
|
}
|
|
135
135
|
),
|
|
136
|
-
/* @__PURE__ */ t
|
|
136
|
+
/* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
"data-slot": "sidebar-container",
|
|
@@ -142,16 +142,16 @@ function oe({
|
|
|
142
142
|
a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
143
143
|
// Adjust the padding for floating and inset variants.
|
|
144
144
|
e === "floating" || e === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
145
|
-
|
|
145
|
+
n
|
|
146
146
|
),
|
|
147
|
-
...
|
|
148
|
-
children: /* @__PURE__ */ t
|
|
147
|
+
...u,
|
|
148
|
+
children: /* @__PURE__ */ t(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
151
151
|
"data-sidebar": "sidebar",
|
|
152
152
|
"data-slot": "sidebar-inner",
|
|
153
153
|
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
154
|
-
children:
|
|
154
|
+
children: o
|
|
155
155
|
}
|
|
156
156
|
)
|
|
157
157
|
}
|
|
@@ -160,34 +160,34 @@ function oe({
|
|
|
160
160
|
}
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function le({
|
|
164
164
|
className: a,
|
|
165
165
|
onClick: e,
|
|
166
166
|
...i
|
|
167
167
|
}) {
|
|
168
|
-
const { toggleSidebar:
|
|
169
|
-
return /* @__PURE__ */
|
|
170
|
-
|
|
168
|
+
const { toggleSidebar: n } = S();
|
|
169
|
+
return /* @__PURE__ */ p(
|
|
170
|
+
I,
|
|
171
171
|
{
|
|
172
172
|
"data-sidebar": "trigger",
|
|
173
173
|
"data-slot": "sidebar-trigger",
|
|
174
174
|
variant: "ghost",
|
|
175
175
|
size: "icon",
|
|
176
176
|
className: r("size-7", a),
|
|
177
|
-
onClick: (
|
|
178
|
-
e == null || e(
|
|
177
|
+
onClick: (o) => {
|
|
178
|
+
e == null || e(o), n();
|
|
179
179
|
},
|
|
180
180
|
...i,
|
|
181
181
|
children: [
|
|
182
|
-
/* @__PURE__ */ t
|
|
183
|
-
/* @__PURE__ */ t
|
|
182
|
+
/* @__PURE__ */ t(L, {}),
|
|
183
|
+
/* @__PURE__ */ t("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
184
184
|
]
|
|
185
185
|
}
|
|
186
186
|
);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
const { toggleSidebar: i } =
|
|
190
|
-
return /* @__PURE__ */ t
|
|
188
|
+
function ue({ className: a, ...e }) {
|
|
189
|
+
const { toggleSidebar: i } = S();
|
|
190
|
+
return /* @__PURE__ */ t(
|
|
191
191
|
"button",
|
|
192
192
|
{
|
|
193
193
|
"data-sidebar": "rail",
|
|
@@ -209,8 +209,8 @@ function le({ className: a, ...e }) {
|
|
|
209
209
|
}
|
|
210
210
|
);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
return /* @__PURE__ */ t
|
|
212
|
+
function ce({ className: a, ...e }) {
|
|
213
|
+
return /* @__PURE__ */ t(
|
|
214
214
|
"main",
|
|
215
215
|
{
|
|
216
216
|
"data-slot": "sidebar-inset",
|
|
@@ -223,12 +223,12 @@ function ue({ className: a, ...e }) {
|
|
|
223
223
|
}
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function be({
|
|
227
227
|
className: a,
|
|
228
228
|
...e
|
|
229
229
|
}) {
|
|
230
|
-
return /* @__PURE__ */ t
|
|
231
|
-
|
|
230
|
+
return /* @__PURE__ */ t(
|
|
231
|
+
E,
|
|
232
232
|
{
|
|
233
233
|
"data-slot": "sidebar-input",
|
|
234
234
|
"data-sidebar": "input",
|
|
@@ -237,8 +237,8 @@ function ce({
|
|
|
237
237
|
}
|
|
238
238
|
);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return /* @__PURE__ */ t
|
|
240
|
+
function fe({ className: a, ...e }) {
|
|
241
|
+
return /* @__PURE__ */ t(
|
|
242
242
|
"div",
|
|
243
243
|
{
|
|
244
244
|
"data-slot": "sidebar-header",
|
|
@@ -248,8 +248,8 @@ function be({ className: a, ...e }) {
|
|
|
248
248
|
}
|
|
249
249
|
);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
return /* @__PURE__ */ t
|
|
251
|
+
function pe({ className: a, ...e }) {
|
|
252
|
+
return /* @__PURE__ */ t(
|
|
253
253
|
"div",
|
|
254
254
|
{
|
|
255
255
|
"data-slot": "sidebar-footer",
|
|
@@ -259,12 +259,12 @@ function fe({ className: a, ...e }) {
|
|
|
259
259
|
}
|
|
260
260
|
);
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function me({
|
|
263
263
|
className: a,
|
|
264
264
|
...e
|
|
265
265
|
}) {
|
|
266
|
-
return /* @__PURE__ */ t
|
|
267
|
-
|
|
266
|
+
return /* @__PURE__ */ t(
|
|
267
|
+
D,
|
|
268
268
|
{
|
|
269
269
|
"data-slot": "sidebar-separator",
|
|
270
270
|
"data-sidebar": "separator",
|
|
@@ -273,8 +273,8 @@ function pe({
|
|
|
273
273
|
}
|
|
274
274
|
);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
return /* @__PURE__ */ t
|
|
276
|
+
function ge({ className: a, ...e }) {
|
|
277
|
+
return /* @__PURE__ */ t(
|
|
278
278
|
"div",
|
|
279
279
|
{
|
|
280
280
|
"data-slot": "sidebar-content",
|
|
@@ -287,8 +287,8 @@ function me({ className: a, ...e }) {
|
|
|
287
287
|
}
|
|
288
288
|
);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
return /* @__PURE__ */ t
|
|
290
|
+
function he({ className: a, ...e }) {
|
|
291
|
+
return /* @__PURE__ */ t(
|
|
292
292
|
"div",
|
|
293
293
|
{
|
|
294
294
|
"data-slot": "sidebar-group",
|
|
@@ -298,14 +298,13 @@ function ge({ className: a, ...e }) {
|
|
|
298
298
|
}
|
|
299
299
|
);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function ve({
|
|
302
302
|
className: a,
|
|
303
303
|
asChild: e = !1,
|
|
304
304
|
...i
|
|
305
305
|
}) {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
s,
|
|
306
|
+
return /* @__PURE__ */ t(
|
|
307
|
+
e ? h : "div",
|
|
309
308
|
{
|
|
310
309
|
"data-slot": "sidebar-group-label",
|
|
311
310
|
"data-sidebar": "group-label",
|
|
@@ -318,14 +317,13 @@ function xe({
|
|
|
318
317
|
}
|
|
319
318
|
);
|
|
320
319
|
}
|
|
321
|
-
function
|
|
320
|
+
function xe({
|
|
322
321
|
className: a,
|
|
323
322
|
asChild: e = !1,
|
|
324
323
|
...i
|
|
325
324
|
}) {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
s,
|
|
325
|
+
return /* @__PURE__ */ t(
|
|
326
|
+
e ? h : "button",
|
|
329
327
|
{
|
|
330
328
|
"data-slot": "sidebar-group-action",
|
|
331
329
|
"data-sidebar": "group-action",
|
|
@@ -340,11 +338,11 @@ function he({
|
|
|
340
338
|
}
|
|
341
339
|
);
|
|
342
340
|
}
|
|
343
|
-
function
|
|
341
|
+
function we({
|
|
344
342
|
className: a,
|
|
345
343
|
...e
|
|
346
344
|
}) {
|
|
347
|
-
return /* @__PURE__ */ t
|
|
345
|
+
return /* @__PURE__ */ t(
|
|
348
346
|
"div",
|
|
349
347
|
{
|
|
350
348
|
"data-slot": "sidebar-group-content",
|
|
@@ -354,8 +352,8 @@ function ve({
|
|
|
354
352
|
}
|
|
355
353
|
);
|
|
356
354
|
}
|
|
357
|
-
function
|
|
358
|
-
return /* @__PURE__ */ t
|
|
355
|
+
function Se({ className: a, ...e }) {
|
|
356
|
+
return /* @__PURE__ */ t(
|
|
359
357
|
"ul",
|
|
360
358
|
{
|
|
361
359
|
"data-slot": "sidebar-menu",
|
|
@@ -365,8 +363,8 @@ function we({ className: a, ...e }) {
|
|
|
365
363
|
}
|
|
366
364
|
);
|
|
367
365
|
}
|
|
368
|
-
function
|
|
369
|
-
return /* @__PURE__ */ t
|
|
366
|
+
function ye({ className: a, ...e }) {
|
|
367
|
+
return /* @__PURE__ */ t(
|
|
370
368
|
"li",
|
|
371
369
|
{
|
|
372
370
|
"data-slot": "sidebar-menu-item",
|
|
@@ -376,7 +374,7 @@ function Se({ className: a, ...e }) {
|
|
|
376
374
|
}
|
|
377
375
|
);
|
|
378
376
|
}
|
|
379
|
-
const
|
|
377
|
+
const U = k(
|
|
380
378
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
381
379
|
{
|
|
382
380
|
variants: {
|
|
@@ -396,50 +394,49 @@ const F = M(
|
|
|
396
394
|
}
|
|
397
395
|
}
|
|
398
396
|
);
|
|
399
|
-
function
|
|
397
|
+
function Ne({
|
|
400
398
|
asChild: a = !1,
|
|
401
399
|
isActive: e = !1,
|
|
402
400
|
variant: i = "default",
|
|
403
|
-
size:
|
|
404
|
-
tooltip:
|
|
405
|
-
className:
|
|
406
|
-
...
|
|
401
|
+
size: n = "default",
|
|
402
|
+
tooltip: o,
|
|
403
|
+
className: u,
|
|
404
|
+
...m
|
|
407
405
|
}) {
|
|
408
|
-
const
|
|
409
|
-
|
|
406
|
+
const s = a ? h : "button", { isMobile: f, state: c } = S(), v = /* @__PURE__ */ t(
|
|
407
|
+
s,
|
|
410
408
|
{
|
|
411
409
|
"data-slot": "sidebar-menu-button",
|
|
412
410
|
"data-sidebar": "menu-button",
|
|
413
|
-
"data-size":
|
|
411
|
+
"data-size": n,
|
|
414
412
|
"data-active": e,
|
|
415
|
-
className: r(
|
|
416
|
-
...
|
|
413
|
+
className: r(U({ variant: i, size: n }), u),
|
|
414
|
+
...m
|
|
417
415
|
}
|
|
418
416
|
);
|
|
419
|
-
return
|
|
420
|
-
children:
|
|
421
|
-
}), /* @__PURE__ */
|
|
422
|
-
/* @__PURE__ */ t
|
|
423
|
-
/* @__PURE__ */ t
|
|
424
|
-
|
|
417
|
+
return o ? (typeof o == "string" && (o = {
|
|
418
|
+
children: o
|
|
419
|
+
}), /* @__PURE__ */ p(H, { children: [
|
|
420
|
+
/* @__PURE__ */ t(K, { asChild: !0, children: v }),
|
|
421
|
+
/* @__PURE__ */ t(
|
|
422
|
+
j,
|
|
425
423
|
{
|
|
426
424
|
side: "right",
|
|
427
425
|
align: "center",
|
|
428
426
|
hidden: c !== "collapsed" || f,
|
|
429
|
-
...
|
|
427
|
+
...o
|
|
430
428
|
}
|
|
431
429
|
)
|
|
432
|
-
] })) :
|
|
430
|
+
] })) : v;
|
|
433
431
|
}
|
|
434
|
-
function
|
|
432
|
+
function _e({
|
|
435
433
|
className: a,
|
|
436
434
|
asChild: e = !1,
|
|
437
435
|
showOnHover: i = !1,
|
|
438
|
-
...
|
|
436
|
+
...n
|
|
439
437
|
}) {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
n,
|
|
438
|
+
return /* @__PURE__ */ t(
|
|
439
|
+
e ? h : "button",
|
|
443
440
|
{
|
|
444
441
|
"data-slot": "sidebar-menu-action",
|
|
445
442
|
"data-sidebar": "menu-action",
|
|
@@ -454,15 +451,15 @@ function ye({
|
|
|
454
451
|
i && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
|
|
455
452
|
a
|
|
456
453
|
),
|
|
457
|
-
...
|
|
454
|
+
...n
|
|
458
455
|
}
|
|
459
456
|
);
|
|
460
457
|
}
|
|
461
|
-
function
|
|
458
|
+
function Me({
|
|
462
459
|
className: a,
|
|
463
460
|
...e
|
|
464
461
|
}) {
|
|
465
|
-
return /* @__PURE__ */ t
|
|
462
|
+
return /* @__PURE__ */ t(
|
|
466
463
|
"div",
|
|
467
464
|
{
|
|
468
465
|
"data-slot": "sidebar-menu-badge",
|
|
@@ -480,13 +477,13 @@ function Ne({
|
|
|
480
477
|
}
|
|
481
478
|
);
|
|
482
479
|
}
|
|
483
|
-
function
|
|
480
|
+
function Ce({
|
|
484
481
|
className: a,
|
|
485
482
|
showIcon: e = !1,
|
|
486
483
|
...i
|
|
487
484
|
}) {
|
|
488
|
-
const
|
|
489
|
-
return /* @__PURE__ */
|
|
485
|
+
const n = l.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
|
|
486
|
+
return /* @__PURE__ */ p(
|
|
490
487
|
"div",
|
|
491
488
|
{
|
|
492
489
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -494,20 +491,20 @@ function _e({
|
|
|
494
491
|
className: r("flex h-8 items-center gap-2 rounded-md px-2", a),
|
|
495
492
|
...i,
|
|
496
493
|
children: [
|
|
497
|
-
e && /* @__PURE__ */ t
|
|
498
|
-
|
|
494
|
+
e && /* @__PURE__ */ t(
|
|
495
|
+
N,
|
|
499
496
|
{
|
|
500
497
|
className: "size-4 rounded-md",
|
|
501
498
|
"data-sidebar": "menu-skeleton-icon"
|
|
502
499
|
}
|
|
503
500
|
),
|
|
504
|
-
/* @__PURE__ */ t
|
|
505
|
-
|
|
501
|
+
/* @__PURE__ */ t(
|
|
502
|
+
N,
|
|
506
503
|
{
|
|
507
504
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
508
505
|
"data-sidebar": "menu-skeleton-text",
|
|
509
506
|
style: {
|
|
510
|
-
"--skeleton-width":
|
|
507
|
+
"--skeleton-width": n
|
|
511
508
|
}
|
|
512
509
|
}
|
|
513
510
|
)
|
|
@@ -515,8 +512,8 @@ function _e({
|
|
|
515
512
|
}
|
|
516
513
|
);
|
|
517
514
|
}
|
|
518
|
-
function
|
|
519
|
-
return /* @__PURE__ */ t
|
|
515
|
+
function ke({ className: a, ...e }) {
|
|
516
|
+
return /* @__PURE__ */ t(
|
|
520
517
|
"ul",
|
|
521
518
|
{
|
|
522
519
|
"data-slot": "sidebar-menu-sub",
|
|
@@ -530,11 +527,11 @@ function Me({ className: a, ...e }) {
|
|
|
530
527
|
}
|
|
531
528
|
);
|
|
532
529
|
}
|
|
533
|
-
function
|
|
530
|
+
function ze({
|
|
534
531
|
className: a,
|
|
535
532
|
...e
|
|
536
533
|
}) {
|
|
537
|
-
return /* @__PURE__ */ t
|
|
534
|
+
return /* @__PURE__ */ t(
|
|
538
535
|
"li",
|
|
539
536
|
{
|
|
540
537
|
"data-slot": "sidebar-menu-sub-item",
|
|
@@ -544,16 +541,15 @@ function ke({
|
|
|
544
541
|
}
|
|
545
542
|
);
|
|
546
543
|
}
|
|
547
|
-
function
|
|
544
|
+
function Ie({
|
|
548
545
|
asChild: a = !1,
|
|
549
546
|
size: e = "md",
|
|
550
547
|
isActive: i = !1,
|
|
551
|
-
className:
|
|
552
|
-
...
|
|
548
|
+
className: n,
|
|
549
|
+
...o
|
|
553
550
|
}) {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
d,
|
|
551
|
+
return /* @__PURE__ */ t(
|
|
552
|
+
a ? h : "a",
|
|
557
553
|
{
|
|
558
554
|
"data-slot": "sidebar-menu-sub-button",
|
|
559
555
|
"data-sidebar": "menu-sub-button",
|
|
@@ -565,35 +561,35 @@ function ze({
|
|
|
565
561
|
e === "sm" && "text-xs",
|
|
566
562
|
e === "md" && "text-sm",
|
|
567
563
|
"group-data-[collapsible=icon]:hidden",
|
|
568
|
-
|
|
564
|
+
n
|
|
569
565
|
),
|
|
570
|
-
...
|
|
566
|
+
...o
|
|
571
567
|
}
|
|
572
568
|
);
|
|
573
569
|
}
|
|
574
570
|
export {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
571
|
+
se as Sidebar,
|
|
572
|
+
ge as SidebarContent,
|
|
573
|
+
pe as SidebarFooter,
|
|
574
|
+
he as SidebarGroup,
|
|
575
|
+
xe as SidebarGroupAction,
|
|
576
|
+
we as SidebarGroupContent,
|
|
577
|
+
ve as SidebarGroupLabel,
|
|
578
|
+
fe as SidebarHeader,
|
|
579
|
+
be as SidebarInput,
|
|
580
|
+
ce as SidebarInset,
|
|
581
|
+
Se as SidebarMenu,
|
|
582
|
+
_e as SidebarMenuAction,
|
|
583
|
+
Me as SidebarMenuBadge,
|
|
584
|
+
Ne as SidebarMenuButton,
|
|
585
|
+
ye as SidebarMenuItem,
|
|
586
|
+
Ce as SidebarMenuSkeleton,
|
|
587
|
+
ke as SidebarMenuSub,
|
|
588
|
+
Ie as SidebarMenuSubButton,
|
|
589
|
+
ze as SidebarMenuSubItem,
|
|
590
|
+
de as SidebarProvider,
|
|
591
|
+
ue as SidebarRail,
|
|
592
|
+
me as SidebarSeparator,
|
|
593
|
+
le as SidebarTrigger,
|
|
594
|
+
S as useSidebar
|
|
599
595
|
};
|