@common-origin/design-system 2.20.0 → 2.22.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 (103) hide show
  1. package/dist/client.js +1015 -499
  2. package/dist/client.js.map +1 -1
  3. package/dist/components/atoms/AILabel/AILabel.d.mts +30 -0
  4. package/dist/components/atoms/AILabel/AILabel.d.ts +30 -0
  5. package/dist/components/atoms/AILabel/AILabel.mjs +94 -0
  6. package/dist/components/atoms/AILabel/AILabel.mjs.map +1 -0
  7. package/dist/components/atoms/AILabel/index.d.mts +1 -0
  8. package/dist/components/atoms/AILabel/index.d.ts +1 -0
  9. package/dist/components/atoms/Badge/Badge.d.mts +16 -4
  10. package/dist/components/atoms/Badge/Badge.d.ts +16 -4
  11. package/dist/components/atoms/Badge/Badge.mjs +4 -5
  12. package/dist/components/atoms/Badge/index.d.mts +1 -1
  13. package/dist/components/atoms/Badge/index.d.ts +1 -1
  14. package/dist/components/atoms/Button/Button.mjs +1 -1
  15. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.mts +23 -8
  16. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.ts +23 -8
  17. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs +31 -18
  18. package/dist/components/atoms/CategoryLabel/index.d.mts +1 -1
  19. package/dist/components/atoms/CategoryLabel/index.d.ts +1 -1
  20. package/dist/components/atoms/Chip/SuggestionChip.d.mts +24 -0
  21. package/dist/components/atoms/Chip/SuggestionChip.d.ts +24 -0
  22. package/dist/components/atoms/Chip/SuggestionChip.mjs +61 -0
  23. package/dist/components/atoms/Chip/SuggestionChip.mjs.map +1 -0
  24. package/dist/components/atoms/Chip/index.d.mts +1 -0
  25. package/dist/components/atoms/Chip/index.d.ts +1 -0
  26. package/dist/components/atoms/Chip/shared/utils.mjs +1 -1
  27. package/dist/components/atoms/Chip/shared/utils.mjs.map +1 -1
  28. package/dist/components/atoms/Icon/Icon.mjs +1 -1
  29. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs +14 -60
  30. package/dist/components/atoms/StatusBadge/StatusBadge.d.mts +3 -2
  31. package/dist/components/atoms/StatusBadge/StatusBadge.d.ts +3 -2
  32. package/dist/components/atoms/StatusBadge/StatusBadge.mjs +1 -1
  33. package/dist/components/atoms/StatusBadge/StatusBadge.mjs.map +1 -1
  34. package/dist/components/atoms/StatusLabel/StatusLabel.d.mts +5 -2
  35. package/dist/components/atoms/StatusLabel/StatusLabel.d.ts +5 -2
  36. package/dist/components/atoms/StatusLabel/StatusLabel.mjs +5 -2
  37. package/dist/components/atoms/StatusLabel/StatusLabel.mjs.map +1 -1
  38. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.mts +2 -2
  39. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.ts +2 -2
  40. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs +19 -13
  41. package/dist/components/atoms/StatusLabel/StatusShape.d.mts +4 -0
  42. package/dist/components/atoms/StatusLabel/StatusShape.d.ts +4 -0
  43. package/dist/components/atoms/StatusLabel/StatusShape.mjs +31 -0
  44. package/dist/components/atoms/StatusLabel/StatusShape.mjs.map +1 -0
  45. package/dist/components/atoms/Typography/Typography.mjs +2 -2
  46. package/dist/components/atoms/index.d.mts +1 -0
  47. package/dist/components/atoms/index.d.ts +1 -0
  48. package/dist/components/molecules/AccountCard/AccountCard.mjs +21 -13
  49. package/dist/components/molecules/AgentInput/AgentInput.d.mts +63 -1
  50. package/dist/components/molecules/AgentInput/AgentInput.d.ts +63 -1
  51. package/dist/components/molecules/AgentInput/AgentInput.mjs +476 -112
  52. package/dist/components/molecules/AgentInput/agentInputSpeech.d.mts +2 -0
  53. package/dist/components/molecules/AgentInput/agentInputSpeech.d.ts +2 -0
  54. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs +5 -1
  55. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs.map +1 -1
  56. package/dist/components/molecules/AgentInput/index.d.mts +1 -1
  57. package/dist/components/molecules/AgentInput/index.d.ts +1 -1
  58. package/dist/components/molecules/Alert/Alert.d.mts +4 -4
  59. package/dist/components/molecules/Alert/Alert.d.ts +4 -4
  60. package/dist/components/molecules/Alert/Alert.mjs +5 -4
  61. package/dist/components/molecules/CardLarge/CardLarge.mjs +1 -0
  62. package/dist/components/molecules/ChipGroup/ChipGroup.mjs +2 -0
  63. package/dist/components/molecules/CodeBlock/CodeBlock.mjs +1 -1
  64. package/dist/components/molecules/Dropdown/Dropdown.mjs +2 -2
  65. package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs +1 -0
  66. package/dist/components/molecules/InlineAlert/InlineAlert.mjs +15 -5
  67. package/dist/components/molecules/TabBar/TabBar.mjs +3 -3
  68. package/dist/components/molecules/TransactionListItem/TransactionListItem.d.mts +1 -1
  69. package/dist/components/molecules/TransactionListItem/TransactionListItem.d.ts +1 -1
  70. package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs +15 -31
  71. package/dist/data.js +817 -294
  72. package/dist/data.js.map +1 -1
  73. package/dist/index.js +2 -0
  74. package/dist/index.js.map +1 -1
  75. package/dist/index.mjs +2 -0
  76. package/dist/index.mjs.map +1 -1
  77. package/dist/lib/statusShapes.d.mts +2 -0
  78. package/dist/lib/statusShapes.d.ts +2 -0
  79. package/dist/lib/statusShapes.mjs +16 -0
  80. package/dist/lib/statusShapes.mjs.map +1 -0
  81. package/dist/lib/styleUtils.mjs +2 -2
  82. package/dist/lib/styleUtils.mjs.map +1 -1
  83. package/dist/lib/tokenAliases.mjs +16 -10
  84. package/dist/lib/tokenAliases.mjs.map +1 -1
  85. package/dist/styles/icons.json +171 -1
  86. package/dist/styles/icons.json.mjs +185 -3
  87. package/dist/styles/icons.json.mjs.map +1 -1
  88. package/dist/styles/tokens.d.mts +957 -123
  89. package/dist/styles/tokens.d.ts +957 -123
  90. package/dist/styles/tokens.json +633 -292
  91. package/dist/styles/tokens.json.mjs +633 -292
  92. package/dist/styles/tokens.json.mjs.map +1 -1
  93. package/dist/tokens/index.js +633 -292
  94. package/dist/tokens/index.js.map +1 -1
  95. package/dist/tokens/index.mjs +633 -292
  96. package/dist/tokens/index.mjs.map +1 -1
  97. package/dist/tokens/styles/tokens.d.mts +957 -123
  98. package/dist/tokens/styles/tokens.d.ts +957 -123
  99. package/dist/tokens.css +499 -212
  100. package/dist/types/icons.d.mts +1 -1
  101. package/dist/types/icons.d.ts +1 -1
  102. package/dist/types/icons.mjs.map +1 -1
  103. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export type IconName = 'add' | 'addRing' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'bell' | 'cancel' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'checkRing' | 'close' | 'copy' | 'creditCard' | 'crossCircle' | 'directionRight' | 'directionUp' | 'edit' | 'export' | 'fileDocSearch' | 'filter' | 'info' | 'kebab' | 'lamp' | 'lineOut' | 'link' | 'meatballs' | 'menu' | 'message' | 'move' | 'mic' | 'order' | 'paper' | 'pause' | 'play' | 'playBack' | 'refresh' | 'remove' | 'search' | 'star' | 'starFilled' | 'table' | 'trash' | 'userBox' | 'view' | 'viewHide' | 'wallet';
