@ciridae/ui 0.16.1 → 1.0.1
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/README.md +17 -12
- package/dist/chat/chat-api-error.d.ts +14 -0
- package/dist/chat/chat-api-error.js +11 -0
- package/dist/chat/chat-client.d.ts +37 -0
- package/dist/chat/chat-client.js +66 -0
- package/dist/chat/chat-hooks.d.ts +4 -0
- package/dist/chat/chat-hooks.js +4 -0
- package/dist/chat/chat-query-keys.d.ts +10 -0
- package/dist/chat/chat-query-keys.js +8 -0
- package/dist/chat/contract.d.ts +488 -0
- package/dist/chat/contract.js +223 -0
- package/dist/chat/conversation-items-query-options.d.ts +382 -0
- package/dist/chat/conversation-items-query-options.js +15 -0
- package/dist/chat/describe-tool-call.d.ts +5 -0
- package/dist/chat/describe-tool-call.js +33 -0
- package/dist/chat/fetch-new-conversation-items.d.ts +10 -0
- package/dist/chat/fetch-new-conversation-items.js +38 -0
- package/dist/chat/message-group-position.d.ts +17 -0
- package/dist/chat/message-group-position.js +25 -0
- package/dist/chat/message-text.d.ts +23 -0
- package/dist/chat/message-text.js +118 -0
- package/dist/chat/mock-chat-client.d.ts +97 -0
- package/dist/chat/mock-chat-client.js +566 -0
- package/dist/chat/use-chat-conversation.d.ts +43 -0
- package/dist/chat/use-chat-conversation.js +156 -0
- package/dist/chat/use-conversation-list.d.ts +32 -0
- package/dist/chat/use-conversation-list.js +19 -0
- package/dist/ciridae.css +60 -479
- package/dist/components/activity-feed.d.ts +80 -0
- package/dist/components/activity-feed.js +373 -0
- package/dist/components/agent-work.d.ts +76 -0
- package/dist/components/agent-work.js +224 -0
- package/dist/components/app-navigation.d.ts +66 -0
- package/dist/components/app-navigation.js +102 -0
- package/dist/components/badge.d.ts +14 -0
- package/dist/components/badge.js +107 -0
- package/dist/components/brand-icons.d.ts +17 -0
- package/dist/components/brand-icons.js +21 -0
- package/dist/components/breakpoint.d.ts +7 -0
- package/dist/components/breakpoint.js +16 -0
- package/dist/components/bulk-action-bar.d.ts +15 -0
- package/dist/components/bulk-action-bar.js +45 -0
- package/dist/components/button.d.ts +52 -0
- package/dist/components/button.js +272 -0
- package/dist/components/calendar.d.ts +14 -0
- package/dist/components/calendar.js +158 -0
- package/dist/components/centered-page.d.ts +21 -0
- package/dist/components/centered-page.js +55 -0
- package/dist/components/chart.d.ts +22 -0
- package/dist/components/chart.js +116 -0
- package/dist/components/chat-page.d.ts +34 -0
- package/dist/components/chat-page.js +171 -0
- package/dist/components/chat-sheet-controller.d.ts +50 -0
- package/dist/components/chat-sheet-controller.js +133 -0
- package/dist/components/chat-sheet.d.ts +80 -0
- package/dist/components/chat-sheet.js +544 -0
- package/dist/components/chat.d.ts +135 -0
- package/dist/components/chat.js +545 -0
- package/dist/components/checkbox-item.d.ts +11 -0
- package/dist/components/checkbox-item.js +45 -0
- package/dist/components/checkbox-list.d.ts +51 -0
- package/dist/components/checkbox-list.js +167 -0
- package/dist/components/chip.d.ts +17 -0
- package/dist/components/chip.js +43 -0
- package/dist/components/collapsible.d.ts +8 -0
- package/dist/components/collapsible.js +41 -0
- package/dist/components/color-theme.d.ts +40 -0
- package/dist/components/color-theme.js +109 -0
- package/dist/components/column-settings.d.ts +22 -0
- package/dist/components/column-settings.js +112 -0
- package/dist/components/command-match.d.ts +7 -0
- package/dist/components/command-match.js +50 -0
- package/dist/components/command-menu.d.ts +43 -0
- package/dist/components/command-menu.js +339 -0
- package/dist/components/command-palette.d.ts +36 -0
- package/dist/components/command-palette.js +77 -0
- package/dist/components/controllable-state.d.ts +5 -0
- package/dist/components/controllable-state.js +15 -0
- package/dist/components/copyable-id.d.ts +37 -0
- package/dist/components/copyable-id.js +136 -0
- package/dist/components/data-display.d.ts +47 -0
- package/dist/components/data-display.js +221 -0
- package/dist/components/data-grid.d.ts +170 -0
- package/dist/components/data-grid.js +829 -0
- package/dist/components/date-range-picker.d.ts +44 -0
- package/dist/components/date-range-picker.js +153 -0
- package/dist/components/date-time.d.ts +11 -0
- package/dist/components/date-time.js +44 -0
- package/dist/components/dialog-height-context.d.ts +2 -0
- package/dist/components/dialog-height-context.js +3 -0
- package/dist/components/document-viewer.d.ts +62 -0
- package/dist/components/document-viewer.js +419 -0
- package/dist/components/drawer.d.ts +44 -0
- package/dist/components/drawer.js +236 -0
- package/dist/components/dropzone.d.ts +47 -0
- package/dist/components/dropzone.js +370 -0
- package/dist/components/editable-field.d.ts +99 -0
- package/dist/components/editable-field.js +422 -0
- package/dist/components/email-input.d.ts +12 -0
- package/dist/components/email-input.js +83 -0
- package/dist/components/environment-frame.d.ts +13 -0
- package/dist/components/environment-frame.js +42 -0
- package/dist/components/expandable-text.d.ts +9 -0
- package/dist/components/expandable-text.js +48 -0
- package/dist/components/feedback-screenshot.d.ts +19 -0
- package/dist/components/feedback-screenshot.js +162 -0
- package/dist/components/feedback-sheet.d.ts +80 -0
- package/dist/components/feedback-sheet.js +475 -0
- package/dist/components/field-context.d.ts +23 -0
- package/dist/components/field-context.js +15 -0
- package/dist/components/filter-bar.d.ts +77 -0
- package/dist/components/filter-bar.js +350 -0
- package/dist/components/form-controls.d.ts +53 -0
- package/dist/components/form-controls.js +123 -0
- package/dist/components/form-layout.d.ts +32 -0
- package/dist/components/form-layout.js +72 -0
- package/dist/components/hotkeys.d.ts +27 -0
- package/dist/components/hotkeys.js +70 -0
- package/dist/components/icon.d.ts +58 -0
- package/dist/components/icon.js +42 -0
- package/dist/components/input.d.ts +36 -0
- package/dist/components/input.js +249 -0
- package/dist/components/keyboard-shortcuts.d.ts +10 -0
- package/dist/components/keyboard-shortcuts.js +91 -0
- package/dist/components/keycap.d.ts +12 -0
- package/dist/components/keycap.js +45 -0
- package/dist/components/layout.d.ts +174 -0
- package/dist/components/layout.js +282 -0
- package/dist/components/lightbox.d.ts +14 -0
- package/dist/components/lightbox.js +117 -0
- package/dist/components/link.d.ts +13 -0
- package/dist/components/link.js +37 -0
- package/dist/components/locale.d.ts +463 -0
- package/dist/components/locale.js +501 -0
- package/dist/components/log-list.d.ts +20 -0
- package/dist/components/log-list.js +92 -0
- package/dist/components/mention-input.d.ts +50 -0
- package/dist/components/mention-input.js +503 -0
- package/dist/components/menu.d.ts +76 -0
- package/dist/components/menu.js +112 -0
- package/dist/components/meter.d.ts +14 -0
- package/dist/components/meter.js +44 -0
- package/dist/components/navigation.d.ts +21 -0
- package/dist/components/navigation.js +75 -0
- package/dist/components/notification-tray.d.ts +47 -0
- package/dist/components/notification-tray.js +218 -0
- package/dist/components/overlays.d.ts +107 -0
- package/dist/components/overlays.js +240 -0
- package/dist/components/page-frame.d.ts +65 -0
- package/dist/components/page-frame.js +94 -0
- package/dist/components/panel.d.ts +24 -0
- package/dist/components/panel.js +107 -0
- package/dist/components/profile-header.d.ts +15 -0
- package/dist/components/profile-header.js +40 -0
- package/dist/components/progress.d.ts +5 -0
- package/dist/components/progress.js +18 -0
- package/dist/components/project-avatar.d.ts +12 -0
- package/dist/components/project-avatar.js +22 -0
- package/dist/components/radio-card.d.ts +22 -0
- package/dist/components/radio-card.js +66 -0
- package/dist/components/recent-items.d.ts +28 -0
- package/dist/components/recent-items.js +63 -0
- package/dist/components/record.d.ts +95 -0
- package/dist/components/record.js +282 -0
- package/dist/components/scroll-area.d.ts +16 -0
- package/dist/components/scroll-area.js +50 -0
- package/dist/components/secret-dialog.d.ts +10 -0
- package/dist/components/secret-dialog.js +12 -0
- package/dist/components/segmented-bar.d.ts +23 -0
- package/dist/components/segmented-bar.js +75 -0
- package/dist/components/select.d.ts +84 -0
- package/dist/components/select.js +374 -0
- package/dist/components/settings.d.ts +34 -0
- package/dist/components/settings.js +56 -0
- package/dist/components/shell-skeleton.d.ts +7 -0
- package/dist/components/shell-skeleton.js +15 -0
- package/dist/components/shell.d.ts +62 -0
- package/dist/components/shell.js +415 -0
- package/dist/components/side-panel.d.ts +36 -0
- package/dist/components/side-panel.js +184 -0
- package/dist/components/sidebar.d.ts +35 -0
- package/dist/components/sidebar.js +207 -0
- package/dist/components/site-banner.d.ts +25 -0
- package/dist/components/site-banner.js +30 -0
- package/dist/components/skeleton.d.ts +15 -0
- package/dist/components/skeleton.js +61 -0
- package/dist/components/skeletons.d.ts +28 -0
- package/dist/components/skeletons.js +60 -0
- package/dist/components/stages.d.ts +97 -0
- package/dist/components/stages.js +365 -0
- package/dist/components/stat-card.d.ts +34 -0
- package/dist/components/stat-card.js +117 -0
- package/dist/components/status-banner.d.ts +17 -0
- package/dist/components/status-banner.js +132 -0
- package/dist/components/status.d.ts +32 -0
- package/dist/components/status.js +93 -0
- package/dist/components/steps.d.ts +17 -0
- package/dist/components/steps.js +51 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.js +39 -0
- package/dist/components/tabs.d.ts +48 -0
- package/dist/components/tabs.js +247 -0
- package/dist/components/theme-customizer.d.ts +53 -0
- package/dist/components/theme-customizer.js +116 -0
- package/dist/components/toast.d.ts +23 -0
- package/dist/components/toast.js +140 -0
- package/dist/components/user-chip.d.ts +66 -0
- package/dist/components/user-chip.js +174 -0
- package/dist/components/wizard.d.ts +33 -0
- package/dist/components/wizard.js +91 -0
- package/dist/feedback/client.d.ts +37 -0
- package/dist/feedback/client.js +125 -0
- package/dist/feedback/comment-types.d.ts +17 -0
- package/dist/feedback/contract.d.ts +252 -0
- package/dist/feedback/contract.js +32 -0
- package/dist/feedback/feedback-cache.d.ts +6 -0
- package/dist/feedback/feedback-cache.js +58 -0
- package/dist/feedback/feedback-center-model.d.ts +8 -0
- package/dist/feedback/feedback-center-model.js +37 -0
- package/dist/feedback/feedback-composer-types.d.ts +11 -0
- package/dist/feedback/feedback-controller.d.ts +56 -0
- package/dist/feedback/feedback-controller.js +181 -0
- package/dist/feedback/feedback-tracking-types.d.ts +14 -0
- package/dist/feedback/generated/index.d.ts +1 -0
- package/dist/feedback/generated/index.js +2 -0
- package/dist/feedback/generated/types.gen.d.ts +737 -0
- package/dist/feedback/generated/types.gen.js +2 -0
- package/dist/feedback/generated/zod.gen.d.ts +738 -0
- package/dist/feedback/generated/zod.gen.js +293 -0
- package/dist/feedback/get-response-error-id.d.ts +1 -0
- package/dist/feedback/get-response-error-id.js +7 -0
- package/dist/feedback/operator-client.d.ts +21 -0
- package/dist/feedback/operator-client.js +96 -0
- package/dist/feedback/operator-contract.d.ts +111 -0
- package/dist/feedback/operator-contract.js +22 -0
- package/dist/feedback/operator-controller.d.ts +80 -0
- package/dist/feedback/operator-controller.js +43 -0
- package/dist/feedback/require-config.d.ts +2 -0
- package/dist/feedback/require-config.js +7 -0
- package/dist/feedback/submit-feedback-with-attachments.d.ts +10 -0
- package/dist/feedback/submit-feedback-with-attachments.js +10 -0
- package/dist/format/compact-number.d.ts +2 -0
- package/dist/format/compact-number.js +8 -0
- package/dist/format/money.d.ts +13 -0
- package/dist/format/money.js +21 -0
- package/dist/format/usd.d.ts +2 -0
- package/dist/format/usd.js +16 -0
- package/dist/preset.d.ts +18 -0
- package/dist/preset.js +470 -0
- package/dist/styled-system/css/conditions.mjs +1 -1
- package/dist/styled-system/css/css.mjs +3 -3
- package/dist/styled-system/patterns/box.d.ts +1 -1
- package/dist/styled-system/patterns/container.d.ts +1 -1
- package/dist/styled-system/patterns/link-overlay.d.ts +1 -1
- package/dist/styled-system/patterns/visually-hidden.d.ts +1 -1
- package/dist/styled-system/styles.css +7834 -458
- package/dist/styled-system/tokens/index.mjs +1465 -677
- package/dist/styled-system/tokens/tokens.d.ts +32 -26
- package/dist/styled-system/types/conditions.d.ts +11 -1
- package/dist/styled-system/types/prop-type.d.ts +12 -23
- package/dist/styled-system/types/style-props.d.ts +25 -24
- package/dist/styles.css +60 -479
- package/dist/theme/breakpoints.d.ts +15 -0
- package/dist/theme/breakpoints.js +12 -0
- package/dist/theme/color.d.ts +2 -0
- package/dist/theme/color.js +27 -0
- package/dist/theme/derive.d.ts +5 -0
- package/dist/theme/derive.js +43 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.js +9 -0
- package/dist/theme/options.d.ts +32 -0
- package/dist/theme/options.js +9 -0
- package/dist/theme/palettes.d.ts +60 -0
- package/dist/theme/palettes.js +185 -0
- package/dist/theme/tokens.d.ts +29 -0
- package/dist/theme/tokens.js +188 -0
- package/package.json +475 -68
- package/dist/assets/ciridae/brand-background-dark.webp +0 -0
- package/dist/assets/ciridae/brand-background-light.webp +0 -0
- package/dist/assets/ciridae/ciridae-black.svg +0 -17
- package/dist/assets/ciridae/ciridae-brand-assets.d.ts +0 -25
- package/dist/assets/ciridae/ciridae-brand-assets.js +0 -25
- package/dist/assets/ciridae/ciridae-icon-black.png +0 -0
- package/dist/assets/ciridae/ciridae-icon-white.png +0 -0
- package/dist/assets/ciridae/ciridae-ui-wordmark-black.png +0 -0
- package/dist/assets/ciridae/ciridae-ui-wordmark-white.png +0 -0
- package/dist/assets/ciridae/ciridae-white.svg +0 -17
- package/dist/assets/ciridae/ciridae-wordmark-black.png +0 -0
- package/dist/assets/ciridae/ciridae-wordmark-white.png +0 -0
- package/dist/assets/ciridae/favicon.ico +0 -0
- package/dist/assets/ciridae/logo-white.png +0 -0
- package/dist/assets/ciridae/sign-in-screenshot.png +0 -0
- package/dist/components/blocks/admin-users-table.d.ts +0 -22
- package/dist/components/blocks/admin-users-table.js +0 -115
- package/dist/components/blocks/comment-composer.d.ts +0 -18
- package/dist/components/blocks/comment-composer.js +0 -137
- package/dist/components/blocks/comment-item.d.ts +0 -8
- package/dist/components/blocks/comment-item.js +0 -45
- package/dist/components/blocks/comment-thread.d.ts +0 -19
- package/dist/components/blocks/comment-thread.js +0 -37
- package/dist/components/blocks/comment-types.d.ts +0 -18
- package/dist/components/blocks/comment-types.js +0 -11
- package/dist/components/blocks/copy-field.d.ts +0 -18
- package/dist/components/blocks/copy-field.js +0 -61
- package/dist/components/blocks/feedback-center-comments.d.ts +0 -16
- package/dist/components/blocks/feedback-center-comments.js +0 -61
- package/dist/components/blocks/feedback-center-footer.d.ts +0 -12
- package/dist/components/blocks/feedback-center-footer.js +0 -10
- package/dist/components/blocks/feedback-center-sheet-parts.d.ts +0 -40
- package/dist/components/blocks/feedback-center-sheet-parts.js +0 -39
- package/dist/components/blocks/feedback-center-sheet.d.ts +0 -28
- package/dist/components/blocks/feedback-center-sheet.js +0 -105
- package/dist/components/blocks/feedback-composer-parts.d.ts +0 -16
- package/dist/components/blocks/feedback-composer-parts.js +0 -43
- package/dist/components/blocks/feedback-composer-types.d.ts +0 -12
- package/dist/components/blocks/feedback-composer.d.ts +0 -23
- package/dist/components/blocks/feedback-composer.js +0 -82
- package/dist/components/blocks/feedback-date-format.d.ts +0 -5
- package/dist/components/blocks/feedback-date-format.js +0 -11
- package/dist/components/blocks/feedback-detail-sheet.d.ts +0 -15
- package/dist/components/blocks/feedback-detail-sheet.js +0 -59
- package/dist/components/blocks/feedback-emergency-fields.d.ts +0 -17
- package/dist/components/blocks/feedback-emergency-fields.js +0 -32
- package/dist/components/blocks/feedback-metrics.d.ts +0 -6
- package/dist/components/blocks/feedback-metrics.js +0 -15
- package/dist/components/blocks/feedback-sheet.d.ts +0 -8
- package/dist/components/blocks/feedback-sheet.js +0 -29
- package/dist/components/blocks/feedback-status-badge.d.ts +0 -6
- package/dist/components/blocks/feedback-status-badge.js +0 -15
- package/dist/components/blocks/feedback-table-row.d.ts +0 -6
- package/dist/components/blocks/feedback-table-row.js +0 -27
- package/dist/components/blocks/feedback-table-sort.d.ts +0 -11
- package/dist/components/blocks/feedback-table-sort.js +0 -82
- package/dist/components/blocks/feedback-table.d.ts +0 -16
- package/dist/components/blocks/feedback-table.js +0 -45
- package/dist/components/blocks/feedback-tracking-types.d.ts +0 -102
- package/dist/components/blocks/feedback-tracking-types.js +0 -54
- package/dist/components/blocks/feedback-triage-timeline.d.ts +0 -11
- package/dist/components/blocks/feedback-triage-timeline.js +0 -17
- package/dist/components/blocks/feedback-type-badge.d.ts +0 -11
- package/dist/components/blocks/feedback-type-badge.js +0 -18
- package/dist/components/blocks/feedback-unread-badge.d.ts +0 -6
- package/dist/components/blocks/feedback-unread-badge.js +0 -9
- package/dist/components/blocks/feedback-user-detail.d.ts +0 -11
- package/dist/components/blocks/feedback-user-detail.js +0 -63
- package/dist/components/blocks/feedback-user-list.d.ts +0 -11
- package/dist/components/blocks/feedback-user-list.js +0 -41
- package/dist/components/blocks/generated-connect-link.d.ts +0 -22
- package/dist/components/blocks/generated-connect-link.js +0 -68
- package/dist/components/blocks/invite-user-sheet.d.ts +0 -20
- package/dist/components/blocks/invite-user-sheet.js +0 -72
- package/dist/components/blocks/kanban-board-parts.d.ts +0 -26
- package/dist/components/blocks/kanban-board-parts.js +0 -83
- package/dist/components/blocks/kanban-board-utils.d.ts +0 -58
- package/dist/components/blocks/kanban-board-utils.js +0 -140
- package/dist/components/blocks/kanban-board.d.ts +0 -16
- package/dist/components/blocks/kanban-board.js +0 -35
- package/dist/components/blocks/kanban-card.d.ts +0 -10
- package/dist/components/blocks/kanban-card.js +0 -34
- package/dist/components/blocks/kanban-column.d.ts +0 -17
- package/dist/components/blocks/kanban-column.js +0 -34
- package/dist/components/blocks/kanban-detail-sheet.d.ts +0 -17
- package/dist/components/blocks/kanban-detail-sheet.js +0 -34
- package/dist/components/blocks/kanban-types.d.ts +0 -24
- package/dist/components/blocks/mcp-access-grouped-tool-picker.d.ts +0 -19
- package/dist/components/blocks/mcp-access-grouped-tool-picker.js +0 -116
- package/dist/components/blocks/mcp-access-tool-picker-internals.d.ts +0 -35
- package/dist/components/blocks/mcp-access-tool-picker-internals.js +0 -24
- package/dist/components/blocks/mcp-access-tool-picker.d.ts +0 -22
- package/dist/components/blocks/mcp-access-tool-picker.js +0 -33
- package/dist/components/blocks/mcp-access-types.d.ts +0 -42
- package/dist/components/blocks/mcp-access-types.js +0 -7
- package/dist/components/blocks/mcp-client-setup.d.ts +0 -29
- package/dist/components/blocks/mcp-client-setup.js +0 -58
- package/dist/components/blocks/mcp-connect-clients.d.ts +0 -43
- package/dist/components/blocks/mcp-connect-clients.js +0 -66
- package/dist/components/blocks/mcp-plan-choice.d.ts +0 -17
- package/dist/components/blocks/mcp-plan-choice.js +0 -28
- package/dist/components/blocks/submit-feedback-composer.d.ts +0 -5
- package/dist/components/blocks/submit-feedback-composer.js +0 -40
- package/dist/components/blocks/timestamp-format.d.ts +0 -14
- package/dist/components/blocks/timestamp-format.js +0 -72
- package/dist/components/blocks/use-feedback-composer-state.d.ts +0 -27
- package/dist/components/blocks/use-feedback-composer-state.js +0 -60
- package/dist/components/blocks/use-reveal-thread-end.d.ts +0 -11
- package/dist/components/blocks/use-reveal-thread-end.js +0 -25
- package/dist/components/pages/admin-users-page.d.ts +0 -11
- package/dist/components/pages/admin-users-page.js +0 -30
- package/dist/components/pages/feedback-stakeholder-page-parts.d.ts +0 -18
- package/dist/components/pages/feedback-stakeholder-page-parts.js +0 -36
- package/dist/components/pages/feedback-stakeholder-page.d.ts +0 -9
- package/dist/components/pages/feedback-stakeholder-page.js +0 -66
- package/dist/components/pages/kanban-page.d.ts +0 -13
- package/dist/components/pages/kanban-page.js +0 -68
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/accordion.js +0 -17
- package/dist/components/ui/alert-dialog.d.ts +0 -22
- package/dist/components/ui/alert-dialog.js +0 -51
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/alert.js +0 -24
- package/dist/components/ui/app-shell-page.d.ts +0 -22
- package/dist/components/ui/app-shell-page.js +0 -21
- package/dist/components/ui/app-shell.d.ts +0 -45
- package/dist/components/ui/app-shell.js +0 -44
- package/dist/components/ui/aspect-ratio.d.ts +0 -3
- package/dist/components/ui/aspect-ratio.js +0 -7
- package/dist/components/ui/avatar.d.ts +0 -11
- package/dist/components/ui/avatar.js +0 -22
- package/dist/components/ui/badge-variants.d.ts +0 -100
- package/dist/components/ui/badge-variants.js +0 -140
- package/dist/components/ui/badge.d.ts +0 -6
- package/dist/components/ui/badge.js +0 -9
- package/dist/components/ui/breadcrumb.d.ts +0 -11
- package/dist/components/ui/breadcrumb.js +0 -27
- package/dist/components/ui/button-group-variants.d.ts +0 -6
- package/dist/components/ui/button-group-variants.js +0 -13
- package/dist/components/ui/button-group.d.ts +0 -8
- package/dist/components/ui/button-group.js +0 -16
- package/dist/components/ui/button-variants.d.ts +0 -133
- package/dist/components/ui/button-variants.js +0 -170
- package/dist/components/ui/button.d.ts +0 -8
- package/dist/components/ui/button.js +0 -59
- package/dist/components/ui/calendar.d.ts +0 -10
- package/dist/components/ui/calendar.js +0 -99
- package/dist/components/ui/card.d.ts +0 -14
- package/dist/components/ui/card.js +0 -28
- package/dist/components/ui/carousel.d.ts +0 -19
- package/dist/components/ui/carousel.js +0 -104
- package/dist/components/ui/chart-context.d.ts +0 -33
- package/dist/components/ui/chart-context.js +0 -36
- package/dist/components/ui/chart-panel.d.ts +0 -11
- package/dist/components/ui/chart-panel.js +0 -6
- package/dist/components/ui/chart-tooltip.d.ts +0 -13
- package/dist/components/ui/chart-tooltip.js +0 -84
- package/dist/components/ui/chart.d.ts +0 -23
- package/dist/components/ui/chart.js +0 -52
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/checkbox.js +0 -9
- package/dist/components/ui/ciridae-ui-provider.d.ts +0 -8
- package/dist/components/ui/ciridae-ui-provider.js +0 -14
- package/dist/components/ui/collapsible.d.ts +0 -5
- package/dist/components/ui/collapsible.js +0 -12
- package/dist/components/ui/color-theme-context.d.ts +0 -28
- package/dist/components/ui/color-theme-context.js +0 -3
- package/dist/components/ui/color-theme.d.ts +0 -5
- package/dist/components/ui/color-theme.js +0 -147
- package/dist/components/ui/combobox-anchor.d.ts +0 -3
- package/dist/components/ui/combobox-anchor.js +0 -5
- package/dist/components/ui/combobox.d.ts +0 -24
- package/dist/components/ui/combobox.js +0 -54
- package/dist/components/ui/command.d.ts +0 -19
- package/dist/components/ui/command.js +0 -38
- package/dist/components/ui/context-menu.d.ts +0 -30
- package/dist/components/ui/context-menu.js +0 -63
- package/dist/components/ui/data-table-column-settings.d.ts +0 -23
- package/dist/components/ui/data-table-column-settings.js +0 -170
- package/dist/components/ui/data-table-context.d.ts +0 -8
- package/dist/components/ui/data-table-context.js +0 -53
- package/dist/components/ui/data-table-controls.d.ts +0 -9
- package/dist/components/ui/data-table-controls.js +0 -30
- package/dist/components/ui/data-table-facet-filter.d.ts +0 -39
- package/dist/components/ui/data-table-facet-filter.js +0 -65
- package/dist/components/ui/data-table-grid.d.ts +0 -10
- package/dist/components/ui/data-table-grid.js +0 -34
- package/dist/components/ui/data-table-pagination.d.ts +0 -17
- package/dist/components/ui/data-table-pagination.js +0 -89
- package/dist/components/ui/data-table-search-input.d.ts +0 -14
- package/dist/components/ui/data-table-search-input.js +0 -15
- package/dist/components/ui/data-table-state.d.ts +0 -19
- package/dist/components/ui/data-table-state.js +0 -8
- package/dist/components/ui/data-table-tanstack.d.ts +0 -99
- package/dist/components/ui/data-table-tanstack.js +0 -128
- package/dist/components/ui/data-table.d.ts +0 -19
- package/dist/components/ui/data-table.js +0 -35
- package/dist/components/ui/dialog.d.ts +0 -23
- package/dist/components/ui/dialog.js +0 -48
- package/dist/components/ui/direction-context.d.ts +0 -3
- package/dist/components/ui/direction-context.js +0 -3
- package/dist/components/ui/direction.d.ts +0 -6
- package/dist/components/ui/direction.js +0 -7
- package/dist/components/ui/drawer.d.ts +0 -18
- package/dist/components/ui/drawer.js +0 -47
- package/dist/components/ui/dropdown-menu.d.ts +0 -30
- package/dist/components/ui/dropdown-menu.js +0 -63
- package/dist/components/ui/empty.d.ts +0 -11
- package/dist/components/ui/empty.js +0 -33
- package/dist/components/ui/expandable-data-table.d.ts +0 -24
- package/dist/components/ui/expandable-data-table.js +0 -62
- package/dist/components/ui/field.d.ts +0 -26
- package/dist/components/ui/field.js +0 -74
- package/dist/components/ui/file-upload-field-parts.d.ts +0 -21
- package/dist/components/ui/file-upload-field-parts.js +0 -55
- package/dist/components/ui/file-upload-field.d.ts +0 -16
- package/dist/components/ui/file-upload-field.js +0 -85
- package/dist/components/ui/form-context.d.ts +0 -23
- package/dist/components/ui/form-context.js +0 -35
- package/dist/components/ui/form-sheet.d.ts +0 -22
- package/dist/components/ui/form-sheet.js +0 -74
- package/dist/components/ui/form.d.ts +0 -12
- package/dist/components/ui/form.js +0 -38
- package/dist/components/ui/hover-card.d.ts +0 -10
- package/dist/components/ui/hover-card.js +0 -22
- package/dist/components/ui/input-group.d.ts +0 -16
- package/dist/components/ui/input-group.js +0 -62
- package/dist/components/ui/input-otp.d.ts +0 -11
- package/dist/components/ui/input-otp.js +0 -21
- package/dist/components/ui/input.d.ts +0 -3
- package/dist/components/ui/input.js +0 -6
- package/dist/components/ui/item.d.ts +0 -24
- package/dist/components/ui/item.js +0 -73
- package/dist/components/ui/kbd.d.ts +0 -3
- package/dist/components/ui/kbd.js +0 -9
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/label.js +0 -7
- package/dist/components/ui/loading-state.d.ts +0 -27
- package/dist/components/ui/loading-state.js +0 -44
- package/dist/components/ui/menubar.d.ts +0 -30
- package/dist/components/ui/menubar.js +0 -63
- package/dist/components/ui/metrics-strip.d.ts +0 -7
- package/dist/components/ui/metrics-strip.js +0 -18
- package/dist/components/ui/native-select.d.ts +0 -7
- package/dist/components/ui/native-select.js +0 -13
- package/dist/components/ui/navigation-menu-variants.d.ts +0 -2
- package/dist/components/ui/navigation-menu-variants.js +0 -3
- package/dist/components/ui/navigation-menu.d.ts +0 -13
- package/dist/components/ui/navigation-menu.js +0 -30
- package/dist/components/ui/page-header.d.ts +0 -33
- package/dist/components/ui/page-header.js +0 -54
- package/dist/components/ui/pagination.d.ts +0 -13
- package/dist/components/ui/pagination.js +0 -29
- package/dist/components/ui/popover.d.ts +0 -14
- package/dist/components/ui/popover.js +0 -34
- package/dist/components/ui/progress.d.ts +0 -4
- package/dist/components/ui/progress.js +0 -8
- package/dist/components/ui/property-list.d.ts +0 -6
- package/dist/components/ui/property-list.js +0 -15
- package/dist/components/ui/radio-group.d.ts +0 -5
- package/dist/components/ui/radio-group.js +0 -11
- package/dist/components/ui/registry-docs-api.d.ts +0 -11
- package/dist/components/ui/registry-docs-api.js +0 -9
- package/dist/components/ui/registry-docs-code.d.ts +0 -19
- package/dist/components/ui/registry-docs-code.js +0 -78
- package/dist/components/ui/registry-docs-showcase.d.ts +0 -11
- package/dist/components/ui/registry-docs-showcase.js +0 -27
- package/dist/components/ui/registry-docs.d.ts +0 -27
- package/dist/components/ui/registry-docs.js +0 -32
- package/dist/components/ui/resizable.d.ts +0 -14
- package/dist/components/ui/resizable.js +0 -15
- package/dist/components/ui/scroll-area.d.ts +0 -7
- package/dist/components/ui/scroll-area.js +0 -10
- package/dist/components/ui/select.d.ts +0 -15
- package/dist/components/ui/select.js +0 -38
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/separator.js +0 -7
- package/dist/components/ui/sheet.d.ts +0 -21
- package/dist/components/ui/sheet.js +0 -62
- package/dist/components/ui/sidebar/context.d.ts +0 -27
- package/dist/components/ui/sidebar/context.js +0 -23
- package/dist/components/ui/sidebar/group.d.ts +0 -10
- package/dist/components/ui/sidebar/group.js +0 -18
- package/dist/components/ui/sidebar/layout.d.ts +0 -17
- package/dist/components/ui/sidebar/layout.js +0 -78
- package/dist/components/ui/sidebar/menu.d.ts +0 -30
- package/dist/components/ui/sidebar/menu.js +0 -64
- package/dist/components/ui/sidebar/provider.d.ts +0 -7
- package/dist/components/ui/sidebar/provider.js +0 -53
- package/dist/components/ui/sidebar/rail.d.ts +0 -3
- package/dist/components/ui/sidebar/rail.js +0 -12
- package/dist/components/ui/sidebar/trigger.d.ts +0 -4
- package/dist/components/ui/sidebar/trigger.js +0 -16
- package/dist/components/ui/sidebar-account-menu-theme.d.ts +0 -7
- package/dist/components/ui/sidebar-account-menu-theme.js +0 -32
- package/dist/components/ui/sidebar-account-menu.d.ts +0 -16
- package/dist/components/ui/sidebar-account-menu.js +0 -51
- package/dist/components/ui/sidebar.d.ts +0 -7
- package/dist/components/ui/sidebar.js +0 -7
- package/dist/components/ui/skeleton.d.ts +0 -2
- package/dist/components/ui/skeleton.js +0 -15
- package/dist/components/ui/slider.d.ts +0 -4
- package/dist/components/ui/slider.js +0 -9
- package/dist/components/ui/sonner.d.ts +0 -3
- package/dist/components/ui/sonner.js +0 -33
- package/dist/components/ui/spinner.d.ts +0 -2
- package/dist/components/ui/spinner.js +0 -16
- package/dist/components/ui/switch.d.ts +0 -6
- package/dist/components/ui/switch.js +0 -7
- package/dist/components/ui/table.d.ts +0 -21
- package/dist/components/ui/table.js +0 -34
- package/dist/components/ui/tabs-variants.d.ts +0 -6
- package/dist/components/ui/tabs-variants.js +0 -13
- package/dist/components/ui/tabs.d.ts +0 -8
- package/dist/components/ui/tabs.js +0 -17
- package/dist/components/ui/textarea.d.ts +0 -3
- package/dist/components/ui/textarea.js +0 -6
- package/dist/components/ui/toggle-group.d.ts +0 -9
- package/dist/components/ui/toggle-group.js +0 -24
- package/dist/components/ui/toggle-variants.d.ts +0 -7
- package/dist/components/ui/toggle-variants.js +0 -19
- package/dist/components/ui/toggle.d.ts +0 -5
- package/dist/components/ui/toggle.js +0 -9
- package/dist/components/ui/tooltip.d.ts +0 -14
- package/dist/components/ui/tooltip.js +0 -25
- package/dist/components/ui/use-color-theme.d.ts +0 -2
- package/dist/components/ui/use-color-theme.js +0 -10
- package/dist/components/ui/workflow-timeline.d.ts +0 -20
- package/dist/components/ui/workflow-timeline.js +0 -92
- package/dist/components/walkthrough/presentation/WalkthroughCoach.d.ts +0 -14
- package/dist/components/walkthrough/presentation/WalkthroughCoach.js +0 -32
- package/dist/components/walkthrough/presentation/WalkthroughHighlight.d.ts +0 -5
- package/dist/components/walkthrough/presentation/WalkthroughHighlight.js +0 -9
- package/dist/components/walkthrough/presentation/WalkthroughOverlay.d.ts +0 -1
- package/dist/components/walkthrough/presentation/WalkthroughOverlay.js +0 -70
- package/dist/components/walkthrough/presentation/positionWalkthroughCoach.d.ts +0 -11
- package/dist/components/walkthrough/presentation/positionWalkthroughCoach.js +0 -24
- package/dist/components/walkthrough/presentation/useWalkthroughCoachPosition.d.ts +0 -4
- package/dist/components/walkthrough/presentation/useWalkthroughCoachPosition.js +0 -17
- package/dist/components/walkthrough/runtime/WalkthroughContextDefinition.d.ts +0 -20
- package/dist/components/walkthrough/runtime/WalkthroughContextDefinition.js +0 -2
- package/dist/components/walkthrough/runtime/WalkthroughProvider.d.ts +0 -12
- package/dist/components/walkthrough/runtime/WalkthroughProvider.js +0 -190
- package/dist/components/walkthrough/runtime/useWalkthrough.d.ts +0 -1
- package/dist/components/walkthrough/runtime/useWalkthrough.js +0 -8
- package/dist/components/walkthrough/runtime/walkthroughEvents.d.ts +0 -3
- package/dist/components/walkthrough/runtime/walkthroughEvents.js +0 -55
- package/dist/components/walkthrough/runtime/walkthroughLocation.d.ts +0 -2
- package/dist/components/walkthrough/runtime/walkthroughLocation.js +0 -27
- package/dist/components/walkthrough/runtime/walkthroughStorage.d.ts +0 -3
- package/dist/components/walkthrough/runtime/walkthroughStorage.js +0 -54
- package/dist/components/walkthrough/runtime/walkthroughTypes.d.ts +0 -32
- package/dist/components/walkthrough/targeting/listenForOutsideWalkthroughInteraction.d.ts +0 -2
- package/dist/components/walkthrough/targeting/listenForOutsideWalkthroughInteraction.js +0 -19
- package/dist/components/walkthrough/targeting/useWalkthroughTargetRect.d.ts +0 -15
- package/dist/components/walkthrough/targeting/useWalkthroughTargetRect.js +0 -54
- package/dist/components/walkthrough/targeting/walkthroughTarget.d.ts +0 -6
- package/dist/components/walkthrough/targeting/walkthroughTarget.js +0 -24
- package/dist/components/walkthrough.d.ts +0 -4
- package/dist/components/walkthrough.js +0 -2
- package/dist/entries/accordion.d.ts +0 -1
- package/dist/entries/accordion.js +0 -1
- package/dist/entries/admin-users-page.d.ts +0 -1
- package/dist/entries/admin-users-page.js +0 -1
- package/dist/entries/admin-users-table.d.ts +0 -1
- package/dist/entries/admin-users-table.js +0 -1
- package/dist/entries/alert-dialog.d.ts +0 -1
- package/dist/entries/alert-dialog.js +0 -1
- package/dist/entries/alert.d.ts +0 -1
- package/dist/entries/alert.js +0 -1
- package/dist/entries/app-shell-page.d.ts +0 -1
- package/dist/entries/app-shell-page.js +0 -1
- package/dist/entries/app-shell.d.ts +0 -1
- package/dist/entries/app-shell.js +0 -1
- package/dist/entries/aspect-ratio.d.ts +0 -1
- package/dist/entries/aspect-ratio.js +0 -1
- package/dist/entries/avatar.d.ts +0 -1
- package/dist/entries/avatar.js +0 -1
- package/dist/entries/badge-variants.d.ts +0 -1
- package/dist/entries/badge-variants.js +0 -1
- package/dist/entries/badge.d.ts +0 -1
- package/dist/entries/badge.js +0 -1
- package/dist/entries/breadcrumb.d.ts +0 -1
- package/dist/entries/breadcrumb.js +0 -1
- package/dist/entries/button-group-variants.d.ts +0 -1
- package/dist/entries/button-group-variants.js +0 -1
- package/dist/entries/button-group.d.ts +0 -1
- package/dist/entries/button-group.js +0 -1
- package/dist/entries/button-variants.d.ts +0 -1
- package/dist/entries/button-variants.js +0 -1
- package/dist/entries/button.d.ts +0 -1
- package/dist/entries/button.js +0 -1
- package/dist/entries/calendar.d.ts +0 -1
- package/dist/entries/calendar.js +0 -1
- package/dist/entries/card.d.ts +0 -1
- package/dist/entries/card.js +0 -1
- package/dist/entries/carousel.d.ts +0 -1
- package/dist/entries/carousel.js +0 -1
- package/dist/entries/chart-context.d.ts +0 -1
- package/dist/entries/chart-context.js +0 -1
- package/dist/entries/chart-panel.d.ts +0 -1
- package/dist/entries/chart-panel.js +0 -1
- package/dist/entries/chart-tooltip.d.ts +0 -1
- package/dist/entries/chart-tooltip.js +0 -1
- package/dist/entries/chart.d.ts +0 -1
- package/dist/entries/chart.js +0 -1
- package/dist/entries/checkbox.d.ts +0 -1
- package/dist/entries/checkbox.js +0 -1
- package/dist/entries/ciridae-brand-assets.d.ts +0 -1
- package/dist/entries/ciridae-brand-assets.js +0 -1
- package/dist/entries/ciridae-ui-provider.d.ts +0 -1
- package/dist/entries/ciridae-ui-provider.js +0 -1
- package/dist/entries/collapsible.d.ts +0 -1
- package/dist/entries/collapsible.js +0 -1
- package/dist/entries/color-theme-context.d.ts +0 -1
- package/dist/entries/color-theme-context.js +0 -1
- package/dist/entries/color-theme.d.ts +0 -1
- package/dist/entries/color-theme.js +0 -1
- package/dist/entries/combobox-anchor.d.ts +0 -1
- package/dist/entries/combobox-anchor.js +0 -1
- package/dist/entries/combobox.d.ts +0 -1
- package/dist/entries/combobox.js +0 -1
- package/dist/entries/command.d.ts +0 -1
- package/dist/entries/command.js +0 -1
- package/dist/entries/comment-composer.d.ts +0 -1
- package/dist/entries/comment-composer.js +0 -1
- package/dist/entries/comment-item.d.ts +0 -1
- package/dist/entries/comment-item.js +0 -1
- package/dist/entries/comment-thread.d.ts +0 -1
- package/dist/entries/comment-thread.js +0 -1
- package/dist/entries/comment-types.d.ts +0 -1
- package/dist/entries/comment-types.js +0 -1
- package/dist/entries/context-menu.d.ts +0 -1
- package/dist/entries/context-menu.js +0 -1
- package/dist/entries/copy-field.d.ts +0 -1
- package/dist/entries/copy-field.js +0 -1
- package/dist/entries/data-table-column-settings.d.ts +0 -1
- package/dist/entries/data-table-column-settings.js +0 -1
- package/dist/entries/data-table-context.d.ts +0 -1
- package/dist/entries/data-table-context.js +0 -1
- package/dist/entries/data-table-controls.d.ts +0 -1
- package/dist/entries/data-table-controls.js +0 -1
- package/dist/entries/data-table-facet-filter.d.ts +0 -1
- package/dist/entries/data-table-facet-filter.js +0 -1
- package/dist/entries/data-table-grid.d.ts +0 -1
- package/dist/entries/data-table-grid.js +0 -1
- package/dist/entries/data-table-pagination.d.ts +0 -1
- package/dist/entries/data-table-pagination.js +0 -1
- package/dist/entries/data-table-search-input.d.ts +0 -1
- package/dist/entries/data-table-search-input.js +0 -1
- package/dist/entries/data-table-state.d.ts +0 -1
- package/dist/entries/data-table-state.js +0 -1
- package/dist/entries/data-table-tanstack.d.ts +0 -1
- package/dist/entries/data-table-tanstack.js +0 -1
- package/dist/entries/data-table.d.ts +0 -1
- package/dist/entries/data-table.js +0 -1
- package/dist/entries/dialog.d.ts +0 -1
- package/dist/entries/dialog.js +0 -1
- package/dist/entries/direction-context.d.ts +0 -1
- package/dist/entries/direction-context.js +0 -1
- package/dist/entries/direction.d.ts +0 -1
- package/dist/entries/direction.js +0 -1
- package/dist/entries/drawer.d.ts +0 -1
- package/dist/entries/drawer.js +0 -1
- package/dist/entries/dropdown-menu.d.ts +0 -1
- package/dist/entries/dropdown-menu.js +0 -1
- package/dist/entries/empty.d.ts +0 -1
- package/dist/entries/empty.js +0 -1
- package/dist/entries/expandable-data-table.d.ts +0 -1
- package/dist/entries/expandable-data-table.js +0 -1
- package/dist/entries/feedback-center-comments.d.ts +0 -1
- package/dist/entries/feedback-center-comments.js +0 -1
- package/dist/entries/feedback-center-footer.d.ts +0 -1
- package/dist/entries/feedback-center-footer.js +0 -1
- package/dist/entries/feedback-center-sheet-parts.d.ts +0 -1
- package/dist/entries/feedback-center-sheet-parts.js +0 -1
- package/dist/entries/feedback-center-sheet.d.ts +0 -1
- package/dist/entries/feedback-center-sheet.js +0 -1
- package/dist/entries/feedback-composer-parts.d.ts +0 -1
- package/dist/entries/feedback-composer-parts.js +0 -1
- package/dist/entries/feedback-composer-types.d.ts +0 -1
- package/dist/entries/feedback-composer-types.js +0 -1
- package/dist/entries/feedback-composer.d.ts +0 -1
- package/dist/entries/feedback-composer.js +0 -1
- package/dist/entries/feedback-date-format.d.ts +0 -1
- package/dist/entries/feedback-date-format.js +0 -1
- package/dist/entries/feedback-detail-sheet.d.ts +0 -1
- package/dist/entries/feedback-detail-sheet.js +0 -1
- package/dist/entries/feedback-emergency-fields.d.ts +0 -1
- package/dist/entries/feedback-emergency-fields.js +0 -1
- package/dist/entries/feedback-metrics.d.ts +0 -1
- package/dist/entries/feedback-metrics.js +0 -1
- package/dist/entries/feedback-sheet.d.ts +0 -1
- package/dist/entries/feedback-sheet.js +0 -1
- package/dist/entries/feedback-stakeholder-page-parts.d.ts +0 -1
- package/dist/entries/feedback-stakeholder-page-parts.js +0 -1
- package/dist/entries/feedback-stakeholder-page.d.ts +0 -1
- package/dist/entries/feedback-stakeholder-page.js +0 -1
- package/dist/entries/feedback-status-badge.d.ts +0 -1
- package/dist/entries/feedback-status-badge.js +0 -1
- package/dist/entries/feedback-table-row.d.ts +0 -1
- package/dist/entries/feedback-table-row.js +0 -1
- package/dist/entries/feedback-table-sort.d.ts +0 -1
- package/dist/entries/feedback-table-sort.js +0 -1
- package/dist/entries/feedback-table.d.ts +0 -1
- package/dist/entries/feedback-table.js +0 -1
- package/dist/entries/feedback-tracking-types.d.ts +0 -1
- package/dist/entries/feedback-tracking-types.js +0 -1
- package/dist/entries/feedback-triage-timeline.d.ts +0 -1
- package/dist/entries/feedback-triage-timeline.js +0 -1
- package/dist/entries/feedback-type-badge.d.ts +0 -1
- package/dist/entries/feedback-type-badge.js +0 -1
- package/dist/entries/feedback-unread-badge.d.ts +0 -1
- package/dist/entries/feedback-unread-badge.js +0 -1
- package/dist/entries/feedback-user-detail.d.ts +0 -1
- package/dist/entries/feedback-user-detail.js +0 -1
- package/dist/entries/feedback-user-list.d.ts +0 -1
- package/dist/entries/feedback-user-list.js +0 -1
- package/dist/entries/field.d.ts +0 -1
- package/dist/entries/field.js +0 -1
- package/dist/entries/file-upload-field-parts.d.ts +0 -1
- package/dist/entries/file-upload-field-parts.js +0 -1
- package/dist/entries/file-upload-field.d.ts +0 -1
- package/dist/entries/file-upload-field.js +0 -1
- package/dist/entries/form-context.d.ts +0 -1
- package/dist/entries/form-context.js +0 -1
- package/dist/entries/form-sheet.d.ts +0 -1
- package/dist/entries/form-sheet.js +0 -1
- package/dist/entries/form.d.ts +0 -1
- package/dist/entries/form.js +0 -1
- package/dist/entries/generated-connect-link.d.ts +0 -1
- package/dist/entries/generated-connect-link.js +0 -1
- package/dist/entries/hover-card.d.ts +0 -1
- package/dist/entries/hover-card.js +0 -1
- package/dist/entries/input-group.d.ts +0 -1
- package/dist/entries/input-group.js +0 -1
- package/dist/entries/input-otp.d.ts +0 -1
- package/dist/entries/input-otp.js +0 -1
- package/dist/entries/input.d.ts +0 -1
- package/dist/entries/input.js +0 -1
- package/dist/entries/invite-user-sheet.d.ts +0 -1
- package/dist/entries/invite-user-sheet.js +0 -1
- package/dist/entries/item.d.ts +0 -1
- package/dist/entries/item.js +0 -1
- package/dist/entries/kanban-board-parts.d.ts +0 -1
- package/dist/entries/kanban-board-parts.js +0 -1
- package/dist/entries/kanban-board-utils.d.ts +0 -1
- package/dist/entries/kanban-board-utils.js +0 -1
- package/dist/entries/kanban-board.d.ts +0 -1
- package/dist/entries/kanban-board.js +0 -1
- package/dist/entries/kanban-card.d.ts +0 -1
- package/dist/entries/kanban-card.js +0 -1
- package/dist/entries/kanban-column.d.ts +0 -1
- package/dist/entries/kanban-column.js +0 -1
- package/dist/entries/kanban-detail-sheet.d.ts +0 -1
- package/dist/entries/kanban-detail-sheet.js +0 -1
- package/dist/entries/kanban-page.d.ts +0 -1
- package/dist/entries/kanban-page.js +0 -1
- package/dist/entries/kanban-types.d.ts +0 -1
- package/dist/entries/kanban-types.js +0 -1
- package/dist/entries/kbd.d.ts +0 -1
- package/dist/entries/kbd.js +0 -1
- package/dist/entries/label.d.ts +0 -1
- package/dist/entries/label.js +0 -1
- package/dist/entries/loading-state.d.ts +0 -1
- package/dist/entries/loading-state.js +0 -1
- package/dist/entries/mcp-access-grouped-tool-picker.d.ts +0 -1
- package/dist/entries/mcp-access-grouped-tool-picker.js +0 -1
- package/dist/entries/mcp-access-tool-picker.d.ts +0 -1
- package/dist/entries/mcp-access-tool-picker.js +0 -1
- package/dist/entries/mcp-access-types.d.ts +0 -1
- package/dist/entries/mcp-access-types.js +0 -1
- package/dist/entries/mcp-client-setup.d.ts +0 -1
- package/dist/entries/mcp-client-setup.js +0 -1
- package/dist/entries/mcp-connect-clients.d.ts +0 -1
- package/dist/entries/mcp-connect-clients.js +0 -1
- package/dist/entries/mcp-plan-choice.d.ts +0 -1
- package/dist/entries/mcp-plan-choice.js +0 -1
- package/dist/entries/menubar.d.ts +0 -1
- package/dist/entries/menubar.js +0 -1
- package/dist/entries/metrics-strip.d.ts +0 -1
- package/dist/entries/metrics-strip.js +0 -1
- package/dist/entries/native-select.d.ts +0 -1
- package/dist/entries/native-select.js +0 -1
- package/dist/entries/navigation-menu-variants.d.ts +0 -1
- package/dist/entries/navigation-menu-variants.js +0 -1
- package/dist/entries/navigation-menu.d.ts +0 -1
- package/dist/entries/navigation-menu.js +0 -1
- package/dist/entries/page-header.d.ts +0 -1
- package/dist/entries/page-header.js +0 -1
- package/dist/entries/pagination.d.ts +0 -1
- package/dist/entries/pagination.js +0 -1
- package/dist/entries/palette.d.ts +0 -2
- package/dist/entries/palette.js +0 -2
- package/dist/entries/popover.d.ts +0 -1
- package/dist/entries/popover.js +0 -1
- package/dist/entries/progress.d.ts +0 -1
- package/dist/entries/progress.js +0 -1
- package/dist/entries/property-list.d.ts +0 -1
- package/dist/entries/property-list.js +0 -1
- package/dist/entries/radio-group.d.ts +0 -1
- package/dist/entries/radio-group.js +0 -1
- package/dist/entries/registry-docs-api.d.ts +0 -1
- package/dist/entries/registry-docs-api.js +0 -1
- package/dist/entries/registry-docs-code.d.ts +0 -1
- package/dist/entries/registry-docs-code.js +0 -1
- package/dist/entries/registry-docs-showcase.d.ts +0 -1
- package/dist/entries/registry-docs-showcase.js +0 -1
- package/dist/entries/registry-docs.d.ts +0 -1
- package/dist/entries/registry-docs.js +0 -1
- package/dist/entries/resizable.d.ts +0 -1
- package/dist/entries/resizable.js +0 -1
- package/dist/entries/scroll-area.d.ts +0 -1
- package/dist/entries/scroll-area.js +0 -1
- package/dist/entries/select.d.ts +0 -1
- package/dist/entries/select.js +0 -1
- package/dist/entries/separator.d.ts +0 -1
- package/dist/entries/separator.js +0 -1
- package/dist/entries/sheet.d.ts +0 -1
- package/dist/entries/sheet.js +0 -1
- package/dist/entries/sidebar/context.d.ts +0 -1
- package/dist/entries/sidebar/context.js +0 -1
- package/dist/entries/sidebar/group.d.ts +0 -1
- package/dist/entries/sidebar/group.js +0 -1
- package/dist/entries/sidebar/layout.d.ts +0 -1
- package/dist/entries/sidebar/layout.js +0 -1
- package/dist/entries/sidebar/menu.d.ts +0 -1
- package/dist/entries/sidebar/menu.js +0 -1
- package/dist/entries/sidebar/provider.d.ts +0 -1
- package/dist/entries/sidebar/provider.js +0 -1
- package/dist/entries/sidebar/rail.d.ts +0 -1
- package/dist/entries/sidebar/rail.js +0 -1
- package/dist/entries/sidebar/trigger.d.ts +0 -1
- package/dist/entries/sidebar/trigger.js +0 -1
- package/dist/entries/sidebar-account-menu-theme.d.ts +0 -1
- package/dist/entries/sidebar-account-menu-theme.js +0 -1
- package/dist/entries/sidebar-account-menu.d.ts +0 -1
- package/dist/entries/sidebar-account-menu.js +0 -1
- package/dist/entries/sidebar.d.ts +0 -1
- package/dist/entries/sidebar.js +0 -1
- package/dist/entries/skeleton.d.ts +0 -1
- package/dist/entries/skeleton.js +0 -1
- package/dist/entries/slider.d.ts +0 -1
- package/dist/entries/slider.js +0 -1
- package/dist/entries/sonner.d.ts +0 -1
- package/dist/entries/sonner.js +0 -1
- package/dist/entries/spinner.d.ts +0 -1
- package/dist/entries/spinner.js +0 -1
- package/dist/entries/submit-feedback-composer.d.ts +0 -1
- package/dist/entries/submit-feedback-composer.js +0 -1
- package/dist/entries/switch.d.ts +0 -1
- package/dist/entries/switch.js +0 -1
- package/dist/entries/table.d.ts +0 -1
- package/dist/entries/table.js +0 -1
- package/dist/entries/tabs-variants.d.ts +0 -1
- package/dist/entries/tabs-variants.js +0 -1
- package/dist/entries/tabs.d.ts +0 -1
- package/dist/entries/tabs.js +0 -1
- package/dist/entries/textarea.d.ts +0 -1
- package/dist/entries/textarea.js +0 -1
- package/dist/entries/timestamp-format.d.ts +0 -1
- package/dist/entries/timestamp-format.js +0 -1
- package/dist/entries/toggle-group.d.ts +0 -1
- package/dist/entries/toggle-group.js +0 -1
- package/dist/entries/toggle-variants.d.ts +0 -1
- package/dist/entries/toggle-variants.js +0 -1
- package/dist/entries/toggle.d.ts +0 -1
- package/dist/entries/toggle.js +0 -1
- package/dist/entries/tooltip.d.ts +0 -1
- package/dist/entries/tooltip.js +0 -1
- package/dist/entries/use-color-theme.d.ts +0 -1
- package/dist/entries/use-color-theme.js +0 -1
- package/dist/entries/use-feedback-composer-state.d.ts +0 -1
- package/dist/entries/use-feedback-composer-state.js +0 -1
- package/dist/entries/use-mobile.d.ts +0 -1
- package/dist/entries/use-mobile.js +0 -1
- package/dist/entries/utils.d.ts +0 -1
- package/dist/entries/utils.js +0 -1
- package/dist/entries/walkthrough.d.ts +0 -1
- package/dist/entries/walkthrough.js +0 -1
- package/dist/entries/workflow-timeline.d.ts +0 -1
- package/dist/entries/workflow-timeline.js +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -1
- package/dist/hooks/use-mobile.js +0 -17
- package/dist/lib/browser-storage.d.ts +0 -12
- package/dist/lib/browser-storage.js +0 -42
- package/dist/lib/palette-presets.d.ts +0 -17
- package/dist/lib/palette-presets.js +0 -42
- package/dist/lib/palette-tokens.d.ts +0 -39
- package/dist/lib/palette-tokens.js +0 -133
- package/dist/lib/palette.d.ts +0 -83
- package/dist/lib/palette.js +0 -151
- package/dist/lib/utils.d.ts +0 -5
- package/dist/lib/utils.js +0 -8
- package/dist/style-imports.d.ts +0 -3
- /package/dist/{components/blocks/feedback-composer-types.js → feedback/comment-types.js} +0 -0
- /package/dist/{components/blocks/kanban-types.js → feedback/feedback-composer-types.js} +0 -0
- /package/dist/{components/walkthrough/runtime/walkthroughTypes.js → feedback/feedback-tracking-types.js} +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Settings pages. `SettingsLayout` puts a column of sections beside the open one, which turns into
|
|
4
|
+
* a row of text tabs above it on a phone; each section can be a link (`href`, or a router's link as
|
|
5
|
+
* `render`) or a choice reported through `onValueChange`. `SettingsColumn` stacks a section's
|
|
6
|
+
* `SettingsPanel`s, and `SettingsRow` is one label and its value inside a panel.
|
|
7
|
+
*/
|
|
8
|
+
import { css, cx } from "#primitives/css";
|
|
9
|
+
import { Text } from "./layout.js";
|
|
10
|
+
import { useCiridaeLocale } from "./locale.js";
|
|
11
|
+
import { Panel, PanelHeader } from "./panel.js";
|
|
12
|
+
import { SidebarItem, SidebarNavigation, SidebarSection } from "./sidebar.js";
|
|
13
|
+
import { TabsList, TabsRoot, TabsTab } from "./tabs.js";
|
|
14
|
+
const layout = css({
|
|
15
|
+
display: "grid",
|
|
16
|
+
gridTemplateColumns: "token(sizes.overlay.menu) minmax(0, 1fr)",
|
|
17
|
+
alignItems: "start",
|
|
18
|
+
gap: "layout.sectionGap",
|
|
19
|
+
_phone: { gridTemplateColumns: "minmax(0, 1fr)", gap: "layout.clusterGap" },
|
|
20
|
+
});
|
|
21
|
+
const sectionColumn = css({ position: "sticky", top: "0", _phone: { display: "none" } });
|
|
22
|
+
const sectionTabs = css({ display: "none", minWidth: "0", _phone: { display: "block" } });
|
|
23
|
+
const content = css({ minWidth: "0" });
|
|
24
|
+
const column = css({
|
|
25
|
+
display: "flex",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
gap: "layout.clusterGap",
|
|
28
|
+
maxWidth: "settings.column",
|
|
29
|
+
});
|
|
30
|
+
const row = css({
|
|
31
|
+
display: "flex",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
justifyContent: "space-between",
|
|
34
|
+
gap: "layout.contentGap",
|
|
35
|
+
paddingBlock: "control.compactBlock",
|
|
36
|
+
});
|
|
37
|
+
export function SettingsLayout({ sections, value, onValueChange, children, labels: ownLabels, className, ...props }) {
|
|
38
|
+
const labels = { ...useCiridaeLocale().labels.settings, ...ownLabels };
|
|
39
|
+
return (_jsxs("div", { ...props, className: cx(layout, className), "data-ciridae-ui": "", children: [_jsx(SidebarNavigation, { className: sectionColumn, "aria-label": labels.navigation, children: _jsx(SidebarSection, { children: sections.map((section) => (_jsx(SidebarItem, { icon: section.icon, active: section.value === value, href: section.href, render: section.render, onClick: () => onValueChange?.(section.value), children: section.label }, section.value))) }) }), _jsx(TabsRoot, { className: sectionTabs, value: value, onValueChange: (next) => {
|
|
40
|
+
const chosen = sections.find((section) => section.value === next);
|
|
41
|
+
if (chosen && !chosen.href && !chosen.render)
|
|
42
|
+
onValueChange?.(chosen.value);
|
|
43
|
+
}, children: _jsx(TabsList, { variant: "text", "aria-label": labels.navigation, children: sections.map((section) => (_jsx(TabsTab, { value: section.value, href: section.href, render: section.render, onClick: section.href || section.render ? () => onValueChange?.(section.value) : undefined, children: section.label }, section.value))) }) }), _jsx("div", { className: content, children: children })] }));
|
|
44
|
+
}
|
|
45
|
+
/** A settings section's single column of panels; the shell header carries the page's title. */
|
|
46
|
+
export function SettingsColumn({ className, ...props }) {
|
|
47
|
+
return _jsx("div", { ...props, className: cx(column, className), "data-ciridae-ui": "" });
|
|
48
|
+
}
|
|
49
|
+
/** One group of settings, under an optional heading with an optional action beside it. */
|
|
50
|
+
export function SettingsPanel({ title, action, children, ...props }) {
|
|
51
|
+
return (_jsxs(Panel, { ...props, tone: "outline", children: [(title || action) && (_jsx(PanelHeader, { title: title, actions: action, level: title ? 2 : undefined })), children] }));
|
|
52
|
+
}
|
|
53
|
+
/** A label and its value or control on one line inside a settings panel. */
|
|
54
|
+
export function SettingsRow({ label, children, className, ...props }) {
|
|
55
|
+
return (_jsxs("div", { ...props, className: cx(row, className), "data-ciridae-ui": "", children: [_jsx(Text, { tone: "muted", children: label }), _jsx("span", { children: children })] }));
|
|
56
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
+
export type ShellSkeletonProps = ComponentProps<"div"> & {
|
|
3
|
+
/** The main panel's placeholder; a panel of rows by default. */
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
/** Names itself for assistive tech with the locale's "Loading" unless given an `aria-label`. */
|
|
7
|
+
export declare function ShellSkeleton({ children, ...props }: ShellSkeletonProps): import("@types/react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* The app shell while nothing is ready to draw, such as before a session or the first page's data:
|
|
4
|
+
* the sidebar's search and button, its rail icons, a section of rows and the account line, then the
|
|
5
|
+
* header's title over a panel, all as placeholders at the real chrome's sizes.
|
|
6
|
+
*/
|
|
7
|
+
import { useCiridaeLocale } from "./locale.js";
|
|
8
|
+
import { AppContent, AppHeader, AppMain, AppShell, AppSidebar, AppSidebarFooter, AppSidebarGroup, AppSidebarNav, AppSidebarRail, } from "./shell.js";
|
|
9
|
+
import { Skeleton } from "./skeleton.js";
|
|
10
|
+
import { PanelSkeleton, SidebarRowsSkeleton } from "./skeletons.js";
|
|
11
|
+
/** Names itself for assistive tech with the locale's "Loading" unless given an `aria-label`. */
|
|
12
|
+
export function ShellSkeleton({ children, ...props }) {
|
|
13
|
+
const { labels } = useCiridaeLocale();
|
|
14
|
+
return (_jsxs(AppShell, { "aria-busy": "true", "aria-label": labels.common.loading, ...props, children: [_jsxs(AppSidebar, { children: [_jsxs(AppSidebarGroup, { children: [_jsx(Skeleton, { height: "control" }), _jsx(Skeleton, { height: "control" })] }), _jsxs(AppSidebarRail, { children: [_jsx(Skeleton, { shape: "circle" }), _jsx(Skeleton, { shape: "circle" })] }), _jsx(AppSidebarNav, { children: _jsx(SidebarRowsSkeleton, {}) }), _jsx(AppSidebarFooter, { children: _jsx(Skeleton, { shape: "text", width: "70%" }) })] }), _jsxs(AppMain, { children: [_jsx(AppHeader, { children: _jsx(Skeleton, { shape: "text", width: "medium" }) }), _jsx(AppContent, { children: children ?? _jsx(PanelSkeleton, { rows: 6 }) })] })] }));
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
3
|
+
export declare function AppShell({ className, children, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
4
|
+
export declare function AppSidebar({ className, collapsed, onClickCapture, ...props }: ComponentProps<"aside"> & {
|
|
5
|
+
collapsed?: boolean;
|
|
6
|
+
}): import("@types/react").JSX.Element;
|
|
7
|
+
export declare function AppMain({ className, ...props }: ComponentProps<"main">): import("@types/react").JSX.Element;
|
|
8
|
+
export declare function AppHeader({ className, children, actions, ...props }: ComponentProps<"header"> & {
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
}): import("@types/react").JSX.Element;
|
|
11
|
+
export declare function AppContent({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
12
|
+
/** Content of the expanded sidebar, such as search and its buttons; hidden while it is a rail. */
|
|
13
|
+
export declare function AppSidebarGroup({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* The icon column shown in place of the expanded content while the sidebar is a rail. Its icon
|
|
16
|
+
* buttons are large unless they set their own size.
|
|
17
|
+
*/
|
|
18
|
+
export declare function AppSidebarRail({ className, children, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
19
|
+
/** The sidebar's navigation, which scrolls on its own between the top and the footer. */
|
|
20
|
+
export declare function AppSidebarNav({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
21
|
+
/** Pinned to the sidebar's bottom; holds both expanded and rail content. */
|
|
22
|
+
export declare function AppSidebarFooter({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
23
|
+
export declare function AppSidebarFootnote({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
24
|
+
/** Shows its content only in the expanded sidebar, or with `rail` only while it is a rail. */
|
|
25
|
+
export declare function AppSidebarOnly({ rail, children, }: {
|
|
26
|
+
rail?: boolean;
|
|
27
|
+
children: ReactNode;
|
|
28
|
+
}): import("@types/react").JSX.Element;
|
|
29
|
+
/** Keep parent links on larger screens and a caller-owned compact ancestor menu on phones. */
|
|
30
|
+
export declare function AppBreadcrumbParents({ children, compact, }: {
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
compact: ReactNode;
|
|
33
|
+
}): import("@types/react").JSX.Element;
|
|
34
|
+
export declare function AppHeaderActions({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
35
|
+
/** Header controls that stand in for the sidebar once the window is too narrow to show it. */
|
|
36
|
+
export declare function AppHeaderCompact({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
37
|
+
/** The header's trail of where the page sits; the last crumb truncates first. */
|
|
38
|
+
export declare function AppBreadcrumbs({ className, ...props }: ComponentProps<"nav">): import("@types/react").JSX.Element;
|
|
39
|
+
/** The slash between two crumbs. */
|
|
40
|
+
export declare function AppBreadcrumbSeparator(): import("@types/react").JSX.Element;
|
|
41
|
+
/** The crumb for the page itself, which ends the trail and is the page's heading. */
|
|
42
|
+
export declare function AppBreadcrumbCurrent({ className, ...props }: ComponentProps<"h1">): import("@types/react").JSX.Element;
|
|
43
|
+
export type AppBreadcrumbButtonProps = useRender.ComponentProps<"button"> & {
|
|
44
|
+
/** Makes the crumb a link to this address; `render` takes a router's link instead. */
|
|
45
|
+
href?: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A crumb that opens something: a button, such as a switcher menu's trigger; a link with `href`;
|
|
49
|
+
* or the element `render` gives, such as a router's `<Link to="...">`.
|
|
50
|
+
*/
|
|
51
|
+
export declare function AppBreadcrumbButton({ className, render, href, ...props }: AppBreadcrumbButtonProps): import("@types/react").ReactElement<unknown, string | import("@types/react").JSXElementConstructor<any>>;
|
|
52
|
+
/**
|
|
53
|
+
* The signed-in account as a menu trigger: avatar, name, and a detail line, or with `compact` the
|
|
54
|
+
* avatar alone.
|
|
55
|
+
*/
|
|
56
|
+
export declare function AppAccountButton({ avatar, name, detail, trailing, compact, className, ...props }: ComponentProps<"button"> & {
|
|
57
|
+
avatar: ReactNode;
|
|
58
|
+
name?: ReactNode;
|
|
59
|
+
detail?: ReactNode;
|
|
60
|
+
trailing?: ReactNode;
|
|
61
|
+
compact?: boolean;
|
|
62
|
+
}): import("@types/react").JSX.Element;
|
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
import { ListIcon } from "@phosphor-icons/react";
|
|
4
|
+
import { createContext, useContext, useMemo, useState } from "react";
|
|
5
|
+
import { css, cx } from "#primitives/css";
|
|
6
|
+
import { IconButton, IconButtonSizeContext } from "./button.js";
|
|
7
|
+
import { PageHotkeys, useHotkey } from "./hotkeys.js";
|
|
8
|
+
import { icon } from "./icon.js";
|
|
9
|
+
import { useCiridaeLocale } from "./locale.js";
|
|
10
|
+
// The sidebar sits flush against the window; only the main panel is inset from the edges.
|
|
11
|
+
const shell = css({
|
|
12
|
+
display: "flex",
|
|
13
|
+
height: "100dvh",
|
|
14
|
+
paddingBlock: "panel.compact",
|
|
15
|
+
paddingInlineEnd: "panel.compact",
|
|
16
|
+
overflow: "hidden",
|
|
17
|
+
background: "bg.canvas",
|
|
18
|
+
color: "fg.primary",
|
|
19
|
+
// Compact line height leaves clipped text room for its descenders throughout the app frame.
|
|
20
|
+
textStyle: "body",
|
|
21
|
+
_phone: { display: "block", padding: "none" },
|
|
22
|
+
});
|
|
23
|
+
const sidebar = css({
|
|
24
|
+
display: "flex",
|
|
25
|
+
flexDirection: "column",
|
|
26
|
+
gap: "sidebar.groupGap",
|
|
27
|
+
paddingBlock: "panel.sidebarBlock",
|
|
28
|
+
// The first row, a control's height such as the workspace switcher, centres on the header's
|
|
29
|
+
// line beside it: half the difference, plus the main panel's 1px edge.
|
|
30
|
+
_notPhone: {
|
|
31
|
+
paddingTop: "calc((token(sizes.shell.header) - token(sizes.control.default)) / 2 + 1px)",
|
|
32
|
+
},
|
|
33
|
+
paddingInline: "sidebar.inline",
|
|
34
|
+
width: "shell.sidebar",
|
|
35
|
+
flexShrink: "0",
|
|
36
|
+
overflowY: "auto",
|
|
37
|
+
// The rail swaps every expanded control for its `data-compact-sidebar` icon twin.
|
|
38
|
+
"& [data-compact-sidebar]": { display: "none" },
|
|
39
|
+
"&[data-collapsed]": {
|
|
40
|
+
width: "shell.collapsed",
|
|
41
|
+
alignItems: "center",
|
|
42
|
+
"& [data-expanded-sidebar]": { display: "none" },
|
|
43
|
+
"& [data-compact-sidebar]": { display: "flex" },
|
|
44
|
+
},
|
|
45
|
+
_rail: {
|
|
46
|
+
width: "shell.collapsed",
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
// A phone keeps the expanded content for its menu, laid out as on desktop.
|
|
49
|
+
_notPhone: {
|
|
50
|
+
"& [data-expanded-sidebar]": { display: "none" },
|
|
51
|
+
"& [data-compact-sidebar]": { display: "flex" },
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
// On a phone the sidebar leaves the layout and slides in over the page from the header's menu
|
|
55
|
+
// button, with its full labelled content rather than the rail.
|
|
56
|
+
_phone: {
|
|
57
|
+
position: "fixed",
|
|
58
|
+
insetBlock: "0",
|
|
59
|
+
insetInlineStart: "0",
|
|
60
|
+
zIndex: "drawer",
|
|
61
|
+
width: "shell.sidebar",
|
|
62
|
+
alignItems: "stretch",
|
|
63
|
+
background: "bg.canvas",
|
|
64
|
+
borderInlineEnd: "1px solid token(colors.border.panel)",
|
|
65
|
+
boxShadow: "card",
|
|
66
|
+
transform: "translateX(-100%)",
|
|
67
|
+
_rtl: { transform: "translateX(100%)" },
|
|
68
|
+
visibility: "hidden",
|
|
69
|
+
transitionProperty: "transform, visibility",
|
|
70
|
+
transitionDuration: "fast",
|
|
71
|
+
"&[data-menu-open]": { transform: "none", visibility: "visible" },
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
const menuBackdrop = css({
|
|
75
|
+
display: "none",
|
|
76
|
+
_phone: {
|
|
77
|
+
display: "block",
|
|
78
|
+
position: "fixed",
|
|
79
|
+
inset: "0",
|
|
80
|
+
zIndex: "drawer",
|
|
81
|
+
background: "bg.backdrop",
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
const menuButton = css({ display: "none", _phone: { display: "inline-flex", flexShrink: "0" } });
|
|
85
|
+
const main = css({
|
|
86
|
+
display: "flex",
|
|
87
|
+
flexDirection: "column",
|
|
88
|
+
flex: "1",
|
|
89
|
+
minWidth: "0",
|
|
90
|
+
border: "1px solid token(colors.border.panel)",
|
|
91
|
+
borderRadius: "action",
|
|
92
|
+
background: "bg.panel",
|
|
93
|
+
overflow: "hidden",
|
|
94
|
+
// Only once the panel spans the whole window does rounding read as a gap.
|
|
95
|
+
_phone: {
|
|
96
|
+
borderRadius: "0",
|
|
97
|
+
height: "100dvh",
|
|
98
|
+
border: "0",
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
const header = css({
|
|
102
|
+
display: "flex",
|
|
103
|
+
alignItems: "center",
|
|
104
|
+
justifyContent: "space-between",
|
|
105
|
+
gap: "layout.controlGap",
|
|
106
|
+
height: "shell.header",
|
|
107
|
+
flexShrink: "0",
|
|
108
|
+
paddingInlineEnd: "control.compactInline",
|
|
109
|
+
paddingInlineStart: "control.inline",
|
|
110
|
+
borderBottom: "1px solid token(colors.border.panel)",
|
|
111
|
+
"& > :last-child": { minWidth: "0", maxWidth: "100%" },
|
|
112
|
+
// Once the sidebar is gone the header stays one row: the title truncates, the actions keep
|
|
113
|
+
// their width.
|
|
114
|
+
_phone: {
|
|
115
|
+
gap: "layout.controlGap",
|
|
116
|
+
padding: "panel.default",
|
|
117
|
+
"& > [data-header-title]": {
|
|
118
|
+
minWidth: "0",
|
|
119
|
+
overflow: "hidden",
|
|
120
|
+
whiteSpace: "nowrap",
|
|
121
|
+
textOverflow: "ellipsis",
|
|
122
|
+
lineHeight: "compact",
|
|
123
|
+
},
|
|
124
|
+
// The actions hold one line: a slicer keeps its value and drops the dimension it names.
|
|
125
|
+
"& > :last-child": { flexShrink: "0", flexWrap: "nowrap" },
|
|
126
|
+
"& [data-slicer-label]": { srOnly: true },
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
const headerTitle = css({
|
|
130
|
+
flex: "1",
|
|
131
|
+
minWidth: "0",
|
|
132
|
+
color: "fg.muted",
|
|
133
|
+
fontSize: "caption",
|
|
134
|
+
fontWeight: "medium",
|
|
135
|
+
});
|
|
136
|
+
const content = css({
|
|
137
|
+
flex: "1",
|
|
138
|
+
minHeight: "0",
|
|
139
|
+
overflow: "auto",
|
|
140
|
+
// Exposed so sticky descendants (table headers) can pin to the scroller's edge, not its padding.
|
|
141
|
+
"--app-content-inset": "token(spacing.page.inline)",
|
|
142
|
+
padding: "var(--app-content-inset)",
|
|
143
|
+
_phone: { "--app-content-inset": "token(spacing.panel.default)" },
|
|
144
|
+
});
|
|
145
|
+
/** Whether the phone menu (the sidebar slid in over the page) is open. */
|
|
146
|
+
const ShellMenuContext = createContext({
|
|
147
|
+
open: false,
|
|
148
|
+
setOpen: () => undefined,
|
|
149
|
+
});
|
|
150
|
+
/** In the page's scope, so Escape in an overlay over the menu closes only the overlay. */
|
|
151
|
+
function CloseShellMenuOnEscape() {
|
|
152
|
+
const menu = useContext(ShellMenuContext);
|
|
153
|
+
useHotkey("Escape", () => menu.setOpen(false), {
|
|
154
|
+
enabled: menu.open,
|
|
155
|
+
// The page's own Escape, such as a list's, is off while the menu covers it.
|
|
156
|
+
conflictBehavior: "allow",
|
|
157
|
+
});
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
export function AppShell({ className, children, ...props }) {
|
|
161
|
+
const [menuOpen, setMenuOpen] = useState(false);
|
|
162
|
+
const menu = useMemo(() => ({ open: menuOpen, setOpen: setMenuOpen }), [menuOpen]);
|
|
163
|
+
return (_jsx(ShellMenuContext, { value: menu, children: _jsxs("div", { ...props, className: cx(shell, className), "data-ciridae-ui": "", children: [menuOpen && _jsx("div", { className: menuBackdrop, onClick: () => setMenuOpen(false) }), _jsxs(PageHotkeys, { children: [_jsx(CloseShellMenuOnEscape, {}), children] })] }) }));
|
|
164
|
+
}
|
|
165
|
+
export function AppSidebar({ className, collapsed, onClickCapture, ...props }) {
|
|
166
|
+
const menu = useContext(ShellMenuContext);
|
|
167
|
+
// Choosing a page from the phone menu closes it, as does an item of a menu opened from it, such
|
|
168
|
+
// as the account menu; a row's action, such as a pin, and a menu's own trigger do not.
|
|
169
|
+
const closeMenuOnNavigation = (event) => {
|
|
170
|
+
onClickCapture?.(event);
|
|
171
|
+
const target = event.target instanceof Element ? event.target : null;
|
|
172
|
+
if (menu.open &&
|
|
173
|
+
target?.closest("a, button, [role=menuitem]") &&
|
|
174
|
+
!target.closest("[data-sidebar-action], [aria-haspopup]")) {
|
|
175
|
+
menu.setOpen(false);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
return (_jsx("aside", { ...props, className: cx(sidebar, className), "data-collapsed": collapsed || undefined, "data-menu-open": menu.open || undefined, onClickCapture: closeMenuOnNavigation }));
|
|
179
|
+
}
|
|
180
|
+
/** Opens the sidebar as a menu on a phone; hidden at any width that shows the sidebar. */
|
|
181
|
+
function AppMenuButton() {
|
|
182
|
+
const menu = useContext(ShellMenuContext);
|
|
183
|
+
const { labels } = useCiridaeLocale();
|
|
184
|
+
return (_jsx("span", { className: menuButton, children: _jsx(IconButton, { "aria-label": labels.shell.menu, "aria-expanded": menu.open, variant: "ghost", onClick: () => menu.setOpen(!menu.open), children: _jsx(ListIcon, { className: icon({ size: "small" }) }) }) }));
|
|
185
|
+
}
|
|
186
|
+
export function AppMain({ className, ...props }) {
|
|
187
|
+
return _jsx("main", { ...props, className: cx(main, className), "data-ciridae-ui": "" });
|
|
188
|
+
}
|
|
189
|
+
export function AppHeader({ className, children, actions, ...props }) {
|
|
190
|
+
return (_jsxs("header", { ...props, className: cx(header, className), "data-ciridae-ui": "", children: [_jsx(AppMenuButton, {}), _jsx("div", { className: headerTitle, "data-header-title": "", children: children }), actions] }));
|
|
191
|
+
}
|
|
192
|
+
export function AppContent({ className, ...props }) {
|
|
193
|
+
return _jsx("div", { ...props, className: cx(content, className), "data-ciridae-ui": "" });
|
|
194
|
+
}
|
|
195
|
+
// Sidebar pieces. The sidebar shows either its expanded content or, as a rail, its compact twins;
|
|
196
|
+
// `AppSidebar` does the switching through these data attributes.
|
|
197
|
+
const sidebarGroup = css({ display: "flex", flexDirection: "column", gap: "layout.controlGap" });
|
|
198
|
+
const sidebarRail = css({
|
|
199
|
+
display: "flex",
|
|
200
|
+
flexDirection: "column",
|
|
201
|
+
alignItems: "center",
|
|
202
|
+
gap: "layout.tightGap",
|
|
203
|
+
});
|
|
204
|
+
/* One sidebar's content stacks at its container's own gap, so a footer's controls keep their room. */
|
|
205
|
+
const sidebarOnly = css({ display: "flex", flexDirection: "column", gap: "inherit" });
|
|
206
|
+
const sidebarNav = css({
|
|
207
|
+
display: "flex",
|
|
208
|
+
flexDirection: "column",
|
|
209
|
+
gap: "layout.controlGap",
|
|
210
|
+
minHeight: "0",
|
|
211
|
+
overflowY: "auto",
|
|
212
|
+
// Scrolling would clip the ring of anything outer-ringed placed among the items.
|
|
213
|
+
ringRoom: true,
|
|
214
|
+
});
|
|
215
|
+
const sidebarFooter = css({
|
|
216
|
+
marginTop: "auto",
|
|
217
|
+
// Room above the footer's first control, so it never sits tight under the last nav row.
|
|
218
|
+
paddingTop: "layout.contentGap",
|
|
219
|
+
display: "flex",
|
|
220
|
+
flexDirection: "column",
|
|
221
|
+
gap: "layout.contentGap",
|
|
222
|
+
// A phone shows the footer in its menu at full width, as the expanded sidebar does.
|
|
223
|
+
_rail: { _notPhone: { alignItems: "center" } },
|
|
224
|
+
});
|
|
225
|
+
/** A line of small print, such as build and status, with a leading button flush beside it. */
|
|
226
|
+
const sidebarFootnote = css({
|
|
227
|
+
display: "flex",
|
|
228
|
+
alignItems: "center",
|
|
229
|
+
flexWrap: "wrap",
|
|
230
|
+
gap: "layout.tightGap",
|
|
231
|
+
paddingInline: "layout.tightGap",
|
|
232
|
+
color: "fg.muted",
|
|
233
|
+
fontSize: "caption",
|
|
234
|
+
"& > button:first-child": {
|
|
235
|
+
width: "auto",
|
|
236
|
+
marginInlineEnd: "auto",
|
|
237
|
+
paddingInline: "layout.tightGap",
|
|
238
|
+
},
|
|
239
|
+
});
|
|
240
|
+
/** Content of the expanded sidebar, such as search and its buttons; hidden while it is a rail. */
|
|
241
|
+
export function AppSidebarGroup({ className, ...props }) {
|
|
242
|
+
return _jsx("div", { ...props, className: cx(sidebarGroup, className), "data-expanded-sidebar": "" });
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* The icon column shown in place of the expanded content while the sidebar is a rail. Its icon
|
|
246
|
+
* buttons are large unless they set their own size.
|
|
247
|
+
*/
|
|
248
|
+
export function AppSidebarRail({ className, children, ...props }) {
|
|
249
|
+
return (_jsx("div", { ...props, className: cx(sidebarRail, className), "data-compact-sidebar": "", children: _jsx(IconButtonSizeContext, { value: "large", children: children }) }));
|
|
250
|
+
}
|
|
251
|
+
/** The sidebar's navigation, which scrolls on its own between the top and the footer. */
|
|
252
|
+
export function AppSidebarNav({ className, ...props }) {
|
|
253
|
+
return _jsx("div", { ...props, className: cx(sidebarNav, className), "data-expanded-sidebar": "" });
|
|
254
|
+
}
|
|
255
|
+
/** Pinned to the sidebar's bottom; holds both expanded and rail content. */
|
|
256
|
+
export function AppSidebarFooter({ className, ...props }) {
|
|
257
|
+
return _jsx("div", { ...props, className: cx(sidebarFooter, className) });
|
|
258
|
+
}
|
|
259
|
+
export function AppSidebarFootnote({ className, ...props }) {
|
|
260
|
+
return _jsx("div", { ...props, className: cx(sidebarFootnote, className), "data-expanded-sidebar": "" });
|
|
261
|
+
}
|
|
262
|
+
/** Shows its content only in the expanded sidebar, or with `rail` only while it is a rail. */
|
|
263
|
+
export function AppSidebarOnly({ rail = false, children, }) {
|
|
264
|
+
return rail ? (_jsx("div", { className: sidebarOnly, "data-compact-sidebar": "", children: _jsx(IconButtonSizeContext, { value: "large", children: children }) })) : (_jsx("div", { className: sidebarOnly, "data-expanded-sidebar": "", children: children }));
|
|
265
|
+
}
|
|
266
|
+
// Header pieces.
|
|
267
|
+
const headerActions = css({
|
|
268
|
+
display: "flex",
|
|
269
|
+
alignItems: "center",
|
|
270
|
+
justifyContent: "flex-end",
|
|
271
|
+
gap: "layout.contentGap",
|
|
272
|
+
minWidth: "0",
|
|
273
|
+
});
|
|
274
|
+
/** The header's copy of the rail, for widths where the sidebar is gone altogether. */
|
|
275
|
+
const headerCompact = css({
|
|
276
|
+
display: "none",
|
|
277
|
+
alignItems: "center",
|
|
278
|
+
flexWrap: "nowrap",
|
|
279
|
+
minWidth: "0",
|
|
280
|
+
gap: "layout.contentGap",
|
|
281
|
+
_phone: { display: "flex" },
|
|
282
|
+
});
|
|
283
|
+
const crumbs = css({
|
|
284
|
+
display: "flex",
|
|
285
|
+
alignItems: "center",
|
|
286
|
+
gap: "layout.controlGap",
|
|
287
|
+
minWidth: "0",
|
|
288
|
+
whiteSpace: "nowrap",
|
|
289
|
+
"& > :last-child": {
|
|
290
|
+
minWidth: "0",
|
|
291
|
+
overflow: "hidden",
|
|
292
|
+
textOverflow: "ellipsis",
|
|
293
|
+
lineHeight: "compact",
|
|
294
|
+
},
|
|
295
|
+
_phone: { gap: "layout.tightGap" },
|
|
296
|
+
"& a:hover": { textDecoration: "underline" },
|
|
297
|
+
});
|
|
298
|
+
const breadcrumbParents = css({ display: "contents", _phone: { display: "none" } });
|
|
299
|
+
const breadcrumbParentsCompact = css({
|
|
300
|
+
display: "none",
|
|
301
|
+
flexShrink: "0",
|
|
302
|
+
_phone: { display: "inline-flex" },
|
|
303
|
+
});
|
|
304
|
+
/** Keep parent links on larger screens and a caller-owned compact ancestor menu on phones. */
|
|
305
|
+
export function AppBreadcrumbParents({ children, compact, }) {
|
|
306
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { className: breadcrumbParents, children: children }), _jsx("span", { className: breadcrumbParentsCompact, children: compact })] }));
|
|
307
|
+
}
|
|
308
|
+
const crumbButton = css({
|
|
309
|
+
display: "inline-flex",
|
|
310
|
+
alignItems: "center",
|
|
311
|
+
gap: "layout.tightGap",
|
|
312
|
+
padding: "none",
|
|
313
|
+
border: "0",
|
|
314
|
+
background: "transparent",
|
|
315
|
+
color: "inherit",
|
|
316
|
+
font: "inherit",
|
|
317
|
+
cursor: "pointer",
|
|
318
|
+
_hover: { textDecoration: "underline" },
|
|
319
|
+
});
|
|
320
|
+
export function AppHeaderActions({ className, ...props }) {
|
|
321
|
+
return _jsx("div", { ...props, className: cx(headerActions, className) });
|
|
322
|
+
}
|
|
323
|
+
/** Header controls that stand in for the sidebar once the window is too narrow to show it. */
|
|
324
|
+
export function AppHeaderCompact({ className, ...props }) {
|
|
325
|
+
return _jsx("div", { ...props, className: cx(headerCompact, className) });
|
|
326
|
+
}
|
|
327
|
+
/** The header's trail of where the page sits; the last crumb truncates first. */
|
|
328
|
+
export function AppBreadcrumbs({ className, ...props }) {
|
|
329
|
+
const { labels } = useCiridaeLocale();
|
|
330
|
+
return _jsx("nav", { "aria-label": labels.shell.breadcrumb, ...props, className: cx(crumbs, className) });
|
|
331
|
+
}
|
|
332
|
+
const crumbSeparator = css({ color: "fg.muted" });
|
|
333
|
+
// The page's title, as its one h1, set in the trail's own type.
|
|
334
|
+
const crumbCurrent = css({
|
|
335
|
+
margin: "none",
|
|
336
|
+
// The page's heading, but read as a crumb, so it stays on the body face.
|
|
337
|
+
fontFamily: "sans",
|
|
338
|
+
color: "fg.primary",
|
|
339
|
+
fontSize: "inherit",
|
|
340
|
+
fontWeight: "medium",
|
|
341
|
+
lineHeight: "inherit",
|
|
342
|
+
});
|
|
343
|
+
/** The slash between two crumbs. */
|
|
344
|
+
export function AppBreadcrumbSeparator() {
|
|
345
|
+
return (_jsx("span", { className: crumbSeparator, "aria-hidden": "true", children: "/" }));
|
|
346
|
+
}
|
|
347
|
+
/** The crumb for the page itself, which ends the trail and is the page's heading. */
|
|
348
|
+
export function AppBreadcrumbCurrent({ className, ...props }) {
|
|
349
|
+
return _jsx("h1", { "aria-current": "page", ...props, className: cx(crumbCurrent, className) });
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* A crumb that opens something: a button, such as a switcher menu's trigger; a link with `href`;
|
|
353
|
+
* or the element `render` gives, such as a router's `<Link to="...">`.
|
|
354
|
+
*/
|
|
355
|
+
export function AppBreadcrumbButton({ className, render, href, ...props }) {
|
|
356
|
+
const link = href !== undefined || render !== undefined;
|
|
357
|
+
return useRender({
|
|
358
|
+
defaultTagName: href !== undefined ? "a" : "button",
|
|
359
|
+
render,
|
|
360
|
+
props: {
|
|
361
|
+
...(link ? {} : { type: "button" }),
|
|
362
|
+
...(href !== undefined ? { href } : {}),
|
|
363
|
+
...props,
|
|
364
|
+
className: cx(crumbButton, className),
|
|
365
|
+
},
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
// Account trigger, for a menu at the sidebar's foot or the compact header's end.
|
|
369
|
+
const account = css({
|
|
370
|
+
display: "flex",
|
|
371
|
+
alignItems: "center",
|
|
372
|
+
gap: "sidebar.markGap",
|
|
373
|
+
width: "100%",
|
|
374
|
+
padding: "layout.tightGap",
|
|
375
|
+
border: "0",
|
|
376
|
+
borderRadius: "action",
|
|
377
|
+
background: "transparent",
|
|
378
|
+
color: "inherit",
|
|
379
|
+
font: "inherit",
|
|
380
|
+
textAlign: "start",
|
|
381
|
+
cursor: "pointer",
|
|
382
|
+
"&:hover, &[data-popup-open]": { background: "bg.hover" },
|
|
383
|
+
_focusVisible: { focusRing: "inset" },
|
|
384
|
+
});
|
|
385
|
+
const accountAvatarOnly = css({
|
|
386
|
+
display: "inline-flex",
|
|
387
|
+
padding: "none",
|
|
388
|
+
border: "0",
|
|
389
|
+
borderRadius: "round",
|
|
390
|
+
background: "transparent",
|
|
391
|
+
cursor: "pointer",
|
|
392
|
+
_focusVisible: { focusRing: "outer" },
|
|
393
|
+
});
|
|
394
|
+
const accountCopy = css({
|
|
395
|
+
display: "grid",
|
|
396
|
+
flex: "1",
|
|
397
|
+
minWidth: "0",
|
|
398
|
+
"& > *": {
|
|
399
|
+
overflow: "hidden",
|
|
400
|
+
textOverflow: "ellipsis",
|
|
401
|
+
whiteSpace: "nowrap",
|
|
402
|
+
lineHeight: "compact",
|
|
403
|
+
},
|
|
404
|
+
"& > :last-child": { color: "fg.muted", fontSize: "caption" },
|
|
405
|
+
});
|
|
406
|
+
/**
|
|
407
|
+
* The signed-in account as a menu trigger: avatar, name, and a detail line, or with `compact` the
|
|
408
|
+
* avatar alone.
|
|
409
|
+
*/
|
|
410
|
+
export function AppAccountButton({ avatar, name, detail, trailing, compact = false, className, ...props }) {
|
|
411
|
+
if (compact) {
|
|
412
|
+
return (_jsx("button", { type: "button", ...props, className: cx(accountAvatarOnly, className), children: avatar }));
|
|
413
|
+
}
|
|
414
|
+
return (_jsxs("button", { type: "button", ...props, className: cx(account, className), children: [avatar, _jsxs("span", { className: accountCopy, children: [_jsx("strong", { children: name }), _jsx("span", { children: detail })] }), trailing] }));
|
|
415
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
+
export type SidePanelProps = Omit<ComponentProps<"aside">, "title"> & {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
/** A muted line above the title, such as where the item sits in its list; the title then drops under the header row. */
|
|
5
|
+
eyebrow?: ReactNode;
|
|
6
|
+
subtitle?: ReactNode;
|
|
7
|
+
/** Beside the title, such as a status badge. */
|
|
8
|
+
titleAccessory?: ReactNode;
|
|
9
|
+
/** Header controls before the close button, such as a menu. */
|
|
10
|
+
actions?: ReactNode;
|
|
11
|
+
/** Under the title in the header; the sheet puts it first in its body. */
|
|
12
|
+
headerContent?: ReactNode;
|
|
13
|
+
footer?: ReactNode;
|
|
14
|
+
/** Clears the open item, from the close button or by dismissing the sheet. */
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
/** Adds previous / next buttons; a missing handler disables its button. */
|
|
17
|
+
stepper?: boolean;
|
|
18
|
+
onPrevious?: () => void;
|
|
19
|
+
onNext?: () => void;
|
|
20
|
+
/** Drops the body's padding, for content that runs edge to edge such as tabs. */
|
|
21
|
+
flushBody?: boolean;
|
|
22
|
+
/** The aside's body class; the sheet's body takes it too. */
|
|
23
|
+
bodyClassName?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* A list's preview panel: the open item's header (an eyebrow, title, accessory, subtitle), an
|
|
27
|
+
* optional previous / next stepper, actions and close, a scrolling body and a footer. Put it beside
|
|
28
|
+
* the list in a `SidePanelLayout`.
|
|
29
|
+
*/
|
|
30
|
+
export declare function SidePanel({ title, eyebrow, subtitle, titleAccessory, actions, headerContent, footer, onClose, stepper, onPrevious, onNext, flushBody, bodyClassName, className, children, ...props }: SidePanelProps): import("@types/react").JSX.Element;
|
|
31
|
+
/** A list and its `SidePanel` side by side; the list takes the room the panel leaves. */
|
|
32
|
+
export declare function SidePanelLayout({ className, ...props }: ComponentProps<"div">): import("@types/react").JSX.Element;
|
|
33
|
+
/** A labelled block of a side panel's body. */
|
|
34
|
+
export declare function SidePanelSection({ label, className, children, ...props }: Omit<ComponentProps<"section">, "title"> & {
|
|
35
|
+
label: ReactNode;
|
|
36
|
+
}): import("@types/react").JSX.Element;
|