@nanisoft/prism-ui 0.10.2 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/.tsbuildinfo +1 -1
- package/dist/blocks/app-shell-01/app-shell.js +4 -4
- package/dist/blocks/app-shell-01/index.d.ts +2 -2
- package/dist/blocks/app-shell-01/index.js +1 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts +11 -1
- package/dist/blocks/auth-form-01/auth-form.d.ts.map +1 -1
- package/dist/blocks/auth-form-01/auth-form.js +11 -8
- package/dist/blocks/auth-form-01/index.d.ts +2 -2
- package/dist/blocks/auth-form-01/index.js +1 -1
- package/dist/blocks/cta-01/cta.d.ts +26 -21
- package/dist/blocks/cta-01/cta.d.ts.map +1 -1
- package/dist/blocks/cta-01/cta.js +2 -2
- package/dist/blocks/cta-01/index.d.ts +2 -2
- package/dist/blocks/cta-01/index.js +1 -1
- package/dist/blocks/data-table-01/data-table.js +7 -7
- package/dist/blocks/data-table-01/index.d.ts +2 -2
- package/dist/blocks/data-table-01/index.js +1 -1
- package/dist/blocks/empty-state-01/empty-state.d.ts +143 -0
- package/dist/blocks/empty-state-01/empty-state.d.ts.map +1 -0
- package/dist/blocks/empty-state-01/empty-state.js +104 -0
- package/dist/blocks/empty-state-01/index.d.ts +3 -0
- package/dist/blocks/empty-state-01/index.d.ts.map +1 -0
- package/dist/blocks/empty-state-01/index.js +1 -0
- package/dist/blocks/feature-grid-01/feature-grid.d.ts +28 -1
- package/dist/blocks/feature-grid-01/feature-grid.d.ts.map +1 -1
- package/dist/blocks/feature-grid-01/feature-grid.js +34 -3
- package/dist/blocks/feature-grid-01/index.d.ts +2 -2
- package/dist/blocks/feature-grid-01/index.js +1 -1
- package/dist/blocks/hero-01/hero.d.ts +35 -15
- package/dist/blocks/hero-01/hero.d.ts.map +1 -1
- package/dist/blocks/hero-01/hero.js +14 -9
- package/dist/blocks/hero-01/index.d.ts +2 -1
- package/dist/blocks/hero-01/index.d.ts.map +1 -1
- package/dist/blocks/hero-01/index.js +1 -1
- package/dist/blocks/index.d.ts +20 -20
- package/dist/blocks/index.js +19 -19
- package/dist/blocks/instrument-panel-01/index.d.ts +2 -2
- package/dist/blocks/instrument-panel-01/index.js +1 -1
- package/dist/blocks/instrument-panel-01/instrument-panel.js +1 -1
- package/dist/blocks/logo-strip-01/index.d.ts +2 -2
- package/dist/blocks/logo-strip-01/index.js +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.d.ts +1 -1
- package/dist/blocks/logo-strip-01/logo-strip.js +2 -2
- package/dist/blocks/note-grid-01/index.d.ts +2 -2
- package/dist/blocks/note-grid-01/index.js +1 -1
- package/dist/blocks/note-grid-01/note-grid.d.ts +1 -1
- package/dist/blocks/note-grid-01/note-grid.js +1 -1
- package/dist/blocks/page-header-01/index.d.ts +2 -2
- package/dist/blocks/page-header-01/index.js +1 -1
- package/dist/blocks/page-header-01/page-header.d.ts +1 -1
- package/dist/blocks/page-header-01/page-header.js +4 -4
- package/dist/blocks/pricing-01/index.d.ts +1 -1
- package/dist/blocks/pricing-01/index.js +1 -1
- package/dist/blocks/pricing-01/pricing.d.ts +8 -1
- package/dist/blocks/pricing-01/pricing.d.ts.map +1 -1
- package/dist/blocks/pricing-01/pricing.js +15 -5
- package/dist/blocks/process-flow-01/index.d.ts +3 -0
- package/dist/blocks/process-flow-01/index.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/index.js +1 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts +118 -0
- package/dist/blocks/process-flow-01/process-flow.d.ts.map +1 -0
- package/dist/blocks/process-flow-01/process-flow.js +71 -0
- package/dist/blocks/process-rail-01/index.d.ts +2 -2
- package/dist/blocks/process-rail-01/index.js +1 -1
- package/dist/blocks/process-rail-01/process-rail.d.ts +1 -1
- package/dist/blocks/process-rail-01/process-rail.js +2 -2
- package/dist/blocks/product-grid-01/index.d.ts +2 -2
- package/dist/blocks/product-grid-01/index.js +1 -1
- package/dist/blocks/product-grid-01/product-grid.d.ts +37 -5
- package/dist/blocks/product-grid-01/product-grid.d.ts.map +1 -1
- package/dist/blocks/product-grid-01/product-grid.js +20 -6
- package/dist/blocks/run-console-01/index.d.ts +3 -0
- package/dist/blocks/run-console-01/index.d.ts.map +1 -0
- package/dist/blocks/run-console-01/index.js +1 -0
- package/dist/blocks/run-console-01/run-console.d.ts +111 -0
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -0
- package/dist/blocks/run-console-01/run-console.js +48 -0
- package/dist/blocks/settings-panel-01/index.d.ts +2 -2
- package/dist/blocks/settings-panel-01/index.js +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts +11 -1
- package/dist/blocks/settings-panel-01/settings-panel.d.ts.map +1 -1
- package/dist/blocks/settings-panel-01/settings-panel.js +15 -10
- package/dist/blocks/site-footer/index.d.ts +2 -2
- package/dist/blocks/site-footer/index.js +1 -1
- package/dist/blocks/site-footer/site-footer.d.ts +1 -1
- package/dist/blocks/site-footer/site-footer.js +2 -2
- package/dist/blocks/site-header/index.d.ts +2 -2
- package/dist/blocks/site-header/index.js +1 -1
- package/dist/blocks/site-header/site-header.d.ts +2 -2
- package/dist/blocks/site-header/site-header.js +3 -3
- package/dist/blocks/site-navbar/index.d.ts +3 -0
- package/dist/blocks/site-navbar/index.d.ts.map +1 -0
- package/dist/blocks/site-navbar/index.js +1 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts +48 -0
- package/dist/blocks/site-navbar/mobile-nav.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mobile-nav.js +35 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts +39 -0
- package/dist/blocks/site-navbar/mode-toggle.d.ts.map +1 -0
- package/dist/blocks/site-navbar/mode-toggle.js +39 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts +79 -0
- package/dist/blocks/site-navbar/navbar-controls.d.ts.map +1 -0
- package/dist/blocks/site-navbar/navbar-controls.js +40 -0
- package/dist/blocks/site-navbar/search-entry.d.ts +29 -0
- package/dist/blocks/site-navbar/search-entry.d.ts.map +1 -0
- package/dist/blocks/site-navbar/search-entry.js +52 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts +212 -0
- package/dist/blocks/site-navbar/site-navbar.d.ts.map +1 -0
- package/dist/blocks/site-navbar/site-navbar.js +61 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts +40 -0
- package/dist/blocks/site-navbar/sites-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/sites-menu.js +48 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts +47 -0
- package/dist/blocks/site-navbar/theme-menu.d.ts.map +1 -0
- package/dist/blocks/site-navbar/theme-menu.js +55 -0
- package/dist/blocks/stack-grid-01/index.d.ts +2 -2
- package/dist/blocks/stack-grid-01/index.js +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +42 -11
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +15 -7
- package/dist/blocks/stats-01/index.d.ts +9 -1
- package/dist/blocks/stats-01/index.d.ts.map +1 -1
- package/dist/blocks/stats-01/index.js +8 -1
- package/dist/blocks/stats-01/stats.d.ts +1 -1
- package/dist/blocks/stats-01/stats.js +2 -2
- package/dist/blocks/status-ledger-01/index.d.ts +2 -2
- package/dist/blocks/status-ledger-01/index.js +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.d.ts +1 -1
- package/dist/blocks/status-ledger-01/status-ledger.js +2 -2
- package/dist/catalog.d.ts +1 -1
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +473 -1
- package/dist/components/index.d.ts +104 -66
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +74 -40
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/alert-dialog.d.ts +119 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +82 -0
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +60 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +61 -0
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button-group.d.ts +68 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +54 -0
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/calendar.d.ts +158 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +216 -0
- package/dist/components/ui/card.d.ts +18 -6
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +23 -8
- package/dist/components/ui/carousel.d.ts +118 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +152 -0
- package/dist/components/ui/chart-frame.d.ts +216 -0
- package/dist/components/ui/chart-frame.d.ts.map +1 -0
- package/dist/components/ui/chart-frame.js +286 -0
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/collapsible.d.ts +97 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +54 -0
- package/dist/components/ui/combobox.d.ts +141 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +243 -0
- package/dist/components/ui/command-palette.d.ts +106 -0
- package/dist/components/ui/command-palette.d.ts.map +1 -0
- package/dist/components/ui/command-palette.js +176 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +37 -0
- package/dist/components/ui/context-menu.d.ts +151 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +97 -0
- package/dist/components/ui/cta-link.js +1 -1
- package/dist/components/ui/date-picker.d.ts +111 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/date-picker.js +74 -0
- package/dist/components/ui/diagram.d.ts +84 -15
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +77 -7
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/diff.d.ts +105 -0
- package/dist/components/ui/diff.d.ts.map +1 -0
- package/dist/components/ui/diff.js +113 -0
- package/dist/components/ui/dropdown-menu.d.ts +18 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/fact-list.js +1 -1
- package/dist/components/ui/field.js +1 -1
- package/dist/components/ui/form.d.ts +151 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +73 -0
- package/dist/components/ui/hover-card.d.ts +105 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +49 -0
- package/dist/components/ui/input-group.d.ts +99 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +83 -0
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/item.d.ts +113 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +61 -0
- package/dist/components/ui/kbd.js +1 -1
- package/dist/components/ui/label.d.ts +58 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +29 -0
- package/dist/components/ui/live-region.d.ts +9 -0
- package/dist/components/ui/live-region.d.ts.map +1 -1
- package/dist/components/ui/live-region.js +10 -2
- package/dist/components/ui/mark.js +1 -1
- package/dist/components/ui/menubar.d.ts +197 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +109 -0
- package/dist/components/ui/meter.d.ts +121 -0
- package/dist/components/ui/meter.d.ts.map +1 -0
- package/dist/components/ui/meter.js +82 -0
- package/dist/components/ui/native-select.d.ts +72 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/native-select.js +55 -0
- package/dist/components/ui/navigation-menu.d.ts +186 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +94 -0
- package/dist/components/ui/number-field.d.ts +111 -0
- package/dist/components/ui/number-field.d.ts.map +1 -0
- package/dist/components/ui/number-field.js +84 -0
- package/dist/components/ui/one-time-code.d.ts +127 -0
- package/dist/components/ui/one-time-code.d.ts.map +1 -0
- package/dist/components/ui/one-time-code.js +57 -0
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/product-mark.d.ts +1 -1
- package/dist/components/ui/product-mark.js +1 -1
- package/dist/components/ui/product-switcher.d.ts +1 -1
- package/dist/components/ui/product-switcher.js +2 -2
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/prose.js +1 -1
- package/dist/components/ui/pulse-graph.js +1 -1
- package/dist/components/ui/pulse-series.js +1 -1
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/resizable.d.ts +129 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +205 -0
- package/dist/components/ui/scroll-area.d.ts +97 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +68 -0
- package/dist/components/ui/search-dialog.d.ts +139 -0
- package/dist/components/ui/search-dialog.d.ts.map +1 -0
- package/dist/components/ui/search-dialog.js +178 -0
- package/dist/components/ui/section.d.ts +26 -0
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +32 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/sheet.d.ts +103 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +58 -0
- package/dist/components/ui/sidebar.d.ts +228 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +172 -0
- package/dist/components/ui/signal-field.js +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/spinner.d.ts +79 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +79 -0
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/table-sort.d.ts +97 -0
- package/dist/components/ui/table-sort.d.ts.map +1 -0
- package/dist/components/ui/table-sort.js +102 -0
- package/dist/components/ui/table.js +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/timeline.d.ts +106 -0
- package/dist/components/ui/timeline.d.ts.map +1 -0
- package/dist/components/ui/timeline.js +111 -0
- package/dist/components/ui/toast.d.ts +219 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +270 -0
- package/dist/components/ui/toggle-group.d.ts +118 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +194 -0
- package/dist/components/ui/toggle.d.ts +73 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +44 -0
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tree.js +1 -1
- package/dist/components/ui/typography.js +1 -1
- package/dist/fonts/Inter-OFL.txt +93 -93
- package/dist/index.d.ts +72 -70
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +61 -60
- package/dist/lib/rank.d.ts +69 -0
- package/dist/lib/rank.d.ts.map +1 -0
- package/dist/lib/rank.js +77 -0
- package/dist/live/index.d.ts +22 -0
- package/dist/live/index.d.ts.map +1 -0
- package/dist/live/index.js +20 -0
- package/dist/live/run-stream-01/index.d.ts +3 -0
- package/dist/live/run-stream-01/index.d.ts.map +1 -0
- package/dist/live/run-stream-01/index.js +1 -0
- package/dist/live/run-stream-01/run-stream.d.ts +125 -0
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -0
- package/dist/live/run-stream-01/run-stream.js +111 -0
- package/dist/pages/auth-page/index.d.ts +15 -2
- package/dist/pages/auth-page/index.d.ts.map +1 -1
- package/dist/pages/auth-page/index.js +8 -4
- package/dist/pages/blog-post-page/index.js +5 -5
- package/dist/pages/dashboard-page/index.d.ts +4 -4
- package/dist/pages/dashboard-page/index.js +4 -4
- package/dist/pages/docs-shell/docs-shell.d.ts +37 -4
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +107 -16
- package/dist/pages/docs-shell/index.d.ts +2 -2
- package/dist/pages/docs-shell/index.js +1 -1
- package/dist/pages/index.d.ts +14 -14
- package/dist/pages/index.js +7 -7
- package/dist/pages/marketing-page/index.d.ts +6 -6
- package/dist/pages/marketing-page/index.js +5 -5
- package/dist/pages/not-found-page/index.js +4 -4
- package/dist/pages/settings-page/index.d.ts +3 -3
- package/dist/pages/settings-page/index.js +4 -4
- package/dist/provider/index.d.ts +4 -4
- package/dist/provider/index.js +2 -2
- package/dist/provider/provider.d.ts +1 -1
- package/dist/provider/provider.js +1 -1
- package/dist/provider/theme-script.d.ts +1 -1
- package/dist/provider/theme-script.js +1 -1
- package/dist/styles.css +689 -0
- package/package.json +9 -1
package/dist/catalog.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* the reverse, so the internal shadcn registry stays derived rather than
|
|
8
8
|
* authoritative. Tooling only: a consumer's runtime UI must not import this.
|
|
9
9
|
*/
|
|
10
|
-
export const CATALOG_KINDS = ['component', 'block', 'page'];
|
|
10
|
+
export const CATALOG_KINDS = ['component', 'block', 'page', 'live'];
|
|
11
11
|
export const COMPONENT_CATEGORIES = [
|
|
12
12
|
'Call to action',
|
|
13
13
|
'Forms and inputs',
|
|
@@ -173,6 +173,270 @@ export const catalog = [
|
|
|
173
173
|
exports: ['Separator'],
|
|
174
174
|
status: 'stable',
|
|
175
175
|
},
|
|
176
|
+
{
|
|
177
|
+
name: 'Spinner',
|
|
178
|
+
slug: 'spinner',
|
|
179
|
+
kind: 'component',
|
|
180
|
+
category: 'Feedback',
|
|
181
|
+
description: 'A busy indicator that says something is happening and nothing more, which is why it is often the wrong one.',
|
|
182
|
+
source: 'src/components/ui/spinner.tsx',
|
|
183
|
+
exports: ['Spinner'],
|
|
184
|
+
status: 'stable',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'Toast',
|
|
188
|
+
slug: 'toast',
|
|
189
|
+
kind: 'component',
|
|
190
|
+
category: 'Feedback',
|
|
191
|
+
description: 'A transient notification whose pause holds the remaining time rather than restarting it.',
|
|
192
|
+
source: 'src/components/ui/toast.tsx',
|
|
193
|
+
exports: ['Toast'],
|
|
194
|
+
status: 'stable',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'EmptyState01',
|
|
198
|
+
slug: 'empty-state-01',
|
|
199
|
+
kind: 'block',
|
|
200
|
+
category: null,
|
|
201
|
+
description: 'The state a region shows when it has nothing in it, for a first run, a filter that matched nothing, or a permission boundary.',
|
|
202
|
+
source: 'src/blocks/empty-state-01/index.tsx',
|
|
203
|
+
exports: ['EmptyState01'],
|
|
204
|
+
status: 'stable',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'Command',
|
|
208
|
+
slug: 'command',
|
|
209
|
+
kind: 'component',
|
|
210
|
+
category: 'Forms and inputs',
|
|
211
|
+
description: 'The command row. It ranks nothing itself, so whoever filtered the list decides where the match fell.',
|
|
212
|
+
source: 'src/components/ui/command.tsx',
|
|
213
|
+
exports: ['Command'],
|
|
214
|
+
status: 'stable',
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: 'Combobox',
|
|
218
|
+
slug: 'combobox',
|
|
219
|
+
kind: 'component',
|
|
220
|
+
category: 'Forms and inputs',
|
|
221
|
+
description: 'A field that filters a list, where typing narrows the options and never discards the choice.',
|
|
222
|
+
source: 'src/components/ui/combobox.tsx',
|
|
223
|
+
exports: ['Combobox'],
|
|
224
|
+
status: 'stable',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: 'Calendar',
|
|
228
|
+
slug: 'calendar',
|
|
229
|
+
kind: 'component',
|
|
230
|
+
category: 'Forms and inputs',
|
|
231
|
+
description: 'A month grid where a disabled date stays drawn, stays in the arrow path, and refuses to be chosen.',
|
|
232
|
+
source: 'src/components/ui/calendar.tsx',
|
|
233
|
+
exports: ['Calendar'],
|
|
234
|
+
status: 'stable',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'DatePicker',
|
|
238
|
+
slug: 'date-picker',
|
|
239
|
+
kind: 'component',
|
|
240
|
+
category: 'Forms and inputs',
|
|
241
|
+
description: 'A field that opens a calendar, reseeded from the chosen value so the month never drifts.',
|
|
242
|
+
source: 'src/components/ui/date-picker.tsx',
|
|
243
|
+
exports: ['DatePicker'],
|
|
244
|
+
status: 'stable',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: 'InputGroup',
|
|
248
|
+
slug: 'input-group',
|
|
249
|
+
kind: 'component',
|
|
250
|
+
category: 'Forms and inputs',
|
|
251
|
+
description: 'Related controls joined as one field, where the frame answers the focus and the control draws the ring.',
|
|
252
|
+
source: 'src/components/ui/input-group.tsx',
|
|
253
|
+
exports: ['InputGroup', 'InputGroupAddon', 'InputGroupButton', 'InputGroupInput'],
|
|
254
|
+
status: 'stable',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: 'NumberField',
|
|
258
|
+
slug: 'number-field',
|
|
259
|
+
kind: 'component',
|
|
260
|
+
category: 'Forms and inputs',
|
|
261
|
+
description: 'A numeric field that clamps a value as it arrives and reports an empty field as nothing rather than zero.',
|
|
262
|
+
source: 'src/components/ui/number-field.tsx',
|
|
263
|
+
exports: ['NumberField'],
|
|
264
|
+
status: 'stable',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'OneTimeCode',
|
|
268
|
+
slug: 'one-time-code',
|
|
269
|
+
kind: 'component',
|
|
270
|
+
category: 'Forms and inputs',
|
|
271
|
+
description: 'A segmented code entry, where the code is one value and backspace removes a character from the string.',
|
|
272
|
+
source: 'src/components/ui/one-time-code.tsx',
|
|
273
|
+
exports: ['OneTimeCode'],
|
|
274
|
+
status: 'stable',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'Label',
|
|
278
|
+
slug: 'label',
|
|
279
|
+
kind: 'component',
|
|
280
|
+
category: 'Forms and inputs',
|
|
281
|
+
description: 'A standalone label, whose required mark is decoration and whose control carries the required state.',
|
|
282
|
+
source: 'src/components/ui/label.tsx',
|
|
283
|
+
exports: ['Label'],
|
|
284
|
+
status: 'stable',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'Form',
|
|
288
|
+
slug: 'form',
|
|
289
|
+
kind: 'component',
|
|
290
|
+
category: 'Forms and inputs',
|
|
291
|
+
description: 'The form binding, where the error and the way out of it are one unit announced from a region already in the document.',
|
|
292
|
+
source: 'src/components/ui/form.tsx',
|
|
293
|
+
exports: [
|
|
294
|
+
'Form',
|
|
295
|
+
'FormControl',
|
|
296
|
+
'FormDescription',
|
|
297
|
+
'FormError',
|
|
298
|
+
'FormField',
|
|
299
|
+
'FormLabel',
|
|
300
|
+
],
|
|
301
|
+
status: 'stable',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
name: 'ChartFrame',
|
|
305
|
+
slug: 'chart-frame',
|
|
306
|
+
kind: 'component',
|
|
307
|
+
category: 'Data display',
|
|
308
|
+
description: 'The frame every chart aligns to, whose table is part of the frame rather than a prop beside it.',
|
|
309
|
+
source: 'src/components/ui/chart-frame.tsx',
|
|
310
|
+
exports: ['ChartFrame'],
|
|
311
|
+
status: 'stable',
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: 'Sidebar',
|
|
315
|
+
slug: 'sidebar',
|
|
316
|
+
kind: 'component',
|
|
317
|
+
category: 'Layout',
|
|
318
|
+
description: 'A navigation rail with its own ink and its own focus ring, whose collapsed state is the same rail at a smaller width.',
|
|
319
|
+
source: 'src/components/ui/sidebar.tsx',
|
|
320
|
+
exports: [
|
|
321
|
+
'Sidebar',
|
|
322
|
+
'SidebarHeader',
|
|
323
|
+
'SidebarNav',
|
|
324
|
+
'SidebarItem',
|
|
325
|
+
'SidebarFooter',
|
|
326
|
+
'SidebarToggle',
|
|
327
|
+
],
|
|
328
|
+
status: 'stable',
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: 'Item',
|
|
332
|
+
slug: 'item',
|
|
333
|
+
kind: 'component',
|
|
334
|
+
category: 'Data display',
|
|
335
|
+
description: 'The row: leading, a primary and secondary line, and trailing actions. The caller owns the list.',
|
|
336
|
+
source: 'src/components/ui/item.tsx',
|
|
337
|
+
exports: ['Item'],
|
|
338
|
+
status: 'stable',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'ScrollArea',
|
|
342
|
+
slug: 'scroll-area',
|
|
343
|
+
kind: 'component',
|
|
344
|
+
category: 'Layout',
|
|
345
|
+
description: 'A scroll region that keeps the browser scrolling and takes over only the appearance of the bar.',
|
|
346
|
+
source: 'src/components/ui/scroll-area.tsx',
|
|
347
|
+
exports: ['ScrollArea'],
|
|
348
|
+
status: 'stable',
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'AspectRatio',
|
|
352
|
+
slug: 'aspect-ratio',
|
|
353
|
+
kind: 'component',
|
|
354
|
+
category: 'Layout',
|
|
355
|
+
description: 'A box that holds a ratio given as a prop, because a consumer class is a rule the stylesheet cannot see.',
|
|
356
|
+
source: 'src/components/ui/aspect-ratio.tsx',
|
|
357
|
+
exports: ['AspectRatio'],
|
|
358
|
+
status: 'stable',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
name: 'Carousel',
|
|
362
|
+
slug: 'carousel',
|
|
363
|
+
kind: 'component',
|
|
364
|
+
category: 'Data display',
|
|
365
|
+
description: 'Slides that are never the only route to their content, with controls that say where the reader is.',
|
|
366
|
+
source: 'src/components/ui/carousel.tsx',
|
|
367
|
+
exports: ['Carousel'],
|
|
368
|
+
status: 'stable',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
name: 'Toggle',
|
|
372
|
+
slug: 'toggle',
|
|
373
|
+
kind: 'component',
|
|
374
|
+
category: 'Forms and inputs',
|
|
375
|
+
description: 'A button that is pressed, which is not a switch: a switch takes effect at once.',
|
|
376
|
+
source: 'src/components/ui/toggle.tsx',
|
|
377
|
+
exports: ['Toggle'],
|
|
378
|
+
status: 'stable',
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: 'ToggleGroup',
|
|
382
|
+
slug: 'toggle-group',
|
|
383
|
+
kind: 'component',
|
|
384
|
+
category: 'Forms and inputs',
|
|
385
|
+
description: 'A set of toggles behaving as one, where the selection mode changes the role and not the look.',
|
|
386
|
+
source: 'src/components/ui/toggle-group.tsx',
|
|
387
|
+
exports: ['ToggleGroup', 'ToggleGroupItem'],
|
|
388
|
+
status: 'stable',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
name: 'NativeSelect',
|
|
392
|
+
slug: 'native-select',
|
|
393
|
+
kind: 'component',
|
|
394
|
+
category: 'Forms and inputs',
|
|
395
|
+
description: 'The platform select element, for when the platform picker beats anything this package could draw.',
|
|
396
|
+
source: 'src/components/ui/native-select.tsx',
|
|
397
|
+
exports: ['NativeSelect'],
|
|
398
|
+
status: 'stable',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: 'ButtonGroup',
|
|
402
|
+
slug: 'button-group',
|
|
403
|
+
kind: 'component',
|
|
404
|
+
category: 'Layout',
|
|
405
|
+
description: 'Related buttons joined as one control, with the focus ring drawn once around the group.',
|
|
406
|
+
source: 'src/components/ui/button-group.tsx',
|
|
407
|
+
exports: ['ButtonGroup'],
|
|
408
|
+
status: 'stable',
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
name: 'TableSort',
|
|
412
|
+
slug: 'table-sort',
|
|
413
|
+
kind: 'component',
|
|
414
|
+
category: 'Data display',
|
|
415
|
+
description: 'The sortable header affordance, whose announcement names the direction it will go next.',
|
|
416
|
+
source: 'src/components/ui/table-sort.tsx',
|
|
417
|
+
exports: ['TableSort'],
|
|
418
|
+
status: 'stable',
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: 'Diff',
|
|
422
|
+
slug: 'diff',
|
|
423
|
+
kind: 'component',
|
|
424
|
+
category: 'Data display',
|
|
425
|
+
description: 'A change as lines, where the bar measures how much of each line changed.',
|
|
426
|
+
source: 'src/components/ui/diff.tsx',
|
|
427
|
+
exports: ['Diff'],
|
|
428
|
+
status: 'stable',
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
name: 'Timeline',
|
|
432
|
+
slug: 'timeline',
|
|
433
|
+
kind: 'component',
|
|
434
|
+
category: 'Data display',
|
|
435
|
+
description: 'A run of events in order, with the time each one took drawn to scale.',
|
|
436
|
+
source: 'src/components/ui/timeline.tsx',
|
|
437
|
+
exports: ['Timeline'],
|
|
438
|
+
status: 'stable',
|
|
439
|
+
},
|
|
176
440
|
{
|
|
177
441
|
name: 'Table',
|
|
178
442
|
slug: 'table',
|
|
@@ -381,6 +645,164 @@ export const catalog = [
|
|
|
381
645
|
exports: ['Progress'],
|
|
382
646
|
status: 'stable',
|
|
383
647
|
},
|
|
648
|
+
{
|
|
649
|
+
name: 'AlertDialog',
|
|
650
|
+
slug: 'alert-dialog',
|
|
651
|
+
kind: 'component',
|
|
652
|
+
category: 'Layout',
|
|
653
|
+
description: 'A dialog for a decision the reader must make, where the surface behind is not reachable.',
|
|
654
|
+
source: 'src/components/ui/alert-dialog.tsx',
|
|
655
|
+
exports: [
|
|
656
|
+
'AlertDialog',
|
|
657
|
+
'AlertDialogTrigger',
|
|
658
|
+
'AlertDialogContent',
|
|
659
|
+
'AlertDialogHeader',
|
|
660
|
+
'AlertDialogFooter',
|
|
661
|
+
'AlertDialogTitle',
|
|
662
|
+
'AlertDialogDescription',
|
|
663
|
+
'AlertDialogAction',
|
|
664
|
+
'AlertDialogCancel',
|
|
665
|
+
],
|
|
666
|
+
status: 'stable',
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
name: 'Collapsible',
|
|
670
|
+
slug: 'collapsible',
|
|
671
|
+
kind: 'component',
|
|
672
|
+
category: 'Layout',
|
|
673
|
+
description: 'A section that shows and hides, with the trigger wired to the region by the library.',
|
|
674
|
+
source: 'src/components/ui/collapsible.tsx',
|
|
675
|
+
exports: ['Collapsible', 'CollapsibleTrigger', 'CollapsibleContent'],
|
|
676
|
+
status: 'stable',
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: 'ContextMenu',
|
|
680
|
+
slug: 'context-menu',
|
|
681
|
+
kind: 'component',
|
|
682
|
+
category: 'Layout',
|
|
683
|
+
description: 'A menu opened by a secondary gesture, which knows which rows are commands and which are destinations.',
|
|
684
|
+
source: 'src/components/ui/context-menu.tsx',
|
|
685
|
+
exports: [
|
|
686
|
+
'ContextMenu',
|
|
687
|
+
'ContextMenuTrigger',
|
|
688
|
+
'ContextMenuContent',
|
|
689
|
+
'ContextMenuItem',
|
|
690
|
+
'ContextMenuLinkItem',
|
|
691
|
+
'ContextMenuLabel',
|
|
692
|
+
'ContextMenuSeparator',
|
|
693
|
+
'ContextMenuGroup',
|
|
694
|
+
'ContextMenuSub',
|
|
695
|
+
'ContextMenuSubTrigger',
|
|
696
|
+
'ContextMenuSubContent',
|
|
697
|
+
],
|
|
698
|
+
status: 'stable',
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
name: 'HoverCard',
|
|
702
|
+
slug: 'hover-card',
|
|
703
|
+
kind: 'component',
|
|
704
|
+
category: 'Layout',
|
|
705
|
+
description: 'A preview that appears on intent, which can never be the only route to what it shows.',
|
|
706
|
+
source: 'src/components/ui/hover-card.tsx',
|
|
707
|
+
exports: ['HoverCard', 'HoverCardTrigger', 'HoverCardContent'],
|
|
708
|
+
status: 'stable',
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
name: 'Menubar',
|
|
712
|
+
slug: 'menubar',
|
|
713
|
+
kind: 'component',
|
|
714
|
+
category: 'Layout',
|
|
715
|
+
description: 'An application menu bar, which is one Tab stop and owns the arrows inside itself.',
|
|
716
|
+
source: 'src/components/ui/menubar.tsx',
|
|
717
|
+
exports: [
|
|
718
|
+
'Menubar',
|
|
719
|
+
'MenubarMenu',
|
|
720
|
+
'MenubarTrigger',
|
|
721
|
+
'MenubarContent',
|
|
722
|
+
'MenubarItem',
|
|
723
|
+
'MenubarLinkItem',
|
|
724
|
+
'MenubarCheckboxItem',
|
|
725
|
+
'MenubarLabel',
|
|
726
|
+
'MenubarSeparator',
|
|
727
|
+
'MenubarGroup',
|
|
728
|
+
'MenubarSub',
|
|
729
|
+
'MenubarSubTrigger',
|
|
730
|
+
'MenubarSubContent',
|
|
731
|
+
],
|
|
732
|
+
status: 'stable',
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
name: 'NavigationMenu',
|
|
736
|
+
slug: 'navigation-menu',
|
|
737
|
+
kind: 'component',
|
|
738
|
+
category: 'Layout',
|
|
739
|
+
description: 'A list of destinations with expandable groups, which ships no command part at all.',
|
|
740
|
+
source: 'src/components/ui/navigation-menu.tsx',
|
|
741
|
+
exports: [
|
|
742
|
+
'NavigationMenu',
|
|
743
|
+
'NavigationMenuList',
|
|
744
|
+
'NavigationMenuItem',
|
|
745
|
+
'NavigationMenuTrigger',
|
|
746
|
+
'NavigationMenuContent',
|
|
747
|
+
'NavigationMenuLink',
|
|
748
|
+
'NavigationMenuIcon',
|
|
749
|
+
'NavigationMenuPortal',
|
|
750
|
+
'NavigationMenuPositioner',
|
|
751
|
+
'NavigationMenuPopup',
|
|
752
|
+
'NavigationMenuViewport',
|
|
753
|
+
'NavigationMenuBackdrop',
|
|
754
|
+
],
|
|
755
|
+
status: 'stable',
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
name: 'Resizable',
|
|
759
|
+
slug: 'resizable',
|
|
760
|
+
kind: 'component',
|
|
761
|
+
category: 'Layout',
|
|
762
|
+
description: 'Two panes with a focusable divider that has a value, and remembers nothing on its own.',
|
|
763
|
+
source: 'src/components/ui/resizable.tsx',
|
|
764
|
+
exports: ['Resizable', 'ResizablePanel', 'ResizableHandle'],
|
|
765
|
+
status: 'stable',
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
name: 'Sheet',
|
|
769
|
+
slug: 'sheet',
|
|
770
|
+
kind: 'component',
|
|
771
|
+
category: 'Layout',
|
|
772
|
+
description: 'A panel anchored to an edge of the viewport, built on the Dialog that already owns the overlay.',
|
|
773
|
+
source: 'src/components/ui/sheet.tsx',
|
|
774
|
+
exports: [
|
|
775
|
+
'Sheet',
|
|
776
|
+
'SheetTrigger',
|
|
777
|
+
'SheetContent',
|
|
778
|
+
'SheetHeader',
|
|
779
|
+
'SheetFooter',
|
|
780
|
+
'SheetTitle',
|
|
781
|
+
'SheetDescription',
|
|
782
|
+
'SheetClose',
|
|
783
|
+
],
|
|
784
|
+
status: 'stable',
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
name: 'CommandPalette',
|
|
788
|
+
slug: 'command-palette',
|
|
789
|
+
kind: 'component',
|
|
790
|
+
category: 'Forms and inputs',
|
|
791
|
+
description: 'A searchable list of commands, ranked by where the match falls.',
|
|
792
|
+
source: 'src/components/ui/command-palette.tsx',
|
|
793
|
+
exports: ['CommandPalette'],
|
|
794
|
+
status: 'stable',
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
name: 'Meter',
|
|
798
|
+
slug: 'meter',
|
|
799
|
+
kind: 'component',
|
|
800
|
+
category: 'Feedback',
|
|
801
|
+
description: 'A bounded measure drawn as a scale, with the limits the caller cares about marked on it.',
|
|
802
|
+
source: 'src/components/ui/meter.tsx',
|
|
803
|
+
exports: ['Meter'],
|
|
804
|
+
status: 'stable',
|
|
805
|
+
},
|
|
384
806
|
{
|
|
385
807
|
name: 'Tooltip',
|
|
386
808
|
slug: 'tooltip',
|
|
@@ -584,6 +1006,36 @@ export const catalog = [
|
|
|
584
1006
|
exports: ['ProcessRail01'],
|
|
585
1007
|
status: 'stable',
|
|
586
1008
|
},
|
|
1009
|
+
{
|
|
1010
|
+
name: 'ProcessFlow01',
|
|
1011
|
+
slug: 'process-flow-01',
|
|
1012
|
+
kind: 'block',
|
|
1013
|
+
category: null,
|
|
1014
|
+
description: 'A pipeline of any length, drawn in order across as many lines as it needs, with a continuous ordinal and an optional label on the last stage.',
|
|
1015
|
+
source: 'src/blocks/process-flow-01/index.tsx',
|
|
1016
|
+
exports: ['ProcessFlow01'],
|
|
1017
|
+
status: 'stable',
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
name: 'RunStream01',
|
|
1021
|
+
slug: 'run-stream-01',
|
|
1022
|
+
kind: 'live',
|
|
1023
|
+
category: null,
|
|
1024
|
+
description: 'The event log of a run, receiving events as they arrive over a subscription the consumer supplies.',
|
|
1025
|
+
source: 'src/live/run-stream-01/index.tsx',
|
|
1026
|
+
exports: ['RunStream01'],
|
|
1027
|
+
status: 'stable',
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
name: 'RunConsole01',
|
|
1031
|
+
slug: 'run-console-01',
|
|
1032
|
+
kind: 'block',
|
|
1033
|
+
category: null,
|
|
1034
|
+
description: 'A run as a heading, a budget and the steps that got there, with a still-arriving run announced from one prop.',
|
|
1035
|
+
source: 'src/blocks/run-console-01/index.tsx',
|
|
1036
|
+
exports: ['RunConsole01'],
|
|
1037
|
+
status: 'stable',
|
|
1038
|
+
},
|
|
587
1039
|
{
|
|
588
1040
|
name: 'StatusLedger01',
|
|
589
1041
|
slug: 'status-ledger-01',
|
|
@@ -654,6 +1106,26 @@ export const catalog = [
|
|
|
654
1106
|
exports: ['SiteHeader'],
|
|
655
1107
|
status: 'stable',
|
|
656
1108
|
},
|
|
1109
|
+
{
|
|
1110
|
+
name: 'SearchDialog',
|
|
1111
|
+
slug: 'search-dialog',
|
|
1112
|
+
kind: 'component',
|
|
1113
|
+
category: 'Forms and inputs',
|
|
1114
|
+
description: 'A search dialog over a static JSON index fetched on the first query and ranked in the browser, where every query token has to match somewhere.',
|
|
1115
|
+
source: 'src/components/ui/search-dialog.tsx',
|
|
1116
|
+
exports: ['SearchDialog'],
|
|
1117
|
+
status: 'stable',
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
name: 'SiteNavbar',
|
|
1121
|
+
slug: 'site-navbar',
|
|
1122
|
+
kind: 'block',
|
|
1123
|
+
category: null,
|
|
1124
|
+
description: 'The bar at the top of a product site, with the controls a reader needs on every page: a brand lockup, the site navigation, a menu of the family\'s sites, search over a static index, a colour chooser, a light and dark control and a panel for narrow viewports.',
|
|
1125
|
+
source: 'src/blocks/site-navbar/index.tsx',
|
|
1126
|
+
exports: ['SiteNavbar'],
|
|
1127
|
+
status: 'stable',
|
|
1128
|
+
},
|
|
657
1129
|
{
|
|
658
1130
|
name: 'SiteFooter',
|
|
659
1131
|
slug: 'site-footer',
|