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
|
@@ -1,129 +1,100 @@
|
|
|
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 {
|
|
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 { SearchInput as i } from "../components/inputs/search-input.js";
|
|
6
|
+
import { Input as a } from "../components/ui/input/index.js";
|
|
7
|
+
import { Badge as o } from "../components/ui/badge/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 u } from "../components/navigation/page-tabs.js";
|
|
12
|
+
import { Pagination as d } from "../components/navigation/pagination.js";
|
|
13
|
+
import { StepperTabs as f } from "../components/navigation/stepper-tabs.js";
|
|
14
|
+
import { FilterBar as p } from "../components/filters/filter-bar.js";
|
|
15
|
+
import { SavedFilterSelect as m } from "../components/filters/saved-filter-select.js";
|
|
16
|
+
import { AlertDialog as h } from "../components/overlay/alert-dialog.js";
|
|
17
|
+
import { Drawer as g } from "../components/overlay/drawer.js";
|
|
18
|
+
import { AsyncSelect as ee } from "../components/inputs/async-select.js";
|
|
19
|
+
import { SimpleSelect as _ } from "../components/inputs/simple-select.js";
|
|
20
|
+
import { OtpInput as v } from "../components/inputs/otp-input.js";
|
|
21
|
+
import { Rating as y } from "../components/inputs/rating.js";
|
|
22
|
+
import { RangeSlider as te, Slider as ne } from "../components/inputs/slider.js";
|
|
23
|
+
import { TagInput as re } from "../components/inputs/tag-input.js";
|
|
24
|
+
import { Alert as ie } from "../components/feedback/alert.js";
|
|
25
|
+
import { PageState as ae } from "../components/feedback/page-state.js";
|
|
26
|
+
import { DescriptionList as b } from "../components/display/description-list.js";
|
|
27
|
+
import { List as x } from "../components/display/list.js";
|
|
28
|
+
import { Progress as S } from "../components/display/progress.js";
|
|
29
|
+
import { ProgressCircle as C } from "../components/display/progress-circle.js";
|
|
30
|
+
import { StatusDot as w } from "../components/display/status-dot.js";
|
|
31
|
+
import { StatusLegend as T } from "../components/display/status-legend.js";
|
|
32
|
+
import { Timeline as E } from "../components/display/timeline.js";
|
|
33
|
+
import { UserCard as D } from "../components/display/user-card.js";
|
|
34
|
+
import { StatCard as O } from "../components/layout/stat-card.js";
|
|
35
|
+
import { SmartCard as k } from "../components/display/smart-card.js";
|
|
36
|
+
import { Calendar as A } from "../components/calendar/calendar.js";
|
|
37
|
+
import { FileUpload as j } from "../components/upload/file-upload.js";
|
|
38
|
+
import { ImageUpload as M } from "../components/upload/image-upload.js";
|
|
39
|
+
import { FileDropzone as N } from "../components/upload/file-dropzone.js";
|
|
40
|
+
import { Stepper as P } from "../components/wizard/stepper.js";
|
|
41
|
+
import { Wizard as F } from "../components/wizard/wizard.js";
|
|
42
|
+
import { AppHeader as I } from "../components/layout/app-header.js";
|
|
43
|
+
import { ResourceDetailPage as L } from "../components/patterns/resource-detail-page.js";
|
|
44
|
+
import { ResourcePage as R, ResourcePageSection as z } from "../components/patterns/resource-page.js";
|
|
52
45
|
import "react";
|
|
53
|
-
import { ArchiveIcon as
|
|
46
|
+
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
47
|
import { Fragment as J, jsx as Y, jsxs as X } from "react/jsx-runtime";
|
|
55
48
|
//#region src/showcase/registry-specific.tsx
|
|
56
|
-
var
|
|
57
|
-
Z("dialog-actions", "DialogActions", "overlay", "Modal footer action row with cancel, secondary and primary actions."),
|
|
49
|
+
var oe = [
|
|
58
50
|
Z("alert-dialog", "AlertDialog", "overlay", "Destructive confirmation dialog with loading-ready action states."),
|
|
59
51
|
Z("drawer", "Drawer", "overlay", "Side panel for contextual details without leaving the page."),
|
|
60
52
|
Z("pagination", "Pagination", "navigation", "Controlled page navigation with edge buttons and active state."),
|
|
61
53
|
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
54
|
Z("search-input", "SearchInput", "inputs", "Search field with icon, count, shortcut and debounce-friendly value handling."),
|
|
64
55
|
Z("password-input", "PasswordInput", "inputs", "Password field with visibility toggle and secure autocomplete defaults."),
|
|
65
56
|
Z("slider", "Slider", "inputs", "Single value range control for density, threshold, and score tuning."),
|
|
66
57
|
Z("range-slider", "RangeSlider", "inputs", "Two-handle slider for min/max filtering."),
|
|
67
58
|
Z("rating", "Rating", "inputs", "Compact score input for feedback and review flows."),
|
|
68
59
|
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
60
|
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
61
|
Z("progress", "Progress", "display", "Linear progress with label, value formatter, tone and indeterminate state."),
|
|
73
62
|
Z("progress-circle", "ProgressCircle", "display", "Compact circular progress for sidebars and status cards."),
|
|
74
63
|
Z("timeline", "Timeline", "display", "Vertical or horizontal event stream for workflow history."),
|
|
75
64
|
Z("status-dot", "StatusDot", "display", "Tiny live status indicator with optional pulse animation."),
|
|
76
65
|
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
66
|
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
67
|
Z("data-list", "DataList", "display", "Readable title and description rows for compact operational lists."),
|
|
83
68
|
Z("status-legend", "StatusLegend", "display", "Explain status meaning and counts in a compact legend."),
|
|
84
69
|
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
70
|
Z("action-menu", "ActionMenu", "actions", "Compact dropdown action menu for rows and cards."),
|
|
87
71
|
Z("button-group", "ButtonGroup", "actions", "Grouped action buttons for view switching and compact controls."),
|
|
88
72
|
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
73
|
Z("app-header", "AppHeader", "layout", "Sticky product header with left, center and right slots."),
|
|
92
74
|
Z("section-header", "SectionHeader", "layout", "Reusable section title block with actions and metadata."),
|
|
93
75
|
Z("stat-card", "StatCard", "layout", "Dashboard stat card for KPI, trend and helper text."),
|
|
94
76
|
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
77
|
Z("page-tabs", "PageTabs", "navigation", "Top-level page tab strip for route-sized sections."),
|
|
97
78
|
Z("stepper-tabs", "StepperTabs", "navigation", "Step-like tabs for setup and onboarding progress."),
|
|
98
79
|
Z("alert", "Alert", "feedback", "Inline feedback banner for success, warning, info, and error states."),
|
|
99
80
|
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
81
|
Z("calendar", "Calendar", "calendar", "Single month calendar surface for date picker and scheduling flows."),
|
|
110
82
|
Z("file-upload", "FileUpload", "upload", "Full file upload surface with dropzone, action button and helper text."),
|
|
111
83
|
Z("image-upload", "ImageUpload", "upload", "Image upload pattern with preview-oriented copy.", "ImageUpload"),
|
|
112
84
|
Z("file-dropzone", "FileDropzone", "upload", "Lightweight file dropzone primitive for custom upload flows."),
|
|
113
85
|
Z("stepper", "Stepper", "wizard", "Clickable step navigation for multi-step forms."),
|
|
114
86
|
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
87
|
Z("resource-page", "ResourcePage", "patterns", "Full resource index page shell for admin dashboards."),
|
|
117
88
|
Z("resource-detail-page", "ResourceDetailPage", "patterns", "Detail page shell with title, metadata and sections.")
|
|
118
|
-
],
|
|
119
|
-
mock:
|
|
120
|
-
Showcase: (t) => /* @__PURE__ */ Y(
|
|
89
|
+
], se = Object.fromEntries(oe.map((e) => [e.slug, {
|
|
90
|
+
mock: ce(e),
|
|
91
|
+
Showcase: (t) => /* @__PURE__ */ Y(ue, {
|
|
121
92
|
definition: e,
|
|
122
93
|
...t
|
|
123
94
|
})
|
|
124
95
|
}]));
|
|
125
96
|
function Z(e, t, n, r, i = t) {
|
|
126
|
-
let a =
|
|
97
|
+
let a = we(e);
|
|
127
98
|
return {
|
|
128
99
|
slug: e,
|
|
129
100
|
title: a,
|
|
@@ -145,20 +116,20 @@ function Z(e, t, n, r, i = t) {
|
|
|
145
116
|
}]
|
|
146
117
|
};
|
|
147
118
|
}
|
|
148
|
-
function
|
|
119
|
+
function ce(e) {
|
|
149
120
|
return {
|
|
150
121
|
cliCommand: `npx tembro add ${e.slug}`,
|
|
151
|
-
code:
|
|
122
|
+
code: le(e),
|
|
152
123
|
highlights: e.highlights,
|
|
153
124
|
scenarios: e.scenarios,
|
|
154
|
-
capabilityNotes: [`Add ${e.slug} into your local source with the CLI.`, "Import
|
|
125
|
+
capabilityNotes: [`Add ${e.slug} into your local source with the CLI.`, "Import the public component surface from `tembro` in app code."]
|
|
155
126
|
};
|
|
156
127
|
}
|
|
157
|
-
function
|
|
128
|
+
function le(e) {
|
|
158
129
|
let t = e.importName ?? e.component;
|
|
159
|
-
return `import { ${t} } from "
|
|
130
|
+
return `import { ${t} } from "tembro"\n\nexport function Demo() {\n return <${t} />\n}`;
|
|
160
131
|
}
|
|
161
|
-
function
|
|
132
|
+
function ue({ definition: e, state: t, setState: n }) {
|
|
162
133
|
return /* @__PURE__ */ X("div", {
|
|
163
134
|
className: "space-y-5",
|
|
164
135
|
children: [/* @__PURE__ */ X("header", {
|
|
@@ -175,69 +146,59 @@ function ye({ definition: e, state: t, setState: n }) {
|
|
|
175
146
|
})] })]
|
|
176
147
|
}), /* @__PURE__ */ Y("div", {
|
|
177
148
|
className: "rounded-2xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] p-4 sm:p-5",
|
|
178
|
-
children:
|
|
149
|
+
children: de(e, t, n)
|
|
179
150
|
})]
|
|
180
151
|
});
|
|
181
152
|
}
|
|
182
|
-
function
|
|
183
|
-
return e.kind === "inputs" ? /* @__PURE__ */ Y(
|
|
153
|
+
function de(e, t, n) {
|
|
154
|
+
return e.kind === "inputs" ? /* @__PURE__ */ Y(fe, {
|
|
184
155
|
slug: e.slug,
|
|
185
156
|
state: t,
|
|
186
157
|
setState: n
|
|
187
|
-
}) : e.kind === "form" ? /* @__PURE__ */ Y(
|
|
158
|
+
}) : e.kind === "form" ? /* @__PURE__ */ Y(pe, {
|
|
188
159
|
state: t,
|
|
189
160
|
setState: n
|
|
190
|
-
}) : e.kind === "overlay" ? /* @__PURE__ */ Y(
|
|
161
|
+
}) : e.kind === "overlay" ? /* @__PURE__ */ Y(me, { slug: e.slug }) : e.kind === "navigation" ? /* @__PURE__ */ Y(Q, { slug: e.slug }) : e.kind === "feedback" ? /* @__PURE__ */ Y(he, { slug: e.slug }) : e.kind === "display" ? /* @__PURE__ */ Y(ge, { slug: e.slug }) : e.kind === "actions" ? /* @__PURE__ */ Y(_e, {
|
|
191
162
|
slug: e.slug,
|
|
192
163
|
state: t,
|
|
193
164
|
setState: n
|
|
194
|
-
}) : e.kind === "layout" ? /* @__PURE__ */ Y(
|
|
165
|
+
}) : e.kind === "layout" ? /* @__PURE__ */ Y(ve, { slug: e.slug }) : e.kind === "data-table" ? /* @__PURE__ */ Y(ye, { slug: e.slug }) : e.kind === "calendar" ? /* @__PURE__ */ Y(be, {}) : e.kind === "upload" ? /* @__PURE__ */ Y(xe, { slug: e.slug }) : e.kind === "wizard" ? /* @__PURE__ */ Y(Se, { slug: e.slug }) : e.kind === "patterns" ? /* @__PURE__ */ Y(Ce, { slug: e.slug }) : null;
|
|
195
166
|
}
|
|
196
|
-
function
|
|
197
|
-
let
|
|
198
|
-
if (e === "search-input") return /* @__PURE__ */ Y(
|
|
199
|
-
value:
|
|
200
|
-
onValueChange:
|
|
167
|
+
function fe({ slug: e, state: t, setState: n }) {
|
|
168
|
+
let o = t.textValue, s = (e) => n({ textValue: e });
|
|
169
|
+
if (e === "search-input") return /* @__PURE__ */ Y(i, {
|
|
170
|
+
value: o,
|
|
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(ne, {
|
|
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(te, {
|
|
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(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(v, {
|
|
198
|
+
value: o.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(re, {
|
|
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(_, {
|
|
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(ee, {
|
|
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(a, {
|
|
308
|
+
value: o,
|
|
348
309
|
onChange: (e) => n({ textValue: e.currentTarget.value }),
|
|
349
310
|
placeholder: "Unified input"
|
|
350
311
|
});
|
|
351
312
|
}
|
|
352
|
-
function
|
|
313
|
+
function pe({ 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(a, {
|
|
363
324
|
value: e.textValue,
|
|
364
325
|
onChange: (e) => t({ textValue: e.currentTarget.value })
|
|
365
326
|
}),
|
|
@@ -375,7 +336,7 @@ 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, {
|
|
379
340
|
value: "Active customers",
|
|
380
341
|
resultCount: 7,
|
|
381
342
|
readOnly: !0
|
|
@@ -388,24 +349,8 @@ function Se({ state: e, setState: t }) {
|
|
|
388
349
|
})]
|
|
389
350
|
});
|
|
390
351
|
}
|
|
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(_, {
|
|
352
|
+
function me({ slug: t }) {
|
|
353
|
+
return t === "alert-dialog" ? /* @__PURE__ */ Y(h, {
|
|
409
354
|
open: !1,
|
|
410
355
|
title: "Archive invoice?",
|
|
411
356
|
description: "This keeps the invoice readable but removes it from active queues.",
|
|
@@ -413,7 +358,7 @@ function Ce({ slug: t }) {
|
|
|
413
358
|
variant: "destructive",
|
|
414
359
|
children: "Open alert"
|
|
415
360
|
})
|
|
416
|
-
}) : t === "drawer" ? /* @__PURE__ */ Y(
|
|
361
|
+
}) : t === "drawer" ? /* @__PURE__ */ Y(g, {
|
|
417
362
|
open: !1,
|
|
418
363
|
trigger: /* @__PURE__ */ Y(e, {
|
|
419
364
|
variant: "outline",
|
|
@@ -421,7 +366,7 @@ function Ce({ slug: t }) {
|
|
|
421
366
|
}),
|
|
422
367
|
title: "Customer details",
|
|
423
368
|
description: "Side panel for fast inspection.",
|
|
424
|
-
children: /* @__PURE__ */ Y(
|
|
369
|
+
children: /* @__PURE__ */ Y(b, { items: [{
|
|
425
370
|
key: "plan",
|
|
426
371
|
label: "Plan",
|
|
427
372
|
value: "Scale"
|
|
@@ -445,33 +390,12 @@ function Ce({ slug: t }) {
|
|
|
445
390
|
]
|
|
446
391
|
});
|
|
447
392
|
}
|
|
448
|
-
function
|
|
449
|
-
return e === "pagination" ? /* @__PURE__ */ Y(
|
|
393
|
+
function Q({ slug: e }) {
|
|
394
|
+
return e === "pagination" ? /* @__PURE__ */ Y(d, {
|
|
450
395
|
page: 3,
|
|
451
396
|
pageCount: 9,
|
|
452
397
|
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, {
|
|
398
|
+
}) : e === "page-tabs" ? /* @__PURE__ */ Y(u, {
|
|
475
399
|
value: "overview",
|
|
476
400
|
variant: "pills",
|
|
477
401
|
items: [
|
|
@@ -489,7 +413,7 @@ function we({ slug: e }) {
|
|
|
489
413
|
badge: "3"
|
|
490
414
|
}
|
|
491
415
|
]
|
|
492
|
-
}) : e === "stepper-tabs" ? /* @__PURE__ */ Y(
|
|
416
|
+
}) : e === "stepper-tabs" ? /* @__PURE__ */ Y(f, {
|
|
493
417
|
value: "billing",
|
|
494
418
|
items: [
|
|
495
419
|
{
|
|
@@ -509,7 +433,7 @@ function we({ slug: e }) {
|
|
|
509
433
|
description: "Confirm release"
|
|
510
434
|
}
|
|
511
435
|
]
|
|
512
|
-
}) : /* @__PURE__ */ Y(
|
|
436
|
+
}) : /* @__PURE__ */ Y(l, {
|
|
513
437
|
value: "overview",
|
|
514
438
|
items: [
|
|
515
439
|
{
|
|
@@ -527,8 +451,8 @@ function we({ slug: e }) {
|
|
|
527
451
|
]
|
|
528
452
|
});
|
|
529
453
|
}
|
|
530
|
-
function
|
|
531
|
-
return t === "alert" ? /* @__PURE__ */ Y(
|
|
454
|
+
function he({ slug: t }) {
|
|
455
|
+
return t === "alert" ? /* @__PURE__ */ Y(ie, {
|
|
532
456
|
tone: "warning",
|
|
533
457
|
title: "Review needed",
|
|
534
458
|
description: "Billing rules changed and one approval is pending.",
|
|
@@ -536,7 +460,7 @@ function Te({ slug: t }) {
|
|
|
536
460
|
size: "sm",
|
|
537
461
|
children: "Open"
|
|
538
462
|
})
|
|
539
|
-
}) : t === "page-state" ? /* @__PURE__ */ Y(
|
|
463
|
+
}) : t === "page-state" ? /* @__PURE__ */ Y(ae, {
|
|
540
464
|
title: "Workspace connected",
|
|
541
465
|
description: "The route is ready to accept live data and team actions.",
|
|
542
466
|
tone: "success",
|
|
@@ -566,45 +490,17 @@ function Te({ slug: t }) {
|
|
|
566
490
|
]
|
|
567
491
|
});
|
|
568
492
|
}
|
|
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, {
|
|
493
|
+
function ge({ slug: t }) {
|
|
494
|
+
return t === "progress" ? /* @__PURE__ */ Y(S, {
|
|
599
495
|
label: "Migration progress",
|
|
600
496
|
description: "Production rollout",
|
|
601
497
|
value: 68,
|
|
602
498
|
tone: "success",
|
|
603
499
|
showValue: !0
|
|
604
|
-
}) : t === "progress-circle" ? /* @__PURE__ */ Y(
|
|
500
|
+
}) : t === "progress-circle" ? /* @__PURE__ */ Y(C, {
|
|
605
501
|
value: 72,
|
|
606
502
|
label: "Profile completed"
|
|
607
|
-
}) : t === "timeline" ? /* @__PURE__ */ Y(
|
|
503
|
+
}) : t === "timeline" ? /* @__PURE__ */ Y(E, {
|
|
608
504
|
items: [
|
|
609
505
|
{
|
|
610
506
|
key: "created",
|
|
@@ -630,7 +526,7 @@ function Ee({ slug: t }) {
|
|
|
630
526
|
],
|
|
631
527
|
pending: !0,
|
|
632
528
|
pendingLabel: "Paid"
|
|
633
|
-
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */ Y(
|
|
529
|
+
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */ Y(O, {
|
|
634
530
|
title: "Revenue",
|
|
635
531
|
value: "$84.2k",
|
|
636
532
|
description: "Compared with last month",
|
|
@@ -642,65 +538,21 @@ function Ee({ slug: t }) {
|
|
|
642
538
|
}) : t === "status-dot" ? /* @__PURE__ */ X("div", {
|
|
643
539
|
className: "grid gap-3",
|
|
644
540
|
children: [
|
|
645
|
-
/* @__PURE__ */ Y(
|
|
541
|
+
/* @__PURE__ */ Y(w, {
|
|
646
542
|
tone: "success",
|
|
647
543
|
pulse: !0,
|
|
648
544
|
label: "API healthy"
|
|
649
545
|
}),
|
|
650
|
-
/* @__PURE__ */ Y(
|
|
546
|
+
/* @__PURE__ */ Y(w, {
|
|
651
547
|
tone: "warning",
|
|
652
548
|
label: "Sync delayed"
|
|
653
549
|
}),
|
|
654
|
-
/* @__PURE__ */ Y(
|
|
550
|
+
/* @__PURE__ */ Y(w, {
|
|
655
551
|
tone: "danger",
|
|
656
552
|
label: "Webhook failed"
|
|
657
553
|
})
|
|
658
554
|
]
|
|
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: [
|
|
555
|
+
}) : t === "notification-center" ? /* @__PURE__ */ Y(x, { items: [
|
|
704
556
|
{
|
|
705
557
|
key: "1",
|
|
706
558
|
title: "Build completed",
|
|
@@ -719,20 +571,7 @@ function Ee({ slug: t }) {
|
|
|
719
571
|
description: "Package version is ready for release.",
|
|
720
572
|
extra: "1h"
|
|
721
573
|
}
|
|
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: [
|
|
574
|
+
] }) : t === "data-list" ? /* @__PURE__ */ Y(x, { items: [
|
|
736
575
|
{
|
|
737
576
|
key: "1",
|
|
738
577
|
title: "Enterprise plan",
|
|
@@ -751,7 +590,7 @@ function Ee({ slug: t }) {
|
|
|
751
590
|
description: "Lightweight team setup",
|
|
752
591
|
extra: "$49"
|
|
753
592
|
}
|
|
754
|
-
] }) : t === "status-legend" ? /* @__PURE__ */ Y(
|
|
593
|
+
] }) : t === "status-legend" ? /* @__PURE__ */ Y(T, {
|
|
755
594
|
title: "Delivery states",
|
|
756
595
|
description: "Explain what each state means and how often it appears.",
|
|
757
596
|
orientation: "grid",
|
|
@@ -778,7 +617,7 @@ function Ee({ slug: t }) {
|
|
|
778
617
|
count: 1
|
|
779
618
|
}
|
|
780
619
|
]
|
|
781
|
-
}) : t === "trend-card"
|
|
620
|
+
}) : t === "trend-card" ? /* @__PURE__ */ Y(O, {
|
|
782
621
|
title: t === "trend-card" ? "Weekly revenue" : "Current vs previous",
|
|
783
622
|
value: "$84.2k",
|
|
784
623
|
description: "Compared with last month",
|
|
@@ -789,7 +628,7 @@ function Ee({ slug: t }) {
|
|
|
789
628
|
icon: /* @__PURE__ */ Y(G, {})
|
|
790
629
|
}) : t === "info-card" ? /* @__PURE__ */ X("div", {
|
|
791
630
|
className: "grid gap-4",
|
|
792
|
-
children: [/* @__PURE__ */ Y(
|
|
631
|
+
children: [/* @__PURE__ */ Y(k, {
|
|
793
632
|
eyebrow: "Summary",
|
|
794
633
|
title: "Workspace",
|
|
795
634
|
description: "Reusable card surface with header, actions and metadata.",
|
|
@@ -820,7 +659,7 @@ function Ee({ slug: t }) {
|
|
|
820
659
|
})
|
|
821
660
|
]
|
|
822
661
|
})]
|
|
823
|
-
}) : /* @__PURE__ */ Y(
|
|
662
|
+
}) : /* @__PURE__ */ Y(D, {
|
|
824
663
|
name: "Azamat Jurayev",
|
|
825
664
|
description: "Product designer and maintainer",
|
|
826
665
|
meta: "Admin workspace",
|
|
@@ -830,10 +669,10 @@ function Ee({ slug: t }) {
|
|
|
830
669
|
})
|
|
831
670
|
});
|
|
832
671
|
}
|
|
833
|
-
function
|
|
834
|
-
return r === "filter-bar" ? /* @__PURE__ */ Y(
|
|
835
|
-
search: /* @__PURE__ */ Y(
|
|
836
|
-
value:
|
|
672
|
+
function _e({ slug: r, state: a, setState: o }) {
|
|
673
|
+
return r === "filter-bar" ? /* @__PURE__ */ Y(p, {
|
|
674
|
+
search: /* @__PURE__ */ Y(i, {
|
|
675
|
+
value: a.textValue,
|
|
837
676
|
onValueChange: (e) => o({ textValue: e }),
|
|
838
677
|
placeholder: "Search invoices..."
|
|
839
678
|
}),
|
|
@@ -848,31 +687,6 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
848
687
|
size: "sm",
|
|
849
688
|
children: "Export"
|
|
850
689
|
})
|
|
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
690
|
}) : r === "button-group" ? /* @__PURE__ */ Y(n, { items: [
|
|
877
691
|
{
|
|
878
692
|
key: "day",
|
|
@@ -886,7 +700,7 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
886
700
|
key: "month",
|
|
887
701
|
label: "Month"
|
|
888
702
|
}
|
|
889
|
-
] }) : r === "quick-action-grid" ? /* @__PURE__ */ Y(
|
|
703
|
+
] }) : r === "quick-action-grid" ? /* @__PURE__ */ Y(s, {
|
|
890
704
|
columns: 3,
|
|
891
705
|
items: [
|
|
892
706
|
{
|
|
@@ -908,52 +722,9 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
908
722
|
badge: "S"
|
|
909
723
|
}
|
|
910
724
|
]
|
|
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
725
|
}) : r === "saved-filter-select" ? /* @__PURE__ */ X("div", {
|
|
955
726
|
className: "grid gap-4",
|
|
956
|
-
children: [/* @__PURE__ */ Y(
|
|
727
|
+
children: [/* @__PURE__ */ Y(m, {
|
|
957
728
|
value: "billing",
|
|
958
729
|
onValueChange: () => void 0,
|
|
959
730
|
onSave: () => void 0,
|
|
@@ -1006,17 +777,17 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
1006
777
|
{
|
|
1007
778
|
key: "open",
|
|
1008
779
|
label: "Open",
|
|
1009
|
-
icon: /* @__PURE__ */ Y(
|
|
780
|
+
icon: /* @__PURE__ */ Y(H, { className: "size-4" })
|
|
1010
781
|
},
|
|
1011
782
|
{
|
|
1012
783
|
key: "download",
|
|
1013
784
|
label: "Download",
|
|
1014
|
-
icon: /* @__PURE__ */ Y(
|
|
785
|
+
icon: /* @__PURE__ */ Y(U, { className: "size-4" })
|
|
1015
786
|
},
|
|
1016
787
|
{
|
|
1017
788
|
key: "archive",
|
|
1018
789
|
label: "Archive",
|
|
1019
|
-
icon: /* @__PURE__ */ Y(
|
|
790
|
+
icon: /* @__PURE__ */ Y(B, { className: "size-4" }),
|
|
1020
791
|
destructive: !0
|
|
1021
792
|
}
|
|
1022
793
|
],
|
|
@@ -1029,14 +800,14 @@ function De({ slug: r, state: i, setState: o }) {
|
|
|
1029
800
|
})]
|
|
1030
801
|
});
|
|
1031
802
|
}
|
|
1032
|
-
function
|
|
1033
|
-
return t === "app-header" ? /* @__PURE__ */ Y(
|
|
803
|
+
function ve({ slug: t }) {
|
|
804
|
+
return t === "app-header" ? /* @__PURE__ */ Y(I, {
|
|
1034
805
|
sticky: !1,
|
|
1035
806
|
left: /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(G, { className: "size-4" }), /* @__PURE__ */ Y("span", {
|
|
1036
807
|
className: "font-medium",
|
|
1037
808
|
children: "Dashboard"
|
|
1038
809
|
})] }),
|
|
1039
|
-
center: /* @__PURE__ */ Y(
|
|
810
|
+
center: /* @__PURE__ */ Y(o, {
|
|
1040
811
|
variant: "secondary",
|
|
1041
812
|
children: "Preview"
|
|
1042
813
|
}),
|
|
@@ -1044,13 +815,13 @@ function Oe({ slug: t }) {
|
|
|
1044
815
|
variant: "ghost",
|
|
1045
816
|
size: "icon-sm",
|
|
1046
817
|
"aria-label": "Notifications",
|
|
1047
|
-
children: /* @__PURE__ */ Y(
|
|
818
|
+
children: /* @__PURE__ */ Y(V, {})
|
|
1048
819
|
}), /* @__PURE__ */ Y(e, {
|
|
1049
820
|
size: "sm",
|
|
1050
821
|
children: "Deploy"
|
|
1051
822
|
})] }),
|
|
1052
823
|
className: "rounded-xl border border-[color:var(--aui-divider)]"
|
|
1053
|
-
}) : t === "section-header" ? /* @__PURE__ */ Y(
|
|
824
|
+
}) : t === "section-header" ? /* @__PURE__ */ Y(c, {
|
|
1054
825
|
eyebrow: "Components",
|
|
1055
826
|
title: "Production-ready surfaces",
|
|
1056
827
|
description: "SectionHeader keeps copy, metadata and actions aligned.",
|
|
@@ -1058,7 +829,7 @@ function Oe({ slug: t }) {
|
|
|
1058
829
|
size: "sm",
|
|
1059
830
|
children: "Add component"
|
|
1060
831
|
})
|
|
1061
|
-
}) : /* @__PURE__ */ Y(
|
|
832
|
+
}) : /* @__PURE__ */ Y(O, {
|
|
1062
833
|
title: "Revenue",
|
|
1063
834
|
value: "$84.2k",
|
|
1064
835
|
description: "Compared with last month",
|
|
@@ -1069,13 +840,13 @@ function Oe({ slug: t }) {
|
|
|
1069
840
|
helperText: "StatCard keeps KPI, helper text and trend in one compact tile."
|
|
1070
841
|
});
|
|
1071
842
|
}
|
|
1072
|
-
function
|
|
843
|
+
function ye({ slug: t }) {
|
|
1073
844
|
return /* @__PURE__ */ X("div", {
|
|
1074
845
|
className: "overflow-hidden rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
1075
846
|
children: [
|
|
1076
847
|
/* @__PURE__ */ X("div", {
|
|
1077
848
|
className: "flex flex-wrap items-center justify-between gap-3 border-b border-[color:var(--aui-divider)] p-3",
|
|
1078
|
-
children: [/* @__PURE__ */ Y(
|
|
849
|
+
children: [/* @__PURE__ */ Y(i, {
|
|
1079
850
|
value: "",
|
|
1080
851
|
placeholder: "Search rows...",
|
|
1081
852
|
className: "max-w-xs",
|
|
@@ -1135,16 +906,11 @@ function Q({ slug: t }) {
|
|
|
1135
906
|
/* @__PURE__ */ X("div", {
|
|
1136
907
|
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
908
|
children: [/* @__PURE__ */ X("span", { children: [{
|
|
1138
|
-
"data-table-pagination": "Pagination footer",
|
|
1139
|
-
"data-table-toolbar": "Search and filter toolbar",
|
|
1140
909
|
"data-table-column-visibility-menu": "Column visibility",
|
|
1141
|
-
"data-table-select-column": "Row selection",
|
|
1142
910
|
"data-table-sortable-header": "Sortable header",
|
|
1143
|
-
"data-table-row-actions": "Row actions",
|
|
1144
|
-
"data-table-actions-column": "Actions column",
|
|
1145
911
|
"data-table-bulk-actions": "Bulk action bar",
|
|
1146
912
|
"data-table-view-presets": "Saved view presets"
|
|
1147
|
-
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ Y(
|
|
913
|
+
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ Y(d, {
|
|
1148
914
|
page: 1,
|
|
1149
915
|
pageCount: 4,
|
|
1150
916
|
onPageChange: () => void 0,
|
|
@@ -1154,20 +920,20 @@ function Q({ slug: t }) {
|
|
|
1154
920
|
]
|
|
1155
921
|
});
|
|
1156
922
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return /* @__PURE__ */ Y(
|
|
923
|
+
function be() {
|
|
924
|
+
return /* @__PURE__ */ Y(A, {
|
|
1159
925
|
value: "2026-06-18",
|
|
1160
926
|
defaultMonth: "2026-06-01",
|
|
1161
927
|
onValueChange: () => void 0
|
|
1162
928
|
});
|
|
1163
929
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return e === "file-dropzone" ? /* @__PURE__ */ Y(
|
|
930
|
+
function xe({ slug: e }) {
|
|
931
|
+
return e === "file-dropzone" ? /* @__PURE__ */ Y(N, {
|
|
1166
932
|
label: "Drop contract files",
|
|
1167
933
|
description: "PDF, PNG or CSV up to 10MB."
|
|
1168
934
|
}) : e === "file-upload" ? /* @__PURE__ */ X("div", {
|
|
1169
935
|
className: "grid gap-4",
|
|
1170
|
-
children: [/* @__PURE__ */ Y(
|
|
936
|
+
children: [/* @__PURE__ */ Y(j, {
|
|
1171
937
|
dropzoneLabel: "Upload documents",
|
|
1172
938
|
dropzoneDescription: "Drag files here or choose from your device.",
|
|
1173
939
|
buttonLabel: "Choose files",
|
|
@@ -1191,7 +957,7 @@ function Ae({ slug: e }) {
|
|
|
1191
957
|
})]
|
|
1192
958
|
}) : e === "image-upload" ? /* @__PURE__ */ X("div", {
|
|
1193
959
|
className: "grid gap-4",
|
|
1194
|
-
children: [/* @__PURE__ */ Y(
|
|
960
|
+
children: [/* @__PURE__ */ Y(M, {
|
|
1195
961
|
dropzoneLabel: "Upload product image",
|
|
1196
962
|
helperText: "Preview-friendly upload for gallery and hero assets."
|
|
1197
963
|
}), /* @__PURE__ */ X("div", {
|
|
@@ -1215,15 +981,15 @@ function Ae({ slug: e }) {
|
|
|
1215
981
|
className: "grid gap-4 md:grid-cols-[160px_1fr] md:items-center",
|
|
1216
982
|
children: [/* @__PURE__ */ Y("div", {
|
|
1217
983
|
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(
|
|
984
|
+
children: /* @__PURE__ */ Y(q, { className: "size-8 aui-text-muted" })
|
|
985
|
+
}), /* @__PURE__ */ Y(N, {
|
|
1220
986
|
label: "Upload product image",
|
|
1221
987
|
description: "Shows the image-upload flow without custom CSS.",
|
|
1222
988
|
accept: "image/*"
|
|
1223
989
|
})]
|
|
1224
990
|
});
|
|
1225
991
|
}
|
|
1226
|
-
function
|
|
992
|
+
function Se({ slug: e }) {
|
|
1227
993
|
let t = [
|
|
1228
994
|
{
|
|
1229
995
|
id: "profile",
|
|
@@ -1242,11 +1008,11 @@ function je({ slug: e }) {
|
|
|
1242
1008
|
description: "Confirm data"
|
|
1243
1009
|
}
|
|
1244
1010
|
];
|
|
1245
|
-
return e === "stepper" ? /* @__PURE__ */ Y(
|
|
1011
|
+
return e === "stepper" ? /* @__PURE__ */ Y(P, {
|
|
1246
1012
|
steps: t,
|
|
1247
1013
|
currentStep: "billing",
|
|
1248
1014
|
onStepChange: () => void 0
|
|
1249
|
-
}) : /* @__PURE__ */ Y(
|
|
1015
|
+
}) : /* @__PURE__ */ Y(F, {
|
|
1250
1016
|
steps: t,
|
|
1251
1017
|
currentStep: "billing",
|
|
1252
1018
|
onNext: () => void 0,
|
|
@@ -1264,17 +1030,17 @@ function je({ slug: e }) {
|
|
|
1264
1030
|
})
|
|
1265
1031
|
});
|
|
1266
1032
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return t === "resource-detail-page" ? /* @__PURE__ */ Y(
|
|
1033
|
+
function Ce({ slug: t }) {
|
|
1034
|
+
return t === "resource-detail-page" ? /* @__PURE__ */ Y(L, {
|
|
1269
1035
|
title: "Customer profile",
|
|
1270
1036
|
description: "ResourceDetailPage organizes detail screens.",
|
|
1271
1037
|
actions: /* @__PURE__ */ Y(e, {
|
|
1272
1038
|
size: "sm",
|
|
1273
1039
|
children: "Edit"
|
|
1274
1040
|
}),
|
|
1275
|
-
children: /* @__PURE__ */ Y(
|
|
1041
|
+
children: /* @__PURE__ */ Y(z, {
|
|
1276
1042
|
title: "Account",
|
|
1277
|
-
children: /* @__PURE__ */ Y(
|
|
1043
|
+
children: /* @__PURE__ */ Y(b, { items: [{
|
|
1278
1044
|
key: "plan",
|
|
1279
1045
|
label: "Plan",
|
|
1280
1046
|
value: "Scale"
|
|
@@ -1284,7 +1050,7 @@ function Me({ slug: t }) {
|
|
|
1284
1050
|
value: "Design team"
|
|
1285
1051
|
}] })
|
|
1286
1052
|
})
|
|
1287
|
-
}) : /* @__PURE__ */ Y(
|
|
1053
|
+
}) : /* @__PURE__ */ Y(R, {
|
|
1288
1054
|
title: "Customers",
|
|
1289
1055
|
description: "ResourcePage combines header, stats, filters and sections.",
|
|
1290
1056
|
actions: /* @__PURE__ */ Y(e, {
|
|
@@ -1293,14 +1059,14 @@ function Me({ slug: t }) {
|
|
|
1293
1059
|
}),
|
|
1294
1060
|
stats: /* @__PURE__ */ X("div", {
|
|
1295
1061
|
className: "grid gap-3 sm:grid-cols-2",
|
|
1296
|
-
children: [/* @__PURE__ */ Y(
|
|
1062
|
+
children: [/* @__PURE__ */ Y(O, {
|
|
1297
1063
|
title: "Active",
|
|
1298
1064
|
value: "2,418",
|
|
1299
1065
|
trend: {
|
|
1300
1066
|
value: "+8%",
|
|
1301
1067
|
tone: "success"
|
|
1302
1068
|
}
|
|
1303
|
-
}), /* @__PURE__ */ Y(
|
|
1069
|
+
}), /* @__PURE__ */ Y(O, {
|
|
1304
1070
|
title: "Health",
|
|
1305
1071
|
value: "94%",
|
|
1306
1072
|
trend: {
|
|
@@ -1309,17 +1075,17 @@ function Me({ slug: t }) {
|
|
|
1309
1075
|
}
|
|
1310
1076
|
})]
|
|
1311
1077
|
}),
|
|
1312
|
-
filters: /* @__PURE__ */ Y(
|
|
1313
|
-
search: /* @__PURE__ */ Y(
|
|
1078
|
+
filters: /* @__PURE__ */ Y(p, {
|
|
1079
|
+
search: /* @__PURE__ */ Y(i, {
|
|
1314
1080
|
value: "",
|
|
1315
1081
|
placeholder: "Search...",
|
|
1316
1082
|
readOnly: !0
|
|
1317
1083
|
}),
|
|
1318
1084
|
activeCount: 1
|
|
1319
1085
|
}),
|
|
1320
|
-
children: /* @__PURE__ */ Y(
|
|
1086
|
+
children: /* @__PURE__ */ Y(z, {
|
|
1321
1087
|
title: "Recent activity",
|
|
1322
|
-
children: /* @__PURE__ */ Y(
|
|
1088
|
+
children: /* @__PURE__ */ Y(E, { items: [{
|
|
1323
1089
|
key: "a",
|
|
1324
1090
|
title: "Customer added",
|
|
1325
1091
|
description: "Acme workspace",
|
|
@@ -1333,11 +1099,11 @@ function Me({ slug: t }) {
|
|
|
1333
1099
|
})
|
|
1334
1100
|
});
|
|
1335
1101
|
}
|
|
1336
|
-
function
|
|
1102
|
+
function we(e) {
|
|
1337
1103
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
1338
1104
|
}
|
|
1339
1105
|
function $({ tone: e, children: t }) {
|
|
1340
|
-
return /* @__PURE__ */ Y(
|
|
1106
|
+
return /* @__PURE__ */ Y(o, {
|
|
1341
1107
|
variant: {
|
|
1342
1108
|
success: "secondary",
|
|
1343
1109
|
warning: "outline",
|
|
@@ -1348,4 +1114,4 @@ function $({ tone: e, children: t }) {
|
|
|
1348
1114
|
});
|
|
1349
1115
|
}
|
|
1350
1116
|
//#endregion
|
|
1351
|
-
export {
|
|
1117
|
+
export { se as registrySpecificDemoRegistry };
|