@constructive-io/ui 0.4.1 → 0.6.1
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/LICENSE +21 -0
- package/README.md +17 -22
- package/dist/button-D4vqTxhp.d.cts +20 -0
- package/dist/button-D4vqTxhp.d.ts +20 -0
- package/dist/components/alert-dialog.cjs +129 -0
- package/dist/components/alert-dialog.cjs.map +1 -0
- package/dist/components/alert-dialog.d.cts +33 -0
- package/dist/components/alert-dialog.d.ts +23 -21
- package/dist/components/alert-dialog.js +98 -296
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.cjs +62 -0
- package/dist/components/alert.cjs.map +1 -0
- package/dist/components/alert.d.cts +19 -0
- package/dist/components/alert.d.ts +18 -13
- package/dist/components/alert.js +49 -31
- package/dist/components/alert.js.map +1 -1
- package/dist/components/app-bar.cjs +81 -0
- package/dist/components/app-bar.cjs.map +1 -0
- package/dist/components/app-bar.d.cts +27 -0
- package/dist/components/app-bar.d.ts +27 -0
- package/dist/components/app-bar.js +77 -0
- package/dist/components/app-bar.js.map +1 -0
- package/dist/components/app-shell.cjs +267 -0
- package/dist/components/app-shell.cjs.map +1 -0
- package/dist/components/app-shell.d.cts +98 -0
- package/dist/components/app-shell.d.ts +98 -0
- package/dist/components/app-shell.js +264 -0
- package/dist/components/app-shell.js.map +1 -0
- package/dist/components/autocomplete.cjs +167 -0
- package/dist/components/autocomplete.cjs.map +1 -0
- package/dist/components/autocomplete.d.cts +28 -0
- package/dist/components/autocomplete.d.ts +24 -24
- package/dist/components/autocomplete.js +146 -397
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/avatar.cjs +39 -0
- package/dist/components/avatar.cjs.map +1 -0
- package/dist/components/avatar.d.cts +13 -0
- package/dist/components/avatar.d.ts +11 -11
- package/dist/components/avatar.js +24 -27
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.cjs +48 -0
- package/dist/components/badge.cjs.map +1 -0
- package/dist/components/badge.d.cts +15 -0
- package/dist/components/badge.d.ts +13 -13
- package/dist/components/badge.js +39 -38
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.cjs +89 -0
- package/dist/components/breadcrumb.cjs.map +1 -0
- package/dist/components/breadcrumb.d.cts +15 -0
- package/dist/components/breadcrumb.d.ts +14 -13
- package/dist/components/breadcrumb.js +63 -137
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button.cjs +75 -0
- package/dist/components/button.cjs.map +1 -0
- package/dist/components/button.d.cts +2 -0
- package/dist/components/button.d.ts +2 -17
- package/dist/components/button.js +66 -57
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-rac.cjs +72 -0
- package/dist/components/calendar-rac.cjs.map +1 -0
- package/dist/components/calendar-rac.d.cts +13 -0
- package/dist/components/calendar-rac.d.ts +8 -8
- package/dist/components/calendar-rac.js +49 -61
- package/dist/components/calendar-rac.js.map +1 -1
- package/dist/components/card.cjs +86 -0
- package/dist/components/card.cjs.map +1 -0
- package/dist/components/card.d.cts +17 -0
- package/dist/components/card.d.ts +15 -17
- package/dist/components/card.js +58 -57
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox-group.cjs +19 -0
- package/dist/components/checkbox-group.cjs.map +1 -0
- package/dist/components/checkbox-group.d.cts +7 -0
- package/dist/components/checkbox-group.d.ts +5 -5
- package/dist/components/checkbox-group.js +12 -10
- package/dist/components/checkbox-group.js.map +1 -1
- package/dist/components/checkbox.cjs +67 -0
- package/dist/components/checkbox.cjs.map +1 -0
- package/dist/components/checkbox.d.cts +8 -0
- package/dist/components/checkbox.d.ts +6 -6
- package/dist/components/checkbox.js +58 -61
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.cjs +90 -0
- package/dist/components/collapsible.cjs.map +1 -0
- package/dist/components/collapsible.d.cts +45 -0
- package/dist/components/collapsible.d.ts +19 -28
- package/dist/components/collapsible.js +74 -112
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/combobox.cjs +257 -0
- package/dist/components/combobox.cjs.map +1 -0
- package/dist/components/combobox.d.cts +44 -0
- package/dist/components/combobox.d.ts +36 -36
- package/dist/components/combobox.js +229 -515
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.cjs +139 -0
- package/dist/components/command.cjs.map +1 -0
- package/dist/components/command.d.cts +24 -0
- package/dist/components/command.d.ts +22 -22
- package/dist/components/command.js +109 -240
- package/dist/components/command.js.map +1 -1
- package/dist/components/dialog.cjs +139 -0
- package/dist/components/dialog.cjs.map +1 -0
- package/dist/components/dialog.d.cts +31 -0
- package/dist/components/dialog.d.ts +27 -31
- package/dist/components/dialog.js +112 -429
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dock.cjs +90 -0
- package/dist/components/dock.cjs.map +1 -0
- package/dist/components/dock.d.cts +30 -0
- package/dist/components/dock.d.ts +25 -26
- package/dist/components/dock.js +78 -104
- package/dist/components/dock.js.map +1 -1
- package/dist/components/drawer.cjs +115 -0
- package/dist/components/drawer.cjs.map +1 -0
- package/dist/components/drawer.d.cts +16 -0
- package/dist/components/drawer.d.ts +15 -15
- package/dist/components/drawer.js +77 -121
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.cjs +217 -0
- package/dist/components/dropdown-menu.cjs.map +1 -0
- package/dist/components/dropdown-menu.d.cts +53 -0
- package/dist/components/dropdown-menu.d.ts +49 -46
- package/dist/components/dropdown-menu.js +177 -357
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.cjs +72 -0
- package/dist/components/empty.cjs.map +1 -0
- package/dist/components/empty.d.cts +15 -0
- package/dist/components/empty.d.ts +15 -0
- package/dist/components/empty.js +64 -0
- package/dist/components/empty.js.map +1 -0
- package/dist/components/field.cjs +186 -0
- package/dist/components/field.cjs.map +1 -0
- package/dist/components/field.d.cts +46 -0
- package/dist/components/field.d.ts +44 -49
- package/dist/components/field.js +166 -108
- package/dist/components/field.js.map +1 -1
- package/dist/components/flickering-grid.cjs +153 -0
- package/dist/components/flickering-grid.cjs.map +1 -0
- package/dist/components/flickering-grid.d.cts +16 -0
- package/dist/components/flickering-grid.d.ts +14 -13
- package/dist/components/flickering-grid.js +144 -141
- package/dist/components/flickering-grid.js.map +1 -1
- package/dist/components/flow-zoom-panel.cjs +62 -0
- package/dist/components/flow-zoom-panel.cjs.map +1 -0
- package/dist/components/flow-zoom-panel.d.cts +12 -0
- package/dist/components/flow-zoom-panel.d.ts +12 -0
- package/dist/components/flow-zoom-panel.js +61 -0
- package/dist/components/flow-zoom-panel.js.map +1 -0
- package/dist/components/form-control.cjs +65 -0
- package/dist/components/form-control.cjs.map +1 -0
- package/dist/components/form-control.d.cts +15 -0
- package/dist/components/form-control.d.ts +11 -11
- package/dist/components/form-control.js +56 -167
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/form.cjs +102 -0
- package/dist/components/form.cjs.map +1 -0
- package/dist/components/form.d.cts +2 -0
- package/dist/components/form.d.ts +2 -37
- package/dist/components/form.js +76 -163
- package/dist/components/form.js.map +1 -1
- package/dist/components/input-group.cjs +70 -0
- package/dist/components/input-group.cjs.map +1 -0
- package/dist/components/input-group.d.cts +16 -0
- package/dist/components/input-group.d.ts +14 -16
- package/dist/components/input-group.js +51 -163
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/input.cjs +37 -0
- package/dist/components/input.cjs.map +1 -0
- package/dist/components/input.d.cts +2 -0
- package/dist/components/input.d.ts +2 -11
- package/dist/components/input.js +30 -54
- package/dist/components/input.js.map +1 -1
- package/dist/components/json-input.cjs +147 -0
- package/dist/components/json-input.cjs.map +1 -0
- package/dist/components/json-input.d.cts +26 -0
- package/dist/components/json-input.d.ts +20 -19
- package/dist/components/json-input.js +132 -340
- package/dist/components/json-input.js.map +1 -1
- package/dist/components/label.cjs +27 -0
- package/dist/components/label.cjs.map +1 -0
- package/dist/components/label.d.cts +11 -0
- package/dist/components/label.d.ts +6 -6
- package/dist/components/label.js +17 -20
- package/dist/components/label.js.map +1 -1
- package/dist/components/motion-grid.cjs +68 -0
- package/dist/components/motion-grid.cjs.map +1 -0
- package/dist/components/motion-grid.d.cts +20 -0
- package/dist/components/motion-grid.d.ts +15 -15
- package/dist/components/motion-grid.js +59 -75
- package/dist/components/motion-grid.js.map +1 -1
- package/dist/components/multi-select.cjs +573 -0
- package/dist/components/multi-select.cjs.map +1 -0
- package/dist/components/multi-select.d.cts +198 -0
- package/dist/components/multi-select.d.ts +173 -173
- package/dist/components/multi-select.js +562 -874
- package/dist/components/multi-select.js.map +1 -1
- package/dist/components/page-header.cjs +30 -0
- package/dist/components/page-header.cjs.map +1 -0
- package/dist/components/page-header.d.cts +17 -0
- package/dist/components/page-header.d.ts +11 -11
- package/dist/components/page-header.js +23 -11
- package/dist/components/page-header.js.map +1 -1
- package/dist/components/pagination.cjs +95 -0
- package/dist/components/pagination.cjs.map +1 -0
- package/dist/components/pagination.d.cts +17 -0
- package/dist/components/pagination.d.ts +15 -17
- package/dist/components/pagination.js +70 -128
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/popover.cjs +97 -0
- package/dist/components/popover.cjs.map +1 -0
- package/dist/components/popover.d.cts +40 -0
- package/dist/components/popover.d.ts +33 -28
- package/dist/components/popover.js +78 -178
- package/dist/components/popover.js.map +1 -1
- package/dist/components/portal.cjs +156 -0
- package/dist/components/portal.cjs.map +1 -0
- package/dist/components/portal.d.cts +118 -0
- package/dist/components/portal.d.ts +33 -23
- package/dist/components/portal.js +128 -57
- package/dist/components/portal.js.map +1 -1
- package/dist/components/progress.cjs +30 -0
- package/dist/components/progress.cjs.map +1 -0
- package/dist/components/progress.d.cts +10 -0
- package/dist/components/progress.d.ts +8 -8
- package/dist/components/progress.js +21 -24
- package/dist/components/progress.js.map +1 -1
- package/dist/components/progressive-blur-scroll-container.cjs +76 -0
- package/dist/components/progressive-blur-scroll-container.cjs.map +1 -0
- package/dist/components/progressive-blur-scroll-container.d.cts +25 -0
- package/dist/components/progressive-blur-scroll-container.d.ts +19 -19
- package/dist/components/progressive-blur-scroll-container.js +70 -137
- package/dist/components/progressive-blur-scroll-container.js.map +1 -1
- package/dist/components/progressive-blur.cjs +46 -0
- package/dist/components/progressive-blur.cjs.map +1 -0
- package/dist/components/progressive-blur.d.cts +17 -0
- package/dist/components/progressive-blur.d.ts +15 -14
- package/dist/components/progressive-blur.js +38 -63
- package/dist/components/progressive-blur.js.map +1 -1
- package/dist/components/radio-group.cjs +38 -0
- package/dist/components/radio-group.cjs.map +1 -0
- package/dist/components/radio-group.d.cts +10 -0
- package/dist/components/radio-group.d.ts +8 -8
- package/dist/components/radio-group.js +28 -30
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/record-picker.cjs +8 -0
- package/dist/components/record-picker.d.cts +16 -0
- package/dist/components/record-picker.d.ts +13 -13
- package/dist/components/record-picker.js +5 -364
- package/dist/components/resizable.cjs +50 -0
- package/dist/components/resizable.cjs.map +1 -0
- package/dist/components/resizable.d.cts +11 -0
- package/dist/components/resizable.d.ts +10 -10
- package/dist/components/resizable.js +29 -37
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/responsive-diagram.cjs +56 -0
- package/dist/components/responsive-diagram.cjs.map +1 -0
- package/dist/components/responsive-diagram.d.cts +10 -0
- package/dist/components/responsive-diagram.d.ts +7 -7
- package/dist/components/responsive-diagram.js +50 -60
- package/dist/components/responsive-diagram.js.map +1 -1
- package/dist/components/scroll-area.cjs +46 -0
- package/dist/components/scroll-area.cjs.map +1 -0
- package/dist/components/scroll-area.d.cts +12 -0
- package/dist/components/scroll-area.d.ts +11 -11
- package/dist/components/scroll-area.js +35 -62
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.cjs +204 -0
- package/dist/components/select.cjs.map +1 -0
- package/dist/components/select.d.cts +47 -0
- package/dist/components/select.d.ts +38 -38
- package/dist/components/select.js +172 -269
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.cjs +23 -0
- package/dist/components/separator.cjs.map +1 -0
- package/dist/components/separator.d.cts +2 -0
- package/dist/components/separator.d.ts +2 -11
- package/dist/components/separator.js +14 -18
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.cjs +19 -0
- package/dist/components/sheet.d.cts +107 -0
- package/dist/components/sheet.d.ts +85 -90
- package/dist/components/sheet.js +3 -598
- package/dist/components/sidebar.cjs +29 -0
- package/dist/components/sidebar.d.cts +67 -0
- package/dist/components/sidebar.d.ts +63 -73
- package/dist/components/sidebar.js +3 -1215
- package/dist/components/skeleton.cjs +24 -0
- package/dist/components/skeleton.cjs.map +1 -0
- package/dist/components/skeleton.d.cts +11 -0
- package/dist/components/skeleton.d.ts +10 -6
- package/dist/components/skeleton.js +15 -10
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/sonner.cjs +23 -0
- package/dist/components/sonner.cjs.map +1 -0
- package/dist/components/sonner.d.cts +10 -0
- package/dist/components/sonner.d.ts +7 -7
- package/dist/components/sonner.js +17 -18
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/stack/index.cjs +44 -0
- package/dist/components/stack/index.d.cts +2 -0
- package/dist/components/stack/index.d.ts +2 -674
- package/dist/components/stack/index.js +3 -1444
- package/dist/components/stepper.cjs +160 -0
- package/dist/components/stepper.cjs.map +1 -0
- package/dist/components/stepper.d.cts +32 -0
- package/dist/components/stepper.d.ts +27 -25
- package/dist/components/stepper.js +133 -261
- package/dist/components/stepper.js.map +1 -1
- package/dist/components/switch.cjs +35 -0
- package/dist/components/switch.cjs.map +1 -0
- package/dist/components/switch.d.cts +8 -0
- package/dist/components/switch.d.ts +7 -7
- package/dist/components/switch.js +26 -34
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.cjs +85 -0
- package/dist/components/table.cjs.map +1 -0
- package/dist/components/table.d.cts +23 -0
- package/dist/components/table.d.ts +23 -15
- package/dist/components/table.js +56 -46
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.cjs +49 -0
- package/dist/components/tabs.cjs.map +1 -0
- package/dist/components/tabs.d.cts +10 -0
- package/dist/components/tabs.d.ts +9 -9
- package/dist/components/tabs.js +31 -36
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tags.cjs +132 -0
- package/dist/components/tags.cjs.map +1 -0
- package/dist/components/tags.d.cts +36 -0
- package/dist/components/tags.d.ts +24 -28
- package/dist/components/tags.js +114 -438
- package/dist/components/tags.js.map +1 -1
- package/dist/components/textarea.cjs +34 -0
- package/dist/components/textarea.cjs.map +1 -0
- package/dist/components/textarea.d.cts +10 -0
- package/dist/components/textarea.d.ts +8 -8
- package/dist/components/textarea.js +27 -48
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/toast/index.cjs +9 -0
- package/dist/components/toast/index.d.cts +2 -0
- package/dist/components/toast/index.d.ts +2 -52
- package/dist/components/toast/index.js +3 -623
- package/dist/components/tooltip.cjs +67 -0
- package/dist/components/tooltip.cjs.map +1 -0
- package/dist/components/tooltip.d.cts +2 -0
- package/dist/components/tooltip.d.ts +2 -29
- package/dist/components/tooltip.js +53 -166
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/unlink-button.cjs +24 -0
- package/dist/components/unlink-button.cjs.map +1 -0
- package/dist/components/unlink-button.d.cts +14 -0
- package/dist/components/unlink-button.d.ts +11 -11
- package/dist/components/unlink-button.js +18 -86
- package/dist/components/unlink-button.js.map +1 -1
- package/dist/form-DgRTv7O7.d.ts +54 -0
- package/dist/form-DoZEWSzb.d.cts +54 -0
- package/dist/index-CjA4CENl.d.cts +684 -0
- package/dist/index-CjA4CENl.d.ts +684 -0
- package/dist/index-UnM04j0t.d.cts +58 -0
- package/dist/index-UnM04j0t.d.ts +58 -0
- package/dist/index.cjs +408 -9346
- package/dist/index.d.cts +224 -2548
- package/dist/index.d.ts +224 -2548
- package/dist/index.js +65 -9022
- package/dist/input-CBrCuMH8.d.cts +11 -0
- package/dist/input-CBrCuMH8.d.ts +11 -0
- package/dist/motion-config-COCFHq1L.cjs +271 -0
- package/dist/motion-config-COCFHq1L.cjs.map +1 -0
- package/dist/motion-config-COsZ6azM.js +241 -0
- package/dist/motion-config-COsZ6azM.js.map +1 -0
- package/dist/record-picker-BbxngCeV.js +162 -0
- package/dist/record-picker-BbxngCeV.js.map +1 -0
- package/dist/record-picker-Bz4FApxD.cjs +167 -0
- package/dist/record-picker-Bz4FApxD.cjs.map +1 -0
- package/dist/rolldown-runtime-D_qnwXdH.cjs +35 -0
- package/dist/separator-BQEsr0Rc.d.cts +11 -0
- package/dist/separator-BQEsr0Rc.d.ts +11 -0
- package/dist/sheet-BLHnhLRH.js +425 -0
- package/dist/sheet-BLHnhLRH.js.map +1 -0
- package/dist/sheet-BdA0rfIz.cjs +515 -0
- package/dist/sheet-BdA0rfIz.cjs.map +1 -0
- package/dist/sidebar-CPy_fibW.cjs +608 -0
- package/dist/sidebar-CPy_fibW.cjs.map +1 -0
- package/dist/sidebar-Cfax0g0_.js +463 -0
- package/dist/sidebar-Cfax0g0_.js.map +1 -0
- package/dist/slot-C-jEfihz.cjs +122 -0
- package/dist/slot-C-jEfihz.cjs.map +1 -0
- package/dist/slot-EL8zfLG0.js +97 -0
- package/dist/slot-EL8zfLG0.js.map +1 -0
- package/dist/stack-DKdvlOM6.cjs +1771 -0
- package/dist/stack-DKdvlOM6.cjs.map +1 -0
- package/dist/stack-jMdxDrex.js +1531 -0
- package/dist/stack-jMdxDrex.js.map +1 -0
- package/dist/toast-D6MqijT2.cjs +316 -0
- package/dist/toast-D6MqijT2.cjs.map +1 -0
- package/dist/toast-D_BOLzm3.js +287 -0
- package/dist/toast-D_BOLzm3.js.map +1 -0
- package/dist/tooltip-CTRQoN1A.d.cts +29 -0
- package/dist/tooltip-CTRQoN1A.d.ts +29 -0
- package/dist/utils-BkMLyah9.js +12 -0
- package/dist/utils-BkMLyah9.js.map +1 -0
- package/dist/utils-CzTQ3-VI.cjs +17 -0
- package/dist/utils-CzTQ3-VI.cjs.map +1 -0
- package/package.json +288 -47
- package/src/styles/globals.css +155 -203
- package/dist/components/org-chart/index.d.ts +0 -54
- package/dist/components/org-chart/index.js +0 -861
- package/dist/components/org-chart/index.js.map +0 -1
- package/dist/components/record-picker.js.map +0 -1
- package/dist/components/sheet.js.map +0 -1
- package/dist/components/sidebar.js.map +0 -1
- package/dist/components/stack/index.js.map +0 -1
- package/dist/components/toast/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"switch.js","names":["SwitchPrimitive"],"sources":["../../src/components/switch.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Switch as SwitchPrimitive } from '@base-ui/react/switch';\n\nimport { cn } from '../lib/utils';\n\ntype SwitchProps = React.ComponentProps<typeof SwitchPrimitive.Root>;\n\nfunction Switch({ className, ...props }: SwitchProps) {\n\treturn (\n\t\t<SwitchPrimitive.Root\n\t\t\tdata-slot=\"switch\"\n\t\t\tclassName={cn(\n\t\t\t\t`peer relative inline-flex h-10 w-11 shrink-0 items-center justify-center outline-none\n\t\t\t\t\tbefore:pointer-events-none before:absolute before:left-1/2 before:top-1/2 before:h-[1.15rem]\n\t\t\t\t\tbefore:w-8 before:-translate-x-1/2 before:-translate-y-1/2 before:rounded-full before:border\n\t\t\t\t\tbefore:border-transparent before:bg-input before:shadow-xs before:transition-[background-color,box-shadow]\n\t\t\t\t\tdata-[checked]:before:bg-primary dark:data-[unchecked]:before:bg-input/80\n\t\t\t\t\tfocus-visible:before:border-ring focus-visible:before:ring-[3px] focus-visible:before:ring-ring/50\n\t\t\t\t\ttransition-transform duration-150 ease-out motion-safe:active:not-data-disabled:scale-[0.96]\n\t\t\t\t\tmotion-reduce:transition-none pointer-coarse:h-11 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<SwitchPrimitive.Thumb\n\t\t\t\tdata-slot=\"switch-thumb\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t`bg-background dark:data-[unchecked]:bg-foreground dark:data-[checked]:bg-primary-foreground\n\t\t\t\t\tpointer-events-none absolute left-[calc(50%-1rem)] top-1/2 block size-4 -translate-y-1/2 rounded-full ring-0 transition-transform\n\t\t\t\t\tdata-[checked]:translate-x-[calc(100%-2px)] data-[unchecked]:translate-x-0`,\n\t\t\t\t)}\n\t\t\t/>\n\t\t</SwitchPrimitive.Root>\n\t);\n}\n\nexport { Switch };\nexport type { SwitchProps };\n"],"mappings":";;;;;;;;AASA,SAAS,OAAO,EAAE,WAAW,GAAG,SAAsB;CACrD,OACC,oBAACA,SAAgB,MAAjB;EACC,aAAU;EACV,WAAW,GACV;;;;;;;uHAQA,SACD;EACA,GAAI;YAEJ,oBAACA,SAAgB,OAAjB;GACC,aAAU;GACV,WAAW,GACV;;gFAGD;EACA;CACoB;AAExB"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
|
+
const require_rolldown_runtime = require('../rolldown-runtime-D_qnwXdH.cjs');
|
|
4
|
+
const require_utils = require('../utils-CzTQ3-VI.cjs');
|
|
5
|
+
let react = require("react");
|
|
6
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
|
|
9
|
+
//#region src/components/table.tsx
|
|
10
|
+
/**
|
|
11
|
+
* Semantic table primitives. `Table` wraps the native element in an overflow
|
|
12
|
+
* container so wide content scrolls without breaking page layout.
|
|
13
|
+
*/
|
|
14
|
+
function Table({ className, containerClassName, containerProps, ...props }) {
|
|
15
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
16
|
+
"data-slot": "table-container",
|
|
17
|
+
...containerProps,
|
|
18
|
+
className: require_utils.cn("relative w-full overflow-x-auto", containerClassName),
|
|
19
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
|
|
20
|
+
"data-slot": "table",
|
|
21
|
+
className: require_utils.cn("w-full caption-bottom text-sm", className),
|
|
22
|
+
...props
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function TableHeader({ className, ...props }) {
|
|
27
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
|
|
28
|
+
"data-slot": "table-header",
|
|
29
|
+
className: require_utils.cn("bg-muted/35 [&_tr]:border-b [&_tr]:hover:bg-transparent [&_tr]:data-[state=selected]:bg-transparent", className),
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function TableBody({ className, ...props }) {
|
|
34
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
|
|
35
|
+
"data-slot": "table-body",
|
|
36
|
+
className: require_utils.cn("[&_tr:last-child]:border-0", className),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function TableFooter({ className, ...props }) {
|
|
41
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
|
|
42
|
+
"data-slot": "table-footer",
|
|
43
|
+
className: require_utils.cn("border-t border-border/60 bg-muted/30 font-medium", "[&>tr]:border-b-0 [&>tr]:hover:bg-transparent", className),
|
|
44
|
+
...props
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function TableRow({ className, ...props }) {
|
|
48
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
|
|
49
|
+
"data-slot": "table-row",
|
|
50
|
+
className: require_utils.cn("border-b border-border/60", "transition-colors duration-150 ease-out", "hover:bg-muted/40 data-[state=selected]:bg-muted", className),
|
|
51
|
+
...props
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function TableHead({ className, ...props }) {
|
|
55
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
56
|
+
"data-slot": "table-head",
|
|
57
|
+
className: require_utils.cn("h-11 px-4 text-left align-middle text-xs font-medium tracking-wide text-muted-foreground", "whitespace-nowrap", "[&:has([role=checkbox])]:w-px [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px", className),
|
|
58
|
+
...props
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function TableCell({ className, ...props }) {
|
|
62
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
63
|
+
"data-slot": "table-cell",
|
|
64
|
+
className: require_utils.cn("px-4 py-3 align-middle whitespace-nowrap", "[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px", className),
|
|
65
|
+
...props
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function TableCaption({ className, ...props }) {
|
|
69
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
|
|
70
|
+
"data-slot": "table-caption",
|
|
71
|
+
className: require_utils.cn("mt-3 text-pretty text-sm text-muted-foreground", className),
|
|
72
|
+
...props
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
exports.Table = Table;
|
|
78
|
+
exports.TableBody = TableBody;
|
|
79
|
+
exports.TableCaption = TableCaption;
|
|
80
|
+
exports.TableCell = TableCell;
|
|
81
|
+
exports.TableFooter = TableFooter;
|
|
82
|
+
exports.TableHead = TableHead;
|
|
83
|
+
exports.TableHeader = TableHeader;
|
|
84
|
+
exports.TableRow = TableRow;
|
|
85
|
+
//# sourceMappingURL=table.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.cjs","names":["cn"],"sources":["../../src/components/table.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '../lib/utils';\n\ntype TableProps = React.ComponentProps<'table'> & {\n\t/** Classes for the horizontal scroll wrapper around the table */\n\tcontainerClassName?: string;\n\t/** Extra props for the scroll wrapper (e.g. ref, data attributes) */\n\tcontainerProps?: Omit<React.ComponentProps<'div'>, 'className' | 'children'>;\n};\n\n/**\n * Semantic table primitives. `Table` wraps the native element in an overflow\n * container so wide content scrolls without breaking page layout.\n */\nfunction Table({ className, containerClassName, containerProps, ...props }: TableProps) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"table-container\"\n\t\t\t{...containerProps}\n\t\t\tclassName={cn('relative w-full overflow-x-auto', containerClassName)}\n\t\t>\n\t\t\t<table\n\t\t\t\tdata-slot=\"table\"\n\t\t\t\tclassName={cn('w-full caption-bottom text-sm', className)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</div>\n\t);\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n\treturn (\n\t\t<thead\n\t\t\tdata-slot=\"table-header\"\n\t\t\tclassName={cn(\n\t\t\t\t// Quiet band under headers; kill row hover on thead\n\t\t\t\t'bg-muted/35 [&_tr]:border-b [&_tr]:hover:bg-transparent [&_tr]:data-[state=selected]:bg-transparent',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n\treturn (\n\t\t<tbody\n\t\t\tdata-slot=\"table-body\"\n\t\t\tclassName={cn('[&_tr:last-child]:border-0', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n\treturn (\n\t\t<tfoot\n\t\t\tdata-slot=\"table-footer\"\n\t\t\tclassName={cn(\n\t\t\t\t'border-t border-border/60 bg-muted/30 font-medium',\n\t\t\t\t'[&>tr]:border-b-0 [&>tr]:hover:bg-transparent',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n\treturn (\n\t\t<tr\n\t\t\tdata-slot=\"table-row\"\n\t\t\tclassName={cn(\n\t\t\t\t'border-b border-border/60',\n\t\t\t\t// Specific properties only — interruptible hover/selection\n\t\t\t\t'transition-colors duration-150 ease-out',\n\t\t\t\t'hover:bg-muted/40 data-[state=selected]:bg-muted',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n\treturn (\n\t\t<th\n\t\t\tdata-slot=\"table-head\"\n\t\t\tclassName={cn(\n\t\t\t\t'h-11 px-4 text-left align-middle text-xs font-medium tracking-wide text-muted-foreground',\n\t\t\t\t'whitespace-nowrap',\n\t\t\t\t'[&:has([role=checkbox])]:w-px [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n\treturn (\n\t\t<td\n\t\t\tdata-slot=\"table-cell\"\n\t\t\tclassName={cn(\n\t\t\t\t'px-4 py-3 align-middle whitespace-nowrap',\n\t\t\t\t'[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCaption({ className, ...props }: React.ComponentProps<'caption'>) {\n\treturn (\n\t\t<caption\n\t\t\tdata-slot=\"table-caption\"\n\t\t\tclassName={cn('mt-3 text-pretty text-sm text-muted-foreground', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport {\n\tTable,\n\tTableBody,\n\tTableCaption,\n\tTableCell,\n\tTableFooter,\n\tTableHead,\n\tTableHeader,\n\tTableRow,\n};\nexport type { TableProps };\n"],"mappings":";;;;;;;;;;;;;AAeA,SAAS,MAAM,EAAE,WAAW,oBAAoB,gBAAgB,GAAG,SAAqB;CACvF,OACC,2CAAC,OAAD;EACC,aAAU;EACV,GAAI;EACJ,WAAWA,iBAAG,mCAAmC,kBAAkB;YAEnE,2CAAC,SAAD;GACC,aAAU;GACV,WAAWA,iBAAG,iCAAiC,SAAS;GACxD,GAAI;EACJ;CACG;AAEP;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;CAC5E,OACC,2CAAC,SAAD;EACC,aAAU;EACV,WAAWA,iBAEV,uGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAwC;CAC1E,OACC,2CAAC,SAAD;EACC,aAAU;EACV,WAAWA,iBAAG,8BAA8B,SAAS;EACrD,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;CAC5E,OACC,2CAAC,SAAD;EACC,aAAU;EACV,WAAWA,iBACV,qDACA,iDACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAAqC;CACtE,OACC,2CAAC,MAAD;EACC,aAAU;EACV,WAAWA,iBACV,6BAEA,2CACA,oDACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;CACvE,OACC,2CAAC,MAAD;EACC,aAAU;EACV,WAAWA,iBACV,4FACA,qBACA,kGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;CACvE,OACC,2CAAC,MAAD;EACC,aAAU;EACV,WAAWA,iBACV,4CACA,oEACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAA0C;CAC/E,OACC,2CAAC,WAAD;EACC,aAAU;EACV,WAAWA,iBAAG,kDAAkD,SAAS;EACzE,GAAI;CACJ;AAEH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
//#region src/components/table.d.ts
|
|
3
|
+
type TableProps = React$1.ComponentProps<'table'> & {
|
|
4
|
+
/** Classes for the horizontal scroll wrapper around the table */
|
|
5
|
+
containerClassName?: string;
|
|
6
|
+
/** Extra props for the scroll wrapper (e.g. ref, data attributes) */
|
|
7
|
+
containerProps?: Omit<React$1.ComponentProps<'div'>, 'className' | 'children'>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Semantic table primitives. `Table` wraps the native element in an overflow
|
|
11
|
+
* container so wide content scrolls without breaking page layout.
|
|
12
|
+
*/
|
|
13
|
+
declare function Table({ className, containerClassName, containerProps, ...props }: TableProps): React$1.JSX.Element;
|
|
14
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<'thead'>): React$1.JSX.Element;
|
|
15
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<'tbody'>): React$1.JSX.Element;
|
|
16
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<'tfoot'>): React$1.JSX.Element;
|
|
17
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<'tr'>): React$1.JSX.Element;
|
|
18
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<'th'>): React$1.JSX.Element;
|
|
19
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<'td'>): React$1.JSX.Element;
|
|
20
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<'caption'>): React$1.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow };
|
|
23
|
+
//# sourceMappingURL=table.d.cts.map
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare function
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
//#region src/components/table.d.ts
|
|
3
|
+
type TableProps = React$1.ComponentProps<'table'> & {
|
|
4
|
+
/** Classes for the horizontal scroll wrapper around the table */
|
|
5
|
+
containerClassName?: string;
|
|
6
|
+
/** Extra props for the scroll wrapper (e.g. ref, data attributes) */
|
|
7
|
+
containerProps?: Omit<React$1.ComponentProps<'div'>, 'className' | 'children'>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Semantic table primitives. `Table` wraps the native element in an overflow
|
|
11
|
+
* container so wide content scrolls without breaking page layout.
|
|
12
|
+
*/
|
|
13
|
+
declare function Table({ className, containerClassName, containerProps, ...props }: TableProps): React$1.JSX.Element;
|
|
14
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<'thead'>): React$1.JSX.Element;
|
|
15
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<'tbody'>): React$1.JSX.Element;
|
|
16
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<'tfoot'>): React$1.JSX.Element;
|
|
17
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<'tr'>): React$1.JSX.Element;
|
|
18
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<'th'>): React$1.JSX.Element;
|
|
19
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<'td'>): React$1.JSX.Element;
|
|
20
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<'caption'>): React$1.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow };
|
|
23
|
+
//# sourceMappingURL=table.d.ts.map
|
package/dist/components/table.js
CHANGED
|
@@ -1,65 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { jsx } from
|
|
1
|
+
'use client';
|
|
2
|
+
import { t as cn } from "../utils-BkMLyah9.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
//#region src/components/table.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Semantic table primitives. `Table` wraps the native element in an overflow
|
|
9
|
+
* container so wide content scrolls without breaking page layout.
|
|
10
|
+
*/
|
|
11
|
+
function Table({ className, containerClassName, containerProps, ...props }) {
|
|
12
|
+
return /* @__PURE__ */ jsx("div", {
|
|
13
|
+
"data-slot": "table-container",
|
|
14
|
+
...containerProps,
|
|
15
|
+
className: cn("relative w-full overflow-x-auto", containerClassName),
|
|
16
|
+
children: /* @__PURE__ */ jsx("table", {
|
|
17
|
+
"data-slot": "table",
|
|
18
|
+
className: cn("w-full caption-bottom text-sm", className),
|
|
19
|
+
...props
|
|
20
|
+
})
|
|
21
|
+
});
|
|
15
22
|
}
|
|
16
23
|
function TableHeader({ className, ...props }) {
|
|
17
|
-
|
|
24
|
+
return /* @__PURE__ */ jsx("thead", {
|
|
25
|
+
"data-slot": "table-header",
|
|
26
|
+
className: cn("bg-muted/35 [&_tr]:border-b [&_tr]:hover:bg-transparent [&_tr]:data-[state=selected]:bg-transparent", className),
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
18
29
|
}
|
|
19
30
|
function TableBody({ className, ...props }) {
|
|
20
|
-
|
|
31
|
+
return /* @__PURE__ */ jsx("tbody", {
|
|
32
|
+
"data-slot": "table-body",
|
|
33
|
+
className: cn("[&_tr:last-child]:border-0", className),
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
21
36
|
}
|
|
22
37
|
function TableFooter({ className, ...props }) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
...props
|
|
29
|
-
}
|
|
30
|
-
);
|
|
38
|
+
return /* @__PURE__ */ jsx("tfoot", {
|
|
39
|
+
"data-slot": "table-footer",
|
|
40
|
+
className: cn("border-t border-border/60 bg-muted/30 font-medium", "[&>tr]:border-b-0 [&>tr]:hover:bg-transparent", className),
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
31
43
|
}
|
|
32
44
|
function TableRow({ className, ...props }) {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
...props
|
|
39
|
-
}
|
|
40
|
-
);
|
|
45
|
+
return /* @__PURE__ */ jsx("tr", {
|
|
46
|
+
"data-slot": "table-row",
|
|
47
|
+
className: cn("border-b border-border/60", "transition-colors duration-150 ease-out", "hover:bg-muted/40 data-[state=selected]:bg-muted", className),
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
41
50
|
}
|
|
42
51
|
function TableHead({ className, ...props }) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
`text-muted-foreground h-12 px-3 text-left align-middle font-medium has-[role=checkbox]:w-px
|
|
49
|
-
[&:has([role=checkbox])]:pr-0`,
|
|
50
|
-
className
|
|
51
|
-
),
|
|
52
|
-
...props
|
|
53
|
-
}
|
|
54
|
-
);
|
|
52
|
+
return /* @__PURE__ */ jsx("th", {
|
|
53
|
+
"data-slot": "table-head",
|
|
54
|
+
className: cn("h-11 px-4 text-left align-middle text-xs font-medium tracking-wide text-muted-foreground", "whitespace-nowrap", "[&:has([role=checkbox])]:w-px [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px", className),
|
|
55
|
+
...props
|
|
56
|
+
});
|
|
55
57
|
}
|
|
56
58
|
function TableCell({ className, ...props }) {
|
|
57
|
-
|
|
59
|
+
return /* @__PURE__ */ jsx("td", {
|
|
60
|
+
"data-slot": "table-cell",
|
|
61
|
+
className: cn("px-4 py-3 align-middle whitespace-nowrap", "[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px", className),
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
58
64
|
}
|
|
59
65
|
function TableCaption({ className, ...props }) {
|
|
60
|
-
|
|
66
|
+
return /* @__PURE__ */ jsx("caption", {
|
|
67
|
+
"data-slot": "table-caption",
|
|
68
|
+
className: cn("mt-3 text-pretty text-sm text-muted-foreground", className),
|
|
69
|
+
...props
|
|
70
|
+
});
|
|
61
71
|
}
|
|
62
72
|
|
|
73
|
+
//#endregion
|
|
63
74
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
64
|
-
//# sourceMappingURL=table.js.map
|
|
65
75
|
//# sourceMappingURL=table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"table.js","names":[],"sources":["../../src/components/table.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '../lib/utils';\n\ntype TableProps = React.ComponentProps<'table'> & {\n\t/** Classes for the horizontal scroll wrapper around the table */\n\tcontainerClassName?: string;\n\t/** Extra props for the scroll wrapper (e.g. ref, data attributes) */\n\tcontainerProps?: Omit<React.ComponentProps<'div'>, 'className' | 'children'>;\n};\n\n/**\n * Semantic table primitives. `Table` wraps the native element in an overflow\n * container so wide content scrolls without breaking page layout.\n */\nfunction Table({ className, containerClassName, containerProps, ...props }: TableProps) {\n\treturn (\n\t\t<div\n\t\t\tdata-slot=\"table-container\"\n\t\t\t{...containerProps}\n\t\t\tclassName={cn('relative w-full overflow-x-auto', containerClassName)}\n\t\t>\n\t\t\t<table\n\t\t\t\tdata-slot=\"table\"\n\t\t\t\tclassName={cn('w-full caption-bottom text-sm', className)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</div>\n\t);\n}\n\nfunction TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n\treturn (\n\t\t<thead\n\t\t\tdata-slot=\"table-header\"\n\t\t\tclassName={cn(\n\t\t\t\t// Quiet band under headers; kill row hover on thead\n\t\t\t\t'bg-muted/35 [&_tr]:border-b [&_tr]:hover:bg-transparent [&_tr]:data-[state=selected]:bg-transparent',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n\treturn (\n\t\t<tbody\n\t\t\tdata-slot=\"table-body\"\n\t\t\tclassName={cn('[&_tr:last-child]:border-0', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n\treturn (\n\t\t<tfoot\n\t\t\tdata-slot=\"table-footer\"\n\t\t\tclassName={cn(\n\t\t\t\t'border-t border-border/60 bg-muted/30 font-medium',\n\t\t\t\t'[&>tr]:border-b-0 [&>tr]:hover:bg-transparent',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n\treturn (\n\t\t<tr\n\t\t\tdata-slot=\"table-row\"\n\t\t\tclassName={cn(\n\t\t\t\t'border-b border-border/60',\n\t\t\t\t// Specific properties only — interruptible hover/selection\n\t\t\t\t'transition-colors duration-150 ease-out',\n\t\t\t\t'hover:bg-muted/40 data-[state=selected]:bg-muted',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableHead({ className, ...props }: React.ComponentProps<'th'>) {\n\treturn (\n\t\t<th\n\t\t\tdata-slot=\"table-head\"\n\t\t\tclassName={cn(\n\t\t\t\t'h-11 px-4 text-left align-middle text-xs font-medium tracking-wide text-muted-foreground',\n\t\t\t\t'whitespace-nowrap',\n\t\t\t\t'[&:has([role=checkbox])]:w-px [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCell({ className, ...props }: React.ComponentProps<'td'>) {\n\treturn (\n\t\t<td\n\t\t\tdata-slot=\"table-cell\"\n\t\t\tclassName={cn(\n\t\t\t\t'px-4 py-3 align-middle whitespace-nowrap',\n\t\t\t\t'[&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-px',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TableCaption({ className, ...props }: React.ComponentProps<'caption'>) {\n\treturn (\n\t\t<caption\n\t\t\tdata-slot=\"table-caption\"\n\t\t\tclassName={cn('mt-3 text-pretty text-sm text-muted-foreground', className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport {\n\tTable,\n\tTableBody,\n\tTableCaption,\n\tTableCell,\n\tTableFooter,\n\tTableHead,\n\tTableHeader,\n\tTableRow,\n};\nexport type { TableProps };\n"],"mappings":";;;;;;;;;;AAeA,SAAS,MAAM,EAAE,WAAW,oBAAoB,gBAAgB,GAAG,SAAqB;CACvF,OACC,oBAAC,OAAD;EACC,aAAU;EACV,GAAI;EACJ,WAAW,GAAG,mCAAmC,kBAAkB;YAEnE,oBAAC,SAAD;GACC,aAAU;GACV,WAAW,GAAG,iCAAiC,SAAS;GACxD,GAAI;EACJ;CACG;AAEP;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;CAC5E,OACC,oBAAC,SAAD;EACC,aAAU;EACV,WAAW,GAEV,uGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAwC;CAC1E,OACC,oBAAC,SAAD;EACC,aAAU;EACV,WAAW,GAAG,8BAA8B,SAAS;EACrD,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAwC;CAC5E,OACC,oBAAC,SAAD;EACC,aAAU;EACV,WAAW,GACV,qDACA,iDACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAAqC;CACtE,OACC,oBAAC,MAAD;EACC,aAAU;EACV,WAAW,GACV,6BAEA,2CACA,oDACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;CACvE,OACC,oBAAC,MAAD;EACC,aAAU;EACV,WAAW,GACV,4FACA,qBACA,kGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,UAAU,EAAE,WAAW,GAAG,SAAqC;CACvE,OACC,oBAAC,MAAD;EACC,aAAU;EACV,WAAW,GACV,4CACA,oEACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAA0C;CAC/E,OACC,oBAAC,WAAD;EACC,aAAU;EACV,WAAW,GAAG,kDAAkD,SAAS;EACzE,GAAI;CACJ;AAEH"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
const require_rolldown_runtime = require('../rolldown-runtime-D_qnwXdH.cjs');
|
|
5
|
+
const require_utils = require('../utils-CzTQ3-VI.cjs');
|
|
6
|
+
let react = require("react");
|
|
7
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let _base_ui_react_tabs = require("@base-ui/react/tabs");
|
|
10
|
+
|
|
11
|
+
//#region src/components/tabs.tsx
|
|
12
|
+
function Tabs({ className, ...props }) {
|
|
13
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react_tabs.Tabs.Root, {
|
|
14
|
+
"data-slot": "tabs",
|
|
15
|
+
className: require_utils.cn("flex flex-col gap-2", className),
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function TabsList({ className, ...props }) {
|
|
20
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react_tabs.Tabs.List, {
|
|
21
|
+
"data-slot": "tabs-list",
|
|
22
|
+
className: require_utils.cn("bg-muted text-muted-foreground/70 inline-flex w-fit items-center justify-center rounded-md p-0.5", className),
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function TabsTrigger({ className, ...props }) {
|
|
27
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react_tabs.Tabs.Tab, {
|
|
28
|
+
"data-slot": "tabs-trigger",
|
|
29
|
+
className: require_utils.cn(`hover:text-muted-foreground data-[active]:bg-background data-[active]:text-foreground
|
|
30
|
+
focus-visible:border-ring focus-visible:ring-ring/50 inline-flex min-h-10 min-w-10 items-center justify-center rounded-[calc(var(--radius-md)-2px)] px-3
|
|
31
|
+
text-sm font-medium whitespace-nowrap transition-[color,background-color,box-shadow] outline-none pointer-coarse:min-h-11 focus-visible:ring-[3px]
|
|
32
|
+
data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[active]:shadow-xs [&_svg]:shrink-0`, className),
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function TabsContent({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react_tabs.Tabs.Panel, {
|
|
38
|
+
"data-slot": "tabs-content",
|
|
39
|
+
className: require_utils.cn("flex-1 outline-none", className),
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
exports.Tabs = Tabs;
|
|
46
|
+
exports.TabsContent = TabsContent;
|
|
47
|
+
exports.TabsList = TabsList;
|
|
48
|
+
exports.TabsTrigger = TabsTrigger;
|
|
49
|
+
//# sourceMappingURL=tabs.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.cjs","names":["TabsPrimitive","cn"],"sources":["../../src/components/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Tabs as TabsPrimitive } from '@base-ui/react/tabs';\n\nimport { cn } from '../lib/utils';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n\treturn <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n\treturn (\n\t\t<TabsPrimitive.List\n\t\t\tdata-slot=\"tabs-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'bg-muted text-muted-foreground/70 inline-flex w-fit items-center justify-center rounded-md p-0.5',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Tab>) {\n\treturn (\n\t\t<TabsPrimitive.Tab\n\t\t\tdata-slot=\"tabs-trigger\"\n\t\t\tclassName={cn(\n\t\t\t\t`hover:text-muted-foreground data-[active]:bg-background data-[active]:text-foreground\n\t\t\t\t\tfocus-visible:border-ring focus-visible:ring-ring/50 inline-flex min-h-10 min-w-10 items-center justify-center rounded-[calc(var(--radius-md)-2px)] px-3\n\t\t\t\t\ttext-sm font-medium whitespace-nowrap transition-[color,background-color,box-shadow] outline-none pointer-coarse:min-h-11 focus-visible:ring-[3px]\n\t\t\t\tdata-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[active]:shadow-xs [&_svg]:shrink-0`,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Panel>) {\n\treturn <TabsPrimitive.Panel data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":";;;;;;;;;;;AAOA,SAAS,KAAK,EAAE,WAAW,GAAG,SAA0D;CACvF,OAAO,2CAACA,yBAAc,MAAf;EAAoB,aAAU;EAAO,WAAWC,iBAAG,uBAAuB,SAAS;EAAG,GAAI;CAAQ;AAC1G;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA0D;CAC3F,OACC,2CAACD,yBAAc,MAAf;EACC,aAAU;EACV,WAAWC,iBACV,oGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAyD;CAC7F,OACC,2CAACD,yBAAc,KAAf;EACC,aAAU;EACV,WAAWC,iBACV;;;8GAIA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAA2D;CAC/F,OAAO,2CAACD,yBAAc,OAAf;EAAqB,aAAU;EAAe,WAAWC,iBAAG,uBAAuB,SAAS;EAAG,GAAI;CAAQ;AACnH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
3
|
+
//#region src/components/tabs.d.ts
|
|
4
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): React$1.JSX.Element;
|
|
5
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.List>): React$1.JSX.Element;
|
|
6
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Tab>): React$1.JSX.Element;
|
|
7
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Panel>): React$1.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
10
|
+
//# sourceMappingURL=tabs.d.cts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
3
|
+
//#region src/components/tabs.d.ts
|
|
4
|
+
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): React$1.JSX.Element;
|
|
5
|
+
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.List>): React$1.JSX.Element;
|
|
6
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Tab>): React$1.JSX.Element;
|
|
7
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Panel>): React$1.JSX.Element;
|
|
8
|
+
//#endregion
|
|
10
9
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
10
|
+
//# sourceMappingURL=tabs.d.ts.map
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,48 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
3
|
-
import { clsx } from 'clsx';
|
|
4
|
-
import { twMerge } from 'tailwind-merge';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
1
|
+
'use client';
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
3
|
+
import { t as cn } from "../utils-BkMLyah9.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
7
|
+
|
|
8
|
+
//#region src/components/tabs.tsx
|
|
10
9
|
function Tabs({ className, ...props }) {
|
|
11
|
-
|
|
10
|
+
return /* @__PURE__ */ jsx(Tabs$1.Root, {
|
|
11
|
+
"data-slot": "tabs",
|
|
12
|
+
className: cn("flex flex-col gap-2", className),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
12
15
|
}
|
|
13
16
|
function TabsList({ className, ...props }) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"bg-muted text-muted-foreground/70 inline-flex w-fit items-center justify-center rounded-md p-0.5",
|
|
20
|
-
className
|
|
21
|
-
),
|
|
22
|
-
...props
|
|
23
|
-
}
|
|
24
|
-
);
|
|
17
|
+
return /* @__PURE__ */ jsx(Tabs$1.List, {
|
|
18
|
+
"data-slot": "tabs-list",
|
|
19
|
+
className: cn("bg-muted text-muted-foreground/70 inline-flex w-fit items-center justify-center rounded-md p-0.5", className),
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
25
22
|
}
|
|
26
23
|
function TabsTrigger({ className, ...props }) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[active]:shadow-xs [&_svg]:shrink-0`,
|
|
36
|
-
className
|
|
37
|
-
),
|
|
38
|
-
...props
|
|
39
|
-
}
|
|
40
|
-
);
|
|
24
|
+
return /* @__PURE__ */ jsx(Tabs$1.Tab, {
|
|
25
|
+
"data-slot": "tabs-trigger",
|
|
26
|
+
className: cn(`hover:text-muted-foreground data-[active]:bg-background data-[active]:text-foreground
|
|
27
|
+
focus-visible:border-ring focus-visible:ring-ring/50 inline-flex min-h-10 min-w-10 items-center justify-center rounded-[calc(var(--radius-md)-2px)] px-3
|
|
28
|
+
text-sm font-medium whitespace-nowrap transition-[color,background-color,box-shadow] outline-none pointer-coarse:min-h-11 focus-visible:ring-[3px]
|
|
29
|
+
data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[active]:shadow-xs [&_svg]:shrink-0`, className),
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
41
32
|
}
|
|
42
33
|
function TabsContent({ className, ...props }) {
|
|
43
|
-
|
|
34
|
+
return /* @__PURE__ */ jsx(Tabs$1.Panel, {
|
|
35
|
+
"data-slot": "tabs-content",
|
|
36
|
+
className: cn("flex-1 outline-none", className),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
44
39
|
}
|
|
45
40
|
|
|
41
|
+
//#endregion
|
|
46
42
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
47
|
-
//# sourceMappingURL=tabs.js.map
|
|
48
43
|
//# sourceMappingURL=tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"tabs.js","names":["TabsPrimitive"],"sources":["../../src/components/tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Tabs as TabsPrimitive } from '@base-ui/react/tabs';\n\nimport { cn } from '../lib/utils';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n\treturn <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n\treturn (\n\t\t<TabsPrimitive.List\n\t\t\tdata-slot=\"tabs-list\"\n\t\t\tclassName={cn(\n\t\t\t\t'bg-muted text-muted-foreground/70 inline-flex w-fit items-center justify-center rounded-md p-0.5',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Tab>) {\n\treturn (\n\t\t<TabsPrimitive.Tab\n\t\t\tdata-slot=\"tabs-trigger\"\n\t\t\tclassName={cn(\n\t\t\t\t`hover:text-muted-foreground data-[active]:bg-background data-[active]:text-foreground\n\t\t\t\t\tfocus-visible:border-ring focus-visible:ring-ring/50 inline-flex min-h-10 min-w-10 items-center justify-center rounded-[calc(var(--radius-md)-2px)] px-3\n\t\t\t\t\ttext-sm font-medium whitespace-nowrap transition-[color,background-color,box-shadow] outline-none pointer-coarse:min-h-11 focus-visible:ring-[3px]\n\t\t\t\tdata-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[active]:shadow-xs [&_svg]:shrink-0`,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Panel>) {\n\treturn <TabsPrimitive.Panel data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":";;;;;;;;AAOA,SAAS,KAAK,EAAE,WAAW,GAAG,SAA0D;CACvF,OAAO,oBAACA,OAAc,MAAf;EAAoB,aAAU;EAAO,WAAW,GAAG,uBAAuB,SAAS;EAAG,GAAI;CAAQ;AAC1G;AAEA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA0D;CAC3F,OACC,oBAACA,OAAc,MAAf;EACC,aAAU;EACV,WAAW,GACV,oGACA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAAyD;CAC7F,OACC,oBAACA,OAAc,KAAf;EACC,aAAU;EACV,WAAW,GACV;;;8GAIA,SACD;EACA,GAAI;CACJ;AAEH;AAEA,SAAS,YAAY,EAAE,WAAW,GAAG,SAA2D;CAC/F,OAAO,oBAACA,OAAc,OAAf;EAAqB,aAAU;EAAe,WAAW,GAAG,uBAAuB,SAAS;EAAG,GAAI;CAAQ;AACnH"}
|