@ds-mo/ui 9.2.1 → 11.0.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 (326) hide show
  1. package/README.md +2 -2
  2. package/dist/.build-stamp +1 -1
  3. package/dist/agent-patterns.json +15 -9
  4. package/dist/agent.json +473 -150
  5. package/dist/angular/boolean-value-accessor.js +3 -3
  6. package/dist/angular/ds-agent-activity.js +3 -3
  7. package/dist/angular/ds-agent-response.js +3 -3
  8. package/dist/angular/ds-agent-source-list.js +3 -3
  9. package/dist/angular/ds-agent-tool-call.js +3 -3
  10. package/dist/angular/ds-app-shell.js +3 -3
  11. package/dist/angular/ds-attachment-list.js +3 -3
  12. package/dist/angular/ds-avatar.js +3 -3
  13. package/dist/angular/ds-badge.js +3 -3
  14. package/dist/angular/ds-bar-nav.js +3 -3
  15. package/dist/angular/ds-button-filled.js +3 -3
  16. package/dist/angular/ds-button-unfilled.js +3 -3
  17. package/dist/angular/ds-card-data-viz-donut.js +3 -3
  18. package/dist/angular/ds-card-setting.d.ts +5 -4
  19. package/dist/angular/ds-card-setting.js +6 -6
  20. package/dist/angular/ds-card-shell-data-viz.js +3 -3
  21. package/dist/angular/ds-chart-bar.js +3 -3
  22. package/dist/angular/ds-chart-donut.js +3 -3
  23. package/dist/angular/ds-chart-legend.js +3 -3
  24. package/dist/angular/ds-chart-line.js +3 -3
  25. package/dist/angular/ds-checkbox.js +3 -3
  26. package/dist/angular/ds-chip.js +3 -3
  27. package/dist/angular/ds-code-block.js +3 -3
  28. package/dist/angular/ds-conversation-list-item.js +3 -3
  29. package/dist/angular/ds-conversation-list-section.js +3 -3
  30. package/dist/angular/ds-conversation-list.js +3 -3
  31. package/dist/angular/ds-divider.js +3 -3
  32. package/dist/angular/ds-empty-state.js +3 -3
  33. package/dist/angular/ds-field.js +3 -3
  34. package/dist/angular/ds-icon.js +3 -3
  35. package/dist/angular/ds-input.js +3 -3
  36. package/dist/angular/ds-loader.js +3 -3
  37. package/dist/angular/ds-markdown.js +3 -3
  38. package/dist/angular/ds-menu.js +3 -3
  39. package/dist/angular/ds-message-bubble.js +3 -3
  40. package/dist/angular/ds-message-composer.js +3 -3
  41. package/dist/angular/ds-message-scroller.js +3 -3
  42. package/dist/angular/ds-message.js +3 -3
  43. package/dist/angular/ds-modal.d.ts +12 -3
  44. package/dist/angular/ds-modal.js +9 -6
  45. package/dist/angular/ds-panel-nav.js +3 -3
  46. package/dist/angular/ds-panel-sub-nav.js +3 -3
  47. package/dist/angular/ds-panel-tool-header.js +3 -3
  48. package/dist/angular/ds-panel-tool-search.js +3 -3
  49. package/dist/angular/ds-panel-tools.js +3 -3
  50. package/dist/angular/ds-radio.js +3 -3
  51. package/dist/angular/ds-select-multi.js +3 -3
  52. package/dist/angular/ds-select.js +3 -3
  53. package/dist/angular/ds-shell-gradient-picker.js +3 -3
  54. package/dist/angular/ds-shell-gradient-swatch.js +3 -3
  55. package/dist/angular/ds-skeleton.js +3 -3
  56. package/dist/angular/ds-slider.js +3 -3
  57. package/dist/angular/ds-swatch-picker.js +3 -3
  58. package/dist/angular/ds-switch.js +3 -3
  59. package/dist/angular/ds-tab-group.js +3 -3
  60. package/dist/angular/ds-tag.js +3 -3
  61. package/dist/angular/ds-text.js +3 -3
  62. package/dist/angular/ds-toast.d.ts +22 -0
  63. package/dist/angular/{ds-banner.js → ds-toast.js} +21 -15
  64. package/dist/angular/ds-tooltip-data-viz.js +3 -3
  65. package/dist/angular/ds-tooltip.js +3 -3
  66. package/dist/angular/ds-typing-indicator.d.ts +12 -0
  67. package/dist/angular/{ds-card.js → ds-typing-indicator.js} +12 -12
  68. package/dist/angular/index.d.ts +1 -1
  69. package/dist/angular/index.js +3 -3
  70. package/dist/angular/proxies.d.ts +2 -2
  71. package/dist/angular/proxies.js +2 -2
  72. package/dist/angular/radio-value-accessor.js +3 -3
  73. package/dist/angular/select-value-accessor.js +3 -3
  74. package/dist/angular/text-value-accessor.js +3 -3
  75. package/dist/angular/value-accessor.js +3 -3
  76. package/dist/components/ds-agent-activity.js +1 -1
  77. package/dist/components/ds-agent-response.js +1 -1
  78. package/dist/components/ds-agent-response.js.map +1 -1
  79. package/dist/components/ds-agent-source-list.js +1 -1
  80. package/dist/components/ds-agent-tool-call.js +1 -1
  81. package/dist/components/ds-app-shell.js +1 -1
  82. package/dist/components/ds-attachment-list.js +1 -1
  83. package/dist/components/ds-avatar.js +1 -1
  84. package/dist/components/ds-avatar.js.map +1 -1
  85. package/dist/components/ds-badge.js +1 -1
  86. package/dist/components/ds-bar-nav.js +1 -1
  87. package/dist/components/ds-bar-nav.js.map +1 -1
  88. package/dist/components/ds-button-filled.js +1 -1
  89. package/dist/components/ds-button-unfilled.js +1 -1
  90. package/dist/components/ds-card-data-viz-donut.js +1 -1
  91. package/dist/components/ds-card-data-viz-donut.js.map +1 -1
  92. package/dist/components/ds-card-setting.js +1 -1
  93. package/dist/components/ds-card-setting.js.map +1 -1
  94. package/dist/components/ds-card-shell-data-viz.js +1 -1
  95. package/dist/components/ds-chart-bar.js +1 -1
  96. package/dist/components/ds-chart-donut.js +1 -1
  97. package/dist/components/ds-chart-legend.js +1 -1
  98. package/dist/components/ds-chart-legend.js.map +1 -1
  99. package/dist/components/ds-chart-line.js +1 -1
  100. package/dist/components/ds-checkbox.js +1 -1
  101. package/dist/components/ds-chip.js +1 -1
  102. package/dist/components/ds-chip.js.map +1 -1
  103. package/dist/components/ds-code-block.js +1 -1
  104. package/dist/components/ds-conversation-list-item.js +1 -1
  105. package/dist/components/ds-conversation-list-item.js.map +1 -1
  106. package/dist/components/ds-conversation-list-section.js +1 -1
  107. package/dist/components/ds-conversation-list.js +1 -1
  108. package/dist/components/ds-divider.js +1 -1
  109. package/dist/components/ds-empty-state.js +1 -1
  110. package/dist/components/ds-field.js +1 -1
  111. package/dist/components/ds-icon.js +1 -1
  112. package/dist/components/ds-input.js +1 -1
  113. package/dist/components/ds-input.js.map +1 -1
  114. package/dist/components/ds-markdown.js +1 -1
  115. package/dist/components/ds-menu.js +1 -1
  116. package/dist/components/ds-message-bubble.js +1 -1
  117. package/dist/components/ds-message-bubble.js.map +1 -1
  118. package/dist/components/ds-message-composer.js +1 -1
  119. package/dist/components/ds-message-composer.js.map +1 -1
  120. package/dist/components/ds-message-scroller.js +1 -1
  121. package/dist/components/ds-message-scroller.js.map +1 -1
  122. package/dist/components/ds-message.js +1 -1
  123. package/dist/components/ds-modal.js +1 -1
  124. package/dist/components/ds-modal.js.map +1 -1
  125. package/dist/components/ds-panel-nav.js +1 -1
  126. package/dist/components/ds-panel-nav.js.map +1 -1
  127. package/dist/components/ds-panel-sub-nav.js +1 -1
  128. package/dist/components/ds-panel-sub-nav.js.map +1 -1
  129. package/dist/components/ds-panel-tool-header.js +1 -1
  130. package/dist/components/ds-panel-tool-search.js +1 -1
  131. package/dist/components/ds-panel-tool-search.js.map +1 -1
  132. package/dist/components/ds-panel-tools.js +1 -1
  133. package/dist/components/ds-panel-tools.js.map +1 -1
  134. package/dist/components/ds-radio.js +1 -1
  135. package/dist/components/ds-radio.js.map +1 -1
  136. package/dist/components/ds-select-multi.js +1 -1
  137. package/dist/components/ds-select-multi.js.map +1 -1
  138. package/dist/components/ds-select.js +1 -1
  139. package/dist/components/ds-select.js.map +1 -1
  140. package/dist/components/ds-shell-gradient-picker.js +1 -1
  141. package/dist/components/ds-shell-gradient-swatch.js +1 -1
  142. package/dist/components/ds-skeleton.js +1 -1
  143. package/dist/components/ds-skeleton.js.map +1 -1
  144. package/dist/components/ds-slider.js +1 -1
  145. package/dist/components/ds-slider.js.map +1 -1
  146. package/dist/components/ds-swatch-picker.js +1 -1
  147. package/dist/components/ds-switch.js +1 -1
  148. package/dist/components/ds-tab-group.js +1 -1
  149. package/dist/components/ds-tab-group.js.map +1 -1
  150. package/dist/components/ds-tag.js +1 -1
  151. package/dist/components/ds-tag.js.map +1 -1
  152. package/dist/components/ds-text.js +1 -1
  153. package/dist/components/{ds-card.d.ts → ds-toast.d.ts} +4 -4
  154. package/dist/components/ds-toast.js +2 -0
  155. package/dist/components/ds-toast.js.map +1 -0
  156. package/dist/components/ds-tooltip-data-viz.js +1 -1
  157. package/dist/components/ds-tooltip-data-viz.js.map +1 -1
  158. package/dist/components/ds-tooltip.js +1 -1
  159. package/dist/components/{ds-banner.d.ts → ds-typing-indicator.d.ts} +4 -4
  160. package/dist/components/ds-typing-indicator.js +2 -0
  161. package/dist/components/ds-typing-indicator.js.map +1 -0
  162. package/dist/components/{p-DnMCRAwx.js → p-0kEg-Z4f.js} +2 -2
  163. package/dist/components/p-B8C_yfLQ.js +2 -0
  164. package/dist/components/p-B8C_yfLQ.js.map +1 -0
  165. package/dist/components/{p-DiooIO2B.js → p-BEWtqFX7.js} +2 -2
  166. package/dist/components/p-BMwnjAIq.js +2 -0
  167. package/dist/components/p-BMwnjAIq.js.map +1 -0
  168. package/dist/components/{p-Ci_nVk5P.js → p-BkwBtZs3.js} +2 -2
  169. package/dist/components/p-C3nDIMX5.js +2 -0
  170. package/dist/components/{p-Dj5MejHv.js.map → p-C3nDIMX5.js.map} +1 -1
  171. package/dist/components/{p-CJlgONwR.js → p-C8e2A66f.js} +2 -2
  172. package/dist/components/{p-BRfOCc_h.js → p-CLn7QnE0.js} +2 -2
  173. package/dist/components/{p-kezp2_Xu.js → p-CPPAndX2.js} +2 -2
  174. package/dist/components/p-CTFBf97-.js +2 -0
  175. package/dist/components/{p-CblAABEo.js.map → p-CTFBf97-.js.map} +1 -1
  176. package/dist/components/{p-BSOZXagj.js → p-CZZYGqKz.js} +2 -2
  177. package/dist/components/p-C_0Q8Cnp.js +2 -0
  178. package/dist/components/p-C_0Q8Cnp.js.map +1 -0
  179. package/dist/components/{p-T0Mzhv3-.js → p-CbckeueL.js} +2 -2
  180. package/dist/components/p-CjP8sYlo.js +2 -0
  181. package/dist/components/{p-xB0GPG3-.js.map → p-CjP8sYlo.js.map} +1 -1
  182. package/dist/components/{p-DaQ0ZE_V.js → p-DJ78wdNv.js} +2 -2
  183. package/dist/components/p-DTqCBjUj.js +2 -0
  184. package/dist/components/{p-Dst-OliP.js.map → p-DTqCBjUj.js.map} +1 -1
  185. package/dist/components/{p-CeFBA7Dx.js → p-Dh4q5TSS.js} +2 -2
  186. package/dist/components/p-DirD-b2y.js +2 -0
  187. package/dist/components/{p-BHpWYKtP.js.map → p-DirD-b2y.js.map} +1 -1
  188. package/dist/components/{p-CiwdnKKp.js → p-DrDHC7V6.js} +2 -2
  189. package/dist/components/p-DuNZGFkV.js +2 -0
  190. package/dist/components/p-DuNZGFkV.js.map +1 -0
  191. package/dist/components/{p-Cijzn3YQ.js → p-Hw-HMjCk.js} +2 -2
  192. package/dist/components/p-M5pt9I13.js +2 -0
  193. package/dist/components/p-M5pt9I13.js.map +1 -0
  194. package/dist/components/{p-B1pWGQn1.js → p-bDx_rlLm.js} +2 -2
  195. package/dist/docs/components.json +1509 -1530
  196. package/dist/framework/select-multi-value-accessor.js +3 -3
  197. package/dist/lib/toast/index.d.ts +2 -0
  198. package/dist/lib/toast/index.js +158 -0
  199. package/dist/lib/toast/index.js.map +7 -0
  200. package/dist/lib/toast/toast-manager.d.ts +3 -0
  201. package/dist/lib/toast/toast-types.d.ts +85 -0
  202. package/dist/mcp-data/registry/agent-activity.json +1 -1
  203. package/dist/mcp-data/registry/agent-response.json +6 -6
  204. package/dist/mcp-data/registry/agent-source-list.json +1 -1
  205. package/dist/mcp-data/registry/agent-tool-call.json +1 -1
  206. package/dist/mcp-data/registry/app-shell.json +1 -1
  207. package/dist/mcp-data/registry/attachment-list.json +1 -1
  208. package/dist/mcp-data/registry/avatar.json +1 -1
  209. package/dist/mcp-data/registry/badge.json +1 -1
  210. package/dist/mcp-data/registry/bar-nav.json +1 -1
  211. package/dist/mcp-data/registry/button-filled.json +1 -1
  212. package/dist/mcp-data/registry/button-unfilled.json +1 -1
  213. package/dist/mcp-data/registry/card-data-viz-donut.json +2 -2
  214. package/dist/mcp-data/registry/card-setting.json +99 -13
  215. package/dist/mcp-data/registry/card-shell-data-viz.json +8 -8
  216. package/dist/mcp-data/registry/chart-bar.json +1 -1
  217. package/dist/mcp-data/registry/chart-donut.json +1 -1
  218. package/dist/mcp-data/registry/chart-legend.json +1 -1
  219. package/dist/mcp-data/registry/chart-line.json +1 -1
  220. package/dist/mcp-data/registry/checkbox.json +1 -1
  221. package/dist/mcp-data/registry/chip.json +1 -1
  222. package/dist/mcp-data/registry/code-block.json +1 -1
  223. package/dist/mcp-data/registry/conversation-list-item.json +5 -5
  224. package/dist/mcp-data/registry/conversation-list-section.json +1 -1
  225. package/dist/mcp-data/registry/conversation-list.json +1 -1
  226. package/dist/mcp-data/registry/divider.json +5 -5
  227. package/dist/mcp-data/registry/empty-state.json +1 -1
  228. package/dist/mcp-data/registry/field.json +1 -1
  229. package/dist/mcp-data/registry/icon.json +2 -2
  230. package/dist/mcp-data/registry/input.json +1 -1
  231. package/dist/mcp-data/registry/loader.json +1 -1
  232. package/dist/mcp-data/registry/markdown.json +1 -1
  233. package/dist/mcp-data/registry/menu.json +1 -1
  234. package/dist/mcp-data/registry/message-bubble.json +21 -16
  235. package/dist/mcp-data/registry/message-composer.json +6 -4
  236. package/dist/mcp-data/registry/message-scroller.json +2 -2
  237. package/dist/mcp-data/registry/message.json +7 -6
  238. package/dist/mcp-data/registry/modal.json +154 -24
  239. package/dist/mcp-data/registry/panel-nav.json +4 -3
  240. package/dist/mcp-data/registry/panel-sub-nav.json +2 -2
  241. package/dist/mcp-data/registry/panel-tool-header.json +1 -1
  242. package/dist/mcp-data/registry/panel-tool-search.json +1 -1
  243. package/dist/mcp-data/registry/panel-tools.json +1 -1
  244. package/dist/mcp-data/registry/radio.json +1 -1
  245. package/dist/mcp-data/registry/registry.json +479 -156
  246. package/dist/mcp-data/registry/select-multi.json +1 -1
  247. package/dist/mcp-data/registry/select.json +1 -1
  248. package/dist/mcp-data/registry/shell-gradient-picker.json +1 -1
  249. package/dist/mcp-data/registry/shell-gradient-swatch.json +1 -1
  250. package/dist/mcp-data/registry/skeleton.json +4 -4
  251. package/dist/mcp-data/registry/slider.json +1 -1
  252. package/dist/mcp-data/registry/swatch-picker.json +1 -1
  253. package/dist/mcp-data/registry/switch.json +1 -1
  254. package/dist/mcp-data/registry/tab-group.json +1 -1
  255. package/dist/mcp-data/registry/tag.json +2 -2
  256. package/dist/mcp-data/registry/text.json +2 -2
  257. package/dist/mcp-data/registry/toast.json +318 -0
  258. package/dist/mcp-data/registry/tooltip-data-viz.json +1 -1
  259. package/dist/mcp-data/registry/tooltip.json +1 -1
  260. package/dist/mcp-data/registry/typing-indicator.json +127 -0
  261. package/dist/react/components.d.ts +2 -2
  262. package/dist/react/components.js +2 -2
  263. package/dist/react/ds-card-setting.d.ts +2 -2
  264. package/dist/react/ds-card-setting.js +1 -1
  265. package/dist/react/ds-modal.d.ts +3 -2
  266. package/dist/react/ds-modal.js +4 -1
  267. package/dist/react/ds-toast.d.ts +14 -0
  268. package/dist/react/ds-toast.js +16 -0
  269. package/dist/react/{ds-card.d.ts → ds-typing-indicator.d.ts} +3 -3
  270. package/dist/react/ds-typing-indicator.js +12 -0
  271. package/dist/types/components/CardSetting/CardSetting.d.ts +9 -6
  272. package/dist/types/components/CardSetting/index.d.ts +1 -1
  273. package/dist/types/components/MessageBubble/MessageBubble.d.ts +1 -1
  274. package/dist/types/components/Modal/Modal.d.ts +21 -18
  275. package/dist/types/components/Toast/Toast.d.ts +106 -0
  276. package/dist/types/components/Toast/index.d.ts +2 -0
  277. package/dist/types/components/TypingIndicator/TypingIndicator.d.ts +6 -0
  278. package/dist/types/components.d.ts +164 -182
  279. package/dist/types/toast/index.d.ts +3 -0
  280. package/dist/types/toast/toast-manager.d.ts +4 -0
  281. package/dist/types/toast/toast-types.d.ts +86 -0
  282. package/package.json +12 -8
  283. package/dist/angular/ds-banner.d.ts +0 -15
  284. package/dist/angular/ds-card.d.ts +0 -12
  285. package/dist/components/ds-banner.js +0 -2
  286. package/dist/components/ds-banner.js.map +0 -1
  287. package/dist/components/ds-card.js +0 -2
  288. package/dist/components/ds-card.js.map +0 -1
  289. package/dist/components/p-BHpWYKtP.js +0 -2
  290. package/dist/components/p-BO6C8abO.js +0 -2
  291. package/dist/components/p-BO6C8abO.js.map +0 -1
  292. package/dist/components/p-CBYuvZKM.js +0 -2
  293. package/dist/components/p-CBYuvZKM.js.map +0 -1
  294. package/dist/components/p-CWNdl52Y.js +0 -2
  295. package/dist/components/p-CWNdl52Y.js.map +0 -1
  296. package/dist/components/p-CblAABEo.js +0 -2
  297. package/dist/components/p-CiKGqsA2.js +0 -2
  298. package/dist/components/p-CiKGqsA2.js.map +0 -1
  299. package/dist/components/p-DFxqk71w.js +0 -2
  300. package/dist/components/p-DFxqk71w.js.map +0 -1
  301. package/dist/components/p-Dj5MejHv.js +0 -2
  302. package/dist/components/p-Dst-OliP.js +0 -2
  303. package/dist/components/p-drBA73M_.js +0 -2
  304. package/dist/components/p-drBA73M_.js.map +0 -1
  305. package/dist/components/p-xB0GPG3-.js +0 -2
  306. package/dist/mcp-data/registry/banner.json +0 -206
  307. package/dist/mcp-data/registry/card.json +0 -126
  308. package/dist/react/ds-banner.d.ts +0 -12
  309. package/dist/react/ds-banner.js +0 -12
  310. package/dist/react/ds-card.js +0 -12
  311. package/dist/types/components/Banner/Banner.d.ts +0 -31
  312. package/dist/types/components/Card/Card.d.ts +0 -21
  313. package/dist/types/components/Card/index.d.ts +0 -2
  314. /package/dist/components/{p-DnMCRAwx.js.map → p-0kEg-Z4f.js.map} +0 -0
  315. /package/dist/components/{p-DiooIO2B.js.map → p-BEWtqFX7.js.map} +0 -0
  316. /package/dist/components/{p-Ci_nVk5P.js.map → p-BkwBtZs3.js.map} +0 -0
  317. /package/dist/components/{p-CJlgONwR.js.map → p-C8e2A66f.js.map} +0 -0
  318. /package/dist/components/{p-BRfOCc_h.js.map → p-CLn7QnE0.js.map} +0 -0
  319. /package/dist/components/{p-kezp2_Xu.js.map → p-CPPAndX2.js.map} +0 -0
  320. /package/dist/components/{p-BSOZXagj.js.map → p-CZZYGqKz.js.map} +0 -0
  321. /package/dist/components/{p-T0Mzhv3-.js.map → p-CbckeueL.js.map} +0 -0
  322. /package/dist/components/{p-DaQ0ZE_V.js.map → p-DJ78wdNv.js.map} +0 -0
  323. /package/dist/components/{p-CeFBA7Dx.js.map → p-Dh4q5TSS.js.map} +0 -0
  324. /package/dist/components/{p-CiwdnKKp.js.map → p-DrDHC7V6.js.map} +0 -0
  325. /package/dist/components/{p-Cijzn3YQ.js.map → p-Hw-HMjCk.js.map} +0 -0
  326. /package/dist/components/{p-B1pWGQn1.js.map → p-bDx_rlLm.js.map} +0 -0
