@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,32 @@
|
|
|
1
|
+
import type { PaletteName } from "./palettes.js";
|
|
2
|
+
export type ColorTheme = "dark" | "light";
|
|
3
|
+
/**
|
|
4
|
+
* What a product calls itself (a short name for tight spots like a rail) and its public asset
|
|
5
|
+
* paths, served from the app, e.g. `/brand/favicon.svg`.
|
|
6
|
+
*/
|
|
7
|
+
export type Brand = {
|
|
8
|
+
name: string;
|
|
9
|
+
shortName?: string;
|
|
10
|
+
favicon?: string;
|
|
11
|
+
logo?: string;
|
|
12
|
+
mark?: string;
|
|
13
|
+
/** The social sharing card. */
|
|
14
|
+
card?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The few choices a product makes once. The first two shape the tokens through
|
|
18
|
+
* `createCiridaePreset`; the last two are runtime settings `ThemeProvider` takes.
|
|
19
|
+
*/
|
|
20
|
+
export type CiridaeTheme = {
|
|
21
|
+
palette: PaletteName;
|
|
22
|
+
fonts: {
|
|
23
|
+
display?: string;
|
|
24
|
+
sans?: string;
|
|
25
|
+
mono?: string;
|
|
26
|
+
};
|
|
27
|
+
defaultColorTheme: ColorTheme;
|
|
28
|
+
brand?: Brand;
|
|
29
|
+
};
|
|
30
|
+
export declare const defaultTheme: CiridaeTheme & {
|
|
31
|
+
fonts: Required<CiridaeTheme["fonts"]>;
|
|
32
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/** A color per color theme, in the shape Panda's semantic tokens take. */
|
|
2
|
+
export type ThemedColor = {
|
|
3
|
+
base: string;
|
|
4
|
+
_light: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const PALETTE_NAMES: readonly ["ciridae", "ocean", "moss", "violet", "ember"];
|
|
7
|
+
export type PaletteName = (typeof PALETTE_NAMES)[number];
|
|
8
|
+
/**
|
|
9
|
+
* The greys under one color theme: every neutral token is one of these, flat or at an alpha. Dark
|
|
10
|
+
* draws its glass as pale greys over the surface; light draws solids.
|
|
11
|
+
*/
|
|
12
|
+
export type Greys = {
|
|
13
|
+
canvas: string;
|
|
14
|
+
panel: string;
|
|
15
|
+
card: string;
|
|
16
|
+
well: string;
|
|
17
|
+
avatar: string;
|
|
18
|
+
primary: string;
|
|
19
|
+
secondary: string;
|
|
20
|
+
muted: string;
|
|
21
|
+
subtle: string;
|
|
22
|
+
archived: string;
|
|
23
|
+
line: string;
|
|
24
|
+
border: string;
|
|
25
|
+
cardBorder: string;
|
|
26
|
+
mark: string;
|
|
27
|
+
hairline: string;
|
|
28
|
+
wash: string;
|
|
29
|
+
shade: string;
|
|
30
|
+
focus: string;
|
|
31
|
+
surface: string;
|
|
32
|
+
control: string;
|
|
33
|
+
pill: string;
|
|
34
|
+
glass: string;
|
|
35
|
+
raised: string;
|
|
36
|
+
hover: string;
|
|
37
|
+
knob: string;
|
|
38
|
+
};
|
|
39
|
+
export type GreyRamp = {
|
|
40
|
+
dark: Greys;
|
|
41
|
+
light: Greys;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The source colors every color token is drawn from. Each is tuned for both themes: dark faces
|
|
45
|
+
* are pale and carry the canvas color as text, light faces are deep and carry white.
|
|
46
|
+
*/
|
|
47
|
+
export type Palette = {
|
|
48
|
+
greys: GreyRamp;
|
|
49
|
+
accent: ThemedColor;
|
|
50
|
+
primary: ThemedColor;
|
|
51
|
+
status: Record<"green" | "red" | "yellow" | "blue", {
|
|
52
|
+
text: ThemedColor;
|
|
53
|
+
wash?: ThemedColor;
|
|
54
|
+
}>;
|
|
55
|
+
bronze: ThemedColor;
|
|
56
|
+
tint: {
|
|
57
|
+
face: ThemedColor;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const palettes: Record<PaletteName, Palette>;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { lean } from "./color.js";
|
|
2
|
+
export const PALETTE_NAMES = ["ciridae", "ocean", "moss", "violet", "ember"];
|
|
3
|
+
/* The kit's own greys: today's dark, and the Figma's crisp light, each face flattened to its middle. */
|
|
4
|
+
const ciridaeGreys = {
|
|
5
|
+
dark: {
|
|
6
|
+
canvas: "#141416",
|
|
7
|
+
panel: "#27272A",
|
|
8
|
+
card: "#212124",
|
|
9
|
+
well: "#1D1D20",
|
|
10
|
+
avatar: "#36363C",
|
|
11
|
+
primary: "#FFFFFF",
|
|
12
|
+
secondary: "#B4B1AC",
|
|
13
|
+
muted: "#827F7A",
|
|
14
|
+
subtle: "#827F7A",
|
|
15
|
+
archived: "#827F7A",
|
|
16
|
+
line: "#36363C",
|
|
17
|
+
border: "#3C3C3C",
|
|
18
|
+
cardBorder: "#3C3C3C",
|
|
19
|
+
mark: "#898887",
|
|
20
|
+
hairline: "#3B342B",
|
|
21
|
+
wash: "#FFFFFF",
|
|
22
|
+
shade: "#141416",
|
|
23
|
+
focus: "#827F7A",
|
|
24
|
+
surface: "#27272B",
|
|
25
|
+
control: "#1A1A1C",
|
|
26
|
+
pill: "#1B1B1D",
|
|
27
|
+
glass: "#C1BFBD",
|
|
28
|
+
raised: "#C1BFBD",
|
|
29
|
+
hover: "#C1BFBD",
|
|
30
|
+
knob: "#FFFFFF",
|
|
31
|
+
},
|
|
32
|
+
light: {
|
|
33
|
+
canvas: "#E1E1E1",
|
|
34
|
+
panel: "#F8F8F8",
|
|
35
|
+
card: "#FFFFFF",
|
|
36
|
+
well: "#EEEEEE",
|
|
37
|
+
avatar: "#D8D8DE",
|
|
38
|
+
primary: "#2A2A2D",
|
|
39
|
+
secondary: "#3F3F45",
|
|
40
|
+
muted: "#7B7B7E",
|
|
41
|
+
subtle: "#98989E",
|
|
42
|
+
archived: "#5A5854",
|
|
43
|
+
line: "#E2E2E6",
|
|
44
|
+
border: "#CDCDCD",
|
|
45
|
+
cardBorder: "#E2E2E2",
|
|
46
|
+
mark: "#A7A7A7",
|
|
47
|
+
hairline: "#E0DAD0",
|
|
48
|
+
wash: "#141416",
|
|
49
|
+
shade: "#141416",
|
|
50
|
+
focus: "#6B6A68",
|
|
51
|
+
surface: "#FBFBFC",
|
|
52
|
+
control: "#F2F2F6",
|
|
53
|
+
pill: "#FAFAFB",
|
|
54
|
+
glass: "#F2F2F2",
|
|
55
|
+
raised: "#F3F3F4",
|
|
56
|
+
hover: "#4B4A48",
|
|
57
|
+
knob: "#FBFBFB",
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
/*
|
|
61
|
+
* The kit's greys leaned toward a hue per theme; see `lean`. The hue is a mid grey a step or two
|
|
62
|
+
* off neutral: only its lean counts, so the chroma it carries is the chroma the surfaces take on.
|
|
63
|
+
* Text and lines take half of it, so they read near-neutral and the accent carries the palette.
|
|
64
|
+
*/
|
|
65
|
+
function leanedGreys(hue) {
|
|
66
|
+
const leanAll = (greys, toward) => {
|
|
67
|
+
const surface = (grey) => lean(grey, toward, 1);
|
|
68
|
+
const ink = (grey) => lean(grey, toward, 0.5);
|
|
69
|
+
return {
|
|
70
|
+
canvas: surface(greys.canvas),
|
|
71
|
+
panel: surface(greys.panel),
|
|
72
|
+
card: surface(greys.card),
|
|
73
|
+
well: surface(greys.well),
|
|
74
|
+
avatar: surface(greys.avatar),
|
|
75
|
+
primary: ink(greys.primary),
|
|
76
|
+
secondary: ink(greys.secondary),
|
|
77
|
+
muted: ink(greys.muted),
|
|
78
|
+
subtle: ink(greys.subtle),
|
|
79
|
+
archived: ink(greys.archived),
|
|
80
|
+
line: ink(greys.line),
|
|
81
|
+
border: ink(greys.border),
|
|
82
|
+
cardBorder: ink(greys.cardBorder),
|
|
83
|
+
mark: ink(greys.mark),
|
|
84
|
+
hairline: ink(greys.hairline),
|
|
85
|
+
wash: surface(greys.wash),
|
|
86
|
+
shade: surface(greys.shade),
|
|
87
|
+
focus: ink(greys.focus),
|
|
88
|
+
surface: surface(greys.surface),
|
|
89
|
+
control: surface(greys.control),
|
|
90
|
+
pill: surface(greys.pill),
|
|
91
|
+
glass: surface(greys.glass),
|
|
92
|
+
raised: surface(greys.raised),
|
|
93
|
+
hover: surface(greys.hover),
|
|
94
|
+
knob: surface(greys.knob),
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
return {
|
|
98
|
+
dark: leanAll(ciridaeGreys.dark, hue.base),
|
|
99
|
+
light: leanAll(ciridaeGreys.light, hue._light),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
/* The kit's own warm glass, which every palette but ember keeps. */
|
|
103
|
+
const amberTint = {
|
|
104
|
+
face: { base: "#FFE6BD", _light: "#F2EFEB" },
|
|
105
|
+
};
|
|
106
|
+
export const palettes = {
|
|
107
|
+
/* Today's look: a monochrome primary that inverts with the theme, and the kit's warm gold. */
|
|
108
|
+
ciridae: {
|
|
109
|
+
greys: ciridaeGreys,
|
|
110
|
+
accent: { base: "#D1B778", _light: "#8A6D33" },
|
|
111
|
+
primary: { base: "#FFFFFF", _light: "#37373A" },
|
|
112
|
+
status: {
|
|
113
|
+
green: {
|
|
114
|
+
text: { base: "#45A999", _light: "#488F83" },
|
|
115
|
+
wash: { base: "#45A999", _light: "#3D8B7D" },
|
|
116
|
+
},
|
|
117
|
+
red: { text: { base: "#F7644F", _light: "#C4594B" } },
|
|
118
|
+
yellow: { text: { base: "#DFBB65", _light: "#93793A" } },
|
|
119
|
+
blue: {
|
|
120
|
+
text: { base: "#66B7F2", _light: "#4186B8" },
|
|
121
|
+
wash: { base: "#66B7F2", _light: "#4189C4" },
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
bronze: { base: "#725D42", _light: "#6D6554" },
|
|
125
|
+
tint: amberTint,
|
|
126
|
+
},
|
|
127
|
+
/* A cool blue, where the primary takes the accent. */
|
|
128
|
+
ocean: {
|
|
129
|
+
greys: leanedGreys({ base: "#7E8084", _light: "#7E8083" }),
|
|
130
|
+
accent: { base: "#7CBCF2", _light: "#295F8C" },
|
|
131
|
+
primary: { base: "#8BC5F4", _light: "#2E6BA2" },
|
|
132
|
+
status: {
|
|
133
|
+
green: { text: { base: "#4EB59D", _light: "#306555" } },
|
|
134
|
+
red: { text: { base: "#F36E5B", _light: "#94423C" } },
|
|
135
|
+
yellow: { text: { base: "#DFBB65", _light: "#695829" } },
|
|
136
|
+
blue: { text: { base: "#7CBCF2", _light: "#295F8C" } },
|
|
137
|
+
},
|
|
138
|
+
bronze: { base: "#6E5F4A", _light: "#6A6356" },
|
|
139
|
+
tint: amberTint,
|
|
140
|
+
},
|
|
141
|
+
/* A quiet green; success stays its own, brighter green. */
|
|
142
|
+
moss: {
|
|
143
|
+
greys: leanedGreys({ base: "#7F827F", _light: "#7F827F" }),
|
|
144
|
+
accent: { base: "#7CC7A8", _light: "#296E56" },
|
|
145
|
+
primary: { base: "#8ACEB2", _light: "#2D775C" },
|
|
146
|
+
status: {
|
|
147
|
+
green: { text: { base: "#5FBF9A", _light: "#2D634F" } },
|
|
148
|
+
red: { text: { base: "#F3705C", _light: "#94423C" } },
|
|
149
|
+
yellow: { text: { base: "#DEB85F", _light: "#695829" } },
|
|
150
|
+
blue: { text: { base: "#6AB4EE", _light: "#315D81" } },
|
|
151
|
+
},
|
|
152
|
+
bronze: { base: "#6E6246", _light: "#6A6354" },
|
|
153
|
+
tint: amberTint,
|
|
154
|
+
},
|
|
155
|
+
/* A soft violet. */
|
|
156
|
+
violet: {
|
|
157
|
+
greys: leanedGreys({ base: "#817F84", _light: "#817F83" }),
|
|
158
|
+
accent: { base: "#B4A8FF", _light: "#5B4BC9" },
|
|
159
|
+
primary: { base: "#BDB2FF", _light: "#5A4BC3" },
|
|
160
|
+
status: {
|
|
161
|
+
green: { text: { base: "#4FB89C", _light: "#316554" } },
|
|
162
|
+
red: { text: { base: "#F76B5A", _light: "#8E433A" } },
|
|
163
|
+
yellow: { text: { base: "#DDB868", _light: "#69582A" } },
|
|
164
|
+
blue: { text: { base: "#6DB5F1", _light: "#325F87" } },
|
|
165
|
+
},
|
|
166
|
+
bronze: { base: "#716046", _light: "#6C6454" },
|
|
167
|
+
tint: amberTint,
|
|
168
|
+
},
|
|
169
|
+
/* A warm terracotta; error keeps to a cooler crimson so the two stay apart. */
|
|
170
|
+
ember: {
|
|
171
|
+
greys: leanedGreys({ base: "#82807D", _light: "#82817E" }),
|
|
172
|
+
accent: { base: "#F3A07A", _light: "#A0492A" },
|
|
173
|
+
primary: { base: "#F5AB88", _light: "#A84E2C" },
|
|
174
|
+
status: {
|
|
175
|
+
green: { text: { base: "#4DB398", _light: "#2F6352" } },
|
|
176
|
+
red: { text: { base: "#F5675F", _light: "#9B3A3F" } },
|
|
177
|
+
yellow: { text: { base: "#E2BD66", _light: "#69582A" } },
|
|
178
|
+
blue: { text: { base: "#6DB5F1", _light: "#325F87" } },
|
|
179
|
+
},
|
|
180
|
+
bronze: { base: "#7A5E3E", _light: "#70624F" },
|
|
181
|
+
tint: {
|
|
182
|
+
face: { base: "#FFE0C5", _light: "#F3EEE9" },
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PaletteTokens } from "./derive.js";
|
|
2
|
+
import { type CiridaeTheme, type ColorTheme } from "./options.js";
|
|
3
|
+
import { type ThemedColor } from "./palettes.js";
|
|
4
|
+
export type ThemeTokens = {
|
|
5
|
+
colors: Record<keyof PaletteTokens["colors"] | "border.focus" | "border.error" | "bg.canvas" | "bg.panel" | "bg.card" | "bg.surface" | "bg.avatar" | "bg.field" | "bg.fieldDisabled" | "bg.control" | "bg.pill" | "bg.glass" | "bg.glassHover" | "bg.raised" | "bg.raisedHover" | "bg.check" | "bg.hover" | "bg.fill" | "bg.rowHover" | "bg.track" | "bg.knob" | "fg.primary" | "fg.secondary" | "fg.muted" | "fg.subtle" | "fg.archived" | "border.subtle" | "border.control" | "border.panel" | "border.card" | "border.mark" | "border.glass" | "border.toolbar" | "border.hairline", ThemedColor>;
|
|
6
|
+
gradients: Record<"skeleton", ThemedColor>;
|
|
7
|
+
shadows: Record<"search" | "inset" | "card" | "focus" | "glow" | "toast" | "control.raised" | "control.raisedHover" | "control.pressed", ThemedColor>;
|
|
8
|
+
fonts: {
|
|
9
|
+
display: string;
|
|
10
|
+
sans: string;
|
|
11
|
+
mono: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Every token value a theme decides. `createCiridaePreset` bakes these into the stylesheet;
|
|
16
|
+
* `themeVariables` writes the same values over it at runtime, so the two never drift.
|
|
17
|
+
*/
|
|
18
|
+
export declare function deriveThemeTokens(theme?: Partial<CiridaeTheme>): ThemeTokens;
|
|
19
|
+
/**
|
|
20
|
+
* The CSS variables a theme sets under one color theme, named as Panda names them. Written onto
|
|
21
|
+
* the document, they show a theme over a stylesheet built with another, with no rebuild. Names
|
|
22
|
+
* are as `style.setProperty` takes them; in stylesheet text their dots need escaping.
|
|
23
|
+
*/
|
|
24
|
+
export declare function themeVariables(theme: Partial<CiridaeTheme>, colorTheme: ColorTheme): Record<string, string>;
|
|
25
|
+
/**
|
|
26
|
+
* The theme's variables for both color themes, as a stylesheet. Unlayered, it wins over the
|
|
27
|
+
* built stylesheet's `@layer tokens` blocks, so the page shows the theme with no rebuild.
|
|
28
|
+
*/
|
|
29
|
+
export declare function themeStylesheet(theme: Partial<CiridaeTheme>): string;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { alpha } from "./color.js";
|
|
2
|
+
import { derivePaletteTokens } from "./derive.js";
|
|
3
|
+
import { defaultTheme } from "./options.js";
|
|
4
|
+
import { palettes } from "./palettes.js";
|
|
5
|
+
/**
|
|
6
|
+
* Every token value a theme decides. `createCiridaePreset` bakes these into the stylesheet;
|
|
7
|
+
* `themeVariables` writes the same values over it at runtime, so the two never drift.
|
|
8
|
+
*/
|
|
9
|
+
export function deriveThemeTokens(theme = {}) {
|
|
10
|
+
const source = palettes[theme.palette ?? defaultTheme.palette];
|
|
11
|
+
const palette = derivePaletteTokens(source);
|
|
12
|
+
const { dark, light } = source.greys;
|
|
13
|
+
return {
|
|
14
|
+
colors: {
|
|
15
|
+
...palette.colors,
|
|
16
|
+
// Focus is the brand accent in both themes. Set from the palette, not by reference: Panda
|
|
17
|
+
// renders a reference to a dotted semantic token as an undefined variable.
|
|
18
|
+
"border.focus": palette.colors["accent.brand"],
|
|
19
|
+
// A field's edge once invalid: the accent red in dark, a quieter dark red in light.
|
|
20
|
+
"border.error": { base: palette.colors["accent.red"].base, _light: "rgba(168,71,71,.33)" },
|
|
21
|
+
"bg.canvas": { base: dark.canvas, _light: light.canvas },
|
|
22
|
+
// The app's main surface and its panels: a translucent lift off the canvas.
|
|
23
|
+
"bg.panel": { base: alpha(dark.panel, 0.66), _light: alpha(light.panel, 0.66) },
|
|
24
|
+
"bg.card": { base: dark.card, _light: light.card },
|
|
25
|
+
// A dialog, drawer or stat card: the card lifted a step.
|
|
26
|
+
"bg.surface": { base: dark.surface, _light: light.surface },
|
|
27
|
+
"bg.avatar": { base: dark.avatar, _light: light.avatar },
|
|
28
|
+
// The well of a field you type into or pick from; flat, where the raised faces are glass.
|
|
29
|
+
"bg.field": { base: alpha(dark.well, 0.33), _light: alpha(light.well, 0.66) },
|
|
30
|
+
// A disabled field loses its grey in light and reads as a blank well.
|
|
31
|
+
"bg.fieldDisabled": { base: alpha(dark.well, 0.33), _light: light.knob },
|
|
32
|
+
/*
|
|
33
|
+
* The face every control wears -- inputs, selects, tabs, the secondary button. Dark sets
|
|
34
|
+
* it below the surface it sits on so the control reads as its own object; light has to do
|
|
35
|
+
* the same, which means slightly below white rather than white. A near-white value left
|
|
36
|
+
* these invisible on the cards.
|
|
37
|
+
*/
|
|
38
|
+
"bg.control": { base: alpha(dark.control, 0.5), _light: alpha(light.control, 0.95) },
|
|
39
|
+
"bg.pill": { base: dark.pill, _light: light.pill },
|
|
40
|
+
/*
|
|
41
|
+
* The glass face of a toolbar control -- a select, a slicer, a hovered card. Dark is the
|
|
42
|
+
* button's glass; light is a translucent wash under `border.toolbar`, where the button's
|
|
43
|
+
* `bg.raised` is solid. Hover is the button face.
|
|
44
|
+
*/
|
|
45
|
+
"bg.glass": { base: alpha(dark.glass, 0.1), _light: alpha(light.glass, 0.66) },
|
|
46
|
+
"bg.glassHover": { base: alpha(dark.glass, 0.05), _light: light.raised },
|
|
47
|
+
/*
|
|
48
|
+
* The button face -- secondary, round, destructive's grey siblings: glass over the dark
|
|
49
|
+
* surface, a pale solid in light. Light has no hover; dark lets more surface through.
|
|
50
|
+
*/
|
|
51
|
+
"bg.raised": { base: alpha(dark.raised, 0.1), _light: light.raised },
|
|
52
|
+
"bg.raisedHover": { base: alpha(dark.raised, 0.05), _light: light.raised },
|
|
53
|
+
// An unticked checkbox or radio: glass in dark, a solid near-white in light.
|
|
54
|
+
"bg.check": { base: alpha(dark.glass, 0.1), _light: light.knob },
|
|
55
|
+
// The grey washes: a hovered item, and the firmer fill a chip or a subtle button wears.
|
|
56
|
+
"bg.hover": { base: alpha(dark.hover, 0.05), _light: alpha(light.hover, 0.04) },
|
|
57
|
+
"bg.fill": { base: alpha(dark.hover, 0.1), _light: alpha(light.hover, 0.08) },
|
|
58
|
+
// A hovered table or list row: a flat wash, so a column of rows reads as one surface rather
|
|
59
|
+
// than a stack of separately lit bands. A selected row takes the accent's `bg.selected`.
|
|
60
|
+
"bg.rowHover": { base: alpha(dark.wash, 0.03), _light: alpha(light.wash, 0.03) },
|
|
61
|
+
// A switch's track while off; checked, it takes the green.
|
|
62
|
+
"bg.track": { base: alpha(dark.muted, 0.6), _light: light.muted },
|
|
63
|
+
"bg.knob": { base: dark.knob, _light: light.knob },
|
|
64
|
+
"fg.primary": { base: dark.primary, _light: light.primary },
|
|
65
|
+
// Supporting text that still reads: a record's meta line, a part's next step.
|
|
66
|
+
"fg.secondary": { base: dark.secondary, _light: light.secondary },
|
|
67
|
+
"fg.muted": { base: dark.muted, _light: light.muted },
|
|
68
|
+
// Placeholder and meta text: the muted grey, lifted a step further in light.
|
|
69
|
+
"fg.subtle": { base: dark.subtle, _light: light.subtle },
|
|
70
|
+
"fg.archived": { base: alpha(dark.archived, 0.66), _light: alpha(light.archived, 0.66) },
|
|
71
|
+
"border.subtle": { base: dark.line, _light: light.line },
|
|
72
|
+
"border.control": { base: alpha(dark.border, 0.5), _light: alpha(light.border, 0.66) },
|
|
73
|
+
"border.panel": { base: alpha(dark.border, 1), _light: alpha(light.border, 0.66) },
|
|
74
|
+
"border.card": { base: dark.cardBorder, _light: light.cardBorder },
|
|
75
|
+
// The hairline round an unticked checkbox or radio: the top of the glass edge, flat.
|
|
76
|
+
"border.mark": { base: alpha(dark.mark, 0.33), _light: alpha(light.mark, 0.33) },
|
|
77
|
+
// The hairline round a glass button and the glass card surfaces: the dark mark in both
|
|
78
|
+
// themes, as the bronze hairline is; the light mark is too pale for it. Dark sits at the
|
|
79
|
+
// old vertical gradient's average, not its bright top, so a button's edge stays quiet.
|
|
80
|
+
"border.glass": { base: alpha(dark.mark, 0.2), _light: alpha(dark.mark, 0.28) },
|
|
81
|
+
// The hairline round a toolbar control: the glass edge in dark, the control border in light.
|
|
82
|
+
"border.toolbar": { base: alpha(dark.mark, 0.33), _light: alpha(light.border, 0.66) },
|
|
83
|
+
// The sidebar's divider.
|
|
84
|
+
"border.hairline": { base: dark.hairline, _light: light.hairline },
|
|
85
|
+
},
|
|
86
|
+
gradients: {
|
|
87
|
+
skeleton: {
|
|
88
|
+
base: `linear-gradient(90deg, ${alpha(dark.wash, 0.06)} 30%, ${alpha(dark.wash, 0.12)} 50%, ${alpha(dark.wash, 0.06)} 70%)`,
|
|
89
|
+
_light: `linear-gradient(90deg, ${alpha(light.wash, 0.05)} 30%, ${alpha(light.wash, 0.09)} 50%, ${alpha(light.wash, 0.05)} 70%)`,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
shadows: {
|
|
93
|
+
search: {
|
|
94
|
+
base: `inset 1px 2px 8px ${alpha(dark.shade, 0.25)}, inset -1px -2px 8px ${alpha(dark.shade, 0.25)}`,
|
|
95
|
+
_light: `inset 1px 2px 8px ${alpha(light.shade, 0.07)}, inset -1px -2px 8px ${alpha(light.shade, 0.07)}`,
|
|
96
|
+
},
|
|
97
|
+
inset: {
|
|
98
|
+
base: `inset 1px 2px 8px ${alpha(dark.shade, 0.25)}`,
|
|
99
|
+
_light: `inset 1px 2px 8px ${alpha(light.shade, 0.07)}`,
|
|
100
|
+
},
|
|
101
|
+
card: {
|
|
102
|
+
base: `1px 2px 8px ${alpha(dark.shade, 0.33)}`,
|
|
103
|
+
_light: `1px 2px 8px ${alpha(light.shade, 0.1)}`,
|
|
104
|
+
},
|
|
105
|
+
focus: {
|
|
106
|
+
base: `0 0 4px ${alpha(dark.focus, 0.66)}`,
|
|
107
|
+
_light: `0 0 4px ${alpha(light.focus, 0.5)}`,
|
|
108
|
+
},
|
|
109
|
+
/* The text glow behind a mark: the dark muted grey in both themes. */
|
|
110
|
+
glow: {
|
|
111
|
+
base: `0 0 8px ${alpha(dark.muted, 0.25)}`,
|
|
112
|
+
_light: `0 0 8px ${alpha(dark.muted, 0.2)}`,
|
|
113
|
+
},
|
|
114
|
+
toast: {
|
|
115
|
+
base: "0 8px 24px rgba(0,0,0,.45)",
|
|
116
|
+
_light: `0 8px 24px ${alpha(light.shade, 0.16)}`,
|
|
117
|
+
},
|
|
118
|
+
/*
|
|
119
|
+
* Control elevation: a bevel catching light from above, plus the shadow the control casts.
|
|
120
|
+
* The cast shadow is softened in light, since a dark scrim on a white page reads far
|
|
121
|
+
* heavier than the same alpha does on a dark one.
|
|
122
|
+
*
|
|
123
|
+
* The bevel alpha stays low in both. It is white in both themes, so it does no visible
|
|
124
|
+
* work on a face that is already pale -- the only faces it shows on are the ones that
|
|
125
|
+
* oppose the surface, which in light means the near-black `primary` and the filled
|
|
126
|
+
* accents. Raising it to something that registered on a pale face drew a bright line
|
|
127
|
+
* across the top of those.
|
|
128
|
+
*/
|
|
129
|
+
"control.raised": {
|
|
130
|
+
base: "inset 0 1px 0 rgba(255,255,255,.07), inset 0 -1px 0 rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.3)",
|
|
131
|
+
_light: `inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 ${alpha(light.shade, 0.09)}, 0 1px 2px ${alpha(light.shade, 0.08)}`,
|
|
132
|
+
},
|
|
133
|
+
"control.raisedHover": {
|
|
134
|
+
base: "inset 0 1px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.16), 0 2px 4px rgba(0,0,0,.34)",
|
|
135
|
+
_light: `inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 ${alpha(light.shade, 0.11)}, 0 2px 4px ${alpha(light.shade, 0.1)}`,
|
|
136
|
+
},
|
|
137
|
+
/* Pressed: the cast shadow goes, and the face takes the shade instead. */
|
|
138
|
+
"control.pressed": {
|
|
139
|
+
base: "inset 0 1px 2px rgba(0,0,0,.4)",
|
|
140
|
+
_light: `inset 0 1px 2px ${alpha(light.shade, 0.13)}`,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
fonts: {
|
|
144
|
+
display: theme.fonts?.display ?? theme.fonts?.sans ?? defaultTheme.fonts.display,
|
|
145
|
+
sans: theme.fonts?.sans ?? defaultTheme.fonts.sans,
|
|
146
|
+
mono: theme.fonts?.mono ?? defaultTheme.fonts.mono,
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
/* Panda's variable for a token: `colors` + `bg.infoSubtle` -> `--colors-bg.info-subtle`. */
|
|
151
|
+
function tokenVariable(category, name) {
|
|
152
|
+
return `--${category}-${name.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}`;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The CSS variables a theme sets under one color theme, named as Panda names them. Written onto
|
|
156
|
+
* the document, they show a theme over a stylesheet built with another, with no rebuild. Names
|
|
157
|
+
* are as `style.setProperty` takes them; in stylesheet text their dots need escaping.
|
|
158
|
+
*/
|
|
159
|
+
export function themeVariables(theme, colorTheme) {
|
|
160
|
+
const tokens = deriveThemeTokens(theme);
|
|
161
|
+
const themed = (value) => (colorTheme === "light" ? value._light : value.base);
|
|
162
|
+
const variables = {};
|
|
163
|
+
for (const [name, value] of Object.entries(tokens.colors))
|
|
164
|
+
variables[tokenVariable("colors", name)] = themed(value);
|
|
165
|
+
for (const [name, value] of Object.entries(tokens.gradients))
|
|
166
|
+
variables[tokenVariable("gradients", name)] = themed(value);
|
|
167
|
+
for (const [name, value] of Object.entries(tokens.shadows))
|
|
168
|
+
variables[tokenVariable("shadows", name)] = themed(value);
|
|
169
|
+
for (const [name, value] of Object.entries(tokens.fonts))
|
|
170
|
+
variables[tokenVariable("fonts", name)] = value;
|
|
171
|
+
return variables;
|
|
172
|
+
}
|
|
173
|
+
/* A dot in a variable name is escaped in stylesheet text, as Panda writes `--colors-bg\.canvas`. */
|
|
174
|
+
function declarations(variables) {
|
|
175
|
+
return Object.entries(variables)
|
|
176
|
+
.map(([variable, value]) => `${variable.replace(/\./g, "\\.")}: ${value};`)
|
|
177
|
+
.join("\n");
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The theme's variables for both color themes, as a stylesheet. Unlayered, it wins over the
|
|
181
|
+
* built stylesheet's `@layer tokens` blocks, so the page shows the theme with no rebuild.
|
|
182
|
+
*/
|
|
183
|
+
export function themeStylesheet(theme) {
|
|
184
|
+
return [
|
|
185
|
+
`:root {\n${declarations(themeVariables(theme, "dark"))}\n}`,
|
|
186
|
+
`:root[data-ciridae-theme=light] {\n${declarations(themeVariables(theme, "light"))}\n}`,
|
|
187
|
+
].join("\n");
|
|
188
|
+
}
|