@constructive-io/ui 0.6.0 → 0.8.0
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/button-D4vqTxhp.d.cts +20 -0
- package/dist/button-D4vqTxhp.d.ts +20 -0
- package/dist/components/alert-dialog.cjs +98 -302
- package/dist/components/alert-dialog.cjs.map +1 -1
- package/dist/components/alert-dialog.d.cts +22 -21
- package/dist/components/alert-dialog.d.ts +22 -21
- package/dist/components/alert-dialog.js +96 -281
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.cjs +51 -108
- package/dist/components/alert.cjs.map +1 -1
- package/dist/components/alert.d.cts +13 -13
- package/dist/components/alert.d.ts +13 -13
- package/dist/components/alert.js +49 -87
- package/dist/components/alert.js.map +1 -1
- package/dist/components/app-bar.cjs +73 -359
- package/dist/components/app-bar.cjs.map +1 -1
- package/dist/components/app-bar.d.cts +21 -20
- package/dist/components/app-bar.d.ts +21 -20
- package/dist/components/app-bar.js +71 -338
- package/dist/components/app-bar.js.map +1 -1
- package/dist/components/app-shell.cjs +252 -1777
- package/dist/components/app-shell.cjs.map +1 -1
- package/dist/components/app-shell.d.cts +77 -85
- package/dist/components/app-shell.d.ts +77 -85
- package/dist/components/app-shell.js +249 -1756
- package/dist/components/app-shell.js.map +1 -1
- package/dist/components/autocomplete.cjs +146 -397
- package/dist/components/autocomplete.cjs.map +1 -1
- package/dist/components/autocomplete.d.cts +24 -24
- package/dist/components/autocomplete.d.ts +24 -24
- package/dist/components/autocomplete.js +146 -376
- package/dist/components/autocomplete.js.map +1 -1
- package/dist/components/avatar.cjs +26 -38
- package/dist/components/avatar.cjs.map +1 -1
- package/dist/components/avatar.d.cts +11 -10
- package/dist/components/avatar.d.ts +11 -10
- package/dist/components/avatar.js +24 -37
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.cjs +42 -60
- package/dist/components/badge.cjs.map +1 -1
- package/dist/components/badge.d.cts +13 -13
- 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 +65 -94
- package/dist/components/breadcrumb.cjs.map +1 -1
- package/dist/components/breadcrumb.d.cts +14 -13
- package/dist/components/breadcrumb.d.ts +14 -13
- package/dist/components/breadcrumb.js +63 -73
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button.cjs +68 -162
- package/dist/components/button.cjs.map +1 -1
- package/dist/components/button.d.cts +2 -20
- package/dist/components/button.d.ts +2 -20
- package/dist/components/button.js +65 -140
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-rac.cjs +49 -62
- package/dist/components/calendar-rac.cjs.map +1 -1
- package/dist/components/calendar-rac.d.cts +8 -8
- 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 +61 -74
- package/dist/components/card.cjs.map +1 -1
- package/dist/components/card.d.cts +15 -16
- package/dist/components/card.d.ts +15 -16
- package/dist/components/card.js +58 -72
- package/dist/components/card.js.map +1 -1
- package/dist/components/checkbox-group.cjs +12 -11
- package/dist/components/checkbox-group.cjs.map +1 -1
- package/dist/components/checkbox-group.d.cts +5 -5
- 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 +60 -114
- package/dist/components/checkbox.cjs.map +1 -1
- package/dist/components/checkbox.d.cts +6 -6
- package/dist/components/checkbox.d.ts +6 -6
- package/dist/components/checkbox.js +58 -93
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.cjs +76 -113
- package/dist/components/collapsible.cjs.map +1 -1
- package/dist/components/collapsible.d.cts +16 -15
- package/dist/components/collapsible.d.ts +16 -15
- package/dist/components/collapsible.js +74 -92
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/combobox.cjs +213 -507
- package/dist/components/combobox.cjs.map +1 -1
- package/dist/components/combobox.d.cts +36 -35
- package/dist/components/combobox.d.ts +36 -35
- package/dist/components/combobox.js +229 -504
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.cjs +102 -199
- package/dist/components/command.cjs.map +1 -1
- package/dist/components/command.d.cts +22 -21
- package/dist/components/command.d.ts +22 -21
- package/dist/components/command.js +100 -198
- package/dist/components/command.js.map +1 -1
- package/dist/components/dialog.cjs +110 -402
- package/dist/components/dialog.cjs.map +1 -1
- package/dist/components/dialog.d.cts +27 -26
- package/dist/components/dialog.d.ts +27 -26
- package/dist/components/dialog.js +107 -380
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dock.cjs +80 -111
- package/dist/components/dock.cjs.map +1 -1
- package/dist/components/dock.d.cts +25 -25
- package/dist/components/dock.d.ts +25 -25
- package/dist/components/dock.js +78 -106
- package/dist/components/dock.js.map +1 -1
- package/dist/components/drawer.cjs +77 -111
- package/dist/components/drawer.cjs.map +1 -1
- package/dist/components/drawer.d.cts +15 -14
- package/dist/components/drawer.d.ts +15 -14
- package/dist/components/drawer.js +75 -90
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.cjs +163 -238
- package/dist/components/dropdown-menu.cjs.map +1 -1
- package/dist/components/dropdown-menu.d.cts +44 -43
- package/dist/components/dropdown-menu.d.ts +44 -43
- package/dist/components/dropdown-menu.js +161 -217
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.cjs +51 -85
- package/dist/components/empty.cjs.map +1 -1
- package/dist/components/empty.d.cts +13 -13
- package/dist/components/empty.d.ts +13 -13
- package/dist/components/empty.js +48 -83
- package/dist/components/empty.js.map +1 -1
- package/dist/components/field.cjs +150 -259
- package/dist/components/field.cjs.map +1 -1
- package/dist/components/field.d.cts +39 -39
- package/dist/components/field.d.ts +39 -39
- package/dist/components/field.js +148 -238
- package/dist/components/field.js.map +1 -1
- package/dist/components/flickering-grid.cjs +143 -166
- package/dist/components/flickering-grid.cjs.map +1 -1
- package/dist/components/flickering-grid.d.cts +14 -13
- package/dist/components/flickering-grid.d.ts +14 -13
- package/dist/components/flickering-grid.js +141 -161
- package/dist/components/flickering-grid.js.map +1 -1
- package/dist/components/flow-zoom-panel.cjs +56 -188
- package/dist/components/flow-zoom-panel.cjs.map +1 -1
- package/dist/components/flow-zoom-panel.d.cts +9 -9
- package/dist/components/flow-zoom-panel.d.ts +9 -9
- package/dist/components/flow-zoom-panel.js +56 -168
- package/dist/components/flow-zoom-panel.js.map +1 -1
- package/dist/components/form-control.cjs +58 -186
- package/dist/components/form-control.cjs.map +1 -1
- package/dist/components/form-control.d.cts +11 -10
- package/dist/components/form-control.d.ts +11 -10
- package/dist/components/form-control.js +56 -165
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/form.cjs +78 -184
- package/dist/components/form.cjs.map +1 -1
- package/dist/components/form.d.cts +2 -36
- package/dist/components/form.d.ts +2 -36
- package/dist/components/form.js +76 -163
- package/dist/components/form.js.map +1 -1
- package/dist/components/input-group.cjs +51 -165
- package/dist/components/input-group.cjs.map +1 -1
- package/dist/components/input-group.d.cts +14 -15
- package/dist/components/input-group.d.ts +14 -15
- package/dist/components/input-group.js +51 -164
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/input.cjs +30 -55
- package/dist/components/input.cjs.map +1 -1
- package/dist/components/input.d.cts +2 -10
- package/dist/components/input.d.ts +2 -10
- package/dist/components/input.js +30 -54
- package/dist/components/input.js.map +1 -1
- package/dist/components/json-input.cjs +133 -337
- package/dist/components/json-input.cjs.map +1 -1
- package/dist/components/json-input.d.cts +20 -19
- package/dist/components/json-input.d.ts +20 -19
- package/dist/components/json-input.js +132 -317
- package/dist/components/json-input.js.map +1 -1
- package/dist/components/label.cjs +19 -21
- package/dist/components/label.cjs.map +1 -1
- package/dist/components/label.d.cts +6 -5
- package/dist/components/label.d.ts +6 -5
- package/dist/components/label.js +17 -20
- package/dist/components/label.js.map +1 -1
- package/dist/components/motion-grid.cjs +61 -101
- package/dist/components/motion-grid.cjs.map +1 -1
- package/dist/components/motion-grid.d.cts +15 -14
- package/dist/components/motion-grid.d.ts +15 -14
- package/dist/components/motion-grid.js +59 -80
- package/dist/components/motion-grid.js.map +1 -1
- package/dist/components/multi-select.cjs +563 -786
- package/dist/components/multi-select.cjs.map +1 -1
- package/dist/components/multi-select.d.cts +173 -173
- package/dist/components/multi-select.d.ts +173 -173
- package/dist/components/multi-select.js +561 -765
- package/dist/components/multi-select.js.map +1 -1
- package/dist/components/page-header.cjs +24 -13
- package/dist/components/page-header.cjs.map +1 -1
- package/dist/components/page-header.d.cts +11 -11
- 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 +72 -272
- package/dist/components/pagination.cjs.map +1 -1
- package/dist/components/pagination.d.cts +15 -16
- package/dist/components/pagination.d.ts +15 -16
- package/dist/components/pagination.js +69 -250
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/popover.cjs +68 -111
- package/dist/components/popover.cjs.map +1 -1
- package/dist/components/popover.d.cts +31 -30
- package/dist/components/popover.d.ts +31 -30
- package/dist/components/popover.js +66 -90
- package/dist/components/popover.js.map +1 -1
- package/dist/components/portal.cjs +128 -81
- package/dist/components/portal.cjs.map +1 -1
- package/dist/components/portal.d.cts +24 -23
- package/dist/components/portal.d.ts +24 -23
- package/dist/components/portal.js +126 -60
- package/dist/components/portal.js.map +1 -1
- package/dist/components/progress.cjs +23 -24
- package/dist/components/progress.cjs.map +1 -1
- package/dist/components/progress.d.cts +8 -7
- package/dist/components/progress.d.ts +8 -7
- package/dist/components/progress.js +21 -23
- package/dist/components/progress.js.map +1 -1
- package/dist/components/progressive-blur-scroll-container.cjs +70 -138
- package/dist/components/progressive-blur-scroll-container.cjs.map +1 -1
- package/dist/components/progressive-blur-scroll-container.d.cts +19 -19
- 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 +40 -64
- package/dist/components/progressive-blur.cjs.map +1 -1
- package/dist/components/progressive-blur.d.cts +15 -14
- 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 +28 -42
- package/dist/components/radio-group.cjs.map +1 -1
- package/dist/components/radio-group.d.cts +8 -8
- package/dist/components/radio-group.d.ts +8 -8
- package/dist/components/radio-group.js +28 -41
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/record-picker.cjs +6 -418
- package/dist/components/record-picker.d.cts +13 -13
- package/dist/components/record-picker.d.ts +13 -13
- package/dist/components/record-picker.js +5 -397
- package/dist/components/resizable.cjs +32 -58
- package/dist/components/resizable.cjs.map +1 -1
- package/dist/components/resizable.d.cts +10 -9
- package/dist/components/resizable.d.ts +10 -9
- package/dist/components/resizable.js +29 -37
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/responsive-diagram.cjs +50 -61
- package/dist/components/responsive-diagram.cjs.map +1 -1
- package/dist/components/responsive-diagram.d.cts +7 -7
- 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 +37 -83
- package/dist/components/scroll-area.cjs.map +1 -1
- package/dist/components/scroll-area.d.cts +9 -8
- package/dist/components/scroll-area.d.ts +9 -8
- package/dist/components/scroll-area.js +35 -62
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.cjs +175 -300
- package/dist/components/select.cjs.map +1 -1
- package/dist/components/select.d.cts +36 -35
- package/dist/components/select.d.ts +36 -35
- package/dist/components/select.js +172 -278
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.cjs +16 -19
- package/dist/components/separator.cjs.map +1 -1
- package/dist/components/separator.d.cts +2 -10
- package/dist/components/separator.d.ts +2 -10
- package/dist/components/separator.js +14 -18
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.cjs +17 -487
- package/dist/components/sheet.d.cts +85 -85
- package/dist/components/sheet.d.ts +85 -85
- package/dist/components/sheet.js +3 -453
- package/dist/components/sidebar.cjs +27 -1298
- package/dist/components/sidebar.d.cts +62 -65
- package/dist/components/sidebar.d.ts +62 -65
- package/dist/components/sidebar.js +3 -1254
- package/dist/components/skeleton.cjs +18 -30
- package/dist/components/skeleton.cjs.map +1 -1
- package/dist/components/skeleton.d.cts +6 -5
- package/dist/components/skeleton.d.ts +6 -5
- package/dist/components/skeleton.js +15 -28
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/sonner.cjs +17 -19
- package/dist/components/sonner.cjs.map +1 -1
- package/dist/components/sonner.d.cts +7 -7
- 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 +43 -1515
- package/dist/components/stack/index.d.cts +2 -672
- package/dist/components/stack/index.d.ts +2 -672
- package/dist/components/stack/index.js +3 -1455
- package/dist/components/stepper.cjs +131 -285
- package/dist/components/stepper.cjs.map +1 -1
- package/dist/components/stepper.d.cts +27 -26
- package/dist/components/stepper.d.ts +27 -26
- package/dist/components/stepper.js +130 -265
- package/dist/components/stepper.js.map +1 -1
- package/dist/components/switch.cjs +21 -32
- package/dist/components/switch.cjs.map +1 -1
- package/dist/components/switch.d.cts +7 -6
- package/dist/components/switch.d.ts +7 -6
- package/dist/components/switch.js +19 -31
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.cjs +58 -106
- package/dist/components/table.cjs.map +1 -1
- package/dist/components/table.d.cts +17 -16
- package/dist/components/table.d.ts +17 -16
- package/dist/components/table.js +55 -104
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.cjs +31 -35
- package/dist/components/tabs.cjs.map +1 -1
- package/dist/components/tabs.d.cts +9 -8
- package/dist/components/tabs.d.ts +9 -8
- package/dist/components/tabs.js +29 -34
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tags.cjs +114 -433
- package/dist/components/tags.cjs.map +1 -1
- package/dist/components/tags.d.cts +24 -28
- package/dist/components/tags.d.ts +24 -28
- package/dist/components/tags.js +114 -413
- package/dist/components/tags.js.map +1 -1
- package/dist/components/textarea.cjs +27 -49
- package/dist/components/textarea.cjs.map +1 -1
- package/dist/components/textarea.d.cts +8 -7
- package/dist/components/textarea.d.ts +8 -7
- package/dist/components/textarea.js +27 -48
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/toast/index.cjs +9 -612
- package/dist/components/toast/index.d.cts +2 -52
- package/dist/components/toast/index.d.ts +2 -52
- package/dist/components/toast/index.js +3 -586
- package/dist/components/tooltip.cjs +47 -72
- package/dist/components/tooltip.cjs.map +1 -1
- package/dist/components/tooltip.d.cts +2 -28
- package/dist/components/tooltip.d.ts +2 -28
- package/dist/components/tooltip.js +45 -51
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/unlink-button.cjs +19 -192
- package/dist/components/unlink-button.cjs.map +1 -1
- package/dist/components/unlink-button.d.cts +11 -11
- package/dist/components/unlink-button.d.ts +11 -11
- package/dist/components/unlink-button.js +18 -170
- 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 -8697
- package/dist/index.d.cts +224 -2136
- package/dist/index.d.ts +224 -2136
- package/dist/index.js +65 -8350
- 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-BavjjJp0.cjs +625 -0
- package/dist/sidebar-BavjjJp0.cjs.map +1 -0
- package/dist/sidebar-DeoL2ttp.js +481 -0
- package/dist/sidebar-DeoL2ttp.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 +5 -5
- package/dist/components/record-picker.cjs.map +0 -1
- package/dist/components/record-picker.js.map +0 -1
- package/dist/components/sheet.cjs.map +0 -1
- package/dist/components/sheet.js.map +0 -1
- package/dist/components/sidebar.cjs.map +0 -1
- package/dist/components/sidebar.js.map +0 -1
- package/dist/components/stack/index.cjs.map +0 -1
- package/dist/components/stack/index.js.map +0 -1
- package/dist/components/toast/index.cjs.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
package/dist/index.d.cts
CHANGED
|
@@ -1,81 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/alert-dialog.cjs";
|
|
2
|
+
import { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/alert.cjs";
|
|
3
|
+
import { AppBar, AppBarProps, AppBreadcrumbItem, AppLinkRenderProps, AppLinkRenderer, createAppLink } from "./components/app-bar.cjs";
|
|
4
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-D4vqTxhp.cjs";
|
|
5
|
+
import { n as InputProps, t as Input } from "./input-CBrCuMH8.cjs";
|
|
6
|
+
import { n as SeparatorProps, t as Separator } from "./separator-BQEsr0Rc.cjs";
|
|
7
|
+
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-CTRQoN1A.cjs";
|
|
8
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./components/sidebar.cjs";
|
|
9
|
+
import { AppAccount, AppAccountAction, AppAccountActionGroup, AppIcon, AppNavigationChild, AppNavigationGroup, AppNavigationItem, AppShell, AppShellBrand, AppShellProps } from "./components/app-shell.cjs";
|
|
10
|
+
import { Autocomplete, AutocompleteEmpty, AutocompleteInput, AutocompleteItem, AutocompletePopup, AutocompleteSeparator } from "./components/autocomplete.cjs";
|
|
11
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./components/avatar.cjs";
|
|
12
|
+
import { Badge, BadgeProps, badgeVariants } from "./components/badge.cjs";
|
|
13
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/breadcrumb.cjs";
|
|
14
|
+
import { Calendar, RangeCalendar } from "./components/calendar-rac.cjs";
|
|
15
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, cardVariants } from "./components/card.cjs";
|
|
16
|
+
import { CheckboxGroup, CheckboxGroupProps } from "./components/checkbox-group.cjs";
|
|
17
|
+
import { Checkbox, CheckboxProps } from "./components/checkbox.cjs";
|
|
18
|
+
import { Collapsible, CollapsibleContent as CollapsiblePanel, CollapsibleTrigger } from "./components/collapsible.cjs";
|
|
19
|
+
import { Combobox, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps } from "./components/combobox.cjs";
|
|
20
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "./components/command.cjs";
|
|
21
|
+
import { Dialog, DialogBackdrop, DialogClose, DialogContent as DialogPopup, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogTitle, DialogTrigger } from "./components/dialog.cjs";
|
|
22
|
+
import { Dock, DockIcon, dockVariants } from "./components/dock.cjs";
|
|
23
|
+
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./components/drawer.cjs";
|
|
24
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/dropdown-menu.cjs";
|
|
25
|
+
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "./components/empty.cjs";
|
|
26
|
+
import { Label, LabelProps } from "./components/label.cjs";
|
|
27
|
+
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldProps, FieldRow, FieldRowProps, FieldSeparator, FieldSet, FieldTitle, LegacyFieldProps, StructuralFieldProps } from "./components/field.cjs";
|
|
28
|
+
import { FlickeringGrid } from "./components/flickering-grid.cjs";
|
|
29
|
+
import { FlowZoomPanel } from "./components/flow-zoom-panel.cjs";
|
|
30
|
+
import { FormControl as FormControl$1, FormControlLayout } from "./components/form-control.cjs";
|
|
31
|
+
import { a as FormItem, c as useFormField, d as composeRefs, f as mergeProps, i as FormField, l as Slot, n as FormControl, o as FormLabel, r as FormDescription, s as FormMessage, t as Form, u as Slottable } from "./form-DoZEWSzb.cjs";
|
|
32
|
+
import { Textarea, TextareaProps } from "./components/textarea.cjs";
|
|
33
|
+
import { InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea } from "./components/input-group.cjs";
|
|
34
|
+
import { JsonEditor, JsonInput, validateJson } from "./components/json-input.cjs";
|
|
35
|
+
import { Frame, FrameDot, Frames, MotionGrid, MotionGridProps } from "./components/motion-grid.cjs";
|
|
36
|
+
import { MultiSelect, MultiSelectGroup, MultiSelectOption, MultiSelectProps, MultiSelectRef } from "./components/multi-select.cjs";
|
|
37
|
+
import { PageHeader } from "./components/page-header.cjs";
|
|
38
|
+
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/pagination.cjs";
|
|
39
|
+
import { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger } from "./components/popover.cjs";
|
|
40
|
+
import { Progress, ProgressProps } from "./components/progress.cjs";
|
|
41
|
+
import { ProgressiveBlur } from "./components/progressive-blur.cjs";
|
|
42
|
+
import { ProgressiveBlurScrollContainer } from "./components/progressive-blur-scroll-container.cjs";
|
|
43
|
+
import { Radio, RadioGroup, RadioGroupProps, RadioProps } from "./components/radio-group.cjs";
|
|
44
|
+
import { RecordPicker } from "./components/record-picker.cjs";
|
|
45
|
+
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/resizable.cjs";
|
|
46
|
+
import { ResponsiveDiagram } from "./components/responsive-diagram.cjs";
|
|
47
|
+
import { ScrollArea, ScrollBar } from "./components/scroll-area.cjs";
|
|
48
|
+
import { Select, SelectContent as SelectPopup, SelectFieldItem, SelectGroup, SelectGroupLabel, SelectItem, SelectRichItem, SelectSeparator, SelectTrigger, SelectValue } from "./components/select.cjs";
|
|
49
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/sheet.cjs";
|
|
50
|
+
import { Skeleton, SkeletonProps } from "./components/skeleton.cjs";
|
|
51
|
+
import { Toaster } from "./components/sonner.cjs";
|
|
52
|
+
import { $ as BackdropConfig, A as DeferredCardContent, B as StackBackdrop, C as parseWidthToPixels, D as UseStackResponsiveResult, E as usePeekGestures, F as useStackGestures, G as useCardInjectedProps, H as CardStackViewport, I as StackHeader, J as useIsTopCard, K as useCardReady, L as StackHeaderProps, M as StackCard, N as StackCardProps, O as useIsMobile, P as UseStackGesturesResult, Q as AnimationConfig, R as StackHeaderSlot, S as normalizeWidth, T as UsePeekGesturesResult, U as CardStackProvider, V as StackBackdropProps, W as useCardIndex, X as useStackContext, Y as useStackCards, Z as useStackLayoutMode, _ as getCascadeOffset, _t as StackContextValue, a as createReducedMotionVariants, at as CardRouteMap, b as getVisibleCardIndices, c as peekSlideSpring, ct as CardStackProviderProps, d as swipeDismissTransition, dt as GestureConfig, et as CardComponent, f as ResponsiveOffsetConfig, ft as LayoutMode, g as getCardZIndex, gt as StackAction, h as getCardOffset, ht as PushOptions, i as createOffsetTransition, it as CardRouteDefinition, j as DeferredCardContentProps, k as useStackResponsive, l as reducedMotionBackdropVariants, lt as CardStackViewportProps, m as calculateResponsiveOffset, mt as PeekGestureConfig, n as backdropVariants, nt as CardInjectedProps, o as peekDragSpring, ot as CardSpec, p as ResponsiveOffsetResult, pt as MobileConfig, q as useCardStack, r as createCardVariants, rt as CardPushOptions, s as peekHoverSpring, st as CardStackApi, t as DEFAULT_ANIMATION_CONFIG, tt as CardId, u as snapBackSpring, ut as DismissOptions, v as getResponsiveCardOffset, vt as StackState, w as UsePeekGesturesOptions, x as isCardVisible, y as getSideBySideOffset, z as StackHeaderSlotProps } from "./index-CjA4CENl.cjs";
|
|
53
|
+
import { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger } from "./components/stepper.cjs";
|
|
54
|
+
import { Switch, SwitchProps } from "./components/switch.cjs";
|
|
55
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/table.cjs";
|
|
56
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/tabs.cjs";
|
|
57
|
+
import { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps } from "./components/tags.cjs";
|
|
58
|
+
import { a as showSuccessToast, c as ToastErrorProps, i as ToastSuccessProps, l as showErrorToast, n as ToastWarningProps, o as ToastInfoProps, r as showWarningToast, s as showInfoToast, t as toast } from "./index-UnM04j0t.cjs";
|
|
59
|
+
import { UnlinkButton } from "./components/unlink-button.cjs";
|
|
60
|
+
import { ClassValue } from "clsx";
|
|
61
|
+
import { FloatingPortalStrategy, FloatingZIndex, ModalPortalScope, OverlayLayer, PORTAL_ROOT_ID, PortalRoot, useFloatingOverlayPortalProps, useInModalOverlay, usePortalContainer, usePortalContext, useRootPortalContainer } from "@constructive-io/ui/portal";
|
|
62
|
+
//#region src/lib/utils.d.ts
|
|
39
63
|
declare function cn(...inputs: ClassValue[]): string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* Merges refs into a single callback ref.
|
|
43
|
-
* React 19 compatible - handles refs as regular props.
|
|
44
|
-
*/
|
|
45
|
-
declare function composeRefs<T>(...refs: (React$1.Ref<T> | undefined)[]): React$1.RefCallback<T>;
|
|
46
|
-
/**
|
|
47
|
-
* Merges props, handling special cases for className, style, and event handlers.
|
|
48
|
-
* Excludes 'ref' from merging as it's handled separately.
|
|
49
|
-
*/
|
|
50
|
-
declare function mergeProps(slotProps: Record<string, unknown>, childProps: Record<string, unknown>): Record<string, unknown>;
|
|
51
|
-
interface SlotProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
52
|
-
children?: React$1.ReactNode;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Slot component - renders its child element with merged props.
|
|
56
|
-
* Used for the `asChild` pattern where parent props are passed to child.
|
|
57
|
-
* React 19 compatible - accesses ref from props instead of element.ref.
|
|
58
|
-
*/
|
|
59
|
-
declare const Slot: React$1.ForwardRefExoticComponent<SlotProps & React$1.RefAttributes<HTMLElement>>;
|
|
60
|
-
/**
|
|
61
|
-
* Slottable component - marks content that should receive slot props.
|
|
62
|
-
* Used when Slot has multiple children and you want to specify which one receives props.
|
|
63
|
-
*/
|
|
64
|
-
declare function Slottable({ children }: {
|
|
65
|
-
children: React$1.ReactNode;
|
|
66
|
-
}): React$1.JSX.Element;
|
|
67
|
-
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/lib/use-controllable-state.d.ts
|
|
68
66
|
type UseControllableStateParams<T> = {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
prop?: T;
|
|
68
|
+
defaultProp?: T;
|
|
69
|
+
onChange?: (value: T) => void;
|
|
72
70
|
};
|
|
73
71
|
/**
|
|
74
72
|
* Hook for managing controlled/uncontrolled state.
|
|
75
73
|
* Supports both controlled (prop-driven) and uncontrolled (internal state) patterns.
|
|
76
74
|
*/
|
|
77
|
-
declare function useControllableState<T>({ prop, defaultProp, onChange
|
|
78
|
-
|
|
75
|
+
declare function useControllableState<T>({ prop, defaultProp, onChange }: UseControllableStateParams<T>): [T, (value: T) => void];
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/lib/motion/motion-config.d.ts
|
|
79
78
|
/**
|
|
80
79
|
* Shared motion configuration for consistent animations across the app.
|
|
81
80
|
* Based on practical animation tips from https://emilkowal.ski/ui/7-practical-animation-tips
|
|
@@ -92,2107 +91,196 @@ declare function useControllableState<T>({ prop, defaultProp, onChange, }: UseCo
|
|
|
92
91
|
* Reference: https://easings.co/
|
|
93
92
|
*/
|
|
94
93
|
declare const easings: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
94
|
+
/** Smooth deceleration - good for elements entering the screen */
|
|
95
|
+
readonly easeOut: readonly [0.25, 0.1, 0.25, 1];
|
|
96
|
+
/** Smooth acceleration - good for elements leaving the screen */
|
|
97
|
+
readonly easeIn: readonly [0.42, 0, 1, 1];
|
|
98
|
+
/** Smooth both ways - good for hover states and toggles */
|
|
99
|
+
readonly easeInOut: readonly [0.42, 0, 0.58, 1];
|
|
100
|
+
/** Snappy entrance with soft landing - great for modals/dialogs */
|
|
101
|
+
readonly snappy: readonly [0.2, 0, 0, 1];
|
|
102
|
+
/** Bouncy feel - use sparingly for playful interactions */
|
|
103
|
+
readonly bounce: readonly [0.34, 1.56, 0.64, 1];
|
|
104
|
+
/** Quick start, gradual stop - good for quick feedback */
|
|
105
|
+
readonly emphasized: readonly [0.4, 0, 0.2, 1];
|
|
106
|
+
/** Physical feel for exit animations */
|
|
107
|
+
readonly physicalExit: readonly [0.4, 0, 0.6, 1];
|
|
109
108
|
};
|
|
110
109
|
/**
|
|
111
110
|
* Duration presets in seconds.
|
|
112
111
|
* Rule: UI animations should be under 300ms (0.3s)
|
|
113
112
|
*/
|
|
114
113
|
declare const durations: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
/** Instant feedback (button press, toggle) */
|
|
115
|
+
readonly instant: 0.1;
|
|
116
|
+
/** Quick transitions (tooltips, small elements) */
|
|
117
|
+
readonly fast: 0.15;
|
|
118
|
+
/** Standard UI transitions (modals, panels) */
|
|
119
|
+
readonly normal: 0.2;
|
|
120
|
+
/** Deliberate animations (page transitions, complex reveals) */
|
|
121
|
+
readonly slow: 0.3;
|
|
122
|
+
/** Maximum for UI - use rarely */
|
|
123
|
+
readonly deliberate: 0.4;
|
|
125
124
|
};
|
|
126
125
|
/**
|
|
127
126
|
* Spring configurations for physics-based animations.
|
|
128
127
|
* These create more natural, organic motion.
|
|
129
128
|
*/
|
|
130
129
|
declare const springs: {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
130
|
+
/** Snappy spring - good for quick interactions */
|
|
131
|
+
readonly snappy: {
|
|
132
|
+
readonly type: "spring";
|
|
133
|
+
readonly stiffness: 400;
|
|
134
|
+
readonly damping: 30;
|
|
135
|
+
readonly mass: 0.8;
|
|
136
|
+
};
|
|
137
|
+
/** Bouncy spring - good for playful elements */
|
|
138
|
+
readonly bouncy: {
|
|
139
|
+
readonly type: "spring";
|
|
140
|
+
readonly stiffness: 300;
|
|
141
|
+
readonly damping: 20;
|
|
142
|
+
readonly mass: 0.6;
|
|
143
|
+
};
|
|
144
|
+
/** Gentle spring - good for large elements */
|
|
145
|
+
readonly gentle: {
|
|
146
|
+
readonly type: "spring";
|
|
147
|
+
readonly stiffness: 150;
|
|
148
|
+
readonly damping: 25;
|
|
149
|
+
readonly mass: 1;
|
|
150
|
+
};
|
|
151
|
+
/** Stiff spring - good for precise movements */
|
|
152
|
+
readonly stiff: {
|
|
153
|
+
readonly type: "spring";
|
|
154
|
+
readonly stiffness: 500;
|
|
155
|
+
readonly damping: 35;
|
|
156
|
+
readonly mass: 0.5;
|
|
157
|
+
};
|
|
158
|
+
/** Panel/sheet animations */
|
|
159
|
+
readonly panel: {
|
|
160
|
+
readonly type: "spring";
|
|
161
|
+
readonly stiffness: 150;
|
|
162
|
+
readonly damping: 25;
|
|
163
|
+
};
|
|
165
164
|
};
|
|
166
165
|
/**
|
|
167
166
|
* Pre-configured transitions for common animation patterns.
|
|
168
167
|
*/
|
|
169
168
|
declare const transitions: {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
169
|
+
/** Fast fade for overlays and simple elements */
|
|
170
|
+
readonly fade: {
|
|
171
|
+
duration: 0.15;
|
|
172
|
+
ease: readonly [0.25, 0.1, 0.25, 1];
|
|
173
|
+
};
|
|
174
|
+
/** Standard enter/exit for UI elements */
|
|
175
|
+
readonly enterExit: {
|
|
176
|
+
duration: 0.2;
|
|
177
|
+
ease: readonly [0.25, 0.1, 0.25, 1];
|
|
178
|
+
};
|
|
179
|
+
/** Snappy transition for interactive elements */
|
|
180
|
+
readonly snappy: {
|
|
181
|
+
duration: 0.15;
|
|
182
|
+
ease: readonly [0.2, 0, 0, 1];
|
|
183
|
+
};
|
|
184
|
+
/** Panel slide transition */
|
|
185
|
+
readonly panel: {
|
|
186
|
+
type: "spring";
|
|
187
|
+
stiffness: number;
|
|
188
|
+
damping: number;
|
|
189
|
+
};
|
|
190
|
+
/** Exit transition with physical feel */
|
|
191
|
+
readonly exit: {
|
|
192
|
+
type: "tween";
|
|
193
|
+
duration: 0.2;
|
|
194
|
+
ease: readonly [0.4, 0, 0.6, 1];
|
|
195
|
+
};
|
|
196
|
+
/** Layout animations */
|
|
197
|
+
readonly layout: {
|
|
198
|
+
type: "spring";
|
|
199
|
+
stiffness: number;
|
|
200
|
+
damping: number;
|
|
201
|
+
};
|
|
203
202
|
};
|
|
204
203
|
/**
|
|
205
204
|
* Common animation variants for AnimatePresence patterns.
|
|
206
205
|
* Follows the rule: never animate from scale(0), use 0.9+ instead.
|
|
207
206
|
*/
|
|
208
207
|
declare const variants: {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
};
|
|
215
|
-
readonly animate: {
|
|
216
|
-
readonly opacity: 1;
|
|
217
|
-
readonly scale: 1;
|
|
218
|
-
};
|
|
219
|
-
readonly exit: {
|
|
220
|
-
readonly opacity: 0;
|
|
221
|
-
readonly scale: 0.95;
|
|
222
|
-
};
|
|
208
|
+
/** Fade with subtle scale - good for modals, cards */
|
|
209
|
+
readonly fadeScale: {
|
|
210
|
+
readonly initial: {
|
|
211
|
+
readonly opacity: 0;
|
|
212
|
+
readonly scale: 0.95;
|
|
223
213
|
};
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
readonly opacity: 0;
|
|
228
|
-
readonly y: 8;
|
|
229
|
-
};
|
|
230
|
-
readonly animate: {
|
|
231
|
-
readonly opacity: 1;
|
|
232
|
-
readonly y: 0;
|
|
233
|
-
};
|
|
234
|
-
readonly exit: {
|
|
235
|
-
readonly opacity: 0;
|
|
236
|
-
readonly y: -8;
|
|
237
|
-
};
|
|
214
|
+
readonly animate: {
|
|
215
|
+
readonly opacity: 1;
|
|
216
|
+
readonly scale: 1;
|
|
238
217
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
readonly opacity: 0;
|
|
243
|
-
readonly y: -8;
|
|
244
|
-
};
|
|
245
|
-
readonly animate: {
|
|
246
|
-
readonly opacity: 1;
|
|
247
|
-
readonly y: 0;
|
|
248
|
-
};
|
|
249
|
-
readonly exit: {
|
|
250
|
-
readonly opacity: 0;
|
|
251
|
-
readonly y: 8;
|
|
252
|
-
};
|
|
218
|
+
readonly exit: {
|
|
219
|
+
readonly opacity: 0;
|
|
220
|
+
readonly scale: 0.95;
|
|
253
221
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
readonly opacity: 1;
|
|
261
|
-
};
|
|
262
|
-
readonly exit: {
|
|
263
|
-
readonly opacity: 0;
|
|
264
|
-
};
|
|
222
|
+
};
|
|
223
|
+
/** Fade with subtle slide up - good for content reveals */
|
|
224
|
+
readonly fadeSlideUp: {
|
|
225
|
+
readonly initial: {
|
|
226
|
+
readonly opacity: 0;
|
|
227
|
+
readonly y: 8;
|
|
265
228
|
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
readonly opacity: 0;
|
|
270
|
-
readonly y: 8;
|
|
271
|
-
readonly scale: 0.98;
|
|
272
|
-
};
|
|
273
|
-
readonly animate: {
|
|
274
|
-
readonly opacity: 1;
|
|
275
|
-
readonly y: 0;
|
|
276
|
-
readonly scale: 1;
|
|
277
|
-
};
|
|
278
|
-
readonly exit: {
|
|
279
|
-
readonly opacity: 0;
|
|
280
|
-
readonly y: 8;
|
|
281
|
-
readonly scale: 0.98;
|
|
282
|
-
};
|
|
229
|
+
readonly animate: {
|
|
230
|
+
readonly opacity: 1;
|
|
231
|
+
readonly y: 0;
|
|
283
232
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
static?: boolean | null | undefined;
|
|
288
|
-
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
|
|
289
|
-
variant?: "link" | "outline" | "default" | "destructive" | "destructive-outline" | "ghost" | "secondary" | null | undefined;
|
|
290
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
291
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
292
|
-
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
293
|
-
size?: VariantProps<typeof buttonVariants>['size'];
|
|
294
|
-
/** Disables tactile press scaling when motion would distract from the interaction. */
|
|
295
|
-
static?: boolean;
|
|
296
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
297
|
-
asChild?: boolean;
|
|
298
|
-
}
|
|
299
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
300
|
-
|
|
301
|
-
declare const badgeVariants: (props?: ({
|
|
302
|
-
size?: "default" | "lg" | "sm" | null | undefined;
|
|
303
|
-
variant?: "outline" | "default" | "destructive" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
304
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
305
|
-
type BadgeProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
306
|
-
declare const Badge: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
307
|
-
size?: "default" | "lg" | "sm" | null | undefined;
|
|
308
|
-
variant?: "outline" | "default" | "destructive" | "secondary" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
309
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
310
|
-
|
|
311
|
-
type LabelProps = React$1.ComponentProps<'label'>;
|
|
312
|
-
/**
|
|
313
|
-
* Label component for form controls.
|
|
314
|
-
* Uses a standard HTML label element for maximum compatibility.
|
|
315
|
-
*/
|
|
316
|
-
declare function Label({ className, ...props }: LabelProps): React$1.JSX.Element;
|
|
317
|
-
|
|
318
|
-
type SkeletonProps = React$1.ComponentProps<'div'>;
|
|
319
|
-
/**
|
|
320
|
-
* Loading placeholder with a soft left→right shimmer.
|
|
321
|
-
* Uses the package `shimmer` keyframe (background-position) — not opacity pulse.
|
|
322
|
-
*/
|
|
323
|
-
declare function Skeleton({ className, ...props }: SkeletonProps): React$1.JSX.Element;
|
|
324
|
-
|
|
325
|
-
declare const cardVariants: (props?: ({
|
|
326
|
-
variant?: "flat" | "default" | "ghost" | "elevated" | "interactive" | null | undefined;
|
|
327
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
328
|
-
interface CardProps extends React$1.ComponentProps<'div'>, VariantProps<typeof cardVariants> {
|
|
329
|
-
}
|
|
330
|
-
declare function Card({ className, variant, ...props }: CardProps): React$1.JSX.Element;
|
|
331
|
-
declare function CardHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
332
|
-
declare function CardTitle({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
333
|
-
declare function CardDescription({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
334
|
-
declare function CardAction({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
335
|
-
declare function CardContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
336
|
-
declare function CardFooter({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
337
|
-
|
|
338
|
-
type SeparatorProps = React$1.ComponentProps<typeof Separator$1> & {
|
|
339
|
-
/** @deprecated Base UI handles accessibility automatically */
|
|
340
|
-
decorative?: boolean;
|
|
341
|
-
};
|
|
342
|
-
declare function Separator({ className, orientation, decorative: _decorative, ...props }: SeparatorProps): React$1.JSX.Element;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Soft filled callout. Icon is a direct child SVG; content uses grid columns so
|
|
346
|
-
* title/description stay aligned without absolute positioning.
|
|
347
|
-
*/
|
|
348
|
-
declare const alertVariants: (props?: ({
|
|
349
|
-
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
350
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
351
|
-
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
352
|
-
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
353
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
354
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
355
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
356
|
-
|
|
357
|
-
type InputProps = Omit<Input$1.Props & React$1.RefAttributes<HTMLInputElement>, 'size'> & {
|
|
358
|
-
size?: 'sm' | 'default' | 'lg' | number;
|
|
359
|
-
unstyled?: boolean;
|
|
360
|
-
};
|
|
361
|
-
declare function Input({ className, size, unstyled, ...props }: InputProps): React$1.JSX.Element;
|
|
362
|
-
|
|
363
|
-
type TextareaProps = React$1.ComponentProps<'textarea'> & {
|
|
364
|
-
size?: 'sm' | 'default' | 'lg' | number;
|
|
365
|
-
unstyled?: boolean;
|
|
366
|
-
};
|
|
367
|
-
declare function Textarea({ className, size, unstyled, ...props }: TextareaProps): React$1.JSX.Element;
|
|
368
|
-
|
|
369
|
-
type CheckboxProps = Checkbox$1.Root.Props;
|
|
370
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.CheckboxRootProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
371
|
-
|
|
372
|
-
type CheckboxGroupProps = CheckboxGroup$1.Props;
|
|
373
|
-
declare function CheckboxGroup({ className, ...props }: CheckboxGroupProps): React$1.JSX.Element;
|
|
374
|
-
|
|
375
|
-
type RadioGroupProps = RadioGroup$1.Props;
|
|
376
|
-
type RadioProps = Radio$1.Root.Props;
|
|
377
|
-
declare function RadioGroup({ className, ...props }: RadioGroupProps): React$1.JSX.Element;
|
|
378
|
-
declare function Radio({ className, ...props }: RadioProps): React$1.JSX.Element;
|
|
379
|
-
|
|
380
|
-
type SwitchProps = React$1.ComponentProps<typeof Switch$1.Root>;
|
|
381
|
-
declare function Switch({ className, ...props }: SwitchProps): React$1.JSX.Element;
|
|
382
|
-
|
|
383
|
-
type SelectProps = Omit<Select$1.Root.Props<string>, "onValueChange"> & {
|
|
384
|
-
/** Callback when value changes */
|
|
385
|
-
onValueChange?: (value: string) => void;
|
|
386
|
-
};
|
|
387
|
-
declare function Select({ onValueChange, ...props }: SelectProps): React$1.JSX.Element;
|
|
388
|
-
type SelectTriggerProps = Select$1.Trigger.Props & {
|
|
389
|
-
size?: "sm" | "default" | "lg";
|
|
390
|
-
};
|
|
391
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
392
|
-
type SelectValueProps = React$1.ComponentProps<typeof Select$1.Value> & {
|
|
393
|
-
/** Text to display when no value is selected */
|
|
394
|
-
placeholder?: string;
|
|
395
|
-
};
|
|
396
|
-
declare function SelectValue({ className, placeholder, children, ...props }: SelectValueProps): React$1.JSX.Element;
|
|
397
|
-
type SelectPopupProps = Select$1.Popup.Props & {
|
|
398
|
-
sideOffset?: Select$1.Positioner.Props["sideOffset"];
|
|
399
|
-
alignItemWithTrigger?: Select$1.Positioner.Props["alignItemWithTrigger"];
|
|
400
|
-
/** @deprecated Not used in Base UI. Kept for backward compatibility. */
|
|
401
|
-
position?: "item-aligned" | "popper";
|
|
402
|
-
};
|
|
403
|
-
declare function SelectPopup({ className, children, sideOffset, alignItemWithTrigger, position: _position, ...props }: SelectPopupProps): React$1.JSX.Element;
|
|
404
|
-
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): React$1.JSX.Element;
|
|
405
|
-
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): React$1.JSX.Element;
|
|
406
|
-
declare function SelectGroup({ ...props }: Select$1.Group.Props): React$1.JSX.Element;
|
|
407
|
-
declare function SelectGroupLabel({ ...props }: Select$1.GroupLabel.Props): React$1.JSX.Element;
|
|
408
|
-
type SelectRichItemProps = Select$1.Item.Props & {
|
|
409
|
-
/** Main label text */
|
|
410
|
-
label?: React$1.ReactNode;
|
|
411
|
-
/** Optional description text below the label */
|
|
412
|
-
description?: React$1.ReactNode;
|
|
413
|
-
/** Optional icon element */
|
|
414
|
-
icon?: React$1.ReactNode;
|
|
415
|
-
};
|
|
416
|
-
declare function SelectRichItem({ className, children, label, description, icon, ...props }: SelectRichItemProps): React$1.JSX.Element;
|
|
417
|
-
type SelectFieldItemProps = Select$1.Item.Props & {
|
|
418
|
-
/** Field name to display */
|
|
419
|
-
name: string;
|
|
420
|
-
/** Field type to display as muted text */
|
|
421
|
-
type?: string;
|
|
422
|
-
};
|
|
423
|
-
declare function SelectFieldItem({ className, name, type, ...props }: SelectFieldItemProps): React$1.JSX.Element;
|
|
424
|
-
|
|
425
|
-
type ProgressProps = Omit<React$1.ComponentProps<typeof Progress$1.Root>, 'children'> & {
|
|
426
|
-
className?: string;
|
|
427
|
-
};
|
|
428
|
-
declare function Progress({ className, value, ...props }: ProgressProps): React$1.JSX.Element;
|
|
429
|
-
|
|
430
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
431
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
432
|
-
declare const useFormField: () => {
|
|
433
|
-
invalid: boolean;
|
|
434
|
-
isDirty: boolean;
|
|
435
|
-
isTouched: boolean;
|
|
436
|
-
isValidating: boolean;
|
|
437
|
-
error?: react_hook_form.FieldError;
|
|
438
|
-
id: string;
|
|
439
|
-
name: string;
|
|
440
|
-
formItemId: string;
|
|
441
|
-
formDescriptionId: string;
|
|
442
|
-
formMessageId: string;
|
|
443
|
-
};
|
|
444
|
-
declare function FormItem({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
445
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
446
|
-
declare function FormControl$1({ ...props }: React$1.ComponentProps<typeof Slot>): React$1.JSX.Element;
|
|
447
|
-
declare function FormDescription({ className, ...props }: React$1.ComponentProps<'p'>): React$1.JSX.Element;
|
|
448
|
-
declare function FormMessage({ className, ...props }: React$1.ComponentProps<'p'>): React$1.JSX.Element | null;
|
|
449
|
-
|
|
450
|
-
type FormControlLayout = 'stacked' | 'floating';
|
|
451
|
-
interface FormControlProps {
|
|
452
|
-
children: React$1.ReactElement;
|
|
453
|
-
label: string;
|
|
454
|
-
id?: string;
|
|
455
|
-
layout?: FormControlLayout;
|
|
456
|
-
error?: string;
|
|
457
|
-
className?: string;
|
|
458
|
-
}
|
|
459
|
-
declare function FormControl({ children, label, id, layout, error, className }: FormControlProps): React$1.JSX.Element;
|
|
460
|
-
|
|
461
|
-
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
462
|
-
declare const inputGroupAddonVariants: (props?: ({
|
|
463
|
-
align?: "inline-start" | "block-end" | "block-start" | "inline-end" | null | undefined;
|
|
464
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
465
|
-
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React$1.JSX.Element;
|
|
466
|
-
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
467
|
-
declare function InputGroupInput({ className, ...props }: InputProps): React$1.JSX.Element;
|
|
468
|
-
declare function InputGroupTextarea({ className, ...props }: TextareaProps): React$1.JSX.Element;
|
|
469
|
-
|
|
470
|
-
declare function FieldSet({ className, ...props }: React$1.ComponentProps<'fieldset'>): React$1.JSX.Element;
|
|
471
|
-
declare function FieldLegend({ className, variant, ...props }: React$1.ComponentProps<'legend'> & {
|
|
472
|
-
variant?: 'legend' | 'label';
|
|
473
|
-
}): React$1.JSX.Element;
|
|
474
|
-
declare function FieldGroup({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
475
|
-
declare const fieldVariants: (props?: ({
|
|
476
|
-
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
477
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
478
|
-
type StructuralFieldProps = React$1.ComponentProps<'div'> & VariantProps<typeof fieldVariants>;
|
|
479
|
-
interface LegacyFieldProps {
|
|
480
|
-
label: string;
|
|
481
|
-
description?: string;
|
|
482
|
-
descriptionId?: string;
|
|
483
|
-
error?: string;
|
|
484
|
-
errorId?: string;
|
|
485
|
-
required?: boolean;
|
|
486
|
-
htmlFor?: string;
|
|
487
|
-
className?: string;
|
|
488
|
-
children: React$1.ReactNode;
|
|
489
|
-
}
|
|
490
|
-
type FieldProps = LegacyFieldProps | StructuralFieldProps;
|
|
491
|
-
declare function Field(props: LegacyFieldProps): React$1.ReactElement;
|
|
492
|
-
declare function Field(props: StructuralFieldProps): React$1.ReactElement;
|
|
493
|
-
declare function FieldContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
494
|
-
declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
495
|
-
declare function FieldTitle({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
496
|
-
declare function FieldDescription({ className, ...props }: React$1.ComponentProps<'p'>): React$1.JSX.Element;
|
|
497
|
-
declare function FieldSeparator({ children, className, ...props }: React$1.ComponentProps<'div'> & {
|
|
498
|
-
children?: React$1.ReactNode;
|
|
499
|
-
}): React$1.JSX.Element;
|
|
500
|
-
declare function FieldError({ className, children, errors, ...props }: React$1.ComponentProps<'div'> & {
|
|
501
|
-
errors?: Array<{
|
|
502
|
-
message?: string;
|
|
503
|
-
} | undefined>;
|
|
504
|
-
}): React$1.JSX.Element | null;
|
|
505
|
-
interface FieldRowProps extends Omit<LegacyFieldProps, 'required'> {
|
|
506
|
-
labelPosition?: 'start' | 'end';
|
|
507
|
-
}
|
|
508
|
-
declare function FieldRow({ label, description, error, labelPosition, htmlFor, className, children, }: FieldRowProps): React$1.JSX.Element;
|
|
509
|
-
|
|
510
|
-
declare function Empty({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
511
|
-
declare function EmptyHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
512
|
-
declare const emptyMediaVariants: (props?: ({
|
|
513
|
-
variant?: "default" | "icon" | null | undefined;
|
|
514
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
515
|
-
declare function EmptyMedia({ className, variant, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): React$1.JSX.Element;
|
|
516
|
-
declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
517
|
-
declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<'p'>): React$1.JSX.Element;
|
|
518
|
-
declare function EmptyContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
519
|
-
|
|
520
|
-
type TooltipProviderProps = React$1.ComponentProps<typeof Tooltip$1.Provider> & {
|
|
521
|
-
/** @deprecated Use delay instead */
|
|
522
|
-
delayDuration?: number;
|
|
523
|
-
};
|
|
524
|
-
declare function TooltipProvider({ delay, delayDuration, ...props }: TooltipProviderProps): React$1.JSX.Element;
|
|
525
|
-
type TooltipProps = React$1.ComponentProps<typeof Tooltip$1.Root> & {
|
|
526
|
-
/** @deprecated Use delay on Trigger instead */
|
|
527
|
-
delayDuration?: number;
|
|
528
|
-
};
|
|
529
|
-
declare function Tooltip({ delayDuration: _delayDuration, ...props }: TooltipProps): React$1.JSX.Element;
|
|
530
|
-
type TooltipTriggerProps = React$1.ComponentProps<typeof Tooltip$1.Trigger> & {
|
|
531
|
-
delay?: number;
|
|
532
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
533
|
-
asChild?: boolean;
|
|
534
|
-
};
|
|
535
|
-
declare function TooltipTrigger({ delay, asChild, children, render, ...props }: TooltipTriggerProps): React$1.JSX.Element;
|
|
536
|
-
type TooltipContentProps = React$1.ComponentProps<typeof Tooltip$1.Popup> & {
|
|
537
|
-
sideOffset?: number;
|
|
538
|
-
showArrow?: boolean;
|
|
539
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
540
|
-
align?: 'start' | 'center' | 'end';
|
|
541
|
-
};
|
|
542
|
-
declare function TooltipContent({ className, sideOffset, showArrow, side, align, children, ...props }: TooltipContentProps): React$1.JSX.Element;
|
|
543
|
-
|
|
544
|
-
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): React$1.JSX.Element;
|
|
545
|
-
type PopoverTriggerProps = React$1.ComponentProps<typeof Popover$1.Trigger> & {
|
|
546
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
547
|
-
asChild?: boolean;
|
|
548
|
-
};
|
|
549
|
-
declare function PopoverTrigger({ asChild, children, render, nativeButton, ...props }: PopoverTriggerProps): React$1.JSX.Element;
|
|
550
|
-
type PopoverCloseProps = React$1.ComponentProps<typeof Popover$1.Close> & {
|
|
551
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
552
|
-
asChild?: boolean;
|
|
553
|
-
};
|
|
554
|
-
declare function PopoverClose({ asChild, children, render, nativeButton, ...props }: PopoverCloseProps): React$1.JSX.Element;
|
|
555
|
-
type PopoverContentProps = React$1.ComponentProps<typeof Popover$1.Popup> & {
|
|
556
|
-
align?: 'start' | 'center' | 'end';
|
|
557
|
-
sideOffset?: number;
|
|
558
|
-
showArrow?: boolean;
|
|
559
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
560
|
-
/** @deprecated Base UI uses different focus management */
|
|
561
|
-
onOpenAutoFocus?: (e: Event) => void;
|
|
562
|
-
/** @deprecated Base UI uses different focus management */
|
|
563
|
-
onCloseAutoFocus?: (e: Event) => void;
|
|
564
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
565
|
-
onFocusOutside?: (e: Event) => void;
|
|
566
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
567
|
-
onEscapeKeyDown?: () => void;
|
|
568
|
-
};
|
|
569
|
-
declare function PopoverContent({ className, align, sideOffset, showArrow, side, children, onOpenAutoFocus: _onOpenAutoFocus, onCloseAutoFocus: _onCloseAutoFocus, onFocusOutside: _onFocusOutside, onEscapeKeyDown: _onEscapeKeyDown, ...props }: PopoverContentProps): React$1.JSX.Element;
|
|
570
|
-
/**
|
|
571
|
-
* PopoverAnchor - placeholder for positioning anchor.
|
|
572
|
-
* @deprecated Base UI Popover positions relative to Trigger by default.
|
|
573
|
-
* For custom anchoring, use Popover.Positioner with anchor prop.
|
|
574
|
-
*/
|
|
575
|
-
declare function PopoverAnchor({ ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
576
|
-
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<typeof Popover$1.Title>): React$1.JSX.Element;
|
|
577
|
-
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<typeof Popover$1.Description>): React$1.JSX.Element;
|
|
578
|
-
|
|
579
|
-
declare const Dialog: typeof Dialog$1.Root;
|
|
580
|
-
declare function DialogPortal({ container: containerProp, ...props }: Dialog$1.Portal.Props): React$1.JSX.Element;
|
|
581
|
-
type DialogTriggerProps = React$1.ComponentProps<typeof Dialog$1.Trigger> & {
|
|
582
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
583
|
-
asChild?: boolean;
|
|
584
|
-
};
|
|
585
|
-
declare function DialogTrigger({ asChild, children, render, nativeButton, ...props }: DialogTriggerProps): React$1.JSX.Element;
|
|
586
|
-
type DialogCloseProps = React$1.ComponentProps<typeof Dialog$1.Close> & {
|
|
587
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
588
|
-
asChild?: boolean;
|
|
589
|
-
};
|
|
590
|
-
declare function DialogClose({ asChild, children, render, nativeButton, ...props }: DialogCloseProps): React$1.JSX.Element;
|
|
591
|
-
declare function DialogBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): React$1.JSX.Element;
|
|
592
|
-
declare function DialogPopup({ className, children, showCloseButton, bottomStickOnMobile, ...props }: Dialog$1.Popup.Props & {
|
|
593
|
-
showCloseButton?: boolean;
|
|
594
|
-
bottomStickOnMobile?: boolean;
|
|
595
|
-
}): React$1.JSX.Element;
|
|
596
|
-
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
597
|
-
declare function DialogFooter({ className, variant, ...props }: React$1.ComponentProps<"div"> & {
|
|
598
|
-
variant?: "default" | "bare";
|
|
599
|
-
}): React$1.JSX.Element;
|
|
600
|
-
declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React$1.JSX.Element;
|
|
601
|
-
declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React$1.JSX.Element;
|
|
602
|
-
|
|
603
|
-
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): React$1.JSX.Element;
|
|
604
|
-
type AlertDialogTriggerProps = React$1.ComponentProps<typeof AlertDialog$1.Trigger> & {
|
|
605
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
606
|
-
asChild?: boolean;
|
|
607
|
-
};
|
|
608
|
-
declare function AlertDialogTrigger({ asChild, children, render, nativeButton, ...props }: AlertDialogTriggerProps): React$1.JSX.Element;
|
|
609
|
-
declare function AlertDialogPortal({ container: containerProp, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): React$1.JSX.Element;
|
|
610
|
-
declare function AlertDialogContent({ className, children, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Popup>): React$1.JSX.Element;
|
|
611
|
-
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
612
|
-
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
613
|
-
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): React$1.JSX.Element;
|
|
614
|
-
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): React$1.JSX.Element;
|
|
615
|
-
/**
|
|
616
|
-
* AlertDialogAction - A button that performs the primary action and closes the dialog.
|
|
617
|
-
* Wraps AlertDialogPrimitive.Close with primary button styling.
|
|
618
|
-
*/
|
|
619
|
-
type AlertDialogCloseProps = React$1.ComponentProps<typeof AlertDialog$1.Close> & {
|
|
620
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
621
|
-
asChild?: boolean;
|
|
622
|
-
};
|
|
623
|
-
declare function AlertDialogAction({ asChild, children, render, nativeButton, className, ...props }: AlertDialogCloseProps): React$1.JSX.Element;
|
|
624
|
-
/**
|
|
625
|
-
* AlertDialogCancel - A button that cancels the action and closes the dialog.
|
|
626
|
-
* Wraps AlertDialogPrimitive.Close with outline button styling.
|
|
627
|
-
*/
|
|
628
|
-
declare function AlertDialogCancel({ asChild, children, render, nativeButton, className, ...props }: AlertDialogCloseProps): React$1.JSX.Element;
|
|
629
|
-
|
|
630
|
-
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof Menu.Root>): React$1.JSX.Element;
|
|
631
|
-
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof Menu.Portal>): React$1.JSX.Element;
|
|
632
|
-
type DropdownMenuTriggerProps = React$1.ComponentProps<typeof Menu.Trigger> & {
|
|
633
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
634
|
-
asChild?: boolean;
|
|
635
|
-
};
|
|
636
|
-
declare function DropdownMenuTrigger({ asChild, children, render, nativeButton, ...props }: DropdownMenuTriggerProps): React$1.JSX.Element;
|
|
637
|
-
type DropdownMenuContentProps = React$1.ComponentProps<typeof Menu.Popup> & {
|
|
638
|
-
sideOffset?: number;
|
|
639
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
640
|
-
align?: 'start' | 'center' | 'end';
|
|
641
|
-
/** @deprecated Not supported in Base UI */
|
|
642
|
-
onPointerDown?: (e: React$1.PointerEvent) => void;
|
|
643
|
-
/** @deprecated Not supported in Base UI */
|
|
644
|
-
onPointerDownOutside?: (e: Event) => void;
|
|
645
|
-
/** @deprecated Not supported in Base UI */
|
|
646
|
-
onCloseAutoFocus?: (e: Event) => void;
|
|
647
|
-
/** @deprecated Base UI menus mount on open automatically */
|
|
648
|
-
forceMount?: boolean;
|
|
649
|
-
};
|
|
650
|
-
declare function DropdownMenuContent({ className, sideOffset, side, align, onPointerDown: _onPointerDown, onPointerDownOutside: _onPointerDownOutside, onCloseAutoFocus: _onCloseAutoFocus, forceMount: _forceMount, ...props }: DropdownMenuContentProps): React$1.JSX.Element;
|
|
651
|
-
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof Menu.Group>): React$1.JSX.Element;
|
|
652
|
-
type DropdownMenuItemProps = React$1.ComponentProps<typeof Menu.Item> & {
|
|
653
|
-
inset?: boolean;
|
|
654
|
-
variant?: 'default' | 'destructive';
|
|
655
|
-
/** When true, merges props onto the child element instead of rendering a div */
|
|
656
|
-
asChild?: boolean;
|
|
657
|
-
};
|
|
658
|
-
declare function DropdownMenuItem({ className, inset, variant, asChild, children, render, ...props }: DropdownMenuItemProps): React$1.JSX.Element;
|
|
659
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menu.CheckboxItem>): React$1.JSX.Element;
|
|
660
|
-
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof Menu.RadioGroup>): React$1.JSX.Element;
|
|
661
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof Menu.RadioItem>): React$1.JSX.Element;
|
|
662
|
-
/**
|
|
663
|
-
* Uses Base UI's semantic GroupLabel inside DropdownMenuGroup. The standalone
|
|
664
|
-
* div fallback preserves compatibility with earlier Constructive menu markup,
|
|
665
|
-
* where labels were allowed directly inside DropdownMenuContent.
|
|
666
|
-
*/
|
|
667
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<'div'> & {
|
|
668
|
-
inset?: boolean;
|
|
669
|
-
}): React$1.JSX.Element;
|
|
670
|
-
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof Menu.Separator>): React$1.JSX.Element;
|
|
671
|
-
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): React$1.JSX.Element;
|
|
672
|
-
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof Menu.SubmenuRoot>): React$1.JSX.Element;
|
|
673
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menu.SubmenuTrigger> & {
|
|
674
|
-
inset?: boolean;
|
|
675
|
-
}): React$1.JSX.Element;
|
|
676
|
-
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof Menu.Popup>): React$1.JSX.Element;
|
|
677
|
-
|
|
678
|
-
type SheetProps = Omit<React$1.ComponentProps<typeof Dialog$1.Root>, 'onOpenChange'> & {
|
|
679
|
-
/** Unique identifier for this sheet in a stack. Auto-generated if not provided. */
|
|
680
|
-
sheetId?: string;
|
|
681
|
-
/** Callback when open state changes - simplified to just boolean for backwards compatibility */
|
|
682
|
-
onOpenChange?: (open: boolean) => void;
|
|
683
|
-
};
|
|
684
|
-
declare function Sheet({ children, sheetId: providedId, open: openProp, defaultOpen, onOpenChange, modal, ...props }: SheetProps): React$1.JSX.Element;
|
|
685
|
-
type SheetTriggerProps = React$1.ComponentProps<typeof Dialog$1.Trigger> & {
|
|
686
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
687
|
-
asChild?: boolean;
|
|
688
|
-
};
|
|
689
|
-
declare function SheetTrigger({ asChild, children, render, nativeButton, ...props }: SheetTriggerProps): React$1.JSX.Element;
|
|
690
|
-
type SheetCloseProps = React$1.ComponentProps<typeof Dialog$1.Close> & {
|
|
691
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
692
|
-
asChild?: boolean;
|
|
693
|
-
};
|
|
694
|
-
declare function SheetClose({ asChild, children, render, nativeButton, ...props }: SheetCloseProps): React$1.JSX.Element;
|
|
695
|
-
declare const sheetVariants: (props?: ({
|
|
696
|
-
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
697
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
698
|
-
type SheetContentProps = Omit<React$1.ComponentProps<typeof Dialog$1.Popup>, 'children'> & VariantProps<typeof sheetVariants> & HTMLMotionProps<'div'> & {
|
|
699
|
-
transition?: Transition;
|
|
700
|
-
overlay?: boolean;
|
|
701
|
-
/** Whether to show the close button. Defaults to true. */
|
|
702
|
-
showClose?: boolean;
|
|
703
|
-
children?: React$1.ReactNode;
|
|
704
|
-
/** @deprecated Base UI manages mounting automatically */
|
|
705
|
-
forceMount?: boolean;
|
|
706
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
707
|
-
onInteractOutside?: (e: Event) => void;
|
|
708
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
709
|
-
onPointerDownOutside?: (e: Event) => void;
|
|
710
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
711
|
-
onEscapeKeyDown?: (e: KeyboardEvent) => void;
|
|
712
|
-
/** @deprecated Use onOpenChange on Root instead */
|
|
713
|
-
onFocusOutside?: (e: Event) => void;
|
|
714
|
-
};
|
|
715
|
-
declare function SheetContent({ side, className, transition, overlay, showClose, children, forceMount: _forceMount, onInteractOutside: _onInteractOutside, onPointerDownOutside: _onPointerDownOutside, onEscapeKeyDown: _onEscapeKeyDown, onFocusOutside: _onFocusOutside, ...props }: SheetContentProps): React$1.JSX.Element;
|
|
716
|
-
type SheetHeaderProps = React$1.ComponentProps<'div'>;
|
|
717
|
-
declare function SheetHeader({ className, ...props }: SheetHeaderProps): React$1.JSX.Element;
|
|
718
|
-
type SheetFooterProps = React$1.ComponentProps<'div'>;
|
|
719
|
-
declare function SheetFooter({ className, ...props }: SheetFooterProps): React$1.JSX.Element;
|
|
720
|
-
type SheetTitleProps = React$1.ComponentProps<typeof Dialog$1.Title>;
|
|
721
|
-
declare function SheetTitle({ className, ...props }: SheetTitleProps): React$1.JSX.Element;
|
|
722
|
-
type SheetDescriptionProps = React$1.ComponentProps<typeof Dialog$1.Description>;
|
|
723
|
-
declare function SheetDescription({ className, ...props }: SheetDescriptionProps): React$1.JSX.Element;
|
|
724
|
-
|
|
725
|
-
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): React$1.JSX.Element;
|
|
726
|
-
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): React$1.JSX.Element;
|
|
727
|
-
declare function DrawerPortal({ container: containerProp, ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): React$1.JSX.Element;
|
|
728
|
-
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): React$1.JSX.Element;
|
|
729
|
-
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): React$1.JSX.Element;
|
|
730
|
-
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): React$1.JSX.Element;
|
|
731
|
-
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
732
|
-
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
733
|
-
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): React$1.JSX.Element;
|
|
734
|
-
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): React$1.JSX.Element;
|
|
735
|
-
|
|
736
|
-
declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): React$1.JSX.Element;
|
|
737
|
-
declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.List>): React$1.JSX.Element;
|
|
738
|
-
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Tab>): React$1.JSX.Element;
|
|
739
|
-
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Panel>): React$1.JSX.Element;
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* Collapsible Root
|
|
743
|
-
* Container for collapsible content with open/close state management.
|
|
744
|
-
*/
|
|
745
|
-
declare function Collapsible({ className, ...props }: Collapsible$1.Root.Props): React$1.JSX.Element;
|
|
746
|
-
/**
|
|
747
|
-
* CollapsibleTrigger Props
|
|
748
|
-
*/
|
|
749
|
-
type CollapsibleTriggerProps = Collapsible$1.Trigger.Props & {
|
|
750
|
-
/** When true, merges props onto the child element instead of rendering a button */
|
|
751
|
-
asChild?: boolean;
|
|
752
|
-
/** Whether the child renders a native button. Defaults to true when asChild is used. */
|
|
753
|
-
nativeButton?: boolean;
|
|
754
|
-
};
|
|
755
|
-
/**
|
|
756
|
-
* CollapsibleTrigger
|
|
757
|
-
* Button that toggles the collapsible open/closed state.
|
|
758
|
-
* Supports asChild pattern for custom trigger elements.
|
|
759
|
-
*/
|
|
760
|
-
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Omit<CollapsibleTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
761
|
-
/**
|
|
762
|
-
* CollapsiblePanel Props
|
|
763
|
-
*/
|
|
764
|
-
type CollapsiblePanelProps = Collapsible$1.Panel.Props & {
|
|
765
|
-
/** Additional className for the inner content wrapper */
|
|
766
|
-
innerClassName?: string;
|
|
767
|
-
};
|
|
768
|
-
/**
|
|
769
|
-
* CollapsiblePanel
|
|
770
|
-
* Compositor-animated reveal for collapsible content.
|
|
771
|
-
* Geometry snaps to its measured height while opacity/translation carry the state change.
|
|
772
|
-
*/
|
|
773
|
-
declare const CollapsiblePanel: React$1.ForwardRefExoticComponent<Omit<CollapsiblePanelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
774
|
-
|
|
775
|
-
type ScrollAreaProps = ScrollArea$1.Root.Props & {
|
|
776
|
-
scrollFade?: boolean;
|
|
777
|
-
scrollbarGutter?: boolean;
|
|
778
|
-
};
|
|
779
|
-
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
780
|
-
declare function ScrollBar({ className, orientation, ...props }: ScrollArea$1.Scrollbar.Props): React$1.JSX.Element;
|
|
781
|
-
|
|
782
|
-
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): React$1.JSX.Element;
|
|
783
|
-
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): React$1.JSX.Element;
|
|
784
|
-
declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
785
|
-
withHandle?: boolean;
|
|
786
|
-
}): React$1.JSX.Element;
|
|
787
|
-
|
|
788
|
-
type TableProps = React$1.ComponentProps<'table'> & {
|
|
789
|
-
/** Classes for the horizontal scroll wrapper around the table */
|
|
790
|
-
containerClassName?: string;
|
|
791
|
-
/** Extra props for the scroll wrapper (e.g. ref, data attributes) */
|
|
792
|
-
containerProps?: Omit<React$1.ComponentProps<'div'>, 'className' | 'children'>;
|
|
793
|
-
};
|
|
794
|
-
/**
|
|
795
|
-
* Semantic table primitives. `Table` wraps the native element in an overflow
|
|
796
|
-
* container so wide content scrolls without breaking page layout.
|
|
797
|
-
*/
|
|
798
|
-
declare function Table({ className, containerClassName, containerProps, ...props }: TableProps): React$1.JSX.Element;
|
|
799
|
-
declare function TableHeader({ className, ...props }: React$1.ComponentProps<'thead'>): React$1.JSX.Element;
|
|
800
|
-
declare function TableBody({ className, ...props }: React$1.ComponentProps<'tbody'>): React$1.JSX.Element;
|
|
801
|
-
declare function TableFooter({ className, ...props }: React$1.ComponentProps<'tfoot'>): React$1.JSX.Element;
|
|
802
|
-
declare function TableRow({ className, ...props }: React$1.ComponentProps<'tr'>): React$1.JSX.Element;
|
|
803
|
-
declare function TableHead({ className, ...props }: React$1.ComponentProps<'th'>): React$1.JSX.Element;
|
|
804
|
-
declare function TableCell({ className, ...props }: React$1.ComponentProps<'td'>): React$1.JSX.Element;
|
|
805
|
-
declare function TableCaption({ className, ...props }: React$1.ComponentProps<'caption'>): React$1.JSX.Element;
|
|
806
|
-
|
|
807
|
-
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): React$1.JSX.Element;
|
|
808
|
-
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): React$1.JSX.Element;
|
|
809
|
-
declare function PaginationItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
|
|
810
|
-
type PaginationLinkProps = {
|
|
811
|
-
isActive?: boolean;
|
|
812
|
-
isDisabled?: boolean;
|
|
813
|
-
} & Pick<React$1.ComponentProps<typeof Button>, 'size'> & React$1.ComponentProps<'a'>;
|
|
814
|
-
declare function PaginationLink({ className, isActive, isDisabled, size, ...props }: PaginationLinkProps): React$1.JSX.Element;
|
|
815
|
-
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
816
|
-
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
817
|
-
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): React$1.JSX.Element;
|
|
818
|
-
|
|
819
|
-
declare function Breadcrumb({ ...props }: React$1.ComponentProps<'nav'>): React$1.JSX.Element;
|
|
820
|
-
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<'ol'>): React$1.JSX.Element;
|
|
821
|
-
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
|
|
822
|
-
declare function BreadcrumbLink({ asChild, render, className, children, ...props }: useRender.ComponentProps<'a'> & React$1.ComponentProps<'a'> & {
|
|
823
|
-
asChild?: boolean;
|
|
824
|
-
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
825
|
-
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<'span'>): React$1.JSX.Element;
|
|
826
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
|
|
827
|
-
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): React$1.JSX.Element;
|
|
828
|
-
|
|
829
|
-
declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Root>): React$1.JSX.Element;
|
|
830
|
-
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): React$1.JSX.Element;
|
|
831
|
-
type AvatarFallbackProps = React$1.ComponentProps<typeof Avatar$1.Fallback> & {
|
|
832
|
-
/** @deprecated Use delay prop instead */
|
|
833
|
-
delayMs?: number;
|
|
834
|
-
};
|
|
835
|
-
declare function AvatarFallback({ className, delayMs, delay, ...props }: AvatarFallbackProps): React$1.JSX.Element;
|
|
836
|
-
|
|
837
|
-
declare const Autocomplete: typeof Autocomplete$1.Root;
|
|
838
|
-
declare function AutocompleteInput({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Autocomplete$1.Input.Props, "size"> & {
|
|
839
|
-
showTrigger?: boolean;
|
|
840
|
-
showClear?: boolean;
|
|
841
|
-
startAddon?: React.ReactNode;
|
|
842
|
-
size?: "sm" | "default" | "lg";
|
|
843
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
844
|
-
}): React$1.JSX.Element;
|
|
845
|
-
declare function AutocompletePopup({ className, children, sideOffset, ...props }: Autocomplete$1.Popup.Props & {
|
|
846
|
-
sideOffset?: number;
|
|
847
|
-
}): React$1.JSX.Element;
|
|
848
|
-
declare function AutocompleteItem({ className, children, ...props }: Autocomplete$1.Item.Props): React$1.JSX.Element;
|
|
849
|
-
declare function AutocompleteSeparator({ className, ...props }: Autocomplete$1.Separator.Props): React$1.JSX.Element;
|
|
850
|
-
declare function AutocompleteEmpty({ className, ...props }: Autocomplete$1.Empty.Props): React$1.JSX.Element;
|
|
851
|
-
|
|
852
|
-
interface FlowZoomPanelProps {
|
|
853
|
-
className?: string;
|
|
854
|
-
position?: PanelPosition;
|
|
855
|
-
fitViewIcon?: React.ReactNode;
|
|
856
|
-
fitViewOptions?: FitViewOptions;
|
|
857
|
-
}
|
|
858
|
-
declare function FlowZoomPanel({ className, position, fitViewIcon, fitViewOptions, }: FlowZoomPanelProps): React$1.JSX.Element;
|
|
859
|
-
|
|
860
|
-
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): React$1.JSX.Element;
|
|
861
|
-
declare function CommandInput({ className, placeholder, ...props }: React$1.ComponentProps<typeof Command$1.Input>): React$1.JSX.Element;
|
|
862
|
-
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): React$1.JSX.Element;
|
|
863
|
-
declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof Command$1.Empty>): React$1.JSX.Element;
|
|
864
|
-
declare function CommandGroup({ className, heading, children, ...props }: React$1.ComponentProps<typeof Command$1.Group> & {
|
|
865
|
-
heading?: React$1.ReactNode;
|
|
866
|
-
}): React$1.JSX.Element;
|
|
867
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): React$1.JSX.Element;
|
|
868
|
-
|
|
869
|
-
declare function Combobox<ItemValue, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<ItemValue, Multiple>): React$1.JSX.Element;
|
|
870
|
-
declare function ComboboxInput({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Combobox$1.Input.Props, "size"> & {
|
|
871
|
-
showTrigger?: boolean;
|
|
872
|
-
showClear?: boolean;
|
|
873
|
-
startAddon?: React$1.ReactNode;
|
|
874
|
-
size?: "sm" | "default" | "lg" | number;
|
|
875
|
-
ref?: React$1.Ref<HTMLInputElement>;
|
|
876
|
-
}): React$1.JSX.Element;
|
|
877
|
-
declare function ComboboxTrigger({ className, ...props }: Combobox$1.Trigger.Props): React$1.JSX.Element;
|
|
878
|
-
declare function ComboboxPopup({ className, children, sideOffset, ...props }: Combobox$1.Popup.Props & {
|
|
879
|
-
sideOffset?: number;
|
|
880
|
-
}): React$1.JSX.Element;
|
|
881
|
-
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): React$1.JSX.Element;
|
|
882
|
-
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): React$1.JSX.Element;
|
|
883
|
-
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): React$1.JSX.Element;
|
|
884
|
-
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): React$1.JSX.Element;
|
|
885
|
-
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): React$1.JSX.Element;
|
|
886
|
-
declare const ComboboxContent: typeof ComboboxPopup;
|
|
887
|
-
type ComboboxProps<ItemValue = unknown, Multiple extends boolean | undefined = false> = Combobox$1.Root.Props<ItemValue, Multiple>;
|
|
888
|
-
type ComboboxTriggerProps = Combobox$1.Trigger.Props;
|
|
889
|
-
type ComboboxContentProps = React$1.ComponentProps<typeof ComboboxPopup>;
|
|
890
|
-
type ComboboxInputProps = React$1.ComponentProps<typeof ComboboxInput>;
|
|
891
|
-
type ComboboxListProps = React$1.ComponentProps<typeof ComboboxList>;
|
|
892
|
-
type ComboboxEmptyProps = React$1.ComponentProps<typeof ComboboxEmpty>;
|
|
893
|
-
type ComboboxGroupProps = React$1.ComponentProps<typeof ComboboxGroup>;
|
|
894
|
-
type ComboboxItemProps = React$1.ComponentProps<typeof ComboboxItem>;
|
|
895
|
-
type ComboboxSeparatorProps = React$1.ComponentProps<typeof ComboboxSeparator>;
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* Variants for the multi-select component to handle different styles.
|
|
899
|
-
* Uses class-variance-authority (cva) to define different styles based on "variant" prop.
|
|
900
|
-
*/
|
|
901
|
-
declare const multiSelectVariants: (props?: ({
|
|
902
|
-
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
903
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
904
|
-
/**
|
|
905
|
-
* Option interface for MultiSelect component
|
|
906
|
-
*/
|
|
907
|
-
interface MultiSelectOption {
|
|
908
|
-
/** The text to display for the option. */
|
|
909
|
-
label: string;
|
|
910
|
-
/** The unique value associated with the option. */
|
|
911
|
-
value: string;
|
|
912
|
-
/** Optional description shown in dropdown but not in selected badge. */
|
|
913
|
-
description?: string | null;
|
|
914
|
-
/** Optional icon component to display alongside the option. */
|
|
915
|
-
icon?: React$1.ComponentType<{
|
|
916
|
-
className?: string;
|
|
917
|
-
}>;
|
|
918
|
-
/** Whether this option is disabled */
|
|
919
|
-
disabled?: boolean;
|
|
920
|
-
/** Custom styling for the option */
|
|
921
|
-
style?: {
|
|
922
|
-
/** Custom badge color */
|
|
923
|
-
badgeColor?: string;
|
|
924
|
-
/** Custom icon color */
|
|
925
|
-
iconColor?: string;
|
|
926
|
-
/** Gradient background for badge */
|
|
927
|
-
gradient?: string;
|
|
233
|
+
readonly exit: {
|
|
234
|
+
readonly opacity: 0;
|
|
235
|
+
readonly y: -8;
|
|
928
236
|
};
|
|
929
|
-
}
|
|
930
|
-
/**
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
heading: string;
|
|
936
|
-
/** Options in this group */
|
|
937
|
-
options: MultiSelectOption[];
|
|
938
|
-
}
|
|
939
|
-
/**
|
|
940
|
-
* Props for MultiSelect component
|
|
941
|
-
*/
|
|
942
|
-
interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants> {
|
|
943
|
-
/**
|
|
944
|
-
* An array of option objects or groups to be displayed in the multi-select component.
|
|
945
|
-
*/
|
|
946
|
-
options: MultiSelectOption[] | MultiSelectGroup[];
|
|
947
|
-
/**
|
|
948
|
-
* Callback function triggered when the selected values change.
|
|
949
|
-
* Receives an array of the new selected values.
|
|
950
|
-
*/
|
|
951
|
-
onValueChange: (value: string[]) => void;
|
|
952
|
-
/** The default selected values when the component mounts. */
|
|
953
|
-
defaultValue?: string[];
|
|
954
|
-
/**
|
|
955
|
-
* Placeholder text to be displayed when no values are selected.
|
|
956
|
-
* Optional, defaults to "Select options".
|
|
957
|
-
*/
|
|
958
|
-
placeholder?: string;
|
|
959
|
-
/**
|
|
960
|
-
* Maximum number of items to display. Extra selected items will be summarized.
|
|
961
|
-
* Optional, defaults to 3.
|
|
962
|
-
*/
|
|
963
|
-
maxCount?: number;
|
|
964
|
-
/**
|
|
965
|
-
* If true, shows search functionality in the popover.
|
|
966
|
-
* If false, hides the search input completely.
|
|
967
|
-
* Optional, defaults to true.
|
|
968
|
-
*/
|
|
969
|
-
searchable?: boolean;
|
|
970
|
-
/**
|
|
971
|
-
* Custom empty state message when no options match search.
|
|
972
|
-
* Optional, defaults to "No results found."
|
|
973
|
-
*/
|
|
974
|
-
emptyIndicator?: React$1.ReactNode;
|
|
975
|
-
/**
|
|
976
|
-
* If true, allows the component to grow and shrink with its content.
|
|
977
|
-
* If false, uses fixed width behavior.
|
|
978
|
-
* Optional, defaults to false.
|
|
979
|
-
*/
|
|
980
|
-
autoSize?: boolean;
|
|
981
|
-
/**
|
|
982
|
-
* If true, shows badges in a single line with horizontal scroll.
|
|
983
|
-
* If false, badges wrap to multiple lines.
|
|
984
|
-
* Optional, defaults to false.
|
|
985
|
-
*/
|
|
986
|
-
singleLine?: boolean;
|
|
987
|
-
/**
|
|
988
|
-
* Custom CSS class for the popover content.
|
|
989
|
-
* Optional, can be used to customize popover appearance.
|
|
990
|
-
*/
|
|
991
|
-
popoverClassName?: string;
|
|
992
|
-
/**
|
|
993
|
-
* If true, disables the component completely.
|
|
994
|
-
* Optional, defaults to false.
|
|
995
|
-
*/
|
|
996
|
-
disabled?: boolean;
|
|
997
|
-
/**
|
|
998
|
-
* Responsive configuration for different screen sizes.
|
|
999
|
-
* Allows customizing maxCount and other properties based on viewport.
|
|
1000
|
-
* Can be boolean true for default responsive behavior or an object for custom configuration.
|
|
1001
|
-
*/
|
|
1002
|
-
responsive?: boolean | {
|
|
1003
|
-
/** Configuration for mobile devices (< 640px) */
|
|
1004
|
-
mobile?: {
|
|
1005
|
-
maxCount?: number;
|
|
1006
|
-
hideIcons?: boolean;
|
|
1007
|
-
compactMode?: boolean;
|
|
1008
|
-
};
|
|
1009
|
-
/** Configuration for tablet devices (640px - 1024px) */
|
|
1010
|
-
tablet?: {
|
|
1011
|
-
maxCount?: number;
|
|
1012
|
-
hideIcons?: boolean;
|
|
1013
|
-
compactMode?: boolean;
|
|
1014
|
-
};
|
|
1015
|
-
/** Configuration for desktop devices (> 1024px) */
|
|
1016
|
-
desktop?: {
|
|
1017
|
-
maxCount?: number;
|
|
1018
|
-
hideIcons?: boolean;
|
|
1019
|
-
compactMode?: boolean;
|
|
1020
|
-
};
|
|
237
|
+
};
|
|
238
|
+
/** Fade with subtle slide down - good for dropdowns */
|
|
239
|
+
readonly fadeSlideDown: {
|
|
240
|
+
readonly initial: {
|
|
241
|
+
readonly opacity: 0;
|
|
242
|
+
readonly y: -8;
|
|
1021
243
|
};
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
* When set, component will not shrink below this width.
|
|
1026
|
-
*/
|
|
1027
|
-
minWidth?: string;
|
|
1028
|
-
/**
|
|
1029
|
-
* Maximum width for the component.
|
|
1030
|
-
* Optional, defaults to 100% of container.
|
|
1031
|
-
* Component will not exceed container boundaries.
|
|
1032
|
-
*/
|
|
1033
|
-
maxWidth?: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* Maximum height for the dropdown list area.
|
|
1036
|
-
* Optional, defaults to responsive viewport-based heights.
|
|
1037
|
-
*/
|
|
1038
|
-
dropdownMaxHeight?: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* If true, automatically removes duplicate options based on their value.
|
|
1041
|
-
* Optional, defaults to false (shows warning in dev mode instead).
|
|
1042
|
-
*/
|
|
1043
|
-
deduplicateOptions?: boolean;
|
|
1044
|
-
/**
|
|
1045
|
-
* If true, the component will reset its internal state when defaultValue changes.
|
|
1046
|
-
* Useful for React Hook Form integration and form reset functionality.
|
|
1047
|
-
* Optional, defaults to true.
|
|
1048
|
-
*/
|
|
1049
|
-
resetOnDefaultValueChange?: boolean;
|
|
1050
|
-
/**
|
|
1051
|
-
* If true, automatically closes the popover after selecting an option.
|
|
1052
|
-
* Useful for single-selection-like behavior or mobile UX.
|
|
1053
|
-
* Optional, defaults to false.
|
|
1054
|
-
*/
|
|
1055
|
-
closeOnSelect?: boolean;
|
|
1056
|
-
/**
|
|
1057
|
-
* Custom footer content to display at the bottom of the dropdown.
|
|
1058
|
-
* Useful for adding action buttons like "Add new item".
|
|
1059
|
-
* Optional.
|
|
1060
|
-
*/
|
|
1061
|
-
footerContent?: React$1.ReactNode;
|
|
1062
|
-
}
|
|
1063
|
-
/**
|
|
1064
|
-
* Imperative methods exposed through ref
|
|
1065
|
-
*/
|
|
1066
|
-
interface MultiSelectRef {
|
|
1067
|
-
/**
|
|
1068
|
-
* Programmatically reset the component to its default value
|
|
1069
|
-
*/
|
|
1070
|
-
reset: () => void;
|
|
1071
|
-
/**
|
|
1072
|
-
* Get current selected values
|
|
1073
|
-
*/
|
|
1074
|
-
getSelectedValues: () => string[];
|
|
1075
|
-
/**
|
|
1076
|
-
* Set selected values programmatically
|
|
1077
|
-
*/
|
|
1078
|
-
setSelectedValues: (values: string[]) => void;
|
|
1079
|
-
/**
|
|
1080
|
-
* Clear all selected values
|
|
1081
|
-
*/
|
|
1082
|
-
clear: () => void;
|
|
1083
|
-
/**
|
|
1084
|
-
* Focus the component
|
|
1085
|
-
*/
|
|
1086
|
-
focus: () => void;
|
|
1087
|
-
}
|
|
1088
|
-
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<MultiSelectRef>>;
|
|
1089
|
-
|
|
1090
|
-
type TagsProps = {
|
|
1091
|
-
value?: string;
|
|
1092
|
-
setValue?: (value: string) => void;
|
|
1093
|
-
open?: boolean;
|
|
1094
|
-
onOpenChange?: (open: boolean) => void;
|
|
1095
|
-
children?: ReactNode;
|
|
1096
|
-
className?: string;
|
|
1097
|
-
};
|
|
1098
|
-
declare const Tags: ({ value, setValue, open: controlledOpen, onOpenChange: controlledOnOpenChange, children, className, }: TagsProps) => React$1.JSX.Element;
|
|
1099
|
-
type TagsTriggerProps = ComponentProps<typeof Button>;
|
|
1100
|
-
declare const TagsTrigger: ({ className, children, ...props }: TagsTriggerProps) => React$1.JSX.Element;
|
|
1101
|
-
type TagsValueProps = ComponentProps<typeof Badge>;
|
|
1102
|
-
declare const TagsValue: ({ className, children, onRemove, ...props }: TagsValueProps & {
|
|
1103
|
-
onRemove?: () => void;
|
|
1104
|
-
}) => React$1.JSX.Element;
|
|
1105
|
-
type TagsContentProps = ComponentProps<typeof PopoverContent>;
|
|
1106
|
-
declare const TagsContent: ({ className, children, ...props }: TagsContentProps) => React$1.JSX.Element;
|
|
1107
|
-
type TagsInputProps = ComponentProps<typeof CommandInput>;
|
|
1108
|
-
declare const TagsInput: ({ className, ...props }: TagsInputProps) => React$1.JSX.Element;
|
|
1109
|
-
type TagsListProps = ComponentProps<typeof CommandList>;
|
|
1110
|
-
declare const TagsList: ({ className, ...props }: TagsListProps) => React$1.JSX.Element;
|
|
1111
|
-
type TagsEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
1112
|
-
declare const TagsEmpty: ({ children, className: _className, ...props }: TagsEmptyProps) => React$1.JSX.Element;
|
|
1113
|
-
type TagsGroupProps = ComponentProps<typeof CommandGroup>;
|
|
1114
|
-
declare const TagsGroup: typeof CommandGroup;
|
|
1115
|
-
type TagsItemProps = ComponentProps<typeof CommandItem>;
|
|
1116
|
-
declare const TagsItem: ({ className, ...props }: TagsItemProps) => React$1.JSX.Element;
|
|
1117
|
-
|
|
1118
|
-
interface RecordPickerProps {
|
|
1119
|
-
records: any[];
|
|
1120
|
-
linkedRecordIds: Set<string>;
|
|
1121
|
-
onLink: (record: any) => void;
|
|
1122
|
-
isLinking: boolean;
|
|
1123
|
-
getRecordLabel: (record: any) => string;
|
|
1124
|
-
getRecordId: (record: any) => string;
|
|
1125
|
-
searchFields?: string[];
|
|
1126
|
-
placeholder?: string;
|
|
1127
|
-
maxHeight?: string;
|
|
1128
|
-
}
|
|
1129
|
-
declare function RecordPicker({ records, linkedRecordIds, onLink, isLinking, getRecordLabel, getRecordId, searchFields, placeholder, maxHeight, }: RecordPickerProps): React$1.JSX.Element;
|
|
1130
|
-
|
|
1131
|
-
interface StepperProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1132
|
-
defaultValue?: number;
|
|
1133
|
-
value?: number;
|
|
1134
|
-
onValueChange?: (value: number) => void;
|
|
1135
|
-
orientation?: 'horizontal' | 'vertical';
|
|
1136
|
-
}
|
|
1137
|
-
declare function Stepper({ defaultValue, value, onValueChange, orientation, className, ...props }: StepperProps): React$1.JSX.Element;
|
|
1138
|
-
interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1139
|
-
step: number;
|
|
1140
|
-
completed?: boolean;
|
|
1141
|
-
disabled?: boolean;
|
|
1142
|
-
loading?: boolean;
|
|
1143
|
-
}
|
|
1144
|
-
declare function StepperItem({ step, completed, disabled, loading, className, children, ...props }: StepperItemProps): React$1.JSX.Element;
|
|
1145
|
-
interface StepperTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1146
|
-
asChild?: boolean;
|
|
1147
|
-
/** Disables hover and press scaling when motion would distract. */
|
|
1148
|
-
static?: boolean;
|
|
1149
|
-
}
|
|
1150
|
-
declare function StepperTrigger({ asChild, static: isStatic, className, children, ...props }: StepperTriggerProps): React$1.JSX.Element;
|
|
1151
|
-
interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1152
|
-
asChild?: boolean;
|
|
1153
|
-
}
|
|
1154
|
-
declare function StepperIndicator({ asChild, className, children, ...props }: StepperIndicatorProps): React$1.JSX.Element;
|
|
1155
|
-
declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): React$1.JSX.Element;
|
|
1156
|
-
declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
1157
|
-
declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1158
|
-
|
|
1159
|
-
type SidebarContextProps = {
|
|
1160
|
-
sidebarId: string;
|
|
1161
|
-
state: 'expanded' | 'collapsed';
|
|
1162
|
-
open: boolean;
|
|
1163
|
-
setOpen: (open: boolean | ((open: boolean) => boolean)) => void;
|
|
1164
|
-
openMobile: boolean;
|
|
1165
|
-
setOpenMobile: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
1166
|
-
isMobile: boolean;
|
|
1167
|
-
toggleSidebar: () => void;
|
|
1168
|
-
};
|
|
1169
|
-
declare function useSidebar(): SidebarContextProps;
|
|
1170
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<'div'> & {
|
|
1171
|
-
defaultOpen?: boolean;
|
|
1172
|
-
open?: boolean;
|
|
1173
|
-
onOpenChange?: (open: boolean) => void;
|
|
1174
|
-
}): React$1.JSX.Element;
|
|
1175
|
-
declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React$1.ComponentProps<'div'> & {
|
|
1176
|
-
side?: 'left' | 'right';
|
|
1177
|
-
variant?: 'sidebar' | 'floating' | 'inset';
|
|
1178
|
-
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
1179
|
-
}): React$1.JSX.Element;
|
|
1180
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
|
|
1181
|
-
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<'button'>): React$1.JSX.Element;
|
|
1182
|
-
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<'main'>): React$1.JSX.Element;
|
|
1183
|
-
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): React$1.JSX.Element;
|
|
1184
|
-
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1185
|
-
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1186
|
-
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1187
|
-
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1188
|
-
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1189
|
-
declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<'div'> & React$1.ComponentProps<'div'>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1190
|
-
declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'>): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1191
|
-
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1192
|
-
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<'ul'>): React$1.JSX.Element;
|
|
1193
|
-
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
|
|
1194
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1195
|
-
variant?: "outline" | "default" | null | undefined;
|
|
1196
|
-
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1197
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1198
|
-
declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'> & {
|
|
1199
|
-
isActive?: boolean;
|
|
1200
|
-
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1201
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): React$1.JSX.Element;
|
|
1202
|
-
declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'> & {
|
|
1203
|
-
showOnHover?: boolean;
|
|
1204
|
-
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1205
|
-
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
1206
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<'div'> & {
|
|
1207
|
-
showIcon?: boolean;
|
|
1208
|
-
}): React$1.JSX.Element;
|
|
1209
|
-
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<'ul'>): React$1.JSX.Element;
|
|
1210
|
-
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<'li'>): React$1.JSX.Element;
|
|
1211
|
-
declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<'a'> & React$1.ComponentProps<'a'> & {
|
|
1212
|
-
size?: 'sm' | 'md';
|
|
1213
|
-
isActive?: boolean;
|
|
1214
|
-
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1215
|
-
|
|
1216
|
-
interface AppLinkRenderProps extends Omit<React$1.ComponentProps<'a'>, 'href'> {
|
|
1217
|
-
href: string;
|
|
1218
|
-
}
|
|
1219
|
-
type AppLinkRenderer = (props: AppLinkRenderProps) => React$1.ReactElement;
|
|
1220
|
-
interface AppBreadcrumbItem {
|
|
1221
|
-
id: string;
|
|
1222
|
-
label: React$1.ReactNode;
|
|
1223
|
-
href?: string;
|
|
1224
|
-
current?: boolean;
|
|
1225
|
-
}
|
|
1226
|
-
type AppBarRootProps = useRender.ComponentProps<'header'> & React$1.ComponentProps<'header'>;
|
|
1227
|
-
type AppBarProps = Omit<AppBarRootProps, 'children'> & {
|
|
1228
|
-
breadcrumbs?: readonly AppBreadcrumbItem[];
|
|
1229
|
-
renderLink?: AppLinkRenderer;
|
|
1230
|
-
leading?: React$1.ReactNode;
|
|
1231
|
-
search?: React$1.ReactNode;
|
|
1232
|
-
actions?: React$1.ReactNode;
|
|
1233
|
-
toggleLabel?: string;
|
|
1234
|
-
};
|
|
1235
|
-
declare function createAppLink(renderLink: AppLinkRenderer | undefined, props: AppLinkRenderProps): React$1.JSX.Element;
|
|
1236
|
-
declare function AppBar({ breadcrumbs, renderLink, leading, search, actions, toggleLabel, className, render, ...props }: AppBarProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1237
|
-
|
|
1238
|
-
type AppIcon = React$1.ComponentType<{
|
|
1239
|
-
className?: string;
|
|
1240
|
-
'aria-hidden'?: boolean | 'true' | 'false';
|
|
1241
|
-
}>;
|
|
1242
|
-
interface AppNavigationChild {
|
|
1243
|
-
id: string;
|
|
1244
|
-
label: React$1.ReactNode;
|
|
1245
|
-
href: string;
|
|
1246
|
-
isActive?: boolean;
|
|
1247
|
-
disabled?: boolean;
|
|
1248
|
-
}
|
|
1249
|
-
interface AppNavigationItem extends AppNavigationChild {
|
|
1250
|
-
icon?: AppIcon;
|
|
1251
|
-
badge?: React$1.ReactNode;
|
|
1252
|
-
defaultOpen?: boolean;
|
|
1253
|
-
toggleLabel?: string;
|
|
1254
|
-
children?: readonly AppNavigationChild[];
|
|
1255
|
-
}
|
|
1256
|
-
interface AppNavigationGroup {
|
|
1257
|
-
id: string;
|
|
1258
|
-
label?: React$1.ReactNode;
|
|
1259
|
-
placement?: 'main' | 'footer';
|
|
1260
|
-
items: readonly AppNavigationItem[];
|
|
1261
|
-
}
|
|
1262
|
-
interface AppShellBrand {
|
|
1263
|
-
name: React$1.ReactNode;
|
|
1264
|
-
description?: React$1.ReactNode;
|
|
1265
|
-
href?: string;
|
|
1266
|
-
logo?: React$1.ReactNode;
|
|
1267
|
-
}
|
|
1268
|
-
interface AppAccountActionBase {
|
|
1269
|
-
id: string;
|
|
1270
|
-
label: React$1.ReactNode;
|
|
1271
|
-
icon?: AppIcon;
|
|
1272
|
-
disabled?: boolean;
|
|
1273
|
-
variant?: 'default' | 'destructive';
|
|
1274
|
-
}
|
|
1275
|
-
type AppAccountAction = AppAccountActionBase & ({
|
|
1276
|
-
href: string;
|
|
1277
|
-
onSelect?: never;
|
|
1278
|
-
} | {
|
|
1279
|
-
href?: never;
|
|
1280
|
-
onSelect: () => void;
|
|
1281
|
-
});
|
|
1282
|
-
interface AppAccountActionGroup {
|
|
1283
|
-
id: string;
|
|
1284
|
-
label?: React$1.ReactNode;
|
|
1285
|
-
actions: readonly AppAccountAction[];
|
|
1286
|
-
}
|
|
1287
|
-
interface AppAccount {
|
|
1288
|
-
name: string;
|
|
1289
|
-
secondaryLabel?: string;
|
|
1290
|
-
avatarUrl?: string;
|
|
1291
|
-
avatarAlt?: string;
|
|
1292
|
-
fallback?: string;
|
|
1293
|
-
actionGroups?: readonly AppAccountActionGroup[];
|
|
1294
|
-
}
|
|
1295
|
-
type SidebarProps = React$1.ComponentProps<typeof Sidebar>;
|
|
1296
|
-
type AppShellRootProps = useRender.ComponentProps<'div'> & React$1.ComponentProps<'div'>;
|
|
1297
|
-
type AppShellProps = Omit<AppShellRootProps, 'children'> & {
|
|
1298
|
-
children: React$1.ReactNode;
|
|
1299
|
-
navigation: readonly AppNavigationGroup[];
|
|
1300
|
-
brand?: AppShellBrand;
|
|
1301
|
-
account?: AppAccount;
|
|
1302
|
-
breadcrumbs?: readonly AppBreadcrumbItem[];
|
|
1303
|
-
renderLink?: AppLinkRenderer;
|
|
1304
|
-
barLeading?: React$1.ReactNode;
|
|
1305
|
-
barSearch?: React$1.ReactNode;
|
|
1306
|
-
barActions?: React$1.ReactNode;
|
|
1307
|
-
barProps?: Omit<AppBarProps, 'breadcrumbs' | 'renderLink' | 'leading' | 'search' | 'actions'>;
|
|
1308
|
-
/**
|
|
1309
|
-
* Where the app bar sits relative to the sidebar.
|
|
1310
|
-
* - `top` (default): full-width sticky bar above the sidebar + content row
|
|
1311
|
-
* - `content`: bar only over the main column (manager-panel composition)
|
|
1312
|
-
*/
|
|
1313
|
-
barPlacement?: 'top' | 'content';
|
|
1314
|
-
headerHeight?: string;
|
|
1315
|
-
/** CSS length for the expanded desktop sidebar (default upstream token). */
|
|
1316
|
-
sidebarWidth?: string;
|
|
1317
|
-
sidebarProps?: Omit<SidebarProps, 'children'>;
|
|
1318
|
-
sidebarFooter?: React$1.ReactNode;
|
|
1319
|
-
/** Optional sticky footer below main content (e.g. mobile feature tabs). */
|
|
1320
|
-
contentFooter?: React$1.ReactNode;
|
|
1321
|
-
defaultSidebarOpen?: boolean;
|
|
1322
|
-
sidebarOpen?: boolean;
|
|
1323
|
-
onSidebarOpenChange?: (open: boolean) => void;
|
|
1324
|
-
contentClassName?: string;
|
|
1325
|
-
contentProps?: Omit<React$1.ComponentProps<'main'>, 'children' | 'className'>;
|
|
1326
|
-
};
|
|
1327
|
-
declare function AppShell({ children, navigation, brand, account, breadcrumbs, renderLink, barLeading, barSearch, barActions, barProps, barPlacement, headerHeight, sidebarWidth, sidebarProps, sidebarFooter, contentFooter, defaultSidebarOpen, sidebarOpen, onSidebarOpenChange, contentClassName, contentProps, className, style, render, ...props }: AppShellProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1328
|
-
|
|
1329
|
-
interface BaseCalendarProps {
|
|
1330
|
-
className?: string;
|
|
1331
|
-
}
|
|
1332
|
-
type CalendarProps = ComponentProps<typeof Calendar$1> & BaseCalendarProps;
|
|
1333
|
-
type RangeCalendarProps = ComponentProps<typeof RangeCalendar$1> & BaseCalendarProps;
|
|
1334
|
-
declare function Calendar({ className, ...props }: CalendarProps): React$1.JSX.Element;
|
|
1335
|
-
declare function RangeCalendar({ className, ...props }: RangeCalendarProps): React$1.JSX.Element;
|
|
1336
|
-
|
|
1337
|
-
type JsonInputProps = {
|
|
1338
|
-
value: string;
|
|
1339
|
-
setValue: (value: string) => void;
|
|
1340
|
-
minLines?: number;
|
|
1341
|
-
className?: string;
|
|
1342
|
-
/** Theme for the editor: 'light' or 'dark'. Defaults to 'light'. */
|
|
1343
|
-
theme?: 'light' | 'dark';
|
|
1344
|
-
};
|
|
1345
|
-
declare const JsonInput: ({ value, setValue, minLines, className, theme }: JsonInputProps) => React$1.JSX.Element;
|
|
1346
|
-
type JsonEditorProps = {
|
|
1347
|
-
value: string;
|
|
1348
|
-
lines: number;
|
|
1349
|
-
setValue?: (value: string) => void;
|
|
1350
|
-
readOnly?: boolean;
|
|
1351
|
-
isValid?: boolean;
|
|
1352
|
-
enableFolding?: boolean;
|
|
1353
|
-
/** Theme for the editor: 'light' or 'dark'. Defaults to 'light'. */
|
|
1354
|
-
theme?: 'light' | 'dark';
|
|
1355
|
-
};
|
|
1356
|
-
declare const JsonEditor: ({ value, setValue, lines, readOnly, isValid, enableFolding, theme, }: JsonEditorProps) => React$1.JSX.Element;
|
|
1357
|
-
declare const validateJson: (text: string) => string | null;
|
|
1358
|
-
|
|
1359
|
-
type ToasterComponentProps = ToasterProps & {
|
|
1360
|
-
/** Theme for the toaster. Pass from your app's theme context. Defaults to 'system'. */
|
|
1361
|
-
theme?: 'light' | 'dark' | 'system';
|
|
1362
|
-
};
|
|
1363
|
-
declare const Toaster: ({ theme, ...props }: ToasterComponentProps) => React$1.JSX.Element;
|
|
1364
|
-
|
|
1365
|
-
interface DockProps extends VariantProps<typeof dockVariants> {
|
|
1366
|
-
className?: string;
|
|
1367
|
-
iconSize?: number;
|
|
1368
|
-
iconMagnification?: number;
|
|
1369
|
-
iconDistance?: number;
|
|
1370
|
-
direction?: 'top' | 'middle' | 'bottom';
|
|
1371
|
-
children: React__default.ReactNode;
|
|
1372
|
-
}
|
|
1373
|
-
declare const dockVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1374
|
-
declare const Dock: React__default.ForwardRefExoticComponent<DockProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1375
|
-
interface DockIconProps extends Omit<MotionProps & React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
1376
|
-
size?: number;
|
|
1377
|
-
magnification?: number;
|
|
1378
|
-
distance?: number;
|
|
1379
|
-
mouseX?: MotionValue<number>;
|
|
1380
|
-
className?: string;
|
|
1381
|
-
children?: React__default.ReactNode;
|
|
1382
|
-
props?: PropsWithChildren;
|
|
1383
|
-
}
|
|
1384
|
-
declare const DockIcon: {
|
|
1385
|
-
({ size, magnification, distance, mouseX, className, children, ...props }: DockIconProps): React__default.JSX.Element;
|
|
1386
|
-
displayName: string;
|
|
1387
|
-
};
|
|
1388
|
-
|
|
1389
|
-
interface PageHeaderProps {
|
|
1390
|
-
/** Page title */
|
|
1391
|
-
title: string;
|
|
1392
|
-
/** Optional description */
|
|
1393
|
-
description?: string;
|
|
1394
|
-
/** Optional actions to display on the right */
|
|
1395
|
-
actions?: ReactNode;
|
|
1396
|
-
}
|
|
1397
|
-
/**
|
|
1398
|
-
* Consistent page header component
|
|
1399
|
-
*/
|
|
1400
|
-
declare function PageHeader({ title, description, actions }: PageHeaderProps): React$1.JSX.Element;
|
|
1401
|
-
|
|
1402
|
-
interface FlickeringGridProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1403
|
-
squareSize?: number;
|
|
1404
|
-
gridGap?: number;
|
|
1405
|
-
flickerChance?: number;
|
|
1406
|
-
color?: string;
|
|
1407
|
-
width?: number;
|
|
1408
|
-
height?: number;
|
|
1409
|
-
className?: string;
|
|
1410
|
-
maxOpacity?: number;
|
|
1411
|
-
}
|
|
1412
|
-
declare const FlickeringGrid: React__default.FC<FlickeringGridProps>;
|
|
1413
|
-
|
|
1414
|
-
type FrameDot = [number, number];
|
|
1415
|
-
type Frame = FrameDot[];
|
|
1416
|
-
type Frames = Frame[];
|
|
1417
|
-
type MotionGridProps = {
|
|
1418
|
-
gridSize: [number, number];
|
|
1419
|
-
/** Duration in milliseconds for each frame of the animation */
|
|
1420
|
-
duration?: number;
|
|
1421
|
-
animate?: boolean;
|
|
1422
|
-
cellClassName?: string;
|
|
1423
|
-
cellProps?: HTMLMotionProps<'div'>;
|
|
1424
|
-
cellActiveClassName?: string;
|
|
1425
|
-
cellInactiveClassName?: string;
|
|
1426
|
-
} & React$1.ComponentProps<'div'>;
|
|
1427
|
-
declare const MotionGrid: ({ gridSize, duration, animate, cellClassName, cellProps, cellActiveClassName, cellInactiveClassName, className, style, ...props }: MotionGridProps) => React$1.JSX.Element;
|
|
1428
|
-
|
|
1429
|
-
interface ProgressiveBlurProps {
|
|
1430
|
-
className?: string;
|
|
1431
|
-
height?: string;
|
|
1432
|
-
position?: 'top' | 'bottom' | 'both';
|
|
1433
|
-
/** Strength of the blur kernel in pixels (simpler, fewer artifacts) */
|
|
1434
|
-
blurPx?: number;
|
|
1435
|
-
surface?: 'background' | 'card' | 'sidebar';
|
|
1436
|
-
intensity?: number;
|
|
1437
|
-
/** Optional horizontal inset to avoid edge bleeding (e.g. '0.5rem') */
|
|
1438
|
-
insetX?: string;
|
|
1439
|
-
}
|
|
1440
|
-
declare function ProgressiveBlur({ className, height, position, blurPx, surface, intensity, insetX, }: ProgressiveBlurProps): React__default.JSX.Element;
|
|
1441
|
-
|
|
1442
|
-
interface ProgressiveBlurScrollContainerProps {
|
|
1443
|
-
children: ReactNode;
|
|
1444
|
-
className?: string;
|
|
1445
|
-
/** Class name for the scrollable inner div */
|
|
1446
|
-
scrollClassName?: string;
|
|
1447
|
-
/** Minimum number of items to show blur (prevents blur on sparse content) */
|
|
1448
|
-
minItemsForBlur?: number;
|
|
1449
|
-
/** Current item count for minItemsForBlur check */
|
|
1450
|
-
itemCount?: number;
|
|
1451
|
-
/** Props to pass to ProgressiveBlur */
|
|
1452
|
-
blurProps?: Partial<ProgressiveBlurProps>;
|
|
1453
|
-
/** Whether to show blur (in addition to overflow check) */
|
|
1454
|
-
showBlur?: boolean;
|
|
1455
|
-
}
|
|
1456
|
-
/**
|
|
1457
|
-
* A scrollable container that shows progressive blur effects at the top and bottom
|
|
1458
|
-
* when content overflows. Top blur appears when scrolled, bottom blur when more content below.
|
|
1459
|
-
*/
|
|
1460
|
-
declare function ProgressiveBlurScrollContainer({ children, className, scrollClassName, minItemsForBlur, itemCount, blurProps, showBlur, }: ProgressiveBlurScrollContainerProps): React$1.JSX.Element;
|
|
1461
|
-
|
|
1462
|
-
interface ResponsiveDiagramProps {
|
|
1463
|
-
children: React.ReactNode;
|
|
1464
|
-
targetRatio?: number;
|
|
1465
|
-
className?: string;
|
|
1466
|
-
}
|
|
1467
|
-
declare function ResponsiveDiagram({ children, targetRatio, className }: ResponsiveDiagramProps): React$1.JSX.Element;
|
|
1468
|
-
|
|
1469
|
-
interface UnlinkButtonProps {
|
|
1470
|
-
onUnlink: () => void;
|
|
1471
|
-
isUnlinking?: boolean;
|
|
1472
|
-
disabled?: boolean;
|
|
1473
|
-
size?: 'sm' | 'xs';
|
|
1474
|
-
variant?: 'destructive' | 'ghost';
|
|
1475
|
-
className?: string;
|
|
1476
|
-
'aria-label'?: string;
|
|
1477
|
-
}
|
|
1478
|
-
declare function UnlinkButton({ onUnlink, isUnlinking, disabled, size, variant, className, 'aria-label': ariaLabel, }: UnlinkButtonProps): React$1.JSX.Element;
|
|
1479
|
-
|
|
1480
|
-
type CardId = string;
|
|
1481
|
-
type CardComponent<P = unknown> = ComponentType<P & CardInjectedProps>;
|
|
1482
|
-
/** Configuration for the stack backdrop overlay */
|
|
1483
|
-
type BackdropConfig = {
|
|
1484
|
-
/** Enable backdrop blur effect (default: false) */
|
|
1485
|
-
blur?: boolean;
|
|
1486
|
-
/** Custom class name for full styling control */
|
|
1487
|
-
className?: string;
|
|
1488
|
-
};
|
|
1489
|
-
/** Props injected into every card component */
|
|
1490
|
-
type CardInjectedProps = {
|
|
1491
|
-
card: {
|
|
1492
|
-
id: CardId;
|
|
1493
|
-
/**
|
|
1494
|
-
* Push a new card from this card.
|
|
1495
|
-
* Default: replaces all cards above this card, then pushes the new card.
|
|
1496
|
-
* Use { append: true } to just push on top of the entire stack.
|
|
1497
|
-
*/
|
|
1498
|
-
push: <P>(card: Omit<CardSpec<P>, 'id'> & {
|
|
1499
|
-
id?: CardId;
|
|
1500
|
-
}, options?: CardPushOptions) => CardId;
|
|
1501
|
-
close: () => void;
|
|
1502
|
-
setTitle: (title?: string) => void;
|
|
1503
|
-
setDescription: (description?: string) => void;
|
|
1504
|
-
setWidth: (width?: string | number) => void;
|
|
1505
|
-
setDismissable: (dismissable: boolean) => void;
|
|
1506
|
-
updateProps: <P>(patch: Partial<P> | ((prev: P) => P)) => void;
|
|
244
|
+
readonly animate: {
|
|
245
|
+
readonly opacity: 1;
|
|
246
|
+
readonly y: 0;
|
|
1507
247
|
};
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
id: CardId;
|
|
1512
|
-
/** Display title in card header */
|
|
1513
|
-
title?: string;
|
|
1514
|
-
/** Display description/subtitle in card header */
|
|
1515
|
-
description?: string;
|
|
1516
|
-
/** Header size variant - controls title/description size, weight, and height */
|
|
1517
|
-
headerSize?: 'sm' | 'md' | 'lg';
|
|
1518
|
-
/** React component to render */
|
|
1519
|
-
Component: CardComponent<P>;
|
|
1520
|
-
/** Props passed to Component (excluding injected card props) */
|
|
1521
|
-
props?: P;
|
|
1522
|
-
/** Width override (CSS value) - default: 480px */
|
|
1523
|
-
width?: string | number;
|
|
1524
|
-
/** Custom peek offset for this card when cards stack above it (default: 24px) */
|
|
1525
|
-
peekOffset?: number;
|
|
1526
|
-
/**
|
|
1527
|
-
* When true, this card can be fully covered by cards above it (no guaranteed peek).
|
|
1528
|
-
* Use this escape hatch for cards where visibility isn't required when buried in stack.
|
|
1529
|
-
* Default: false (card always peeks past cards above it)
|
|
1530
|
-
*/
|
|
1531
|
-
allowCover?: boolean;
|
|
1532
|
-
/**
|
|
1533
|
-
* Show backdrop behind the stack when this card is the first card.
|
|
1534
|
-
* Default: inherits from CardStackViewport's backdrop prop (true).
|
|
1535
|
-
* Set to false for panel/sidebar-like cards that shouldn't obscure background.
|
|
1536
|
-
* Pass an object to configure blur and styling.
|
|
1537
|
-
*/
|
|
1538
|
-
backdrop?: boolean | BackdropConfig;
|
|
1539
|
-
/** Whether user interactions (close button, Escape, backdrop click, gestures) can dismiss this card.
|
|
1540
|
-
* Programmatic dismissal via card.close() / api.dismiss() always works. Default: true */
|
|
1541
|
-
dismissable?: boolean;
|
|
1542
|
-
/**
|
|
1543
|
-
* Callback fired when this card is removed from the stack.
|
|
1544
|
-
* Fires regardless of how the card was closed (swipe, backdrop, escape, api.dismiss, etc.)
|
|
1545
|
-
*/
|
|
1546
|
-
onClose?: () => void;
|
|
1547
|
-
/** Arbitrary metadata for analytics/debugging */
|
|
1548
|
-
meta?: Record<string, unknown>;
|
|
1549
|
-
};
|
|
1550
|
-
type CardRouteDefinition<P = unknown> = {
|
|
1551
|
-
/** Component to render for this route */
|
|
1552
|
-
Component: CardComponent<P>;
|
|
1553
|
-
/** Generate unique ID from props (default: route key) */
|
|
1554
|
-
getId?: (props?: P) => CardId;
|
|
1555
|
-
/** Default title for cards opened via this route */
|
|
1556
|
-
defaultTitle?: string;
|
|
1557
|
-
/** Default width for cards opened via this route */
|
|
1558
|
-
defaultWidth?: string | number;
|
|
1559
|
-
/** Default peek offset for cards opened via this route */
|
|
1560
|
-
defaultPeekOffset?: number;
|
|
1561
|
-
};
|
|
1562
|
-
type CardRouteMap = Record<string, CardRouteDefinition<unknown>>;
|
|
1563
|
-
type LayoutMode = 'cascade' | 'side-by-side';
|
|
1564
|
-
/** Options for dismiss operation */
|
|
1565
|
-
type DismissOptions = {
|
|
1566
|
-
/**
|
|
1567
|
-
* When true (default), dismissing a card also dismisses all cards above it.
|
|
1568
|
-
* When false, only the specified card is removed (escape hatch).
|
|
1569
|
-
*/
|
|
1570
|
-
cascade?: boolean;
|
|
1571
|
-
};
|
|
1572
|
-
/** Options for push operation */
|
|
1573
|
-
type PushOptions = {
|
|
1574
|
-
/**
|
|
1575
|
-
* If provided, removes all cards above this card ID before pushing.
|
|
1576
|
-
* Used internally by card.push() to implement replace-from-current behavior.
|
|
1577
|
-
*/
|
|
1578
|
-
replaceFrom?: CardId;
|
|
1579
|
-
};
|
|
1580
|
-
/** Options for push from within a card (injected card.push) */
|
|
1581
|
-
type CardPushOptions = {
|
|
1582
|
-
/**
|
|
1583
|
-
* When true, just push on top of the entire stack (escape hatch).
|
|
1584
|
-
* When false (default), replace cards above the current card first.
|
|
1585
|
-
*/
|
|
1586
|
-
append?: boolean;
|
|
1587
|
-
};
|
|
1588
|
-
type CardStackApi = {
|
|
1589
|
-
/** Get the topmost card spec, or null if empty */
|
|
1590
|
-
top: () => CardSpec | null;
|
|
1591
|
-
/** Get the ID of the topmost card, or null if empty */
|
|
1592
|
-
currentId: () => CardId | null;
|
|
1593
|
-
/** Check if stack has cards that can be popped */
|
|
1594
|
-
canPop: () => boolean;
|
|
1595
|
-
/** Get total number of cards in stack */
|
|
1596
|
-
size: () => number;
|
|
1597
|
-
/** Get a specific card by ID, or null if not found */
|
|
1598
|
-
get: (id: CardId) => CardSpec | null;
|
|
1599
|
-
/** Get all cards in stack (bottom to top order) */
|
|
1600
|
-
getAll: () => CardSpec[];
|
|
1601
|
-
/** Check if a specific card exists in the stack */
|
|
1602
|
-
has: (id: CardId) => boolean;
|
|
1603
|
-
/**
|
|
1604
|
-
* Push a new card onto the stack. Returns the card ID.
|
|
1605
|
-
* Use { replaceFrom: cardId } to remove cards above that card first.
|
|
1606
|
-
*/
|
|
1607
|
-
push: <P>(card: CardSpec<P>, options?: PushOptions) => CardId;
|
|
1608
|
-
/** Push a card by registered route key. Returns the card ID. */
|
|
1609
|
-
pushRoute: <P>(route: string, props?: P, opts?: {
|
|
1610
|
-
id?: CardId;
|
|
1611
|
-
title?: string;
|
|
1612
|
-
width?: string | number;
|
|
1613
|
-
}) => CardId;
|
|
1614
|
-
/** Pop one or more cards from the stack */
|
|
1615
|
-
pop: (count?: number) => void;
|
|
1616
|
-
/** Pop cards until the specified ID is on top */
|
|
1617
|
-
popTo: (id: CardId) => void;
|
|
1618
|
-
/** Replace the top card with a new one. Returns the new card ID. */
|
|
1619
|
-
replaceTop: <P>(card: CardSpec<P>) => CardId;
|
|
1620
|
-
/** Reset the entire stack to a specific set of cards */
|
|
1621
|
-
reset: (cards: CardSpec[]) => void;
|
|
1622
|
-
/** Clear all cards from the stack */
|
|
1623
|
-
clear: () => void;
|
|
1624
|
-
/** Update props for a specific card */
|
|
1625
|
-
updateProps: <P>(id: CardId, patch: Partial<P> | ((prev: P) => P)) => void;
|
|
1626
|
-
/** Update the title for a specific card */
|
|
1627
|
-
setTitle: (id: CardId, title?: string) => void;
|
|
1628
|
-
/** Update the description for a specific card */
|
|
1629
|
-
setDescription: (id: CardId, description?: string) => void;
|
|
1630
|
-
/** Update the width for a specific card */
|
|
1631
|
-
setWidth: (id: CardId, width?: string | number) => void;
|
|
1632
|
-
/** Update the dismissable state for a specific card */
|
|
1633
|
-
setDismissable: (id: CardId, dismissable: boolean) => void;
|
|
1634
|
-
/**
|
|
1635
|
-
* Remove a card from the stack.
|
|
1636
|
-
* By default (cascade: true), also removes all cards above it.
|
|
1637
|
-
* Use { cascade: false } to remove only the specified card.
|
|
1638
|
-
*/
|
|
1639
|
-
dismiss: (id: CardId, options?: DismissOptions) => void;
|
|
1640
|
-
/** Insert a card at a specific index (0 = bottom) */
|
|
1641
|
-
insertAt: <P>(index: number, card: CardSpec<P>) => CardId;
|
|
1642
|
-
};
|
|
1643
|
-
type CardStackProviderProps = {
|
|
1644
|
-
children: React.ReactNode;
|
|
1645
|
-
/** Route registry for string-based navigation */
|
|
1646
|
-
routes?: CardRouteMap;
|
|
1647
|
-
/** Initial stack state */
|
|
1648
|
-
initial?: CardSpec[];
|
|
1649
|
-
/** Callback when stack changes */
|
|
1650
|
-
onChange?: (stack: CardSpec[]) => void;
|
|
1651
|
-
/** Z-index base for the stack (default: 100) */
|
|
1652
|
-
zIndexBase?: number;
|
|
1653
|
-
/**
|
|
1654
|
-
* Layout mode for visible cards:
|
|
1655
|
-
* - 'cascade': Cards peek behind each other with offset (default)
|
|
1656
|
-
* - 'side-by-side': Second card pushed fully left, creating master-detail layout
|
|
1657
|
-
*/
|
|
1658
|
-
layoutMode?: LayoutMode;
|
|
1659
|
-
/** Default peek offset in pixels (default: 24) */
|
|
1660
|
-
defaultPeekOffset?: number;
|
|
1661
|
-
/** Default card width (default: 480) */
|
|
1662
|
-
defaultWidth?: string | number;
|
|
1663
|
-
};
|
|
1664
|
-
type AnimationConfig = {
|
|
1665
|
-
/** Entry/exit duration in seconds (default: 0.2) */
|
|
1666
|
-
duration?: number;
|
|
1667
|
-
/** Entry easing (default: [0.32, 0.72, 0, 1]) */
|
|
1668
|
-
enterEase?: number[];
|
|
1669
|
-
/** Exit easing (default: [0.4, 0, 0.6, 1]) */
|
|
1670
|
-
exitEase?: number[];
|
|
1671
|
-
};
|
|
1672
|
-
type GestureConfig = {
|
|
1673
|
-
/** Enable swipe-right-to-pop gesture (default: true on mobile) */
|
|
1674
|
-
swipeToPop?: boolean;
|
|
1675
|
-
/** Minimum swipe distance to trigger pop (default: 35% of viewport width, min 120px) */
|
|
1676
|
-
swipeThreshold?: number;
|
|
1677
|
-
/** Velocity threshold for quick swipe (default: 600px/s, requires minimum distance) */
|
|
1678
|
-
velocityThreshold?: number;
|
|
1679
|
-
/** Auto-dismiss X position while dragging (default: 80% of viewport width) */
|
|
1680
|
-
autoDismissThreshold?: number;
|
|
1681
|
-
};
|
|
1682
|
-
type PeekGestureConfig = {
|
|
1683
|
-
/** Enable peek zone interactions (default: true) */
|
|
1684
|
-
enabled?: boolean;
|
|
1685
|
-
/** Enable drag-to-dismiss on peek zone (default: true) */
|
|
1686
|
-
dragToDismiss?: boolean;
|
|
1687
|
-
/** Hover expansion in pixels (default: 48) */
|
|
1688
|
-
hoverExpansion?: number;
|
|
1689
|
-
/** Minimum drag distance to trigger dismiss (default: 80px) */
|
|
1690
|
-
dragThreshold?: number;
|
|
1691
|
-
/** Velocity threshold for quick drag dismiss (default: 400px/s) */
|
|
1692
|
-
dragVelocityThreshold?: number;
|
|
1693
|
-
};
|
|
1694
|
-
type MobileConfig = {
|
|
1695
|
-
/** Breakpoint for mobile behavior in pixels (default: 768) */
|
|
1696
|
-
breakpoint?: number;
|
|
1697
|
-
/** Force full-screen cards on mobile (default: true) */
|
|
1698
|
-
fullScreen?: boolean;
|
|
1699
|
-
/** Gesture configuration for mobile */
|
|
1700
|
-
gestures?: GestureConfig;
|
|
1701
|
-
};
|
|
1702
|
-
type CardStackViewportProps = {
|
|
1703
|
-
/** Show backdrop behind first card (default: true). Pass object to configure blur/styling. */
|
|
1704
|
-
backdrop?: boolean | BackdropConfig;
|
|
1705
|
-
/** Custom backdrop element */
|
|
1706
|
-
renderBackdrop?: () => React.ReactNode;
|
|
1707
|
-
/** Custom header renderer per card */
|
|
1708
|
-
renderHeader?: (card: CardSpec, api: CardStackApi) => React.ReactNode;
|
|
1709
|
-
/** Custom empty state when stack is empty */
|
|
1710
|
-
renderEmpty?: () => React.ReactNode;
|
|
1711
|
-
/** Number of previous cards to render for peek effect (default: 2) */
|
|
1712
|
-
peekDepth?: number;
|
|
1713
|
-
/** Animation configuration */
|
|
1714
|
-
animation?: AnimationConfig;
|
|
1715
|
-
/** Mobile-specific configuration */
|
|
1716
|
-
mobile?: MobileConfig;
|
|
1717
|
-
/** Peek zone gesture configuration */
|
|
1718
|
-
peekGestures?: PeekGestureConfig;
|
|
1719
|
-
/** Additional class for viewport container */
|
|
1720
|
-
className?: string;
|
|
1721
|
-
};
|
|
1722
|
-
type StackState = {
|
|
1723
|
-
cards: CardSpec[];
|
|
1724
|
-
};
|
|
1725
|
-
type StackAction = {
|
|
1726
|
-
type: 'PUSH';
|
|
1727
|
-
card: CardSpec;
|
|
1728
|
-
} | {
|
|
1729
|
-
type: 'POP';
|
|
1730
|
-
count: number;
|
|
1731
|
-
} | {
|
|
1732
|
-
type: 'POP_TO';
|
|
1733
|
-
id: CardId;
|
|
1734
|
-
} | {
|
|
1735
|
-
type: 'REPLACE_TOP';
|
|
1736
|
-
card: CardSpec;
|
|
1737
|
-
} | {
|
|
1738
|
-
type: 'RESET';
|
|
1739
|
-
cards: CardSpec[];
|
|
1740
|
-
} | {
|
|
1741
|
-
type: 'CLEAR';
|
|
1742
|
-
} | {
|
|
1743
|
-
type: 'UPDATE_PROPS';
|
|
1744
|
-
id: CardId;
|
|
1745
|
-
patch: unknown;
|
|
1746
|
-
} | {
|
|
1747
|
-
type: 'SET_TITLE';
|
|
1748
|
-
id: CardId;
|
|
1749
|
-
title?: string;
|
|
1750
|
-
} | {
|
|
1751
|
-
type: 'SET_DESCRIPTION';
|
|
1752
|
-
id: CardId;
|
|
1753
|
-
description?: string;
|
|
1754
|
-
} | {
|
|
1755
|
-
type: 'SET_WIDTH';
|
|
1756
|
-
id: CardId;
|
|
1757
|
-
width?: string | number;
|
|
1758
|
-
} | {
|
|
1759
|
-
type: 'SET_DISMISSABLE';
|
|
1760
|
-
id: CardId;
|
|
1761
|
-
dismissable: boolean;
|
|
1762
|
-
} | {
|
|
1763
|
-
type: 'DISMISS';
|
|
1764
|
-
id: CardId;
|
|
1765
|
-
cascade: boolean;
|
|
1766
|
-
} | {
|
|
1767
|
-
type: 'INSERT_AT';
|
|
1768
|
-
index: number;
|
|
1769
|
-
card: CardSpec;
|
|
1770
|
-
};
|
|
1771
|
-
type StackContextValue = {
|
|
1772
|
-
state: StackState;
|
|
1773
|
-
api: CardStackApi;
|
|
1774
|
-
config: {
|
|
1775
|
-
routes: CardRouteMap;
|
|
1776
|
-
zIndexBase: number;
|
|
1777
|
-
layoutMode: LayoutMode;
|
|
1778
|
-
defaultPeekOffset: number;
|
|
1779
|
-
defaultWidth: string | number;
|
|
248
|
+
readonly exit: {
|
|
249
|
+
readonly opacity: 0;
|
|
250
|
+
readonly y: 8;
|
|
1780
251
|
};
|
|
1781
|
-
};
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
/** Hook to get current layout mode */
|
|
1787
|
-
declare function useStackLayoutMode(): LayoutMode;
|
|
1788
|
-
/** Hook to get stack cards (triggers re-render on change) */
|
|
1789
|
-
declare function useStackCards(): CardSpec[];
|
|
1790
|
-
/** Hook to check if a card is the top card */
|
|
1791
|
-
declare function useIsTopCard(id: CardId): boolean;
|
|
1792
|
-
/** Hook to get card index in stack */
|
|
1793
|
-
declare function useCardIndex(id: CardId): number;
|
|
1794
|
-
/** Create injected card props for a specific card */
|
|
1795
|
-
declare function useCardInjectedProps(id: CardId): {
|
|
1796
|
-
card: {
|
|
1797
|
-
id: string;
|
|
1798
|
-
push: <P>(card: Omit<CardSpec<P>, "id"> & {
|
|
1799
|
-
id?: CardId;
|
|
1800
|
-
}, options?: CardPushOptions) => CardId;
|
|
1801
|
-
close: () => void;
|
|
1802
|
-
setTitle: (title?: string) => void;
|
|
1803
|
-
setDescription: (description?: string) => void;
|
|
1804
|
-
setWidth: (width?: string | number) => void;
|
|
1805
|
-
setDismissable: (dismissable: boolean) => void;
|
|
1806
|
-
updateProps: <P>(patch: Partial<P> | ((prev: P) => P)) => void;
|
|
252
|
+
};
|
|
253
|
+
/** Simple fade - for overlays */
|
|
254
|
+
readonly fade: {
|
|
255
|
+
readonly initial: {
|
|
256
|
+
readonly opacity: 0;
|
|
1807
257
|
};
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
* Hook to check if the card's enter animation is complete.
|
|
1811
|
-
* Use this to defer data fetching until after the slide-in animation.
|
|
1812
|
-
*
|
|
1813
|
-
* @example
|
|
1814
|
-
* ```tsx
|
|
1815
|
-
* function MyCard() {
|
|
1816
|
-
* const { isReady } = useCardReady();
|
|
1817
|
-
*
|
|
1818
|
-
* // Data query that only runs after animation completes
|
|
1819
|
-
* const { data, isLoading } = useQuery({
|
|
1820
|
-
* queryKey: ['myData'],
|
|
1821
|
-
* queryFn: fetchData,
|
|
1822
|
-
* enabled: isReady, // Don't fetch until animation done
|
|
1823
|
-
* });
|
|
1824
|
-
*
|
|
1825
|
-
* return (
|
|
1826
|
-
* <Select disabled={isLoading || !isReady}>
|
|
1827
|
-
* {data?.map(item => <SelectItem key={item.id}>{item.name}</SelectItem>)}
|
|
1828
|
-
* </Select>
|
|
1829
|
-
* );
|
|
1830
|
-
* }
|
|
1831
|
-
* ```
|
|
1832
|
-
*/
|
|
1833
|
-
declare function useCardReady(): {
|
|
1834
|
-
isReady: boolean;
|
|
1835
|
-
};
|
|
1836
|
-
|
|
1837
|
-
declare function CardStackViewport({ backdrop, renderBackdrop, renderHeader, renderEmpty, peekDepth, animation, mobile, peekGestures, className, }: CardStackViewportProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | React$1.JSX.Element | null | undefined;
|
|
1838
|
-
|
|
1839
|
-
type StackBackdropProps = {
|
|
1840
|
-
/** Additional class names */
|
|
1841
|
-
className?: string;
|
|
1842
|
-
/** Click handler (typically closes the stack) */
|
|
1843
|
-
onClick?: () => void;
|
|
1844
|
-
/** Backdrop configuration (blur, custom className) */
|
|
1845
|
-
config?: BackdropConfig;
|
|
1846
|
-
};
|
|
1847
|
-
declare function StackBackdrop({ className, onClick, config: backdropConfig }: StackBackdropProps): React$1.JSX.Element;
|
|
1848
|
-
|
|
1849
|
-
type StackHeaderProps = {
|
|
1850
|
-
/** The card spec */
|
|
1851
|
-
card: CardSpec;
|
|
1852
|
-
/** Close handler */
|
|
1853
|
-
onClose: () => void;
|
|
1854
|
-
/** Additional class names */
|
|
1855
|
-
className?: string;
|
|
1856
|
-
/** Custom title renderer */
|
|
1857
|
-
renderTitle?: (card: CardSpec) => React$1.ReactNode;
|
|
1858
|
-
};
|
|
1859
|
-
declare function StackHeader({ card, onClose, className, renderTitle }: StackHeaderProps): React$1.JSX.Element;
|
|
1860
|
-
type StackHeaderSlotProps = {
|
|
1861
|
-
/** Additional class names */
|
|
1862
|
-
className?: string;
|
|
1863
|
-
children: React$1.ReactNode;
|
|
1864
|
-
};
|
|
1865
|
-
/** Slot for custom header content */
|
|
1866
|
-
declare function StackHeaderSlot({ className, children }: StackHeaderSlotProps): React$1.JSX.Element;
|
|
1867
|
-
|
|
1868
|
-
type UseStackGesturesOptions = GestureConfig & {
|
|
1869
|
-
/** Whether gestures are enabled */
|
|
1870
|
-
enabled?: boolean;
|
|
1871
|
-
/** Callback when swipe completes and should dismiss */
|
|
1872
|
-
onDismiss: () => void;
|
|
1873
|
-
};
|
|
1874
|
-
type StackGestureBind = () => object;
|
|
1875
|
-
type UseStackGesturesResult = {
|
|
1876
|
-
/** Current drag X offset */
|
|
1877
|
-
dragX: number;
|
|
1878
|
-
/** Whether currently dragging */
|
|
1879
|
-
isDragging: boolean;
|
|
1880
|
-
/** Bind function to attach to the draggable element */
|
|
1881
|
-
bind: StackGestureBind;
|
|
1882
|
-
};
|
|
1883
|
-
/**
|
|
1884
|
-
* Hook for swipe-to-dismiss gesture on stack cards using @use-gesture/react.
|
|
1885
|
-
*
|
|
1886
|
-
* Features:
|
|
1887
|
-
* - Only allows swiping to the right (positive X direction)
|
|
1888
|
-
* - Ignores touches near left edge (avoids iOS Safari back gesture conflict)
|
|
1889
|
-
* - Requires horizontal intent before activating (won't interfere with scroll)
|
|
1890
|
-
* - Dismisses on release after distance or velocity threshold
|
|
1891
|
-
* - Auto-dismisses near the end of the drag (configurable)
|
|
1892
|
-
* - 1:1 finger tracking for responsive feel
|
|
1893
|
-
*/
|
|
1894
|
-
declare function useStackGestures(options: UseStackGesturesOptions): UseStackGesturesResult;
|
|
1895
|
-
|
|
1896
|
-
type StackCardProps = {
|
|
1897
|
-
/** The card specification */
|
|
1898
|
-
card: CardSpec;
|
|
1899
|
-
/** Index of this card in the stack */
|
|
1900
|
-
index: number;
|
|
1901
|
-
/** Total number of cards in the stack */
|
|
1902
|
-
totalCards: number;
|
|
1903
|
-
/** Width of the top card (for side-by-side calculations) */
|
|
1904
|
-
topCardWidth: number;
|
|
1905
|
-
/** Animation configuration */
|
|
1906
|
-
animation?: AnimationConfig;
|
|
1907
|
-
/** Whether this is a mobile viewport */
|
|
1908
|
-
isMobile?: boolean;
|
|
1909
|
-
/** Gesture configuration for mobile */
|
|
1910
|
-
gestureConfig?: GestureConfig;
|
|
1911
|
-
/** Peek gesture configuration */
|
|
1912
|
-
peekGestureConfig?: PeekGestureConfig;
|
|
1913
|
-
/** Custom header renderer */
|
|
1914
|
-
renderHeader?: (card: CardSpec, api: CardStackApi) => React$1.ReactNode;
|
|
1915
|
-
/** Compression ratio for responsive offset (1 = full, 0 = collapsed) */
|
|
1916
|
-
compressionRatio?: number;
|
|
1917
|
-
/** Adjusted peek offset after compression */
|
|
1918
|
-
adjustedPeekOffset?: number;
|
|
1919
|
-
/** Drag state from gesture hook (for top card swipe-to-dismiss) */
|
|
1920
|
-
dragX?: number;
|
|
1921
|
-
/** Gesture bind from @use-gesture/react */
|
|
1922
|
-
gestureBind?: StackGestureBind;
|
|
1923
|
-
/** Whether this card's peek zone is hovered (viewport-coordinated) */
|
|
1924
|
-
isPeekHovered?: boolean;
|
|
1925
|
-
/** Callback when peek hover starts */
|
|
1926
|
-
onPeekHoverStart?: (cardIndex: number) => void;
|
|
1927
|
-
/** Callback when peek hover ends */
|
|
1928
|
-
onPeekHoverEnd?: (cardIndex: number) => void;
|
|
1929
|
-
/** Peek drag offset applied to this card (when cards above are being dragged via peek zone) */
|
|
1930
|
-
peekDragOffset?: number;
|
|
1931
|
-
/** Callback when peek drag starts on this card's peek zone */
|
|
1932
|
-
onPeekDragStart?: (cardIndex: number) => void;
|
|
1933
|
-
/** Callback during peek drag on this card's peek zone */
|
|
1934
|
-
onPeekDrag?: (cardIndex: number, offset: number) => void;
|
|
1935
|
-
/** Callback when peek drag ends on this card's peek zone */
|
|
1936
|
-
onPeekDragEnd?: (cardIndex: number, shouldDismiss: boolean) => void;
|
|
1937
|
-
/** Whether this is the last card (for exit animation with fade) */
|
|
1938
|
-
isLastCard?: boolean;
|
|
1939
|
-
/** Additional class name for the card */
|
|
1940
|
-
className?: string;
|
|
1941
|
-
};
|
|
1942
|
-
declare function StackCardInner({ card, index, totalCards, topCardWidth, animation, isMobile, renderHeader, peekGestureConfig, compressionRatio, adjustedPeekOffset, dragX, gestureBind, isPeekHovered, onPeekHoverStart, onPeekHoverEnd, peekDragOffset, onPeekDragStart, onPeekDrag, onPeekDragEnd, isLastCard, className, }: StackCardProps): React$1.JSX.Element;
|
|
1943
|
-
declare const StackCard: React$1.MemoExoticComponent<typeof StackCardInner>;
|
|
1944
|
-
|
|
1945
|
-
interface DeferredCardContentProps {
|
|
1946
|
-
children: React.ReactNode;
|
|
1947
|
-
/** Custom placeholder while waiting for animation to complete */
|
|
1948
|
-
placeholder?: React.ReactNode;
|
|
1949
|
-
/** Delay in ms before showing content (default: 220, slightly after 200ms animation) */
|
|
1950
|
-
delay?: number;
|
|
1951
|
-
/** Whether to show content immediately (useful for edit mode where data is cached) */
|
|
1952
|
-
immediate?: boolean;
|
|
1953
|
-
/**
|
|
1954
|
-
* Priority level for scheduling content render:
|
|
1955
|
-
* - 'high': Uses half the delay for faster content display
|
|
1956
|
-
* - 'normal': Standard delay with rAF (default)
|
|
1957
|
-
* - 'low': Uses requestIdleCallback when available for non-critical content
|
|
1958
|
-
*/
|
|
1959
|
-
priority?: 'high' | 'normal' | 'low';
|
|
1960
|
-
/** Callback when content becomes ready to render */
|
|
1961
|
-
onReady?: () => void;
|
|
1962
|
-
}
|
|
1963
|
-
/**
|
|
1964
|
-
* Defers rendering of heavy content until after Stack card animation completes.
|
|
1965
|
-
* This prevents layout thrashing and dropped frames during the slide-in animation.
|
|
1966
|
-
*
|
|
1967
|
-
* Usage:
|
|
1968
|
-
* ```tsx
|
|
1969
|
-
* <DeferredCardContent placeholder={<MySkeleton />}>
|
|
1970
|
-
* <HeavyContent />
|
|
1971
|
-
* </DeferredCardContent>
|
|
1972
|
-
* ```
|
|
1973
|
-
*
|
|
1974
|
-
* With priority:
|
|
1975
|
-
* ```tsx
|
|
1976
|
-
* <DeferredCardContent priority="low" placeholder={<MySkeleton />}>
|
|
1977
|
-
* <NonCriticalContent />
|
|
1978
|
-
* </DeferredCardContent>
|
|
1979
|
-
* ```
|
|
1980
|
-
*/
|
|
1981
|
-
declare function DeferredCardContent({ children, placeholder, delay, immediate, priority, onReady, }: DeferredCardContentProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | React$1.JSX.Element;
|
|
1982
|
-
|
|
1983
|
-
type UseStackResponsiveOptions = MobileConfig;
|
|
1984
|
-
type UseStackResponsiveResult = {
|
|
1985
|
-
/** Whether the current viewport is mobile-sized */
|
|
1986
|
-
isMobile: boolean;
|
|
1987
|
-
/** Current viewport width */
|
|
1988
|
-
viewportWidth: number;
|
|
1989
|
-
/** The breakpoint being used */
|
|
1990
|
-
breakpoint: number;
|
|
1991
|
-
};
|
|
1992
|
-
/**
|
|
1993
|
-
* Hook to detect mobile viewport and provide responsive information.
|
|
1994
|
-
*/
|
|
1995
|
-
declare function useStackResponsive(options?: UseStackResponsiveOptions): UseStackResponsiveResult;
|
|
1996
|
-
/**
|
|
1997
|
-
* Simple hook to just get isMobile boolean.
|
|
1998
|
-
*/
|
|
1999
|
-
declare function useIsMobile(breakpoint?: number): boolean;
|
|
2000
|
-
|
|
2001
|
-
type UsePeekGesturesOptions = PeekGestureConfig & {
|
|
2002
|
-
/** Card index in the stack */
|
|
2003
|
-
cardIndex: number;
|
|
2004
|
-
/** Total cards in stack */
|
|
2005
|
-
totalCards: number;
|
|
2006
|
-
/** Callback when click on peek zone (dismiss cards above) */
|
|
2007
|
-
onPeekClick: () => void;
|
|
2008
|
-
/** Callback when drag completes dismiss threshold */
|
|
2009
|
-
onPeekDragDismiss: () => void;
|
|
2010
|
-
/** Callback during drag to update multi-card offset */
|
|
2011
|
-
onPeekDrag?: (dragOffset: number) => void;
|
|
2012
|
-
/** Callback when drag ends without dismiss */
|
|
2013
|
-
onPeekDragCancel?: () => void;
|
|
2014
|
-
};
|
|
2015
|
-
type UsePeekGesturesResult = {
|
|
2016
|
-
/** Whether peek zone is hovered */
|
|
2017
|
-
isHovered: boolean;
|
|
2018
|
-
/** Whether actively dragging */
|
|
2019
|
-
isDragging: boolean;
|
|
2020
|
-
/** Current drag offset (positive = dragging right/dismiss direction) */
|
|
2021
|
-
dragOffset: number;
|
|
2022
|
-
/** Hover expansion amount in px */
|
|
2023
|
-
hoverExpansion: number;
|
|
2024
|
-
/** Handlers for the peek zone element */
|
|
2025
|
-
handlers: {
|
|
2026
|
-
onMouseEnter: () => void;
|
|
2027
|
-
onMouseLeave: () => void;
|
|
2028
|
-
onClick: (e: React.MouseEvent) => void;
|
|
2029
|
-
onPointerDown: (e: React.PointerEvent) => void;
|
|
2030
|
-
onPointerMove: (e: React.PointerEvent) => void;
|
|
2031
|
-
onPointerUp: (e: React.PointerEvent) => void;
|
|
2032
|
-
onPointerCancel: (e: React.PointerEvent) => void;
|
|
258
|
+
readonly animate: {
|
|
259
|
+
readonly opacity: 1;
|
|
2033
260
|
};
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
* Hook for peek zone interactions: hover expansion, click-to-dismiss, drag-to-dismiss.
|
|
2037
|
-
* Works on both mobile and desktop.
|
|
2038
|
-
*/
|
|
2039
|
-
declare function usePeekGestures(options: UsePeekGesturesOptions): UsePeekGesturesResult;
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* Calculate the X offset for a card in cascade mode.
|
|
2043
|
-
* Cards below the top are pushed left by (cardsAbove * peekOffset).
|
|
2044
|
-
*/
|
|
2045
|
-
declare function getCascadeOffset(cardIndex: number, totalCards: number, cards: CardSpec[], defaultPeekOffset: number): number;
|
|
2046
|
-
/**
|
|
2047
|
-
* Calculate the X offset for a card in side-by-side mode.
|
|
2048
|
-
* - Top card: no offset
|
|
2049
|
-
* - Second card: pushed by top card's width (fully visible side-by-side)
|
|
2050
|
-
* - Deeper cards: cascade further with peekOffset increments
|
|
2051
|
-
*/
|
|
2052
|
-
declare function getSideBySideOffset(cardIndex: number, totalCards: number, topCardWidth: number, defaultPeekOffset: number): number;
|
|
2053
|
-
/**
|
|
2054
|
-
* Get the offset for a card based on layout mode.
|
|
2055
|
-
*/
|
|
2056
|
-
declare function getCardOffset(cardIndex: number, totalCards: number, cards: CardSpec[], layoutMode: LayoutMode, topCardWidth: number, defaultPeekOffset: number): number;
|
|
2057
|
-
type ResponsiveOffsetConfig = {
|
|
2058
|
-
viewportWidth: number;
|
|
2059
|
-
topCardWidth: number;
|
|
2060
|
-
secondCardWidth: number;
|
|
2061
|
-
totalCards: number;
|
|
2062
|
-
defaultPeekOffset: number;
|
|
2063
|
-
layoutMode: LayoutMode;
|
|
2064
|
-
};
|
|
2065
|
-
type ResponsiveOffsetResult = {
|
|
2066
|
-
/** Compression ratio (1 = full, 0 = fully compressed) */
|
|
2067
|
-
compressionRatio: number;
|
|
2068
|
-
/** Whether cards should collapse to mobile/single-card mode */
|
|
2069
|
-
shouldCollapse: boolean;
|
|
2070
|
-
/** Adjusted peek offset after compression */
|
|
2071
|
-
adjustedPeekOffset: number;
|
|
2072
|
-
/** Available space for peek offsets */
|
|
2073
|
-
availableSpace: number;
|
|
2074
|
-
};
|
|
2075
|
-
/**
|
|
2076
|
-
* Calculate responsive offset compression based on viewport width.
|
|
2077
|
-
* As viewport shrinks, offsets compress until hitting mobile breakpoint.
|
|
2078
|
-
*
|
|
2079
|
-
* The algorithm:
|
|
2080
|
-
* 1. Calculate space needed: topCardWidth + secondCardWidth (for side-by-side)
|
|
2081
|
-
* 2. Calculate available space: viewportWidth - padding
|
|
2082
|
-
* 3. If not enough space, compress the second card's offset
|
|
2083
|
-
* 4. When compression reaches threshold, trigger collapse to mobile
|
|
2084
|
-
*/
|
|
2085
|
-
declare function calculateResponsiveOffset(config: ResponsiveOffsetConfig): ResponsiveOffsetResult;
|
|
2086
|
-
/**
|
|
2087
|
-
* Get responsive card offset that compresses based on viewport.
|
|
2088
|
-
* Ensures every card has at least MIN_VISIBLE_PEEK visible past cards above it.
|
|
2089
|
-
*/
|
|
2090
|
-
declare function getResponsiveCardOffset(cardIndex: number, totalCards: number, cards: CardSpec[], layoutMode: LayoutMode, topCardWidth: number, adjustedPeekOffset: number, compressionRatio: number, defaultWidth?: number): number;
|
|
2091
|
-
/**
|
|
2092
|
-
* Normalize width to CSS value.
|
|
2093
|
-
*/
|
|
2094
|
-
declare function normalizeWidth(width: string | number | undefined, defaultWidth: string | number): string;
|
|
2095
|
-
/**
|
|
2096
|
-
* Parse width to pixels (for offset calculations).
|
|
2097
|
-
* Returns undefined if width cannot be parsed to pixels.
|
|
2098
|
-
*/
|
|
2099
|
-
declare function parseWidthToPixels(width: string | number | undefined): number | undefined;
|
|
2100
|
-
/**
|
|
2101
|
-
* Calculate z-index for a card based on its position in the stack.
|
|
2102
|
-
*/
|
|
2103
|
-
declare function getCardZIndex(cardIndex: number, zIndexBase: number): number;
|
|
2104
|
-
/**
|
|
2105
|
-
* Determine which cards should be rendered based on peekDepth.
|
|
2106
|
-
* Returns indices of cards that should be rendered (from bottom to top).
|
|
2107
|
-
*/
|
|
2108
|
-
declare function getVisibleCardIndices(totalCards: number, peekDepth: number): number[];
|
|
2109
|
-
/**
|
|
2110
|
-
* Check if a card should be rendered based on peekDepth.
|
|
2111
|
-
*/
|
|
2112
|
-
declare function isCardVisible(cardIndex: number, totalCards: number, peekDepth: number): boolean;
|
|
2113
|
-
|
|
2114
|
-
declare const DEFAULT_ANIMATION_CONFIG: Required<AnimationConfig>;
|
|
2115
|
-
/**
|
|
2116
|
-
* Create motion variants for card enter/exit animations.
|
|
2117
|
-
* Uses transform-only properties for GPU compositing.
|
|
2118
|
-
*/
|
|
2119
|
-
declare function createCardVariants(config?: AnimationConfig): Variants;
|
|
2120
|
-
/**
|
|
2121
|
-
* Create transition for offset animations (when cards above change).
|
|
2122
|
-
* Uses spring for playful slide-back feel when cards are dismissed.
|
|
2123
|
-
*/
|
|
2124
|
-
declare function createOffsetTransition(_config?: AnimationConfig): Transition;
|
|
2125
|
-
declare const backdropVariants: Variants;
|
|
2126
|
-
/**
|
|
2127
|
-
* Create spring config for snap-back animation after cancelled swipe.
|
|
2128
|
-
*/
|
|
2129
|
-
declare const snapBackSpring: Transition;
|
|
2130
|
-
/**
|
|
2131
|
-
* Create transition for swipe-to-dismiss.
|
|
2132
|
-
*/
|
|
2133
|
-
declare const swipeDismissTransition: Transition;
|
|
2134
|
-
/** Spring config for peek hover expansion - playful and bouncy */
|
|
2135
|
-
declare const peekHoverSpring: Transition;
|
|
2136
|
-
/** Spring config for peek drag - responsive during interaction */
|
|
2137
|
-
declare const peekDragSpring: Transition;
|
|
2138
|
-
/** Spring config for multi-card slide during peek drag */
|
|
2139
|
-
declare const peekSlideSpring: Transition;
|
|
2140
|
-
/**
|
|
2141
|
-
* Create variants with reduced motion support.
|
|
2142
|
-
* Instant transitions when user prefers reduced motion.
|
|
2143
|
-
*/
|
|
2144
|
-
declare function createReducedMotionVariants(): Variants;
|
|
2145
|
-
declare const reducedMotionBackdropVariants: Variants;
|
|
2146
|
-
|
|
2147
|
-
interface ToastErrorProps {
|
|
2148
|
-
message: string;
|
|
2149
|
-
description?: string;
|
|
2150
|
-
action?: {
|
|
2151
|
-
label: string;
|
|
2152
|
-
onClick: () => void;
|
|
261
|
+
readonly exit: {
|
|
262
|
+
readonly opacity: 0;
|
|
2153
263
|
};
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
action?: {
|
|
2162
|
-
label: string;
|
|
2163
|
-
onClick: () => void;
|
|
264
|
+
};
|
|
265
|
+
/** Dock/floating element - scales from bottom */
|
|
266
|
+
readonly floatUp: {
|
|
267
|
+
readonly initial: {
|
|
268
|
+
readonly opacity: 0;
|
|
269
|
+
readonly y: 8;
|
|
270
|
+
readonly scale: 0.98;
|
|
2164
271
|
};
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
interface ToastSuccessProps {
|
|
2170
|
-
message: string;
|
|
2171
|
-
description?: string;
|
|
2172
|
-
action?: {
|
|
2173
|
-
label: string;
|
|
2174
|
-
onClick: () => void;
|
|
272
|
+
readonly animate: {
|
|
273
|
+
readonly opacity: 1;
|
|
274
|
+
readonly y: 0;
|
|
275
|
+
readonly scale: 1;
|
|
2175
276
|
};
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
interface ToastWarningProps {
|
|
2181
|
-
message: string;
|
|
2182
|
-
description?: string;
|
|
2183
|
-
action?: {
|
|
2184
|
-
label: string;
|
|
2185
|
-
onClick: () => void;
|
|
277
|
+
readonly exit: {
|
|
278
|
+
readonly opacity: 0;
|
|
279
|
+
readonly y: 8;
|
|
280
|
+
readonly scale: 0.98;
|
|
2186
281
|
};
|
|
2187
|
-
|
|
2188
|
-
}
|
|
2189
|
-
declare function showWarningToast(props: ToastWarningProps): string | number;
|
|
2190
|
-
|
|
2191
|
-
declare const toast: {
|
|
2192
|
-
error: typeof showErrorToast;
|
|
2193
|
-
info: typeof showInfoToast;
|
|
2194
|
-
success: typeof showSuccessToast;
|
|
2195
|
-
warning: typeof showWarningToast;
|
|
282
|
+
};
|
|
2196
283
|
};
|
|
2197
|
-
|
|
2198
|
-
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationConfig, type AppAccount, type AppAccountAction, type AppAccountActionGroup, AppBar, type AppBarProps, type AppBreadcrumbItem, type AppIcon, type AppLinkRenderProps, type AppLinkRenderer, type AppNavigationChild, type AppNavigationGroup, type AppNavigationItem, AppShell, type AppShellBrand, type AppShellProps, Autocomplete, AutocompleteEmpty, AutocompleteInput, AutocompleteItem, AutocompletePopup, AutocompleteSeparator, Avatar, AvatarFallback, AvatarImage, type BackdropConfig, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, Card, CardAction, type CardComponent, CardContent, CardDescription, CardFooter, CardHeader, type CardId, type CardInjectedProps, type CardProps, type CardPushOptions, type CardRouteDefinition, type CardRouteMap, type CardSpec, type CardStackApi, CardStackProvider, type CardStackProviderProps, CardStackViewport, type CardStackViewportProps, CardTitle, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, type ComboboxGroupProps, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, ComboboxList, type ComboboxListProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, type ComboboxTriggerProps, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, DEFAULT_ANIMATION_CONFIG, DeferredCardContent, type DeferredCardContentProps, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogTitle, DialogTrigger, type DismissOptions, Dock, DockIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldRow, type FieldRowProps, FieldSeparator, FieldSet, FieldTitle, FlickeringGrid, FlowZoomPanel, Form, FormControl
|
|
284
|
+
//#endregion
|
|
285
|
+
export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationConfig, type AppAccount, type AppAccountAction, type AppAccountActionGroup, AppBar, type AppBarProps, type AppBreadcrumbItem, type AppIcon, type AppLinkRenderProps, type AppLinkRenderer, type AppNavigationChild, type AppNavigationGroup, type AppNavigationItem, AppShell, type AppShellBrand, type AppShellProps, Autocomplete, AutocompleteEmpty, AutocompleteInput, AutocompleteItem, AutocompletePopup, AutocompleteSeparator, Avatar, AvatarFallback, AvatarImage, type BackdropConfig, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, Card, CardAction, type CardComponent, CardContent, CardDescription, CardFooter, CardHeader, type CardId, type CardInjectedProps, type CardProps, type CardPushOptions, type CardRouteDefinition, type CardRouteMap, type CardSpec, type CardStackApi, CardStackProvider, type CardStackProviderProps, CardStackViewport, type CardStackViewportProps, CardTitle, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, type ComboboxGroupProps, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, ComboboxList, type ComboboxListProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, type ComboboxTriggerProps, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, DEFAULT_ANIMATION_CONFIG, DeferredCardContent, type DeferredCardContentProps, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogTitle, DialogTrigger, type DismissOptions, Dock, DockIcon, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldProps, FieldRow, type FieldRowProps, FieldSeparator, FieldSet, FieldTitle, FlickeringGrid, type FloatingPortalStrategy, type FloatingZIndex, FlowZoomPanel, Form, FormControl, FormControl$1 as FormControlComponent, type FormControlLayout, FormDescription, FormField, FormItem, FormLabel, FormMessage, type Frame, type FrameDot, type Frames, type GestureConfig, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, type InputProps, JsonEditor, JsonInput, Label, type LabelProps, type LayoutMode, type LegacyFieldProps, type MobileConfig, ModalPortalScope, MotionGrid, type MotionGridProps, MultiSelect, type MultiSelectGroup, type MultiSelectOption, type MultiSelectProps, type MultiSelectRef, type OverlayLayer, PORTAL_ROOT_ID, PageHeader, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PeekGestureConfig, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger, PortalRoot, Progress, type ProgressProps, ProgressiveBlur, ProgressiveBlurScrollContainer, type PushOptions, Radio, Radio as RadioGroupItem, RadioGroup, type RadioGroupProps, type RadioProps, RangeCalendar, RecordPicker, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponsiveDiagram, type ResponsiveOffsetConfig, type ResponsiveOffsetResult, ScrollArea, ScrollBar, Select, SelectPopup as SelectContent, SelectPopup, SelectFieldItem, SelectGroup, SelectGroupLabel, SelectGroupLabel as SelectLabel, SelectItem, SelectRichItem, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, Slot, Slottable, type StackAction, StackBackdrop, type StackBackdropProps, StackCard, type StackCardProps, type StackContextValue, StackHeader, type StackHeaderProps, StackHeaderSlot, type StackHeaderSlotProps, type StackState, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, type StructuralFieldProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tags, TagsContent, type TagsContentProps, TagsEmpty, type TagsEmptyProps, TagsGroup, type TagsGroupProps, TagsInput, type TagsInputProps, TagsItem, type TagsItemProps, TagsList, type TagsListProps, type TagsProps, TagsTrigger, type TagsTriggerProps, TagsValue, type TagsValueProps, Textarea, type TextareaProps, type ToastErrorProps, type ToastInfoProps, type ToastSuccessProps, type ToastWarningProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UnlinkButton, type UsePeekGesturesOptions, type UsePeekGesturesResult, type UseStackGesturesResult, type UseStackResponsiveResult, alertVariants, backdropVariants, badgeVariants, buttonVariants, calculateResponsiveOffset, cardVariants, cn, composeRefs, createAppLink, createCardVariants, createOffsetTransition, createReducedMotionVariants, dockVariants, durations, easings, getCardOffset, getCardZIndex, getCascadeOffset, getResponsiveCardOffset, getSideBySideOffset, getVisibleCardIndices, isCardVisible, mergeProps, normalizeWidth, parseWidthToPixels, peekDragSpring, peekHoverSpring, peekSlideSpring, reducedMotionBackdropVariants, showErrorToast, showInfoToast, showSuccessToast, showWarningToast, snapBackSpring, springs, swipeDismissTransition, toast, transitions, useCardIndex, useCardInjectedProps, useCardReady, useCardStack, useControllableState, useFloatingOverlayPortalProps, useFormField, useInModalOverlay, useIsMobile, useIsTopCard, usePeekGestures, usePortalContainer, usePortalContext, useRootPortalContainer, useSidebar, useStackCards, useStackContext, useStackGestures, useStackLayoutMode, useStackResponsive, validateJson, variants };
|
|
286
|
+
//# sourceMappingURL=index.d.cts.map
|