@@ -13,7 +13,7 @@
13
13
  "peerDependencies": {
14
14
  "required": [
15
15
  "@ds-mo/tokens ^3.1.1",
16
- "@ds-mo/icons ^6.2.0"
16
+ "@ds-mo/icons ^6.3.0"
17
17
  ],
18
18
  "optional": [],
19
19
  "frameworks": "None required for Custom Elements; generated React and Angular adapters are included."
@@ -135,10 +135,11 @@
135
135
  "Streaming state supplements rather than replaces meaningful textual status."
136
136
  ],
137
137
  "states": [
138
- "The owner replaces immutable part arrays as scripted or live output changes."
138
+ "The owner replaces immutable part arrays as scripted or live output changes.",
139
+ "AgentResponse renders directly in Message without borrowing a plain MessageBubble surface."
139
140
  ],
140
141
  "responsiveBehavior": [
141
- "Rich content uses the wider ghost message treatment while respecting transcript constraints."
142
+ "Rich content uses the available transcript width while respecting readable measure and overflow constraints."
142
143
  ],
143
144
  "references": [
144
145
  {
@@ -191,8 +192,7 @@
191
192
  "agent-tool-call",
192
193
  "attachment-list",
193
194
  "markdown",
194
- "message",
195
- "message-bubble"
195
+ "message"
196
196
  ]
197
197
  },
