@robr0/design-system 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +30 -27
  2. package/components/AgentStatus/AgentStatus.css +496 -0
  3. package/components/AgentStatus/AgentStatus.d.ts +41 -0
  4. package/components/AgentStatus/AgentStatus.js +85 -0
  5. package/components/AgentStatus/AgentStatusPatterns.d.ts +17 -0
  6. package/components/AgentStatus/AgentStatusPatterns.js +20 -0
  7. package/components/AiButton/AiButton.css +163 -0
  8. package/components/AiButton/AiButton.d.ts +36 -0
  9. package/components/AiButton/AiButton.js +58 -0
  10. package/components/AlertDialog/AlertDialog.css +5 -5
  11. package/components/Button/Button.d.ts +14 -2
  12. package/components/ButtonGroup/ButtonGroup.js +2 -9
  13. package/components/ChatHeader/ChatHeader.css +35 -0
  14. package/components/ChatHeader/ChatHeader.d.ts +30 -0
  15. package/components/ChatHeader/ChatHeader.js +17 -0
  16. package/components/ChatMarker/ChatMarker.css +52 -0
  17. package/components/ChatMarker/ChatMarker.d.ts +22 -0
  18. package/components/ChatMarker/ChatMarker.js +18 -0
  19. package/components/ChatMessage/ChatMessage.css +304 -0
  20. package/components/ChatMessage/ChatMessage.d.ts +68 -0
  21. package/components/ChatMessage/ChatMessage.js +69 -0
  22. package/components/ChatThread/ChatThread.css +171 -0
  23. package/components/ChatThread/ChatThread.d.ts +41 -0
  24. package/components/ChatThread/ChatThread.js +174 -0
  25. package/components/Checkbox/Checkbox.d.ts +17 -3
  26. package/components/Chip/Chip.css +27 -0
  27. package/components/Chip/Chip.d.ts +2 -2
  28. package/components/CircularButton/CircularButton.d.ts +31 -10
  29. package/components/CircularButton/CircularButton.js +54 -50
  30. package/components/CodeBlock/CodeBlock.css +2 -2
  31. package/components/Combobox/Combobox.d.ts +10 -2
  32. package/components/Composer/Composer.css +164 -0
  33. package/components/Composer/Composer.d.ts +67 -0
  34. package/components/Composer/Composer.js +120 -0
  35. package/components/ContextMenu/ContextMenu.css +0 -4
  36. package/components/DateInput/DateInput.d.ts +5 -1
  37. package/components/Dialog/Dialog.css +5 -5
  38. package/components/DocumentChip/DocumentChip.css +181 -0
  39. package/components/DocumentChip/DocumentChip.d.ts +41 -0
  40. package/components/DocumentChip/DocumentChip.js +78 -0
  41. package/components/Dropdown/Dropdown.css +2 -4
  42. package/components/Dropdown/Dropdown.d.ts +10 -2
  43. package/components/DropdownMenu/DropdownMenu.css +2 -4
  44. package/components/FileInput/FileInput.d.ts +5 -1
  45. package/components/Input/Input.d.ts +5 -1
  46. package/components/InterruptCard/InterruptCard.css +164 -0
  47. package/components/InterruptCard/InterruptCard.d.ts +55 -0
  48. package/components/InterruptCard/InterruptCard.js +57 -0
  49. package/components/LinkList/LinkList.d.ts +1 -0
  50. package/components/MessageActions/MessageActions.css +76 -0
  51. package/components/MessageActions/MessageActions.d.ts +38 -0
  52. package/components/MessageActions/MessageActions.js +33 -0
  53. package/components/MessageCard/MessageCard.css +112 -0
  54. package/components/MessageCard/MessageCard.d.ts +35 -0
  55. package/components/MessageCard/MessageCard.js +28 -0
  56. package/components/NavList/NavList.css +155 -0
  57. package/components/NavList/NavList.d.ts +56 -0
  58. package/components/NavList/NavList.js +99 -0
  59. package/components/PromptSuggestions/PromptSuggestions.css +87 -0
  60. package/components/PromptSuggestions/PromptSuggestions.d.ts +51 -0
  61. package/components/PromptSuggestions/PromptSuggestions.js +34 -0
  62. package/components/Prose/Prose.css +252 -0
  63. package/components/Prose/Prose.d.ts +21 -0
  64. package/components/Prose/Prose.js +14 -0
  65. package/components/RadioButton/RadioButton.d.ts +17 -3
  66. package/components/Reasoning/Reasoning.css +276 -0
  67. package/components/Reasoning/Reasoning.d.ts +55 -0
  68. package/components/Reasoning/Reasoning.js +98 -0
  69. package/components/SelectionCard/SelectionCard.d.ts +5 -1
  70. package/components/Slider/Slider.d.ts +5 -1
  71. package/components/SourceChip/SourceChip.css +102 -0
  72. package/components/SourceChip/SourceChip.d.ts +32 -0
  73. package/components/SourceChip/SourceChip.js +31 -0
  74. package/components/Stat/Stat.css +2 -2
  75. package/components/Textarea/Textarea.d.ts +5 -1
  76. package/components/Timeline/Timeline.d.ts +2 -0
  77. package/components/ToggleGroup/ToggleGroup.d.ts +10 -2
  78. package/components/ToggleSwitch/ToggleSwitch.d.ts +10 -2
  79. package/components/ToolCall/ToolCall.css +213 -0
  80. package/components/ToolCall/ToolCall.d.ts +43 -0
  81. package/components/ToolCall/ToolCall.js +89 -0
  82. package/components/registry.json +145 -8
  83. package/components/registry.json.d.ts +145 -8
  84. package/components/registry.json.js +2 -2
  85. package/index.d.ts +18 -0
  86. package/index.js +36 -0
  87. package/package.json +8 -4
  88. package/tokens/registry.json +13 -0
  89. package/tokens/registry.json.d.ts +13 -0
  90. package/tokens/registry.json.js +1 -1
  91. package/tokens/tokens-dark.css +13 -0
  92. package/tokens/tokens-light.css +42 -0
  93. package/tokens/tokens-motion.css +3 -1
  94. package/tokens/tokens-typography.css +24 -0
