@nadicodeai/ui 12.1.96 → 12.1.98
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/AGENTS.md +5 -1
- package/dist/components/accordion.d.ts +13 -0
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +13 -0
- package/dist/components/account-menu.d.ts +62 -18
- package/dist/components/account-menu.d.ts.map +1 -1
- package/dist/components/account-menu.js +32 -8
- package/dist/components/action-menu.d.ts +61 -5
- package/dist/components/action-menu.d.ts.map +1 -1
- package/dist/components/action-menu.js +31 -2
- package/dist/components/action-status.d.ts +13 -3
- package/dist/components/action-status.d.ts.map +1 -1
- package/dist/components/action-status.js +13 -3
- package/dist/components/activity-calendar.d.ts +14 -0
- package/dist/components/activity-calendar.d.ts.map +1 -1
- package/dist/components/activity-calendar.js +14 -0
- package/dist/components/activity-feed.d.ts +62 -0
- package/dist/components/activity-feed.d.ts.map +1 -0
- package/dist/components/activity-feed.js +54 -0
- package/dist/components/agent-card.d.ts +15 -0
- package/dist/components/agent-card.d.ts.map +1 -1
- package/dist/components/agent-card.js +15 -0
- package/dist/components/agent-list-row.d.ts +11 -7
- package/dist/components/agent-list-row.d.ts.map +1 -1
- package/dist/components/agent-list-row.js +10 -8
- package/dist/components/agent-orb.d.ts +16 -0
- package/dist/components/agent-orb.d.ts.map +1 -1
- package/dist/components/agent-orb.js +16 -0
- package/dist/components/agent-profile.d.ts +39 -10
- package/dist/components/agent-profile.d.ts.map +1 -1
- package/dist/components/agent-profile.js +39 -10
- package/dist/components/alert-dialog.d.ts +14 -0
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +16 -2
- package/dist/components/alert.d.ts +14 -0
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +14 -0
- package/dist/components/app-mark.d.ts +14 -4
- package/dist/components/app-mark.d.ts.map +1 -1
- package/dist/components/app-mark.js +13 -3
- package/dist/components/approval-row.d.ts +15 -2
- package/dist/components/approval-row.d.ts.map +1 -1
- package/dist/components/approval-row.js +15 -2
- package/dist/components/aspect-ratio.d.ts +10 -0
- package/dist/components/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio.js +10 -0
- package/dist/components/avatar.d.ts +15 -0
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +15 -0
- package/dist/components/badge.d.ts +11 -1
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +10 -5
- package/dist/components/brand-field.d.ts +10 -0
- package/dist/components/brand-field.d.ts.map +1 -1
- package/dist/components/brand-field.js +10 -0
- package/dist/components/brand.d.ts +14 -0
- package/dist/components/brand.d.ts.map +1 -1
- package/dist/components/brand.js +14 -0
- package/dist/components/breadcrumb.d.ts +20 -2
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +13 -3
- package/dist/components/button-group.d.ts +21 -0
- package/dist/components/button-group.d.ts.map +1 -1
- package/dist/components/button-group.js +21 -0
- package/dist/components/button.d.ts +20 -0
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +20 -0
- package/dist/components/calendar.d.ts +15 -0
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +15 -0
- package/dist/components/card-row.d.ts +15 -5
- package/dist/components/card-row.d.ts.map +1 -1
- package/dist/components/card-row.js +15 -5
- package/dist/components/card.d.ts +16 -0
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +16 -0
- package/dist/components/carousel.d.ts +12 -0
- package/dist/components/carousel.d.ts.map +1 -1
- package/dist/components/carousel.js +12 -0
- package/dist/components/catalog-drawer.d.ts +29 -0
- package/dist/components/catalog-drawer.d.ts.map +1 -0
- package/dist/components/catalog-drawer.js +31 -0
- package/dist/components/catalog-entry.d.ts +49 -26
- package/dist/components/catalog-entry.d.ts.map +1 -1
- package/dist/components/catalog-entry.js +5 -27
- package/dist/components/channel-view.d.ts +23 -0
- package/dist/components/channel-view.d.ts.map +1 -1
- package/dist/components/channel-view.js +13 -4
- package/dist/components/chart-area-stacked.d.ts +11 -1
- package/dist/components/chart-area-stacked.d.ts.map +1 -1
- package/dist/components/chart-area-stacked.js +12 -2
- package/dist/components/chart-bar-horizontal.d.ts +11 -1
- package/dist/components/chart-bar-horizontal.d.ts.map +1 -1
- package/dist/components/chart-bar-horizontal.js +12 -2
- package/dist/components/chart-bar-multiple.d.ts +9 -4
- package/dist/components/chart-bar-multiple.d.ts.map +1 -1
- package/dist/components/chart-bar-multiple.js +10 -5
- package/dist/components/chart-bar-stacked.d.ts +11 -1
- package/dist/components/chart-bar-stacked.d.ts.map +1 -1
- package/dist/components/chart-bar-stacked.js +12 -2
- package/dist/components/chart-card.d.ts +33 -20
- package/dist/components/chart-card.d.ts.map +1 -1
- package/dist/components/chart-card.js +18 -4
- package/dist/components/chart-date-range-control.d.ts +15 -10
- package/dist/components/chart-date-range-control.d.ts.map +1 -1
- package/dist/components/chart-date-range-control.js +14 -10
- package/dist/components/chart-date-range.d.ts.map +1 -1
- package/dist/components/chart-entity-colors.d.ts +7 -0
- package/dist/components/chart-entity-colors.d.ts.map +1 -1
- package/dist/components/chart-entity-colors.js +7 -0
- package/dist/components/chart-sparkline.d.ts +10 -0
- package/dist/components/chart-sparkline.d.ts.map +1 -1
- package/dist/components/chart-sparkline.js +8 -7
- package/dist/components/chart.d.ts +10 -0
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chart.js +10 -0
- package/dist/components/checkbox.d.ts +15 -0
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +15 -0
- package/dist/components/code-block.d.ts +15 -0
- package/dist/components/code-block.d.ts.map +1 -1
- package/dist/components/code-block.js +15 -0
- package/dist/components/collapsible.d.ts +12 -0
- package/dist/components/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible.js +12 -0
- package/dist/components/collection-filters.d.ts +15 -2
- package/dist/components/collection-filters.d.ts.map +1 -1
- package/dist/components/collection-filters.js +13 -1
- package/dist/components/collection-page.d.ts +29 -115
- package/dist/components/collection-page.d.ts.map +1 -1
- package/dist/components/collection-page.js +24 -140
- package/dist/components/collection-search.d.ts +14 -0
- package/dist/components/collection-search.d.ts.map +1 -1
- package/dist/components/collection-search.js +14 -0
- package/dist/components/collection-sort.d.ts +13 -3
- package/dist/components/collection-sort.d.ts.map +1 -1
- package/dist/components/collection-sort.js +13 -3
- package/dist/components/collection-toolbar.d.ts +13 -0
- package/dist/components/collection-toolbar.d.ts.map +1 -1
- package/dist/components/collection-toolbar.js +13 -0
- package/dist/components/combobox.d.ts +17 -0
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/combobox.js +18 -1
- package/dist/components/command.d.ts +16 -0
- package/dist/components/command.d.ts.map +1 -1
- package/dist/components/command.js +16 -0
- package/dist/components/company-card.d.ts +16 -4
- package/dist/components/company-card.d.ts.map +1 -1
- package/dist/components/company-card.js +16 -4
- package/dist/components/confirm-dialog.d.ts +24 -14
- package/dist/components/confirm-dialog.d.ts.map +1 -1
- package/dist/components/confirm-dialog.js +16 -10
- package/dist/components/context-menu.d.ts +10 -0
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +11 -1
- package/dist/components/copy-button.d.ts +10 -0
- package/dist/components/copy-button.d.ts.map +1 -1
- package/dist/components/copy-button.js +10 -0
- package/dist/components/dashboard-shell.d.ts +14 -0
- package/dist/components/dashboard-shell.d.ts.map +1 -1
- package/dist/components/dashboard-shell.js +14 -0
- package/dist/components/data-table.d.ts +20 -0
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +23 -2
- package/dist/components/desktop-shell.d.ts +15 -0
- package/dist/components/desktop-shell.d.ts.map +1 -1
- package/dist/components/desktop-shell.js +15 -0
- package/dist/components/dialog.d.ts +16 -0
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +18 -2
- package/dist/components/diff-count.d.ts +11 -0
- package/dist/components/diff-count.d.ts.map +1 -1
- package/dist/components/diff-count.js +11 -0
- package/dist/components/disclosure-row.d.ts +12 -0
- package/dist/components/disclosure-row.d.ts.map +1 -1
- package/dist/components/disclosure-row.js +12 -0
- package/dist/components/disclosure.d.ts +15 -5
- package/dist/components/disclosure.d.ts.map +1 -1
- package/dist/components/disclosure.js +15 -5
- package/dist/components/drawer.d.ts +13 -0
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +13 -0
- package/dist/components/dropdown-menu.d.ts +17 -5
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +21 -8
- package/dist/components/empty-art.d.ts +1 -1
- package/dist/components/empty-art.d.ts.map +1 -1
- package/dist/components/empty-art.js +6 -0
- package/dist/components/empty-state.d.ts +24 -10
- package/dist/components/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state.js +23 -1
- package/dist/components/entry-scene.d.ts +33 -20
- package/dist/components/entry-scene.d.ts.map +1 -1
- package/dist/components/entry-scene.js +34 -7
- package/dist/components/expandable-block.d.ts +10 -0
- package/dist/components/expandable-block.d.ts.map +1 -1
- package/dist/components/expandable-block.js +10 -0
- package/dist/components/field.d.ts +17 -0
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +17 -0
- package/dist/components/file-diff.d.ts +12 -0
- package/dist/components/file-diff.d.ts.map +1 -1
- package/dist/components/file-diff.js +12 -0
- package/dist/components/file-type-icon.d.ts +12 -0
- package/dist/components/file-type-icon.d.ts.map +1 -1
- package/dist/components/file-type-icon.js +12 -0
- package/dist/components/footer.d.ts +14 -0
- package/dist/components/footer.d.ts.map +1 -1
- package/dist/components/footer.js +14 -0
- package/dist/components/form-dialog.d.ts +10 -0
- package/dist/components/form-dialog.d.ts.map +1 -1
- package/dist/components/form-dialog.js +10 -0
- package/dist/components/form-drawer.d.ts +24 -11
- package/dist/components/form-drawer.d.ts.map +1 -1
- package/dist/components/form-drawer.js +13 -3
- package/dist/components/form.d.ts +17 -0
- package/dist/components/form.d.ts.map +1 -1
- package/dist/components/form.js +17 -0
- package/dist/components/glass-control.d.ts +13 -0
- package/dist/components/glass-control.d.ts.map +1 -1
- package/dist/components/glass-control.js +13 -0
- package/dist/components/hive-scene.d.ts +14 -0
- package/dist/components/hive-scene.d.ts.map +1 -1
- package/dist/components/hive-scene.js +14 -0
- package/dist/components/house-icons.d.ts +15 -0
- package/dist/components/house-icons.d.ts.map +1 -1
- package/dist/components/house-icons.js +15 -0
- package/dist/components/hover-card.d.ts +15 -0
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +16 -1
- package/dist/components/identity-mark.d.ts +55 -0
- package/dist/components/identity-mark.d.ts.map +1 -0
- package/dist/components/identity-mark.js +66 -0
- package/dist/components/input-group.d.ts +16 -0
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +16 -0
- package/dist/components/input-otp.d.ts +15 -0
- package/dist/components/input-otp.d.ts.map +1 -1
- package/dist/components/input-otp.js +15 -0
- package/dist/components/input.d.ts +15 -0
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +15 -0
- package/dist/components/item.d.ts +16 -0
- package/dist/components/item.d.ts.map +1 -1
- package/dist/components/item.js +16 -0
- package/dist/components/kbd.d.ts +14 -0
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +14 -0
- package/dist/components/kpi-card.d.ts +21 -13
- package/dist/components/kpi-card.d.ts.map +1 -1
- package/dist/components/kpi-card.js +14 -3
- package/dist/components/label-system.d.ts +12 -0
- package/dist/components/label-system.d.ts.map +1 -1
- package/dist/components/label-system.js +12 -0
- package/dist/components/label.d.ts +15 -0
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +15 -0
- package/dist/components/library-shelf.d.ts +35 -0
- package/dist/components/library-shelf.d.ts.map +1 -0
- package/dist/components/library-shelf.js +40 -0
- package/dist/components/memory-item.d.ts +12 -0
- package/dist/components/memory-item.d.ts.map +1 -1
- package/dist/components/memory-item.js +12 -0
- package/dist/components/menu-choice-row.d.ts +13 -5
- package/dist/components/menu-choice-row.d.ts.map +1 -1
- package/dist/components/menu-choice-row.js +12 -6
- package/dist/components/menubar.d.ts +13 -0
- package/dist/components/menubar.d.ts.map +1 -1
- package/dist/components/menubar.js +13 -0
- package/dist/components/message-notice.d.ts +16 -0
- package/dist/components/message-notice.d.ts.map +1 -1
- package/dist/components/message-notice.js +18 -2
- package/dist/components/model-identity.d.ts +16 -3
- package/dist/components/model-identity.d.ts.map +1 -1
- package/dist/components/model-identity.js +16 -3
- package/dist/components/model-mark.d.ts +15 -2
- package/dist/components/model-mark.d.ts.map +1 -1
- package/dist/components/model-mark.js +15 -2
- package/dist/components/nadia-presence.d.ts +10 -4
- package/dist/components/nadia-presence.d.ts.map +1 -1
- package/dist/components/nadia-presence.js +10 -4
- package/dist/components/native-select.d.ts +16 -0
- package/dist/components/native-select.d.ts.map +1 -1
- package/dist/components/native-select.js +16 -0
- package/dist/components/navigation-menu.d.ts +14 -0
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +14 -0
- package/dist/components/notice-banner.d.ts +10 -3
- package/dist/components/notice-banner.d.ts.map +1 -1
- package/dist/components/notice-banner.js +9 -3
- package/dist/components/numbered-steps.d.ts +33 -0
- package/dist/components/numbered-steps.d.ts.map +1 -0
- package/dist/components/numbered-steps.js +23 -0
- package/dist/components/object-page.d.ts +37 -0
- package/dist/components/object-page.d.ts.map +1 -0
- package/dist/components/object-page.js +19 -0
- package/dist/components/object-workspace.d.ts +26 -36
- package/dist/components/object-workspace.d.ts.map +1 -1
- package/dist/components/object-workspace.js +27 -24
- package/dist/components/overview-page.d.ts +24 -0
- package/dist/components/overview-page.d.ts.map +1 -0
- package/dist/components/overview-page.js +26 -0
- package/dist/components/page-actions.d.ts +28 -23
- package/dist/components/page-actions.d.ts.map +1 -1
- package/dist/components/page-actions.js +20 -14
- package/dist/components/page-header.d.ts +11 -5
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +11 -5
- package/dist/components/pagination.d.ts +15 -0
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +15 -0
- package/dist/components/pairing-code.d.ts +15 -4
- package/dist/components/pairing-code.d.ts.map +1 -1
- package/dist/components/pairing-code.js +15 -4
- package/dist/components/pending-label.d.ts +12 -4
- package/dist/components/pending-label.d.ts.map +1 -1
- package/dist/components/pending-label.js +12 -4
- package/dist/components/picture-label.d.ts +15 -7
- package/dist/components/picture-label.d.ts.map +1 -1
- package/dist/components/picture-label.js +15 -7
- package/dist/components/platform-mark.d.ts +12 -3
- package/dist/components/platform-mark.d.ts.map +1 -1
- package/dist/components/platform-mark.js +12 -3
- package/dist/components/plugin-slot-boundary.d.ts +15 -0
- package/dist/components/plugin-slot-boundary.d.ts.map +1 -1
- package/dist/components/plugin-slot-boundary.js +15 -0
- package/dist/components/popover.d.ts +15 -0
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +16 -1
- package/dist/components/portal-sidebar-frame.d.ts +26 -12
- package/dist/components/portal-sidebar-frame.d.ts.map +1 -1
- package/dist/components/portal-sidebar-frame.js +26 -0
- package/dist/components/progress.d.ts +10 -8
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +11 -9
- package/dist/components/qr-code.d.ts +9 -3
- package/dist/components/qr-code.d.ts.map +1 -1
- package/dist/components/qr-code.js +9 -3
- package/dist/components/radio-group.d.ts +15 -0
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +15 -0
- package/dist/components/reading-column.d.ts +11 -0
- package/dist/components/reading-column.d.ts.map +1 -1
- package/dist/components/reading-column.js +11 -0
- package/dist/components/record-identity.d.ts +12 -7
- package/dist/components/record-identity.d.ts.map +1 -1
- package/dist/components/record-identity.js +11 -7
- package/dist/components/record-list.d.ts +119 -0
- package/dist/components/record-list.d.ts.map +1 -0
- package/dist/components/record-list.js +161 -0
- package/dist/components/record-sheet.d.ts +36 -0
- package/dist/components/record-sheet.d.ts.map +1 -0
- package/dist/components/record-sheet.js +19 -0
- package/dist/components/record-time.d.ts +27 -11
- package/dist/components/record-time.d.ts.map +1 -1
- package/dist/components/record-time.js +34 -12
- package/dist/components/resizable.d.ts +10 -0
- package/dist/components/resizable.d.ts.map +1 -1
- package/dist/components/resizable.js +10 -0
- package/dist/components/row-edit-form.d.ts +8 -5
- package/dist/components/row-edit-form.d.ts.map +1 -1
- package/dist/components/row-edit-form.js +8 -5
- package/dist/components/run-timeline.d.ts +24 -11
- package/dist/components/run-timeline.d.ts.map +1 -1
- package/dist/components/run-timeline.js +13 -6
- package/dist/components/scope-switcher.d.ts +11 -0
- package/dist/components/scope-switcher.d.ts.map +1 -1
- package/dist/components/scope-switcher.js +20 -9
- package/dist/components/scroll-area.d.ts +12 -0
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +12 -0
- package/dist/components/select.d.ts +16 -0
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +17 -1
- package/dist/components/separator.d.ts +11 -0
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +11 -0
- package/dist/components/settings-facts.d.ts +18 -1
- package/dist/components/settings-facts.d.ts.map +1 -1
- package/dist/components/settings-facts.js +20 -1
- package/dist/components/settings-page.d.ts +20 -0
- package/dist/components/settings-page.d.ts.map +1 -0
- package/dist/components/settings-page.js +16 -0
- package/dist/components/settings-section.d.ts +38 -8
- package/dist/components/settings-section.d.ts.map +1 -1
- package/dist/components/settings-section.js +33 -7
- package/dist/components/sheet.d.ts +16 -0
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +18 -2
- package/dist/components/sidebar-sections.d.ts +40 -0
- package/dist/components/sidebar-sections.d.ts.map +1 -0
- package/dist/components/sidebar-sections.js +35 -0
- package/dist/components/sidebar.d.ts +14 -1
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +13 -2
- package/dist/components/skeleton.d.ts +10 -0
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +11 -1
- package/dist/components/slider.d.ts +14 -0
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +14 -0
- package/dist/components/sonner.d.ts +18 -0
- package/dist/components/sonner.d.ts.map +1 -1
- package/dist/components/sonner.js +18 -0
- package/dist/components/status-badge.d.ts +13 -2
- package/dist/components/status-badge.d.ts.map +1 -1
- package/dist/components/status-badge.js +21 -9
- package/dist/components/status-dot.d.ts +12 -0
- package/dist/components/status-dot.d.ts.map +1 -1
- package/dist/components/status-dot.js +12 -0
- package/dist/components/status-row.d.ts +14 -0
- package/dist/components/status-row.d.ts.map +1 -1
- package/dist/components/status-row.js +14 -0
- package/dist/components/switch.d.ts +15 -0
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +15 -0
- package/dist/components/table-card.d.ts +16 -3
- package/dist/components/table-card.d.ts.map +1 -1
- package/dist/components/table-card.js +16 -3
- package/dist/components/table-value.d.ts +24 -2
- package/dist/components/table-value.d.ts.map +1 -1
- package/dist/components/table-value.js +25 -3
- package/dist/components/table.d.ts +16 -0
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +17 -1
- package/dist/components/tabs.d.ts +27 -0
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +27 -0
- package/dist/components/tag.d.ts +12 -2
- package/dist/components/tag.d.ts.map +1 -1
- package/dist/components/tag.js +12 -2
- package/dist/components/text-link.d.ts +17 -0
- package/dist/components/text-link.d.ts.map +1 -1
- package/dist/components/text-link.js +17 -0
- package/dist/components/textarea.d.ts +14 -0
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +14 -0
- package/dist/components/theme-mode-switcher.d.ts +21 -0
- package/dist/components/theme-mode-switcher.d.ts.map +1 -1
- package/dist/components/theme-mode-switcher.js +23 -1
- package/dist/components/toggle-group.d.ts +13 -0
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +13 -0
- package/dist/components/toggle.d.ts +14 -0
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +14 -0
- package/dist/components/tool-icon.d.ts +14 -4
- package/dist/components/tool-icon.d.ts.map +1 -1
- package/dist/components/tool-icon.js +27 -42
- package/dist/components/tooltip.d.ts +15 -0
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +15 -0
- package/dist/components/trend-badge.d.ts +16 -1
- package/dist/components/trend-badge.d.ts.map +1 -1
- package/dist/components/trend-badge.js +16 -7
- package/dist/components/update-card.d.ts +36 -0
- package/dist/components/update-card.d.ts.map +1 -0
- package/dist/components/update-card.js +28 -0
- package/dist/components/usage-meter.d.ts +15 -0
- package/dist/components/usage-meter.d.ts.map +1 -1
- package/dist/components/usage-meter.js +15 -0
- package/dist/components/waiting-line.d.ts +13 -10
- package/dist/components/waiting-line.d.ts.map +1 -1
- package/dist/components/waiting-line.js +13 -10
- package/dist/eslint/index.js +8 -0
- package/dist/eslint/rules/empty-state-owner.js +145 -0
- package/dist/eslint/rules/menu-owner.js +75 -0
- package/dist/eslint/rules/no-decorative-icon.js +164 -0
- package/dist/eslint/rules/page-composition.js +232 -0
- package/dist/eslint/rules/rendered-import.js +121 -0
- package/dist/eslint/strict-design-system.js +1 -1
- package/dist/hooks/use-hydrated.d.ts +2 -0
- package/dist/hooks/use-hydrated.d.ts.map +1 -0
- package/dist/hooks/use-hydrated.js +7 -0
- package/dist/index.d.ts +15 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -10
- package/dist/internal/catalog-list.d.ts +14 -0
- package/dist/internal/catalog-list.d.ts.map +1 -0
- package/dist/internal/catalog-list.js +53 -0
- package/dist/internal/empty.d.ts +6 -9
- package/dist/internal/empty.d.ts.map +1 -1
- package/dist/internal/empty.js +24 -22
- package/dist/internal/footer-strip.d.ts +0 -4
- package/dist/internal/footer-strip.d.ts.map +1 -1
- package/dist/internal/footer-strip.js +0 -4
- package/dist/internal/record-menu-items.d.ts +19 -0
- package/dist/internal/record-menu-items.d.ts.map +1 -0
- package/dist/internal/record-menu-items.js +20 -0
- package/dist/internal/settings-save.d.ts +43 -0
- package/dist/internal/settings-save.d.ts.map +1 -0
- package/dist/internal/settings-save.js +147 -0
- package/dist/lib/theme-mode.d.ts +1 -1
- package/dist/lib/theme-mode.js +1 -1
- package/dist/showcase/assets.d.ts +8 -0
- package/dist/showcase/assets.d.ts.map +1 -0
- package/dist/showcase/assets.js +13 -0
- package/dist/showcase/foundations.d.ts +2 -0
- package/dist/showcase/foundations.d.ts.map +1 -0
- package/dist/showcase/foundations.js +61 -0
- package/dist/showcase/samples.d.ts +21 -0
- package/dist/showcase/samples.d.ts.map +1 -0
- package/dist/showcase/samples.js +48 -0
- package/dist/showcase/showcase.d.ts +10 -0
- package/dist/showcase/showcase.d.ts.map +1 -0
- package/dist/showcase/showcase.js +44 -0
- package/dist/showcase/specimens/actions.d.ts +7 -0
- package/dist/showcase/specimens/actions.d.ts.map +1 -0
- package/dist/showcase/specimens/actions.js +15 -0
- package/dist/showcase/specimens/charts.d.ts +17 -0
- package/dist/showcase/specimens/charts.d.ts.map +1 -0
- package/dist/showcase/specimens/charts.js +104 -0
- package/dist/showcase/specimens/choices.d.ts +21 -0
- package/dist/showcase/specimens/choices.d.ts.map +1 -0
- package/dist/showcase/specimens/choices.js +68 -0
- package/dist/showcase/specimens/compositions.d.ts +39 -0
- package/dist/showcase/specimens/compositions.d.ts.map +1 -0
- package/dist/showcase/specimens/compositions.js +270 -0
- package/dist/showcase/specimens/data.d.ts +31 -0
- package/dist/showcase/specimens/data.d.ts.map +1 -0
- package/dist/showcase/specimens/data.js +111 -0
- package/dist/showcase/specimens/feedback.d.ts +23 -0
- package/dist/showcase/specimens/feedback.d.ts.map +1 -0
- package/dist/showcase/specimens/feedback.js +64 -0
- package/dist/showcase/specimens/index.d.ts +164 -0
- package/dist/showcase/specimens/index.d.ts.map +1 -0
- package/dist/showcase/specimens/index.js +24 -0
- package/dist/showcase/specimens/inputs.d.ts +22 -0
- package/dist/showcase/specimens/inputs.d.ts.map +1 -0
- package/dist/showcase/specimens/inputs.js +60 -0
- package/dist/showcase/specimens/menus.d.ts +20 -0
- package/dist/showcase/specimens/menus.d.ts.map +1 -0
- package/dist/showcase/specimens/menus.js +65 -0
- package/dist/showcase/specimens/navigation.d.ts +22 -0
- package/dist/showcase/specimens/navigation.d.ts.map +1 -0
- package/dist/showcase/specimens/navigation.js +103 -0
- package/dist/showcase/specimens/other.d.ts +26 -0
- package/dist/showcase/specimens/other.d.ts.map +1 -0
- package/dist/showcase/specimens/other.js +73 -0
- package/dist/showcase/specimens/specimen.d.ts +5 -0
- package/dist/showcase/specimens/specimen.d.ts.map +1 -0
- package/dist/showcase/specimens/specimen.js +1 -0
- package/dist/showcase/specimens/status.d.ts +22 -0
- package/dist/showcase/specimens/status.d.ts.map +1 -0
- package/dist/showcase/specimens/status.js +44 -0
- package/dist/showcase/usage.generated.d.ts +16 -0
- package/dist/showcase/usage.generated.d.ts.map +1 -0
- package/dist/showcase/usage.generated.js +1788 -0
- package/dist/standalone/index.js +1 -1
- package/dist/styles/components.css +21 -0
- package/package.json +8 -3
- package/dist/components/automation-section.d.ts +0 -78
- package/dist/components/automation-section.d.ts.map +0 -1
- package/dist/components/automation-section.js +0 -75
- package/dist/components/catalog-tile.d.ts +0 -19
- package/dist/components/catalog-tile.d.ts.map +0 -1
- package/dist/components/catalog-tile.js +0 -13
- package/dist/components/feedback-state.d.ts +0 -14
- package/dist/components/feedback-state.d.ts.map +0 -1
- package/dist/components/feedback-state.js +0 -65
- package/dist/components/installer-shell.d.ts +0 -25
- package/dist/components/installer-shell.d.ts.map +0 -1
- package/dist/components/installer-shell.js +0 -32
- package/dist/components/settings-form.d.ts +0 -9
- package/dist/components/settings-form.d.ts.map +0 -1
- package/dist/components/settings-form.js +0 -83
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export declare const SPECIMENS: {
|
|
2
|
+
Accordion: () => import("react").JSX.Element;
|
|
3
|
+
AspectRatio: () => import("react").JSX.Element;
|
|
4
|
+
BrandField: () => import("react").JSX.Element;
|
|
5
|
+
Carousel: () => import("react").JSX.Element;
|
|
6
|
+
ChannelView: () => import("react").JSX.Element;
|
|
7
|
+
Collapsible: () => import("react").JSX.Element;
|
|
8
|
+
CompanyCard: () => import("react").JSX.Element;
|
|
9
|
+
Disclosure: () => import("react").JSX.Element;
|
|
10
|
+
ExpandableBlock: () => import("react").JSX.Element;
|
|
11
|
+
HiveScene: () => import("react").JSX.Element;
|
|
12
|
+
NadiaPresence: () => import("react").JSX.Element;
|
|
13
|
+
NumberedSteps: () => import("react").JSX.Element;
|
|
14
|
+
PluginSlotBoundary: () => import("react").JSX.Element;
|
|
15
|
+
ReadingColumn: () => import("react").JSX.Element;
|
|
16
|
+
ResizablePanelGroup: () => import("react").JSX.Element;
|
|
17
|
+
ScrollArea: () => import("react").JSX.Element;
|
|
18
|
+
Separator: () => import("react").JSX.Element;
|
|
19
|
+
ToolIcon: () => import("react").JSX.Element;
|
|
20
|
+
ActivityCalendar: () => import("react").JSX.Element;
|
|
21
|
+
ChartAreaStacked: () => import("react").JSX.Element;
|
|
22
|
+
ChartBarHorizontal: () => import("react").JSX.Element;
|
|
23
|
+
ChartBarMultiple: () => import("react").JSX.Element;
|
|
24
|
+
ChartBarStacked: () => import("react").JSX.Element;
|
|
25
|
+
ChartCard: () => import("react").JSX.Element;
|
|
26
|
+
ChartContainer: () => import("react").JSX.Element;
|
|
27
|
+
ChartSparkline: () => import("react").JSX.Element;
|
|
28
|
+
createEntityColorMap: () => import("react").JSX.Element;
|
|
29
|
+
DateRangeControl: () => import("react").JSX.Element;
|
|
30
|
+
KpiCard: () => import("react").JSX.Element;
|
|
31
|
+
TrendBadge: () => import("react").JSX.Element;
|
|
32
|
+
AccountMenu: () => import("react").JSX.Element;
|
|
33
|
+
ActionContextMenu: () => import("react").JSX.Element;
|
|
34
|
+
ActionMenu: () => import("react").JSX.Element;
|
|
35
|
+
AlertDialog: () => import("react").JSX.Element;
|
|
36
|
+
ContextMenu: () => import("react").JSX.Element;
|
|
37
|
+
Dialog: () => import("react").JSX.Element;
|
|
38
|
+
Drawer: () => import("react").JSX.Element;
|
|
39
|
+
DropdownMenu: () => import("react").JSX.Element;
|
|
40
|
+
GlassControl: () => import("react").JSX.Element;
|
|
41
|
+
Menubar: () => import("react").JSX.Element;
|
|
42
|
+
MenuChoiceRow: () => import("react").JSX.Element;
|
|
43
|
+
Popover: () => import("react").JSX.Element;
|
|
44
|
+
Sheet: () => import("react").JSX.Element;
|
|
45
|
+
ThemeModeMenu: () => import("react").JSX.Element;
|
|
46
|
+
Alert: () => import("react").JSX.Element;
|
|
47
|
+
EmptyState: () => import("react").JSX.Element;
|
|
48
|
+
EntryProgress: () => import("react").JSX.Element;
|
|
49
|
+
EntryStageList: () => import("react").JSX.Element;
|
|
50
|
+
HoverCard: () => import("react").JSX.Element;
|
|
51
|
+
LabelledPicture: () => import("react").JSX.Element;
|
|
52
|
+
MessageNotice: () => import("react").JSX.Element;
|
|
53
|
+
NoticeBanner: () => import("react").JSX.Element;
|
|
54
|
+
PendingLabel: () => import("react").JSX.Element;
|
|
55
|
+
Skeleton: () => import("react").JSX.Element;
|
|
56
|
+
Toaster: () => import("react").JSX.Element;
|
|
57
|
+
Tooltip: () => import("react").JSX.Element;
|
|
58
|
+
UpdateCard: () => import("react").JSX.Element;
|
|
59
|
+
WaitingLine: () => import("react").JSX.Element;
|
|
60
|
+
AgentCard: () => import("react").JSX.Element;
|
|
61
|
+
ApprovalRow: () => import("react").JSX.Element;
|
|
62
|
+
Card: () => import("react").JSX.Element;
|
|
63
|
+
CardRow: () => import("react").JSX.Element;
|
|
64
|
+
CodeBlock: () => import("react").JSX.Element;
|
|
65
|
+
DataTable: () => import("react").JSX.Element;
|
|
66
|
+
DiffCount: () => import("react").JSX.Element;
|
|
67
|
+
DisclosureRow: () => import("react").JSX.Element;
|
|
68
|
+
FileDiff: () => import("react").JSX.Element;
|
|
69
|
+
Item: () => import("react").JSX.Element;
|
|
70
|
+
Kbd: () => import("react").JSX.Element;
|
|
71
|
+
MemoryItem: () => import("react").JSX.Element;
|
|
72
|
+
ObjectFacts: () => import("react").JSX.Element;
|
|
73
|
+
PairingCode: () => import("react").JSX.Element;
|
|
74
|
+
Progress: () => import("react").JSX.Element;
|
|
75
|
+
QrCode: () => import("react").JSX.Element;
|
|
76
|
+
RecordTime: () => import("react").JSX.Element;
|
|
77
|
+
RunTimeline: () => import("react").JSX.Element;
|
|
78
|
+
SettingsFactsSection: () => import("react").JSX.Element;
|
|
79
|
+
StatusRow: () => import("react").JSX.Element;
|
|
80
|
+
Table: () => import("react").JSX.Element;
|
|
81
|
+
TableCard: () => import("react").JSX.Element;
|
|
82
|
+
TableValue: () => import("react").JSX.Element;
|
|
83
|
+
UsageMeter: () => import("react").JSX.Element;
|
|
84
|
+
AgentListRow: () => import("react").JSX.Element;
|
|
85
|
+
Breadcrumb: () => import("react").JSX.Element;
|
|
86
|
+
CommandDialog: () => import("react").JSX.Element;
|
|
87
|
+
DashboardShell: () => import("react").JSX.Element;
|
|
88
|
+
DesktopAppShell: () => import("react").JSX.Element;
|
|
89
|
+
Footer: () => import("react").JSX.Element;
|
|
90
|
+
NavigationMenu: () => import("react").JSX.Element;
|
|
91
|
+
Pagination: () => import("react").JSX.Element;
|
|
92
|
+
PortalSidebarFrame: () => import("react").JSX.Element;
|
|
93
|
+
ScopeSwitcher: () => import("react").JSX.Element;
|
|
94
|
+
Sidebar: () => import("react").JSX.Element;
|
|
95
|
+
SidebarSections: () => import("react").JSX.Element;
|
|
96
|
+
Tabs: () => import("react").JSX.Element;
|
|
97
|
+
TabsNav: () => import("react").JSX.Element;
|
|
98
|
+
textLinkVariants: () => import("react").JSX.Element;
|
|
99
|
+
ActionStatus: () => import("react").JSX.Element;
|
|
100
|
+
AgentOrb: () => import("react").JSX.Element;
|
|
101
|
+
AppMark: () => import("react").JSX.Element;
|
|
102
|
+
ArchIcon: () => import("react").JSX.Element;
|
|
103
|
+
Avatar: () => import("react").JSX.Element;
|
|
104
|
+
Badge: () => import("react").JSX.Element;
|
|
105
|
+
BrandWordmark: () => import("react").JSX.Element;
|
|
106
|
+
FileTypeIcon: () => import("react").JSX.Element;
|
|
107
|
+
IdentityMark: () => import("react").JSX.Element;
|
|
108
|
+
MetaLabel: () => import("react").JSX.Element;
|
|
109
|
+
ModelIdentity: () => import("react").JSX.Element;
|
|
110
|
+
ModelMark: () => import("react").JSX.Element;
|
|
111
|
+
PlatformMark: () => import("react").JSX.Element;
|
|
112
|
+
RecordIdentity: () => import("react").JSX.Element;
|
|
113
|
+
StatusBadge: () => import("react").JSX.Element;
|
|
114
|
+
StatusDot: () => import("react").JSX.Element;
|
|
115
|
+
Tag: () => import("react").JSX.Element;
|
|
116
|
+
Checkbox: () => import("react").JSX.Element;
|
|
117
|
+
CollectionSort: () => import("react").JSX.Element;
|
|
118
|
+
Combobox: () => import("react").JSX.Element;
|
|
119
|
+
ModelSelect: () => import("react").JSX.Element;
|
|
120
|
+
RadioGroup: () => import("react").JSX.Element;
|
|
121
|
+
SegmentedChoice: () => import("react").JSX.Element;
|
|
122
|
+
Select: () => import("react").JSX.Element;
|
|
123
|
+
Switch: () => import("react").JSX.Element;
|
|
124
|
+
ThemeModeSwitcher: () => import("react").JSX.Element;
|
|
125
|
+
Toggle: () => import("react").JSX.Element;
|
|
126
|
+
ToggleGroup: () => import("react").JSX.Element;
|
|
127
|
+
Calendar: () => import("react").JSX.Element;
|
|
128
|
+
CollectionSearch: () => import("react").JSX.Element;
|
|
129
|
+
Field: () => import("react").JSX.Element;
|
|
130
|
+
Form: () => import("react").JSX.Element;
|
|
131
|
+
Input: () => import("react").JSX.Element;
|
|
132
|
+
InputGroup: () => import("react").JSX.Element;
|
|
133
|
+
InputOTP: () => import("react").JSX.Element;
|
|
134
|
+
Label: () => import("react").JSX.Element;
|
|
135
|
+
NativeSelect: () => import("react").JSX.Element;
|
|
136
|
+
SettingsField: () => import("react").JSX.Element;
|
|
137
|
+
Slider: () => import("react").JSX.Element;
|
|
138
|
+
Textarea: () => import("react").JSX.Element;
|
|
139
|
+
Button: () => import("react").JSX.Element;
|
|
140
|
+
ButtonGroup: () => import("react").JSX.Element;
|
|
141
|
+
CopyButton: () => import("react").JSX.Element;
|
|
142
|
+
PageActions: () => import("react").JSX.Element;
|
|
143
|
+
ActivityFeed: () => import("react").JSX.Element;
|
|
144
|
+
AgentProfileCard: () => import("react").JSX.Element;
|
|
145
|
+
CatalogDrawer: () => import("react").JSX.Element;
|
|
146
|
+
CollectionFilters: () => import("react").JSX.Element;
|
|
147
|
+
CollectionPage: () => import("react").JSX.Element;
|
|
148
|
+
CollectionToolbar: () => import("react").JSX.Element;
|
|
149
|
+
ConfirmDialog: () => import("react").JSX.Element;
|
|
150
|
+
EntryScene: () => import("react").JSX.Element;
|
|
151
|
+
FormDialog: () => import("react").JSX.Element;
|
|
152
|
+
FormDrawer: () => import("react").JSX.Element;
|
|
153
|
+
LibraryShelf: () => import("react").JSX.Element;
|
|
154
|
+
ObjectPage: () => import("react").JSX.Element;
|
|
155
|
+
ObjectSection: () => import("react").JSX.Element;
|
|
156
|
+
OverviewPage: () => import("react").JSX.Element;
|
|
157
|
+
PageHeader: () => import("react").JSX.Element;
|
|
158
|
+
RecordList: () => import("react").JSX.Element;
|
|
159
|
+
RecordSheet: () => import("react").JSX.Element;
|
|
160
|
+
RowEditForm: () => import("react").JSX.Element;
|
|
161
|
+
SettingsPage: () => import("react").JSX.Element;
|
|
162
|
+
SettingsSection: () => import("react").JSX.Element;
|
|
163
|
+
};
|
|
164
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ACTIONS } from "./actions.js";
|
|
2
|
+
import { CHARTS } from "./charts.js";
|
|
3
|
+
import { CHOICES } from "./choices.js";
|
|
4
|
+
import { COMPOSITIONS } from "./compositions.js";
|
|
5
|
+
import { DATA } from "./data.js";
|
|
6
|
+
import { FEEDBACK } from "./feedback.js";
|
|
7
|
+
import { INPUTS } from "./inputs.js";
|
|
8
|
+
import { MENUS } from "./menus.js";
|
|
9
|
+
import { NAVIGATION } from "./navigation.js";
|
|
10
|
+
import { OTHER } from "./other.js";
|
|
11
|
+
import { STATUS } from "./status.js";
|
|
12
|
+
export const SPECIMENS = {
|
|
13
|
+
...COMPOSITIONS,
|
|
14
|
+
...ACTIONS,
|
|
15
|
+
...INPUTS,
|
|
16
|
+
...CHOICES,
|
|
17
|
+
...STATUS,
|
|
18
|
+
...NAVIGATION,
|
|
19
|
+
...DATA,
|
|
20
|
+
...FEEDBACK,
|
|
21
|
+
...MENUS,
|
|
22
|
+
...CHARTS,
|
|
23
|
+
...OTHER,
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare function CalendarSpecimen(): import("react").JSX.Element;
|
|
2
|
+
declare function CollectionSearchSpecimen(): import("react").JSX.Element;
|
|
3
|
+
declare function FormSpecimen(): import("react").JSX.Element;
|
|
4
|
+
declare function InputGroupSpecimen(): import("react").JSX.Element;
|
|
5
|
+
declare function InputOTPSpecimen(): import("react").JSX.Element;
|
|
6
|
+
declare function SliderSpecimen(): import("react").JSX.Element;
|
|
7
|
+
export declare const INPUTS: {
|
|
8
|
+
Calendar: typeof CalendarSpecimen;
|
|
9
|
+
CollectionSearch: typeof CollectionSearchSpecimen;
|
|
10
|
+
Field: () => import("react").JSX.Element;
|
|
11
|
+
Form: typeof FormSpecimen;
|
|
12
|
+
Input: () => import("react").JSX.Element;
|
|
13
|
+
InputGroup: typeof InputGroupSpecimen;
|
|
14
|
+
InputOTP: typeof InputOTPSpecimen;
|
|
15
|
+
Label: () => import("react").JSX.Element;
|
|
16
|
+
NativeSelect: () => import("react").JSX.Element;
|
|
17
|
+
SettingsField: () => import("react").JSX.Element;
|
|
18
|
+
Slider: typeof SliderSpecimen;
|
|
19
|
+
Textarea: () => import("react").JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/inputs.tsx"],"names":[],"mappings":"AAsCA,iBAAS,gBAAgB,gCAaxB;AAED,iBAAS,wBAAwB,gCAOhC;AAED,iBAAS,YAAY,gCA4BpB;AAED,iBAAS,kBAAkB,gCA2B1B;AAED,iBAAS,gBAAgB,gCA2BxB;AAED,iBAAS,cAAc,gCAoBtB;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAuEQ,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Search, X } from "lucide-react";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
import { useForm } from "react-hook-form";
|
|
6
|
+
import { Button } from "../../components/button.js";
|
|
7
|
+
import { Calendar } from "../../components/calendar.js";
|
|
8
|
+
import { CollectionSearch } from "../../components/collection-search.js";
|
|
9
|
+
import { Field, FieldDescription, FieldError, FieldLabel } from "../../components/field.js";
|
|
10
|
+
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, } from "../../components/form.js";
|
|
11
|
+
import { Input } from "../../components/input.js";
|
|
12
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, } from "../../components/input-group.js";
|
|
13
|
+
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "../../components/input-otp.js";
|
|
14
|
+
import { Label } from "../../components/label.js";
|
|
15
|
+
import { NativeSelect, NativeSelectOption } from "../../components/native-select.js";
|
|
16
|
+
import { SettingsField } from "../../components/settings-section.js";
|
|
17
|
+
import { Slider } from "../../components/slider.js";
|
|
18
|
+
import { Switch } from "../../components/switch.js";
|
|
19
|
+
import { Textarea } from "../../components/textarea.js";
|
|
20
|
+
function CalendarSpecimen() {
|
|
21
|
+
const [range, setRange] = useState({
|
|
22
|
+
from: new Date(2026, 9, 7),
|
|
23
|
+
to: new Date(2026, 9, 13),
|
|
24
|
+
});
|
|
25
|
+
return (_jsx(Calendar, { defaultMonth: new Date(2026, 9, 1), mode: "range", onSelect: setRange, selected: range }));
|
|
26
|
+
}
|
|
27
|
+
function CollectionSearchSpecimen() {
|
|
28
|
+
const [value, setValue] = useState("");
|
|
29
|
+
return (_jsx("div", { className: "max-w-sm", children: _jsx(CollectionSearch, { label: "Find a skill", onValueChange: setValue, value: value }) }));
|
|
30
|
+
}
|
|
31
|
+
function FormSpecimen() {
|
|
32
|
+
const form = useForm({ defaultValues: { name: "" } });
|
|
33
|
+
return (_jsx(Form, { ...form, children: _jsxs("form", { className: "grid max-w-sm gap-4", method: "post", onSubmit: form.handleSubmit(() => undefined), children: [_jsx(FormField, { control: form.control, name: "name", rules: { required: "Enter the company's name, as it appears on invoices." }, render: ({ field }) => (_jsxs(FormItem, { children: [_jsx(FormLabel, { children: "Company name" }), _jsx(FormControl, { render: _jsx(Input, { placeholder: "Bizeta Arredamenti", ...field }) }), _jsx(FormDescription, { children: "Shown on every invoice your Agents send." }), _jsx(FormMessage, {})] })) }), _jsx(Button, { className: "justify-self-start", type: "submit", children: "Save company" })] }) }));
|
|
34
|
+
}
|
|
35
|
+
function InputGroupSpecimen() {
|
|
36
|
+
const [value, setValue] = useState("acme.it");
|
|
37
|
+
return (_jsxs("div", { className: "grid max-w-sm gap-3", children: [_jsxs(InputGroup, { children: [_jsx(InputGroupAddon, { children: _jsx(InputGroupText, { children: "https://" }) }), _jsx(InputGroupInput, { "aria-label": "Website", onChange: (event) => setValue(event.target.value), value: value }), _jsx(InputGroupAddon, { align: "inline-end", children: _jsx(InputGroupButton, { "aria-label": "Clear website", onClick: () => setValue(""), size: "icon-xs", children: _jsx(X, { "aria-hidden": "true" }) }) })] }), _jsxs(InputGroup, { children: [_jsx(InputGroupAddon, { children: _jsx(Search, { "aria-hidden": "true" }) }), _jsx(InputGroupInput, { "aria-label": "Search the hub", placeholder: "Search the hub", type: "search" })] })] }));
|
|
38
|
+
}
|
|
39
|
+
function InputOTPSpecimen() {
|
|
40
|
+
const [code, setCode] = useState("");
|
|
41
|
+
return (_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { htmlFor: "showcase-otp", children: "Code from your authenticator app" }), _jsxs(InputOTP, { autoComplete: "one-time-code", id: "showcase-otp", inputMode: "numeric", maxLength: 6, onChange: setCode, value: code, children: [_jsxs(InputOTPGroup, { children: [_jsx(InputOTPSlot, { index: 0 }), _jsx(InputOTPSlot, { index: 1 }), _jsx(InputOTPSlot, { index: 2 })] }), _jsx(InputOTPSeparator, {}), _jsxs(InputOTPGroup, { children: [_jsx(InputOTPSlot, { index: 3 }), _jsx(InputOTPSlot, { index: 4 }), _jsx(InputOTPSlot, { index: 5 })] })] })] }));
|
|
42
|
+
}
|
|
43
|
+
function SliderSpecimen() {
|
|
44
|
+
const [limit, setLimit] = useState(400);
|
|
45
|
+
return (_jsxs("div", { className: "grid max-w-sm gap-2", children: [_jsxs("div", { className: "flex items-baseline justify-between gap-4", children: [_jsx(Label, { id: "showcase-limit", children: "Monthly limit" }), _jsxs("span", { className: "text-sm tabular-nums", children: ["\u20AC ", limit] })] }), _jsx(Slider, { "aria-labelledby": "showcase-limit", format: { style: "currency", currency: "EUR", maximumFractionDigits: 0 }, max: 1000, min: 0, onValueChange: (next) => setLimit(Array.isArray(next) ? (next[0] ?? 0) : next), step: 50, value: limit }), _jsx("p", { className: "text-sm text-muted-foreground", children: "From \u20AC0 to \u20AC1,000, in steps of \u20AC50." })] }));
|
|
46
|
+
}
|
|
47
|
+
export const INPUTS = {
|
|
48
|
+
Calendar: CalendarSpecimen,
|
|
49
|
+
CollectionSearch: CollectionSearchSpecimen,
|
|
50
|
+
Field: () => (_jsxs("div", { className: "grid max-w-sm gap-6", children: [_jsxs(Field, { children: [_jsx(FieldLabel, { htmlFor: "showcase-email", children: "Billing email" }), _jsx(FieldDescription, { children: "Invoices and receipts go here." }), _jsx(Input, { id: "showcase-email", placeholder: "amministrazione@acme.it", type: "email" })] }), _jsxs(Field, { "data-invalid": "true", children: [_jsx(FieldLabel, { htmlFor: "showcase-email-wrong", children: "Billing email" }), _jsx(Input, { "aria-describedby": "showcase-email-error", "aria-invalid": "true", defaultValue: "amministrazione", id: "showcase-email-wrong", type: "email" }), _jsx(FieldError, { id: "showcase-email-error", children: "Enter a full address, like name@company.it." })] })] })),
|
|
51
|
+
Form: FormSpecimen,
|
|
52
|
+
Input: () => (_jsxs("div", { className: "grid max-w-sm gap-2", children: [_jsx(Label, { htmlFor: "showcase-company", children: "Company name" }), _jsx(Input, { autoComplete: "organization", id: "showcase-company", placeholder: "Bizeta Arredamenti" })] })),
|
|
53
|
+
InputGroup: InputGroupSpecimen,
|
|
54
|
+
InputOTP: InputOTPSpecimen,
|
|
55
|
+
Label: () => (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Switch, { id: "showcase-approvals" }), _jsx(Label, { htmlFor: "showcase-approvals", children: "Approvals" })] })),
|
|
56
|
+
NativeSelect: () => (_jsxs("div", { className: "grid max-w-sm gap-2", children: [_jsx(Label, { htmlFor: "showcase-zone", children: "Time zone" }), _jsxs(NativeSelect, { defaultValue: "Europe/Rome", id: "showcase-zone", children: [_jsx(NativeSelectOption, { value: "Europe/London", children: "London" }), _jsx(NativeSelectOption, { value: "Europe/Rome", children: "Rome" }), _jsx(NativeSelectOption, { value: "America/New_York", children: "New York" })] })] })),
|
|
57
|
+
SettingsField: () => (_jsx("div", { className: "max-w-md", children: _jsx(SettingsField, { description: "The name your Customers read on every message.", id: "showcase-sender", label: "Sender name", children: ({ controlProps }) => _jsx(Input, { ...controlProps, defaultValue: "Acme Quotes" }) }) })),
|
|
58
|
+
Slider: SliderSpecimen,
|
|
59
|
+
Textarea: () => (_jsxs("div", { className: "grid max-w-md gap-2", children: [_jsx(Label, { htmlFor: "showcase-instructions", children: "Instructions" }), _jsx(Textarea, { id: "showcase-instructions", placeholder: "Reply in Italian, and copy the sales team on every quote." })] })),
|
|
60
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare function AccountMenuSpecimen(): import("react").JSX.Element;
|
|
2
|
+
declare function MenuRowsSpecimen(): import("react").JSX.Element;
|
|
3
|
+
export declare const MENUS: {
|
|
4
|
+
AccountMenu: typeof AccountMenuSpecimen;
|
|
5
|
+
ActionContextMenu: () => import("react").JSX.Element;
|
|
6
|
+
ActionMenu: () => import("react").JSX.Element;
|
|
7
|
+
AlertDialog: () => import("react").JSX.Element;
|
|
8
|
+
ContextMenu: () => import("react").JSX.Element;
|
|
9
|
+
Dialog: () => import("react").JSX.Element;
|
|
10
|
+
Drawer: () => import("react").JSX.Element;
|
|
11
|
+
DropdownMenu: () => import("react").JSX.Element;
|
|
12
|
+
GlassControl: () => import("react").JSX.Element;
|
|
13
|
+
Menubar: () => import("react").JSX.Element;
|
|
14
|
+
MenuChoiceRow: typeof MenuRowsSpecimen;
|
|
15
|
+
Popover: () => import("react").JSX.Element;
|
|
16
|
+
Sheet: () => import("react").JSX.Element;
|
|
17
|
+
ThemeModeMenu: typeof MenuRowsSpecimen;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=menus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menus.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/menus.tsx"],"names":[],"mappings":"AAuFA,iBAAS,mBAAmB,gCA+B3B;AAED,iBAAS,gBAAgB,gCAoBxB;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CA0IS,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Copy, Languages, Pencil, Settings2 } from "lucide-react";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
import { AccountMenu } from "../../components/account-menu.js";
|
|
6
|
+
import { ActionContextMenu, ActionMenu } from "../../components/action-menu.js";
|
|
7
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "../../components/alert-dialog.js";
|
|
8
|
+
import { Button } from "../../components/button.js";
|
|
9
|
+
import { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuTrigger, } from "../../components/context-menu.js";
|
|
10
|
+
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "../../components/dialog.js";
|
|
11
|
+
import { Drawer, DrawerBody, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle, DrawerTrigger, } from "../../components/drawer.js";
|
|
12
|
+
import { DropdownMenu, DropdownMenuCommand, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuTrigger, } from "../../components/dropdown-menu.js";
|
|
13
|
+
import { GlassControl } from "../../components/glass-control.js";
|
|
14
|
+
import { Input } from "../../components/input.js";
|
|
15
|
+
import { Label } from "../../components/label.js";
|
|
16
|
+
import { Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarTrigger, } from "../../components/menubar.js";
|
|
17
|
+
import { MenuChoiceRow } from "../../components/menu-choice-row.js";
|
|
18
|
+
import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "../../components/popover.js";
|
|
19
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger, } from "../../components/sheet.js";
|
|
20
|
+
import { ThemeModeMenu } from "../../components/theme-mode-switcher.js";
|
|
21
|
+
import { nothing, RECORD_COMMANDS } from "../samples.js";
|
|
22
|
+
const THEME_LABELS = { light: "Light", dark: "Dark", system: "System" };
|
|
23
|
+
function AccountMenuSpecimen() {
|
|
24
|
+
const [theme, setTheme] = useState("system");
|
|
25
|
+
const [language, setLanguage] = useState("en");
|
|
26
|
+
return (_jsx("div", { className: "max-w-xs", children: _jsx(AccountMenu, { commands: [{ label: "Usage", icon: _jsx(Settings2, {}), value: "62% left", onClick: nothing }], identity: { name: "Ada Rossi", initials: "AR", lines: ["ada@acme.it"] }, label: "Account: Ada Rossi", language: {
|
|
27
|
+
icon: _jsx(Languages, {}),
|
|
28
|
+
label: "Language",
|
|
29
|
+
onValueChange: setLanguage,
|
|
30
|
+
options: [
|
|
31
|
+
{ value: "en", label: "English", content: "EN" },
|
|
32
|
+
{ value: "it", label: "Italiano", content: "IT" },
|
|
33
|
+
],
|
|
34
|
+
value: language,
|
|
35
|
+
}, settings: { label: "Settings", onClick: nothing }, side: "bottom", signOut: {
|
|
36
|
+
label: "Sign out",
|
|
37
|
+
pendingLabel: "Signing out",
|
|
38
|
+
pending: false,
|
|
39
|
+
onSignOut: nothing,
|
|
40
|
+
}, theme: { label: "Theme", labels: THEME_LABELS, onValueChange: setTheme, value: theme } }) }));
|
|
41
|
+
}
|
|
42
|
+
function MenuRowsSpecimen() {
|
|
43
|
+
const [theme, setTheme] = useState("system");
|
|
44
|
+
const [density, setDensity] = useState("comfortable");
|
|
45
|
+
return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { render: _jsx(Button, { variant: "outline", children: "Preferences" }) }), _jsxs(DropdownMenuContent, { align: "start", children: [_jsx(ThemeModeMenu, { label: "Theme", labels: THEME_LABELS, onValueChange: setTheme, value: theme }), _jsx(MenuChoiceRow, { label: "Density", onValueChange: setDensity, options: [
|
|
46
|
+
{ value: "comfortable", label: "Comfortable", content: "Aa" },
|
|
47
|
+
{ value: "compact", label: "Compact", content: "aa" },
|
|
48
|
+
], value: density })] })] }));
|
|
49
|
+
}
|
|
50
|
+
export const MENUS = {
|
|
51
|
+
AccountMenu: AccountMenuSpecimen,
|
|
52
|
+
ActionContextMenu: () => (_jsx(ActionContextMenu, { commands: RECORD_COMMANDS, label: "More for pec@acme.it", record: "pec@acme.it", children: _jsx("div", { className: "max-w-sm rounded-md border border-dashed border-border p-6 text-sm text-muted-foreground", children: "Right-click pec@acme.it" }) })),
|
|
53
|
+
ActionMenu: () => (_jsxs("div", { className: "flex items-center gap-2 text-sm", children: ["pec@acme.it", _jsx(ActionMenu, { commands: RECORD_COMMANDS, label: "More for pec@acme.it", record: "pec@acme.it" })] })),
|
|
54
|
+
AlertDialog: () => (_jsxs(AlertDialog, { children: [_jsx(AlertDialogTrigger, { render: _jsx(Button, { variant: "outline", children: "Remove mailbox" }) }), _jsxs(AlertDialogContent, { children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: "Remove pec@acme.it" }), _jsx(AlertDialogDescription, { children: "Agents stop reading and sending from this address." })] }), _jsxs(AlertDialogFooter, { children: [_jsx(AlertDialogCancel, { children: "Cancel" }), _jsx(AlertDialogAction, { variant: "destructive", children: "Remove mailbox" })] })] })] })),
|
|
55
|
+
ContextMenu: () => (_jsxs(ContextMenu, { children: [_jsx(ContextMenuTrigger, { className: "block max-w-sm rounded-md border border-dashed border-border p-6 text-sm text-muted-foreground", children: "Right-click the canvas" }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "Paste" }), _jsx(ContextMenuItem, { children: "Select all" })] })] })),
|
|
56
|
+
Dialog: () => (_jsxs(Dialog, { children: [_jsx(DialogTrigger, { render: _jsx(Button, { variant: "outline", children: "Add MCP server" }) }), _jsxs(DialogContent, { children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Add MCP server" }), _jsx(DialogDescription, { children: "Agents can call its tools once it is added." })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { htmlFor: "showcase-mcp-url", children: "Address" }), _jsx(Input, { id: "showcase-mcp-url", placeholder: "https://mcp.acme.it", type: "url" })] }), _jsxs(DialogFooter, { children: [_jsx(DialogClose, { render: _jsx(Button, { variant: "outline", children: "Cancel" }) }), _jsx(Button, { children: "Add server" })] })] })] })),
|
|
57
|
+
Drawer: () => (_jsxs(Drawer, { children: [_jsx(DrawerTrigger, { render: _jsx(Button, { variant: "outline", children: "Connect Telegram" }) }), _jsxs(DrawerContent, { children: [_jsxs(DrawerHeader, { children: [_jsx(DrawerTitle, { children: "Connect Telegram" }), _jsx(DrawerDescription, { children: "Step 1 of 2: open the bot on your phone." })] }), _jsx(DrawerBody, { className: "text-sm text-muted-foreground", children: "Scan the code with Telegram, then come back here." })] })] })),
|
|
58
|
+
DropdownMenu: () => (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { render: _jsx(Button, { variant: "outline", children: "Actions" }) }), _jsx(DropdownMenuContent, { align: "start", children: _jsxs(DropdownMenuGroup, { children: [_jsx(DropdownMenuLabel, { children: "pec@acme.it" }), _jsx(DropdownMenuCommand, { icon: _jsx(Pencil, {}), children: "Rename mailbox" }), _jsx(DropdownMenuCommand, { disabled: true, icon: _jsx(Copy, {}), reason: "Only an owner can copy it", children: "Copy password" })] }) })] })),
|
|
59
|
+
GlassControl: () => (_jsxs(GlassControl, { className: "flex w-fit items-center gap-2 p-2", children: [_jsx(Button, { variant: "ghost", children: "Day" }), _jsx(Button, { variant: "ghost", children: "Week" }), _jsx(Button, { variant: "ghost", children: "Month" })] })),
|
|
60
|
+
Menubar: () => (_jsxs(Menubar, { children: [_jsxs(MenubarMenu, { children: [_jsx(MenubarTrigger, { children: "File" }), _jsxs(MenubarContent, { children: [_jsx(MenubarItem, { children: "New chat" }), _jsx(MenubarItem, { children: "Export chat" })] })] }), _jsxs(MenubarMenu, { children: [_jsx(MenubarTrigger, { children: "Edit" }), _jsx(MenubarContent, { children: _jsx(MenubarItem, { children: "Copy message" }) })] })] })),
|
|
61
|
+
MenuChoiceRow: MenuRowsSpecimen,
|
|
62
|
+
Popover: () => (_jsxs(Popover, { children: [_jsx(PopoverTrigger, { render: _jsx(Button, { variant: "outline", children: "Filter" }) }), _jsx(PopoverContent, { align: "start", children: _jsxs(PopoverHeader, { children: [_jsx(PopoverTitle, { children: "Filter skills" }), _jsx(PopoverDescription, { children: "Show the skills every Agent has." })] }) })] })),
|
|
63
|
+
Sheet: () => (_jsxs(Sheet, { children: [_jsx(SheetTrigger, { render: _jsx(Button, { variant: "outline", children: "Inspect Rossi Ottica" }) }), _jsx(SheetContent, { children: _jsxs(SheetHeader, { children: [_jsx(SheetTitle, { children: "Rossi Ottica" }), _jsx(SheetDescription, { children: "Partner since March 2026, 4 customers." })] }) })] })),
|
|
64
|
+
ThemeModeMenu: MenuRowsSpecimen,
|
|
65
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare function CommandDialogSpecimen(): import("react").JSX.Element;
|
|
2
|
+
declare function ScopeSwitcherSpecimen(): import("react").JSX.Element;
|
|
3
|
+
declare function SidebarSectionsSpecimen(): import("react").JSX.Element;
|
|
4
|
+
export declare const NAVIGATION: {
|
|
5
|
+
AgentListRow: () => import("react").JSX.Element;
|
|
6
|
+
Breadcrumb: () => import("react").JSX.Element;
|
|
7
|
+
CommandDialog: typeof CommandDialogSpecimen;
|
|
8
|
+
DashboardShell: () => import("react").JSX.Element;
|
|
9
|
+
DesktopAppShell: () => import("react").JSX.Element;
|
|
10
|
+
Footer: () => import("react").JSX.Element;
|
|
11
|
+
NavigationMenu: () => import("react").JSX.Element;
|
|
12
|
+
Pagination: () => import("react").JSX.Element;
|
|
13
|
+
PortalSidebarFrame: () => import("react").JSX.Element;
|
|
14
|
+
ScopeSwitcher: typeof ScopeSwitcherSpecimen;
|
|
15
|
+
Sidebar: () => import("react").JSX.Element;
|
|
16
|
+
SidebarSections: typeof SidebarSectionsSpecimen;
|
|
17
|
+
Tabs: () => import("react").JSX.Element;
|
|
18
|
+
TabsNav: () => import("react").JSX.Element;
|
|
19
|
+
textLinkVariants: () => import("react").JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/navigation.tsx"],"names":[],"mappings":"AAgFA,iBAAS,qBAAqB,gCAgC7B;AAED,iBAAS,qBAAqB,gCAc7B;AAED,iBAAS,uBAAuB,gCAiC/B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CA4PI,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { Building2, CreditCard, Download, LayoutDashboard, Settings, Users } from "lucide-react";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
import { AgentListRow } from "../../components/agent-list-row.js";
|
|
6
|
+
import { BrandWordmark } from "../../components/brand.js";
|
|
7
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "../../components/breadcrumb.js";
|
|
8
|
+
import { Button } from "../../components/button.js";
|
|
9
|
+
import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandShortcut, } from "../../components/command.js";
|
|
10
|
+
import { DashboardShell } from "../../components/dashboard-shell.js";
|
|
11
|
+
import { DesktopAppShell } from "../../components/desktop-shell.js";
|
|
12
|
+
import { Footer, FooterBrand, FooterIdentity, FooterInner, FooterMeta, FooterNav, } from "../../components/footer.js";
|
|
13
|
+
import { AgentIcon, ApprovalsIcon } from "../../components/house-icons.js";
|
|
14
|
+
import { Kbd } from "../../components/kbd.js";
|
|
15
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, } from "../../components/navigation-menu.js";
|
|
16
|
+
import { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "../../components/pagination.js";
|
|
17
|
+
import { PortalSidebarFrame } from "../../components/portal-sidebar-frame.js";
|
|
18
|
+
import { ScopeSwitcher } from "../../components/scope-switcher.js";
|
|
19
|
+
import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, } from "../../components/sidebar.js";
|
|
20
|
+
import { SidebarSections } from "../../components/sidebar-sections.js";
|
|
21
|
+
import { Tabs, TabsContent, TabsLink, TabsList, TabsNav, TabsTrigger } from "../../components/tabs.js";
|
|
22
|
+
import { textLinkVariants } from "../../components/text-link.js";
|
|
23
|
+
import { COBALTO, nothing, VERDE } from "../samples.js";
|
|
24
|
+
function Navigation({ children }) {
|
|
25
|
+
return (_jsx(SidebarProvider, { className: "min-h-0", mobileSheet: false, passive: true, children: children }));
|
|
26
|
+
}
|
|
27
|
+
function CommandDialogSpecimen() {
|
|
28
|
+
const [open, setOpen] = useState(false);
|
|
29
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Button, { onClick: () => setOpen(true), variant: "outline", children: ["Find", _jsx(Kbd, { children: "\u2318K" })] }), _jsxs(CommandDialog, { description: "Find an Agent, a customer or a page", onOpenChange: setOpen, open: open, title: "Find", children: [_jsx(CommandInput, { placeholder: "Find anything" }), _jsxs(CommandList, { children: [_jsx(CommandEmpty, { children: "Nothing matches" }), _jsxs(CommandGroup, { heading: "Agents", children: [_jsx(CommandItem, { onSelect: () => setOpen(false), children: "Invoices" }), _jsx(CommandItem, { onSelect: () => setOpen(false), children: "Orders" })] }), _jsxs(CommandGroup, { heading: "Go to", children: [_jsxs(CommandItem, { onSelect: () => setOpen(false), children: ["Usage and billing", _jsx(CommandShortcut, { children: "\u2318U" })] }), _jsx(CommandItem, { onSelect: () => setOpen(false), children: "New Agent" })] })] })] })] }));
|
|
30
|
+
}
|
|
31
|
+
function ScopeSwitcherSpecimen() {
|
|
32
|
+
const [scope, setScope] = useState("all");
|
|
33
|
+
return (_jsx(ScopeSwitcher, { copy: { label: "Scope", search: "Find a scope", empty: "No scope matches" }, onValueChange: setScope, options: [
|
|
34
|
+
{ value: "all", label: "All customers" },
|
|
35
|
+
{ value: "rossi", label: "Rossi Ottica", group: "Partners" },
|
|
36
|
+
{ value: "bizeta", label: "Bizeta Arredamenti", group: "Customers" },
|
|
37
|
+
], value: scope }));
|
|
38
|
+
}
|
|
39
|
+
function SidebarSectionsSpecimen() {
|
|
40
|
+
const [section, setSection] = useState("overview");
|
|
41
|
+
return (_jsx(Navigation, { children: _jsx(Sidebar, { collapsible: "none", children: _jsx(SidebarSections, { back: { label: "Agents", onClick: nothing }, current: section, identity: {
|
|
42
|
+
name: "Invoices",
|
|
43
|
+
mark: { kind: "agent", orb: { form: "orbit", color: COBALTO } },
|
|
44
|
+
detail: "Drafts and sends the month's invoices",
|
|
45
|
+
}, label: "Invoices", sections: [
|
|
46
|
+
{
|
|
47
|
+
id: "overview",
|
|
48
|
+
label: "Overview",
|
|
49
|
+
icon: LayoutDashboard,
|
|
50
|
+
onClick: () => setSection("overview"),
|
|
51
|
+
},
|
|
52
|
+
{ id: "skills", label: "Skills", icon: AgentIcon, onClick: () => setSection("skills") },
|
|
53
|
+
{
|
|
54
|
+
id: "settings",
|
|
55
|
+
label: "Settings",
|
|
56
|
+
icon: Settings,
|
|
57
|
+
onClick: () => setSection("settings"),
|
|
58
|
+
},
|
|
59
|
+
] }) }) }));
|
|
60
|
+
}
|
|
61
|
+
export const NAVIGATION = {
|
|
62
|
+
AgentListRow: () => (_jsxs("ul", { className: "grid max-w-xs gap-1", children: [_jsx("li", { children: _jsx(AgentListRow, { color: COBALTO, current: true, form: "orbit", name: "Invoices", state: "working", stateLine: "Drafting October's invoices" }) }), _jsx("li", { children: _jsx(AgentListRow, { color: VERDE, form: "lattice", name: "Orders", state: "waiting", stateLine: "Waiting for you", stateTone: "warn" }) })] })),
|
|
63
|
+
Breadcrumb: () => (_jsx(Breadcrumb, { "aria-label": "Path", children: _jsxs(BreadcrumbList, { children: [_jsx(BreadcrumbItem, { children: _jsx(BreadcrumbLink, { href: "#customers", children: "Customers" }) }), _jsx(BreadcrumbSeparator, {}), _jsx(BreadcrumbItem, { children: _jsx(BreadcrumbPage, { children: "Rossi Ottica" }) })] }) })),
|
|
64
|
+
CommandDialog: CommandDialogSpecimen,
|
|
65
|
+
DashboardShell: () => (_jsx("div", { className: "h-96 overflow-hidden rounded-md border border-border", children: _jsx(DashboardShell, { className: "min-h-0", contentLabel: "Customers", header: _jsx("span", { className: "text-sm font-medium", children: "Customers" }), mobileNavigationLabel: "Navigation", passive: true, sidebar: _jsxs(SidebarMenu, { children: [_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { isActive: true, children: [_jsx(Building2, { "aria-hidden": "true" }), "Customers"] }) }), _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { children: [_jsx(CreditCard, { "aria-hidden": "true" }), "Usage and billing"] }) })] }), sidebarCollapsible: "none", children: _jsx("p", { className: "text-sm text-muted-foreground", children: "The page's content scrolls here." }) }) })),
|
|
66
|
+
DesktopAppShell: () => (_jsx("div", { className: "h-96 overflow-hidden rounded-md border border-border", children: _jsx(DesktopAppShell, { activityRail: _jsx(Navigation, { children: _jsx(SidebarMenu, { className: "p-2", children: _jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { isActive: true, children: _jsx(AgentListRow, { color: COBALTO, form: "orbit", name: "Invoices", size: 24 }) }) }) }) }), activityRailLabel: "Agents", className: "h-full", primaryPaneLabel: "Conversation", title: "Invoices", children: _jsx("p", { className: "p-4 text-sm text-muted-foreground", children: "The Agent's conversation." }) }) })),
|
|
67
|
+
Footer: () => (_jsx(Footer, { children: _jsxs(FooterInner, { children: [_jsx(FooterBrand, { "aria-label": "nadicode", href: "#top", children: _jsx(BrandWordmark, { alt: "" }) }), _jsx(FooterIdentity, { children: "Agents that do the work, for Italian companies." }), _jsxs(FooterNav, { "aria-label": "Company", children: [_jsx("a", { href: "#privacy", children: "Privacy" }), _jsx("a", { href: "#terms", children: "Terms" })] }), _jsx(FooterMeta, { children: "\u00A9 2026 nadicode" })] }) })),
|
|
68
|
+
NavigationMenu: () => (_jsx(NavigationMenu, { children: _jsxs(NavigationMenuList, { children: [_jsxs(NavigationMenuItem, { children: [_jsx(NavigationMenuTrigger, { children: "Product" }), _jsx(NavigationMenuContent, { children: _jsxs("ul", { className: "grid w-72 gap-1 p-2", children: [_jsx("li", { children: _jsx(NavigationMenuLink, { href: "#nadia", children: "Nadia" }) }), _jsx("li", { children: _jsx(NavigationMenuLink, { href: "#portal", children: "The Portal" }) })] }) })] }), _jsx(NavigationMenuItem, { children: _jsx(NavigationMenuLink, { href: "#pricing", children: "Pricing" }) })] }) })),
|
|
69
|
+
Pagination: () => (_jsx(Pagination, { children: _jsxs(PaginationContent, { children: [_jsx(PaginationItem, { children: _jsx(PaginationPrevious, { href: "#page-1" }) }), _jsx(PaginationItem, { children: _jsx(PaginationLink, { href: "#page-1", children: "1" }) }), _jsx(PaginationItem, { children: _jsx(PaginationLink, { href: "#page-2", isActive: true, children: "2" }) }), _jsx(PaginationItem, { children: _jsx(PaginationLink, { href: "#page-3", children: "3" }) }), _jsx(PaginationItem, { children: _jsx(PaginationNext, { href: "#page-3" }) })] }) })),
|
|
70
|
+
PortalSidebarFrame: () => (_jsx(Navigation, { children: _jsx(PortalSidebarFrame, { account: { name: "Ada Rossi", initials: "AR", lines: ["Acme S.r.l."] }, bands: [
|
|
71
|
+
{
|
|
72
|
+
id: "work",
|
|
73
|
+
label: "Work",
|
|
74
|
+
items: [
|
|
75
|
+
{
|
|
76
|
+
id: "agents",
|
|
77
|
+
label: "Agents",
|
|
78
|
+
icon: _jsx(AgentIcon, { "aria-hidden": "true" }),
|
|
79
|
+
current: true,
|
|
80
|
+
},
|
|
81
|
+
{ id: "approvals", label: "Approvals", icon: _jsx(ApprovalsIcon, { "aria-hidden": "true" }) },
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: "company",
|
|
86
|
+
label: "Company",
|
|
87
|
+
items: [
|
|
88
|
+
{ id: "members", label: "Members", icon: _jsx(Users, { "aria-hidden": "true" }) },
|
|
89
|
+
{
|
|
90
|
+
id: "billing",
|
|
91
|
+
label: "Usage and billing",
|
|
92
|
+
icon: _jsx(CreditCard, { "aria-hidden": "true" }),
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
], findLabel: "Find", footerItem: { id: "get-nadia", label: "Get Nadia", icon: _jsx(Download, { "aria-hidden": "true" }) }, subtitle: "Portal", toggleLabel: "Collapse navigation" }) })),
|
|
97
|
+
ScopeSwitcher: ScopeSwitcherSpecimen,
|
|
98
|
+
Sidebar: () => (_jsx(Navigation, { children: _jsx(Sidebar, { collapsible: "none", children: _jsx(SidebarContent, { children: _jsxs(SidebarGroup, { children: [_jsx(SidebarGroupLabel, { children: "Company" }), _jsxs(SidebarMenu, { children: [_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { isActive: true, children: [_jsx(Building2, { "aria-hidden": "true" }), "Statements"] }) }), _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { children: [_jsx(CreditCard, { "aria-hidden": "true" }), "Usage and billing"] }) })] })] }) }) }) })),
|
|
99
|
+
SidebarSections: SidebarSectionsSpecimen,
|
|
100
|
+
Tabs: () => (_jsxs(Tabs, { defaultValue: "overview", children: [_jsxs(TabsList, { children: [_jsx(TabsTrigger, { value: "overview", children: "Overview" }), _jsx(TabsTrigger, { value: "installations", children: "Installations" })] }), _jsx(TabsContent, { className: "pt-3 text-sm text-muted-foreground", value: "overview", children: "What the customer runs, at a glance." }), _jsx(TabsContent, { className: "pt-3 text-sm text-muted-foreground", value: "installations", children: "Every machine Nadia is installed on." })] })),
|
|
101
|
+
TabsNav: () => (_jsxs(TabsNav, { "aria-label": "Rossi Ottica", variant: "line", children: [_jsx(TabsLink, { current: true, href: "#overview", children: "Overview" }), _jsx(TabsLink, { href: "#installations", children: "Installations" }), _jsx(TabsLink, { href: "#billing", children: "Billing" })] })),
|
|
102
|
+
textLinkVariants: () => (_jsxs("p", { className: "max-w-md text-sm", children: ["Your data stays in the EU. Read the", " ", _jsx("a", { className: textLinkVariants({ kind: "inline" }), href: "#privacy", children: "privacy notice" }), " ", "for what each Agent keeps.", " ", _jsx("a", { className: textLinkVariants({ kind: "quiet" }), href: "#learn", children: "Learn more" })] })),
|
|
103
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare function AspectRatioSpecimen(): import("react").JSX.Element;
|
|
2
|
+
declare function CompanyCardSpecimen(): import("react").JSX.Element;
|
|
3
|
+
declare function HiveSceneSpecimen(): import("react").JSX.Element;
|
|
4
|
+
declare function NadiaPresenceSpecimen(): import("react").JSX.Element;
|
|
5
|
+
export declare const OTHER: {
|
|
6
|
+
Accordion: () => import("react").JSX.Element;
|
|
7
|
+
AspectRatio: typeof AspectRatioSpecimen;
|
|
8
|
+
BrandField: () => import("react").JSX.Element;
|
|
9
|
+
Carousel: () => import("react").JSX.Element;
|
|
10
|
+
ChannelView: () => import("react").JSX.Element;
|
|
11
|
+
Collapsible: () => import("react").JSX.Element;
|
|
12
|
+
CompanyCard: typeof CompanyCardSpecimen;
|
|
13
|
+
Disclosure: () => import("react").JSX.Element;
|
|
14
|
+
ExpandableBlock: () => import("react").JSX.Element;
|
|
15
|
+
HiveScene: typeof HiveSceneSpecimen;
|
|
16
|
+
NadiaPresence: typeof NadiaPresenceSpecimen;
|
|
17
|
+
NumberedSteps: () => import("react").JSX.Element;
|
|
18
|
+
PluginSlotBoundary: () => import("react").JSX.Element;
|
|
19
|
+
ReadingColumn: () => import("react").JSX.Element;
|
|
20
|
+
ResizablePanelGroup: () => import("react").JSX.Element;
|
|
21
|
+
ScrollArea: () => import("react").JSX.Element;
|
|
22
|
+
Separator: () => import("react").JSX.Element;
|
|
23
|
+
ToolIcon: () => import("react").JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=other.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"other.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/other.tsx"],"names":[],"mappings":"AAwDA,iBAAS,mBAAmB,gCAS3B;AAED,iBAAS,mBAAmB,gCAiB3B;AAED,iBAAS,iBAAiB,gCAczB;AAED,iBAAS,qBAAqB,gCAa7B;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAmJS,CAAC"}
|