198
198
  {
@@ -764,69 +764,6 @@
764
764
  "text"
765
765
  ]
766
766
  },
767
- {
768
- "name": "banner",
769
- "title": "Banner",
770
- "description": "Intent-colored message bar. Supports floating toast mode with auto-dismiss and fade-out animation.",
771
- "type": "registry:ui",
772
- "meta": {
773
- "library": "@ds-mo/ui",
774
- "distribution": "npm",
775
- "storybook": "https://zainadeel.github.io/compomo/?path=/story/banner",
776
- "source": "src/wc/components/Banner/Banner.tsx",
777
- "intentStatus": "migration-pending",
778
- "intent": null,
779
- "props": {
780
- "contrast": {
781
- "type": "BannerContrast",
782
- "required": false
783
- },
784
- "dismissLabel": {
785
- "type": "string",
786
- "required": false
787
- },
788
- "floating": {
789
- "type": "boolean",
790
- "required": false
791
- },
792
- "header": {
793
- "type": "boolean",
794
- "required": false
795
- },
796
- "intent": {
797
- "type": "BannerIntent",
798
- "required": false
799
- },
800
- "message": {
801
- "type": "string",
802
- "required": false
803
- },
804
- "showDismiss": {
805
- "type": "boolean",
806
- "required": false
807
- }
808
- },
809
- "events": [
810
- {
811
- "name": "dsDismiss",
812
- "detail": "void"
813
- }
814
- ],
815
- "slots": [],
816
- "exports": {
817
- "customElement": "ds-banner",
818
- "react": "DsBanner",
819
- "angular": "DsBanner"
820
- }
821
- },
822
- "dependencies": [
823
- "@ds-mo/ui",
824
- "@ds-mo/tokens"
825
- ],
826
- "registryDependencies": [
827
- "text"
828
- ]
829
- },
830
767
  {
831
768
  "name": "bar-nav",
832
769
  "title": "BarNav",
@@ -1344,48 +1281,6 @@
1344
1281
  "text"
1345
1282
  ]
