tembro 2.0.4 → 2.0.5
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/components/actions/action-menu.cjs +1 -1
- package/dist/components/actions/action-menu.d.ts +13 -1
- package/dist/components/actions/action-menu.js +87 -61
- package/dist/components/actions/button-group.cjs +1 -1
- package/dist/components/actions/button-group.d.ts +9 -1
- package/dist/components/actions/button-group.js +58 -14
- package/dist/components/actions/copy-button.cjs +1 -1
- package/dist/components/actions/copy-button.d.ts +2 -1
- package/dist/components/actions/copy-button.js +13 -11
- package/dist/components/calendar/calendar.cjs +1 -1
- package/dist/components/calendar/calendar.d.ts +14 -1
- package/dist/components/calendar/calendar.js +207 -128
- package/dist/components/calendar/date-picker.cjs +1 -1
- package/dist/components/calendar/date-picker.d.ts +3 -1
- package/dist/components/calendar/date-picker.js +57 -27
- package/dist/components/calendar/date-range-picker.cjs +1 -1
- package/dist/components/calendar/date-range-picker.d.ts +10 -1
- package/dist/components/calendar/date-range-picker.js +149 -64
- package/dist/components/data-table/data-table-toolbar.cjs +1 -1
- package/dist/components/data-table/data-table-toolbar.d.ts +5 -1
- package/dist/components/data-table/data-table-toolbar.js +36 -23
- package/dist/components/data-table/data-table.cjs +1 -1
- package/dist/components/data-table/data-table.d.ts +6 -4
- package/dist/components/data-table/data-table.js +87 -79
- package/dist/components/data-table/demo.cjs +1 -1
- package/dist/components/data-table/demo.js +3 -13
- package/dist/components/data-table/index.cjs +1 -1
- package/dist/components/data-table/index.js +5 -5
- package/dist/components/data-table/public.cjs +1 -1
- package/dist/components/data-table/public.d.ts +1 -6
- package/dist/components/data-table/public.js +7 -12
- package/dist/components/display/activity-feed.cjs +1 -1
- package/dist/components/display/activity-feed.d.ts +12 -1
- package/dist/components/display/activity-feed.js +69 -47
- package/dist/components/display/carousel.cjs +1 -1
- package/dist/components/display/carousel.d.ts +10 -1
- package/dist/components/display/carousel.js +68 -23
- package/dist/components/display/code-block.cjs +2 -1
- package/dist/components/display/code-block.d.ts +3 -1
- package/dist/components/display/code-block.js +33 -19
- package/dist/components/display/comparison-card.cjs +1 -1
- package/dist/components/display/comparison-card.d.ts +3 -3
- package/dist/components/display/comparison-card.js +14 -38
- package/dist/components/display/data-state.cjs +1 -1
- package/dist/components/display/data-state.d.ts +12 -2
- package/dist/components/display/data-state.js +80 -42
- package/dist/components/display/demo.cjs +1 -1
- package/dist/components/display/demo.js +1 -5
- package/dist/components/display/index.cjs +1 -1
- package/dist/components/display/index.d.ts +0 -3
- package/dist/components/display/index.js +21 -24
- package/dist/components/feedback/alert.cjs +1 -1
- package/dist/components/feedback/alert.d.ts +6 -1
- package/dist/components/feedback/alert.js +49 -19
- package/dist/components/feedback/index.cjs +1 -1
- package/dist/components/feedback/index.d.ts +0 -2
- package/dist/components/feedback/index.js +3 -5
- package/dist/components/filters/demo.cjs +1 -1
- package/dist/components/filters/demo.js +1 -5
- package/dist/components/filters/filter-bar.cjs +1 -1
- package/dist/components/filters/filter-bar.d.ts +15 -1
- package/dist/components/filters/filter-bar.js +94 -50
- package/dist/components/filters/index.cjs +1 -1
- package/dist/components/filters/index.d.ts +0 -1
- package/dist/components/filters/index.js +3 -4
- package/dist/components/form/form-field-shell.cjs +1 -1
- package/dist/components/form/form-field-shell.d.ts +17 -3
- package/dist/components/form/form-field-shell.js +54 -40
- package/dist/components/form/form-input.cjs +1 -1
- package/dist/components/form/form-input.js +278 -217
- package/dist/components/form/form-select.cjs +1 -1
- package/dist/components/form/form-select.js +47 -33
- package/dist/components/form/form-switch.cjs +1 -1
- package/dist/components/form/form-switch.js +79 -66
- package/dist/components/form/form-textarea.cjs +1 -1
- package/dist/components/form/form-textarea.js +59 -48
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +14 -14
- package/dist/components/form/public.cjs +1 -1
- package/dist/components/form/public.d.ts +0 -8
- package/dist/components/form/public.js +7 -15
- package/dist/components/inputs/async-select.cjs +1 -1
- package/dist/components/inputs/async-select.d.ts +11 -2
- package/dist/components/inputs/async-select.js +278 -270
- package/dist/components/inputs/combobox.cjs +1 -1
- package/dist/components/inputs/combobox.d.ts +5 -1
- package/dist/components/inputs/combobox.js +52 -19
- package/dist/components/inputs/simple-select.cjs +1 -1
- package/dist/components/inputs/simple-select.d.ts +2 -1
- package/dist/components/inputs/simple-select.js +32 -16
- package/dist/components/layout/app-sidebar.cjs +1 -1
- package/dist/components/layout/app-sidebar.d.ts +4 -1
- package/dist/components/layout/app-sidebar.js +152 -132
- package/dist/components/layout/breadcrumbs.cjs +1 -1
- package/dist/components/layout/breadcrumbs.d.ts +2 -1
- package/dist/components/layout/breadcrumbs.js +10 -10
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.js +3 -3
- package/dist/components/layout/stat-card.cjs +1 -1
- package/dist/components/layout/stat-card.d.ts +8 -1
- package/dist/components/layout/stat-card.js +33 -11
- package/dist/components/modern/calendar-scheduler.cjs +1 -1
- package/dist/components/modern/calendar-scheduler.d.ts +2 -1
- package/dist/components/modern/calendar-scheduler.js +21 -12
- package/dist/components/overlay/alert-dialog.cjs +1 -1
- package/dist/components/overlay/alert-dialog.d.ts +15 -1
- package/dist/components/overlay/alert-dialog.js +102 -27
- package/dist/components/overlay/drawer.cjs +1 -1
- package/dist/components/overlay/drawer.d.ts +4 -1
- package/dist/components/overlay/drawer.js +20 -17
- package/dist/components/patterns/index.cjs +1 -1
- package/dist/components/patterns/index.d.ts +0 -1
- package/dist/components/patterns/index.js +1 -2
- package/dist/components/patterns/public.cjs +1 -1
- package/dist/components/patterns/public.d.ts +0 -1
- package/dist/components/patterns/public.js +1 -2
- package/dist/components/ui/button/index.cjs +1 -1
- package/dist/components/ui/button/index.d.ts +3 -1
- package/dist/components/ui/button/index.js +7 -5
- package/dist/components/ui/checkbox/index.cjs +1 -1
- package/dist/components/ui/checkbox/index.d.ts +8 -0
- package/dist/components/ui/checkbox/index.js +16 -14
- package/dist/components/ui/collapse/index.cjs +1 -1
- package/dist/components/ui/collapse/index.d.ts +17 -3
- package/dist/components/ui/collapse/index.js +88 -33
- package/dist/components/ui/dialog/index.cjs +1 -1
- package/dist/components/ui/dialog/index.d.ts +2 -1
- package/dist/components/ui/dialog/index.js +6 -4
- package/dist/components/ui/dropdown-menu/index.cjs +1 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +9 -4
- package/dist/components/ui/dropdown-menu/index.js +87 -62
- package/dist/index.cjs +1 -1
- package/dist/index.js +137 -156
- package/dist/public-component-surface.cjs +1 -1
- package/dist/public-component-surface.js +0 -15
- package/dist/showcase/component-api-schema.cjs +1 -1
- package/dist/showcase/component-api-schema.js +2 -2
- package/dist/showcase/create-demo.cjs +20 -34
- package/dist/showcase/create-demo.js +15 -16
- package/dist/showcase/fallback.cjs +3 -3
- package/dist/showcase/fallback.js +275 -265
- package/dist/showcase/premium/accordion/showcase.cjs +1 -1
- package/dist/showcase/premium/accordion/showcase.js +36 -5
- package/dist/showcase/premium/action-menu/showcase.cjs +1 -1
- package/dist/showcase/premium/action-menu/showcase.js +26 -8
- package/dist/showcase/premium/activity-feed/showcase.cjs +1 -1
- package/dist/showcase/premium/activity-feed/showcase.js +60 -36
- package/dist/showcase/premium/alert/showcase.cjs +1 -1
- package/dist/showcase/premium/alert/showcase.js +41 -18
- package/dist/showcase/premium/alert-dialog/showcase.cjs +1 -1
- package/dist/showcase/premium/alert-dialog/showcase.js +35 -7
- package/dist/showcase/premium/async-multi-select/mock.cjs +4 -3
- package/dist/showcase/premium/async-multi-select/mock.js +5 -5
- package/dist/showcase/premium/async-multi-select/showcase.cjs +1 -1
- package/dist/showcase/premium/async-multi-select/showcase.js +4 -3
- package/dist/showcase/premium/async-select/mock.cjs +1 -1
- package/dist/showcase/premium/async-select/mock.js +1 -1
- package/dist/showcase/premium/async-select/showcase.cjs +1 -1
- package/dist/showcase/premium/async-select/showcase.js +69 -22
- package/dist/showcase/premium/button/showcase.cjs +1 -1
- package/dist/showcase/premium/button/showcase.js +49 -3
- package/dist/showcase/premium/button-group/showcase.cjs +1 -1
- package/dist/showcase/premium/button-group/showcase.js +53 -29
- package/dist/showcase/premium/calendar/showcase.cjs +1 -1
- package/dist/showcase/premium/calendar/showcase.js +7 -2
- package/dist/showcase/premium/carousel/showcase.cjs +1 -1
- package/dist/showcase/premium/carousel/showcase.js +95 -47
- package/dist/showcase/premium/checkbox/showcase.cjs +1 -1
- package/dist/showcase/premium/checkbox/showcase.js +143 -67
- package/dist/showcase/premium/clearable-input/mock.cjs +4 -3
- package/dist/showcase/premium/clearable-input/mock.js +3 -2
- package/dist/showcase/premium/clearable-input/showcase.cjs +1 -1
- package/dist/showcase/premium/clearable-input/showcase.js +8 -2
- package/dist/showcase/premium/collapse/showcase.cjs +1 -1
- package/dist/showcase/premium/collapse/showcase.js +7 -0
- package/dist/showcase/premium/combobox/showcase.cjs +1 -1
- package/dist/showcase/premium/combobox/showcase.d.ts +2 -1
- package/dist/showcase/premium/combobox/showcase.js +56 -47
- package/dist/showcase/premium/data-table/showcase.cjs +1 -1
- package/dist/showcase/premium/data-table/showcase.js +138 -46
- package/dist/showcase/premium/data-table-parts/showcase.cjs +1 -1
- package/dist/showcase/premium/data-table-parts/showcase.js +13 -13
- package/dist/showcase/premium/date-input/mock.cjs +1 -1
- package/dist/showcase/premium/date-input/mock.js +1 -1
- package/dist/showcase/premium/date-range-picker/showcase.cjs +1 -1
- package/dist/showcase/premium/date-range-picker/showcase.js +32 -1
- package/dist/showcase/premium/dropdown-menu/showcase.cjs +1 -1
- package/dist/showcase/premium/dropdown-menu/showcase.js +88 -54
- package/dist/showcase/premium/form-wrapper/mock.cjs +41 -15
- package/dist/showcase/premium/form-wrapper/mock.js +4 -4
- package/dist/showcase/premium/form-wrapper/showcase.cjs +1 -1
- package/dist/showcase/premium/form-wrapper/showcase.js +77 -28
- package/dist/showcase/premium/index.cjs +1 -1
- package/dist/showcase/premium/index.js +426 -467
- package/dist/showcase/premium/input/mock.cjs +4 -1
- package/dist/showcase/premium/input/mock.js +1 -1
- package/dist/showcase/premium/masked-input/mock.cjs +1 -1
- package/dist/showcase/premium/masked-input/mock.js +1 -1
- package/dist/showcase/premium/money-input/mock.cjs +1 -1
- package/dist/showcase/premium/money-input/mock.js +1 -1
- package/dist/showcase/premium/number-input/mock.cjs +1 -1
- package/dist/showcase/premium/number-input/mock.js +1 -1
- package/dist/showcase/premium/phone-input/mock.cjs +1 -1
- package/dist/showcase/premium/phone-input/mock.js +1 -1
- package/dist/showcase/premium/quantity-input/mock.cjs +1 -1
- package/dist/showcase/premium/quantity-input/mock.js +1 -1
- package/dist/showcase/premium/simple-select/mock.cjs +1 -1
- package/dist/showcase/premium/simple-select/mock.js +1 -1
- package/dist/showcase/premium/simple-select/showcase.cjs +1 -1
- package/dist/showcase/premium/simple-select/showcase.js +4 -2
- package/dist/showcase/preview-catalog.cjs +7 -10
- package/dist/showcase/preview-catalog.js +7 -7
- package/dist/showcase/registry-quality.cjs +1 -1
- package/dist/showcase/registry-quality.js +0 -23
- package/dist/showcase/registry-specific.cjs +1 -1
- package/dist/showcase/registry-specific.js +149 -383
- package/dist/showcase/render-registry-preview.cjs +1 -1
- package/dist/showcase/render-registry-preview.js +163 -195
- package/dist/showcase/site-data.cjs +1 -1
- package/dist/showcase/site-data.js +197 -941
- package/dist/showcase/supplemental.cjs +1 -1
- package/dist/showcase/supplemental.js +1 -1
- package/dist/showcase/tembro-registry.json.cjs +1 -1
- package/dist/showcase/tembro-registry.json.js +33 -51
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +2 -2
- package/packages/cli/vendor/src/components/actions/action-menu.tsx +149 -83
- package/packages/cli/vendor/src/components/actions/button-group.tsx +141 -33
- package/packages/cli/vendor/src/components/actions/copy-button.tsx +21 -16
- package/packages/cli/vendor/src/components/calendar/calendar.tsx +223 -88
- package/packages/cli/vendor/src/components/calendar/date-picker.tsx +73 -29
- package/packages/cli/vendor/src/components/calendar/date-range-picker.tsx +154 -49
- package/packages/cli/vendor/src/components/data-table/data-table-toolbar.tsx +71 -50
- package/packages/cli/vendor/src/components/data-table/data-table.tsx +65 -53
- package/packages/cli/vendor/src/components/data-table/demo.tsx +2 -12
- package/packages/cli/vendor/src/components/data-table/public.ts +1 -6
- package/packages/cli/vendor/src/components/display/activity-feed.tsx +98 -40
- package/packages/cli/vendor/src/components/display/carousel.tsx +88 -2
- package/packages/cli/vendor/src/components/display/code-block.tsx +58 -26
- package/packages/cli/vendor/src/components/display/comparison-card.tsx +15 -41
- package/packages/cli/vendor/src/components/display/data-state.tsx +119 -50
- package/packages/cli/vendor/src/components/display/demo.tsx +0 -4
- package/packages/cli/vendor/src/components/display/index.ts +0 -3
- package/packages/cli/vendor/src/components/feedback/alert.tsx +86 -28
- package/packages/cli/vendor/src/components/feedback/index.ts +0 -2
- package/packages/cli/vendor/src/components/filters/demo.tsx +0 -1
- package/packages/cli/vendor/src/components/filters/filter-bar.tsx +126 -54
- package/packages/cli/vendor/src/components/filters/index.ts +0 -1
- package/packages/cli/vendor/src/components/form/form-field-shell.tsx +72 -34
- package/packages/cli/vendor/src/components/form/form-input.tsx +118 -11
- package/packages/cli/vendor/src/components/form/form-select.tsx +26 -3
- package/packages/cli/vendor/src/components/form/form-switch.tsx +77 -58
- package/packages/cli/vendor/src/components/form/form-textarea.tsx +65 -51
- package/packages/cli/vendor/src/components/form/public.ts +0 -9
- package/packages/cli/vendor/src/components/inputs/async-select.tsx +126 -82
- package/packages/cli/vendor/src/components/inputs/combobox.tsx +66 -9
- package/packages/cli/vendor/src/components/inputs/simple-select.tsx +52 -24
- package/packages/cli/vendor/src/components/layout/app-sidebar.tsx +42 -1
- package/packages/cli/vendor/src/components/layout/breadcrumbs.tsx +17 -8
- package/packages/cli/vendor/src/components/layout/stat-card.tsx +63 -23
- package/packages/cli/vendor/src/components/modern/calendar-scheduler.tsx +32 -22
- package/packages/cli/vendor/src/components/overlay/alert-dialog.tsx +148 -24
- package/packages/cli/vendor/src/components/overlay/drawer.tsx +42 -30
- package/packages/cli/vendor/src/components/patterns/index.ts +0 -1
- package/packages/cli/vendor/src/components/patterns/public.ts +0 -1
- package/packages/cli/vendor/src/components/ui/button/index.tsx +27 -17
- package/packages/cli/vendor/src/components/ui/checkbox/index.tsx +22 -5
- package/packages/cli/vendor/src/components/ui/collapse/index.tsx +97 -16
- package/packages/cli/vendor/src/components/ui/dialog/index.tsx +12 -8
- package/packages/cli/vendor/src/components/ui/dropdown-menu/index.tsx +82 -28
- package/packages/cli/vendor/src/public-component-surface.ts +0 -3
- package/packages/cli/vendor/src/showcase/component-api-schema.ts +2 -2
- package/packages/cli/vendor/src/showcase/create-demo.tsx +31 -46
- package/packages/cli/vendor/src/showcase/fallback.tsx +80 -99
- package/packages/cli/vendor/src/showcase/premium/accordion/showcase.tsx +32 -2
- package/packages/cli/vendor/src/showcase/premium/action-menu/showcase.tsx +12 -3
- package/packages/cli/vendor/src/showcase/premium/activity-feed/showcase.tsx +15 -2
- package/packages/cli/vendor/src/showcase/premium/alert/showcase.tsx +32 -17
- package/packages/cli/vendor/src/showcase/premium/alert-dialog/showcase.tsx +28 -3
- package/packages/cli/vendor/src/showcase/premium/async-multi-select/mock.ts +6 -5
- package/packages/cli/vendor/src/showcase/premium/async-multi-select/showcase.tsx +5 -4
- package/packages/cli/vendor/src/showcase/premium/async-select/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/async-select/showcase.tsx +36 -0
- package/packages/cli/vendor/src/showcase/premium/button/showcase.tsx +26 -5
- package/packages/cli/vendor/src/showcase/premium/button-group/showcase.tsx +20 -3
- package/packages/cli/vendor/src/showcase/premium/calendar/showcase.tsx +5 -0
- package/packages/cli/vendor/src/showcase/premium/carousel/showcase.tsx +33 -5
- package/packages/cli/vendor/src/showcase/premium/checkbox/showcase.tsx +46 -3
- package/packages/cli/vendor/src/showcase/premium/clearable-input/mock.ts +5 -3
- package/packages/cli/vendor/src/showcase/premium/clearable-input/showcase.tsx +5 -2
- package/packages/cli/vendor/src/showcase/premium/collapse/showcase.tsx +4 -0
- package/packages/cli/vendor/src/showcase/premium/combobox/showcase.tsx +8 -0
- package/packages/cli/vendor/src/showcase/premium/data-table/showcase.tsx +77 -27
- package/packages/cli/vendor/src/showcase/premium/data-table-parts/showcase.tsx +11 -11
- package/packages/cli/vendor/src/showcase/premium/date-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/date-range-picker/showcase.tsx +7 -0
- package/packages/cli/vendor/src/showcase/premium/dropdown-menu/showcase.tsx +46 -3
- package/packages/cli/vendor/src/showcase/premium/form-wrapper/mock.ts +70 -44
- package/packages/cli/vendor/src/showcase/premium/form-wrapper/showcase.tsx +129 -12
- package/packages/cli/vendor/src/showcase/premium/index.ts +7 -24
- package/packages/cli/vendor/src/showcase/premium/input/mock.ts +2 -2
- package/packages/cli/vendor/src/showcase/premium/masked-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/money-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/number-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/phone-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/quantity-input/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/simple-select/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/simple-select/showcase.tsx +2 -1
- package/packages/cli/vendor/src/showcase/preview-catalog.tsx +7 -7
- package/packages/cli/vendor/src/showcase/registry-quality.ts +4 -28
- package/packages/cli/vendor/src/showcase/registry-specific.tsx +3 -178
- package/packages/cli/vendor/src/showcase/render-registry-preview.tsx +18 -51
- package/packages/cli/vendor/src/showcase/site-data.tsx +2443 -2761
- package/packages/cli/vendor/src/showcase/supplemental.tsx +2 -42
- package/packages/cli/vendor/src/showcase/tembro-registry.json +11 -58
- package/registry.json +11 -61
- package/dist/components/display/entity-card.cjs +0 -1
- package/dist/components/display/entity-card.d.ts +0 -18
- package/dist/components/display/entity-card.js +0 -61
- package/dist/components/display/entity-header.cjs +0 -1
- package/dist/components/display/entity-header.d.ts +0 -13
- package/dist/components/display/entity-header.js +0 -52
- package/dist/components/display/file-card.cjs +0 -1
- package/dist/components/display/file-card.d.ts +0 -14
- package/dist/components/display/file-card.js +0 -59
- package/dist/components/feedback/empty-search-state.cjs +0 -1
- package/dist/components/feedback/empty-search-state.d.ts +0 -11
- package/dist/components/feedback/empty-search-state.js +0 -45
- package/dist/components/feedback/empty-state.cjs +0 -1
- package/dist/components/feedback/empty-state.d.ts +0 -11
- package/dist/components/feedback/empty-state.js +0 -38
- package/dist/components/filters/filter-chips.cjs +0 -1
- package/dist/components/filters/filter-chips.d.ts +0 -18
- package/dist/components/filters/filter-chips.js +0 -61
- package/dist/components/patterns/form-builder-presets.cjs +0 -1
- package/dist/components/patterns/form-builder-presets.d.ts +0 -1
- package/dist/components/patterns/form-builder-presets.js +0 -2
- package/dist/components/patterns/form-builder.cjs +0 -1
- package/dist/components/patterns/form-builder.d.ts +0 -109
- package/dist/components/patterns/form-builder.js +0 -263
- package/dist/showcase/premium/empty-state/index.cjs +0 -1
- package/dist/showcase/premium/empty-state/index.d.ts +0 -2
- package/dist/showcase/premium/empty-state/index.js +0 -3
- package/dist/showcase/premium/empty-state/mock.cjs +0 -14
- package/dist/showcase/premium/empty-state/mock.d.ts +0 -2
- package/dist/showcase/premium/empty-state/mock.js +0 -31
- package/dist/showcase/premium/empty-state/showcase.cjs +0 -1
- package/dist/showcase/premium/empty-state/showcase.d.ts +0 -3
- package/dist/showcase/premium/empty-state/showcase.js +0 -99
- package/dist/showcase/premium/form-builder/index.cjs +0 -1
- package/dist/showcase/premium/form-builder/index.d.ts +0 -2
- package/dist/showcase/premium/form-builder/index.js +0 -3
- package/dist/showcase/premium/form-builder/mock.cjs +0 -57
- package/dist/showcase/premium/form-builder/mock.d.ts +0 -2
- package/dist/showcase/premium/form-builder/mock.js +0 -40
- package/dist/showcase/premium/form-builder/showcase.cjs +0 -1
- package/dist/showcase/premium/form-builder/showcase.d.ts +0 -3
- package/dist/showcase/premium/form-builder/showcase.js +0 -69
- package/packages/cli/vendor/src/components/display/entity-card.tsx +0 -80
- package/packages/cli/vendor/src/components/display/entity-header.tsx +0 -80
- package/packages/cli/vendor/src/components/display/file-card.tsx +0 -61
- package/packages/cli/vendor/src/components/feedback/empty-search-state.tsx +0 -65
- package/packages/cli/vendor/src/components/feedback/empty-state.tsx +0 -56
- package/packages/cli/vendor/src/components/filters/filter-chips.tsx +0 -89
- package/packages/cli/vendor/src/components/patterns/form-builder-presets.ts +0 -13
- package/packages/cli/vendor/src/components/patterns/form-builder.tsx +0 -443
- package/packages/cli/vendor/src/showcase/premium/empty-state/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/premium/empty-state/mock.ts +0 -30
- package/packages/cli/vendor/src/showcase/premium/empty-state/showcase.tsx +0 -65
- package/packages/cli/vendor/src/showcase/premium/form-builder/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/premium/form-builder/mock.ts +0 -79
- package/packages/cli/vendor/src/showcase/premium/form-builder/showcase.tsx +0 -55
package/dist/index.js
CHANGED
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
import { cn as ee, stopInteractivePropagation as te } from "./lib/utils.js";
|
|
2
2
|
import { Button as ne, buttonVariants as e } from "./components/ui/button/index.js";
|
|
3
|
-
import { DropdownMenu as t, DropdownMenuCheckboxItem as n, DropdownMenuContent as r, DropdownMenuGroup as i, DropdownMenuItem as a,
|
|
4
|
-
import { ActionMenu as
|
|
5
|
-
import { ButtonGroup as
|
|
6
|
-
import { CopyButton as
|
|
7
|
-
import { CopyField as
|
|
8
|
-
import { Textarea as
|
|
9
|
-
import { InputGroup as
|
|
10
|
-
import { ClearableInput as
|
|
11
|
-
import { DateInput as
|
|
12
|
-
import { DateRangeInput as
|
|
13
|
-
import { MoneyInput as
|
|
14
|
-
import { MaskedInput as
|
|
15
|
-
import { NumberInput as
|
|
16
|
-
import { PasswordInput as
|
|
17
|
-
import { PhoneInput as
|
|
18
|
-
import { QuantityInput as
|
|
19
|
-
import { SearchInput as
|
|
20
|
-
import { Input as
|
|
21
|
-
import { Checkbox as
|
|
22
|
-
import { Switch as
|
|
23
|
-
import { Card as
|
|
24
|
-
import { Badge as
|
|
25
|
-
import { Tabs as
|
|
26
|
-
import { Dialog as
|
|
27
|
-
import { Popover as
|
|
28
|
-
import { Select as
|
|
29
|
-
import { Table as
|
|
30
|
-
import { Collapse as
|
|
31
|
-
import { Accordion as
|
|
32
|
-
import { Skeleton as
|
|
33
|
-
import { Divider as
|
|
34
|
-
import { SegmentedControl as
|
|
35
|
-
import { LoadingOverlay as
|
|
36
|
-
import { Tooltip as
|
|
37
|
-
import { HoverCard as
|
|
38
|
-
import { Kbd as
|
|
39
|
-
import { RadioGroup as
|
|
40
|
-
import { ScrollBox as
|
|
41
|
-
import { RightClickMenu as
|
|
42
|
-
import { QuickActionGrid as
|
|
43
|
-
import { DEFAULT_MOBILE_BREAKPOINT as
|
|
44
|
-
import { AppSidebar as
|
|
45
|
-
import { Breadcrumbs as
|
|
46
|
-
import { PageContainer as
|
|
47
|
-
import { Section as
|
|
48
|
-
import { SectionHeader as
|
|
49
|
-
import { SidebarNav as
|
|
50
|
-
import { StickyFooterBar as
|
|
51
|
-
import { AnchorNav as
|
|
52
|
-
import { NavTabs as
|
|
53
|
-
import { PageTabs as
|
|
54
|
-
import { Pagination as
|
|
55
|
-
import { StepperTabs as
|
|
56
|
-
import { CommandBar as
|
|
57
|
-
import { FilterChips as Mt } from "./components/filters/filter-chips.js";
|
|
3
|
+
import { DropdownMenu as t, DropdownMenuCheckboxItem as n, DropdownMenuContent as r, DropdownMenuGroup as i, DropdownMenuItem as a, DropdownMenuItemDescription as o, DropdownMenuLabel as s, DropdownMenuPortal as c, DropdownMenuRadioGroup as l, DropdownMenuRadioItem as u, DropdownMenuSeparator as d, DropdownMenuShortcut as f, DropdownMenuSub as p, DropdownMenuSubContent as m, DropdownMenuSubTrigger as h, DropdownMenuTrigger as g } from "./components/ui/dropdown-menu/index.js";
|
|
4
|
+
import { ActionMenu as _ } from "./components/actions/action-menu.js";
|
|
5
|
+
import { ButtonGroup as v } from "./components/actions/button-group.js";
|
|
6
|
+
import { CopyButton as y } from "./components/actions/copy-button.js";
|
|
7
|
+
import { CopyField as b } from "./components/actions/copy-field.js";
|
|
8
|
+
import { Textarea as x } from "./components/ui/textarea/index.js";
|
|
9
|
+
import { InputGroup as S, InputGroupAddon as C, InputGroupButton as w, InputGroupInput as T, InputGroupText as E, InputGroupTextarea as D } from "./components/ui/input/group.js";
|
|
10
|
+
import { ClearableInput as O } from "./components/inputs/clearable-input.js";
|
|
11
|
+
import { DateInput as k } from "./components/inputs/date-input.js";
|
|
12
|
+
import { DateRangeInput as A } from "./components/inputs/date-range-input.js";
|
|
13
|
+
import { MoneyInput as j, parseMoneyInput as M } from "./components/inputs/money-input.js";
|
|
14
|
+
import { MaskedInput as N } from "./components/inputs/masked-input.js";
|
|
15
|
+
import { NumberInput as P, clampNumber as F, parseNumberInput as I } from "./components/inputs/number-input.js";
|
|
16
|
+
import { PasswordInput as L } from "./components/inputs/password-input.js";
|
|
17
|
+
import { PhoneInput as R, formatPhoneDigits as z, onlyDigits as B } from "./components/inputs/phone-input.js";
|
|
18
|
+
import { QuantityInput as V, clampQuantity as H } from "./components/inputs/quantity-input.js";
|
|
19
|
+
import { SearchInput as U } from "./components/inputs/search-input.js";
|
|
20
|
+
import { Input as W } from "./components/ui/input/index.js";
|
|
21
|
+
import { Checkbox as G } from "./components/ui/checkbox/index.js";
|
|
22
|
+
import { Switch as K } from "./components/ui/switch/index.js";
|
|
23
|
+
import { Card as q, CardAction as J, CardContent as Y, CardDescription as X, CardFooter as Z, CardHeader as re, CardTitle as ie, cardVariants as ae } from "./components/ui/card/index.js";
|
|
24
|
+
import { Badge as oe, badgeVariants as se } from "./components/ui/badge/index.js";
|
|
25
|
+
import { Tabs as ce, TabsContent as le, TabsList as ue, TabsTrigger as de } from "./components/ui/tabs/index.js";
|
|
26
|
+
import { Dialog as fe, DialogClose as pe, DialogContent as me, DialogDescription as he, DialogFooter as ge, DialogHeader as _e, DialogOverlay as ve, DialogPortal as ye, DialogTitle as be, DialogTrigger as xe } from "./components/ui/dialog/index.js";
|
|
27
|
+
import { Popover as Se, PopoverContent as Ce, PopoverDescription as we, PopoverHeader as Te, PopoverTitle as Ee, PopoverTrigger as De } from "./components/ui/popover/index.js";
|
|
28
|
+
import { Select as Oe, SelectContent as ke, SelectGroup as Ae, SelectItem as je, SelectLabel as Me, SelectScrollDownButton as Ne, SelectScrollUpButton as Pe, SelectSeparator as Fe, SelectTrigger as Ie, SelectValue as Le } from "./components/ui/select/index.js";
|
|
29
|
+
import { Table as Re, TableBody as ze, TableCaption as Be, TableCell as Ve, TableFooter as He, TableHead as Ue, TableHeader as We, TableRow as Ge } from "./components/ui/table/index.js";
|
|
30
|
+
import { Collapse as Ke, CollapseContent as qe, CollapseGroup as Je, CollapseTrigger as Ye } from "./components/ui/collapse/index.js";
|
|
31
|
+
import { Accordion as Xe, AccordionContent as Ze, AccordionRoot as Qe, AccordionTrigger as $e } from "./components/ui/accordion/index.js";
|
|
32
|
+
import { Skeleton as et, SkeletonCard as tt, SkeletonText as nt } from "./components/ui/skeleton/index.js";
|
|
33
|
+
import { Divider as rt } from "./components/ui/divider/index.js";
|
|
34
|
+
import { SegmentedControl as it } from "./components/ui/segmented-control/index.js";
|
|
35
|
+
import { LoadingOverlay as at, Spinner as ot } from "./components/ui/spinner/index.js";
|
|
36
|
+
import { Tooltip as st } from "./components/ui/tooltip/index.js";
|
|
37
|
+
import { HoverCard as ct } from "./components/ui/hover-card.js";
|
|
38
|
+
import { Kbd as lt } from "./components/ui/kbd/index.js";
|
|
39
|
+
import { RadioGroup as ut } from "./components/ui/radio-group/index.js";
|
|
40
|
+
import { ScrollBox as dt } from "./components/ui/scroll-box/index.js";
|
|
41
|
+
import { RightClickMenu as ft } from "./components/ui/right-click-menu/index.js";
|
|
42
|
+
import { QuickActionGrid as pt } from "./components/actions/quick-action-grid.js";
|
|
43
|
+
import { DEFAULT_MOBILE_BREAKPOINT as mt, useIsMobile as ht } from "./hooks/use-is-mobile.js";
|
|
44
|
+
import { AppSidebar as gt, Sidebar as _t } from "./components/layout/app-sidebar.js";
|
|
45
|
+
import { Breadcrumbs as vt } from "./components/layout/breadcrumbs.js";
|
|
46
|
+
import { PageContainer as yt } from "./components/layout/page-container.js";
|
|
47
|
+
import { Section as bt, SplitLayout as xt, Toolbar as St } from "./components/layout/section.js";
|
|
48
|
+
import { SectionHeader as Ct } from "./components/layout/section-header.js";
|
|
49
|
+
import { SidebarNav as wt } from "./components/layout/sidebar-nav.js";
|
|
50
|
+
import { StickyFooterBar as Tt } from "./components/layout/sticky-footer-bar.js";
|
|
51
|
+
import { AnchorNav as Et } from "./components/navigation/anchor-nav.js";
|
|
52
|
+
import { NavTabs as Dt } from "./components/navigation/nav-tabs.js";
|
|
53
|
+
import { PageTabs as Ot } from "./components/navigation/page-tabs.js";
|
|
54
|
+
import { Pagination as kt, getPaginationItems as At } from "./components/navigation/pagination.js";
|
|
55
|
+
import { StepperTabs as jt } from "./components/navigation/stepper-tabs.js";
|
|
56
|
+
import { CommandBar as Mt } from "./components/navigation/command-bar.js";
|
|
58
57
|
import { FilterBar as Nt } from "./components/filters/filter-bar.js";
|
|
59
58
|
import { SavedFilterSelect as Pt } from "./components/filters/saved-filter-select.js";
|
|
60
59
|
import { AlertDialog as Ft } from "./components/overlay/alert-dialog.js";
|
|
@@ -63,105 +62,87 @@ import { ModalShell as Rt } from "./components/overlay/modal-shell.js";
|
|
|
63
62
|
import { ConfirmDialog as zt } from "./components/overlay/confirm-dialog.js";
|
|
64
63
|
import { Drawer as Bt, DrawerCloseButton as Vt } from "./components/overlay/drawer.js";
|
|
65
64
|
import { Sheet as Ht, SheetClose as Ut, SheetContent as Wt, SheetDescription as Gt, SheetFooter as Kt, SheetHeader as qt, SheetOverlay as Jt, SheetPortal as Yt, SheetShell as Xt, SheetTitle as Zt, SheetTrigger as Qt } from "./components/overlay/sheet-shell.js";
|
|
66
|
-
import { AsyncMultiSelect as $t, AsyncSelect as
|
|
67
|
-
import { Combobox as
|
|
68
|
-
import { SimpleSelect as
|
|
69
|
-
import { ColorInput as
|
|
70
|
-
import { OtpInput as
|
|
71
|
-
import { QuantityStepper as
|
|
72
|
-
import { Rating as
|
|
73
|
-
import { RangeSlider as
|
|
74
|
-
import { TagInput as
|
|
75
|
-
import { InlineEditable as
|
|
76
|
-
import { JsonInput as
|
|
77
|
-
import { DateTimePicker as
|
|
78
|
-
import { FormFieldShell as hn } from "./components/form/form-field-shell.js";
|
|
79
|
-
import { FormInput as
|
|
80
|
-
import { FormSelect as
|
|
81
|
-
import { FormSwitch as
|
|
82
|
-
import { FormTextarea as
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import { EntityCard as or } from "./components/display/entity-card.js";
|
|
111
|
-
import { FileCard as sr } from "./components/display/file-card.js";
|
|
112
|
-
import { List as cr, ListRow as lr } from "./components/display/list.js";
|
|
113
|
-
import { MetricGrid as ur } from "./components/display/metric-grid.js";
|
|
114
|
-
import { Progress as dr, ProgressCard as fr, getProgressPercent as pr } from "./components/display/progress.js";
|
|
115
|
-
import { ProgressCircle as mr } from "./components/display/progress-circle.js";
|
|
116
|
-
import { PropertyGrid as hr } from "./components/display/property-grid.js";
|
|
117
|
-
import { Result as gr, ResultAction as _r } from "./components/display/result.js";
|
|
118
|
-
import { Statistic as vr, StatisticCard as yr, StatisticGrid as br } from "./components/display/statistic.js";
|
|
119
|
-
import { StatusDot as xr } from "./components/display/status-dot.js";
|
|
120
|
-
import { StatusLegend as Sr } from "./components/display/status-legend.js";
|
|
121
|
-
import { Timeline as Cr } from "./components/display/timeline.js";
|
|
122
|
-
import { TreeView as wr } from "./components/display/tree-view.js";
|
|
123
|
-
import { UserCard as Tr } from "./components/display/user-card.js";
|
|
124
|
-
import { DeltaBadge as Er } from "./components/display/delta-badge.js";
|
|
125
|
-
import { TrendCard as Dr } from "./components/display/trend-card.js";
|
|
126
|
-
import { ComparisonCard as Or } from "./components/display/comparison-card.js";
|
|
65
|
+
import { AsyncMultiSelect as $t, AsyncSelect as Q } from "./components/inputs/async-select.js";
|
|
66
|
+
import { Combobox as en } from "./components/inputs/combobox.js";
|
|
67
|
+
import { SimpleSelect as tn } from "./components/inputs/simple-select.js";
|
|
68
|
+
import { ColorInput as nn } from "./components/inputs/color-input.js";
|
|
69
|
+
import { OtpInput as rn } from "./components/inputs/otp-input.js";
|
|
70
|
+
import { QuantityStepper as an } from "./components/inputs/quantity-stepper.js";
|
|
71
|
+
import { Rating as on } from "./components/inputs/rating.js";
|
|
72
|
+
import { RangeSlider as sn, Slider as cn } from "./components/inputs/slider.js";
|
|
73
|
+
import { TagInput as ln } from "./components/inputs/tag-input.js";
|
|
74
|
+
import { InlineEditable as un } from "./components/inputs/inline-editable.js";
|
|
75
|
+
import { JsonInput as dn } from "./components/inputs/json-input.js";
|
|
76
|
+
import { DateTimePicker as fn, TimePicker as pn, TimeRangePicker as mn } from "./components/inputs/time-picker.js";
|
|
77
|
+
import { FormFieldShell as hn, resolveFormFieldIds as gn } from "./components/form/form-field-shell.js";
|
|
78
|
+
import { FormInput as _n } from "./components/form/form-input.js";
|
|
79
|
+
import { FormSelect as vn } from "./components/form/form-select.js";
|
|
80
|
+
import { FormSwitch as yn } from "./components/form/form-switch.js";
|
|
81
|
+
import { FormTextarea as bn } from "./components/form/form-textarea.js";
|
|
82
|
+
import { FormAsyncSelect as xn } from "./components/form/form-async-select.js";
|
|
83
|
+
import { Alert as Sn } from "./components/feedback/alert.js";
|
|
84
|
+
import { LoadingState as Cn } from "./components/feedback/loading-state.js";
|
|
85
|
+
import { InlineState as wn, PageState as Tn } from "./components/feedback/page-state.js";
|
|
86
|
+
import { DescriptionList as En } from "./components/display/description-list.js";
|
|
87
|
+
import { DataList as Dn, DataListRow as On } from "./components/display/data-list.js";
|
|
88
|
+
import { ActivityFeed as kn } from "./components/display/activity-feed.js";
|
|
89
|
+
import { Avatar as An, AvatarGroup as jn } from "./components/display/avatar.js";
|
|
90
|
+
import { Descriptions as Mn } from "./components/display/descriptions.js";
|
|
91
|
+
import { KanbanBoard as Nn } from "./components/display/kanban.js";
|
|
92
|
+
import { CodeBlock as Pn } from "./components/display/code-block.js";
|
|
93
|
+
import { DataState as Fn } from "./components/display/data-state.js";
|
|
94
|
+
import { List as In, ListRow as Ln } from "./components/display/list.js";
|
|
95
|
+
import { MetricGrid as Rn } from "./components/display/metric-grid.js";
|
|
96
|
+
import { Progress as zn, ProgressCard as Bn, getProgressPercent as Vn } from "./components/display/progress.js";
|
|
97
|
+
import { ProgressCircle as Hn } from "./components/display/progress-circle.js";
|
|
98
|
+
import { PropertyGrid as Un } from "./components/display/property-grid.js";
|
|
99
|
+
import { Result as Wn, ResultAction as Gn } from "./components/display/result.js";
|
|
100
|
+
import { Statistic as Kn, StatisticCard as qn, StatisticGrid as Jn } from "./components/display/statistic.js";
|
|
101
|
+
import { StatusDot as Yn } from "./components/display/status-dot.js";
|
|
102
|
+
import { StatusLegend as Xn } from "./components/display/status-legend.js";
|
|
103
|
+
import { Timeline as Zn } from "./components/display/timeline.js";
|
|
104
|
+
import { TreeView as Qn } from "./components/display/tree-view.js";
|
|
105
|
+
import { UserCard as $n } from "./components/display/user-card.js";
|
|
106
|
+
import { DeltaBadge as er } from "./components/display/delta-badge.js";
|
|
107
|
+
import { TrendCard as tr } from "./components/display/trend-card.js";
|
|
108
|
+
import { ComparisonCard as nr } from "./components/display/comparison-card.js";
|
|
127
109
|
import { SmartCard as $ } from "./components/display/smart-card.js";
|
|
128
|
-
import { Carousel as
|
|
129
|
-
import { QRCode as
|
|
130
|
-
import { Chip as
|
|
131
|
-
import { Blockquote as
|
|
132
|
-
import { CalendarScheduler as
|
|
133
|
-
import { DualListPicker as
|
|
134
|
-
import { Menubar as
|
|
135
|
-
import { NavigationMenu as
|
|
136
|
-
import { ResizableHandle as
|
|
137
|
-
import { RichTextEditor as
|
|
138
|
-
import { Tour as
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
|
|
167
|
-
export { Ye as Accordion, Xe as AccordionContent, Ze as AccordionRoot, Qe as AccordionTrigger, g as ActionMenu, Qn as ActivityFeed, Un as Alert, Ft as AlertDialog, Tt as AnchorNav, ht as AppSidebar, $t as AsyncMultiSelect, en as AsyncSelect, $n as Avatar, er as AvatarGroup, ae as Badge, Ei as BarChart, Ir as Blockquote, _t as Breadcrumbs, ne as Button, _ as ButtonGroup, jn as Calendar, Hr as CalendarScheduler, K as Card, q as CardAction, J as CardContent, Y as CardDescription, X as CardFooter, Z as CardHeader, re as CardTitle, kr as Carousel, Ar as CarouselItem, Di as ChartFrame, Oi as ChartLegend, W as Checkbox, Nr as Chip, D as ClearableInput, ir as CodeBlock, Ge as Collapse, Ke as CollapseContent, qe as CollapseGroup, Je as CollapseTrigger, rn as ColorInput, tn as Combobox, jt as CommandBar, xi as CommandPalette, Or as ComparisonCard, zt as ConfirmDialog, v as CopyButton, y as CopyField, pt as DEFAULT_MOBILE_BREAKPOINT, Xn as DataList, Zn as DataListRow, ar as DataState, pi as DataTable, si as DataTableBulkActions, ci as DataTableColumnVisibilityMenu, li as DataTablePagination, ii as DataTableRowActions, _i as DataTableSavedFilters, hi as DataTableSortableHeader, di as DataTableToolbar, gi as DataTableViewPresets, O as DateInput, Mn as DatePicker, k as DateRangeInput, Pn as DateRangePicker, Q as DateTimePicker, Er as DeltaBadge, Yn as DescriptionList, nr as Descriptions, de as Dialog, It as DialogActionButton, Lt as DialogActions, fe as DialogClose, pe as DialogContent, me as DialogDescription, he as DialogFooter, ge as DialogHeader, _e as DialogOverlay, ve as DialogPortal, ye as DialogTitle, be as DialogTrigger, nt as Divider, ki as DonutChart, Bt as Drawer, Vt as DrawerCloseButton, t as DropdownMenu, n as DropdownMenuCheckboxItem, r as DropdownMenuContent, i as DropdownMenuGroup, a as DropdownMenuItem, o as DropdownMenuLabel, s as DropdownMenuPortal, c as DropdownMenuRadioGroup, l as DropdownMenuRadioItem, u as DropdownMenuSeparator, d as DropdownMenuShortcut, f as DropdownMenuSub, p as DropdownMenuSubContent, m as DropdownMenuSubTrigger, h as DropdownMenuTrigger, Ur as DualListPicker, Jn as EmptySearchState, Wn as EmptyState, or as EntityCard, tr as EntityHeader, sr as FileCard, Ti as FileDropzone, Ci as FileUpload, Nt as FilterBar, Mt as FilterChips, In as FormAsyncSelect, Ln as FormDateInput, Nn as FormDatePicker, Rn as FormDateRangeInput, Fn as FormDateRangePicker, hn as FormFieldShell, gn as FormInput, zn as FormNumberInput, Bn as FormPasswordInput, Vn as FormPhoneInput, Hn as FormSearchInput, _n as FormSelect, vn as FormSwitch, yn as FormTextarea, Lr as Heading, Ii as HorizontalBarChart, st as HoverCard, wi as ImageUpload, $ as InfoCard, dn as InlineEditable, Kn as InlineState, U as Input, x as InputGroup, S as InputGroupAddon, C as InputGroupButton, w as InputGroupInput, T as InputGroupText, E as InputGroupTextarea, fn as JsonInput, rr as KanbanBoard, ct as Kbd, Ni as KpiCard, Pi as KpiGrid, Ai as LineChart, cr as List, lr as ListRow, it as LoadingOverlay, Gn as LoadingState, Rr as Mark, M as MaskedInput, Wr as Menubar, Gr as MenubarContent, Kr as MenubarItem, qr as MenubarMenu, Jr as MenubarTrigger, ur as MetricGrid, ji as MetricTrend, Rt as ModalShell, A as MoneyInput, Et as NavTabs, Yr as NavigationMenu, Xr as NavigationMenuItem, Zr as NavigationMenuLink, Qr as NavigationMenuList, bi as NotificationCenter, N as NumberInput, an as OtpInput, vt as PageContainer, qn as PageState, Dt as PageTabs, Ot as Pagination, I as PasswordInput, L as PhoneInput, xe as Popover, Se as PopoverContent, Ce as PopoverDescription, we as PopoverHeader, Te as PopoverTitle, Ee as PopoverTrigger, dr as Progress, fr as ProgressCard, mr as ProgressCircle, Fi as ProgressRing, hr as PropertyGrid, jr as QRCode, Mr as QRCodeSvg, B as QuantityInput, on as QuantityStepper, ft as QuickActionGrid, lt as RadioGroup, cn as RangeSlider, sn as Rating, $r as ResizableHandle, ei as ResizablePanel, ti as ResizablePanelGroup, gr as Result, _r as ResultAction, ni as RichTextEditor, dt as RightClickMenu, Pt as SavedFilterSelect, ut as ScrollBox, H as SearchInput, yt as Section, St as SectionHeader, rt as SegmentedControl, De as Select, Oe as SelectContent, ke as SelectGroup, Ae as SelectItem, je as SelectLabel, Me as SelectScrollDownButton, Ne as SelectScrollUpButton, Pe as SelectSeparator, Fe as SelectTrigger, Ie as SelectValue, Ht as Sheet, Ut as SheetClose, Wt as SheetContent, Gt as SheetDescription, Kt as SheetFooter, qt as SheetHeader, Jt as SheetOverlay, Yt as SheetPortal, Xt as SheetShell, Zt as SheetTitle, Qt as SheetTrigger, gt as Sidebar, Ct as SidebarNav, nn as SimpleSelect, $e as Skeleton, et as SkeletonCard, tt as SkeletonText, ln as Slider, $ as SmartCard, Mi as Sparkline, at as Spinner, bt as SplitLayout, zr as Spoiler, Br as SpoilerSummary, vr as Statistic, yr as StatisticCard, br as StatisticGrid, xr as StatusDot, Sr as StatusLegend, Li as Stepper, At as StepperTabs, wt as StickyFooterBar, G as Switch, Le as Table, Re as TableBody, ze as TableCaption, Be as TableCell, Ve as TableFooter, He as TableHead, Ue as TableHeader, We as TableRow, se as Tabs, ce as TabsContent, le as TabsList, ue as TabsTrigger, Pr as Tag, Fr as TagGroup, un as TagInput, Vr as Text, b as Textarea, pn as TimePicker, mn as TimeRangePicker, Cr as Timeline, vi as ToastProvider, xt as Toolbar, ot as Tooltip, ri as Tour, wr as TreeView, Dr as TrendCard, Tr as UserCard, Ri as Wizard, bn as addMonths, oe as badgeVariants, e as buttonVariants, ie as cardVariants, P as clampNumber, V as clampQuantity, ee as cn, oi as createDataTableActionsColumn, mi as createDataTableSelectColumn, fi as dataTableToolbarVariants, R as formatPhoneDigits, ui as getDataTablePageCount, xn as getMonthDays, Sn as getMonthLabel, kt as getPaginationItems, pr as getProgressPercent, Cn as getWeekdayLabels, wn as isAfterDate, Tn as isBeforeDate, En as isSameMonth, Dn as isWithinRange, z as onlyDigits, On as parseDateKey, j as parseMoneyInput, F as parseNumberInput, ai as resolveRowActions, kn as startOfMonth, te as stopInteractivePropagation, An as toDateKey, Bi as useBeforeUnloadWhenDirty, Si as useCommandPaletteShortcut, Wi as useDataTableViewState, Hi as useDebouncedCallback, Ui as useDebouncedValue, Vi as useDisclosure, mt as useIsMobile, zi as useSessionStorageState, yi as useToast };
|
|
110
|
+
import { Carousel as rr, CarouselItem as ir } from "./components/display/carousel.js";
|
|
111
|
+
import { QRCode as ar, QRCodeSvg as or } from "./components/display/qr-code.js";
|
|
112
|
+
import { Chip as sr, Tag as cr, TagGroup as lr } from "./components/display/tag.js";
|
|
113
|
+
import { Blockquote as ur, Heading as dr, Mark as fr, Spoiler as pr, SpoilerSummary as mr, Text as hr } from "./components/display/typography.js";
|
|
114
|
+
import { CalendarScheduler as gr } from "./components/modern/calendar-scheduler.js";
|
|
115
|
+
import { DualListPicker as _r } from "./components/modern/dual-list-picker.js";
|
|
116
|
+
import { Menubar as vr, MenubarContent as yr, MenubarItem as br, MenubarMenu as xr, MenubarTrigger as Sr } from "./components/modern/menubar.js";
|
|
117
|
+
import { NavigationMenu as Cr, NavigationMenuItem as wr, NavigationMenuLink as Tr, NavigationMenuList as Er } from "./components/modern/navigation-menu.js";
|
|
118
|
+
import { ResizableHandle as Dr, ResizablePanel as Or, ResizablePanelGroup as kr } from "./components/modern/resizable-panel.js";
|
|
119
|
+
import { RichTextEditor as Ar } from "./components/modern/rich-text-editor.js";
|
|
120
|
+
import { Tour as jr } from "./components/modern/tour.js";
|
|
121
|
+
import { DataTableBulkActions as Mr } from "./components/data-table/data-table-bulk-actions.js";
|
|
122
|
+
import { DataTableColumnVisibilityMenu as Nr } from "./components/data-table/data-table-column-visibility-menu.js";
|
|
123
|
+
import { DataTablePagination as Pr, getDataTablePageCount as Fr } from "./components/data-table/data-table-pagination.js";
|
|
124
|
+
import { DataTable as Ir } from "./components/data-table/data-table.js";
|
|
125
|
+
import { DataTableSortableHeader as Lr } from "./components/data-table/data-table-sortable-header.js";
|
|
126
|
+
import { DataTableViewPresets as Rr } from "./components/data-table/data-table-view-presets.js";
|
|
127
|
+
import { ToastProvider as zr, useToast as Br } from "./components/notifications/toast.js";
|
|
128
|
+
import { NotificationCenter as Vr } from "./components/notifications/notification-center.js";
|
|
129
|
+
import { CommandPalette as Hr, useCommandPaletteShortcut as Ur } from "./components/command/command-palette.js";
|
|
130
|
+
import { addMonths as Wr, getMonthDays as Gr, getMonthLabel as Kr, getWeekdayLabels as qr, isAfterDate as Jr, isBeforeDate as Yr, isSameMonth as Xr, isWithinRange as Zr, parseDateKey as Qr, startOfMonth as $r, toDateKey as ei } from "./components/calendar/date-utils.js";
|
|
131
|
+
import { Calendar as ti } from "./components/calendar/calendar.js";
|
|
132
|
+
import { DatePicker as ni } from "./components/calendar/date-picker.js";
|
|
133
|
+
import { DateRangePicker as ri } from "./components/calendar/date-range-picker.js";
|
|
134
|
+
import { FileUpload as ii } from "./components/upload/file-upload.js";
|
|
135
|
+
import { ImageUpload as ai } from "./components/upload/image-upload.js";
|
|
136
|
+
import { FileDropzone as oi } from "./components/upload/file-dropzone.js";
|
|
137
|
+
import { BarChart as si, ChartFrame as ci, ChartLegend as li, DonutChart as ui, LineChart as di, MetricTrend as fi, Sparkline as pi } from "./components/charts/charts.js";
|
|
138
|
+
import { KpiCard as mi, KpiGrid as hi } from "./components/charts/kpi.js";
|
|
139
|
+
import { ProgressRing as gi } from "./components/charts/progress-ring.js";
|
|
140
|
+
import { HorizontalBarChart as _i } from "./components/charts/horizontal-bar-chart.js";
|
|
141
|
+
import { Stepper as vi } from "./components/wizard/stepper.js";
|
|
142
|
+
import { Wizard as yi } from "./components/wizard/wizard.js";
|
|
143
|
+
import { useSessionStorageState as bi } from "./hooks/use-session-storage-state.js";
|
|
144
|
+
import { useBeforeUnloadWhenDirty as xi } from "./hooks/use-before-unload-when-dirty.js";
|
|
145
|
+
import { useDisclosure as Si } from "./hooks/use-disclosure.js";
|
|
146
|
+
import { useDebouncedCallback as Ci, useDebouncedValue as wi } from "./hooks/use-debounce.js";
|
|
147
|
+
import { useDataTableViewState as Ti } from "./hooks/use-data-table-view-state.js";
|
|
148
|
+
export { Xe as Accordion, Ze as AccordionContent, Qe as AccordionRoot, $e as AccordionTrigger, _ as ActionMenu, kn as ActivityFeed, Sn as Alert, Ft as AlertDialog, Et as AnchorNav, gt as AppSidebar, $t as AsyncMultiSelect, Q as AsyncSelect, An as Avatar, jn as AvatarGroup, oe as Badge, si as BarChart, ur as Blockquote, vt as Breadcrumbs, ne as Button, v as ButtonGroup, ti as Calendar, gr as CalendarScheduler, q as Card, J as CardAction, Y as CardContent, X as CardDescription, Z as CardFooter, re as CardHeader, ie as CardTitle, rr as Carousel, ir as CarouselItem, ci as ChartFrame, li as ChartLegend, G as Checkbox, sr as Chip, O as ClearableInput, Pn as CodeBlock, Ke as Collapse, qe as CollapseContent, Je as CollapseGroup, Ye as CollapseTrigger, nn as ColorInput, en as Combobox, Mt as CommandBar, Hr as CommandPalette, nr as ComparisonCard, zt as ConfirmDialog, y as CopyButton, b as CopyField, mt as DEFAULT_MOBILE_BREAKPOINT, Dn as DataList, On as DataListRow, Fn as DataState, Ir as DataTable, Mr as DataTableBulkActions, Nr as DataTableColumnVisibilityMenu, Pr as DataTablePagination, Lr as DataTableSortableHeader, Rr as DataTableViewPresets, k as DateInput, ni as DatePicker, A as DateRangeInput, ri as DateRangePicker, fn as DateTimePicker, er as DeltaBadge, En as DescriptionList, Mn as Descriptions, fe as Dialog, It as DialogActionButton, Lt as DialogActions, pe as DialogClose, me as DialogContent, he as DialogDescription, ge as DialogFooter, _e as DialogHeader, ve as DialogOverlay, ye as DialogPortal, be as DialogTitle, xe as DialogTrigger, rt as Divider, ui as DonutChart, Bt as Drawer, Vt as DrawerCloseButton, t as DropdownMenu, n as DropdownMenuCheckboxItem, r as DropdownMenuContent, i as DropdownMenuGroup, a as DropdownMenuItem, o as DropdownMenuItemDescription, s as DropdownMenuLabel, c as DropdownMenuPortal, l as DropdownMenuRadioGroup, u as DropdownMenuRadioItem, d as DropdownMenuSeparator, f as DropdownMenuShortcut, p as DropdownMenuSub, m as DropdownMenuSubContent, h as DropdownMenuSubTrigger, g as DropdownMenuTrigger, _r as DualListPicker, oi as FileDropzone, ii as FileUpload, Nt as FilterBar, xn as FormAsyncSelect, hn as FormFieldShell, _n as FormInput, vn as FormSelect, yn as FormSwitch, bn as FormTextarea, dr as Heading, _i as HorizontalBarChart, ct as HoverCard, ai as ImageUpload, $ as InfoCard, un as InlineEditable, wn as InlineState, W as Input, S as InputGroup, C as InputGroupAddon, w as InputGroupButton, T as InputGroupInput, E as InputGroupText, D as InputGroupTextarea, dn as JsonInput, Nn as KanbanBoard, lt as Kbd, mi as KpiCard, hi as KpiGrid, di as LineChart, In as List, Ln as ListRow, at as LoadingOverlay, Cn as LoadingState, fr as Mark, N as MaskedInput, vr as Menubar, yr as MenubarContent, br as MenubarItem, xr as MenubarMenu, Sr as MenubarTrigger, Rn as MetricGrid, fi as MetricTrend, Rt as ModalShell, j as MoneyInput, Dt as NavTabs, Cr as NavigationMenu, wr as NavigationMenuItem, Tr as NavigationMenuLink, Er as NavigationMenuList, Vr as NotificationCenter, P as NumberInput, rn as OtpInput, yt as PageContainer, Tn as PageState, Ot as PageTabs, kt as Pagination, L as PasswordInput, R as PhoneInput, Se as Popover, Ce as PopoverContent, we as PopoverDescription, Te as PopoverHeader, Ee as PopoverTitle, De as PopoverTrigger, zn as Progress, Bn as ProgressCard, Hn as ProgressCircle, gi as ProgressRing, Un as PropertyGrid, ar as QRCode, or as QRCodeSvg, V as QuantityInput, an as QuantityStepper, pt as QuickActionGrid, ut as RadioGroup, sn as RangeSlider, on as Rating, Dr as ResizableHandle, Or as ResizablePanel, kr as ResizablePanelGroup, Wn as Result, Gn as ResultAction, Ar as RichTextEditor, ft as RightClickMenu, Pt as SavedFilterSelect, dt as ScrollBox, U as SearchInput, bt as Section, Ct as SectionHeader, it as SegmentedControl, Oe as Select, ke as SelectContent, Ae as SelectGroup, je as SelectItem, Me as SelectLabel, Ne as SelectScrollDownButton, Pe as SelectScrollUpButton, Fe as SelectSeparator, Ie as SelectTrigger, Le as SelectValue, Ht as Sheet, Ut as SheetClose, Wt as SheetContent, Gt as SheetDescription, Kt as SheetFooter, qt as SheetHeader, Jt as SheetOverlay, Yt as SheetPortal, Xt as SheetShell, Zt as SheetTitle, Qt as SheetTrigger, _t as Sidebar, wt as SidebarNav, tn as SimpleSelect, et as Skeleton, tt as SkeletonCard, nt as SkeletonText, cn as Slider, $ as SmartCard, pi as Sparkline, ot as Spinner, xt as SplitLayout, pr as Spoiler, mr as SpoilerSummary, Kn as Statistic, qn as StatisticCard, Jn as StatisticGrid, Yn as StatusDot, Xn as StatusLegend, vi as Stepper, jt as StepperTabs, Tt as StickyFooterBar, K as Switch, Re as Table, ze as TableBody, Be as TableCaption, Ve as TableCell, He as TableFooter, Ue as TableHead, We as TableHeader, Ge as TableRow, ce as Tabs, le as TabsContent, ue as TabsList, de as TabsTrigger, cr as Tag, lr as TagGroup, ln as TagInput, hr as Text, x as Textarea, pn as TimePicker, mn as TimeRangePicker, Zn as Timeline, zr as ToastProvider, St as Toolbar, st as Tooltip, jr as Tour, Qn as TreeView, tr as TrendCard, $n as UserCard, yi as Wizard, Wr as addMonths, se as badgeVariants, e as buttonVariants, ae as cardVariants, F as clampNumber, H as clampQuantity, ee as cn, z as formatPhoneDigits, Fr as getDataTablePageCount, Gr as getMonthDays, Kr as getMonthLabel, At as getPaginationItems, Vn as getProgressPercent, qr as getWeekdayLabels, Jr as isAfterDate, Yr as isBeforeDate, Xr as isSameMonth, Zr as isWithinRange, B as onlyDigits, Qr as parseDateKey, M as parseMoneyInput, I as parseNumberInput, gn as resolveFormFieldIds, $r as startOfMonth, te as stopInteractivePropagation, ei as toDateKey, xi as useBeforeUnloadWhenDirty, Ur as useCommandPaletteShortcut, Ti as useDataTableViewState, Ci as useDebouncedCallback, wi as useDebouncedValue, Si as useDisclosure, ht as useIsMobile, bi as useSessionStorageState, Br as useToast };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[{slug:`button`,registryName:`button`,surface:`documented`},{slug:`input`,registryName:`input`,surface:`documented`},{slug:`select`,registryName:`select`,surface:`documented`},{slug:`card`,registryName:`card`,surface:`documented`},{slug:`badge`,registryName:`badge`,surface:`documented`},{slug:`checkbox`,registryName:`checkbox`,surface:`documented`},{slug:`overlay`,registryName:`dialog`,surface:`documented`},{slug:`form-field`,registryName:`form-field-shell`,surface:`documented`},{slug:`data-table`,registryName:`data-table`,surface:`documented`},{slug:`alert`,registryName:`alert`,surface:`documented`},{slug:`bar-chart`,registryName:`charts`,surface:`documented`},{slug:`sidebar`,registryName:`sidebar`,surface:`documented`},{slug:`file-upload`,registryName:`file-upload`,surface:`documented`},{slug:`progress`,registryName:`progress`,surface:`documented`}],t=[{slug:`accordion`,registryName:`accordion`,surface:`standalone`},{slug:`divider`,registryName:`divider`,surface:`standalone`},{slug:`segmented-control`,registryName:`segmented-control`,surface:`standalone`},{slug:`skeleton`,registryName:`skeleton`,surface:`standalone`},{slug:`spinner`,registryName:`spinner`,surface:`standalone`},{slug:`command-bar`,registryName:`command-bar`,surface:`standalone`},{slug:`quantity-stepper`,registryName:`quantity-stepper`,surface:`standalone`},{slug:`inline-editable`,registryName:`inline-editable`,surface:`standalone`},{slug:`
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[{slug:`button`,registryName:`button`,surface:`documented`},{slug:`input`,registryName:`input`,surface:`documented`},{slug:`select`,registryName:`select`,surface:`documented`},{slug:`card`,registryName:`card`,surface:`documented`},{slug:`badge`,registryName:`badge`,surface:`documented`},{slug:`checkbox`,registryName:`checkbox`,surface:`documented`},{slug:`overlay`,registryName:`dialog`,surface:`documented`},{slug:`form-field`,registryName:`form-field-shell`,surface:`documented`},{slug:`data-table`,registryName:`data-table`,surface:`documented`},{slug:`alert`,registryName:`alert`,surface:`documented`},{slug:`bar-chart`,registryName:`charts`,surface:`documented`},{slug:`sidebar`,registryName:`sidebar`,surface:`documented`},{slug:`file-upload`,registryName:`file-upload`,surface:`documented`},{slug:`progress`,registryName:`progress`,surface:`documented`}],t=[{slug:`accordion`,registryName:`accordion`,surface:`standalone`},{slug:`divider`,registryName:`divider`,surface:`standalone`},{slug:`segmented-control`,registryName:`segmented-control`,surface:`standalone`},{slug:`skeleton`,registryName:`skeleton`,surface:`standalone`},{slug:`spinner`,registryName:`spinner`,surface:`standalone`},{slug:`command-bar`,registryName:`command-bar`,surface:`standalone`},{slug:`quantity-stepper`,registryName:`quantity-stepper`,surface:`standalone`},{slug:`inline-editable`,registryName:`inline-editable`,surface:`standalone`},{slug:`avatar`,registryName:`avatar`,surface:`standalone`},{slug:`code-block`,registryName:`code-block`,surface:`standalone`},{slug:`data-state`,registryName:`data-state`,surface:`standalone`},{slug:`kanban`,registryName:`kanban`,surface:`standalone`},{slug:`list`,registryName:`list`,surface:`standalone`},{slug:`property-grid`,registryName:`property-grid`,surface:`standalone`},{slug:`statistic`,registryName:`statistic`,surface:`standalone`},{slug:`tree-view`,registryName:`tree-view`,surface:`standalone`},{slug:`copy-button`,registryName:`copy-button`,surface:`standalone`},{slug:`section`,registryName:`section`,surface:`standalone`},{slug:`sticky-footer-bar`,registryName:`sticky-footer-bar`,surface:`standalone`},{slug:`calendar-scheduler`,registryName:`calendar-scheduler`,surface:`standalone`},{slug:`dual-list-picker`,registryName:`dual-list-picker`,surface:`standalone`},{slug:`menubar`,registryName:`menubar`,surface:`standalone`},{slug:`navigation-menu`,registryName:`navigation-menu`,surface:`standalone`},{slug:`resizable-panel`,registryName:`resizable-panel`,surface:`standalone`},{slug:`rich-text-editor`,registryName:`rich-text-editor`,surface:`standalone`},{slug:`tour`,registryName:`tour`,surface:`standalone`},{slug:`qr-code`,registryName:`qr-code`,surface:`standalone`},{slug:`tag`,registryName:`tag`,surface:`standalone`},{slug:`carousel`,registryName:`carousel`,surface:`standalone`},{slug:`typography`,registryName:`typography`,surface:`standalone`},{slug:`json-input`,registryName:`json-input`,surface:`standalone`},{slug:`time-picker`,registryName:`time-picker`,surface:`standalone`}],n=[...e,...t],r=new Map(n.map((e,t)=>[e.slug,t])),i=new Map(n.map(e=>[e.slug,e.registryName])),a=n.map(e=>e.slug),o=new Set(a),s=t.map(e=>e.slug),c=e.map(e=>e.registryName),l=t.map(e=>e.registryName),u=n.map(e=>e.registryName);function d(e){return r.get(e)??2**53-1}function f(e){return o.has(e)}function p(e){return i.get(e)}function m(e,t){return d(e)-d(t)}exports.comparePublicComponentSurfaceOrder=m,exports.documentedPublicComponentSurfaces=e,exports.documentedPublicRegistrySurfaceNames=c,exports.getPublicComponentRegistryName=p,exports.getPublicComponentSurfaceOrder=d,exports.isPublicComponentSurfaceSlug=f,exports.publicComponentSurfaceEntries=n,exports.publicComponentSurfaceSlugSet=o,exports.publicComponentSurfaceSlugs=a,exports.publicRegistrySurfaceNames=u,exports.standalonePublicComponentSlugs=s,exports.standalonePublicComponentSurfaces=t,exports.standalonePublicRegistrySurfaceNames=l;
|
|
@@ -111,11 +111,6 @@ var e = [
|
|
|
111
111
|
registryName: "inline-editable",
|
|
112
112
|
surface: "standalone"
|
|
113
113
|
},
|
|
114
|
-
{
|
|
115
|
-
slug: "empty-search-state",
|
|
116
|
-
registryName: "empty-search-state",
|
|
117
|
-
surface: "standalone"
|
|
118
|
-
},
|
|
119
114
|
{
|
|
120
115
|
slug: "avatar",
|
|
121
116
|
registryName: "avatar",
|
|
@@ -131,11 +126,6 @@ var e = [
|
|
|
131
126
|
registryName: "data-state",
|
|
132
127
|
surface: "standalone"
|
|
133
128
|
},
|
|
134
|
-
{
|
|
135
|
-
slug: "descriptions",
|
|
136
|
-
registryName: "descriptions",
|
|
137
|
-
surface: "standalone"
|
|
138
|
-
},
|
|
139
129
|
{
|
|
140
130
|
slug: "kanban",
|
|
141
131
|
registryName: "kanban",
|
|
@@ -166,11 +156,6 @@ var e = [
|
|
|
166
156
|
registryName: "copy-button",
|
|
167
157
|
surface: "standalone"
|
|
168
158
|
},
|
|
169
|
-
{
|
|
170
|
-
slug: "copy-field",
|
|
171
|
-
registryName: "copy-field",
|
|
172
|
-
surface: "standalone"
|
|
173
|
-
},
|
|
174
159
|
{
|
|
175
160
|
slug: "section",
|
|
176
161
|
registryName: "section",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={button:{slug:`button`,source:`metadata`,summary:`Action component for submit, secondary, destructive, warning, loading, icon and navigation-like flows. Verify every state in light and dark mode before shipping.`,props:[{name:`variant`,type:`'default' | 'secondary' | 'outline' | 'ghost' | 'destructive' | 'warning' | 'link'`,defaultValue:`'default'`,description:`Controls visual hierarchy and action tone.`,example:`variant="destructive"`},{name:`size`,type:`'xs' | 'sm' | 'default' | 'md' | 'lg' | 'xl' | 'icon' | 'icon-xs' | 'icon-sm' | 'icon-lg'`,defaultValue:`'default'`,description:`Controls height, spacing and icon-only sizing.`,example:`size="icon-sm"`},{name:`loading`,type:`boolean`,defaultValue:`false`,description:`Shows the spinner, disables interaction and communicates pending state.`,example:`loading={isSaving}`},{name:`loadingLabel`,type:`string`,defaultValue:`'Loading'`,description:`Accessible label displayed while the button is loading.`,example:`loadingLabel="Saving"`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the action and removes it from normal interaction.`,example:`disabled={!canSubmit}`},{name:`leftIcon`,type:`ReactNode`,defaultValue:`-`,description:`Icon rendered before the label. Use for primary verbs and scan-friendly actions.`},{name:`rightIcon`,type:`ReactNode`,defaultValue:`-`,description:`Icon rendered after the label. Use for forward navigation or external transitions.`},{name:`asChild`,type:`boolean`,defaultValue:`false`,description:`Renders the visual button style on a child element for link or router composition.`,example:`asChild`},{name:`className`,type:`string`,defaultValue:`-`,description:`Optional class override for spacing or layout composition.`},{name:`children`,type:`ReactNode`,defaultValue:`-`,required:!0,description:`Button label or icon content. Icon-only buttons must still provide an accessible name.`},{name:`aria-label`,type:`string`,defaultValue:`-`,description:`Required for icon-only buttons so the action is announced correctly.`,notes:`Use when children are only icons.`}],examples:[{title:`Primary action`,code:`<Button>Save changes</Button>`},{title:`Loading action`,code:`<Button loading loadingLabel="Saving">Save changes</Button>`},{title:`Destructive action`,code:`<Button variant="destructive">Delete</Button>`},{title:`Icon-only action`,code:`<Button size="icon-sm" aria-label="Open actions">...</Button>`}],accessibility:[`Keep visible focus states.`,`Use aria-label for icon-only buttons.`,`Loading buttons should keep a readable label.`,`Do not use disabled buttons for navigation links.`]},input:{slug:`input`,source:`metadata`,summary:`Primary typed-value surface. Start with Input and move into presets only when behavior requires it.`,props:[{name:`value`,type:`string | number`,defaultValue:`-`,description:`Controlled input value.`,example:`value={name}`},{name:`defaultValue`,type:`string | number`,defaultValue:`-`,description:`Uncontrolled initial value.`},{name:`onChange`,type:`ChangeEventHandler<HTMLInputElement>`,defaultValue:`-`,description:`Native change handler for value updates.`,example:`onChange={(event) => setValue(event.target.value)}`},{name:`onValueChange`,type:`(value: string) => void`,defaultValue:`-`,description:`Direct text callback for controlled string flows.`,example:`onValueChange={setQuery}`},{name:`type`,type:`HTMLInputTypeAttribute`,defaultValue:`'text'`,description:`Native input type. Prefer presets only when formatting or masking is required.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Short hint for empty input state.`},{name:`clearable`,type:`boolean`,defaultValue:`false`,description:`Shows the built-in clear action when a value exists.`,example:`clearable`},{name:`onClear`,type:`() => void`,defaultValue:`-`,description:`Called after the built-in clear action resets the field.`},{name:`trailingAction`,type:`ReactNode`,defaultValue:`-`,description:`Interactive trailing slot for counters, shortcuts, or toggle actions.`,example:`trailingAction={<span>12 results</span>}`},{name:`replaceTrailingWhenClear`,type:`boolean`,defaultValue:`true`,description:`Controls whether clear replaces trailing content or sits beside it.`},{name:`clearOnEscape`,type:`boolean`,defaultValue:`false`,description:`Clears the value on Escape when clearable mode is active.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables editing and interaction.`},{name:`required`,type:`boolean`,defaultValue:`false`,description:`Marks the input as required for native validation.`},{name:`name`,type:`string`,defaultValue:`-`,description:`Form field name used during submission.`},{name:`id`,type:`string`,defaultValue:`-`,description:`Connects input to label and help text.`},{name:`aria-invalid`,type:`boolean`,defaultValue:`false`,description:`Communicates validation state to assistive technology.`}],examples:[{title:`Controlled text`,code:`<Input value={value} onValueChange={setValue} />`},{title:`Clearable primary field`,code:`<Input value={query} onValueChange={setQuery} clearable trailingAction={<span>12 results</span>} />`},{title:`Search preset direction`,code:`// Prefer Input first; use SearchInput only when shortcut/result behavior is required.`}],accessibility:[`Always pair form inputs with labels.`,`Use aria-describedby for helper/error text.`,`Keep disabled and read-only states visually distinct.`]},select:{slug:`select`,source:`metadata`,summary:`Primary selection surface. Start with Select and move into members only when async loading, multi-selection, or command-style filtering is required.`,props:[{name:`value`,type:`string | string[]`,defaultValue:`-`,description:`Controlled selected value. Multi-select uses an array.`},{name:`defaultValue`,type:`string | string[]`,defaultValue:`-`,description:`Uncontrolled initial selected value.`},{name:`onValueChange`,type:`(value: string | string[]) => void`,defaultValue:`-`,description:`Called when the selected value changes.`,example:`onValueChange={setStatus}`},{name:`options`,type:`Array<{ label: string; value: string; disabled?: boolean }>`,defaultValue:`[]`,required:!0,description:`Selectable option list.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Text shown when no value is selected.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the control and option selection.`},{name:`searchable`,type:`boolean`,defaultValue:`false`,description:`Enables local filtering on the main Select surface.`},{name:`multiple`,type:`boolean`,defaultValue:`false`,description:`Allows multiple values when the active member supports it.`}],examples:[{title:`Primary select`,code:`<Select value={status} onValueChange={setStatus} options={statusOptions} />`},{title:`Searchable primary select`,code:`<Select value={owner} onValueChange={setOwner} searchable options={ownerOptions} />`},{title:`Async member direction`,code:`// Prefer Select first; use AsyncSelect only when remote loading is required.`}],accessibility:[`Use clear option labels.`,`Keep disabled options visible but not selectable.`,`Do not replace long forms with hidden select menus.`]},"data-table":{slug:`data-table`,source:`metadata`,summary:"Operational grid for dense product data. Keep `columns`, `data`, `getRowId`, toolbar wiring, and pagination explicit so search, selection, row actions, loading, and server-mode behavior stay predictable.",props:[{name:`columns`,type:`ColumnDef<RowData>[]`,defaultValue:`-`,required:!0,description:`Column definitions for visible table structure.`,example:`columns={invoiceColumns}`},{name:`data`,type:`RowData[]`,defaultValue:`[]`,required:!0,description:`Rows for the current client or server page.`,example:`data={rows}`},{name:`getRowId`,type:`(row: RowData, index: number) => string`,defaultValue:`-`,description:`Stable row id for selection, row actions, and refresh updates.`,example:`getRowId={(row) => row.id}`},{name:`title`,type:`ReactNode`,defaultValue:`-`,description:`Toolbar title when you want the table to explain itself without extra wrapper markup.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Short supporting line for operators using the table.`},{name:`search`,type:`DataTableSearchConfig`,defaultValue:`-`,description:`Controlled search input config for the built-in toolbar.`,example:`search={{ value, onValueChange: setValue, placeholder: "Search invoices..." }}`},{name:`toolbarProps`,type:`DataTableToolbarProps | (table) => DataTableToolbarProps`,defaultValue:`-`,description:`Inject search, filters, actions, and selection affordances into the default toolbar.`,notes:`Use this when you want one canonical toolbar instead of composing a separate header card.`},{name:`toolbar`,type:`ReactNode | (table) => ReactNode`,defaultValue:`-`,description:`Replace the default toolbar entirely when the route needs a custom control layout.`},{name:`features`,type:`DataTableFeatureConfig`,defaultValue:`-`,description:`Turn default search, column visibility, row actions, bulk actions, refresh, or export behavior on and off.`},{name:`toolbarActions`,type:`ReactNode | (context) => ReactNode`,defaultValue:`-`,description:`Extra action cluster rendered beside visibility / refresh / export controls.`},{name:`bulkActions`,type:`DataTableBulkAction<RowData>[]`,defaultValue:`-`,description:`Bulk actions shown when selected rows exist.`},{name:`rowActions`,type:`(row, original) => DataTableRowAction<RowData>[]`,defaultValue:`-`,description:`Declarative row menu items appended as an actions column.`},{name:`sorting`,type:`SortingState`,defaultValue:`[]`,description:`Controlled sorting state.`,example:`sorting={sorting}`},{name:`onSortingChange`,type:`OnChangeFn<SortingState>`,defaultValue:`-`,description:`Called when sorting changes.`,example:`onSortingChange={setSorting}`},{name:`columnVisibility`,type:`VisibilityState`,defaultValue:`{}`,description:`Controlled column visibility map.`},{name:`onColumnVisibilityChange`,type:`OnChangeFn<VisibilityState>`,defaultValue:`-`,description:`Called when visible columns change.`},{name:`rowSelection`,type:`RowSelectionState`,defaultValue:`{}`,description:`Controlled row selection state.`},{name:`onRowSelectionChange`,type:`OnChangeFn<RowSelectionState>`,defaultValue:`-`,description:`Called when row selection changes.`},{name:`enableRowSelection`,type:`boolean | ((row) => boolean)`,defaultValue:`false`,description:`Enables checkbox or row selection behavior per row or for the whole grid.`},{name:`pagination`,type:`DataTablePaginationConfig | false`,defaultValue:`-`,description:`Page index, page size, totals, labels, and pagination handlers.`,notes:"Pass `manual: true` when server data already arrives sliced by page."},{name:`renderMobileCard`,type:`(row) => ReactNode`,defaultValue:`-`,description:`Optional mobile card renderer when the table must collapse into stacked records.`},{name:`onRowClick`,type:`(row) => void`,defaultValue:`-`,description:`Optional single-click row activation handler.`},{name:`onRowDoubleClick`,type:`(row) => void`,defaultValue:`-`,description:`Optional double-click activation handler for denser operator workflows.`},{name:`getRowDisabled`,type:`(row) => boolean`,defaultValue:`-`,description:`Disable specific rows without removing them from the result set.`},{name:`density`,type:`'compact' | 'default' | 'comfortable'`,defaultValue:`'default'`,description:`Controls header and cell spacing.`,example:`density="comfortable"`},{name:`striped`,type:`boolean`,defaultValue:`false`,description:`Adds zebra striping for long operational lists.`},{name:`bordered`,type:`boolean`,defaultValue:`false`,description:`Adds stronger cell and table borders.`},{name:`stickyHeader`,type:`boolean`,defaultValue:`false`,description:`Keeps headers pinned while the table scrolls.`},{name:`isLoading`,type:`boolean`,defaultValue:`false`,description:`Shows loading state.`},{name:`loadingVariant`,type:`'skeleton' | 'state'`,defaultValue:`'skeleton'`,description:`Choose between skeleton rows or a dedicated loading state block.`},{name:`loadingState`,type:`LoadingStateProps`,defaultValue:`-`,description:'Customizes the loading state when `loadingVariant="state"`.'},{name:`isError`,type:`boolean`,defaultValue:`false`,description:`Switches the grid into an error fallback state.`},{name:`emptyState`,type:`EmptyStateProps`,defaultValue:`-`,description:`Fallback when there are no rows.`},{name:`errorState`,type:`EmptyStateProps`,defaultValue:`-`,description:`Fallback when the data request fails.`},{name:`skeletonRows`,type:`number`,defaultValue:`6`,description:`How many skeleton rows to render during loading.`},{name:`cellFallback`,type:`ReactNode`,defaultValue:`"-"`,description:`Value rendered when a cell returns empty content.`}],accessibility:[`Keep column headers readable and sortable targets large enough for pointer and keyboard use.`,`Provide clear labels for row action menus, visibility controls, and bulk actions.`,`When mobile cards replace the table, preserve the same row meaning and action availability.`]},dialog:{slug:`dialog`,source:`metadata`,summary:`Focused overlay for short decisions, confirmations and contained edit flows.`,props:[{name:`open`,type:`boolean`,defaultValue:`-`,description:`Controlled open state.`},{name:`defaultOpen`,type:`boolean`,defaultValue:`false`,description:`Initial uncontrolled open state.`},{name:`onOpenChange`,type:`(open: boolean) => void`,defaultValue:`-`,description:`Called when the dialog opens or closes.`},{name:`title`,type:`ReactNode`,defaultValue:`-`,required:!0,description:`Accessible dialog title.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Supporting description for context.`},{name:`children`,type:`ReactNode`,defaultValue:`-`,description:`Dialog body content.`},{name:`footer`,type:`ReactNode`,defaultValue:`-`,description:`Action row for confirm/cancel buttons.`}],accessibility:[`Every dialog needs a title.`,`Return focus to the trigger after close.`,`Do not put long multi-step workflows in a small dialog.`]},"date-picker":{slug:`date-picker`,source:`metadata`,summary:`Date and range selection surface for reporting, scheduling and form flows.`,props:[{name:`value`,type:`Date | string | null`,defaultValue:`null`,description:`Controlled selected date.`},{name:`onValueChange`,type:`(value: Date | string | null) => void`,defaultValue:`-`,description:`Called when the selected date changes.`},{name:`mode`,type:`'single' | 'range'`,defaultValue:`'single'`,description:`Selection mode.`},{name:`minDate`,type:`Date | string`,defaultValue:`-`,description:`Earliest selectable date.`},{name:`maxDate`,type:`Date | string`,defaultValue:`-`,description:`Latest selectable date.`},{name:`disabledDates`,type:`Date[] | ((date: Date) => boolean)`,defaultValue:`-`,description:`Dates that cannot be selected.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Text shown before selection.`}],accessibility:[`Clarify date format near text inputs.`,`Disable unavailable dates rather than hiding them.`,`Define timezone assumptions before submitting values.`]},"form-input":{slug:`form-input`,source:`metadata`,summary:`React Hook Form wrapper for Input with label, helper text, validation and error display.`,props:[{name:`control`,type:`Control<TFieldValues>`,defaultValue:`-`,required:!0,description:`RHF control instance from useForm().`},{name:`name`,type:`FieldPath<TFieldValues>`,defaultValue:`-`,required:!0,description:`Field path used for registration and value lookup.`},{name:`label`,type:`ReactNode`,defaultValue:`-`,description:`Visible field label.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Helper text shown under the field.`},{name:`rules`,type:`UseControllerProps['rules']`,defaultValue:`-`,description:`Validation rules passed to RHF controller.`},{name:`required`,type:`boolean | '*'`,defaultValue:`false`,description:`Marks the field as required in the UI.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the field and prevents editing.`},{name:`error`,type:`string | FieldError | null`,defaultValue:`-`,description:`Optional error override.`}],accessibility:[`Label must remain visible.`,`Error text should be connected to the field.`,`Required state should be visual and semantic.`]}};function t(t){return e[t]}exports.componentApiSchemas=e,exports.getComponentApiSchema=t;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={button:{slug:`button`,source:`metadata`,summary:`Action component for submit, secondary, destructive, warning, loading, icon and navigation-like flows. Verify every state in light and dark mode before shipping.`,props:[{name:`variant`,type:`'default' | 'secondary' | 'outline' | 'ghost' | 'destructive' | 'warning' | 'link'`,defaultValue:`'default'`,description:`Controls visual hierarchy and action tone.`,example:`variant="destructive"`},{name:`size`,type:`'xs' | 'sm' | 'default' | 'md' | 'lg' | 'xl' | 'icon' | 'icon-xs' | 'icon-sm' | 'icon-lg'`,defaultValue:`'default'`,description:`Controls height, spacing and icon-only sizing.`,example:`size="icon-sm"`},{name:`loading`,type:`boolean`,defaultValue:`false`,description:`Shows the spinner, disables interaction and communicates pending state.`,example:`loading={isSaving}`},{name:`loadingLabel`,type:`string`,defaultValue:`'Loading'`,description:`Accessible label displayed while the button is loading.`,example:`loadingLabel="Saving"`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the action and removes it from normal interaction.`,example:`disabled={!canSubmit}`},{name:`leftIcon`,type:`ReactNode`,defaultValue:`-`,description:`Icon rendered before the label. Use for primary verbs and scan-friendly actions.`},{name:`rightIcon`,type:`ReactNode`,defaultValue:`-`,description:`Icon rendered after the label. Use for forward navigation or external transitions.`},{name:`asChild`,type:`boolean`,defaultValue:`false`,description:`Renders the visual button style on a child element for link or router composition.`,example:`asChild`},{name:`className`,type:`string`,defaultValue:`-`,description:`Optional class override for spacing or layout composition.`},{name:`children`,type:`ReactNode`,defaultValue:`-`,required:!0,description:`Button label or icon content. Icon-only buttons must still provide an accessible name.`},{name:`aria-label`,type:`string`,defaultValue:`-`,description:`Required for icon-only buttons so the action is announced correctly.`,notes:`Use when children are only icons.`}],examples:[{title:`Primary action`,code:`<Button>Save changes</Button>`},{title:`Loading action`,code:`<Button loading loadingLabel="Saving">Save changes</Button>`},{title:`Destructive action`,code:`<Button variant="destructive">Delete</Button>`},{title:`Icon-only action`,code:`<Button size="icon-sm" aria-label="Open actions">...</Button>`}],accessibility:[`Keep visible focus states.`,`Use aria-label for icon-only buttons.`,`Loading buttons should keep a readable label.`,`Do not use disabled buttons for navigation links.`]},input:{slug:`input`,source:`metadata`,summary:`Primary typed-value surface. Start with Input and move into presets only when behavior requires it.`,props:[{name:`value`,type:`string | number`,defaultValue:`-`,description:`Controlled input value.`,example:`value={name}`},{name:`defaultValue`,type:`string | number`,defaultValue:`-`,description:`Uncontrolled initial value.`},{name:`onChange`,type:`ChangeEventHandler<HTMLInputElement>`,defaultValue:`-`,description:`Native change handler for value updates.`,example:`onChange={(event) => setValue(event.target.value)}`},{name:`onValueChange`,type:`(value: string) => void`,defaultValue:`-`,description:`Direct text callback for controlled string flows.`,example:`onValueChange={setQuery}`},{name:`type`,type:`HTMLInputTypeAttribute`,defaultValue:`'text'`,description:`Native input type. Prefer presets only when formatting or masking is required.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Short hint for empty input state.`},{name:`clearable`,type:`boolean`,defaultValue:`false`,description:`Shows the built-in clear action when a value exists.`,example:`clearable`},{name:`onClear`,type:`() => void`,defaultValue:`-`,description:`Called after the built-in clear action resets the field.`},{name:`trailingAction`,type:`ReactNode`,defaultValue:`-`,description:`Interactive trailing slot for counters, shortcuts, or toggle actions.`,example:`trailingAction={<span>12 results</span>}`},{name:`replaceTrailingWhenClear`,type:`boolean`,defaultValue:`true`,description:`Controls whether clear replaces trailing content or sits beside it.`},{name:`clearOnEscape`,type:`boolean`,defaultValue:`false`,description:`Clears the value on Escape when clearable mode is active.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables editing and interaction.`},{name:`required`,type:`boolean`,defaultValue:`false`,description:`Marks the input as required for native validation.`},{name:`name`,type:`string`,defaultValue:`-`,description:`Form field name used during submission.`},{name:`id`,type:`string`,defaultValue:`-`,description:`Connects input to label and help text.`},{name:`aria-invalid`,type:`boolean`,defaultValue:`false`,description:`Communicates validation state to assistive technology.`}],examples:[{title:`Controlled text`,code:`<Input value={value} onValueChange={setValue} />`},{title:`Clearable primary field`,code:`<Input value={query} onValueChange={setQuery} clearable trailingAction={<span>12 results</span>} />`},{title:`Search preset direction`,code:`// Prefer Input first; use SearchInput only when shortcut/result behavior is required.`}],accessibility:[`Always pair form inputs with labels.`,`Use aria-describedby for helper/error text.`,`Keep disabled and read-only states visually distinct.`]},select:{slug:`select`,source:`metadata`,summary:`Primary selection surface. Start with Select and move into members only when async loading, multi-selection, or command-style filtering is required.`,props:[{name:`value`,type:`string | string[]`,defaultValue:`-`,description:`Controlled selected value. Multi-select uses an array.`},{name:`defaultValue`,type:`string | string[]`,defaultValue:`-`,description:`Uncontrolled initial selected value.`},{name:`onValueChange`,type:`(value: string | string[]) => void`,defaultValue:`-`,description:`Called when the selected value changes.`,example:`onValueChange={setStatus}`},{name:`options`,type:`Array<{ label: string; value: string; disabled?: boolean }>`,defaultValue:`[]`,required:!0,description:`Selectable option list.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Text shown when no value is selected.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the control and option selection.`},{name:`searchable`,type:`boolean`,defaultValue:`false`,description:`Enables local filtering on the main Select surface.`},{name:`multiple`,type:`boolean`,defaultValue:`false`,description:`Allows multiple values when the active member supports it.`}],examples:[{title:`Primary select`,code:`<Select value={status} onValueChange={setStatus} options={statusOptions} />`},{title:`Searchable primary select`,code:`<Select value={owner} onValueChange={setOwner} searchable options={ownerOptions} />`},{title:`Async member direction`,code:`// Prefer Select first; use AsyncSelect only when remote loading is required.`}],accessibility:[`Use clear option labels.`,`Keep disabled options visible but not selectable.`,`Do not replace long forms with hidden select menus.`]},"data-table":{slug:`data-table`,source:`metadata`,summary:"Operational grid for dense product data. Keep `columns`, `data`, `getRowId`, toolbar wiring, and pagination explicit so search, selection, row actions, loading, and server-mode behavior stay predictable.",props:[{name:`columns`,type:`ColumnDef<RowData>[]`,defaultValue:`-`,required:!0,description:`Column definitions for visible table structure.`,example:`columns={invoiceColumns}`},{name:`data`,type:`RowData[]`,defaultValue:`[]`,required:!0,description:`Rows for the current client or server page.`,example:`data={rows}`},{name:`getRowId`,type:`(row: RowData, index: number) => string`,defaultValue:`-`,description:`Stable row id for selection, row actions, and refresh updates.`,example:`getRowId={(row) => row.id}`},{name:`title`,type:`ReactNode`,defaultValue:`-`,description:`Toolbar title when you want the table to explain itself without extra wrapper markup.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Short supporting line for operators using the table.`},{name:`search`,type:`DataTableSearchConfig`,defaultValue:`-`,description:`Controlled search input config for the built-in toolbar.`,example:`search={{ value, onValueChange: setValue, placeholder: "Search invoices..." }}`},{name:`toolbarProps`,type:`DataTableToolbarProps | (table) => DataTableToolbarProps`,defaultValue:`-`,description:`Inject search, filters, actions, and selection affordances into the default toolbar.`,notes:`Use this when you want one canonical toolbar instead of composing a separate header card.`},{name:`toolbar`,type:`ReactNode | (table) => ReactNode`,defaultValue:`-`,description:`Replace the default toolbar entirely when the route needs a custom control layout.`},{name:`features`,type:`DataTableFeatureConfig`,defaultValue:`-`,description:`Turn default search, column visibility, row actions, bulk actions, refresh, or export behavior on and off.`},{name:`toolbarActions`,type:`ReactNode | (context) => ReactNode`,defaultValue:`-`,description:`Extra action cluster rendered beside visibility / refresh / export controls.`},{name:`bulkActions`,type:`DataTableBulkAction<RowData>[]`,defaultValue:`-`,description:`Bulk actions shown when selected rows exist.`},{name:`rowActions`,type:`(row, original) => DataTableRowAction<RowData>[]`,defaultValue:`-`,description:`Declarative row menu items appended as an actions column.`},{name:`sorting`,type:`SortingState`,defaultValue:`[]`,description:`Controlled sorting state.`,example:`sorting={sorting}`},{name:`onSortingChange`,type:`OnChangeFn<SortingState>`,defaultValue:`-`,description:`Called when sorting changes.`,example:`onSortingChange={setSorting}`},{name:`columnVisibility`,type:`VisibilityState`,defaultValue:`{}`,description:`Controlled column visibility map.`},{name:`onColumnVisibilityChange`,type:`OnChangeFn<VisibilityState>`,defaultValue:`-`,description:`Called when visible columns change.`},{name:`rowSelection`,type:`RowSelectionState`,defaultValue:`{}`,description:`Controlled row selection state.`},{name:`onRowSelectionChange`,type:`OnChangeFn<RowSelectionState>`,defaultValue:`-`,description:`Called when row selection changes.`},{name:`enableRowSelection`,type:`boolean | ((row) => boolean)`,defaultValue:`false`,description:`Enables checkbox or row selection behavior per row or for the whole grid.`},{name:`pagination`,type:`DataTablePaginationConfig | false`,defaultValue:`-`,description:`Page index, page size, totals, labels, and pagination handlers.`,notes:"Pass `manual: true` when server data already arrives sliced by page."},{name:`renderMobileCard`,type:`(row) => ReactNode`,defaultValue:`-`,description:`Optional mobile card renderer when the table must collapse into stacked records.`},{name:`onRowClick`,type:`(row) => void`,defaultValue:`-`,description:`Optional single-click row activation handler.`},{name:`onRowDoubleClick`,type:`(row) => void`,defaultValue:`-`,description:`Optional double-click activation handler for denser operator workflows.`},{name:`getRowDisabled`,type:`(row) => boolean`,defaultValue:`-`,description:`Disable specific rows without removing them from the result set.`},{name:`density`,type:`'compact' | 'default' | 'comfortable'`,defaultValue:`'default'`,description:`Controls header and cell spacing.`,example:`density="comfortable"`},{name:`striped`,type:`boolean`,defaultValue:`false`,description:`Adds zebra striping for long operational lists.`},{name:`bordered`,type:`boolean`,defaultValue:`false`,description:`Adds stronger cell and table borders.`},{name:`stickyHeader`,type:`boolean`,defaultValue:`false`,description:`Keeps headers pinned while the table scrolls.`},{name:`isLoading`,type:`boolean`,defaultValue:`false`,description:`Shows loading state.`},{name:`loadingVariant`,type:`'skeleton' | 'state'`,defaultValue:`'skeleton'`,description:`Choose between skeleton rows or a dedicated loading state block.`},{name:`loadingState`,type:`LoadingStateProps`,defaultValue:`-`,description:'Customizes the loading state when `loadingVariant="state"`.'},{name:`isError`,type:`boolean`,defaultValue:`false`,description:`Switches the grid into an error fallback state.`},{name:`emptyState`,type:`Omit<DataStateProps, "status">`,defaultValue:`-`,description:`Fallback when there are no rows.`},{name:`errorState`,type:`Omit<DataStateProps, "status">`,defaultValue:`-`,description:`Fallback when the data request fails.`},{name:`skeletonRows`,type:`number`,defaultValue:`6`,description:`How many skeleton rows to render during loading.`},{name:`cellFallback`,type:`ReactNode`,defaultValue:`"-"`,description:`Value rendered when a cell returns empty content.`}],accessibility:[`Keep column headers readable and sortable targets large enough for pointer and keyboard use.`,`Provide clear labels for row action menus, visibility controls, and bulk actions.`,`When mobile cards replace the table, preserve the same row meaning and action availability.`]},dialog:{slug:`dialog`,source:`metadata`,summary:`Focused overlay for short decisions, confirmations and contained edit flows.`,props:[{name:`open`,type:`boolean`,defaultValue:`-`,description:`Controlled open state.`},{name:`defaultOpen`,type:`boolean`,defaultValue:`false`,description:`Initial uncontrolled open state.`},{name:`onOpenChange`,type:`(open: boolean) => void`,defaultValue:`-`,description:`Called when the dialog opens or closes.`},{name:`title`,type:`ReactNode`,defaultValue:`-`,required:!0,description:`Accessible dialog title.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Supporting description for context.`},{name:`children`,type:`ReactNode`,defaultValue:`-`,description:`Dialog body content.`},{name:`footer`,type:`ReactNode`,defaultValue:`-`,description:`Action row for confirm/cancel buttons.`}],accessibility:[`Every dialog needs a title.`,`Return focus to the trigger after close.`,`Do not put long multi-step workflows in a small dialog.`]},"date-picker":{slug:`date-picker`,source:`metadata`,summary:`Date and range selection surface for reporting, scheduling and form flows.`,props:[{name:`value`,type:`Date | string | null`,defaultValue:`null`,description:`Controlled selected date.`},{name:`onValueChange`,type:`(value: Date | string | null) => void`,defaultValue:`-`,description:`Called when the selected date changes.`},{name:`mode`,type:`'single' | 'range'`,defaultValue:`'single'`,description:`Selection mode.`},{name:`minDate`,type:`Date | string`,defaultValue:`-`,description:`Earliest selectable date.`},{name:`maxDate`,type:`Date | string`,defaultValue:`-`,description:`Latest selectable date.`},{name:`disabledDates`,type:`Date[] | ((date: Date) => boolean)`,defaultValue:`-`,description:`Dates that cannot be selected.`},{name:`placeholder`,type:`string`,defaultValue:`-`,description:`Text shown before selection.`}],accessibility:[`Clarify date format near text inputs.`,`Disable unavailable dates rather than hiding them.`,`Define timezone assumptions before submitting values.`]},"form-input":{slug:`form-input`,source:`metadata`,summary:`React Hook Form wrapper for Input with label, helper text, validation and error display.`,props:[{name:`control`,type:`Control<TFieldValues>`,defaultValue:`-`,required:!0,description:`RHF control instance from useForm().`},{name:`name`,type:`FieldPath<TFieldValues>`,defaultValue:`-`,required:!0,description:`Field path used for registration and value lookup.`},{name:`label`,type:`ReactNode`,defaultValue:`-`,description:`Visible field label.`},{name:`description`,type:`ReactNode`,defaultValue:`-`,description:`Helper text shown under the field.`},{name:`rules`,type:`UseControllerProps['rules']`,defaultValue:`-`,description:`Validation rules passed to RHF controller.`},{name:`required`,type:`boolean | '*'`,defaultValue:`false`,description:`Marks the field as required in the UI.`},{name:`disabled`,type:`boolean`,defaultValue:`false`,description:`Disables the field and prevents editing.`},{name:`error`,type:`string | FieldError | null`,defaultValue:`-`,description:`Optional error override.`}],accessibility:[`Label must remain visible.`,`Error text should be connected to the field.`,`Required state should be visual and semantic.`]}};function t(t){return e[t]}exports.componentApiSchemas=e,exports.getComponentApiSchema=t;
|
|
@@ -518,13 +518,13 @@ var e = {
|
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
name: "emptyState",
|
|
521
|
-
type: "
|
|
521
|
+
type: "Omit<DataStateProps, \"status\">",
|
|
522
522
|
defaultValue: "-",
|
|
523
523
|
description: "Fallback when there are no rows."
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
name: "errorState",
|
|
527
|
-
type: "
|
|
527
|
+
type: "Omit<DataStateProps, \"status\">",
|
|
528
528
|
defaultValue: "-",
|
|
529
529
|
description: "Fallback when the data request fails."
|
|
530
530
|
},
|