@@ -1,5 +1,5 @@
1
- const categories = ["actions", "charts", "data-display", "feedback", "forms", "layout", "navigation", "overlays"];
2
- const components = /* @__PURE__ */ JSON.parse(`[{"name":"Accordion","label":"Accordion","slug":"accordion","description":"Collapsible content sections for organising related information.","category":"data-display","client":true},{"name":"Alert","label":"Alert","slug":"alert","description":"Contextual feedback with status variants, optional dismiss, and compact sizing.","category":"feedback","client":false},{"name":"AlertDialog","label":"Alert dialog","slug":"alert-dialog","description":"Modal confirmation overlay with title, description, and confirm / cancel actions.","category":"overlays","client":true},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a centred content area.","category":"layout","client":true},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, category headings, and profile section.","category":"layout","client":true},{"name":"Avatar","label":"Avatar","slug":"avatar","description":"User profile image with initials and icon fallback, status indicator, and multiple sizes.","category":"data-display","client":true},{"name":"Badge","label":"Badge","slug":"badge","description":"Small inline status labels with info, positive, warning, error, and neutral variants.","category":"data-display","client":false},{"name":"Breadcrumb","label":"Breadcrumb","slug":"breadcrumb","description":"Hierarchical navigation trail showing the user's location within the site.","category":"navigation","client":false},{"name":"Button","label":"Button","slug":"button","description":"Primary and secondary button variants in default and compact sizes, with icon support and multiple states.","category":"actions","client":true},{"name":"ButtonGroup","label":"Button group","slug":"button-group","description":"Horizontal and vertical button group layouts for related actions and navigation patterns.","category":"actions","client":false},{"name":"Card","label":"Card","slug":"card","description":"Card components for previews, navigation, and token documentation — from content cards to colour swatches and typography specimens.","category":"data-display","client":true},{"name":"Carousel","label":"Carousel","slug":"carousel","description":"Sliding content viewer with navigation arrows, dot indicators, auto-play, and keyboard support.","category":"data-display","client":true},{"name":"Chart","label":"Chart","slug":"chart","description":"Data visualisation components built on Recharts. Includes bar, line, pie, and radial chart types with design-system token integration.","category":"charts","client":false},{"name":"Checkbox","label":"Checkbox","slug":"checkbox","description":"Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.","category":"forms","client":true},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false},{"name":"CircularButton","label":"Circular button","slug":"circular-button","description":"Round icon button with primary and secondary variants, default and compact sizes.","category":"actions","client":false},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy.","category":"data-display","client":true},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as you type, with multi-select chips, grouping, and async loading.","category":"forms","client":true},{"name":"CommandPalette","label":"Command palette","slug":"command-palette","description":"A modal Cmd+K launcher that searches a grouped command list, with keyboard navigation and shortcut hints.","category":"overlays","client":true},{"name":"ContactCard","label":"Contact card","slug":"contact-card","description":"Linked contact method with icon, label, and value.","category":"data-display","client":true},{"name":"ContextMenu","label":"Context menu","slug":"context-menu","description":"Right-click menu at the pointer with groups, sub-menus, and shortcut hints.","category":"overlays","client":true},{"name":"ContributionGraph","label":"Contribution graph","slug":"contribution-graph","description":"A year of activity, one cell per day.","category":"charts","client":false},{"name":"DateInput","label":"Date input","slug":"date-input","description":"Date input with native picker, calendar icon, label, and validation states.","category":"forms","client":true},{"name":"DatePicker","label":"Date picker","slug":"date-picker","description":"Inline calendar with month navigation, day selection, and today indicator.","category":"forms","client":true},{"name":"Dialog","label":"Dialog","slug":"dialog","description":"A general-purpose modal for focused tasks, with sizes, an optional footer, and full focus management.","category":"overlays","client":true},{"name":"Divider","label":"Divider","slug":"divider","description":"A thin rule separating stacked content, with optional inline label and vertical orientation.","category":"layout","client":false},{"name":"Drawer","label":"Drawer","slug":"drawer","description":"An edge-anchored modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true},{"name":"DropdownMenu","label":"Dropdown menu","slug":"dropdown-menu","description":"Contextual menu with sections, sub-menus, keyboard shortcuts, and inset-gap hover styling.","category":"overlays","client":true},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show — icon, headline, guidance, and a next action.","category":"feedback","client":false},{"name":"EntityCard","label":"Entity card","slug":"entity-card","description":"Compact display-only card with a centred icon or image and a label — powers the Icons and Logos galleries.","category":"data-display","client":false},{"name":"Field","label":"Field","slug":"field","description":"The shared scaffolding for labelled form controls — label, required marker, helper and error text, and the ARIA wiring that ties them together.","category":"forms","client":true},{"name":"Figure","label":"Figure","slug":"figure","description":"Images with captions, in the case-study frame.","category":"data-display","client":false},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true},{"name":"Input","label":"Input","slug":"input","description":"Text input with label, placeholder, left and right icons, helper text, and error states.","category":"forms","client":true},{"name":"Instructions","label":"Instructions","slug":"instructions","description":"Step-by-step guidance with numbered badges, connecting lines, and horizontal layout.","category":"data-display","client":false},{"name":"Kbd","label":"Kbd","slug":"kbd","description":"A keyboard key rendered as a keycap, for shortcut hints in menus and prose.","category":"data-display","client":false},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false},{"name":"Nav","label":"Navigation","slug":"navigation","description":"Desktop and mobile navigation components including top-level nav bar, collapsed mobile bar, and hamburger slide-out menu.","category":"navigation","client":false},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true},{"name":"SectionTitle","label":"Section title","slug":"section-title","description":"Heading with a divider line and optional trailing content for organising page sections.","category":"layout","client":false},{"name":"SegmentedControl","label":"Segmented control","slug":"segmented-control","description":"Pill-style toggle between related views with keyboard navigation and icon support.","category":"actions","client":true},{"name":"SelectionCard","label":"Selection card","slug":"selection-card","description":"Large selectable option cards with radio or checkbox indicators for high-visibility choices like settings and onboarding.","category":"data-display","client":true},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value within a given range with default and compact sizes.","category":"forms","client":true},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and primary, neutral, or inherit variants.","category":"feedback","client":false},{"name":"Stat","label":"Stat","slug":"stat","description":"Headline metrics with labels and trend deltas.","category":"data-display","client":false},{"name":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tab navigation with underline indicator, icon support, compact size, and full-width mode.","category":"navigation","client":true},{"name":"Textarea","label":"Textarea","slug":"textarea","description":"Multi-line text input with character counter, resize control, helper text, and error states.","category":"forms","client":true},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences — histories and steppers.","category":"data-display","client":false},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, used for settings like theme switching.","category":"forms","client":true},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true}]`);
1
+ const categories = ["actions", "ai", "charts", "data-display", "feedback", "forms", "layout", "navigation", "overlays"];
2
+ const components = /* @__PURE__ */ JSON.parse(`[{"name":"Accordion","label":"Accordion","slug":"accordion","description":"Collapsible content sections for organising related information.","category":"data-display","client":true},{"name":"AgentStatus","label":"Agent status","slug":"agent-status","description":"A dot-matrix indicator and status line reporting what an agent is doing right now.","category":"ai","client":true},{"name":"AiButton","label":"AI button","slug":"ai-button","description":"The AI entry point: icon and label on a transparent field, ringed by a slowly turning gradient and a soft glow.","category":"ai","client":true},{"name":"Alert","label":"Alert","slug":"alert","description":"Contextual feedback with status variants, optional dismiss, and compact sizing.","category":"feedback","client":false},{"name":"AlertDialog","label":"Alert dialog","slug":"alert-dialog","description":"Modal confirmation overlay with title, description, and confirm / cancel actions.","category":"overlays","client":true},{"name":"AppLayout","label":"App layout","slug":"app-layout","description":"Full-page template pairing the collapsible App sidebar with a centred content area.","category":"layout","client":true},{"name":"AppSidebar","label":"App sidebar","slug":"app-sidebar","description":"Collapsible navigation rail with accordion sub-items, category headings, and profile section.","category":"layout","client":true},{"name":"Avatar","label":"Avatar","slug":"avatar","description":"User profile image with initials and icon fallback, status indicator, and multiple sizes.","category":"data-display","client":true},{"name":"Badge","label":"Badge","slug":"badge","description":"Small inline status labels with info, positive, warning, error, and neutral variants.","category":"data-display","client":false},{"name":"Breadcrumb","label":"Breadcrumb","slug":"breadcrumb","description":"Hierarchical navigation trail showing the user's location within the site.","category":"navigation","client":false},{"name":"Button","label":"Button","slug":"button","description":"Primary and secondary button variants in default and compact sizes, with icon support and multiple states.","category":"actions","client":true},{"name":"ButtonGroup","label":"Button group","slug":"button-group","description":"Horizontal and vertical button group layouts for related actions and navigation patterns.","category":"actions","client":false},{"name":"Card","label":"Card","slug":"card","description":"Card components for previews, navigation, and token documentation, from content cards to colour swatches and typography specimens.","category":"data-display","client":true},{"name":"Carousel","label":"Carousel","slug":"carousel","description":"Sliding content viewer with navigation arrows, dot indicators, auto-play, and keyboard support.","category":"data-display","client":true},{"name":"Chart","label":"Chart","slug":"chart","description":"Data visualisation components built on Recharts. Includes bar, line, pie, and radial chart types with design-system token integration.","category":"charts","client":false},{"name":"ChatHeader","label":"Chat header","slug":"chat-header","description":"The top row of a chat surface, with the conversation title and its controls.","category":"ai","client":false},{"name":"ChatMarker","label":"Chat marker","slug":"chat-marker","description":"An inline conversation separator for date breaks and system notes.","category":"ai","client":false},{"name":"ChatMessage","label":"Chat message","slug":"chat-message","description":"A single chat turn with avatar, author, timestamp, and bubble or plain content aligned by role.","category":"ai","client":false},{"name":"ChatThread","label":"Chat thread","slug":"chat-thread","description":"A scrollable conversation column with edge fades, send anchoring, and a subtle scrollbar.","category":"ai","client":true},{"name":"Checkbox","label":"Checkbox","slug":"checkbox","description":"Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.","category":"forms","client":true},{"name":"Chip","label":"Chip","slug":"chip","description":"Compact pills for attributes, filters, and inline metadata.","category":"data-display","client":false},{"name":"CircularButton","label":"Circular button","slug":"circular-button","description":"Round icon button with primary and secondary variants, default and compact sizes.","category":"actions","client":false},{"name":"CodeBlock","label":"Code block","slug":"code-block","description":"Monospace code with a header and one-click copy.","category":"data-display","client":true},{"name":"ColorPicker","label":"Colour picker","slug":"color-picker","description":"Swatch trigger opening a saturation area, hue and alpha sliders, and a hex field; controlled or uncontrolled.","category":"forms","client":true},{"name":"Combobox","label":"Combobox","slug":"combobox","description":"A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.","category":"forms","client":true},{"name":"CommandPalette","label":"Command palette","slug":"command-palette","description":"A modal Cmd+K launcher that searches a grouped command list, with keyboard navigation and shortcut hints.","category":"overlays","client":true},{"name":"Composer","label":"Composer","slug":"composer","description":"An auto-growing message input with send and stop states, an attachment slot, and Enter-to-send.","category":"ai","client":true},{"name":"ContactCard","label":"Contact card","slug":"contact-card","description":"Linked contact method with icon, label, and value.","category":"data-display","client":true},{"name":"ContextMenu","label":"Context menu","slug":"context-menu","description":"Right-click menu at the pointer with groups, sub-menus, and shortcut hints.","category":"overlays","client":true},{"name":"ContributionGraph","label":"Contribution graph","slug":"contribution-graph","description":"A year of activity, one cell per day.","category":"charts","client":false},{"name":"DateInput","label":"Date input","slug":"date-input","description":"Date input with native picker, calendar icon, label, and validation states.","category":"forms","client":true},{"name":"DatePicker","label":"Date picker","slug":"date-picker","description":"Inline calendar with month navigation, day selection, and today indicator.","category":"forms","client":true},{"name":"Dialog","label":"Dialog","slug":"dialog","description":"A general-purpose modal for focused tasks, with sizes, an optional footer, and full focus management.","category":"overlays","client":true},{"name":"Divider","label":"Divider","slug":"divider","description":"A thin rule separating stacked content, with optional inline label and vertical orientation.","category":"layout","client":false},{"name":"DocumentChip","label":"Document chip","slug":"document-chip","description":"A compact file reference with a type icon, name, metadata, and optional remove.","category":"ai","client":false},{"name":"Drawer","label":"Drawer","slug":"drawer","description":"An edge-anchored modal panel that slides in from any side, for filter panels, detail views, and mobile navigation.","category":"overlays","client":true},{"name":"Dropdown","label":"Dropdown","slug":"dropdown","description":"Custom select dropdown with keyboard navigation, disabled options, and error states.","category":"forms","client":true},{"name":"DropdownMenu","label":"Dropdown menu","slug":"dropdown-menu","description":"Contextual menu with sections, sub-menus, keyboard shortcuts, and inset-gap hover styling.","category":"overlays","client":true},{"name":"EmptyState","label":"Empty state","slug":"empty-state","description":"The placeholder for a list, table, or search with nothing to show: icon, headline, guidance, and a next action.","category":"feedback","client":false},{"name":"EntityCard","label":"Entity card","slug":"entity-card","description":"Compact display-only card with a centred icon or image and a label, used in the Icons and Logos galleries.","category":"data-display","client":false},{"name":"Field","label":"Field","slug":"field","description":"The shared scaffolding for labelled form controls: label, required marker, helper and error text, and the ARIA wiring that ties them together.","category":"forms","client":true},{"name":"Figure","label":"Figure","slug":"figure","description":"Images with captions, in the case-study frame.","category":"data-display","client":false},{"name":"FileInput","label":"File input","slug":"file-input","description":"A click-or-drop upload zone paired with a controlled file list showing size, progress, and per-file errors.","category":"forms","client":true},{"name":"Input","label":"Input","slug":"input","description":"Text input with label, placeholder, left and right icons, helper text, and error states.","category":"forms","client":true},{"name":"Instructions","label":"Instructions","slug":"instructions","description":"Step-by-step guidance with numbered badges, connecting lines, and horizontal layout.","category":"data-display","client":false},{"name":"InterruptCard","label":"Interrupt card","slug":"interrupt-card","description":"A human-in-the-loop checkpoint with a question from the agent and option buttons to decide.","category":"ai","client":false},{"name":"Kbd","label":"Kbd","slug":"kbd","description":"A keyboard key rendered as a keycap, for shortcut hints in menus and prose.","category":"data-display","client":false},{"name":"LinkList","label":"Link list","slug":"link-list","description":"Linked items with logo, label, and subtitle.","category":"data-display","client":false},{"name":"MessageActions","label":"Message actions","slug":"message-actions","description":"An icon-button row for message-level actions like copy, retry, and feedback.","category":"ai","client":false},{"name":"MessageCard","label":"Message card","slug":"message-card","description":"A structured rich-content card embedded in a chat message, with media, title, body, and actions.","category":"ai","client":false},{"name":"Nav","label":"Navigation","slug":"navigation","description":"Desktop top navigation bar with a brand slot, horizontal button group, and optional trailing content.","category":"navigation","client":false},{"name":"NavList","label":"Nav list","slug":"nav-list","description":"Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.","category":"navigation","client":true},{"name":"Pagination","label":"Pagination","slug":"pagination","description":"Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.","category":"navigation","client":true},{"name":"Popover","label":"Popover","slug":"popover","description":"Contextual overlay panel with click and hover triggers, positioned relative to its anchor.","category":"overlays","client":true},{"name":"ProgressBar","label":"Progress bar","slug":"progress-bar","description":"Horizontal bar indicating completion progress, with an optional percentage label.","category":"feedback","client":false},{"name":"PromptSuggestions","label":"Prompt suggestions","slug":"prompt-suggestions","description":"A horizontal row of tappable prompt suggestions to start or steer a conversation.","category":"ai","client":false},{"name":"Prose","label":"Prose","slug":"prose","description":"Token-styled typography for rendered markdown and rich agent output.","category":"ai","client":false},{"name":"Quote","label":"Quote","slug":"quote","description":"Blockquotes and pull-quotes with attribution.","category":"data-display","client":false},{"name":"RadioButton","label":"Radio button","slug":"radio-button","description":"Radio button and radio group with vertical and horizontal layouts, animated dot indicator.","category":"forms","client":true},{"name":"Reasoning","label":"Reasoning","slug":"reasoning","description":"A model's thinking, disclosed behind a one-line summary and collapsed once it finishes.","category":"ai","client":true},{"name":"SectionTitle","label":"Section title","slug":"section-title","description":"Heading with a divider line and optional trailing content for organising page sections.","category":"layout","client":false},{"name":"SegmentedControl","label":"Segmented control","slug":"segmented-control","description":"Pill-style toggle between related views with keyboard navigation and icon support.","category":"actions","client":true},{"name":"SelectionCard","label":"Selection card","slug":"selection-card","description":"Large selectable option cards with radio or checkbox indicators for high-visibility choices like settings and onboarding.","category":"data-display","client":true},{"name":"Skeleton","label":"Skeleton","slug":"skeleton","description":"Placeholder loading indicators with text, circular, and rectangular variants.","category":"feedback","client":false},{"name":"Slider","label":"Slider","slug":"slider","description":"Range input for selecting a value between a minimum and maximum, in default and compact sizes.","category":"forms","client":true},{"name":"SourceChip","label":"Source chip","slug":"source-chip","description":"A numbered citation pill linking a claim to its source.","category":"ai","client":false},{"name":"Spinner","label":"Spinner","slug":"spinner","description":"Animated circular loading indicator in three sizes and primary, neutral, or inherit variants.","category":"feedback","client":false},{"name":"Stat","label":"Stat","slug":"stat","description":"Headline metrics with labels and trend deltas.","category":"data-display","client":false},{"name":"Swatch","label":"Swatch","slug":"swatch","description":"Clickable colour tile for preset palettes and picker triggers, with a theme-aware selection ring.","category":"forms","client":false},{"name":"Table","label":"Table","slug":"table","description":"Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.","category":"data-display","client":false},{"name":"Tabs","label":"Tabs","slug":"tabs","description":"Tab navigation with underline indicator, icon support, compact size, and full-width mode.","category":"navigation","client":true},{"name":"Textarea","label":"Textarea","slug":"textarea","description":"Multi-line text input with character counter, resize control, helper text, and error states.","category":"forms","client":true},{"name":"Timeline","label":"Timeline","slug":"timeline","description":"Ordered sequences: histories and steppers.","category":"data-display","client":false},{"name":"Toast","label":"Toast","slug":"toast","description":"Temporary notification with status variants, auto-dismiss, and stacking via ToastProvider.","category":"feedback","client":true},{"name":"ToggleGroup","label":"Toggle group","slug":"toggle-group","description":"A set of two-state buttons that can be toggled on or off, supporting text and icon items.","category":"actions","client":true},{"name":"ToggleSwitch","label":"Toggle switch","slug":"toggle-switch","description":"Binary on/off toggle control with sliding thumb and check indicator, used for settings like theme switching.","category":"forms","client":true},{"name":"ToolCall","label":"Tool call","slug":"tool-call","description":"The record of one tool invocation, with its arguments and result behind a disclosure.","category":"ai","client":true},{"name":"Tooltip","label":"Tooltip","slug":"tooltip","description":"Contextual text label that appears on hover or focus with position and delay options.","category":"overlays","client":true}]`);
3
3
  const registry = {
4
4
  categories,
5
5
  components
package/index.d.ts CHANGED
@@ -4,6 +4,9 @@
4
4
  * (validate-registry chain). recharts-backed modules live in charts.ts, not here — recharts is an optional peer.
5
5
  */
6
6
  export * from './components/Accordion/Accordion';
7
+ export * from './components/AgentStatus/AgentStatus';
8
+ export * from './components/AgentStatus/AgentStatusPatterns';
9
+ export * from './components/AiButton/AiButton';
7
10
  export * from './components/Alert/Alert';
8
11
  export * from './components/AlertDialog/AlertDialog';
9
12
  export * from './components/AppLayout/AppLayout';
@@ -15,6 +18,10 @@ export * from './components/Button/Button';
15
18
  export * from './components/ButtonGroup/ButtonGroup';
16
19
  export * from './components/Card/Card';
17
20
  export * from './components/Carousel/Carousel';
21
+ export * from './components/ChatHeader/ChatHeader';
22
+ export * from './components/ChatMarker/ChatMarker';
23
+ export * from './components/ChatMessage/ChatMessage';
24
+ export * from './components/ChatThread/ChatThread';
18
25
  export * from './components/Checkbox/Checkbox';
19
26
  export * from './components/Chip/Chip';
20
27
  export * from './components/CircularButton/CircularButton';
@@ -22,6 +29,7 @@ export * from './components/CodeBlock/CodeBlock';
22
29
  export * from './components/ColorPicker/ColorPicker';
23
30
  export * from './components/Combobox/Combobox';
24
31
  export * from './components/CommandPalette/CommandPalette';
32
+ export * from './components/Composer/Composer';
25
33
  export * from './components/ContactCard/ContactCard';
26
34
  export * from './components/ContextMenu/ContextMenu';
27
35
  export * from './components/ContributionGraph/ContributionGraph';
@@ -29,6 +37,7 @@ export * from './components/DateInput/DateInput';
29
37
  export * from './components/DatePicker/DatePicker';
30
38
  export * from './components/Dialog/Dialog';
31
39
  export * from './components/Divider/Divider';
40
+ export * from './components/DocumentChip/DocumentChip';
32
41
  export * from './components/Drawer/Drawer';
33
42
  export * from './components/Dropdown/Dropdown';
34
43
  export * from './components/DropdownMenu/DropdownMenu';
@@ -40,19 +49,27 @@ export * from './components/Figure/Figure';
40
49
  export * from './components/FileInput/FileInput';
41
50
  export * from './components/Input/Input';
42
51
  export * from './components/Instructions/Instructions';
52
+ export * from './components/InterruptCard/InterruptCard';
43
53
  export * from './components/Kbd/Kbd';
44
54
  export * from './components/LinkList/LinkList';
55
+ export * from './components/MessageActions/MessageActions';
56
+ export * from './components/MessageCard/MessageCard';
45
57
  export * from './components/Nav/Nav';
58
+ export * from './components/NavList/NavList';
46
59
  export * from './components/Pagination/Pagination';
47
60
  export * from './components/Popover/Popover';
48
61
  export * from './components/ProgressBar/ProgressBar';
62
+ export * from './components/PromptSuggestions/PromptSuggestions';
63
+ export * from './components/Prose/Prose';
49
64
  export * from './components/Quote/Quote';
50
65
  export * from './components/RadioButton/RadioButton';
66
+ export * from './components/Reasoning/Reasoning';
51
67
  export * from './components/SectionTitle/SectionTitle';
52
68
  export * from './components/SegmentedControl/SegmentedControl';
53
69
  export * from './components/SelectionCard/SelectionCard';
54
70
  export * from './components/Skeleton/Skeleton';
55
71
  export * from './components/Slider/Slider';
72
+ export * from './components/SourceChip/SourceChip';
56
73
  export * from './components/Spinner/Spinner';
57
74
  export * from './components/Stat/Stat';
58
75
  export * from './components/Swatch/Swatch';
@@ -63,6 +80,7 @@ export * from './components/Timeline/Timeline';
63
80
  export * from './components/Toast/Toast';
64
81
  export * from './components/ToggleGroup/ToggleGroup';
65
82
  export * from './components/ToggleSwitch/ToggleSwitch';
83
+ export * from './components/ToolCall/ToolCall';
66
84
  export * from './components/Tooltip/Tooltip';
67
85
  export { componentRegistry, componentMetadata, componentCategories, COMPONENT_COUNT, } from './components/registry';
68
86
  export type { ComponentMeta } from './components/registry';
package/index.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import { Accordion } from "./components/Accordion/Accordion.js";
2
+ import { AgentStatus } from "./components/AgentStatus/AgentStatus.js";
3
+ import { agentStatusPatterns } from "./components/AgentStatus/AgentStatusPatterns.js";
4
+ import { AiButton } from "./components/AiButton/AiButton.js";
2
5
  import { Alert } from "./components/Alert/Alert.js";
3
6
  import { AlertDialog } from "./components/AlertDialog/AlertDialog.js";
4
7
  import { AppLayout } from "./components/AppLayout/AppLayout.js";
@@ -10,6 +13,10 @@ import { Button } from "./components/Button/Button.js";
10
13
  import { ButtonGroup } from "./components/ButtonGroup/ButtonGroup.js";
11
14
  import { Card } from "./components/Card/Card.js";
12
15
  import { Carousel } from "./components/Carousel/Carousel.js";
16
+ import { ChatHeader } from "./components/ChatHeader/ChatHeader.js";
17
+ import { ChatMarker } from "./components/ChatMarker/ChatMarker.js";
18
+ import { ChatMessage } from "./components/ChatMessage/ChatMessage.js";
19
+ import { ChatThread } from "./components/ChatThread/ChatThread.js";
13
20
  import { Checkbox, CheckboxGroup } from "./components/Checkbox/Checkbox.js";
14
21
  import { Chip } from "./components/Chip/Chip.js";
15
22
  import { CircularButton } from "./components/CircularButton/CircularButton.js";
@@ -17,6 +24,7 @@ import { CodeBlock } from "./components/CodeBlock/CodeBlock.js";
17
24
  import { ColorPicker } from "./components/ColorPicker/ColorPicker.js";
18
25
  import { Combobox } from "./components/Combobox/Combobox.js";
19
26
  import { CommandPalette } from "./components/CommandPalette/CommandPalette.js";
27
+ import { Composer } from "./components/Composer/Composer.js";
20
28
  import { ContactCard } from "./components/ContactCard/ContactCard.js";
21
29
  import { ContextMenu } from "./components/ContextMenu/ContextMenu.js";
22
30
  import { ContributionGraph } from "./components/ContributionGraph/ContributionGraph.js";
@@ -24,6 +32,7 @@ import { DateInput } from "./components/DateInput/DateInput.js";
24
32
  import { DatePicker } from "./components/DatePicker/DatePicker.js";
25
33
  import { Dialog } from "./components/Dialog/Dialog.js";
26
34
  import { Divider } from "./components/Divider/Divider.js";
35
+ import { DocumentChip } from "./components/DocumentChip/DocumentChip.js";
27
36
  import { Drawer } from "./components/Drawer/Drawer.js";
28
37
  import { Dropdown } from "./components/Dropdown/Dropdown.js";
29
38
  import { DropdownMenu } from "./components/DropdownMenu/DropdownMenu.js";
@@ -35,19 +44,27 @@ import { Figure } from "./components/Figure/Figure.js";
35
44
  import { FileInput } from "./components/FileInput/FileInput.js";
36
45
  import { Input } from "./components/Input/Input.js";
37
46
  import { Instructions } from "./components/Instructions/Instructions.js";
47
+ import { InterruptCard } from "./components/InterruptCard/InterruptCard.js";
38
48
  import { Kbd } from "./components/Kbd/Kbd.js";
39
49
  import { LinkList } from "./components/LinkList/LinkList.js";
50
+ import { MessageActions } from "./components/MessageActions/MessageActions.js";
51
+ import { MessageCard } from "./components/MessageCard/MessageCard.js";
40
52
  import { Nav } from "./components/Nav/Nav.js";
53
+ import { NavList } from "./components/NavList/NavList.js";
41
54
  import { Pagination } from "./components/Pagination/Pagination.js";
42
55
  import { Popover } from "./components/Popover/Popover.js";
43
56
  import { ProgressBar } from "./components/ProgressBar/ProgressBar.js";
57
+ import { PromptSuggestions } from "./components/PromptSuggestions/PromptSuggestions.js";
58
+ import { Prose } from "./components/Prose/Prose.js";
44
59
  import { Quote } from "./components/Quote/Quote.js";
45
60
  import { RadioButton, RadioGroup } from "./components/RadioButton/RadioButton.js";
61
+ import { Reasoning } from "./components/Reasoning/Reasoning.js";
46
62
  import { SectionTitle } from "./components/SectionTitle/SectionTitle.js";
47
63
  import { SegmentedControl } from "./components/SegmentedControl/SegmentedControl.js";
48
64
  import { SelectionCard } from "./components/SelectionCard/SelectionCard.js";
49
65
  import { Skeleton } from "./components/Skeleton/Skeleton.js";
50
66
  import { Slider } from "./components/Slider/Slider.js";
67
+ import { SourceChip } from "./components/SourceChip/SourceChip.js";
51
68
  import { Spinner } from "./components/Spinner/Spinner.js";
52
69
  import { Stat } from "./components/Stat/Stat.js";
53
70
  import { Swatch } from "./components/Swatch/Swatch.js";
@@ -58,11 +75,14 @@ import { Timeline } from "./components/Timeline/Timeline.js";
58
75
  import { Toast, ToastProvider, useToast } from "./components/Toast/Toast.js";
59
76
  import { ToggleGroup } from "./components/ToggleGroup/ToggleGroup.js";
60
77
  import { ToggleSwitch } from "./components/ToggleSwitch/ToggleSwitch.js";
78
+ import { ToolCall } from "./components/ToolCall/ToolCall.js";
61
79
  import { Tooltip } from "./components/Tooltip/Tooltip.js";
62
80
  import { COMPONENT_COUNT, componentCategories, componentMetadata, componentRegistry } from "./components/registry.js";
63
81
  import { TOKEN_COUNT, TOKEN_COUNTS, tokenRegistry } from "./tokens/registry.js";
64
82
  export {
65
83
  Accordion,
84
+ AgentStatus,
85
+ AiButton,
66
86
  Alert,
67
87
  AlertDialog,
68
88
  AppLayout,
@@ -75,6 +95,10 @@ export {
75
95
  COMPONENT_COUNT,
76
96
  Card,
77
97
  Carousel,
98
+ ChatHeader,
99
+ ChatMarker,
100
+ ChatMessage,
101
+ ChatThread,
78
102
  Checkbox,
79
103
  CheckboxGroup,
80
104
  Chip,
@@ -83,6 +107,7 @@ export {
83
107
  ColorPicker,
84
108
  Combobox,
85
109
  CommandPalette,
110
+ Composer,
86
111
  ContactCard,
87
112
  ContextMenu,
88
113
  ContributionGraph,
@@ -90,6 +115,7 @@ export {
90
115
  DatePicker,
91
116
  Dialog,
92
117
  Divider,
118
+ DocumentChip,
93
119
  Drawer,
94
120
  Dropdown,
95
121
  DropdownMenu,
@@ -101,20 +127,28 @@ export {
101
127
  FileInput,
102
128
  Input,
103
129
  Instructions,
130
+ InterruptCard,
104
131
  Kbd,
105
132
  LinkList,
133
+ MessageActions,
134
+ MessageCard,
106
135
  Nav,
136
+ NavList,
107
137
  Pagination,
108
138
  Popover,
109
139
  ProgressBar,
140
+ PromptSuggestions,
141
+ Prose,
110
142
  Quote,
111
143
  RadioButton,
112
144
  RadioGroup,
145
+ Reasoning,
113
146
  SectionTitle,
114
147
  SegmentedControl,
115
148
  SelectionCard,
116
149
  Skeleton,
117
150
  Slider,
151
+ SourceChip,
118
152
  Spinner,
119
153
  Stat,
120
154
  Swatch,
@@ -128,7 +162,9 @@ export {
128
162
  ToastProvider,
129
163
  ToggleGroup,
130
164
  ToggleSwitch,
165
+ ToolCall,
131
166
  Tooltip,
167
+ agentStatusPatterns,
132
168
  componentCategories,
133
169
  componentMetadata,
134
170
  componentRegistry,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@robr0/design-system",
3
- "version": "0.3.0",
4
- "description": "A token-driven React design system accessible components, light/dark theming, and CSS-variable customization.",
3
+ "version": "0.5.0",
4
+ "description": "An AI-ready React design system: accessible components on composable tokens, light/dark theming, and CSS-variable overrides.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/robritacca-dotcom/design-system.git"
9
9
  },
10
- "homepage": "https://www.robertritacca.com",
10
+ "homepage": "https://robertritacca.com",
11
11
  "keywords": [
12
12
  "react",
13
13
  "design-system",
@@ -15,7 +15,11 @@
15
15
  "design-tokens",
16
16
  "css-variables",
17
17
  "dark-mode",
18
- "typescript"
18
+ "typescript",
19
+ "ai-ready",
20
+ "ai-agents",
21
+ "claude-code",
22
+ "composable"
19
23
  ],
20
24
  "type": "module",
21
25
  "sideEffects": [
@@ -18,6 +18,9 @@
18
18
  "--color-action-primary-text-active",
19
19
  "--color-action-primary-text-secondary",
20
20
  "--color-action-primary-text-tertiary",
21
+ "--color-ai-gradient-end",
22
+ "--color-ai-gradient-mid",
23
+ "--color-ai-gradient-start",
21
24
  "--color-bg-container-border",
22
25
  "--color-bg-container-inverse",
23
26
  "--color-bg-container-primary",
@@ -32,6 +35,10 @@
32
35
  "--color-chart-contribution-2",
33
36
  "--color-chart-contribution-3",
34
37
  "--color-chart-contribution-4",
38
+ "--color-chat-bubble-received-bg",
39
+ "--color-chat-bubble-received-text",
40
+ "--color-chat-bubble-sent-bg",
41
+ "--color-chat-bubble-sent-text",
35
42
  "--color-control-thumb",
36
43
  "--color-core-accent-amber",
37
44
  "--color-core-accent-cobalt",
@@ -87,6 +94,7 @@
87
94
  "--font-display-2-line-height",
88
95
  "--font-display-2-size",
89
96
  "--font-display-2-weight",
97
+ "--font-family-code",
90
98
  "--font-family-primary",
91
99
  "--font-heading-1-family",
92
100
  "--font-heading-1-letter-spacing",
@@ -151,13 +159,17 @@
151
159
  "--gap-sm-md",
152
160
  "--gap-xl",
153
161
  "--gap-xs",
162
+ "--gap-xxl",
154
163
  "--gap-xxs",
164
+ "--gap-xxxl",
165
+ "--gap-xxxxl",
155
166
  "--padding-lg",
156
167
  "--padding-md",
157
168
  "--padding-sm",
158
169
  "--padding-sm-md",
159
170
  "--padding-xl",
160
171
  "--padding-xs",
172
+ "--padding-xxl",
161
173
  "--padding-xxs",
162
174
  "--padding-xxxs"
163
175
  ],
@@ -189,6 +201,7 @@
189
201
  "--motion-duration-base",
190
202
  "--motion-duration-deliberate",
191
203
  "--motion-duration-fast",
204
+ "--motion-duration-loop-matrix",
192
205
  "--motion-duration-loop-shimmer",
193
206
  "--motion-duration-loop-spin",
194
207
  "--motion-duration-slow",
@@ -18,6 +18,9 @@ declare const _default: {
18
18
  "--color-action-primary-text-active",
19
19
  "--color-action-primary-text-secondary",
20
20
  "--color-action-primary-text-tertiary",
21
+ "--color-ai-gradient-end",
22
+ "--color-ai-gradient-mid",
23
+ "--color-ai-gradient-start",
21
24
  "--color-bg-container-border",
22
25
  "--color-bg-container-inverse",
23
26
  "--color-bg-container-primary",
@@ -32,6 +35,10 @@ declare const _default: {
32
35
  "--color-chart-contribution-2",
33
36
  "--color-chart-contribution-3",
34
37
  "--color-chart-contribution-4",
38
+ "--color-chat-bubble-received-bg",
39
+ "--color-chat-bubble-received-text",
40
+ "--color-chat-bubble-sent-bg",
41
+ "--color-chat-bubble-sent-text",
35
42
  "--color-control-thumb",
36
43
  "--color-core-accent-amber",
37
44
  "--color-core-accent-cobalt",
@@ -87,6 +94,7 @@ declare const _default: {
87
94
  "--font-display-2-line-height",
88
95
  "--font-display-2-size",
89
96
  "--font-display-2-weight",
97
+ "--font-family-code",
90
98
  "--font-family-primary",
91
99
  "--font-heading-1-family",
92
100
  "--font-heading-1-letter-spacing",
@@ -151,13 +159,17 @@ declare const _default: {
151
159
  "--gap-sm-md",
152
160
  "--gap-xl",
153
161
  "--gap-xs",
162
+ "--gap-xxl",
154
163
  "--gap-xxs",
164
+ "--gap-xxxl",
165
+ "--gap-xxxxl",
155
166
  "--padding-lg",
156
167
  "--padding-md",
157
168
  "--padding-sm",
158
169
  "--padding-sm-md",
159
170
  "--padding-xl",
160
171
  "--padding-xs",
172
+ "--padding-xxl",
161
173
  "--padding-xxs",
162
174
  "--padding-xxxs"
163
175
  ],
@@ -189,6 +201,7 @@ declare const _default: {
189
201
  "--motion-duration-base",
190
202
  "--motion-duration-deliberate",
191
203
  "--motion-duration-fast",
204
+ "--motion-duration-loop-matrix",
192
205
  "--motion-duration-loop-shimmer",
193
206
  "--motion-duration-loop-spin",
194
207
  "--motion-duration-slow",
@@ -1,4 +1,4 @@
1
- const categories = { "colour": ["--color-action-icon-active", "--color-action-icon-default", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-divider", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-text", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary"], "typography": ["--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-paragraph-em-family", "--font-paragraph-em-letter-spacing", "--font-paragraph-em-line-height", "--font-paragraph-em-size", "--font-paragraph-em-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-em-family", "--font-paragraph-sm-em-letter-spacing", "--font-paragraph-sm-em-line-height", "--font-paragraph-sm-em-size", "--font-paragraph-sm-em-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-lg", "--gap-md", "--gap-sm", "--gap-sm-md", "--gap-xl", "--gap-xs", "--gap-xxs", "--padding-lg", "--padding-md", "--padding-sm", "--padding-sm-md", "--padding-xl", "--padding-xs", "--padding-xxs", "--padding-xxxs"], "radius": ["--radius-full", "--radius-lg", "--radius-md", "--radius-sm", "--radius-xl", "--radius-xs", "--radius-xxl", "--radius-xxs"], "border": ["--border-md", "--border-xs"], "shadow": ["--shadow-floating", "--shadow-modal"], "icons": ["--icon-size-lg", "--icon-size-md", "--icon-size-sm", "--icon-size-xl"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"] };
1
+ const categories = { "colour": ["--color-action-icon-active", "--color-action-icon-default", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-ai-gradient-end", "--color-ai-gradient-mid", "--color-ai-gradient-start", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-chat-bubble-received-bg", "--color-chat-bubble-received-text", "--color-chat-bubble-sent-bg", "--color-chat-bubble-sent-text", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-divider", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-text", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary"], "typography": ["--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-code", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-paragraph-em-family", "--font-paragraph-em-letter-spacing", "--font-paragraph-em-line-height", "--font-paragraph-em-size", "--font-paragraph-em-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-em-family", "--font-paragraph-sm-em-letter-spacing", "--font-paragraph-sm-em-line-height", "--font-paragraph-sm-em-size", "--font-paragraph-sm-em-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-lg", "--gap-md", "--gap-sm", "--gap-sm-md", "--gap-xl", "--gap-xs", "--gap-xxl", "--gap-xxs", "--gap-xxxl", "--gap-xxxxl", "--padding-lg", "--padding-md", "--padding-sm", "--padding-sm-md", "--padding-xl", "--padding-xs", "--padding-xxl", "--padding-xxs", "--padding-xxxs"], "radius": ["--radius-full", "--radius-lg", "--radius-md", "--radius-sm", "--radius-xl", "--radius-xs", "--radius-xxl", "--radius-xxs"], "border": ["--border-md", "--border-xs"], "shadow": ["--shadow-floating", "--shadow-modal"], "icons": ["--icon-size-lg", "--icon-size-md", "--icon-size-sm", "--icon-size-xl"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-loop-matrix", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"] };
2
2
  const registry = {
3
3
  categories
4
4
  };
@@ -33,6 +33,13 @@
33
33
  /* Divider */
34
34
  --color-divider: var(--primitive-neutral-08-semi);
35
35
 
36
+ /* Chat bubbles — alias the same roles as light; the underlying container
37
+ and text tokens carry the theme swap. */
38
+ --color-chat-bubble-sent-bg: var(--color-bg-container-secondary);
39
+ --color-chat-bubble-sent-text: var(--color-text-primary);
40
+ --color-chat-bubble-received-bg: var(--color-bg-container-secondary);
41
+ --color-chat-bubble-received-text: var(--color-text-primary);
42
+
36
43
  /* Overlay & controls */
37
44
  --color-scrim: var(--primitive-true-black-strong);
38
45
  --color-control-thumb: var(--primitive-neutral-01);
@@ -88,6 +95,12 @@
88
95
  --color-status-neutral-border: var(--primitive-neutral-06);
89
96
  --color-status-neutral-text: var(--primitive-neutral-01);
90
97
 
98
+ /* AI - The gradient accent, one step brighter than light mode so the ring
99
+ stays luminous on dark surfaces. */
100
+ --color-ai-gradient-start: var(--primitive-purple-05);
101
+ --color-ai-gradient-mid: var(--primitive-blue-05);
102
+ --color-ai-gradient-end: var(--primitive-teal-05);
103
+
91
104
  /* Chart - Contribution heatmap ramp (level 0 = none → level 4 = most) */
92
105
  --color-chart-contribution-0: var(--primitive-neutral-08);
93
106
  --color-chart-contribution-1: var(--primitive-green-10);
@@ -34,6 +34,15 @@
34
34
  /* Divider */
35
35
  --color-divider: var(--primitive-neutral-02-semi);
36
36
 
37
+ /* Chat bubbles — sent (the person) and received (the agent). Both alias
38
+ the container-secondary / text-primary pair today; they exist as their
39
+ own roles so chat surfaces can be re-themed later without touching the
40
+ container ramp. */
41
+ --color-chat-bubble-sent-bg: var(--color-bg-container-secondary);
42
+ --color-chat-bubble-sent-text: var(--color-text-primary);
43
+ --color-chat-bubble-received-bg: var(--color-bg-container-secondary);
44
+ --color-chat-bubble-received-text: var(--color-text-primary);
45
+
37
46
  /* Overlay & controls */
38
47
  --color-scrim: var(--primitive-true-black-semi);
39
48
  --color-control-thumb: var(--primitive-neutral-00);
@@ -99,6 +108,14 @@
99
108
  --color-status-neutral-border: var(--primitive-neutral-07);
100
109
  --color-status-neutral-text: var(--primitive-neutral-08);
101
110
 
111
+ /* AI - The gradient accent reserved for AI entry points and surfaces.
112
+ Purple → blue → teal, so the AI affordance is its own signature and the
113
+ flat action teal keeps meaning "click here". Used as gradient stops
114
+ (AiButton's ring and glow), never as fills for ordinary chrome. */
115
+ --color-ai-gradient-start: var(--primitive-purple-06);
116
+ --color-ai-gradient-mid: var(--primitive-blue-06);
117
+ --color-ai-gradient-end: var(--primitive-teal-06);
118
+
102
119
  /* Chart - Contribution heatmap ramp (level 0 = none → level 4 = most) */
103
120
  --color-chart-contribution-0: var(--color-bg-container-primary);
104
121
  --color-chart-contribution-1: var(--primitive-green-02);
@@ -156,4 +173,29 @@
156
173
  --gap-md: var(--primitive-gap-md);
157
174
  --gap-lg: var(--primitive-gap-lg);
158
175
  --gap-xl: var(--primitive-gap-xl);
176
+
177
+ /* Section rhythm — page-level spacing between major blocks. These are
178
+ the only spacing tokens with a responsive step (see the collapse
179
+ block at the bottom of this file). */
180
+ --gap-xxl: var(--primitive-gap-xxl); /* 60px */
181
+ --gap-xxxl: var(--primitive-gap-xxxl); /* 80px */
182
+ --gap-xxxxl: var(--primitive-gap-xxxxl); /* 120px */
183
+ --padding-xxl: var(--primitive-padding-xxl); /* 60px */
184
+ }
185
+
186
+ /* ============================================
187
+ RESPONSIVE COLLAPSE
188
+ Section-rhythm spacing steps one notch down the primitive scale at
189
+ 768px — the token layer's only breakpoint (typography collapses at the
190
+ same threshold in tokens-typography.css). Component-level spacing
191
+ (gap/padding xl and below) never steps.
192
+ ============================================ */
193
+
194
+ @media (max-width: 768px) {
195
+ [data-theme="light"], :root {
196
+ --gap-xxl: var(--primitive-gap-xl); /* 60 → 40 */
197
+ --gap-xxxl: var(--primitive-gap-xxl); /* 80 → 60 */
198
+ --gap-xxxxl: var(--primitive-gap-xxxl); /* 120 → 80 */
199
+ --padding-xxl: var(--primitive-padding-xl); /* 60 → 40 */
200
+ }
159
201
  }
@@ -26,7 +26,8 @@
26
26
 
27
27
  --motion-duration-deliberate: 400ms; /* Carousel slide */
28
28
  --motion-duration-loop-spin: 1000ms; /* Spinner rotation */
29
- --motion-duration-loop-shimmer: 1800ms; /* Skeleton shimmer */
29
+ --motion-duration-loop-shimmer: 1800ms; /* Skeleton shimmer, agent label sweep */
30
+ --motion-duration-loop-matrix: 1400ms; /* Agent dot-matrix cycle (twelve slots) */
30
31
 
31
32
  /* ============================================
32
33
  EASINGS
@@ -55,6 +56,7 @@
55
56
  --motion-duration-deliberate: 0.01ms;
56
57
  --motion-duration-loop-spin: 0.01ms;
57
58
  --motion-duration-loop-shimmer: 0.01ms;
59
+ --motion-duration-loop-matrix: 0.01ms;
58
60
  }
59
61
 
60
62
  *,
@@ -11,6 +11,11 @@
11
11
 
12
12
  --font-family-primary: 'Nunito Sans', sans-serif;
13
13
 
14
+ /* The one sanctioned monospace stack — CodeBlock, ToolCall names, and
15
+ Prose inline code. Anything monospace references this token. */
16
+ --font-family-code: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas,
17
+ monospace;
18
+
14
19
  /* ============================================
15
20
  DISPLAY STYLES (Large headlines)
16
21
  ============================================ */
@@ -114,3 +119,22 @@
114
119
  --font-paragraph-sm-em-line-height: 20px;
115
120
  --font-paragraph-sm-em-letter-spacing: 0;
116
121
  }
122
+
123
+ /* ============================================
124
+ RESPONSIVE COLLAPSE
125
+ The display tier steps down once, at 768px — the token layer's only
126
+ breakpoint. Headings and body never step; weights and letter-spacing
127
+ never change at any breakpoint (weight contrast is the hierarchy rule).
128
+ ============================================ */
129
+
130
+ @media (max-width: 768px) {
131
+ :root {
132
+ --font-mega-1-size: 64px;
133
+ --font-mega-2-size: 56px;
134
+ --font-display-1-size: 48px;
135
+ --font-display-2-size: 40px;
136
+ --font-display-2-line-height: 1.05;
137
+ --font-sub-display-size: 24px;
138
+ --font-sub-display-line-height: 36px;
139
+ }
140
+ }