1346
1283
  },
1347
- {
1348
- "name": "card",
1349
- "title": "Card",
1350
- "description": "General and settings-compatible card chrome — width + matching min-height tokens, header (title + actions slot), and a flex body that fills leftover space.",
1351
- "type": "registry:ui",
1352
- "meta": {
1353
- "library": "@ds-mo/ui",
1354
- "distribution": "npm",
1355
- "storybook": "https://zainadeel.github.io/compomo/?path=/story/card",
1356
- "source": "src/wc/components/Card/Card.tsx",
1357
- "intentStatus": "migration-pending",
1358
- "intent": null,
1359
- "props": {
1360
- "appearance": {
1361
- "type": "CardAppearance",
1362
- "required": false
1363
- },
1364
- "cardWidth": {
1365
- "type": "CardWidth",
1366
- "required": false
1367
- },
1368
- "heading": {
1369
- "type": "string",
1370
- "required": true
1371
- }
1372
- },
1373
- "events": [],
1374
- "slots": [],
1375
- "exports": {
1376
- "customElement": "ds-card",
1377
- "react": "DsCard",
1378
- "angular": "DsCard"
1379
- }
1380
- },
1381
- "dependencies": [
1382
- "@ds-mo/ui",
1383
- "@ds-mo/tokens"
1384
- ],
1385
- "registryDependencies": [
1386
- "text"
1387
- ]
1388
- },
1389
1284
  {
1390
1285
  "name": "card-data-viz-donut",
1391
1286
  "title": "CardDataVizDonut",
@@ -1437,15 +1332,101 @@
1437
1332
  {
1438
1333
  "name": "card-setting",
1439
1334
  "title": "CardSetting",
1440
- "description": "Settings page section shell composed on ds-card with view/edit header actions. Edit state is controlled by the parent.",
1335
+ "description": "Persistent settings-section surface with a heading, controlled view/edit chrome, fixed edit-save-cancel actions, and application-owned body content.",
1441
1336
  "type": "registry:ui",
1442
1337
  "meta": {
1443
1338
  "library": "@ds-mo/ui",
1444
1339
  "distribution": "npm",
1445
1340
  "storybook": "https://zainadeel.github.io/compomo/?path=/story/card-setting",
1446
1341
  "source": "src/wc/components/CardSetting/CardSetting.tsx",
1447
- "intentStatus": "migration-pending",
1448
- "intent": null,
1342
+ "intentStatus": "complete",
1343
+ "intent": {
1344
+ "audience": "general",
1345
+ "status": "stable",
1346
+ "summary": "Persistent settings-section surface with a heading, controlled view/edit chrome, fixed edit-save-cancel actions, and application-owned body content.",
1347
+ "useWhen": [
1348
+ "A settings page needs a persistent section that switches between read-only and editable content.",
1349
+ "The parent can control one active editing section and owns validation, persistence, cancellation, and body content.",
1350
+ "The section uses the standard Pencil, Save, and Cancel header workflow."
1351
+ ],
1352
+ "avoidWhen": [
1353
+ "The surface contains a chart, legend, metric visualization, or other data-visualization composition.",
1354
+ "The content is a general-purpose read-only card with no settings edit workflow.",
1355
+ "The task must block the rest of the interface or requires confirmation in a modal.",
1356
+ "Several sections must remain editable at the same time.",
1357
+ "The header requires custom actions beyond the fixed edit-save-cancel workflow."
1358
+ ],
1359
+ "alternatives": [
1360
+ {
1361
+ "when": "The surface contains a chart or specialized data-visualization composition.",
1362
+ "component": "component:ds-card-shell-data-viz",
1363
+ "reason": "CardShellDataViz owns the independently evolving data-visualization shell contract."
1364
+ },
1365
+ {
1366
+ "when": "The task must block the interface for one focused decision or short workflow.",
1367
+ "component": "component:ds-modal",
1368
+ "reason": "Modal provides top-layer focus containment and explicit blocking-task dismissal."
1369
+ },
1370
+ {
1371
+ "when": "Only one labeled form control is needed without a section surface.",
1372
+ "component": "component:ds-field",
1373
+ "reason": "Field provides the control label, supporting copy, and validation relationship without card chrome."
1374
+ }
1375
+ ],
1376
+ "commonlyComposedWith": [
1377
+ "component:ds-field",
1378
+ "component:ds-input",
1379
+ "component:ds-select",
1380
+ "component:ds-switch",
1381
+ "component:ds-text"
1382
+ ],
1383
+ "accessibility": [
1384
+ "Provide a concise heading that identifies the settings section; CardSetting renders it as an h2.",
1385
+ "Edit, Save, and Cancel are icon-only controls with localized accessible labels supplied by the matching label props. When several sections share a page, include the section name in each label.",
1386
+ "The owner must expose persistent field labels, descriptions, and validation messages inside the body.",
1387
+ "Save must not remove validation errors or exit editing until the parent accepts the action and updates the controlled editing state.",
1388
+ "Cancel must restore or retain the last persisted values according to product policy before the parent exits editing.",
1389
+ "Keep only one CardSetting in edit mode so keyboard and screen-reader users have one unambiguous set of Save and Cancel actions.",
1390
+ "When another section requests editing, resolve dirty changes in the current section before switching; never silently discard user input."
1391
+ ],
1392
+ "states": [
1393
+ "The editing property is controlled; CardSetting never changes it internally.",
1394
+ "dsAction emits edit, save, or cancel with the original pointer event. The parent decides whether and when editing changes.",
1395
+ "When another section requests edit, the parent keeps one active section and resolves any dirty current section before switching.",
1396
+ "The parent owns read-only versus editable body composition, dirty state, validation, persistence, loading, success, and error consequences.",
1397
+ "A save request keeps the section editing while validation or persistence is pending; the parent exits only after success.",
1398
+ "A cancel request does not persist changes; the parent restores its chosen value snapshot and exits editing."
1399
+ ],
1400
+ "responsiveBehavior": [
1401
+ "Choose sm, md, or lg from the parent layout; each width uses its matching token-based minimum height.",
1402
+ "The surface never exceeds its parent width, while the parent owns wrapping, columns, stacking, and breakpoint changes.",
1403
+ "At narrow widths, keep the fixed header actions visible and let application-owned body layouts collapse before allowing horizontal overflow."
1404
+ ],
1405
+ "frameworkCaveats": {
1406
+ "customElements": [
1407
+ "Set editing as a JavaScript property and inspect dsAction.detail.action before updating the controlled state.",
1408
+ "When one section emits edit, update every sibling CardSetting so only the requested section remains editing."
1409
+ ],
1410
+ "react": [
1411
+ "Pass editing from parent state and inspect onDsAction event detail; do not treat Save as successful until validation and persistence complete.",
1412
+ "Store one active section id and derive each CardSetting editing prop from that id."
1413
+ ],
1414
+ "angular": [
1415
+ "Bind [editing] and inspect $event.detail.action from (dsAction); do not treat Save as successful until validation and persistence complete.",
1416
+ "Store one active section id and derive each CardSetting editing binding from that id."
1417
+ ]
1418
+ },
1419
+ "references": [
1420
+ {
1421
+ "label": "Storybook controlled and single-edit examples",
1422
+ "path": "src/wc/components/CardSetting/CardSetting.stories.ts"
1423
+ },
1424
+ {
1425
+ "label": "Cross-browser shell and action coverage",
1426
+ "path": "tests/e2e/card-setting.spec.ts"
1427
+ }
1428
+ ]
1429
+ },
1449
1430
  "props": {
1450
1431
  "cancelLabel": {
1451
1432
  "type": "string",
@@ -1474,8 +1455,8 @@
1474
1455
  },
1475
1456
  "events": [
1476
1457
  {
1477
- "name": "dsEditingChange",
1478
- "detail": "boolean"
1458
+ "name": "dsAction",
1459
+ "detail": "CardSettingActionDetail"
1479
1460
  }
1480
1461
  ],
1481
1462
  "slots": [],
@@ -1492,13 +1473,13 @@
1492
1473
  "registryDependencies": [
1493
1474
  "button-filled",
1494
1475
  "button-unfilled",
1495
- "card"
1476
+ "text"
1496
1477
  ]
1497
1478
  },
1498
1479
  {
1499
1480
  "name": "card-shell-data-viz",
1500
1481
  "title": "CardShellDataViz",
1501
- "description": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts will evolve independently from general and settings cards.",
1482
+ "description": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts evolve independently from settings sections.",
1502
1483
  "type": "registry:ui",
1503
1484
  "meta": {
1504
1485
  "library": "@ds-mo/ui",
@@ -1509,22 +1490,22 @@
1509
1490
  "intent": {
1510
1491
  "audience": "specialized",
1511
1492
  "status": "experimental",
1512
- "summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts will evolve independently from general and settings cards.",
1493
+ "summary": "Dedicated header, action, sizing, and body chrome for data-visualization cards whose layouts evolve independently from settings sections.",
1513
1494
  "useWhen": [
1514
1495
  "A card contains a chart, data-visualization legend, metric visualization, or a specialized data-viz composition.",
1515
1496
  "A data-visualization card needs a heading and optional header actions while retaining a flexible body for its composing component.",
1516
- "Several chart-specific cards need one shell boundary that can evolve without changing general or settings cards."
1497
+ "Several chart-specific cards need one shell boundary that can evolve without changing settings sections."
1517
1498
  ],
1518
1499
  "avoidWhen": [
1519
1500
  "The card contains settings or editable form content; use the settings card composition.",
1520
- "The surface is ordinary content without data visualization; use the general card shell.",
1501
+ "The surface is ordinary content without data visualization; use a product-owned layout rather than data-viz card chrome.",
1521
1502
  "The shell would own chart-specific layout, hover synchronization, legends, or empty-state policy; keep those in the composing data-viz card."
1522
1503
  ],
1523
1504
  "alternatives": [
1524
1505
  {
1525
- "when": "The card contains general content rather than data visualization.",
1526
- "component": "component:ds-card",
1527
- "reason": "Card owns the existing general and settings-compatible chrome contract."
1506
+ "when": "The surface contains editable settings rather than data visualization.",
1507
+ "component": "component:ds-card-setting",
1508
+ "reason": "CardSetting owns the persistent controlled settings-section workflow."
1528
1509
  },
1529
1510
  {
1530
1511
  "when": "The composition is the standard donut chart plus synchronized legend.",
@@ -2276,10 +2257,10 @@
2276
2257
  ],
2277
2258
  "states": [
2278
2259
  "Rows reuse the md choice-item label/subtext recipe used by Menu, including 6px row padding, 2px text inset, and the shared content gap. The enclosing conversation-list scroll region supplies the larger 8px outer container padding.",
2279
- "Busy and error are generic channel-neutral states; the owning product supplies suitable status wording.",
2260
+ "Busy and error are generic channel-neutral states; the owning product supplies suitable status wording. A busy row pairs its body-small status with the sm 16px Loader at an 8px gap.",
2280
2261
  "Any positive unreadCount renders one dot on the title row rather than a visible counter; the accessible row name may still announce the exact unread quantity.",
2281
2262
  "Hover and press use the shared interaction hover and pressed overlays. Only the selected conversation uses the persistent active fill.",
2282
- "The title uses body-medium emphasis, not title-small, and the body-small preview truncates after one line. Unread titles use primary foreground; read titles use secondary foreground.",
2263
+ "The title uses body-medium, not title-small, and the body-small preview truncates after one line. Unread titles use emphasis with primary foreground; read titles use regular weight with secondary foreground.",
2283
2264
  "The actions slot overlays the row at an 8px right inset without changing title or preview measure, and paints above the row interaction wash while that wash remains active."
2284
2265
  ],
2285
2266
  "responsiveBehavior": [
@@ -2448,9 +2429,9 @@
2448
2429
  ],
2449
2430
  "alternatives": [
2450
2431
  {
2451
- "when": "Content needs an enclosing surface and outer boundary.",
2452
- "component": "component:ds-card",
2453
- "reason": "Card owns container chrome, structure, and edge treatment."
2432
+ "when": "Editable settings need an enclosing section surface and outer boundary.",
2433
+ "component": "component:ds-card-setting",
2434
+ "reason": "CardSetting owns settings-section chrome, structure, and edge treatment."
2454
2435
  },
2455
2436
  {
2456
2437
  "when": "A static compact label is being used to name a group.",
@@ -2459,7 +2440,7 @@
2459
2440
  }
2460
2441
  ],
2461
2442
  "commonlyComposedWith": [
2462
- "component:ds-card",
2443
+ "component:ds-card-setting",
2463
2444
  "component:ds-menu",
2464
2445
  "component:ds-panel-sub-nav"
2465
2446
  ],
@@ -3490,7 +3471,7 @@
3490
3471
  {
3491
3472
  "name": "message",
3492
3473
  "title": "Message",
3493
- "description": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and accessory regions.",
3474
+ "description": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and header, footer, or action accessory regions.",
3494
3475
  "type": "registry:ui",
3495
3476
  "meta": {
3496
3477
  "library": "@ds-mo/ui",
@@ -3501,7 +3482,7 @@
3501
3482
  "intent": {
3502
3483
  "audience": "general",
3503
3484
  "status": "experimental",
3504
- "summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and accessory regions.",
3485
+ "summary": "Channel-neutral message row owning direction, grouping, author, time, delivery metadata, and header, footer, or action accessory regions.",
3505
3486
  "useWhen": [
3506
3487
  "A transcript contains messages that need consistent incoming, outgoing, or system layout."
3507
3488
  ],
@@ -3517,10 +3498,11 @@
3517
3498
  ],
3518
3499
  "accessibility": [
3519
3500
  "Author and time metadata remain textual when they are necessary to interpret the transcript.",
3520
- "Delivery failure must be expressed in text rather than color alone."
3501
+ "Delivery failure uses negative Failed to send text in the footer while the message bubble keeps its normal outgoing treatment."
3521
3502
  ],
3522
3503
  "states": [
3523
3504
  "Pass an ISO timestamp. Message keeps the full value in dateTime and formats the visible value as a localized time; applications must not render a raw ISO string as visible transcript metadata.",
3505
+ "Visible author, bubble content, and timestamp or delivery footer use consistent 4px vertical gaps.",
3524
3506
  "Grouping joins adjacent bubble corners, shows the incoming author only at the start, and shows delivery/time metadata only at the end. Outgoing author remains in the accessible message label without repeating a visible You label.",
3525
3507
  "Set showAuthor false only when the product makes participant and assistant roles visually self-evident; continue passing author so the accessible message label remains specific."
3526
3508
  ],
@@ -3591,7 +3573,7 @@
3591
3573
  {
3592
3574
  "name": "message-bubble",
3593
3575
  "title": "MessageBubble",
3594
- "description": "Visible message content surface with a body-medium default, separated from message-row direction and metadata.",
3576
+ "description": "Visible plain-message surface with a body-medium default, separated from message-row direction and metadata.",
3595
3577
  "type": "registry:ui",
3596
3578
  "meta": {
3597
3579
  "library": "@ds-mo/ui",
@@ -3602,27 +3584,32 @@
3602
3584
  "intent": {
3603
3585
  "audience": "general",
3604
3586
  "status": "experimental",
3605
- "summary": "Visible message content surface with a body-medium default, separated from message-row direction and metadata.",
3587
+ "summary": "Visible plain-message surface with a body-medium default, separated from message-row direction and metadata.",
3606
3588
  "useWhen": [
3607
- "Message content needs a primary, secondary, ghost, or error surface within a Message row.",
3608
- "Plain incoming or outgoing message copy should use the shared body-medium regular typography recipe without application styling."
3589
+ "Plain user-sent or received person-to-person message copy needs a visible surface within a Message row.",
3590
+ "Plain conversation copy should use the shared body-medium regular typography recipe without application styling."
3609
3591
  ],
3610
3592
  "avoidWhen": [
3611
3593
  "The surface is a general card, callout, or form container.",
3612
- "The application wants to promote ordinary conversation copy to body-large; message typography stays body-medium unless a distinct authored rich-content element owns its own complete type recipe."
3594
+ "The content is a rich agent response; compose AgentResponse directly in Message.",
3595
+ "The state only indicates that another participant is typing; use TypingIndicator."
3613
3596
  ],
3614
3597
  "commonlyComposedWith": [
3615
- "component:ds-message",
3616
- "component:ds-markdown"
3598
+ "component:ds-message"
3617
3599
  ],
3618
3600
  "patterns": [
3619
3601
  "pattern:conversation"
3620
3602
  ],
3621
3603
  "accessibility": [
3622
- "Surface styling does not add semantics; meaningful error or status copy belongs in message content or metadata."
3604
+ "Surface styling does not add semantics; failed delivery belongs in Message metadata below the unchanged bubble rather than in an error bubble treatment."
3605
+ ],
3606
+ "states": [
3607
+ "The user variant represents user-sent copy in agent and person-to-person channels and uses secondary foreground.",
3608
+ "The received variant represents ordinary incoming person-to-person copy.",
3609
+ "Typing and rich agent output are not MessageBubble variants."
3623
3610
  ],
3624
3611
  "responsiveBehavior": [
3625
- "The bubble wraps content and allows wide ghost responses to use more transcript width."
3612
+ "The bubble wraps plain message copy within the transcript width."
3626
3613
  ],
3627
3614
  "references": [
3628
3615
  {
@@ -3687,7 +3674,9 @@
3687
3674
  ],
3688
3675
  "states": [
3689
3676
  "The owner controls draft value and transport state; the composer emits intent without performing transport.",
3690
- "Use the tools slot for leading actions such as add and the actions slot for trailing actions such as dictation; the built-in submit or stop action remains last.",
3677
+ "Use the tools slot for leading actions such as add and the actions slot for trailing actions such as dictation; the built-in submit or stop action remains last with an 8px gap from the preceding action. These icon buttons use the standard non-rounded control radius.",
3678
+ "The composer surface uses the 10px --dimension-radius-125 token.",
3679
+ "Mouse or keyboard focus on the textarea gives the complete composer surface the same bold-brand inset stroke width and color as an active Input; the native textarea never draws a separate outline.",
3691
3680
  "The submit action defaults to brand for both agent and person-to-person conversations; change submitIntent only when the action consequence has a different semantic intent."
3692
3681
  ],
3693
3682
  "responsiveBehavior": [
@@ -3796,7 +3785,7 @@
3796
3785
  "Selection and transcript interaction release automatic following.",
3797
3786
  "Opening saved history, message jumps, and prepended history preserve deliberate position.",
3798
3787
  "The scroll-to-latest action is absent at the live edge, appears only after the reader moves away, and disappears again after returning to the newest message.",
3799
- "Place a composer container in the overlay slot so messages scroll behind it; the scroller measures its live height, reserves matching transcript clearance, and keeps scroll-to-latest above it."
3788
+ "Place a composer container with 8px padding on every side in the overlay slot so messages scroll behind it; the scroller measures its live height, reserves matching transcript clearance, and keeps scroll-to-latest above it."
3800
3789
  ],
3801
3790
  "responsiveBehavior": [
3802
3791
  "Transcript width is readable while the scroll region fills available height."
@@ -3850,16 +3839,117 @@
3850
3839
  {
3851
3840
  "name": "modal",
3852
3841
  "title": "Modal",
3853
- "description": "Dialog overlay with portal rendering, escape-to-close, backdrop click, focus management, and entry/exit animations.",
3842
+ "description": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
3854
3843
  "type": "registry:ui",
3855
3844
  "meta": {
3856
3845
  "library": "@ds-mo/ui",
3857
3846
  "distribution": "npm",
3858
3847
  "storybook": "https://zainadeel.github.io/compomo/?path=/story/modal",
3859
3848
  "source": "src/wc/components/Modal/Modal.tsx",
3860
- "intentStatus": "migration-pending",
3861
- "intent": null,
3849
+ "intentStatus": "complete",
3850
+ "intent": {
3851
+ "audience": "general",
3852
+ "status": "stable",
3853
+ "summary": "Dismissible native top-layer dialog for a focused confirmation or short blocking task, with a fixed title-and-close header, composable content, and an optional two-action footer.",
3854
+ "useWhen": [
3855
+ "The user must confirm or cancel one focused decision before returning to the underlying interface.",
3856
+ "A short blocking task or compact form needs dialog semantics, focus containment, and explicit completion actions.",
3857
+ "The content can be safely dismissed through Close, Escape, or the backdrop."
3858
+ ],
3859
+ "avoidWhen": [
3860
+ "The message is non-blocking feedback or a transient status update.",
3861
+ "The interaction is a contextual list of commands anchored to a trigger.",
3862
+ "The workflow is multi-step, long-form, or requires substantial navigation.",
3863
+ "Dismissal would lose work or leave an irreversible operation in an unsafe state.",
3864
+ "A second modal would be opened over an existing modal."
3865
+ ],
3866
+ "alternatives": [
3867
+ {
3868
+ "when": "The user needs non-blocking feedback or a transient status message.",
3869
+ "component": "component:ds-toast",
3870
+ "reason": "Toast communicates transient status without trapping focus or blocking the page."
3871
+ },
3872
+ {
3873
+ "when": "A trigger reveals a short contextual list of commands.",
3874
+ "component": "component:ds-menu",
3875
+ "reason": "Menu provides anchored command semantics without creating a blocking dialog."
3876
+ },
3877
+ {
3878
+ "when": "Editable settings should remain visible without blocking the rest of the interface.",
3879
+ "component": "component:ds-card-setting",
3880
+ "reason": "CardSetting provides a persistent controlled settings workflow without modal focus containment."
3881
+ }
3882
+ ],
3883
+ "commonlyComposedWith": [
3884
+ "component:ds-button-filled",
3885
+ "component:ds-button-unfilled",
3886
+ "component:ds-field",
3887
+ "component:ds-text"
3888
+ ],
3889
+ "accessibility": [
3890
+ "Provide a concise visible heading; the component uses it as the dialog's accessible name.",
3891
+ "Give the primary explanatory copy a stable id and pass it through aria-describedby so assistive technology receives the decision context.",
3892
+ "Opening the native modal dialog moves focus to the header Close action, traps Tab navigation inside the top layer, and makes outside content inert.",
3893
+ "Close, Escape, and backdrop activation emit dsClose with close-button, escape, or backdrop reason before beginning dismissal; use the component only when every dismissal path is safe.",
3894
+ "After exit motion completes, the native dialog leaves the top layer, focus returns to the previously focused element, and dsAfterClose emits.",
3895
+ "Use visible label-only footer buttons. Keep at most two actions: one bold filled primary action followed by one bordered unfilled action, or two bordered unfilled actions.",
3896
+ "Use negative intent for a filled destructive action and state the irreversible consequence in the content.",
3897
+ "Do not open a modal from another modal; keep one blocking decision in focus at a time."
3898
+ ],
3899
+ "states": [
3900
+ "The owner opens the modal through the open property and responds to the typed dsClose detail for application state synchronization or dismissal analytics.",
3901
+ "The component mutates open to false for Close, Escape, and backdrop dismissal while retaining its rendered surface through exit motion.",
3902
+ "The default slot owns task content; the named footer slot is optional and is hidden when no actions are assigned.",
3903
+ "Primary actions use a bold filled button with semantic intent. Secondary and cancel actions use bordered label-only unfilled buttons.",
3904
+ "The owner performs save, delete, cancel, and other product consequences before or while closing the modal."
3905
+ ],
3906
+ "responsiveBehavior": [
3907
+ "Choose the smallest sm, md, or lg width that fits the focused task; the top-layer dialog clamps to the viewport with token-based outer space.",
3908
+ "Content scrolls independently when needed while the 64px header and optional 64px footer remain fixed.",
3909
+ "Avoid layouts whose minimum content width exceeds the narrow viewport clamp.",
3910
+ "The native top layer escapes transformed ancestors, clipping containers, and application stacking contexts without moving slotted content."
3911
+ ],
3912
+ "frameworkCaveats": {
3913
+ "customElements": [
3914
+ "Set open as a JavaScript property when controlling the modal; inspect dsClose.detail.reason and use dsAfterClose for cleanup that must wait for exit motion and focus restoration.",
3915
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
3916
+ "Footer actions are slotted application-owned controls and must implement their own product consequence."
3917
+ ],
3918
+ "react": [
3919
+ "Pass open to DsModal, inspect onDsClose event detail, and use onDsAfterClose only for cleanup after exit motion and focus restoration.",
3920
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
3921
+ "Assign footer controls with slot=\"footer\" and handle each action before updating open."
3922
+ ],
3923
+ "angular": [
3924
+ "Bind [open], inspect $event.detail from (dsClose), and use (dsAfterClose) only for cleanup after exit motion and focus restoration.",
3925
+ "Connect the most relevant slotted explanatory text through aria-describedby.",
3926
+ "Assign footer controls with slot=\"footer\" and handle each action before updating open."
3927
+ ]
3928
+ },
3929
+ "references": [
3930
+ {
3931
+ "label": "Storybook confirmation and footer examples",
3932
+ "path": "src/wc/components/Modal/Modal.stories.ts"
3933
+ },
3934
+ {
3935
+ "label": "Cross-browser focus, dismissal, geometry, and accessibility coverage",
3936
+ "path": "tests/e2e/accessibility-overlays.spec.ts"
3937
+ },
3938
+ {
3939
+ "label": "Reduced-motion overlay coverage",
3940
+ "path": "tests/e2e/reduced-motion.spec.ts"
3941
+ }
3942
+ ]
3943
+ },
3862
3944
  "props": {
3945
+ "ariaDescribedby": {
3946
+ "type": "string | undefined",
3947
+ "required": false
3948
+ },
3949
+ "closeAriaLabel": {
3950
+ "type": "string",
3951
+ "required": false
3952
+ },
3863
3953
  "heading": {
3864
3954
  "type": "string",
3865
3955
  "required": true
@@ -3871,16 +3961,16 @@
3871
3961
  "open": {
3872
3962
  "type": "boolean",
3873
3963
  "required": false
3874
- },
3875
- "subtitle": {
3876
- "type": "string | undefined",
3877
- "required": false
3878
3964
  }
3879
3965
  },
3880
3966
  "events": [
3881
3967
  {
3882
- "name": "dsClose",
3968
+ "name": "dsAfterClose",
3883
3969
  "detail": "void"
3970
+ },
3971
+ {
3972
+ "name": "dsClose",
3973
+ "detail": "ModalCloseDetail"
3884
3974
  }
3885
3975
  ],
3886
3976
  "slots": [],
@@ -3895,6 +3985,7 @@
3895
3985
  "@ds-mo/tokens"
3896
3986
  ],
3897
3987
  "registryDependencies": [
3988
+ "button-unfilled",
3898
3989
  "text"
3899
3990
  ]
3900
3991
  },
@@ -3967,6 +4058,7 @@
3967
4058
  "Dashboard presents day-to-day operational destinations; Settings presents administrative and configuration destinations.",
3968
4059
  "The standard footer switches the entire destination collection and navStyle between Dashboard and Settings and exposes the user/account entry.",
3969
4060
  "The host owns the external user menu opened from dsNavUserAction.",
4061
+ "Item and header controls inherit the shared md control radius while local shell geometry continues to own collapsed layout and footer animation positioning.",
3970
4062
  "On desktop, allow user-controlled expand and collapse and persist the preference with storageKey when cross-session persistence is appropriate."
3971
4063
  ],
3972
4064
  "responsiveBehavior": [
@@ -4184,7 +4276,7 @@
4184
4276
  }
4185
4277
  ],
4186
4278
  "commonlyComposedWith": [
4187
- "component:ds-card",
4279
+ "component:ds-card-setting",
4188
4280
  "component:ds-text"
4189
4281
  ],
4190
4282
  "accessibility": [
@@ -5677,7 +5769,7 @@
5677
5769
  }
5678
5770
  ],
5679
5771
  "commonlyComposedWith": [
5680
- "component:ds-card",
5772
+ "component:ds-card-setting",
5681
5773
  "component:ds-text",
5682
5774
  "component:ds-icon"
5683
5775
  ],
@@ -5688,7 +5780,7 @@
5688
5780
  "The owner preserves focus and meaningful reading order when replacing placeholders with real content."
5689
5781
  ],
5690
5782
  "states": [
5691
- "Text, icon, and control variants are atomic metric canvases aligned to their corresponding design-system recipes.",
5783
+ "Text, icon, and control variants are atomic metric canvases aligned to their corresponding design-system recipes; control atoms inherit the selected control density's default radius.",
5692
5784
  "Compose approximate line count, hierarchy, widths, and control placement without simulating actual values.",
5693
5785
  "Shimmer is on by default and may be disabled for a static placeholder. Reduced motion always produces the static final shape.",
5694
5786
  "Rounded is an optional visual treatment for icon and control atoms rather than a semantic state.",
@@ -6458,7 +6550,7 @@
6458
6550
  }
6459
6551
  ],
6460
6552
  "commonlyComposedWith": [
6461
- "component:ds-card",
6553
+ "component:ds-card-setting",
6462
6554
  "component:ds-text",
6463
6555
  "component:ds-icon",
6464
6556
  "component:ds-menu"
@@ -6612,7 +6704,7 @@
6612
6704
  ],
6613
6705
  "commonlyComposedWith": [
6614
6706
  "component:ds-icon",
6615
- "component:ds-card",
6707
+ "component:ds-card-setting",
6616
6708
  "component:ds-field",
6617
6709
  "component:ds-button-filled"
6618
6710
  ],
@@ -6730,6 +6822,168 @@
6730
6822
  ],
6731
6823
  "registryDependencies": []
6732
6824
  },
6825
+ {
6826
+ "name": "toast",
6827
+ "title": "Toast",
6828
+ "description": "Application-level floating notification system with a global manager, queued bottom-end stack, anchored feedback, actions, promise states, priority announcements, pauseable timers, keyboard access, and swipe dismissal.",
6829
+ "type": "registry:ui",
6830
+ "meta": {
6831
+ "library": "@ds-mo/ui",
6832
+ "distribution": "npm",
6833
+ "storybook": "https://zainadeel.github.io/compomo/?path=/story/toast",
6834
+ "source": "src/wc/components/Toast/Toast.tsx",
6835
+ "intentStatus": "complete",
6836
+ "intent": {
6837
+ "audience": "general",
6838
+ "status": "stable",
6839
+ "summary": "Application-level floating notification system with a global manager, queued bottom-end stack, anchored feedback, actions, promise states, priority announcements, pauseable timers, keyboard access, and swipe dismissal.",
6840
+ "useWhen": [
6841
+ "A completed or failed operation needs brief non-blocking feedback without moving page content.",
6842
+ "An application needs one coordinated notification queue that can be triggered outside the current component tree.",
6843
+ "A short-lived undo or recovery action belongs directly with transient feedback.",
6844
+ "Contextual feedback such as Copy confirmation should appear near the control that caused it."
6845
+ ],
6846
+ "avoidWhen": [
6847
+ "The message must remain visible as part of page content or contains information users need later.",
6848
+ "The user must make a decision before continuing; use Modal for a blocking workflow.",
6849
+ "Validation belongs to a specific field or form section; keep the error adjacent to that content.",
6850
+ "The notification would contain long prose, several actions, navigation, or a complete workflow.",
6851
+ "Repeated background events would create a noisy stream instead of one updated or deduplicated toast."
6852
+ ],
6853
+ "alternatives": [
6854
+ {
6855
+ "when": "The user must respond before continuing or an irreversible action needs confirmation.",
6856
+ "component": "component:ds-modal",
6857
+ "reason": "Modal owns blocking focus containment and explicit decision actions."
6858
+ },
6859
+ {
6860
+ "when": "A form control needs persistent validation or supporting guidance.",
6861
+ "component": "component:ds-field",
6862
+ "reason": "Field keeps actionable feedback associated with the control that needs correction."
6863
+ },
6864
+ {
6865
+ "when": "A compact status must remain visible in the page hierarchy.",
6866
+ "component": "component:ds-tag",
6867
+ "reason": "Tag represents persistent static metadata rather than transient feedback."
6868
+ }
6869
+ ],
6870
+ "commonlyComposedWith": [
6871
+ "component:ds-button-filled",
6872
+ "component:ds-button-unfilled",
6873
+ "component:ds-modal",
6874
+ "component:ds-field"
6875
+ ],
6876
+ "accessibility": [
6877
+ "Mount one ds-toast near the application root. New notifications never move focus.",
6878
+ "Provide a concise title, description, or both. Do not place the only recovery instructions in an automatically expiring toast.",
6879
+ "Use low priority for ordinary feedback. Reserve high priority for urgent interruptions that warrant assertive announcement.",
6880
+ "F6 moves focus into the Notifications region; Escape dismisses the focused toast and focus returns to a surviving toast or the previous control.",
6881
+ "Timers pause while users hover, focus, swipe, or leave the document, preserving the remaining reading time.",
6882
+ "Use timeout 0 for feedback that must remain until explicitly dismissed. Keep action labels concise and uniquely understandable.",
6883
+ "Anchored feedback supplements the triggering control but does not replace its accessible name, state, or persistent result.",
6884
+ "Do not include secrets, customer PII, or sensitive operational details in transient notification text."
6885
+ ],
6886
+ "states": [
6887
+ "The manager owns add, ID-based upsert, update, close, closeAll, and promise transitions. The component renders the manager snapshot.",
6888
+ "Loading promise records remain persistent until the same id updates to success or error and begins its resulting timeout.",
6889
+ "Only the newest records up to the limit are visible in the global stack. The collapsed trail insets each successive toast by 8px per side; hover or keyboard focus expands all visible records to full width. Older records remain mounted and inert until promoted.",
6890
+ "All timers pause together on hover, focus, touch swipe, window blur, or hidden-document state and resume from their exact remainder.",
6891
+ "Closing records remain rendered through exit motion before removal callbacks and dsToastRemove.",
6892
+ "One optional bordered unfilled action sits below the text at bottom-left, emits dsToastAction, and runs the supplied callback without dismissing automatically.",
6893
+ "Swipe state exposes movement and direction hooks; down and right are the default dismissal directions.",
6894
+ "Anchored records use trigger-relative positioning and do not consume the global stack limit."
6895
+ ],
6896
+ "responsiveBehavior": [
6897
+ "The global stack stays at the viewport bottom-end with token-based inset and never exceeds the available viewport width.",
6898
+ "Anchored toasts flip on their placement axis and clamp to viewport padding when the preferred side does not fit.",
6899
+ "The owner does not create separate mobile and desktop managers; one queue preserves ordering across responsive layouts.",
6900
+ "Pointer swipe remains optional input. Close and action controls retain keyboard access through the notification region."
6901
+ ],
6902
+ "frameworkCaveats": {
6903
+ "customElements": [
6904
+ "Import ds-toast once and call toastManager from @ds-mo/ui/toast. Assign a custom manager and swipeDirections through JavaScript properties.",
6905
+ "Mount one ds-toast per manager; a second connected viewport for the same manager remains inactive."
6906
+ ],
6907
+ "react": [
6908
+ "Render one DsToast near the application root and import toastManager or createToastManager from @ds-mo/ui/toast.",
6909
+ "Pass custom manager, action callbacks, data, positioner anchors, and swipe directions as properties rather than string attributes."
6910
+ ],
6911
+ "angular": [
6912
+ "Import DsToast once near the application root and import toastManager or createToastManager from @ds-mo/ui/toast.",
6913
+ "Use property binding for manager, action callbacks, data, positioner anchors, and swipeDirections."
6914
+ ]
6915
+ },
6916
+ "references": [
6917
+ {
6918
+ "label": "Storybook examples",
6919
+ "path": "src/wc/components/Toast/Toast.stories.ts"
6920
+ },
6921
+ {
6922
+ "label": "Manager unit coverage",
6923
+ "path": "tests/toast-manager.test.ts"
6924
+ },
6925
+ {
6926
+ "label": "Cross-browser behavior coverage",
6927
+ "path": "tests/e2e/toast.spec.ts"
6928
+ }
6929
+ ]
6930
+ },
6931
+ "props": {
6932
+ "closeLabel": {
6933
+ "type": "string",
6934
+ "required": false
6935
+ },
6936
+ "label": {
6937
+ "type": "string",
6938
+ "required": false
6939
+ },
6940
+ "limit": {
6941
+ "type": "number",
6942
+ "required": false
6943
+ },
6944
+ "manager": {
6945
+ "type": "ToastManager",
6946
+ "required": false
6947
+ },
6948
+ "swipeDirections": {
6949
+ "type": "ToastSwipeDirection[]",
6950
+ "required": false
6951
+ },
6952
+ "timeout": {
6953
+ "type": "number | string",
6954
+ "required": false
6955
+ }
6956
+ },
6957
+ "events": [
6958
+ {
6959
+ "name": "dsToastAction",
6960
+ "detail": "ToastActionEventDetail"
6961
+ },
6962
+ {
6963
+ "name": "dsToastClose",
6964
+ "detail": "ToastCloseEventDetail"
6965
+ },
6966
+ {
6967
+ "name": "dsToastRemove",
6968
+ "detail": "ToastEventDetail"
6969
+ }
6970
+ ],
6971
+ "slots": [],
6972
+ "exports": {
6973
+ "customElement": "ds-toast",
6974
+ "react": "DsToast",
6975
+ "angular": "DsToast"
6976
+ }
6977
+ },
6978
+ "dependencies": [
6979
+ "@ds-mo/ui",
6980
+ "@ds-mo/tokens"
6981
+ ],
6982
+ "registryDependencies": [
6983
+ "button-unfilled",
6984
+ "text"
6985
+ ]
6986
+ },
6733
6987
  {
6734
6988
  "name": "tooltip",
6735
6989
  "title": "Tooltip",
@@ -6927,6 +7181,75 @@
6927
7181
  "registryDependencies": [
6928
7182
  "text"
6929
7183
  ]
7184
+ },
7185
+ {
7186
+ "name": "typing-indicator",
7187
+ "title": "TypingIndicator",
7188
+ "description": "Dedicated transient status for another participant actively composing a message.",
7189
+ "type": "registry:ui",
7190
+ "meta": {
7191
+ "library": "@ds-mo/ui",
7192
+ "distribution": "npm",
7193
+ "storybook": "https://zainadeel.github.io/compomo/?path=/story/typing-indicator",
7194
+ "source": "src/wc/components/TypingIndicator/TypingIndicator.tsx",
7195
+ "intentStatus": "complete",
7196
+ "intent": {
7197
+ "audience": "general",
7198
+ "status": "experimental",
7199
+ "summary": "Dedicated transient status for another participant actively composing a message.",
7200
+ "useWhen": [
7201
+ "An agent or person-to-person conversation needs to show that another participant is currently typing."
7202
+ ],
7203
+ "avoidWhen": [
7204
+ "An operation is loading or streaming a response; use Loader or the owning region's busy state.",
7205
+ "The status represents persisted message content; use Message and MessageBubble."
7206
+ ],
7207
+ "commonlyComposedWith": [
7208
+ "component:ds-message",
7209
+ "component:ds-message-scroller"
7210
+ ],
7211
+ "patterns": [
7212
+ "pattern:conversation"
7213
+ ],
7214
+ "accessibility": [
7215
+ "Provide concise localized status text that names the participant when that context is not otherwise clear.",
7216
+ "The polite atomic status announces typing without representing it as a message bubble."
7217
+ ],
7218
+ "states": [
7219
+ "TypingIndicator is transient conversation status, never persisted message content.",
7220
+ "Its body-small secondary text may shimmer, while reduced-motion preferences retain a static readable status."
7221
+ ],
7222
+ "responsiveBehavior": [
7223
+ "The indicator fills the message content width and wraps only when localized status text requires it."
7224
+ ],
7225
+ "references": [
7226
+ {
7227
+ "label": "Storybook example",
7228
+ "path": "src/wc/components/TypingIndicator/TypingIndicator.stories.ts"
7229
+ }
7230
+ ]
7231
+ },
7232
+ "props": {
7233
+ "label": {
7234
+ "type": "string",
7235
+ "required": false
7236
+ }
7237
+ },
7238
+ "events": [],
7239
+ "slots": [],
7240
+ "exports": {
7241
+ "customElement": "ds-typing-indicator",
7242
+ "react": "DsTypingIndicator",
7243
+ "angular": "DsTypingIndicator"
7244
+ }
7245
+ },
7246
+ "dependencies": [
7247
+ "@ds-mo/ui",
7248
+ "@ds-mo/tokens"
7249
+ ],
7250
+ "registryDependencies": [
7251
+ "text"
7252
+ ]
6930
7253
  }
6931
7254
  ]
6932
7255
  }