@ds-mo/ui 13.6.1 → 13.8.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 (315) hide show
  1. package/dist/.package-ready.json +1 -1
  2. package/dist/agent-patterns.json +1 -1
  3. package/dist/agent.json +109 -371
  4. package/dist/angular/ds-card-chart.d.ts +18 -0
  5. package/dist/angular/{ds-card-data-viz.js → ds-card-chart.js} +10 -10
  6. package/dist/angular/ds-chart.d.ts +19 -0
  7. package/dist/angular/{ds-chart-donut.js → ds-chart.js} +15 -15
  8. package/dist/angular/ds-tooltip-chart.d.ts +12 -0
  9. package/dist/angular/{ds-chart-line.js → ds-tooltip-chart.js} +12 -12
  10. package/dist/angular/index.d.ts +1 -1
  11. package/dist/angular/index.js +3 -5
  12. package/dist/angular/proxies.d.ts +3 -5
  13. package/dist/angular/proxies.js +3 -5
  14. package/dist/components/ds-agent-activity.js +1 -1
  15. package/dist/components/ds-agent-response.js +1 -1
  16. package/dist/components/ds-agent-source-list.js +1 -1
  17. package/dist/components/ds-agent-tool-call.js +1 -1
  18. package/dist/components/ds-attachment-list.js +1 -1
  19. package/dist/components/ds-badge.js +1 -1
  20. package/dist/components/ds-banner.js +1 -1
  21. package/dist/components/ds-banner.js.map +1 -1
  22. package/dist/components/ds-bar-nav.js +1 -1
  23. package/dist/components/ds-bar-title.js +1 -1
  24. package/dist/components/ds-bar-workflow.js +1 -1
  25. package/dist/components/ds-breadcrumb.js +1 -1
  26. package/dist/components/ds-button-filled.js +1 -1
  27. package/dist/components/ds-button-unfilled.js +1 -1
  28. package/dist/components/{ds-chart-line.d.ts → ds-card-chart.d.ts} +4 -4
  29. package/dist/components/ds-card-chart.js +2 -0
  30. package/dist/components/ds-card-chart.js.map +1 -0
  31. package/dist/components/ds-card-overview.js +1 -1
  32. package/dist/components/ds-card-overview.js.map +1 -1
  33. package/dist/components/ds-card-setting.js +1 -1
  34. package/dist/components/ds-card-setting.js.map +1 -1
  35. package/dist/components/ds-chart-legend.js +1 -1
  36. package/dist/components/ds-chart-legend.js.map +1 -1
  37. package/dist/components/{ds-chart-bar.d.ts → ds-chart.d.ts} +4 -4
  38. package/dist/components/ds-chart.js +2 -0
  39. package/dist/components/ds-chart.js.map +1 -0
  40. package/dist/components/ds-checkbox.js +1 -1
  41. package/dist/components/ds-chip.js +1 -1
  42. package/dist/components/ds-code-block.js +1 -1
  43. package/dist/components/ds-conversation-list-item.js +1 -1
  44. package/dist/components/ds-conversation-list-section.js +1 -1
  45. package/dist/components/ds-conversation-list.js +1 -1
  46. package/dist/components/ds-divider.js +1 -1
  47. package/dist/components/ds-empty-state.js +1 -1
  48. package/dist/components/ds-field.js +1 -1
  49. package/dist/components/ds-input.js +1 -1
  50. package/dist/components/ds-markdown.js +1 -1
  51. package/dist/components/ds-menu.js +1 -1
  52. package/dist/components/ds-message-actions.js +1 -1
  53. package/dist/components/ds-message-bubble.js +1 -1
  54. package/dist/components/ds-message-composer.js +1 -1
  55. package/dist/components/ds-message-scroller.js +1 -1
  56. package/dist/components/ds-message.js +1 -1
  57. package/dist/components/ds-mobile-bar-nav.js +1 -1
  58. package/dist/components/ds-mobile-header.js +1 -1
  59. package/dist/components/ds-mobile-section-switcher.js +1 -1
  60. package/dist/components/ds-mobile-sheet-nav.js +1 -1
  61. package/dist/components/ds-modal.js +1 -1
  62. package/dist/components/ds-modal.js.map +1 -1
  63. package/dist/components/ds-panel-nav.js +1 -1
  64. package/dist/components/ds-panel-sub-nav.js +1 -1
  65. package/dist/components/ds-panel-tool-header.js +1 -1
  66. package/dist/components/ds-panel-tool-search.js +1 -1
  67. package/dist/components/ds-panel-tools.js +1 -1
  68. package/dist/components/ds-radio.js +1 -1
  69. package/dist/components/ds-scroll-overlay.js +1 -1
  70. package/dist/components/ds-select.js +1 -1
  71. package/dist/components/ds-select.js.map +1 -1
  72. package/dist/components/ds-shell-app.js +1 -1
  73. package/dist/components/ds-shell-page.js +1 -1
  74. package/dist/components/ds-shell-tools.js +1 -1
  75. package/dist/components/ds-skeleton.js +1 -1
  76. package/dist/components/ds-slider.js +1 -1
  77. package/dist/components/ds-swatch-picker.js +1 -1
  78. package/dist/components/ds-switch.js +1 -1
  79. package/dist/components/ds-tab-group.js +1 -1
  80. package/dist/components/ds-tag.js +1 -1
  81. package/dist/components/ds-text.js +1 -1
  82. package/dist/components/ds-toast.js +1 -1
  83. package/dist/components/ds-toast.js.map +1 -1
  84. package/dist/components/{ds-card-data-viz.d.ts → ds-tooltip-chart.d.ts} +4 -4
  85. package/dist/components/ds-tooltip-chart.js +2 -0
  86. package/dist/components/ds-tooltip.js +1 -1
  87. package/dist/components/ds-typing-indicator.js +1 -1
  88. package/dist/components/{p-iCjUWcp7.js → p-2inC7Jm-.js} +2 -2
  89. package/dist/components/{p-iCjUWcp7.js.map → p-2inC7Jm-.js.map} +1 -1
  90. package/dist/components/{p-DaqFuVKZ.js → p-B16OuqyJ.js} +2 -2
  91. package/dist/components/{p-BmNpPyzf.js → p-B4VlfBNc.js} +2 -2
  92. package/dist/components/{p-og48Kh2i.js → p-B6z51yBf.js} +2 -2
  93. package/dist/components/{p-Bb4f5SuF.js → p-BNiIyZCn.js} +2 -2
  94. package/dist/components/{p-BFfHIu6y.js → p-BP-EtYbR.js} +2 -2
  95. package/dist/components/{p-DHF5cLzr.js → p-BQ7Nzx9A.js} +2 -2
  96. package/dist/components/{p-B-kRByho.js → p-BQDi0v_h.js} +2 -2
  97. package/dist/components/{p-BBtjABBS.js → p-BYB0f1_F.js} +2 -2
  98. package/dist/components/p-BjIYFiuQ.js +2 -0
  99. package/dist/components/{p-D0bM3cKj.js.map → p-BjIYFiuQ.js.map} +1 -1
  100. package/dist/components/{p-DfvDNcoq.js → p-BjoyHNaM.js} +2 -2
  101. package/dist/components/{p-Bl6A5AJq.js → p-BkWhTEqe.js} +2 -2
  102. package/dist/components/p-BnGJrBPG.js +2 -0
  103. package/dist/components/{p-1S9AW2MA.js.map → p-BnGJrBPG.js.map} +1 -1
  104. package/dist/components/p-BtS5na9O.js +2 -0
  105. package/dist/components/{p-DX4c3kZ1.js.map → p-BtS5na9O.js.map} +1 -1
  106. package/dist/components/p-CCYgBUUS.js +2 -0
  107. package/dist/components/{p-D2cjoj2r.js.map → p-CCYgBUUS.js.map} +1 -1
  108. package/dist/components/p-CXduurfd.js +2 -0
  109. package/dist/components/p-CXduurfd.js.map +1 -0
  110. package/dist/components/{p-CxgMUvqg.js → p-CnbrksLl.js} +2 -2
  111. package/dist/components/{p-Eep5mxtv.js → p-Cog5NTLa.js} +2 -2
  112. package/dist/components/{p-Bmo4T96l.js → p-D2dQyoyK.js} +2 -2
  113. package/dist/components/{p-BPyymeuR.js → p-D6g070eY.js} +2 -2
  114. package/dist/components/{p-wOOAzVMC.js → p-D8qgVmHn.js} +2 -2
  115. package/dist/components/{p-BR_oMaas.js → p-DJ0XMH9E.js} +2 -2
  116. package/dist/components/{p-B6RrZQqw.js → p-DK4PGrHm.js} +2 -2
  117. package/dist/components/{p-DVuxzrCC.js → p-DLwM1RNL.js} +2 -2
  118. package/dist/components/p-DW9p068S.js +2 -0
  119. package/dist/components/{p-CuJ3J6OJ.js.map → p-DW9p068S.js.map} +1 -1
  120. package/dist/components/{p-Bsfpxto1.js → p-Dg9qiMDa.js} +2 -2
  121. package/dist/components/p-Dg9qiMDa.js.map +1 -0
  122. package/dist/components/{p-B4_0Ys4w.js → p-DgglLVCj.js} +2 -2
  123. package/dist/components/p-DmblUQ4D.js +2 -0
  124. package/dist/components/p-DmblUQ4D.js.map +1 -0
  125. package/dist/components/{p-6B411hQA.js → p-Dv8_hmUZ.js} +2 -2
  126. package/dist/components/{p-IYy-jODg.js → p-DwKC_9u2.js} +2 -2
  127. package/dist/components/p-GbTasczF.js +2 -0
  128. package/dist/components/{p-CzraIk34.js → p-HIg1XX62.js} +2 -2
  129. package/dist/components/{p-Di81y9Q2.js → p-KFHFBznh.js} +2 -2
  130. package/dist/components/{p-CKRJX0Y0.js → p-PQgDzzn9.js} +2 -2
  131. package/dist/components/{p-Ca6s5fLR.js → p-iyiOFsws.js} +2 -2
  132. package/dist/docs/components.json +180 -662
  133. package/dist/lib/utils/chart-grammar.d.ts +359 -0
  134. package/dist/lib/utils/index.d.ts +2 -0
  135. package/dist/lib/utils/index.js +504 -0
  136. package/dist/lib/utils/index.js.map +4 -4
  137. package/dist/lib/utils/token-defaults.d.ts +3 -0
  138. package/dist/mcp-data/registry/agent-activity.json +1 -1
  139. package/dist/mcp-data/registry/agent-response.json +1 -1
  140. package/dist/mcp-data/registry/agent-source-list.json +1 -1
  141. package/dist/mcp-data/registry/agent-tool-call.json +1 -1
  142. package/dist/mcp-data/registry/attachment-list.json +1 -1
  143. package/dist/mcp-data/registry/avatar.json +1 -1
  144. package/dist/mcp-data/registry/badge.json +1 -1
  145. package/dist/mcp-data/registry/banner.json +1 -1
  146. package/dist/mcp-data/registry/bar-nav.json +2 -2
  147. package/dist/mcp-data/registry/bar-title.json +1 -1
  148. package/dist/mcp-data/registry/bar-workflow.json +1 -1
  149. package/dist/mcp-data/registry/breadcrumb.json +1 -1
  150. package/dist/mcp-data/registry/button-filled.json +1 -1
  151. package/dist/mcp-data/registry/button-unfilled.json +1 -1
  152. package/dist/mcp-data/registry/card-chart.json +238 -0
  153. package/dist/mcp-data/registry/card-overview.json +7 -7
  154. package/dist/mcp-data/registry/card-setting.json +5 -5
  155. package/dist/mcp-data/registry/chart-legend.json +12 -19
  156. package/dist/mcp-data/registry/chart.json +258 -0
  157. package/dist/mcp-data/registry/checkbox.json +1 -1
  158. package/dist/mcp-data/registry/chip.json +1 -1
  159. package/dist/mcp-data/registry/code-block.json +1 -1
  160. package/dist/mcp-data/registry/conversation-list-item.json +1 -1
  161. package/dist/mcp-data/registry/conversation-list-section.json +1 -1
  162. package/dist/mcp-data/registry/conversation-list.json +1 -1
  163. package/dist/mcp-data/registry/divider.json +1 -1
  164. package/dist/mcp-data/registry/empty-state.json +1 -1
  165. package/dist/mcp-data/registry/field.json +1 -1
  166. package/dist/mcp-data/registry/icon.json +1 -1
  167. package/dist/mcp-data/registry/input.json +1 -1
  168. package/dist/mcp-data/registry/loader.json +1 -1
  169. package/dist/mcp-data/registry/markdown.json +1 -1
  170. package/dist/mcp-data/registry/menu.json +1 -1
  171. package/dist/mcp-data/registry/message-actions.json +1 -1
  172. package/dist/mcp-data/registry/message-bubble.json +1 -1
  173. package/dist/mcp-data/registry/message-composer.json +1 -1
  174. package/dist/mcp-data/registry/message-scroller.json +1 -1
  175. package/dist/mcp-data/registry/message.json +1 -1
  176. package/dist/mcp-data/registry/mobile-bar-nav.json +1 -1
  177. package/dist/mcp-data/registry/mobile-header.json +1 -1
  178. package/dist/mcp-data/registry/mobile-section-switcher.json +1 -1
  179. package/dist/mcp-data/registry/mobile-sheet-nav.json +1 -1
  180. package/dist/mcp-data/registry/modal.json +1 -1
  181. package/dist/mcp-data/registry/panel-nav.json +1 -1
  182. package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
  183. package/dist/mcp-data/registry/panel-tool-header.json +1 -1
  184. package/dist/mcp-data/registry/panel-tool-search.json +1 -1
  185. package/dist/mcp-data/registry/panel-tools.json +1 -1
  186. package/dist/mcp-data/registry/radio.json +1 -1
  187. package/dist/mcp-data/registry/registry.json +109 -377
  188. package/dist/mcp-data/registry/scroll-overlay.json +1 -1
  189. package/dist/mcp-data/registry/select.json +1 -1
  190. package/dist/mcp-data/registry/shell-app.json +1 -1
  191. package/dist/mcp-data/registry/shell-page.json +1 -1
  192. package/dist/mcp-data/registry/shell-tools.json +1 -1
  193. package/dist/mcp-data/registry/skeleton.json +3 -3
  194. package/dist/mcp-data/registry/slider.json +1 -1
  195. package/dist/mcp-data/registry/swatch-picker.json +1 -1
  196. package/dist/mcp-data/registry/switch.json +1 -1
  197. package/dist/mcp-data/registry/tab-group.json +1 -1
  198. package/dist/mcp-data/registry/tag.json +1 -1
  199. package/dist/mcp-data/registry/text.json +1 -1
  200. package/dist/mcp-data/registry/toast.json +1 -1
  201. package/dist/mcp-data/registry/tooltip-chart.json +253 -0
  202. package/dist/mcp-data/registry/tooltip.json +3 -3
  203. package/dist/mcp-data/registry/typing-indicator.json +1 -1
  204. package/dist/react/components.d.ts +3 -5
  205. package/dist/react/components.js +3 -5
  206. package/dist/react/ds-card-chart.d.ts +12 -0
  207. package/dist/react/ds-card-chart.js +12 -0
  208. package/dist/react/ds-chart.d.ts +12 -0
  209. package/dist/react/ds-chart.js +12 -0
  210. package/dist/react/{ds-chart-bar.d.ts → ds-tooltip-chart.d.ts} +3 -3
  211. package/dist/react/ds-tooltip-chart.js +12 -0
  212. package/dist/types/components/{CardDataViz/CardDataViz.d.ts → CardChart/CardChart.d.ts} +9 -13
  213. package/dist/types/components/CardChart/index.d.ts +2 -0
  214. package/dist/types/components/CardOverview/CardOverview.d.ts +2 -0
  215. package/dist/types/components/Chart/Chart.d.ts +66 -0
  216. package/dist/types/components/Chart/index.d.ts +2 -0
  217. package/dist/types/components/ChartLegend/ChartLegend.d.ts +1 -1
  218. package/dist/types/components/{TooltipDataViz/TooltipDataViz.d.ts → TooltipChart/TooltipChart.d.ts} +15 -6
  219. package/dist/types/components/TooltipChart/index.d.ts +2 -0
  220. package/dist/types/components.d.ts +129 -294
  221. package/dist/types/utils/chart-grammar.d.ts +360 -0
  222. package/dist/types/utils/chart-scene.d.ts +128 -0
  223. package/dist/types/utils/chart-theme.d.ts +27 -0
  224. package/dist/types/utils/chart-types.d.ts +0 -13
  225. package/dist/types/utils/index.d.ts +2 -0
  226. package/dist/types/utils/token-defaults.d.ts +3 -0
  227. package/package.json +3 -3
  228. package/dist/angular/ds-card-data-viz.d.ts +0 -18
  229. package/dist/angular/ds-chart-bar.d.ts +0 -12
  230. package/dist/angular/ds-chart-bar.js +0 -38
  231. package/dist/angular/ds-chart-donut.d.ts +0 -19
  232. package/dist/angular/ds-chart-line.d.ts +0 -12
  233. package/dist/angular/ds-tooltip-data-viz.d.ts +0 -12
  234. package/dist/angular/ds-tooltip-data-viz.js +0 -38
  235. package/dist/components/ds-card-data-viz.js +0 -2
  236. package/dist/components/ds-card-data-viz.js.map +0 -1
  237. package/dist/components/ds-chart-bar.js +0 -2
  238. package/dist/components/ds-chart-bar.js.map +0 -1
  239. package/dist/components/ds-chart-donut.d.ts +0 -11
  240. package/dist/components/ds-chart-donut.js +0 -2
  241. package/dist/components/ds-chart-donut.js.map +0 -1
  242. package/dist/components/ds-chart-line.js +0 -2
  243. package/dist/components/ds-chart-line.js.map +0 -1
  244. package/dist/components/ds-tooltip-data-viz.d.ts +0 -11
  245. package/dist/components/ds-tooltip-data-viz.js +0 -2
  246. package/dist/components/p-1S9AW2MA.js +0 -2
  247. package/dist/components/p-B6Vuayt6.js +0 -2
  248. package/dist/components/p-B6Vuayt6.js.map +0 -1
  249. package/dist/components/p-BBpASejH.js +0 -2
  250. package/dist/components/p-BBpASejH.js.map +0 -1
  251. package/dist/components/p-Bsfpxto1.js.map +0 -1
  252. package/dist/components/p-BybqPD8K.js +0 -2
  253. package/dist/components/p-BybqPD8K.js.map +0 -1
  254. package/dist/components/p-C4uYvyq6.js +0 -2
  255. package/dist/components/p-C4uYvyq6.js.map +0 -1
  256. package/dist/components/p-CbjFUpOj.js +0 -2
  257. package/dist/components/p-CbjFUpOj.js.map +0 -1
  258. package/dist/components/p-CrCGIx8s.js +0 -2
  259. package/dist/components/p-CrCGIx8s.js.map +0 -1
  260. package/dist/components/p-CuJ3J6OJ.js +0 -2
  261. package/dist/components/p-D0bM3cKj.js +0 -2
  262. package/dist/components/p-D2cjoj2r.js +0 -2
  263. package/dist/components/p-DX4c3kZ1.js +0 -2
  264. package/dist/components/p-DXewjzkM.js +0 -2
  265. package/dist/components/p-DXewjzkM.js.map +0 -1
  266. package/dist/components/p-yhj1lIPx.js +0 -2
  267. package/dist/mcp-data/registry/card-data-viz.json +0 -241
  268. package/dist/mcp-data/registry/chart-bar.json +0 -245
  269. package/dist/mcp-data/registry/chart-donut.json +0 -344
  270. package/dist/mcp-data/registry/chart-line.json +0 -223
  271. package/dist/mcp-data/registry/tooltip-data-viz.json +0 -224
  272. package/dist/react/ds-card-data-viz.d.ts +0 -12
  273. package/dist/react/ds-card-data-viz.js +0 -12
  274. package/dist/react/ds-chart-bar.js +0 -12
  275. package/dist/react/ds-chart-donut.d.ts +0 -12
  276. package/dist/react/ds-chart-donut.js +0 -12
  277. package/dist/react/ds-chart-line.d.ts +0 -9
  278. package/dist/react/ds-chart-line.js +0 -12
  279. package/dist/react/ds-tooltip-data-viz.d.ts +0 -9
  280. package/dist/react/ds-tooltip-data-viz.js +0 -12
  281. package/dist/types/components/CardDataViz/index.d.ts +0 -2
  282. package/dist/types/components/ChartBar/ChartBar.d.ts +0 -31
  283. package/dist/types/components/ChartBar/index.d.ts +0 -3
  284. package/dist/types/components/ChartDonut/ChartDonut.d.ts +0 -72
  285. package/dist/types/components/ChartDonut/index.d.ts +0 -2
  286. package/dist/types/components/ChartLine/ChartLine.d.ts +0 -23
  287. package/dist/types/components/ChartLine/index.d.ts +0 -2
  288. package/dist/types/components/TooltipDataViz/index.d.ts +0 -2
  289. /package/dist/components/{ds-tooltip-data-viz.js.map → ds-tooltip-chart.js.map} +0 -0
  290. /package/dist/components/{p-DaqFuVKZ.js.map → p-B16OuqyJ.js.map} +0 -0
  291. /package/dist/components/{p-BmNpPyzf.js.map → p-B4VlfBNc.js.map} +0 -0
  292. /package/dist/components/{p-og48Kh2i.js.map → p-B6z51yBf.js.map} +0 -0
  293. /package/dist/components/{p-Bb4f5SuF.js.map → p-BNiIyZCn.js.map} +0 -0
  294. /package/dist/components/{p-BFfHIu6y.js.map → p-BP-EtYbR.js.map} +0 -0
  295. /package/dist/components/{p-DHF5cLzr.js.map → p-BQ7Nzx9A.js.map} +0 -0
  296. /package/dist/components/{p-B-kRByho.js.map → p-BQDi0v_h.js.map} +0 -0
  297. /package/dist/components/{p-BBtjABBS.js.map → p-BYB0f1_F.js.map} +0 -0
  298. /package/dist/components/{p-DfvDNcoq.js.map → p-BjoyHNaM.js.map} +0 -0
  299. /package/dist/components/{p-Bl6A5AJq.js.map → p-BkWhTEqe.js.map} +0 -0
  300. /package/dist/components/{p-CxgMUvqg.js.map → p-CnbrksLl.js.map} +0 -0
  301. /package/dist/components/{p-Eep5mxtv.js.map → p-Cog5NTLa.js.map} +0 -0
  302. /package/dist/components/{p-Bmo4T96l.js.map → p-D2dQyoyK.js.map} +0 -0
  303. /package/dist/components/{p-BPyymeuR.js.map → p-D6g070eY.js.map} +0 -0
  304. /package/dist/components/{p-wOOAzVMC.js.map → p-D8qgVmHn.js.map} +0 -0
  305. /package/dist/components/{p-BR_oMaas.js.map → p-DJ0XMH9E.js.map} +0 -0
  306. /package/dist/components/{p-B6RrZQqw.js.map → p-DK4PGrHm.js.map} +0 -0
  307. /package/dist/components/{p-DVuxzrCC.js.map → p-DLwM1RNL.js.map} +0 -0
  308. /package/dist/components/{p-B4_0Ys4w.js.map → p-DgglLVCj.js.map} +0 -0
  309. /package/dist/components/{p-6B411hQA.js.map → p-Dv8_hmUZ.js.map} +0 -0
  310. /package/dist/components/{p-IYy-jODg.js.map → p-DwKC_9u2.js.map} +0 -0
  311. /package/dist/components/{p-yhj1lIPx.js.map → p-GbTasczF.js.map} +0 -0
  312. /package/dist/components/{p-CzraIk34.js.map → p-HIg1XX62.js.map} +0 -0
  313. /package/dist/components/{p-Di81y9Q2.js.map → p-KFHFBznh.js.map} +0 -0
  314. /package/dist/components/{p-CKRJX0Y0.js.map → p-PQgDzzn9.js.map} +0 -0
  315. /package/dist/components/{p-Ca6s5fLR.js.map → p-iyiOFsws.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-08-02T03:35:24",
2
+ "timestamp": "2026-08-05T00:20:49",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.43.5",
@@ -4997,7 +4997,7 @@
4997
4997
  "ds-bar-nav",
4998
4998
  "ds-bar-title",
4999
4999
  "ds-bar-workflow",
5000
- "ds-card-data-viz",
5000
+ "ds-card-chart",
5001
5001
  "ds-card-setting",
5002
5002
  "ds-code-block",
5003
5003
  "ds-input",
@@ -5043,7 +5043,7 @@
5043
5043
  "ds-bar-workflow": [
5044
5044
  "ds-button-unfilled"
5045
5045
  ],
5046
- "ds-card-data-viz": [
5046
+ "ds-card-chart": [
5047
5047
  "ds-button-unfilled"
5048
5048
  ],
5049
5049
  "ds-card-setting": [
@@ -5097,10 +5097,10 @@
5097
5097
  }
5098
5098
  },
5099
5099
  {
5100
- "filePath": "src/wc/components/CardDataViz/CardDataViz.tsx",
5100
+ "filePath": "src/wc/components/CardChart/CardChart.tsx",
5101
5101
  "encapsulation": "scoped",
5102
- "tag": "ds-card-data-viz",
5103
- "docs": "Standard data-visualization card chrome and composition. The variant owns\nonly the chart/legend relationship; applications continue to own data.",
5102
+ "tag": "ds-card-chart",
5103
+ "docs": "Standard chart card chrome and composition. The variant owns\nonly the chart/legend relationship; applications continue to own data.",
5104
5104
  "docsTags": [],
5105
5105
  "usage": {},
5106
5106
  "props": [
@@ -5108,20 +5108,20 @@
5108
5108
  "name": "cardWidth",
5109
5109
  "type": "\"lg\" | \"md\" | \"sm\"",
5110
5110
  "complexType": {
5111
- "original": "CardDataVizWidth",
5111
+ "original": "CardChartWidth",
5112
5112
  "resolved": "\"lg\" | \"md\" | \"sm\"",
5113
5113
  "references": {
5114
- "CardDataVizWidth": {
5114
+ "CardChartWidth": {
5115
5115
  "location": "local",
5116
- "path": "/home/runner/work/compomo/compomo/src/wc/components/CardDataViz/CardDataViz.tsx",
5117
- "id": "src/wc/components/CardDataViz/CardDataViz.tsx::CardDataVizWidth"
5116
+ "path": "/home/runner/work/compomo/compomo/src/wc/components/CardChart/CardChart.tsx",
5117
+ "id": "src/wc/components/CardChart/CardChart.tsx::CardChartWidth"
5118
5118
  }
5119
5119
  }
5120
5120
  },
5121
5121
  "mutable": false,
5122
5122
  "attr": "card-width",
5123
5123
  "reflectToAttr": false,
5124
- "docs": "Width token with the matching data-visualization card min-height.",
5124
+ "docs": "Width token with the matching chart-card min-height.",
5125
5125
  "docsTags": [
5126
5126
  {
5127
5127
  "name": "default",
@@ -5188,7 +5188,7 @@
5188
5188
  "mutable": false,
5189
5189
  "attr": "heading",
5190
5190
  "reflectToAttr": false,
5191
- "docs": "Data-visualization heading shown in the card header.",
5191
+ "docs": "Chart heading shown in the card header.",
5192
5192
  "docsTags": [],
5193
5193
  "values": [
5194
5194
  {
@@ -5231,15 +5231,15 @@
5231
5231
  },
5232
5232
  {
5233
5233
  "name": "variant",
5234
- "type": "\"bar\" | \"custom\" | \"donut\" | \"line\"",
5234
+ "type": "\"chart\" | \"custom\"",
5235
5235
  "complexType": {
5236
- "original": "CardDataVizVariant",
5237
- "resolved": "\"bar\" | \"custom\" | \"donut\" | \"line\"",
5236
+ "original": "CardChartVariant",
5237
+ "resolved": "\"chart\" | \"custom\"",
5238
5238
  "references": {
5239
- "CardDataVizVariant": {
5239
+ "CardChartVariant": {
5240
5240
  "location": "local",
5241
- "path": "/home/runner/work/compomo/compomo/src/wc/components/CardDataViz/CardDataViz.tsx",
5242
- "id": "src/wc/components/CardDataViz/CardDataViz.tsx::CardDataVizVariant"
5241
+ "path": "/home/runner/work/compomo/compomo/src/wc/components/CardChart/CardChart.tsx",
5242
+ "id": "src/wc/components/CardChart/CardChart.tsx::CardChartVariant"
5243
5243
  }
5244
5244
  }
5245
5245
  },
@@ -5256,20 +5256,12 @@
5256
5256
  "default": "'custom'",
5257
5257
  "values": [
5258
5258
  {
5259
- "value": "bar",
5259
+ "value": "chart",
5260
5260
  "type": "string"
5261
5261
  },
5262
5262
  {
5263
5263
  "value": "custom",
5264
5264
  "type": "string"
5265
- },
5266
- {
5267
- "value": "donut",
5268
- "type": "string"
5269
- },
5270
- {
5271
- "value": "line",
5272
- "type": "string"
5273
5265
  }
5274
5266
  ],
5275
5267
  "optional": false,
@@ -5306,7 +5298,7 @@
5306
5298
  "ds-button-unfilled"
5307
5299
  ],
5308
5300
  "dependencyGraph": {
5309
- "ds-card-data-viz": [
5301
+ "ds-card-chart": [
5310
5302
  "ds-text",
5311
5303
  "ds-button-unfilled"
5312
5304
  ],
@@ -5988,303 +5980,80 @@
5988
5980
  }
5989
5981
  },
5990
5982
  {
5991
- "filePath": "src/wc/components/ChartBar/ChartBar.tsx",
5983
+ "filePath": "src/wc/components/Chart/Chart.tsx",
5992
5984
  "encapsulation": "scoped",
5993
- "tag": "ds-chart-bar",
5985
+ "tag": "ds-chart",
5994
5986
  "docs": "",
5995
5987
  "docsTags": [],
5996
5988
  "usage": {},
5997
5989
  "props": [
5998
5990
  {
5999
- "name": "categories",
6000
- "type": "string[]",
6001
- "complexType": {
6002
- "original": "string[]",
6003
- "resolved": "string[]",
6004
- "references": {}
6005
- },
6006
- "mutable": false,
6007
- "reflectToAttr": false,
6008
- "docs": "X-axis labels for stacked and percentage variants. Set as a JS property.",
6009
- "docsTags": [
6010
- {
6011
- "name": "default",
6012
- "text": "[]"
6013
- }
6014
- ],
6015
- "default": "[]",
6016
- "values": [
6017
- {
6018
- "type": "string[]"
6019
- }
6020
- ],
6021
- "optional": false,
6022
- "required": false,
6023
- "getter": false,
6024
- "setter": false
6025
- },
6026
- {
6027
- "name": "data",
6028
- "type": "ChartDatum[]",
6029
- "complexType": {
6030
- "original": "ChartDatum[]",
6031
- "resolved": "ChartDatum[]",
6032
- "references": {
6033
- "ChartDatum": {
6034
- "location": "import",
6035
- "path": "../../utils/chart-types",
6036
- "id": "src/wc/utils/chart-types.ts::ChartDatum",
6037
- "referenceLocation": "ChartDatum"
6038
- }
6039
- }
6040
- },
6041
- "mutable": false,
6042
- "reflectToAttr": false,
6043
- "docs": "Bars to render. Set as a JS property (not an HTML attribute).",
6044
- "docsTags": [
6045
- {
6046
- "name": "default",
6047
- "text": "[]"
6048
- }
6049
- ],
6050
- "default": "[]",
6051
- "values": [
6052
- {
6053
- "type": "ChartDatum[]"
6054
- }
6055
- ],
6056
- "optional": false,
6057
- "required": false,
6058
- "getter": false,
6059
- "setter": false
6060
- },
6061
- {
6062
- "name": "height",
6063
- "type": "number",
5991
+ "name": "aspectRatio",
5992
+ "type": "number | undefined",
6064
5993
  "complexType": {
6065
5994
  "original": "number",
6066
- "resolved": "number",
5995
+ "resolved": "number | undefined",
6067
5996
  "references": {}
6068
5997
  },
6069
5998
  "mutable": false,
6070
- "attr": "height",
5999
+ "attr": "aspect-ratio",
6071
6000
  "reflectToAttr": false,
6072
- "docs": "Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.",
6073
- "docsTags": [
6074
- {
6075
- "name": "default",
6076
- "text": "240"
6077
- }
6078
- ],
6079
- "default": "240",
6001
+ "docs": "Derives height from the current width when height is not supplied.",
6002
+ "docsTags": [],
6080
6003
  "values": [
6081
6004
  {
6082
6005
  "type": "number"
6083
- }
6084
- ],
6085
- "optional": false,
6086
- "required": false,
6087
- "getter": false,
6088
- "setter": false
6089
- },
6090
- {
6091
- "name": "series",
6092
- "type": "ChartSeries[]",
6093
- "complexType": {
6094
- "original": "ChartSeries[]",
6095
- "resolved": "ChartSeries[]",
6096
- "references": {
6097
- "ChartSeries": {
6098
- "location": "import",
6099
- "path": "../../utils/chart-types",
6100
- "id": "src/wc/utils/chart-types.ts::ChartSeries",
6101
- "referenceLocation": "ChartSeries"
6102
- }
6103
- }
6104
- },
6105
- "mutable": false,
6106
- "reflectToAttr": false,
6107
- "docs": "Ordered stack series for stacked and percentage variants. Set as a JS property.",
6108
- "docsTags": [
6109
- {
6110
- "name": "default",
6111
- "text": "[]"
6112
- }
6113
- ],
6114
- "default": "[]",
6115
- "values": [
6006
+ },
6116
6007
  {
6117
- "type": "ChartSeries[]"
6008
+ "type": "undefined"
6118
6009
  }
6119
6010
  ],
6120
- "optional": false,
6011
+ "optional": true,
6121
6012
  "required": false,
6122
6013
  "getter": false,
6123
6014
  "setter": false
6124
6015
  },
6125
6016
  {
6126
- "name": "variant",
6127
- "type": "\"percentage\" | \"single\" | \"stacked\"",
6017
+ "name": "definition",
6018
+ "type": "ChartDefinition<unknown>",
6128
6019
  "complexType": {
6129
- "original": "ChartBarVariant",
6130
- "resolved": "\"percentage\" | \"single\" | \"stacked\"",
6020
+ "original": "ChartDefinition",
6021
+ "resolved": "ChartDefinition<unknown>",
6131
6022
  "references": {
6132
- "ChartBarVariant": {
6133
- "location": "local",
6134
- "path": "/home/runner/work/compomo/compomo/src/wc/components/ChartBar/ChartBar.tsx",
6135
- "id": "src/wc/components/ChartBar/ChartBar.tsx::ChartBarVariant"
6023
+ "ChartDefinition": {
6024
+ "location": "import",
6025
+ "path": "../../utils/chart-grammar",
6026
+ "id": "src/wc/utils/chart-grammar.ts::ChartDefinition",
6027
+ "referenceLocation": "ChartDefinition"
6136
6028
  }
6137
6029
  }
6138
6030
  },
6139
6031
  "mutable": false,
6140
- "attr": "variant",
6141
6032
  "reflectToAttr": false,
6142
- "docs": "Rendering model. Single uses `data`; stacked and percentage use `series` and `categories`.",
6143
- "docsTags": [
6144
- {
6145
- "name": "default",
6146
- "text": "'single'"
6147
- }
6148
- ],
6149
- "default": "'single'",
6150
- "values": [
6151
- {
6152
- "value": "percentage",
6153
- "type": "string"
6154
- },
6155
- {
6156
- "value": "single",
6157
- "type": "string"
6158
- },
6159
- {
6160
- "value": "stacked",
6161
- "type": "string"
6162
- }
6163
- ],
6164
- "optional": false,
6165
- "required": false,
6166
- "getter": false,
6167
- "setter": false
6168
- },
6169
- {
6170
- "name": "width",
6171
- "type": "number",
6172
- "complexType": {
6173
- "original": "number",
6174
- "resolved": "number",
6175
- "references": {}
6176
- },
6177
- "mutable": false,
6178
- "attr": "width",
6179
- "reflectToAttr": false,
6180
- "docs": "Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.",
6181
- "docsTags": [
6182
- {
6183
- "name": "default",
6184
- "text": "480"
6185
- }
6186
- ],
6187
- "default": "480",
6188
- "values": [
6189
- {
6190
- "type": "number"
6191
- }
6192
- ],
6193
- "optional": false,
6194
- "required": false,
6195
- "getter": false,
6196
- "setter": false
6197
- }
6198
- ],
6199
- "methods": [],
6200
- "events": [],
6201
- "listeners": [],
6202
- "styles": [],
6203
- "slots": [],
6204
- "parts": [],
6205
- "states": [],
6206
- "dependents": [],
6207
- "dependencies": [],
6208
- "dependencyGraph": {}
6209
- },
6210
- {
6211
- "filePath": "src/wc/components/ChartDonut/ChartDonut.tsx",
6212
- "encapsulation": "scoped",
6213
- "tag": "ds-chart-donut",
6214
- "docs": "",
6215
- "docsTags": [],
6216
- "usage": {},
6217
- "props": [
6218
- {
6219
- "name": "activeLabel",
6220
- "type": "null | string",
6221
- "complexType": {
6222
- "original": "string | null",
6223
- "resolved": "null | string",
6224
- "references": {}
6225
- },
6226
- "mutable": false,
6227
- "attr": "active-label",
6228
- "reflectToAttr": false,
6229
- "docs": "Externally controlled highlight, matched by `label` — e.g. drive this from a sibling\n`ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync.\nFalls back to this component's own pointer/focus hover when unset.\nSlice hover dims peer slices and emits `dsSliceHover` for legend sync. External\nhighlight never opens the local tooltip.",
6230
- "docsTags": [
6231
- {
6232
- "name": "default",
6233
- "text": "null"
6234
- }
6235
- ],
6236
- "default": "null",
6237
- "values": [
6238
- {
6239
- "type": "null"
6240
- },
6241
- {
6242
- "type": "string"
6243
- }
6244
- ],
6245
- "optional": false,
6246
- "required": false,
6247
- "getter": false,
6248
- "setter": false
6249
- },
6250
- {
6251
- "name": "centerCaption",
6252
- "type": "string | undefined",
6253
- "complexType": {
6254
- "original": "string | undefined",
6255
- "resolved": "string | undefined",
6256
- "references": {}
6257
- },
6258
- "mutable": false,
6259
- "attr": "center-caption",
6260
- "reflectToAttr": false,
6261
- "docs": "Secondary caption below the center value (e.g. \"Total\", \"Normal\"). Rendered uppercase.",
6033
+ "docs": "Typed chart definition. Set as a JavaScript property, not an HTML attribute.",
6262
6034
  "docsTags": [],
6263
6035
  "values": [
6264
6036
  {
6265
- "type": "string"
6266
- },
6267
- {
6268
- "type": "undefined"
6037
+ "type": "ChartDefinition<unknown>"
6269
6038
  }
6270
6039
  ],
6271
6040
  "optional": false,
6272
- "required": false,
6041
+ "required": true,
6273
6042
  "getter": false,
6274
6043
  "setter": false
6275
6044
  },
6276
6045
  {
6277
- "name": "centerValue",
6046
+ "name": "description",
6278
6047
  "type": "string | undefined",
6279
6048
  "complexType": {
6280
- "original": "string | undefined",
6049
+ "original": "string",
6281
6050
  "resolved": "string | undefined",
6282
6051
  "references": {}
6283
6052
  },
6284
6053
  "mutable": false,
6285
- "attr": "center-value",
6054
+ "attr": "description",
6286
6055
  "reflectToAttr": false,
6287
- "docs": "Primary center value; defaults to the sum of `data` values (e.g. \"187\", \"40.9%\").",
6056
+ "docs": "Optional longer accessible description.",
6288
6057
  "docsTags": [],
6289
6058
  "values": [
6290
6059
  {
@@ -6294,245 +6063,108 @@
6294
6063
  "type": "undefined"
6295
6064
  }
6296
6065
  ],
6297
- "optional": false,
6298
- "required": false,
6299
- "getter": false,
6300
- "setter": false
6301
- },
6302
- {
6303
- "name": "cornerRadius",
6304
- "type": "number | string",
6305
- "complexType": {
6306
- "original": "number | string",
6307
- "resolved": "number | string",
6308
- "references": {}
6309
- },
6310
- "mutable": false,
6311
- "attr": "corner-radius",
6312
- "reflectToAttr": false,
6313
- "docs": "Corner radius on each slice — number (px) or TokoMo length. Defaults to `--dimension-radius-025` (2px).",
6314
- "docsTags": [
6315
- {
6316
- "name": "default",
6317
- "text": "TOKEN_DEFAULTS.radius025"
6318
- }
6319
- ],
6320
- "default": "TOKEN_DEFAULTS.radius025",
6321
- "values": [
6322
- {
6323
- "type": "number"
6324
- },
6325
- {
6326
- "type": "string"
6327
- }
6328
- ],
6329
- "optional": false,
6330
- "required": false,
6331
- "getter": false,
6332
- "setter": false
6333
- },
6334
- {
6335
- "name": "data",
6336
- "type": "ChartDatum[]",
6337
- "complexType": {
6338
- "original": "ChartDatum[]",
6339
- "resolved": "ChartDatum[]",
6340
- "references": {
6341
- "ChartDatum": {
6342
- "location": "import",
6343
- "path": "../../utils/chart-types",
6344
- "id": "src/wc/utils/chart-types.ts::ChartDatum",
6345
- "referenceLocation": "ChartDatum"
6346
- }
6347
- }
6348
- },
6349
- "mutable": false,
6350
- "reflectToAttr": false,
6351
- "docs": "Slices to render. Set as a JS property (not an HTML attribute).",
6352
- "docsTags": [
6353
- {
6354
- "name": "default",
6355
- "text": "[]"
6356
- }
6357
- ],
6358
- "default": "[]",
6359
- "values": [
6360
- {
6361
- "type": "ChartDatum[]"
6362
- }
6363
- ],
6364
- "optional": false,
6066
+ "optional": true,
6365
6067
  "required": false,
6366
6068
  "getter": false,
6367
6069
  "setter": false
6368
6070
  },
6369
6071
  {
6370
- "name": "gap",
6371
- "type": "number",
6072
+ "name": "height",
6073
+ "type": "number | undefined",
6372
6074
  "complexType": {
6373
6075
  "original": "number",
6374
- "resolved": "number",
6375
- "references": {}
6376
- },
6377
- "mutable": false,
6378
- "attr": "gap",
6379
- "reflectToAttr": false,
6380
- "docs": "Gap between slices, in degrees.",
6381
- "docsTags": [
6382
- {
6383
- "name": "default",
6384
- "text": "1"
6385
- }
6386
- ],
6387
- "default": "1",
6388
- "values": [
6389
- {
6390
- "type": "number"
6391
- }
6392
- ],
6393
- "optional": false,
6394
- "required": false,
6395
- "getter": false,
6396
- "setter": false
6397
- },
6398
- {
6399
- "name": "locale",
6400
- "type": "string | undefined",
6401
- "complexType": {
6402
- "original": "string | undefined",
6403
- "resolved": "string | undefined",
6076
+ "resolved": "number | undefined",
6404
6077
  "references": {}
6405
6078
  },
6406
6079
  "mutable": false,
6407
- "attr": "locale",
6080
+ "attr": "height",
6408
6081
  "reflectToAttr": false,
6409
- "docs": "",
6082
+ "docs": "Product-owned surface height. Wins over aspectRatio.",
6410
6083
  "docsTags": [],
6411
6084
  "values": [
6412
6085
  {
6413
- "type": "string"
6086
+ "type": "number"
6414
6087
  },
6415
6088
  {
6416
6089
  "type": "undefined"
6417
6090
  }
6418
6091
  ],
6419
- "optional": false,
6420
- "required": false,
6421
- "getter": false,
6422
- "setter": false
6423
- },
6424
- {
6425
- "name": "noDataLabel",
6426
- "type": "string",
6427
- "complexType": {
6428
- "original": "string",
6429
- "resolved": "string",
6430
- "references": {}
6431
- },
6432
- "mutable": false,
6433
- "attr": "no-data-label",
6434
- "reflectToAttr": false,
6435
- "docs": "",
6436
- "docsTags": [
6437
- {
6438
- "name": "default",
6439
- "text": "'No data'"
6440
- }
6441
- ],
6442
- "default": "'No data'",
6443
- "values": [
6444
- {
6445
- "type": "string"
6446
- }
6447
- ],
6448
- "optional": false,
6092
+ "optional": true,
6449
6093
  "required": false,
6450
6094
  "getter": false,
6451
6095
  "setter": false
6452
6096
  },
6453
6097
  {
6454
- "name": "showTooltip",
6455
- "type": "boolean",
6098
+ "name": "label",
6099
+ "type": "string",
6456
6100
  "complexType": {
6457
- "original": "boolean",
6458
- "resolved": "boolean",
6101
+ "original": "string",
6102
+ "resolved": "string",
6459
6103
  "references": {}
6460
6104
  },
6461
6105
  "mutable": false,
6462
- "attr": "show-tooltip",
6106
+ "attr": "label",
6463
6107
  "reflectToAttr": false,
6464
- "docs": "Show a chart-owned value callout for genuine pointer or keyboard focus.\nDisable when a visible legend already owns persistent label and value detail.",
6465
- "docsTags": [
6466
- {
6467
- "name": "default",
6468
- "text": "true"
6469
- }
6470
- ],
6471
- "default": "true",
6108
+ "docs": "Required accessible name for the visualization.",
6109
+ "docsTags": [],
6472
6110
  "values": [
6473
6111
  {
6474
- "type": "boolean"
6112
+ "type": "string"
6475
6113
  }
6476
6114
  ],
6477
6115
  "optional": false,
6478
- "required": false,
6116
+ "required": true,
6479
6117
  "getter": false,
6480
6118
  "setter": false
6481
6119
  },
6482
6120
  {
6483
- "name": "size",
6484
- "type": "number | undefined",
6121
+ "name": "locale",
6122
+ "type": "string | undefined",
6485
6123
  "complexType": {
6486
- "original": "number | undefined",
6487
- "resolved": "number | undefined",
6124
+ "original": "string",
6125
+ "resolved": "string | undefined",
6488
6126
  "references": {}
6489
6127
  },
6490
6128
  "mutable": false,
6491
- "attr": "size",
6129
+ "attr": "locale",
6492
6130
  "reflectToAttr": false,
6493
- "docs": "Explicit diameter in px. When unset, the donut sizes to its container\n(ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and\n`* 24` (192px), and stays centered in the leftover space. Prefer unset\ninside card layouts.",
6131
+ "docs": "Locale used by axes and default tooltip formatters.",
6494
6132
  "docsTags": [],
6495
6133
  "values": [
6496
6134
  {
6497
- "type": "number"
6135
+ "type": "string"
6498
6136
  },
6499
6137
  {
6500
6138
  "type": "undefined"
6501
6139
  }
6502
6140
  ],
6503
- "optional": false,
6141
+ "optional": true,
6504
6142
  "required": false,
6505
6143
  "getter": false,
6506
6144
  "setter": false
6507
6145
  },
6508
6146
  {
6509
- "name": "thickness",
6510
- "type": "number | string",
6147
+ "name": "width",
6148
+ "type": "number | undefined",
6511
6149
  "complexType": {
6512
- "original": "number | string",
6513
- "resolved": "number | string",
6150
+ "original": "number",
6151
+ "resolved": "number | undefined",
6514
6152
  "references": {}
6515
6153
  },
6516
6154
  "mutable": false,
6517
- "attr": "thickness",
6155
+ "attr": "width",
6518
6156
  "reflectToAttr": false,
6519
- "docs": "Ring thickness number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).",
6520
- "docsTags": [
6521
- {
6522
- "name": "default",
6523
- "text": "TOKEN_DEFAULTS.size200"
6524
- }
6525
- ],
6526
- "default": "TOKEN_DEFAULTS.size200",
6157
+ "docs": "Fixed surface width. Otherwise the chart observes its container.",
6158
+ "docsTags": [],
6527
6159
  "values": [
6528
6160
  {
6529
6161
  "type": "number"
6530
6162
  },
6531
6163
  {
6532
- "type": "string"
6164
+ "type": "undefined"
6533
6165
  }
6534
6166
  ],
6535
- "optional": false,
6167
+ "optional": true,
6536
6168
  "required": false,
6537
6169
  "getter": false,
6538
6170
  "setter": false
@@ -6541,24 +6173,23 @@
6541
6173
  "methods": [],
6542
6174
  "events": [
6543
6175
  {
6544
- "event": "dsSliceHover",
6545
- "detail": "ChartDatum | null",
6176
+ "event": "dsChartFocusChange",
6177
+ "detail": "ChartFocusChangeDetail",
6546
6178
  "bubbles": true,
6547
6179
  "complexType": {
6548
- "original": "ChartDatum | null",
6549
- "resolved": "ChartDatum | null",
6180
+ "original": "ChartFocusChangeDetail",
6181
+ "resolved": "ChartFocusChangeDetail",
6550
6182
  "references": {
6551
- "ChartDatum": {
6552
- "location": "import",
6553
- "path": "../../utils/chart-types",
6554
- "id": "src/wc/utils/chart-types.ts::ChartDatum",
6555
- "referenceLocation": "ChartDatum"
6183
+ "ChartFocusChangeDetail": {
6184
+ "location": "local",
6185
+ "path": "/home/runner/work/compomo/compomo/src/wc/components/Chart/Chart.tsx",
6186
+ "id": "src/wc/components/Chart/Chart.tsx::ChartFocusChangeDetail"
6556
6187
  }
6557
6188
  }
6558
6189
  },
6559
6190
  "cancelable": true,
6560
6191
  "composed": true,
6561
- "docs": "Fires with the hovered/focused slice's datum, or `null` on leave/blur.",
6192
+ "docs": "Fires whenever pointer or keyboard focus resolves to semantic chart points.",
6562
6193
  "docsTags": []
6563
6194
  }
6564
6195
  ],
@@ -6569,13 +6200,13 @@
6569
6200
  "states": [],
6570
6201
  "dependents": [],
6571
6202
  "dependencies": [
6572
- "ds-tooltip-data-viz"
6203
+ "ds-tooltip-chart"
6573
6204
  ],
6574
6205
  "dependencyGraph": {
6575
- "ds-chart-donut": [
6576
- "ds-tooltip-data-viz"
6206
+ "ds-chart": [
6207
+ "ds-tooltip-chart"
6577
6208
  ],
6578
- "ds-tooltip-data-viz": [
6209
+ "ds-tooltip-chart": [
6579
6210
  "ds-text"
6580
6211
  ]
6581
6212
  }
@@ -6584,7 +6215,7 @@
6584
6215
  "filePath": "src/wc/components/ChartLegend/ChartLegend.tsx",
6585
6216
  "encapsulation": "scoped",
6586
6217
  "tag": "ds-chart-legend",
6587
- "docs": "Base legend for `ds-chart-*` components. Webapp's Overview widgets each style\nlegends differently (list w/ values, compact chips, bare swatches, external\nstat callouts) — this covers the common \"swatch + label + optional value\" case.\nConsumers who need a different treatment skip this component entirely and\nrender their own markup against the same `ChartDatum[]` data.",
6218
+ "docs": "Base legend for `ds-chart-*` components. Webapp's Overview widgets each style\nlegends differently (list w/ values, compact chips, bare swatches, external\nstat callouts) — this covers the common \"swatch + label + optional value\" case.\nConsumers who need a different treatment skip this component entirely and\nrender their own markup against the same `ChartLegendItem[]` data.",
6588
6219
  "docsTags": [],
6589
6220
  "usage": {},
6590
6221
  "props": [
@@ -6884,176 +6515,6 @@
6884
6515
  ]
6885
6516
  }
6886
6517
  },
6887
- {
6888
- "filePath": "src/wc/components/ChartLine/ChartLine.tsx",
6889
- "encapsulation": "scoped",
6890
- "tag": "ds-chart-line",
6891
- "docs": "",
6892
- "docsTags": [],
6893
- "usage": {},
6894
- "props": [
6895
- {
6896
- "name": "categories",
6897
- "type": "string[]",
6898
- "complexType": {
6899
- "original": "string[]",
6900
- "resolved": "string[]",
6901
- "references": {}
6902
- },
6903
- "mutable": false,
6904
- "reflectToAttr": false,
6905
- "docs": "X-axis labels — must match each series' `data` length. Set as a JS property.",
6906
- "docsTags": [
6907
- {
6908
- "name": "default",
6909
- "text": "[]"
6910
- }
6911
- ],
6912
- "default": "[]",
6913
- "values": [
6914
- {
6915
- "type": "string[]"
6916
- }
6917
- ],
6918
- "optional": false,
6919
- "required": false,
6920
- "getter": false,
6921
- "setter": false
6922
- },
6923
- {
6924
- "name": "height",
6925
- "type": "number",
6926
- "complexType": {
6927
- "original": "number",
6928
- "resolved": "number",
6929
- "references": {}
6930
- },
6931
- "mutable": false,
6932
- "attr": "height",
6933
- "reflectToAttr": false,
6934
- "docs": "Standalone intrinsic height. Container constraints reflow the plot at rendered pixel size.",
6935
- "docsTags": [
6936
- {
6937
- "name": "default",
6938
- "text": "240"
6939
- }
6940
- ],
6941
- "default": "240",
6942
- "values": [
6943
- {
6944
- "type": "number"
6945
- }
6946
- ],
6947
- "optional": false,
6948
- "required": false,
6949
- "getter": false,
6950
- "setter": false
6951
- },
6952
- {
6953
- "name": "series",
6954
- "type": "ChartSeries[]",
6955
- "complexType": {
6956
- "original": "ChartSeries[]",
6957
- "resolved": "ChartSeries[]",
6958
- "references": {
6959
- "ChartSeries": {
6960
- "location": "import",
6961
- "path": "../../utils/chart-types",
6962
- "id": "src/wc/utils/chart-types.ts::ChartSeries",
6963
- "referenceLocation": "ChartSeries"
6964
- }
6965
- }
6966
- },
6967
- "mutable": false,
6968
- "reflectToAttr": false,
6969
- "docs": "One or more series to plot. Set as a JS property (not an HTML attribute).",
6970
- "docsTags": [
6971
- {
6972
- "name": "default",
6973
- "text": "[]"
6974
- }
6975
- ],
6976
- "default": "[]",
6977
- "values": [
6978
- {
6979
- "type": "ChartSeries[]"
6980
- }
6981
- ],
6982
- "optional": false,
6983
- "required": false,
6984
- "getter": false,
6985
- "setter": false
6986
- },
6987
- {
6988
- "name": "showPoints",
6989
- "type": "boolean",
6990
- "complexType": {
6991
- "original": "boolean",
6992
- "resolved": "boolean",
6993
- "references": {}
6994
- },
6995
- "mutable": false,
6996
- "attr": "show-points",
6997
- "reflectToAttr": false,
6998
- "docs": "",
6999
- "docsTags": [
7000
- {
7001
- "name": "default",
7002
- "text": "true"
7003
- }
7004
- ],
7005
- "default": "true",
7006
- "values": [
7007
- {
7008
- "type": "boolean"
7009
- }
7010
- ],
7011
- "optional": false,
7012
- "required": false,
7013
- "getter": false,
7014
- "setter": false
7015
- },
7016
- {
7017
- "name": "width",
7018
- "type": "number",
7019
- "complexType": {
7020
- "original": "number",
7021
- "resolved": "number",
7022
- "references": {}
7023
- },
7024
- "mutable": false,
7025
- "attr": "width",
7026
- "reflectToAttr": false,
7027
- "docs": "Standalone intrinsic width. Container constraints reflow the plot at rendered pixel size.",
7028
- "docsTags": [
7029
- {
7030
- "name": "default",
7031
- "text": "480"
7032
- }
7033
- ],
7034
- "default": "480",
7035
- "values": [
7036
- {
7037
- "type": "number"
7038
- }
7039
- ],
7040
- "optional": false,
7041
- "required": false,
7042
- "getter": false,
7043
- "setter": false
7044
- }
7045
- ],
7046
- "methods": [],
7047
- "events": [],
7048
- "listeners": [],
7049
- "styles": [],
7050
- "slots": [],
7051
- "parts": [],
7052
- "states": [],
7053
- "dependents": [],
7054
- "dependencies": [],
7055
- "dependencyGraph": {}
7056
- },
7057
6518
  {
7058
6519
  "filePath": "src/wc/components/Checkbox/Checkbox.tsx",
7059
6520
  "encapsulation": "scoped",
@@ -23225,7 +22686,7 @@
23225
22686
  "ds-breadcrumb",
23226
22687
  "ds-button-filled",
23227
22688
  "ds-button-unfilled",
23228
- "ds-card-data-viz",
22689
+ "ds-card-chart",
23229
22690
  "ds-card-overview",
23230
22691
  "ds-card-setting",
23231
22692
  "ds-chart-legend",
@@ -23254,7 +22715,7 @@
23254
22715
  "ds-tag",
23255
22716
  "ds-toast",
23256
22717
  "ds-tooltip",
23257
- "ds-tooltip-data-viz",
22718
+ "ds-tooltip-chart",
23258
22719
  "ds-typing-indicator"
23259
22720
  ],
23260
22721
  "dependencies": [],
@@ -23295,7 +22756,7 @@
23295
22756
  "ds-button-unfilled": [
23296
22757
  "ds-text"
23297
22758
  ],
23298
- "ds-card-data-viz": [
22759
+ "ds-card-chart": [
23299
22760
  "ds-text"
23300
22761
  ],
23301
22762
  "ds-card-overview": [
@@ -23382,7 +22843,7 @@
23382
22843
  "ds-tooltip": [
23383
22844
  "ds-text"
23384
22845
  ],
23385
- "ds-tooltip-data-viz": [
22846
+ "ds-tooltip-chart": [
23386
22847
  "ds-text"
23387
22848
  ],
23388
22849
  "ds-typing-indicator": [
@@ -24125,10 +23586,10 @@
24125
23586
  }
24126
23587
  },
24127
23588
  {
24128
- "filePath": "src/wc/components/TooltipDataViz/TooltipDataViz.tsx",
23589
+ "filePath": "src/wc/components/TooltipChart/TooltipChart.tsx",
24129
23590
  "encapsulation": "scoped",
24130
- "tag": "ds-tooltip-data-viz",
24131
- "docs": "Positioned value/label callout for chart hover interactions (bar, line point,\nstandalone donut slice, …). Donut compositions suppress it when a visible\nlegend already surfaces the hovered slice.\nUnlike `ds-tooltip`, this doesn't bind to a slotted anchor element —\ncharts hover-highlight data that lives inside an SVG, so the chart itself computes\nthe anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.\n\nRenders `position: absolute` — place inside a `position: relative` chart wrapper,\nwith `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right\nof the anchor (matching cursor-following tooltips), flipping to whichever side/edge\nkeeps it on-screen.\n\nMount (or remount) when a hover session starts so `delay` applies once per hover;\nkeep the instance mounted while the cursor moves so tracking stays instant.",
23591
+ "tag": "ds-tooltip-chart",
23592
+ "docs": "Positioned value/label callout for chart hover interactions (bar, line point,\npolar arc, …). A composition may suppress it when a visible legend already\nsurfaces the same value.\nUnlike `ds-tooltip`, this doesn't bind to a slotted anchor element —\ncharts hover-highlight data that lives inside an SVG, so the chart itself computes\nthe anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.\n\nRenders `position: absolute` — place inside a `position: relative` chart wrapper,\nwith `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right\nof the anchor (matching cursor-following tooltips), flipping to whichever side/edge\nkeeps it on-screen.\n\nMount (or remount) when a hover session starts so `delay` applies once per hover;\nkeep the instance mounted while the cursor moves so tracking stays instant.",
24132
23593
  "docsTags": [],
24133
23594
  "usage": {},
24134
23595
  "props": [
@@ -24164,6 +23625,63 @@
24164
23625
  "getter": false,
24165
23626
  "setter": false
24166
23627
  },
23628
+ {
23629
+ "name": "heading",
23630
+ "type": "string | undefined",
23631
+ "complexType": {
23632
+ "original": "string",
23633
+ "resolved": "string | undefined",
23634
+ "references": {}
23635
+ },
23636
+ "mutable": false,
23637
+ "attr": "heading",
23638
+ "reflectToAttr": false,
23639
+ "docs": "Optional heading for grouped chart focus.",
23640
+ "docsTags": [],
23641
+ "values": [
23642
+ {
23643
+ "type": "string"
23644
+ },
23645
+ {
23646
+ "type": "undefined"
23647
+ }
23648
+ ],
23649
+ "optional": true,
23650
+ "required": false,
23651
+ "getter": false,
23652
+ "setter": false
23653
+ },
23654
+ {
23655
+ "name": "items",
23656
+ "type": "TooltipChartItem[] | undefined",
23657
+ "complexType": {
23658
+ "original": "TooltipChartItem[]",
23659
+ "resolved": "TooltipChartItem[] | undefined",
23660
+ "references": {
23661
+ "TooltipChartItem": {
23662
+ "location": "local",
23663
+ "path": "/home/runner/work/compomo/compomo/src/wc/components/TooltipChart/TooltipChart.tsx",
23664
+ "id": "src/wc/components/TooltipChart/TooltipChart.tsx::TooltipChartItem"
23665
+ }
23666
+ }
23667
+ },
23668
+ "mutable": false,
23669
+ "reflectToAttr": false,
23670
+ "docs": "Multi-row content. When supplied, this replaces the legacy label/value row.",
23671
+ "docsTags": [],
23672
+ "values": [
23673
+ {
23674
+ "type": "TooltipChartItem[]"
23675
+ },
23676
+ {
23677
+ "type": "undefined"
23678
+ }
23679
+ ],
23680
+ "optional": true,
23681
+ "required": false,
23682
+ "getter": false,
23683
+ "setter": false
23684
+ },
24167
23685
  {
24168
23686
  "name": "label",
24169
23687
  "type": "string",
@@ -24292,17 +23810,17 @@
24292
23810
  "parts": [],
24293
23811
  "states": [],
24294
23812
  "dependents": [
24295
- "ds-chart-donut"
23813
+ "ds-chart"
24296
23814
  ],
24297
23815
  "dependencies": [
24298
23816
  "ds-text"
24299
23817
  ],
24300
23818
  "dependencyGraph": {
24301
- "ds-tooltip-data-viz": [
23819
+ "ds-tooltip-chart": [
24302
23820
  "ds-text"
24303
23821
  ],
24304
- "ds-chart-donut": [
24305
- "ds-tooltip-data-viz"
23822
+ "ds-chart": [
23823
+ "ds-tooltip-chart"
24306
23824
  ]
24307
23825
  }
24308
23826
  },
@@ -24468,15 +23986,15 @@
24468
23986
  "docstring": "",
24469
23987
  "path": "src/wc/components/ButtonUnfilled/ButtonUnfilled.tsx"
24470
23988
  },
24471
- "src/wc/components/CardDataViz/CardDataViz.tsx::CardDataVizVariant": {
24472
- "declaration": "export type CardDataVizVariant = 'custom' | 'bar' | 'line' | 'donut';",
23989
+ "src/wc/components/CardChart/CardChart.tsx::CardChartVariant": {
23990
+ "declaration": "export type CardChartVariant = 'custom' | 'chart';",
24473
23991
  "docstring": "",
24474
- "path": "src/wc/components/CardDataViz/CardDataViz.tsx"
23992
+ "path": "src/wc/components/CardChart/CardChart.tsx"
24475
23993
  },
24476
- "src/wc/components/CardDataViz/CardDataViz.tsx::CardDataVizWidth": {
24477
- "declaration": "export type CardDataVizWidth = 'sm' | 'md' | 'lg';",
23994
+ "src/wc/components/CardChart/CardChart.tsx::CardChartWidth": {
23995
+ "declaration": "export type CardChartWidth = 'sm' | 'md' | 'lg';",
24478
23996
  "docstring": "",
24479
- "path": "src/wc/components/CardDataViz/CardDataViz.tsx"
23997
+ "path": "src/wc/components/CardChart/CardChart.tsx"
24480
23998
  },
24481
23999
  "src/wc/components/CardSetting/CardSetting.tsx::CardSettingWidth": {
24482
24000
  "declaration": "export type CardSettingWidth = 'sm' | 'md' | 'lg';",
@@ -24488,20 +24006,15 @@
24488
24006
  "docstring": "",
24489
24007
  "path": "src/wc/components/CardSetting/CardSetting.tsx"
24490
24008
  },
24491
- "src/wc/components/ChartBar/ChartBar.tsx::ChartBarVariant": {
24492
- "declaration": "export type ChartBarVariant = 'single' | 'stacked' | 'percentage';",
24009
+ "src/wc/utils/chart-grammar.ts::ChartDefinition": {
24010
+ "declaration": "export interface ChartDefinition<TDatum = unknown> {\n chart: ChartSpec<TDatum> | ChartSpecBuilder<TDatum>;\n}",
24493
24011
  "docstring": "",
24494
- "path": "src/wc/components/ChartBar/ChartBar.tsx"
24495
- },
24496
- "src/wc/utils/chart-types.ts::ChartDatum": {
24497
- "declaration": "export interface ChartDatum {\n label: string;\n value: number;\n /** CSS color override; defaults to the next `--color-data-category-*` token. */\n color?: string;\n}",
24498
- "docstring": "Shared data shapes for `ds-chart-*` components — kept minimal for the initial scaffold, expect these to grow per component once design is finalized.",
24499
- "path": "src/wc/utils/chart-types.ts"
24012
+ "path": "src/wc/utils/chart-grammar.ts"
24500
24013
  },
24501
- "src/wc/utils/chart-types.ts::ChartSeries": {
24502
- "declaration": "export interface ChartSeries {\n name: string;\n data: number[];\n /** CSS color override; defaults to the next `--color-data-category-*` token. */\n color?: string;\n}",
24014
+ "src/wc/components/Chart/Chart.tsx::ChartFocusChangeDetail": {
24015
+ "declaration": "export interface ChartFocusChangeDetail {\n primary: ChartPoint | null;\n points: readonly ChartPoint[];\n source: ChartFocusSource;\n}",
24503
24016
  "docstring": "",
24504
- "path": "src/wc/utils/chart-types.ts"
24017
+ "path": "src/wc/components/Chart/Chart.tsx"
24505
24018
  },
24506
24019
  "src/wc/utils/chart-types.ts::ChartLegendItem": {
24507
24020
  "declaration": "export interface ChartLegendItem {\n label: string;\n value?: number;\n /** CSS color override; defaults to the next `--color-data-category-*` token. */\n color?: string;\n /** When set, the row renders as a link (e.g. to a filtered list page for this segment). */\n href?: string;\n}",
@@ -24808,6 +24321,11 @@
24808
24321
  "docstring": "",
24809
24322
  "path": "src/wc/components/Tooltip/Tooltip.tsx"
24810
24323
  },
24324
+ "src/wc/components/TooltipChart/TooltipChart.tsx::TooltipChartItem": {
24325
+ "declaration": "export interface TooltipChartItem {\n label: string;\n value: string | number;\n color?: string;\n}",
24326
+ "docstring": "",
24327
+ "path": "src/wc/components/TooltipChart/TooltipChart.tsx"
24328
+ },
24811
24329
  "src/wc/components/conversation-types.ts::AgentActivityItem": {
24812
24330
  "declaration": "export interface AgentActivityItem {\n id: string;\n label: string;\n detail?: string;\n state: AgentActivityState;\n}",
24813
24331
  "docstring": "",