1
+ export type IconName = 'add' | 'ai' | 'addRing' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'bell' | 'cancel' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'checkRing' | 'close' | 'copy' | 'creditCard' | 'crossCircle' | 'directionRight' | 'directionUp' | 'edit' | 'export' | 'fileDocSearch' | 'filter' | 'info' | 'kebab' | 'lamp' | 'lineOut' | 'link' | 'meatballs' | 'menu' | 'message' | 'move' | 'mic' | 'order' | 'paper' | 'pause' | 'play' | 'playBack' | 'refresh' | 'remove' | 'search' | 'star' | 'starFilled' | 'statusCancelled' | 'statusError' | 'statusInProgress' | 'statusInfo' | 'statusNotStarted' | 'statusPending' | 'statusScheduled' | 'statusSerious' | 'statusSuccess' | 'statusWarning' | 'stop' | 'table' | 'trash' | 'userBox' | 'view' | 'viewHide' | 'wallet';
2
2
  /** Semantic category for grouping icons by purpose */
3
3
  export type IconCategory = 'action' | 'communication' | 'content' | 'feedback' | 'media' | 'navigation' | 'object' | 'status' | 'user';
4
4
  /** Enriched metadata for each icon entry in icons.json */
@@ -1,4 +1,4 @@
1
- export type IconName = 'add' | 'addRing' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'bell' | 'cancel' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'checkRing' | 'close' | 'copy' | 'creditCard' | 'crossCircle' | 'directionRight' | 'directionUp' | 'edit' | 'export' | 'fileDocSearch' | 'filter' | 'info' | 'kebab' | 'lamp' | 'lineOut' | 'link' | 'meatballs' | 'menu' | 'message' | 'move' | 'mic' | 'order' | 'paper' | 'pause' | 'play' | 'playBack' | 'refresh' | 'remove' | 'search' | 'star' | 'starFilled' | 'table' | 'trash' | 'userBox' | 'view' | 'viewHide' | 'wallet';
1
+ export type IconName = 'add' | 'ai' | 'addRing' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'bell' | 'cancel' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'checkRing' | 'close' | 'copy' | 'creditCard' | 'crossCircle' | 'directionRight' | 'directionUp' | 'edit' | 'export' | 'fileDocSearch' | 'filter' | 'info' | 'kebab' | 'lamp' | 'lineOut' | 'link' | 'meatballs' | 'menu' | 'message' | 'move' | 'mic' | 'order' | 'paper' | 'pause' | 'play' | 'playBack' | 'refresh' | 'remove' | 'search' | 'star' | 'starFilled' | 'statusCancelled' | 'statusError' | 'statusInProgress' | 'statusInfo' | 'statusNotStarted' | 'statusPending' | 'statusScheduled' | 'statusSerious' | 'statusSuccess' | 'statusWarning' | 'stop' | 'table' | 'trash' | 'userBox' | 'view' | 'viewHide' | 'wallet';
2
2
  /** Semantic category for grouping icons by purpose */
