@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
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The fixed parts of the theme: the lightness ladder every palette is built on,
|
|
3
|
-
* and the status colors no palette is allowed to move.
|
|
4
|
-
*
|
|
5
|
-
* Kept apart from ./palette so the derivation reads as logic rather than data.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Every color token, as lightness plus a multiplier on the palette's ground
|
|
9
|
-
* chroma. Read straight out of ciridae.css against its 0.002 chroma, so the
|
|
10
|
-
* Slate preset reproduces the stylesheet exactly -- `check-palette-contrast.mjs`
|
|
11
|
-
* asserts that, and will fail if the two ever drift.
|
|
12
|
-
*
|
|
13
|
-
* A palette moves hue and chroma but never the lightness, which is what keeps
|
|
14
|
-
* the contrast gates cleared: WCAG contrast is dominated by lightness.
|
|
15
|
-
*/
|
|
16
|
-
const LADDER = {
|
|
17
|
-
light: {
|
|
18
|
-
background: { l: 0.985, c: 0.5 },
|
|
19
|
-
foreground: { l: 0.145, c: 1 },
|
|
20
|
-
card: { l: 1, c: 0 },
|
|
21
|
-
"card-foreground": { l: 0.145, c: 1 },
|
|
22
|
-
popover: { l: 1, c: 0 },
|
|
23
|
-
"popover-foreground": { l: 0.145, c: 1 },
|
|
24
|
-
primary: { l: 0.145, c: 1, brand: true },
|
|
25
|
-
"primary-foreground": { l: 0.99, c: 0 },
|
|
26
|
-
secondary: { l: 0.955, c: 1 },
|
|
27
|
-
"secondary-foreground": { l: 0.2, c: 1 },
|
|
28
|
-
muted: { l: 0.955, c: 1 },
|
|
29
|
-
"muted-foreground": { l: 0.46, c: 1.5 },
|
|
30
|
-
accent: { l: 0.935, c: 1, brand: true },
|
|
31
|
-
"accent-foreground": { l: 0.18, c: 1, brand: true },
|
|
32
|
-
border: { l: 0.865, c: 1 },
|
|
33
|
-
input: { l: 0.835, c: 1 },
|
|
34
|
-
ring: { l: 0.145, c: 1, brand: true },
|
|
35
|
-
overlay: { l: 0.145, c: 1, a: 0.58 },
|
|
36
|
-
surface: { l: 1, c: 0 },
|
|
37
|
-
"surface-foreground": { l: 0.145, c: 1 },
|
|
38
|
-
"surface-inverse": { l: 0.145, c: 1 },
|
|
39
|
-
"surface-inverse-foreground": { l: 0.99, c: 0 },
|
|
40
|
-
"chart-1": { l: 0.22, c: 1, brand: true },
|
|
41
|
-
"chart-2": { l: 0.5, c: 1, brand: true },
|
|
42
|
-
"chart-3": { l: 0.72, c: 1, brand: true },
|
|
43
|
-
sidebar: { l: 0.965, c: 0.5 },
|
|
44
|
-
"sidebar-foreground": { l: 0.23, c: 1 },
|
|
45
|
-
"sidebar-primary": { l: 0.145, c: 1, brand: true },
|
|
46
|
-
"sidebar-primary-foreground": { l: 0.99, c: 0 },
|
|
47
|
-
"sidebar-accent": { l: 0.935, c: 1, brand: true },
|
|
48
|
-
"sidebar-accent-foreground": { l: 0.18, c: 1, brand: true },
|
|
49
|
-
"sidebar-border": { l: 0.865, c: 1 },
|
|
50
|
-
"sidebar-ring": { l: 0.145, c: 1, brand: true },
|
|
51
|
-
"table-header-foreground": { l: 0.42, c: 1.5 },
|
|
52
|
-
},
|
|
53
|
-
dark: {
|
|
54
|
-
background: { l: 0.145, c: 1 },
|
|
55
|
-
foreground: { l: 0.935, c: 0.5 },
|
|
56
|
-
card: { l: 0.185, c: 1 },
|
|
57
|
-
"card-foreground": { l: 0.935, c: 0.5 },
|
|
58
|
-
popover: { l: 0.205, c: 1 },
|
|
59
|
-
"popover-foreground": { l: 0.935, c: 0.5 },
|
|
60
|
-
primary: { l: 0.965, c: 0.5, brand: true },
|
|
61
|
-
"primary-foreground": { l: 0.145, c: 1 },
|
|
62
|
-
secondary: { l: 0.255, c: 1 },
|
|
63
|
-
"secondary-foreground": { l: 0.94, c: 0.5 },
|
|
64
|
-
muted: { l: 0.255, c: 1 },
|
|
65
|
-
"muted-foreground": { l: 0.7, c: 1 },
|
|
66
|
-
accent: { l: 0.275, c: 1, brand: true },
|
|
67
|
-
"accent-foreground": { l: 0.94, c: 0.5, brand: true },
|
|
68
|
-
border: { l: 0.32, c: 1 },
|
|
69
|
-
input: { l: 0.36, c: 1 },
|
|
70
|
-
ring: { l: 0.88, c: 0.5, brand: true },
|
|
71
|
-
overlay: { l: 0.08, c: 0.5, a: 0.72 },
|
|
72
|
-
surface: { l: 0.205, c: 1 },
|
|
73
|
-
"surface-foreground": { l: 0.935, c: 0.5 },
|
|
74
|
-
"surface-inverse": { l: 0.935, c: 0.5 },
|
|
75
|
-
"surface-inverse-foreground": { l: 0.145, c: 1 },
|
|
76
|
-
"chart-1": { l: 0.9, c: 0.5, brand: true },
|
|
77
|
-
"chart-2": { l: 0.68, c: 1, brand: true },
|
|
78
|
-
"chart-3": { l: 0.48, c: 1, brand: true },
|
|
79
|
-
sidebar: { l: 0.18, c: 1 },
|
|
80
|
-
"sidebar-foreground": { l: 0.88, c: 0.5 },
|
|
81
|
-
"sidebar-primary": { l: 0.965, c: 0.5, brand: true },
|
|
82
|
-
"sidebar-primary-foreground": { l: 0.145, c: 1 },
|
|
83
|
-
"sidebar-accent": { l: 0.235, c: 1, brand: true },
|
|
84
|
-
"sidebar-accent-foreground": { l: 0.94, c: 0.5, brand: true },
|
|
85
|
-
"sidebar-border": { l: 0.32, c: 1 },
|
|
86
|
-
"sidebar-ring": { l: 0.88, c: 0.5, brand: true },
|
|
87
|
-
"table-header-foreground": { l: 0.78, c: 1 },
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Status stays semantic across every palette: an error is the same red whatever
|
|
92
|
-
* brand the app wears, so "failed" never has to be relearned per theme. The last
|
|
93
|
-
* two chart series sit here for the same reason -- they keep a five-series chart
|
|
94
|
-
* readable when the brand-led three are close together.
|
|
95
|
-
*/
|
|
96
|
-
const STATUS_TOKENS = {
|
|
97
|
-
light: {
|
|
98
|
-
destructive: "oklch(0.48 0.13 27)",
|
|
99
|
-
"destructive-foreground": "oklch(0.99 0 0)",
|
|
100
|
-
success: "oklch(0.44 0.075 150)",
|
|
101
|
-
"success-foreground": "oklch(0.99 0 0)",
|
|
102
|
-
"success-muted": "oklch(0.94 0.03 150)",
|
|
103
|
-
info: "oklch(0.43 0.045 245)",
|
|
104
|
-
"info-foreground": "oklch(0.99 0 0)",
|
|
105
|
-
"info-muted": "oklch(0.94 0.018 245)",
|
|
106
|
-
warning: "oklch(0.52 0.075 85)",
|
|
107
|
-
"warning-foreground": "oklch(0.99 0 0)",
|
|
108
|
-
"warning-muted": "oklch(0.95 0.035 85)",
|
|
109
|
-
"chart-4": "oklch(0.5 0.055 245)",
|
|
110
|
-
"chart-5": "oklch(0.5 0.07 150)",
|
|
111
|
-
},
|
|
112
|
-
dark: {
|
|
113
|
-
destructive: "oklch(0.65 0.12 27)",
|
|
114
|
-
"destructive-foreground": "oklch(0.12 0.002 260)",
|
|
115
|
-
success: "oklch(0.68 0.075 150)",
|
|
116
|
-
"success-foreground": "oklch(0.12 0.002 260)",
|
|
117
|
-
"success-muted": "oklch(0.25 0.035 150)",
|
|
118
|
-
info: "oklch(0.7 0.05 245)",
|
|
119
|
-
"info-foreground": "oklch(0.12 0.002 260)",
|
|
120
|
-
"info-muted": "oklch(0.25 0.028 245)",
|
|
121
|
-
warning: "oklch(0.76 0.075 85)",
|
|
122
|
-
"warning-foreground": "oklch(0.12 0.002 260)",
|
|
123
|
-
"warning-muted": "oklch(0.27 0.04 85)",
|
|
124
|
-
"chart-4": "oklch(0.72 0.065 245)",
|
|
125
|
-
"chart-5": "oklch(0.7 0.1 150)",
|
|
126
|
-
},
|
|
127
|
-
};
|
|
128
|
-
/** Tokens whose fill carries the brand rather than a surface step. */
|
|
129
|
-
const BRAND_FILLS = new Set(["primary", "sidebar-primary", "ring", "sidebar-ring"]);
|
|
130
|
-
/** Hover surfaces take a fraction of the brand chroma so they read as tinted, not saturated. */
|
|
131
|
-
const ACCENT_SURFACES = new Set(["accent", "sidebar-accent"]);
|
|
132
|
-
const ACCENT_FOREGROUNDS = new Set(["accent-foreground", "sidebar-accent-foreground"]);
|
|
133
|
-
export { ACCENT_FOREGROUNDS, ACCENT_SURFACES, BRAND_FILLS, LADDER, STATUS_TOKENS, };
|
package/dist/lib/palette.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { type PaletteMode } from "./palette-tokens.js";
|
|
2
|
-
/**
|
|
3
|
-
* A palette's brand, supplied whole.
|
|
4
|
-
*
|
|
5
|
-
* One object rather than three optional fields so the two states -- ground-only
|
|
6
|
-
* and branded -- are the only ones a caller can express. Separately optional
|
|
7
|
-
* hue, chroma, and lightness let a type-valid spec colour the primary while the
|
|
8
|
-
* charts took the ground-only path.
|
|
9
|
-
*/
|
|
10
|
-
type PaletteBrand = {
|
|
11
|
-
hue: number;
|
|
12
|
-
chroma: number;
|
|
13
|
-
/** Light-mode lightness of primary. Dark mode lifts it to stay legible. */
|
|
14
|
-
lightness: number;
|
|
15
|
-
};
|
|
16
|
-
type PaletteSpec = {
|
|
17
|
-
/** Hue for surfaces, borders, and text. */
|
|
18
|
-
groundHue: number;
|
|
19
|
-
/** Chroma for those neutrals. Tiny values (< 0.015) read as a tint, not a color. */
|
|
20
|
-
groundChroma: number;
|
|
21
|
-
/** Omit for a palette that is only a tinted ground, keeping a near-black primary. */
|
|
22
|
-
brand?: PaletteBrand;
|
|
23
|
-
};
|
|
24
|
-
type PalettePreset = {
|
|
25
|
-
id: string;
|
|
26
|
-
label: string;
|
|
27
|
-
spec: PaletteSpec;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Full token map for one palette in one mode, as `--name` -> oklch string.
|
|
31
|
-
* Applied as inline custom properties on the document element, which is why the
|
|
32
|
-
* caller must recompute when the light/dark mode changes: an inline value wins
|
|
33
|
-
* over both the `:root` and `.dark` rules.
|
|
34
|
-
*
|
|
35
|
-
* The readability guarantee covers the specs `check-palette-contrast.mjs`
|
|
36
|
-
* sweeps: the named presets and anything `customPaletteSpec` returns. A spec
|
|
37
|
-
* assembled by hand with its own chroma and lightness is derived faithfully but
|
|
38
|
-
* has never been graded.
|
|
39
|
-
*/
|
|
40
|
-
declare function derivePaletteTokens(spec: PaletteSpec, mode: PaletteMode): Record<string, string>;
|
|
41
|
-
/** Every token a palette writes. Used to clear stale properties when switching. */
|
|
42
|
-
declare const PALETTE_TOKEN_NAMES: readonly string[];
|
|
43
|
-
/**
|
|
44
|
-
* A palette from a hue alone, for an app whose brand is not in the preset list.
|
|
45
|
-
* Ground hue follows the brand, so there is no combination that clashes with
|
|
46
|
-
* itself and only the hue has to be chosen.
|
|
47
|
-
*
|
|
48
|
-
* Throws on a hue that is not finite: `oklch(0.43 0.12 NaN)` is not an error any
|
|
49
|
-
* browser reports, it silently voids every declaration that uses the token.
|
|
50
|
-
*
|
|
51
|
-
* The hue is normalised to a whole degree, which is what makes the contrast
|
|
52
|
-
* gate's sweep total rather than a sample: a fraction of a degree is invisible,
|
|
53
|
-
* but an unrounded hue would be a reachable palette the sweep never graded.
|
|
54
|
-
*/
|
|
55
|
-
declare function customPaletteSpec(hue: number): PaletteSpec;
|
|
56
|
-
/** What an app or a user has chosen. `null` elsewhere means "use the stylesheet". */
|
|
57
|
-
type PaletteSelection = {
|
|
58
|
-
kind: "preset";
|
|
59
|
-
id: string;
|
|
60
|
-
} | {
|
|
61
|
-
kind: "custom";
|
|
62
|
-
hue: number;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* The selection as the derivation reads it: a hue normalised to the whole degree
|
|
66
|
-
* the tokens come from, and `null` for anything that resolves to nothing -- a
|
|
67
|
-
* preset id that no longer exists, a hue that is not finite.
|
|
68
|
-
*
|
|
69
|
-
* This is the single validating boundary for a selection from anywhere
|
|
70
|
-
* untrusted: a stored value, a URL, an app's own config. Publishing it rather
|
|
71
|
-
* than the caller's own object also keeps `useTheme().palette` equal to what is
|
|
72
|
-
* on the document, so a control bound to `palette.hue` reads back the palette it
|
|
73
|
-
* is looking at.
|
|
74
|
-
*/
|
|
75
|
-
declare function canonicalPaletteSelection(selection: PaletteSelection | null): PaletteSelection | null;
|
|
76
|
-
/** The spec a selection derives, or `null` if it does not resolve to one. */
|
|
77
|
-
declare function resolvePaletteSelection(selection: PaletteSelection): PaletteSpec | null;
|
|
78
|
-
/**
|
|
79
|
-
* Stable identity for a selection, so a caller holding an inline
|
|
80
|
-
* `defaultPalette` object literal does not look like a new palette every render.
|
|
81
|
-
*/
|
|
82
|
-
declare function paletteSelectionKey(selection: PaletteSelection | null): string;
|
|
83
|
-
export { PALETTE_TOKEN_NAMES, canonicalPaletteSelection, customPaletteSpec, derivePaletteTokens, paletteSelectionKey, resolvePaletteSelection, type PaletteBrand, type PaletteMode, type PalettePreset, type PaletteSelection, type PaletteSpec, };
|
package/dist/lib/palette.js
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Palette derivation for the Ciridae theme.
|
|
3
|
-
*
|
|
4
|
-
* A palette is a ground plus an optional brand, not a hand-authored token set:
|
|
5
|
-
* ./palette-tokens owns the lightness ladder, and a palette moves only hue and
|
|
6
|
-
* chroma over it. Holding lightness fixed is what keeps every palette clearing
|
|
7
|
-
* the contrast gates, because WCAG contrast is dominated by lightness;
|
|
8
|
-
* `scripts/check-palette-contrast.mjs` proves that across both the presets and
|
|
9
|
-
* every whole-degree hue `customPaletteSpec` can produce.
|
|
10
|
-
*
|
|
11
|
-
* Named presets and custom hues run through `derivePaletteTokens` alike, so
|
|
12
|
-
* there is no second code path that could drift from the validated one.
|
|
13
|
-
*/
|
|
14
|
-
import { PALETTE_PRESETS_BY_ID } from "./palette-presets.js";
|
|
15
|
-
import { ACCENT_FOREGROUNDS, ACCENT_SURFACES, BRAND_FILLS, LADDER, STATUS_TOKENS, } from "./palette-tokens.js";
|
|
16
|
-
function round(value, places) {
|
|
17
|
-
return Number.parseFloat(value.toFixed(places));
|
|
18
|
-
}
|
|
19
|
-
/** Hue is dropped at zero chroma, where it says nothing and `oklch(1 0 0)` is the idiom. */
|
|
20
|
-
function formatOklch(lightness, chroma, hue, alpha) {
|
|
21
|
-
const c = round(chroma, 4);
|
|
22
|
-
const channels = `${round(lightness, 3)} ${c} ${c === 0 ? 0 : hue}`;
|
|
23
|
-
return alpha === undefined ? `oklch(${channels})` : `oklch(${channels} / ${alpha})`;
|
|
24
|
-
}
|
|
25
|
-
function brandChroma(token, brand, mode) {
|
|
26
|
-
if (ACCENT_SURFACES.has(token))
|
|
27
|
-
return brand.chroma * (mode === "light" ? 0.22 : 0.3);
|
|
28
|
-
if (ACCENT_FOREGROUNDS.has(token))
|
|
29
|
-
return brand.chroma * 0.35;
|
|
30
|
-
return brand.chroma;
|
|
31
|
-
}
|
|
32
|
-
function brandLightness(token, entry, brand, mode) {
|
|
33
|
-
if (!BRAND_FILLS.has(token))
|
|
34
|
-
return entry.l;
|
|
35
|
-
if (mode === "light")
|
|
36
|
-
return brand.lightness;
|
|
37
|
-
// A saturated brand at its light-mode lightness disappears into a dark
|
|
38
|
-
// ground, so the fill lifts rather than inverting to near-white.
|
|
39
|
-
return Math.min(0.82, brand.lightness + 0.32);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Full token map for one palette in one mode, as `--name` -> oklch string.
|
|
43
|
-
* Applied as inline custom properties on the document element, which is why the
|
|
44
|
-
* caller must recompute when the light/dark mode changes: an inline value wins
|
|
45
|
-
* over both the `:root` and `.dark` rules.
|
|
46
|
-
*
|
|
47
|
-
* The readability guarantee covers the specs `check-palette-contrast.mjs`
|
|
48
|
-
* sweeps: the named presets and anything `customPaletteSpec` returns. A spec
|
|
49
|
-
* assembled by hand with its own chroma and lightness is derived faithfully but
|
|
50
|
-
* has never been graded.
|
|
51
|
-
*/
|
|
52
|
-
function derivePaletteTokens(spec, mode) {
|
|
53
|
-
const tokens = {};
|
|
54
|
-
for (const [token, entry] of Object.entries(LADDER[mode])) {
|
|
55
|
-
// A palette with no brand is entirely its ground, so the brand-marked
|
|
56
|
-
// tokens fall back to the ladder untouched. That is what lets Slate come
|
|
57
|
-
// out byte-identical to ciridae.css rather than as a near-copy.
|
|
58
|
-
const brand = entry.brand === true ? spec.brand : undefined;
|
|
59
|
-
const hue = brand ? brand.hue : spec.groundHue;
|
|
60
|
-
const chroma = brand ? brandChroma(token, brand, mode) : spec.groundChroma * entry.c;
|
|
61
|
-
const lightness = brand ? brandLightness(token, entry, brand, mode) : entry.l;
|
|
62
|
-
tokens[token] = formatOklch(lightness, chroma, hue, entry.a);
|
|
63
|
-
}
|
|
64
|
-
return { ...tokens, ...STATUS_TOKENS[mode] };
|
|
65
|
-
}
|
|
66
|
-
/** Every token a palette writes. Used to clear stale properties when switching. */
|
|
67
|
-
const PALETTE_TOKEN_NAMES = Object.freeze([
|
|
68
|
-
...new Set([
|
|
69
|
-
...Object.keys(LADDER.light),
|
|
70
|
-
...Object.keys(LADDER.dark),
|
|
71
|
-
...Object.keys(STATUS_TOKENS.light),
|
|
72
|
-
...Object.keys(STATUS_TOKENS.dark),
|
|
73
|
-
]),
|
|
74
|
-
]);
|
|
75
|
-
/** Chroma for a hue-only palette: the middle of the range the presets use. */
|
|
76
|
-
const CUSTOM_BRAND_CHROMA = 0.12;
|
|
77
|
-
/**
|
|
78
|
-
* Whole degrees in [0, 360) -- the space `check-palette-contrast.mjs` sweeps.
|
|
79
|
-
*
|
|
80
|
-
* Shared so a hue and its identity cannot normalise differently: 360, 0, and
|
|
81
|
-
* 359.6 all derive the same palette, so they must all name it the same way.
|
|
82
|
-
*/
|
|
83
|
-
function normalizeHue(hue) {
|
|
84
|
-
return Math.round(((hue % 360) + 360) % 360) % 360;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* A palette from a hue alone, for an app whose brand is not in the preset list.
|
|
88
|
-
* Ground hue follows the brand, so there is no combination that clashes with
|
|
89
|
-
* itself and only the hue has to be chosen.
|
|
90
|
-
*
|
|
91
|
-
* Throws on a hue that is not finite: `oklch(0.43 0.12 NaN)` is not an error any
|
|
92
|
-
* browser reports, it silently voids every declaration that uses the token.
|
|
93
|
-
*
|
|
94
|
-
* The hue is normalised to a whole degree, which is what makes the contrast
|
|
95
|
-
* gate's sweep total rather than a sample: a fraction of a degree is invisible,
|
|
96
|
-
* but an unrounded hue would be a reachable palette the sweep never graded.
|
|
97
|
-
*/
|
|
98
|
-
function customPaletteSpec(hue) {
|
|
99
|
-
if (!Number.isFinite(hue))
|
|
100
|
-
throw new Error(`Custom palette hue must be finite, got ${hue}`);
|
|
101
|
-
const normalizedHue = normalizeHue(hue);
|
|
102
|
-
return {
|
|
103
|
-
groundHue: normalizedHue,
|
|
104
|
-
groundChroma: 0.005,
|
|
105
|
-
brand: { hue: normalizedHue, chroma: CUSTOM_BRAND_CHROMA, lightness: 0.43 },
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* The selection as the derivation reads it: a hue normalised to the whole degree
|
|
110
|
-
* the tokens come from, and `null` for anything that resolves to nothing -- a
|
|
111
|
-
* preset id that no longer exists, a hue that is not finite.
|
|
112
|
-
*
|
|
113
|
-
* This is the single validating boundary for a selection from anywhere
|
|
114
|
-
* untrusted: a stored value, a URL, an app's own config. Publishing it rather
|
|
115
|
-
* than the caller's own object also keeps `useTheme().palette` equal to what is
|
|
116
|
-
* on the document, so a control bound to `palette.hue` reads back the palette it
|
|
117
|
-
* is looking at.
|
|
118
|
-
*/
|
|
119
|
-
function canonicalPaletteSelection(selection) {
|
|
120
|
-
if (!selection)
|
|
121
|
-
return null;
|
|
122
|
-
if (selection.kind === "preset") {
|
|
123
|
-
return PALETTE_PRESETS_BY_ID.has(selection.id) ? selection : null;
|
|
124
|
-
}
|
|
125
|
-
return Number.isFinite(selection.hue)
|
|
126
|
-
? { kind: "custom", hue: normalizeHue(selection.hue) }
|
|
127
|
-
: null;
|
|
128
|
-
}
|
|
129
|
-
/** The spec a selection derives, or `null` if it does not resolve to one. */
|
|
130
|
-
function resolvePaletteSelection(selection) {
|
|
131
|
-
const canonical = canonicalPaletteSelection(selection);
|
|
132
|
-
if (!canonical)
|
|
133
|
-
return null;
|
|
134
|
-
return canonical.kind === "preset"
|
|
135
|
-
? (PALETTE_PRESETS_BY_ID.get(canonical.id)?.spec ?? null)
|
|
136
|
-
: customPaletteSpec(canonical.hue);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Stable identity for a selection, so a caller holding an inline
|
|
140
|
-
* `defaultPalette` object literal does not look like a new palette every render.
|
|
141
|
-
*/
|
|
142
|
-
function paletteSelectionKey(selection) {
|
|
143
|
-
if (!selection)
|
|
144
|
-
return "none";
|
|
145
|
-
if (selection.kind === "preset")
|
|
146
|
-
return `preset:${selection.id}`;
|
|
147
|
-
// Normalised exactly as `customPaletteSpec` does, so two hues that derive the
|
|
148
|
-
// same palette cannot read as two different selections.
|
|
149
|
-
return `custom:${normalizeHue(selection.hue)}`;
|
|
150
|
-
}
|
|
151
|
-
export { PALETTE_TOKEN_NAMES, canonicalPaletteSelection, customPaletteSpec, derivePaletteTokens, paletteSelectionKey, resolvePaletteSelection, };
|
package/dist/lib/utils.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type ClassValue } from "clsx";
|
|
2
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
|
-
export declare const glassSurface = "border-border/38 bg-background/36 shadow-[0_18px_60px_color-mix(in_oklch,var(--foreground)_9%,transparent)] backdrop-blur-xl backdrop-saturate-150 supports-[backdrop-filter]:bg-background/24 dark:border-border/32 dark:bg-background/34 dark:shadow-[0_18px_60px_color-mix(in_oklch,var(--foreground)_20%,transparent)] dark:supports-[backdrop-filter]:bg-background/22";
|
|
4
|
-
export declare const glassSurfaceFocus = "focus-within:border-ring focus-within:bg-background/46 focus-within:ring-[var(--focus-ring-width)] focus-within:ring-ring/35 focus-within:shadow-[0_20px_70px_color-mix(in_oklch,var(--foreground)_12%,transparent)] supports-[backdrop-filter]:focus-within:bg-background/32 dark:focus-within:border-ring dark:focus-within:bg-background/42 dark:focus-within:ring-ring/55 dark:supports-[backdrop-filter]:focus-within:bg-background/30";
|
|
5
|
-
export declare const sidebarGlassSurface = "border-sidebar-border/60 bg-sidebar/48 shadow-none backdrop-blur-xl backdrop-saturate-150 supports-[backdrop-filter]:bg-sidebar/34 dark:border-sidebar-border/60 dark:bg-sidebar/44 dark:supports-[backdrop-filter]:bg-sidebar/30";
|
package/dist/lib/utils.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
|
-
import { cx } from "#ui/styled-system/css";
|
|
3
|
-
export function cn(...inputs) {
|
|
4
|
-
return cx(clsx(inputs));
|
|
5
|
-
}
|
|
6
|
-
export const glassSurface = "border-border/38 bg-background/36 shadow-[0_18px_60px_color-mix(in_oklch,var(--foreground)_9%,transparent)] backdrop-blur-xl backdrop-saturate-150 supports-[backdrop-filter]:bg-background/24 dark:border-border/32 dark:bg-background/34 dark:shadow-[0_18px_60px_color-mix(in_oklch,var(--foreground)_20%,transparent)] dark:supports-[backdrop-filter]:bg-background/22";
|
|
7
|
-
export const glassSurfaceFocus = "focus-within:border-ring focus-within:bg-background/46 focus-within:ring-[var(--focus-ring-width)] focus-within:ring-ring/35 focus-within:shadow-[0_20px_70px_color-mix(in_oklch,var(--foreground)_12%,transparent)] supports-[backdrop-filter]:focus-within:bg-background/32 dark:focus-within:border-ring dark:focus-within:bg-background/42 dark:focus-within:ring-ring/55 dark:supports-[backdrop-filter]:focus-within:bg-background/30";
|
|
8
|
-
export const sidebarGlassSurface = "border-sidebar-border/60 bg-sidebar/48 shadow-none backdrop-blur-xl backdrop-saturate-150 supports-[backdrop-filter]:bg-sidebar/34 dark:border-sidebar-border/60 dark:bg-sidebar/44 dark:supports-[backdrop-filter]:bg-sidebar/30";
|
package/dist/style-imports.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|