tembro 2.0.4 → 2.0.6
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-pagination.cjs +1 -1
- package/dist/components/data-table/data-table-pagination.js +4 -4
- 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 +8 -6
- package/dist/components/data-table/data-table.js +89 -80
- 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 +16 -1
- package/dist/components/display/carousel.js +71 -26
- 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/display/smart-card.d.ts +1 -1
- package/dist/components/display/status-legend.d.ts +1 -1
- 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.d.ts +3 -4
- package/dist/components/form/form-input.js +285 -224
- package/dist/components/form/form-select.cjs +1 -1
- package/dist/components/form/form-select.d.ts +2 -2
- package/dist/components/form/form-select.js +49 -35
- 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 +14 -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/search-input.d.ts +3 -0
- package/dist/components/inputs/simple-select.cjs +1 -1
- package/dist/components/inputs/simple-select.d.ts +10 -31
- package/dist/components/inputs/simple-select.js +5 -85
- 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/card/index.cjs +1 -1
- package/dist/components/ui/card/index.d.ts +13 -2
- package/dist/components/ui/card/index.js +74 -49
- 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/components/ui/input/index.cjs +1 -1
- package/dist/components/ui/input/index.d.ts +8 -0
- package/dist/components/ui/input/index.js +63 -30
- package/dist/components/ui/select/index.cjs +1 -1
- package/dist/components/ui/select/index.d.ts +33 -1
- package/dist/components/ui/select/index.js +154 -48
- 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 +23 -36
- 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 +16 -14
- 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/select/mock.cjs +8 -9
- package/dist/showcase/premium/select/mock.js +1 -1
- package/dist/showcase/premium/select/showcase.cjs +1 -1
- package/dist/showcase/premium/select/showcase.js +76 -86
- 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 +153 -383
- package/dist/showcase/render-registry-preview.cjs +1 -1
- package/dist/showcase/render-registry-preview.js +169 -197
- 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-pagination.tsx +7 -7
- 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 +86 -73
- 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 +104 -6
- 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/display/smart-card.tsx +1 -1
- package/packages/cli/vendor/src/components/display/status-legend.tsx +1 -1
- 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 +127 -23
- package/packages/cli/vendor/src/components/form/form-select.tsx +30 -7
- 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 +138 -91
- package/packages/cli/vendor/src/components/inputs/combobox.tsx +66 -9
- package/packages/cli/vendor/src/components/inputs/search-input.tsx +5 -2
- package/packages/cli/vendor/src/components/inputs/simple-select.tsx +20 -162
- 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/card/index.tsx +95 -25
- 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/components/ui/input/index.tsx +98 -0
- package/packages/cli/vendor/src/components/ui/select/index.tsx +227 -34
- 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 +44 -58
- 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 +14 -14
- 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/select/mock.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/select/showcase.tsx +13 -21
- 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 +10 -186
- package/packages/cli/vendor/src/showcase/render-registry-preview.tsx +23 -57
- 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
|
@@ -1,129 +1,99 @@
|
|
|
1
1
|
import { Button as e } from "../components/ui/button/index.js";
|
|
2
2
|
import { ActionMenu as t } from "../components/actions/action-menu.js";
|
|
3
3
|
import { ButtonGroup as n } from "../components/actions/button-group.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { ImageUpload as P } from "../components/upload/image-upload.js";
|
|
45
|
-
import { FileDropzone as F } from "../components/upload/file-dropzone.js";
|
|
46
|
-
import { Stepper as I } from "../components/wizard/stepper.js";
|
|
47
|
-
import { Wizard as L } from "../components/wizard/wizard.js";
|
|
48
|
-
import { AppHeader as R } from "../components/layout/app-header.js";
|
|
49
|
-
import { StatCard as z } from "../components/layout/stat-card.js";
|
|
50
|
-
import { ResourceDetailPage as B } from "../components/patterns/resource-detail-page.js";
|
|
51
|
-
import { ResourcePage as V, ResourcePageSection as H } from "../components/patterns/resource-page.js";
|
|
4
|
+
import { PasswordInput as r } from "../components/inputs/password-input.js";
|
|
5
|
+
import { Input as i } from "../components/ui/input/index.js";
|
|
6
|
+
import { Badge as a } from "../components/ui/badge/index.js";
|
|
7
|
+
import { Select as o } from "../components/ui/select/index.js";
|
|
8
|
+
import { QuickActionGrid as s } from "../components/actions/quick-action-grid.js";
|
|
9
|
+
import { SectionHeader as c } from "../components/layout/section-header.js";
|
|
10
|
+
import { NavTabs as l } from "../components/navigation/nav-tabs.js";
|
|
11
|
+
import { PageTabs as ee } from "../components/navigation/page-tabs.js";
|
|
12
|
+
import { Pagination as u } from "../components/navigation/pagination.js";
|
|
13
|
+
import { StepperTabs as d } from "../components/navigation/stepper-tabs.js";
|
|
14
|
+
import { FilterBar as f } from "../components/filters/filter-bar.js";
|
|
15
|
+
import { SavedFilterSelect as p } from "../components/filters/saved-filter-select.js";
|
|
16
|
+
import { AlertDialog as m } from "../components/overlay/alert-dialog.js";
|
|
17
|
+
import { Drawer as h } from "../components/overlay/drawer.js";
|
|
18
|
+
import { AsyncSelect as g } from "../components/inputs/async-select.js";
|
|
19
|
+
import { OtpInput as te } from "../components/inputs/otp-input.js";
|
|
20
|
+
import { Rating as _ } from "../components/inputs/rating.js";
|
|
21
|
+
import { RangeSlider as v, Slider as y } from "../components/inputs/slider.js";
|
|
22
|
+
import { TagInput as ne } from "../components/inputs/tag-input.js";
|
|
23
|
+
import { Alert as re } from "../components/feedback/alert.js";
|
|
24
|
+
import { PageState as ie } from "../components/feedback/page-state.js";
|
|
25
|
+
import { DescriptionList as b } from "../components/display/description-list.js";
|
|
26
|
+
import { List as x } from "../components/display/list.js";
|
|
27
|
+
import { Progress as S } from "../components/display/progress.js";
|
|
28
|
+
import { ProgressCircle as C } from "../components/display/progress-circle.js";
|
|
29
|
+
import { StatusDot as w } from "../components/display/status-dot.js";
|
|
30
|
+
import { StatusLegend as T } from "../components/display/status-legend.js";
|
|
31
|
+
import { Timeline as E } from "../components/display/timeline.js";
|
|
32
|
+
import { UserCard as D } from "../components/display/user-card.js";
|
|
33
|
+
import { StatCard as O } from "../components/layout/stat-card.js";
|
|
34
|
+
import { SmartCard as k } from "../components/display/smart-card.js";
|
|
35
|
+
import { Calendar as A } from "../components/calendar/calendar.js";
|
|
36
|
+
import { FileUpload as j } from "../components/upload/file-upload.js";
|
|
37
|
+
import { ImageUpload as M } from "../components/upload/image-upload.js";
|
|
38
|
+
import { FileDropzone as N } from "../components/upload/file-dropzone.js";
|
|
39
|
+
import { Stepper as P } from "../components/wizard/stepper.js";
|
|
40
|
+
import { Wizard as F } from "../components/wizard/wizard.js";
|
|
41
|
+
import { AppHeader as I } from "../components/layout/app-header.js";
|
|
42
|
+
import { ResourceDetailPage as L } from "../components/patterns/resource-detail-page.js";
|
|
43
|
+
import { ResourcePage as R, ResourcePageSection as z } from "../components/patterns/resource-page.js";
|
|
52
44
|
import "react";
|
|
53
|
-
import { ArchiveIcon as
|
|
45
|
+
import { ArchiveIcon as B, BellIcon as V, ChevronRightIcon as H, DownloadIcon as U, FilterIcon as W, LayoutDashboardIcon as G, MoreHorizontalIcon as K, UploadCloudIcon as q } from "lucide-react";
|
|
54
46
|
import { Fragment as J, jsx as Y, jsxs as X } from "react/jsx-runtime";
|
|
55
47
|
//#region src/showcase/registry-specific.tsx
|
|
56
|
-
var
|
|
57
|
-
Z("dialog-actions", "DialogActions", "overlay", "Modal footer action row with cancel, secondary and primary actions."),
|
|
48
|
+
var ae = [
|
|
58
49
|
Z("alert-dialog", "AlertDialog", "overlay", "Destructive confirmation dialog with loading-ready action states."),
|
|
59
50
|
Z("drawer", "Drawer", "overlay", "Side panel for contextual details without leaving the page."),
|
|
60
51
|
Z("pagination", "Pagination", "navigation", "Controlled page navigation with edge buttons and active state."),
|
|
61
52
|
Z("nav-tabs", "NavTabs", "navigation", "Navigation tabs for switching related document sections."),
|
|
62
|
-
Z("clearable-input", "ClearableInput", "inputs", "Input with clear action, Escape handling and focus restore."),
|
|
63
53
|
Z("search-input", "SearchInput", "inputs", "Search field with icon, count, shortcut and debounce-friendly value handling."),
|
|
64
54
|
Z("password-input", "PasswordInput", "inputs", "Password field with visibility toggle and secure autocomplete defaults."),
|
|
65
55
|
Z("slider", "Slider", "inputs", "Single value range control for density, threshold, and score tuning."),
|
|
66
56
|
Z("range-slider", "RangeSlider", "inputs", "Two-handle slider for min/max filtering."),
|
|
67
57
|
Z("rating", "Rating", "inputs", "Compact score input for feedback and review flows."),
|
|
68
58
|
Z("otp-input", "OtpInput", "inputs", "One-time code entry with fixed-length slots."),
|
|
69
|
-
Z("color-input", "ColorInput", "inputs", "Theme and accent color field with native color selection."),
|
|
70
59
|
Z("tag-input", "TagInput", "inputs", "Tokenized text input for labels, skills, and quick filters."),
|
|
71
|
-
Z("description-list", "DescriptionList", "display", "Structured key-value details for entity, invoice and profile pages."),
|
|
72
60
|
Z("progress", "Progress", "display", "Linear progress with label, value formatter, tone and indeterminate state."),
|
|
73
61
|
Z("progress-circle", "ProgressCircle", "display", "Compact circular progress for sidebars and status cards."),
|
|
74
62
|
Z("timeline", "Timeline", "display", "Vertical or horizontal event stream for workflow history."),
|
|
75
63
|
Z("status-dot", "StatusDot", "display", "Tiny live status indicator with optional pulse animation."),
|
|
76
64
|
Z("user-card", "UserCard", "display", "User summary row with avatar, metadata and actions."),
|
|
77
|
-
Z("delta-badge", "DeltaBadge", "display", "Compact positive, negative, and risk deltas for metric summaries."),
|
|
78
|
-
Z("entity-header", "EntityHeader", "display", "Top summary row for a customer, invoice, or workspace."),
|
|
79
65
|
Z("notification-center", "NotificationCenter", "display", "Compact activity and notifications stream."),
|
|
80
|
-
Z("entity-card", "EntityCard", "display", "Structured summary card with title, meta, state and actions."),
|
|
81
|
-
Z("file-card", "FileCard", "display", "Compact file summary with state and actions."),
|
|
82
66
|
Z("data-list", "DataList", "display", "Readable title and description rows for compact operational lists."),
|
|
83
67
|
Z("status-legend", "StatusLegend", "display", "Explain status meaning and counts in a compact legend."),
|
|
84
68
|
Z("trend-card", "TrendCard", "display", "Metric summary card with trend context."),
|
|
85
|
-
Z("comparison-card", "ComparisonCard", "display", "Compare current and previous values in one compact card."),
|
|
86
69
|
Z("action-menu", "ActionMenu", "actions", "Compact dropdown action menu for rows and cards."),
|
|
87
70
|
Z("button-group", "ButtonGroup", "actions", "Grouped action buttons for view switching and compact controls."),
|
|
88
71
|
Z("quick-action-grid", "QuickActionGrid", "actions", "Action launcher grid for dense dashboard shortcuts."),
|
|
89
|
-
Z("filter-chips", "FilterChips", "actions", "Inline active filter summaries with clear and remove actions."),
|
|
90
|
-
Z("data-table-saved-filters", "SavedFilterSelect", "actions", "Saved filter chips and quick view controls."),
|
|
91
72
|
Z("app-header", "AppHeader", "layout", "Sticky product header with left, center and right slots."),
|
|
92
73
|
Z("section-header", "SectionHeader", "layout", "Reusable section title block with actions and metadata."),
|
|
93
74
|
Z("stat-card", "StatCard", "layout", "Dashboard stat card for KPI, trend and helper text."),
|
|
94
75
|
Z("filter-bar", "FilterBar", "actions", "Search, filters, active-count and reset actions in one toolbar."),
|
|
95
|
-
Z("anchor-nav", "AnchorNav", "navigation", "Section jump navigation for long detail pages."),
|
|
96
76
|
Z("page-tabs", "PageTabs", "navigation", "Top-level page tab strip for route-sized sections."),
|
|
97
77
|
Z("stepper-tabs", "StepperTabs", "navigation", "Step-like tabs for setup and onboarding progress."),
|
|
98
78
|
Z("alert", "Alert", "feedback", "Inline feedback banner for success, warning, info, and error states."),
|
|
99
79
|
Z("page-state", "PageState", "feedback", "Full-page completion or blocked state with next actions."),
|
|
100
|
-
Z("data-table-pagination", "DataTablePagination", "data-table", "Pagination control used by DataTable pages."),
|
|
101
|
-
Z("data-table-toolbar", "DataTableToolbar", "data-table", "Toolbar surface for DataTable search, filters and actions."),
|
|
102
|
-
Z("data-table-column-visibility-menu", "DataTableColumnVisibilityMenu", "data-table", "Column visibility menu pattern for table views."),
|
|
103
|
-
Z("data-table-select-column", "DataTableSelectColumn", "data-table", "Selection column pattern for bulk table workflows."),
|
|
104
|
-
Z("data-table-sortable-header", "DataTableSortableHeader", "data-table", "Sortable header trigger with clear visual state."),
|
|
105
|
-
Z("data-table-row-actions", "DataTableRowActions", "data-table", "Row action menu for inspect, duplicate and archive operations."),
|
|
106
|
-
Z("data-table-actions-column", "DataTableActionsColumn", "data-table", "Reusable actions column for DataTable definitions."),
|
|
107
|
-
Z("data-table-bulk-actions", "DataTableBulkActions", "data-table", "Bulk action bar for selected rows."),
|
|
108
|
-
Z("data-table-view-presets", "DataTableViewPresets", "data-table", "Saved table view presets for operational dashboards."),
|
|
109
80
|
Z("calendar", "Calendar", "calendar", "Single month calendar surface for date picker and scheduling flows."),
|
|
110
81
|
Z("file-upload", "FileUpload", "upload", "Full file upload surface with dropzone, action button and helper text."),
|
|
111
82
|
Z("image-upload", "ImageUpload", "upload", "Image upload pattern with preview-oriented copy.", "ImageUpload"),
|
|
112
83
|
Z("file-dropzone", "FileDropzone", "upload", "Lightweight file dropzone primitive for custom upload flows."),
|
|
113
84
|
Z("stepper", "Stepper", "wizard", "Clickable step navigation for multi-step forms."),
|
|
114
85
|
Z("wizard", "Wizard", "wizard", "Stepper, content and footer controls combined into one workflow."),
|
|
115
|
-
Z("command-palette", "CommandPalette", "actions", "Keyboard command surface for global navigation and actions."),
|
|
116
86
|
Z("resource-page", "ResourcePage", "patterns", "Full resource index page shell for admin dashboards."),
|
|
117
87
|
Z("resource-detail-page", "ResourceDetailPage", "patterns", "Detail page shell with title, metadata and sections.")
|
|
118
|
-
],
|
|
119
|
-
mock:
|
|
120
|
-
Showcase: (t) => /* @__PURE__ */ Y(
|
|
88
|
+
], oe = Object.fromEntries(ae.map((e) => [e.slug, {
|
|
89
|
+
mock: se(e),
|
|
90
|
+
Showcase: (t) => /* @__PURE__ */ Y(le, {
|
|
121
91
|
definition: e,
|
|
122
92
|
...t
|
|
123
93
|
})
|
|
124
94
|
}]));
|
|
125
95
|
function Z(e, t, n, r, i = t) {
|
|
126
|
-
let a =
|
|
96
|
+
let a = Ce(e);
|
|
127
97
|
return {
|
|
128
98
|
slug: e,
|
|
129
99
|
title: a,
|
|
@@ -145,20 +115,20 @@ function Z(e, t, n, r, i = t) {
|
|
|
145
115
|
}]
|
|
146
116
|
};
|
|
147
117
|
}
|
|
148
|
-
function
|
|
118
|
+
function se(e) {
|
|
149
119
|
return {
|
|
150
120
|
cliCommand: `npx tembro add ${e.slug}`,
|
|
151
|
-
code:
|
|
121
|
+
code: ce(e),
|
|
152
122
|
highlights: e.highlights,
|
|
153
123
|
scenarios: e.scenarios,
|
|
154
|
-
capabilityNotes: [`Add ${e.slug} into your local source with the CLI.`, "Import
|
|
124
|
+
capabilityNotes: [`Add ${e.slug} into your local source with the CLI.`, "Import the public component surface from `tembro` in app code."]
|
|
155
125
|
};
|
|
156
126
|
}
|
|
157
|
-
function
|
|
127
|
+
function ce(e) {
|
|
158
128
|
let t = e.importName ?? e.component;
|
|
159
|
-
return `import { ${t} } from "
|
|
129
|
+
return `import { ${t} } from "tembro"\n\nexport function Demo() {\n return <${t} />\n}`;
|
|
160
130
|
}
|
|
161
|
-
function
|
|
131
|
+
function le({ definition: e, state: t, setState: n }) {
|
|
162
132
|
return /* @__PURE__ */ X("div", {
|
|
163
133
|
className: "space-y-5",
|
|
164
134
|
children: [/* @__PURE__ */ X("header", {
|
|
@@ -175,69 +145,60 @@ function ye({ definition: e, state: t, setState: n }) {
|
|
|
175
145
|
})] })]
|
|
176
146
|
}), /* @__PURE__ */ Y("div", {
|
|
177
147
|
className: "rounded-2xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] p-4 sm:p-5",
|
|
178
|
-
children:
|
|
148
|
+
children: ue(e, t, n)
|
|
179
149
|
})]
|
|
180
150
|
});
|
|
181
151
|
}
|
|
182
|
-
function
|
|
183
|
-
return e.kind === "inputs" ? /* @__PURE__ */ Y(
|
|
152
|
+
function ue(e, t, n) {
|
|
153
|
+
return e.kind === "inputs" ? /* @__PURE__ */ Y(de, {
|
|
184
154
|
slug: e.slug,
|
|
185
155
|
state: t,
|
|
186
156
|
setState: n
|
|
187
|
-
}) : e.kind === "form" ? /* @__PURE__ */ Y(
|
|
157
|
+
}) : e.kind === "form" ? /* @__PURE__ */ Y(fe, {
|
|
188
158
|
state: t,
|
|
189
159
|
setState: n
|
|
190
|
-
}) : e.kind === "overlay" ? /* @__PURE__ */ Y(
|
|
160
|
+
}) : e.kind === "overlay" ? /* @__PURE__ */ Y(pe, { slug: e.slug }) : e.kind === "navigation" ? /* @__PURE__ */ Y(me, { slug: e.slug }) : e.kind === "feedback" ? /* @__PURE__ */ Y(Q, { slug: e.slug }) : e.kind === "display" ? /* @__PURE__ */ Y(he, { slug: e.slug }) : e.kind === "actions" ? /* @__PURE__ */ Y(ge, {
|
|
191
161
|
slug: e.slug,
|
|
192
162
|
state: t,
|
|
193
163
|
setState: n
|
|
194
|
-
}) : e.kind === "layout" ? /* @__PURE__ */ Y(
|
|
164
|
+
}) : e.kind === "layout" ? /* @__PURE__ */ Y(_e, { slug: e.slug }) : e.kind === "data-table" ? /* @__PURE__ */ Y(ve, { slug: e.slug }) : e.kind === "calendar" ? /* @__PURE__ */ Y(ye, {}) : e.kind === "upload" ? /* @__PURE__ */ Y(be, { slug: e.slug }) : e.kind === "wizard" ? /* @__PURE__ */ Y(xe, { slug: e.slug }) : e.kind === "patterns" ? /* @__PURE__ */ Y(Se, { slug: e.slug }) : null;
|
|
195
165
|
}
|
|
196
|
-
function
|
|
197
|
-
let
|
|
198
|
-
if (e === "search-input") return /* @__PURE__ */ Y(
|
|
199
|
-
|
|
200
|
-
|
|
166
|
+
function de({ slug: e, state: t, setState: n }) {
|
|
167
|
+
let a = t.textValue, s = (e) => n({ textValue: e });
|
|
168
|
+
if (e === "search-input") return /* @__PURE__ */ Y(i, {
|
|
169
|
+
type: "search",
|
|
170
|
+
value: a,
|
|
171
|
+
onValueChange: s,
|
|
201
172
|
resultCount: 12,
|
|
202
173
|
shortcut: "Ctrl K",
|
|
203
174
|
placeholder: "Search customers..."
|
|
204
175
|
});
|
|
205
|
-
if (e === "password-input") return /* @__PURE__ */ Y(
|
|
176
|
+
if (e === "password-input") return /* @__PURE__ */ Y(r, {
|
|
206
177
|
value: "secret-token",
|
|
207
|
-
onValueChange:
|
|
178
|
+
onValueChange: s,
|
|
208
179
|
placeholder: "Password"
|
|
209
180
|
});
|
|
210
|
-
if (e === "
|
|
211
|
-
value: s,
|
|
212
|
-
onValueChange: c,
|
|
213
|
-
placeholder: "Clearable input"
|
|
214
|
-
});
|
|
215
|
-
if (e === "slider") return /* @__PURE__ */ Y(le, {
|
|
181
|
+
if (e === "slider") return /* @__PURE__ */ Y(y, {
|
|
216
182
|
label: "Density",
|
|
217
183
|
description: "Tune content density.",
|
|
218
184
|
defaultValue: 64,
|
|
219
185
|
showValue: !0
|
|
220
186
|
});
|
|
221
|
-
if (e === "range-slider") return /* @__PURE__ */ Y(
|
|
187
|
+
if (e === "range-slider") return /* @__PURE__ */ Y(v, {
|
|
222
188
|
label: "Revenue range",
|
|
223
189
|
description: "Filter between two values.",
|
|
224
190
|
defaultValue: [20, 80],
|
|
225
191
|
showValue: !0
|
|
226
192
|
});
|
|
227
|
-
if (e === "rating") return /* @__PURE__ */ Y(
|
|
193
|
+
if (e === "rating") return /* @__PURE__ */ Y(_, {
|
|
228
194
|
defaultValue: 4,
|
|
229
195
|
labels: { clear: "Reset" }
|
|
230
196
|
});
|
|
231
|
-
if (e === "otp-input") return /* @__PURE__ */ Y(
|
|
232
|
-
value:
|
|
233
|
-
onValueChange:
|
|
234
|
-
});
|
|
235
|
-
if (e === "color-input") return /* @__PURE__ */ Y(ae, {
|
|
236
|
-
defaultValue: "#22c55e",
|
|
237
|
-
label: "Accent color",
|
|
238
|
-
description: "Theme token preview."
|
|
197
|
+
if (e === "otp-input") return /* @__PURE__ */ Y(te, {
|
|
198
|
+
value: a.replace(/\D/g, "").slice(0, 6),
|
|
199
|
+
onValueChange: s
|
|
239
200
|
});
|
|
240
|
-
if (e === "tag-input") return /* @__PURE__ */ Y(
|
|
201
|
+
if (e === "tag-input") return /* @__PURE__ */ Y(ne, {
|
|
241
202
|
defaultValue: [
|
|
242
203
|
"dashboard",
|
|
243
204
|
"beta",
|
|
@@ -247,7 +208,7 @@ function xe({ slug: e, state: t, setState: n }) {
|
|
|
247
208
|
});
|
|
248
209
|
if (e === "simple-select") return /* @__PURE__ */ X("div", {
|
|
249
210
|
className: "grid gap-4",
|
|
250
|
-
children: [/* @__PURE__ */ Y(
|
|
211
|
+
children: [/* @__PURE__ */ Y(o, {
|
|
251
212
|
value: "private",
|
|
252
213
|
onValueChange: () => void 0,
|
|
253
214
|
options: [
|
|
@@ -314,7 +275,7 @@ function xe({ slug: e, state: t, setState: n }) {
|
|
|
314
275
|
];
|
|
315
276
|
return /* @__PURE__ */ X("div", {
|
|
316
277
|
className: "grid gap-4",
|
|
317
|
-
children: [/* @__PURE__ */ Y(
|
|
278
|
+
children: [/* @__PURE__ */ Y(g, {
|
|
318
279
|
value: "north",
|
|
319
280
|
onValueChange: () => void 0,
|
|
320
281
|
loadOptions: async (t) => {
|
|
@@ -343,13 +304,13 @@ function xe({ slug: e, state: t, setState: n }) {
|
|
|
343
304
|
})]
|
|
344
305
|
});
|
|
345
306
|
}
|
|
346
|
-
return /* @__PURE__ */ Y(
|
|
347
|
-
value:
|
|
307
|
+
return /* @__PURE__ */ Y(i, {
|
|
308
|
+
value: a,
|
|
348
309
|
onChange: (e) => n({ textValue: e.currentTarget.value }),
|
|
349
310
|
placeholder: "Unified input"
|
|
350
311
|
});
|
|
351
312
|
}
|
|
352
|
-
function
|
|
313
|
+
function fe({ state: e, setState: t }) {
|
|
353
314
|
return /* @__PURE__ */ X("div", {
|
|
354
315
|
className: "grid gap-4 md:grid-cols-2",
|
|
355
316
|
children: [/* @__PURE__ */ X("label", {
|
|
@@ -359,7 +320,7 @@ function Se({ state: e, setState: t }) {
|
|
|
359
320
|
className: "text-sm font-medium aui-text-strong",
|
|
360
321
|
children: "Email address"
|
|
361
322
|
}),
|
|
362
|
-
/* @__PURE__ */ Y(
|
|
323
|
+
/* @__PURE__ */ Y(i, {
|
|
363
324
|
value: e.textValue,
|
|
364
325
|
onChange: (e) => t({ textValue: e.currentTarget.value })
|
|
365
326
|
}),
|
|
@@ -375,7 +336,8 @@ function Se({ state: e, setState: t }) {
|
|
|
375
336
|
className: "text-sm font-medium aui-text-strong",
|
|
376
337
|
children: "Status"
|
|
377
338
|
}),
|
|
378
|
-
/* @__PURE__ */ Y(
|
|
339
|
+
/* @__PURE__ */ Y(i, {
|
|
340
|
+
type: "search",
|
|
379
341
|
value: "Active customers",
|
|
380
342
|
resultCount: 7,
|
|
381
343
|
readOnly: !0
|
|
@@ -388,24 +350,8 @@ function Se({ state: e, setState: t }) {
|
|
|
388
350
|
})]
|
|
389
351
|
});
|
|
390
352
|
}
|
|
391
|
-
function
|
|
392
|
-
return t === "dialog
|
|
393
|
-
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
394
|
-
children: /* @__PURE__ */ X(te, {
|
|
395
|
-
align: "end",
|
|
396
|
-
children: [
|
|
397
|
-
/* @__PURE__ */ Y(v, {
|
|
398
|
-
variant: "ghost",
|
|
399
|
-
children: "Cancel"
|
|
400
|
-
}),
|
|
401
|
-
/* @__PURE__ */ Y(v, {
|
|
402
|
-
variant: "outline",
|
|
403
|
-
children: "Save draft"
|
|
404
|
-
}),
|
|
405
|
-
/* @__PURE__ */ Y(v, { children: "Publish" })
|
|
406
|
-
]
|
|
407
|
-
})
|
|
408
|
-
}) : t === "alert-dialog" ? /* @__PURE__ */ Y(_, {
|
|
353
|
+
function pe({ slug: t }) {
|
|
354
|
+
return t === "alert-dialog" ? /* @__PURE__ */ Y(m, {
|
|
409
355
|
open: !1,
|
|
410
356
|
title: "Archive invoice?",
|
|
411
357
|
description: "This keeps the invoice readable but removes it from active queues.",
|
|
@@ -413,7 +359,7 @@ function Ce({ slug: t }) {
|
|
|
413
359
|
variant: "destructive",
|
|
414
360
|
children: "Open alert"
|
|
415
361
|
})
|
|
416
|
-
}) : t === "drawer" ? /* @__PURE__ */ Y(
|
|
362
|
+
}) : t === "drawer" ? /* @__PURE__ */ Y(h, {
|
|
417
363
|
open: !1,
|
|
418
364
|
trigger: /* @__PURE__ */ Y(e, {
|
|
419
365
|
variant: "outline",
|
|
@@ -421,7 +367,7 @@ function Ce({ slug: t }) {
|
|
|
421
367
|
}),
|
|
422
368
|
title: "Customer details",
|
|
423
369
|
description: "Side panel for fast inspection.",
|
|
424
|
-
children: /* @__PURE__ */ Y(
|
|
370
|
+
children: /* @__PURE__ */ Y(b, { items: [{
|
|
425
371
|
key: "plan",
|
|
426
372
|
label: "Plan",
|
|
427
373
|
value: "Scale"
|
|
@@ -445,33 +391,12 @@ function Ce({ slug: t }) {
|
|
|
445
391
|
]
|
|
446
392
|
});
|
|
447
393
|
}
|
|
448
|
-
function
|
|
449
|
-
return e === "pagination" ? /* @__PURE__ */ Y(
|
|
394
|
+
function me({ slug: e }) {
|
|
395
|
+
return e === "pagination" ? /* @__PURE__ */ Y(u, {
|
|
450
396
|
page: 3,
|
|
451
397
|
pageCount: 9,
|
|
452
398
|
onPageChange: () => void 0
|
|
453
|
-
}) : e === "
|
|
454
|
-
orientation: "horizontal",
|
|
455
|
-
title: "Sections",
|
|
456
|
-
items: [
|
|
457
|
-
{
|
|
458
|
-
key: "overview",
|
|
459
|
-
label: "Overview",
|
|
460
|
-
href: "#overview",
|
|
461
|
-
active: !0
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
key: "usage",
|
|
465
|
-
label: "Usage",
|
|
466
|
-
href: "#usage"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
key: "api",
|
|
470
|
-
label: "API",
|
|
471
|
-
href: "#api"
|
|
472
|
-
}
|
|
473
|
-
]
|
|
474
|
-
}) : e === "page-tabs" ? /* @__PURE__ */ Y(d, {
|
|
399
|
+
}) : e === "page-tabs" ? /* @__PURE__ */ Y(ee, {
|
|
475
400
|
value: "overview",
|
|
476
401
|
variant: "pills",
|
|
477
402
|
items: [
|
|
@@ -489,7 +414,7 @@ function we({ slug: e }) {
|
|
|
489
414
|
badge: "3"
|
|
490
415
|
}
|
|
491
416
|
]
|
|
492
|
-
}) : e === "stepper-tabs" ? /* @__PURE__ */ Y(
|
|
417
|
+
}) : e === "stepper-tabs" ? /* @__PURE__ */ Y(d, {
|
|
493
418
|
value: "billing",
|
|
494
419
|
items: [
|
|
495
420
|
{
|
|
@@ -509,7 +434,7 @@ function we({ slug: e }) {
|
|
|
509
434
|
description: "Confirm release"
|
|
510
435
|
}
|
|
511
436
|
]
|
|
512
|
-
}) : /* @__PURE__ */ Y(
|
|
437
|
+
}) : /* @__PURE__ */ Y(l, {
|
|
513
438
|
value: "overview",
|
|
514
439
|
items: [
|
|
515
440
|
{
|
|
@@ -527,8 +452,8 @@ function we({ slug: e }) {
|
|
|
527
452
|
]
|
|
528
453
|
});
|
|
529
454
|
}
|
|
530
|
-
function
|
|
531
|
-
return t === "alert" ? /* @__PURE__ */ Y(
|
|
455
|
+
function Q({ slug: t }) {
|
|
456
|
+
return t === "alert" ? /* @__PURE__ */ Y(re, {
|
|
532
457
|
tone: "warning",
|
|
533
458
|
title: "Review needed",
|
|
534
459
|
description: "Billing rules changed and one approval is pending.",
|
|
@@ -536,7 +461,7 @@ function Te({ slug: t }) {
|
|
|
536
461
|
size: "sm",
|
|
537
462
|
children: "Open"
|
|
538
463
|
})
|
|
539
|
-
}) : t === "page-state" ? /* @__PURE__ */ Y(
|
|
464
|
+
}) : t === "page-state" ? /* @__PURE__ */ Y(ie, {
|
|
540
465
|
title: "Workspace connected",
|
|
541
466
|
description: "The route is ready to accept live data and team actions.",
|
|
542
467
|
tone: "success",
|
|
@@ -566,45 +491,17 @@ function Te({ slug: t }) {
|
|
|
566
491
|
]
|
|
567
492
|
});
|
|
568
493
|
}
|
|
569
|
-
function
|
|
570
|
-
return t === "
|
|
571
|
-
title: "Invoice details",
|
|
572
|
-
description: "Structured facts with responsive columns.",
|
|
573
|
-
items: [
|
|
574
|
-
{
|
|
575
|
-
key: "id",
|
|
576
|
-
label: "Invoice",
|
|
577
|
-
value: "#4821"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
key: "amount",
|
|
581
|
-
label: "Amount",
|
|
582
|
-
value: "$12,420"
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
key: "status",
|
|
586
|
-
label: "Status",
|
|
587
|
-
value: /* @__PURE__ */ Y($, {
|
|
588
|
-
tone: "success",
|
|
589
|
-
children: "Paid"
|
|
590
|
-
})
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
key: "owner",
|
|
594
|
-
label: "Owner",
|
|
595
|
-
value: "Finance team"
|
|
596
|
-
}
|
|
597
|
-
]
|
|
598
|
-
}) : t === "progress" ? /* @__PURE__ */ Y(T, {
|
|
494
|
+
function he({ slug: t }) {
|
|
495
|
+
return t === "progress" ? /* @__PURE__ */ Y(S, {
|
|
599
496
|
label: "Migration progress",
|
|
600
497
|
description: "Production rollout",
|
|
601
498
|
value: 68,
|
|
602
499
|
tone: "success",
|
|
603
500
|
showValue: !0
|
|
604
|
-
}) : t === "progress-circle" ? /* @__PURE__ */ Y(
|
|
501
|
+
}) : t === "progress-circle" ? /* @__PURE__ */ Y(C, {
|
|
605
502
|
value: 72,
|
|
606
503
|
label: "Profile completed"
|
|
607
|
-
}) : t === "timeline" ? /* @__PURE__ */ Y(
|
|
504
|
+
}) : t === "timeline" ? /* @__PURE__ */ Y(E, {
|
|
608
505
|
items: [
|
|
609
506
|
{
|
|
610
507
|
key: "created",
|
|
@@ -630,7 +527,7 @@ function Ee({ slug: t }) {
|
|
|
630
527
|
],
|
|
631
528
|
pending: !0,
|
|
632
529
|
pendingLabel: "Paid"
|
|
633
|
-
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */ Y(
|
|
530
|
+
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */ Y(O, {
|
|
634
531
|
title: "Revenue",
|
|
635
532
|
value: "$84.2k",
|
|
636
533
|
description: "Compared with last month",
|
|
@@ -642,65 +539,21 @@ function Ee({ slug: t }) {
|
|
|
642
539
|
}) : t === "status-dot" ? /* @__PURE__ */ X("div", {
|
|
643
540
|
className: "grid gap-3",
|
|
644
541
|
children: [
|
|
645
|
-
/* @__PURE__ */ Y(
|
|
542
|
+
/* @__PURE__ */ Y(w, {
|
|
646
543
|
tone: "success",
|
|
647
544
|
pulse: !0,
|
|
648
545
|
label: "API healthy"
|
|
649
546
|
}),
|
|
650
|
-
/* @__PURE__ */ Y(
|
|
547
|
+
/* @__PURE__ */ Y(w, {
|
|
651
548
|
tone: "warning",
|
|
652
549
|
label: "Sync delayed"
|
|
653
550
|
}),
|
|
654
|
-
/* @__PURE__ */ Y(
|
|
551
|
+
/* @__PURE__ */ Y(w, {
|
|
655
552
|
tone: "danger",
|
|
656
553
|
label: "Webhook failed"
|
|
657
554
|
})
|
|
658
555
|
]
|
|
659
|
-
}) : t === "
|
|
660
|
-
className: "flex flex-wrap gap-2",
|
|
661
|
-
children: [
|
|
662
|
-
/* @__PURE__ */ Y(s, {
|
|
663
|
-
variant: "secondary",
|
|
664
|
-
children: "+12.4%"
|
|
665
|
-
}),
|
|
666
|
-
/* @__PURE__ */ Y(s, {
|
|
667
|
-
variant: "outline",
|
|
668
|
-
children: "-3.1%"
|
|
669
|
-
}),
|
|
670
|
-
/* @__PURE__ */ Y(s, {
|
|
671
|
-
variant: "destructive",
|
|
672
|
-
children: "Risk"
|
|
673
|
-
})
|
|
674
|
-
]
|
|
675
|
-
}) : t === "entity-header" ? /* @__PURE__ */ Y("div", {
|
|
676
|
-
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-5",
|
|
677
|
-
children: /* @__PURE__ */ X("div", {
|
|
678
|
-
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
679
|
-
children: [/* @__PURE__ */ X("div", {
|
|
680
|
-
className: "space-y-2",
|
|
681
|
-
children: [/* @__PURE__ */ Y(s, {
|
|
682
|
-
variant: "outline",
|
|
683
|
-
children: "Customer"
|
|
684
|
-
}), /* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y("h3", {
|
|
685
|
-
className: "text-xl font-semibold",
|
|
686
|
-
children: "Acme Holdings"
|
|
687
|
-
}), /* @__PURE__ */ Y("p", {
|
|
688
|
-
className: "text-sm text-muted-foreground",
|
|
689
|
-
children: "Enterprise account with billing and admin ownership."
|
|
690
|
-
})] })]
|
|
691
|
-
}), /* @__PURE__ */ X("div", {
|
|
692
|
-
className: "flex gap-2",
|
|
693
|
-
children: [/* @__PURE__ */ Y(e, {
|
|
694
|
-
variant: "outline",
|
|
695
|
-
size: "sm",
|
|
696
|
-
children: "Archive"
|
|
697
|
-
}), /* @__PURE__ */ Y(e, {
|
|
698
|
-
size: "sm",
|
|
699
|
-
children: "Edit"
|
|
700
|
-
})]
|
|
701
|
-
})]
|
|
702
|
-
})
|
|
703
|
-
}) : t === "notification-center" ? /* @__PURE__ */ Y(w, { items: [
|
|
556
|
+
}) : t === "notification-center" ? /* @__PURE__ */ Y(x, { items: [
|
|
704
557
|
{
|
|
705
558
|
key: "1",
|
|
706
559
|
title: "Build completed",
|
|
@@ -719,20 +572,7 @@ function Ee({ slug: t }) {
|
|
|
719
572
|
description: "Package version is ready for release.",
|
|
720
573
|
extra: "1h"
|
|
721
574
|
}
|
|
722
|
-
] }) : t === "
|
|
723
|
-
title: t === "file-card" ? "Design-spec.pdf" : "Azamat Workspace",
|
|
724
|
-
description: t === "file-card" ? "Shared with 4 reviewers." : "Admin console and live dashboard route.",
|
|
725
|
-
status: /* @__PURE__ */ Y(s, {
|
|
726
|
-
variant: "secondary",
|
|
727
|
-
children: "Live"
|
|
728
|
-
}),
|
|
729
|
-
meta: t === "file-card" ? "2.4 MB" : "Updated 8 min ago",
|
|
730
|
-
actions: /* @__PURE__ */ Y(e, {
|
|
731
|
-
size: "sm",
|
|
732
|
-
variant: "outline",
|
|
733
|
-
children: "Open"
|
|
734
|
-
})
|
|
735
|
-
}) : t === "data-list" ? /* @__PURE__ */ Y(w, { items: [
|
|
575
|
+
] }) : t === "data-list" ? /* @__PURE__ */ Y(x, { items: [
|
|
736
576
|
{
|
|
737
577
|
key: "1",
|
|
738
578
|
title: "Enterprise plan",
|
|
@@ -751,7 +591,7 @@ function Ee({ slug: t }) {
|
|
|
751
591
|
description: "Lightweight team setup",
|
|
752
592
|
extra: "$49"
|
|
753
593
|
}
|
|
754
|
-
] }) : t === "status-legend" ? /* @__PURE__ */ Y(
|
|
594
|
+
] }) : t === "status-legend" ? /* @__PURE__ */ Y(T, {
|
|
755
595
|
title: "Delivery states",
|
|
756
596
|
description: "Explain what each state means and how often it appears.",
|
|
757
597
|
orientation: "grid",
|
|
@@ -778,7 +618,7 @@ function Ee({ slug: t }) {
|
|
|
778
618
|
count: 1
|
|
779
619
|
}
|
|
780
620
|
]
|
|
781
|
-
}) : t === "trend-card"
|
|
621
|
+
}) : t === "trend-card" ? /* @__PURE__ */ Y(O, {
|
|
782
622
|
title: t === "trend-card" ? "Weekly revenue" : "Current vs previous",
|
|
783
623
|
value: "$84.2k",
|
|
784
624
|
description: "Compared with last month",
|
|
@@ -789,7 +629,7 @@ function Ee({ slug: t }) {
|
|
|
789
629
|
icon: /* @__PURE__ */ Y(G, {})
|
|
790
630
|
}) : t === "info-card" ? /* @__PURE__ */ X("div", {
|
|
791
631
|
className: "grid gap-4",
|
|
792
|
-
children: [/* @__PURE__ */ Y(
|
|
632
|
+
children: [/* @__PURE__ */ Y(k, {
|
|
793
633
|
eyebrow: "Summary",
|
|
794
634
|
title: "Workspace",
|
|
795
635
|
description: "Reusable card surface with header, actions and metadata.",
|
|
@@ -820,7 +660,7 @@ function Ee({ slug: t }) {
|
|
|
820
660
|
})
|
|
821
661
|
]
|
|
822
662
|
})]
|
|
823
|
-
}) : /* @__PURE__ */ Y(
|
|
663
|
+
}) : /* @__PURE__ */ Y(D, {
|
|
824
664
|
name: "Azamat Jurayev",
|
|
825
665
|
description: "Product designer and maintainer",
|
|
826
666
|
meta: "Admin workspace",
|
|
@@ -830,10 +670,11 @@ function Ee({ slug: t }) {
|
|
|
830
670
|
})
|
|
831
671
|
});
|
|
832
672
|
}
|
|
833
|
-
function
|
|
834
|
-
return r === "filter-bar" ? /* @__PURE__ */ Y(
|
|
835
|
-
search: /* @__PURE__ */ Y(
|
|
836
|
-
|
|
673
|
+
function ge({ slug: r, state: a, setState: o }) {
|
|
674
|
+
return r === "filter-bar" ? /* @__PURE__ */ Y(f, {
|
|
675
|
+
search: /* @__PURE__ */ Y(i, {
|
|
676
|
+
type: "search",
|
|
677
|
+
value: a.textValue,
|
|
837
678
|
onValueChange: (e) => o({ textValue: e }),
|
|
838
679
|
placeholder: "Search invoices..."
|
|
839
680
|
}),
|
|
@@ -848,31 +689,6 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
848
689
|
size: "sm",
|
|
849
690
|
children: "Export"
|
|
850
691
|
})
|
|
851
|
-
}) : r === "command-palette" ? /* @__PURE__ */ X("div", {
|
|
852
|
-
className: "grid gap-3",
|
|
853
|
-
children: [/* @__PURE__ */ X("div", {
|
|
854
|
-
className: "flex items-center gap-2 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] px-3 py-2",
|
|
855
|
-
children: [/* @__PURE__ */ Y(q, { className: "size-4 aui-text-muted" }), /* @__PURE__ */ Y("span", {
|
|
856
|
-
className: "text-sm aui-text-muted",
|
|
857
|
-
children: "Command palette preview: search routes, components and actions."
|
|
858
|
-
})]
|
|
859
|
-
}), /* @__PURE__ */ Y(M, {
|
|
860
|
-
open: !1,
|
|
861
|
-
onOpenChange: () => void 0,
|
|
862
|
-
groups: [{
|
|
863
|
-
id: "navigation",
|
|
864
|
-
label: "Navigation",
|
|
865
|
-
items: [{
|
|
866
|
-
id: "docs",
|
|
867
|
-
label: "Open docs",
|
|
868
|
-
icon: /* @__PURE__ */ Y(q, { className: "size-4" })
|
|
869
|
-
}, {
|
|
870
|
-
id: "components",
|
|
871
|
-
label: "Browse components",
|
|
872
|
-
icon: /* @__PURE__ */ Y(G, { className: "size-4" })
|
|
873
|
-
}]
|
|
874
|
-
}]
|
|
875
|
-
})]
|
|
876
692
|
}) : r === "button-group" ? /* @__PURE__ */ Y(n, { items: [
|
|
877
693
|
{
|
|
878
694
|
key: "day",
|
|
@@ -886,7 +702,7 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
886
702
|
key: "month",
|
|
887
703
|
label: "Month"
|
|
888
704
|
}
|
|
889
|
-
] }) : r === "quick-action-grid" ? /* @__PURE__ */ Y(
|
|
705
|
+
] }) : r === "quick-action-grid" ? /* @__PURE__ */ Y(s, {
|
|
890
706
|
columns: 3,
|
|
891
707
|
items: [
|
|
892
708
|
{
|
|
@@ -908,52 +724,9 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
908
724
|
badge: "S"
|
|
909
725
|
}
|
|
910
726
|
]
|
|
911
|
-
}) : r === "filter-chips" || r === "data-table-saved-filters" ? /* @__PURE__ */ X("div", {
|
|
912
|
-
className: "grid gap-3",
|
|
913
|
-
children: [/* @__PURE__ */ Y(m, {
|
|
914
|
-
chips: [
|
|
915
|
-
{
|
|
916
|
-
key: "status",
|
|
917
|
-
label: "Status",
|
|
918
|
-
value: "Active",
|
|
919
|
-
tone: "success"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
key: "owner",
|
|
923
|
-
label: "Owner",
|
|
924
|
-
value: "Azamat",
|
|
925
|
-
tone: "default"
|
|
926
|
-
},
|
|
927
|
-
{
|
|
928
|
-
key: "region",
|
|
929
|
-
label: "Region",
|
|
930
|
-
value: "APAC",
|
|
931
|
-
tone: "info"
|
|
932
|
-
}
|
|
933
|
-
],
|
|
934
|
-
onRemove: () => void 0,
|
|
935
|
-
onClear: () => void 0
|
|
936
|
-
}), r === "data-table-saved-filters" ? /* @__PURE__ */ Y(n, {
|
|
937
|
-
attached: !1,
|
|
938
|
-
items: [
|
|
939
|
-
{
|
|
940
|
-
key: "default",
|
|
941
|
-
label: "Default",
|
|
942
|
-
variant: "secondary"
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
key: "billing",
|
|
946
|
-
label: "Billing"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
key: "ops",
|
|
950
|
-
label: "Operations"
|
|
951
|
-
}
|
|
952
|
-
]
|
|
953
|
-
}) : null]
|
|
954
727
|
}) : r === "saved-filter-select" ? /* @__PURE__ */ X("div", {
|
|
955
728
|
className: "grid gap-4",
|
|
956
|
-
children: [/* @__PURE__ */ Y(
|
|
729
|
+
children: [/* @__PURE__ */ Y(p, {
|
|
957
730
|
value: "billing",
|
|
958
731
|
onValueChange: () => void 0,
|
|
959
732
|
onSave: () => void 0,
|
|
@@ -1006,17 +779,17 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
1006
779
|
{
|
|
1007
780
|
key: "open",
|
|
1008
781
|
label: "Open",
|
|
1009
|
-
icon: /* @__PURE__ */ Y(
|
|
782
|
+
icon: /* @__PURE__ */ Y(H, { className: "size-4" })
|
|
1010
783
|
},
|
|
1011
784
|
{
|
|
1012
785
|
key: "download",
|
|
1013
786
|
label: "Download",
|
|
1014
|
-
icon: /* @__PURE__ */ Y(
|
|
787
|
+
icon: /* @__PURE__ */ Y(U, { className: "size-4" })
|
|
1015
788
|
},
|
|
1016
789
|
{
|
|
1017
790
|
key: "archive",
|
|
1018
791
|
label: "Archive",
|
|
1019
|
-
icon: /* @__PURE__ */ Y(
|
|
792
|
+
icon: /* @__PURE__ */ Y(B, { className: "size-4" }),
|
|
1020
793
|
destructive: !0
|
|
1021
794
|
}
|
|
1022
795
|
],
|
|
@@ -1029,14 +802,14 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
1029
802
|
})]
|
|
1030
803
|
});
|
|
1031
804
|
}
|
|
1032
|
-
function
|
|
1033
|
-
return t === "app-header" ? /* @__PURE__ */ Y(
|
|
805
|
+
function _e({ slug: t }) {
|
|
806
|
+
return t === "app-header" ? /* @__PURE__ */ Y(I, {
|
|
1034
807
|
sticky: !1,
|
|
1035
808
|
left: /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(G, { className: "size-4" }), /* @__PURE__ */ Y("span", {
|
|
1036
809
|
className: "font-medium",
|
|
1037
810
|
children: "Dashboard"
|
|
1038
811
|
})] }),
|
|
1039
|
-
center: /* @__PURE__ */ Y(
|
|
812
|
+
center: /* @__PURE__ */ Y(a, {
|
|
1040
813
|
variant: "secondary",
|
|
1041
814
|
children: "Preview"
|
|
1042
815
|
}),
|
|
@@ -1044,13 +817,13 @@ function Oe({ slug: t }) {
|
|
|
1044
817
|
variant: "ghost",
|
|
1045
818
|
size: "icon-sm",
|
|
1046
819
|
"aria-label": "Notifications",
|
|
1047
|
-
children: /* @__PURE__ */ Y(
|
|
820
|
+
children: /* @__PURE__ */ Y(V, {})
|
|
1048
821
|
}), /* @__PURE__ */ Y(e, {
|
|
1049
822
|
size: "sm",
|
|
1050
823
|
children: "Deploy"
|
|
1051
824
|
})] }),
|
|
1052
825
|
className: "rounded-xl border border-[color:var(--aui-divider)]"
|
|
1053
|
-
}) : t === "section-header" ? /* @__PURE__ */ Y(
|
|
826
|
+
}) : t === "section-header" ? /* @__PURE__ */ Y(c, {
|
|
1054
827
|
eyebrow: "Components",
|
|
1055
828
|
title: "Production-ready surfaces",
|
|
1056
829
|
description: "SectionHeader keeps copy, metadata and actions aligned.",
|
|
@@ -1058,7 +831,7 @@ function Oe({ slug: t }) {
|
|
|
1058
831
|
size: "sm",
|
|
1059
832
|
children: "Add component"
|
|
1060
833
|
})
|
|
1061
|
-
}) : /* @__PURE__ */ Y(
|
|
834
|
+
}) : /* @__PURE__ */ Y(O, {
|
|
1062
835
|
title: "Revenue",
|
|
1063
836
|
value: "$84.2k",
|
|
1064
837
|
description: "Compared with last month",
|
|
@@ -1069,13 +842,14 @@ function Oe({ slug: t }) {
|
|
|
1069
842
|
helperText: "StatCard keeps KPI, helper text and trend in one compact tile."
|
|
1070
843
|
});
|
|
1071
844
|
}
|
|
1072
|
-
function
|
|
845
|
+
function ve({ slug: t }) {
|
|
1073
846
|
return /* @__PURE__ */ X("div", {
|
|
1074
847
|
className: "overflow-hidden rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
1075
848
|
children: [
|
|
1076
849
|
/* @__PURE__ */ X("div", {
|
|
1077
850
|
className: "flex flex-wrap items-center justify-between gap-3 border-b border-[color:var(--aui-divider)] p-3",
|
|
1078
|
-
children: [/* @__PURE__ */ Y(
|
|
851
|
+
children: [/* @__PURE__ */ Y(i, {
|
|
852
|
+
type: "search",
|
|
1079
853
|
value: "",
|
|
1080
854
|
placeholder: "Search rows...",
|
|
1081
855
|
className: "max-w-xs",
|
|
@@ -1135,16 +909,11 @@ function Q({ slug: t }) {
|
|
|
1135
909
|
/* @__PURE__ */ X("div", {
|
|
1136
910
|
className: "flex flex-wrap items-center justify-between gap-3 border-t border-[color:var(--aui-divider)] p-3 text-sm aui-text-muted",
|
|
1137
911
|
children: [/* @__PURE__ */ X("span", { children: [{
|
|
1138
|
-
"data-table-pagination": "Pagination footer",
|
|
1139
|
-
"data-table-toolbar": "Search and filter toolbar",
|
|
1140
912
|
"data-table-column-visibility-menu": "Column visibility",
|
|
1141
|
-
"data-table-select-column": "Row selection",
|
|
1142
913
|
"data-table-sortable-header": "Sortable header",
|
|
1143
|
-
"data-table-row-actions": "Row actions",
|
|
1144
|
-
"data-table-actions-column": "Actions column",
|
|
1145
914
|
"data-table-bulk-actions": "Bulk action bar",
|
|
1146
915
|
"data-table-view-presets": "Saved view presets"
|
|
1147
|
-
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ Y(
|
|
916
|
+
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ Y(u, {
|
|
1148
917
|
page: 1,
|
|
1149
918
|
pageCount: 4,
|
|
1150
919
|
onPageChange: () => void 0,
|
|
@@ -1154,20 +923,20 @@ function Q({ slug: t }) {
|
|
|
1154
923
|
]
|
|
1155
924
|
});
|
|
1156
925
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return /* @__PURE__ */ Y(
|
|
926
|
+
function ye() {
|
|
927
|
+
return /* @__PURE__ */ Y(A, {
|
|
1159
928
|
value: "2026-06-18",
|
|
1160
929
|
defaultMonth: "2026-06-01",
|
|
1161
930
|
onValueChange: () => void 0
|
|
1162
931
|
});
|
|
1163
932
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return e === "file-dropzone" ? /* @__PURE__ */ Y(
|
|
933
|
+
function be({ slug: e }) {
|
|
934
|
+
return e === "file-dropzone" ? /* @__PURE__ */ Y(N, {
|
|
1166
935
|
label: "Drop contract files",
|
|
1167
936
|
description: "PDF, PNG or CSV up to 10MB."
|
|
1168
937
|
}) : e === "file-upload" ? /* @__PURE__ */ X("div", {
|
|
1169
938
|
className: "grid gap-4",
|
|
1170
|
-
children: [/* @__PURE__ */ Y(
|
|
939
|
+
children: [/* @__PURE__ */ Y(j, {
|
|
1171
940
|
dropzoneLabel: "Upload documents",
|
|
1172
941
|
dropzoneDescription: "Drag files here or choose from your device.",
|
|
1173
942
|
buttonLabel: "Choose files",
|
|
@@ -1191,7 +960,7 @@ function Ae({ slug: e }) {
|
|
|
1191
960
|
})]
|
|
1192
961
|
}) : e === "image-upload" ? /* @__PURE__ */ X("div", {
|
|
1193
962
|
className: "grid gap-4",
|
|
1194
|
-
children: [/* @__PURE__ */ Y(
|
|
963
|
+
children: [/* @__PURE__ */ Y(M, {
|
|
1195
964
|
dropzoneLabel: "Upload product image",
|
|
1196
965
|
helperText: "Preview-friendly upload for gallery and hero assets."
|
|
1197
966
|
}), /* @__PURE__ */ X("div", {
|
|
@@ -1215,15 +984,15 @@ function Ae({ slug: e }) {
|
|
|
1215
984
|
className: "grid gap-4 md:grid-cols-[160px_1fr] md:items-center",
|
|
1216
985
|
children: [/* @__PURE__ */ Y("div", {
|
|
1217
986
|
className: "flex aspect-square items-center justify-center rounded-2xl border border-dashed border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
1218
|
-
children: /* @__PURE__ */ Y(
|
|
1219
|
-
}), /* @__PURE__ */ Y(
|
|
987
|
+
children: /* @__PURE__ */ Y(q, { className: "size-8 aui-text-muted" })
|
|
988
|
+
}), /* @__PURE__ */ Y(N, {
|
|
1220
989
|
label: "Upload product image",
|
|
1221
990
|
description: "Shows the image-upload flow without custom CSS.",
|
|
1222
991
|
accept: "image/*"
|
|
1223
992
|
})]
|
|
1224
993
|
});
|
|
1225
994
|
}
|
|
1226
|
-
function
|
|
995
|
+
function xe({ slug: e }) {
|
|
1227
996
|
let t = [
|
|
1228
997
|
{
|
|
1229
998
|
id: "profile",
|
|
@@ -1242,11 +1011,11 @@ function je({ slug: e }) {
|
|
|
1242
1011
|
description: "Confirm data"
|
|
1243
1012
|
}
|
|
1244
1013
|
];
|
|
1245
|
-
return e === "stepper" ? /* @__PURE__ */ Y(
|
|
1014
|
+
return e === "stepper" ? /* @__PURE__ */ Y(P, {
|
|
1246
1015
|
steps: t,
|
|
1247
1016
|
currentStep: "billing",
|
|
1248
1017
|
onStepChange: () => void 0
|
|
1249
|
-
}) : /* @__PURE__ */ Y(
|
|
1018
|
+
}) : /* @__PURE__ */ Y(F, {
|
|
1250
1019
|
steps: t,
|
|
1251
1020
|
currentStep: "billing",
|
|
1252
1021
|
onNext: () => void 0,
|
|
@@ -1264,17 +1033,17 @@ function je({ slug: e }) {
|
|
|
1264
1033
|
})
|
|
1265
1034
|
});
|
|
1266
1035
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return t === "resource-detail-page" ? /* @__PURE__ */ Y(
|
|
1036
|
+
function Se({ slug: t }) {
|
|
1037
|
+
return t === "resource-detail-page" ? /* @__PURE__ */ Y(L, {
|
|
1269
1038
|
title: "Customer profile",
|
|
1270
1039
|
description: "ResourceDetailPage organizes detail screens.",
|
|
1271
1040
|
actions: /* @__PURE__ */ Y(e, {
|
|
1272
1041
|
size: "sm",
|
|
1273
1042
|
children: "Edit"
|
|
1274
1043
|
}),
|
|
1275
|
-
children: /* @__PURE__ */ Y(
|
|
1044
|
+
children: /* @__PURE__ */ Y(z, {
|
|
1276
1045
|
title: "Account",
|
|
1277
|
-
children: /* @__PURE__ */ Y(
|
|
1046
|
+
children: /* @__PURE__ */ Y(b, { items: [{
|
|
1278
1047
|
key: "plan",
|
|
1279
1048
|
label: "Plan",
|
|
1280
1049
|
value: "Scale"
|
|
@@ -1284,7 +1053,7 @@ function Me({ slug: t }) {
|
|
|
1284
1053
|
value: "Design team"
|
|
1285
1054
|
}] })
|
|
1286
1055
|
})
|
|
1287
|
-
}) : /* @__PURE__ */ Y(
|
|
1056
|
+
}) : /* @__PURE__ */ Y(R, {
|
|
1288
1057
|
title: "Customers",
|
|
1289
1058
|
description: "ResourcePage combines header, stats, filters and sections.",
|
|
1290
1059
|
actions: /* @__PURE__ */ Y(e, {
|
|
@@ -1293,14 +1062,14 @@ function Me({ slug: t }) {
|
|
|
1293
1062
|
}),
|
|
1294
1063
|
stats: /* @__PURE__ */ X("div", {
|
|
1295
1064
|
className: "grid gap-3 sm:grid-cols-2",
|
|
1296
|
-
children: [/* @__PURE__ */ Y(
|
|
1065
|
+
children: [/* @__PURE__ */ Y(O, {
|
|
1297
1066
|
title: "Active",
|
|
1298
1067
|
value: "2,418",
|
|
1299
1068
|
trend: {
|
|
1300
1069
|
value: "+8%",
|
|
1301
1070
|
tone: "success"
|
|
1302
1071
|
}
|
|
1303
|
-
}), /* @__PURE__ */ Y(
|
|
1072
|
+
}), /* @__PURE__ */ Y(O, {
|
|
1304
1073
|
title: "Health",
|
|
1305
1074
|
value: "94%",
|
|
1306
1075
|
trend: {
|
|
@@ -1309,17 +1078,18 @@ function Me({ slug: t }) {
|
|
|
1309
1078
|
}
|
|
1310
1079
|
})]
|
|
1311
1080
|
}),
|
|
1312
|
-
filters: /* @__PURE__ */ Y(
|
|
1313
|
-
search: /* @__PURE__ */ Y(
|
|
1081
|
+
filters: /* @__PURE__ */ Y(f, {
|
|
1082
|
+
search: /* @__PURE__ */ Y(i, {
|
|
1083
|
+
type: "search",
|
|
1314
1084
|
value: "",
|
|
1315
1085
|
placeholder: "Search...",
|
|
1316
1086
|
readOnly: !0
|
|
1317
1087
|
}),
|
|
1318
1088
|
activeCount: 1
|
|
1319
1089
|
}),
|
|
1320
|
-
children: /* @__PURE__ */ Y(
|
|
1090
|
+
children: /* @__PURE__ */ Y(z, {
|
|
1321
1091
|
title: "Recent activity",
|
|
1322
|
-
children: /* @__PURE__ */ Y(
|
|
1092
|
+
children: /* @__PURE__ */ Y(E, { items: [{
|
|
1323
1093
|
key: "a",
|
|
1324
1094
|
title: "Customer added",
|
|
1325
1095
|
description: "Acme workspace",
|
|
@@ -1333,11 +1103,11 @@ function Me({ slug: t }) {
|
|
|
1333
1103
|
})
|
|
1334
1104
|
});
|
|
1335
1105
|
}
|
|
1336
|
-
function
|
|
1106
|
+
function Ce(e) {
|
|
1337
1107
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
1338
1108
|
}
|
|
1339
1109
|
function $({ tone: e, children: t }) {
|
|
1340
|
-
return /* @__PURE__ */ Y(
|
|
1110
|
+
return /* @__PURE__ */ Y(a, {
|
|
1341
1111
|
variant: {
|
|
1342
1112
|
success: "secondary",
|
|
1343
1113
|
warning: "outline",
|
|
@@ -1348,4 +1118,4 @@ function $({ tone: e, children: t }) {
|
|
|
1348
1118
|
});
|
|
1349
1119
|
}
|
|
1350
1120
|
//#endregion
|
|
1351
|
-
export {
|
|
1121
|
+
export { oe as registrySpecificDemoRegistry };
|