3
3
  export type IconCategory = 'action' | 'communication' | 'content' | 'feedback' | 'media' | 'navigation' | 'object' | 'status' | 'user';
4
4
  /** Enriched metadata for each icon entry in icons.json */
@@ -1 +1 @@
1
- {"version":3,"file":"icons.mjs","sources":["../../src/types/icons.ts"],"sourcesContent":["// Icon type definitions for external consumption\n// This is a self-contained type that doesn't depend on JSON imports\n// to ensure it works correctly in consuming projects\n\nimport iconsJson from '../styles/icons.json'\n\nexport type IconName =\n | 'add'\n | 'addRing'\n | 'arrowDown'\n | 'arrowLeft'\n | 'arrowRight'\n | 'arrowUp'\n | 'back'\n | 'bell'\n | 'cancel'\n | 'caret'\n | 'caretDown'\n | 'caretUp'\n | 'check'\n | 'checkRing'\n | 'close'\n | 'copy'\n | 'creditCard'\n | 'crossCircle'\n | 'directionRight'\n | 'directionUp'\n | 'edit'\n | 'export'\n | 'fileDocSearch'\n | 'filter'\n | 'info'\n | 'kebab'\n | 'lamp'\n | 'lineOut'\n | 'link'\n | 'meatballs'\n | 'menu'\n | 'message'\n | 'move'\n | 'mic'\n | 'order'\n | 'paper'\n | 'pause'\n | 'play'\n | 'playBack'\n | 'refresh'\n | 'remove'\n | 'search'\n | 'star'\n | 'starFilled'\n | 'table'\n | 'trash'\n | 'userBox'\n | 'view'\n | 'viewHide'\n | 'wallet'\n\n/** Semantic category for grouping icons by purpose */\nexport type IconCategory =\n | 'action'\n | 'communication'\n | 'content'\n | 'feedback'\n | 'media'\n | 'navigation'\n | 'object'\n | 'status'\n | 'user'\n\n/** Enriched metadata for each icon entry in icons.json */\nexport interface IconMetadata {\n /** SVG path data */\n path: string\n /** Display name of the icon */\n name: string\n /** What the icon visually depicts */\n description: string\n /** Semantic category for grouping */\n category: IconCategory\n /** Alternative names and search terms */\n aliases: string[]\n /** When and why to use this icon */\n intent: string\n /** Whether the icon is typically decorative (true) or informative (false) */\n decorativeDefault: boolean\n /** Suggested accessible label when the icon conveys meaning */\n ariaLabelDefault: string\n}\n\n/** The full icon registry keyed by IconName */\nexport type IconRegistry = Record<IconName, IconMetadata>\n\n// Typed as IconRegistry so emitted .d.ts files don't import JSON (needs `resolveJsonModule` in consumers).\nexport const iconsData = iconsJson as IconRegistry\n"],"names":["iconsData","iconsJson"],"mappings":";;AAAA;AACA;AACA;AA2FA;AACO,IAAMA,SAAS,GAAGC;;;;"}
1
+ {"version":3,"file":"icons.mjs","sources":["../../src/types/icons.ts"],"sourcesContent":["// Icon type definitions for external consumption\n// This is a self-contained type that doesn't depend on JSON imports\n// to ensure it works correctly in consuming projects\n\nimport iconsJson from '../styles/icons.json'\n\nexport type IconName =\n | 'add'\n | 'ai'\n | 'addRing'\n | 'arrowDown'\n | 'arrowLeft'\n | 'arrowRight'\n | 'arrowUp'\n | 'back'\n | 'bell'\n | 'cancel'\n | 'caret'\n | 'caretDown'\n | 'caretUp'\n | 'check'\n | 'checkRing'\n | 'close'\n | 'copy'\n | 'creditCard'\n | 'crossCircle'\n | 'directionRight'\n | 'directionUp'\n | 'edit'\n | 'export'\n | 'fileDocSearch'\n | 'filter'\n | 'info'\n | 'kebab'\n | 'lamp'\n | 'lineOut'\n | 'link'\n | 'meatballs'\n | 'menu'\n | 'message'\n | 'move'\n | 'mic'\n | 'order'\n | 'paper'\n | 'pause'\n | 'play'\n | 'playBack'\n | 'refresh'\n | 'remove'\n | 'search'\n | 'star'\n | 'starFilled'\n | 'statusCancelled'\n | 'statusError'\n | 'statusInProgress'\n | 'statusInfo'\n | 'statusNotStarted'\n | 'statusPending'\n | 'statusScheduled'\n | 'statusSerious'\n | 'statusSuccess'\n | 'statusWarning'\n | 'stop'\n | 'table'\n | 'trash'\n | 'userBox'\n | 'view'\n | 'viewHide'\n | 'wallet'\n\n/** Semantic category for grouping icons by purpose */\nexport type IconCategory =\n | 'action'\n | 'communication'\n | 'content'\n | 'feedback'\n | 'media'\n | 'navigation'\n | 'object'\n | 'status'\n | 'user'\n\n/** Enriched metadata for each icon entry in icons.json */\nexport interface IconMetadata {\n /** SVG path data */\n path: string\n /** Display name of the icon */\n name: string\n /** What the icon visually depicts */\n description: string\n /** Semantic category for grouping */\n category: IconCategory\n /** Alternative names and search terms */\n aliases: string[]\n /** When and why to use this icon */\n intent: string\n /** Whether the icon is typically decorative (true) or informative (false) */\n decorativeDefault: boolean\n /** Suggested accessible label when the icon conveys meaning */\n ariaLabelDefault: string\n}\n\n/** The full icon registry keyed by IconName */\nexport type IconRegistry = Record<IconName, IconMetadata>\n\n// Typed as IconRegistry so emitted .d.ts files don't import JSON (needs `resolveJsonModule` in consumers).\nexport const iconsData = iconsJson as IconRegistry\n"],"names":["iconsData","iconsJson"],"mappings":";;AAAA;AACA;AACA;AAuGA;AACO,IAAMA,SAAS,GAAGC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-origin/design-system",
3
- "version": "2.20.0",
3
+ "version": "2.22.0",
4
4
  "description": "Common Origin Design System - Framework-agnostic atomic design components with comprehensive WCAG 2.2 AA testing",
5
5
  "private": false,
6
6
  "main": "dist/index.js",