@ds-mo/ui 3.0.1 → 3.1.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 (430) hide show
  1. package/dist/.build-stamp +1 -1
  2. package/dist/angular/angular-component-lib/utils.d.ts +9 -0
  3. package/dist/angular/angular-component-lib/utils.js +58 -0
  4. package/dist/angular/boolean-value-accessor.d.ts +9 -0
  5. package/dist/angular/boolean-value-accessor.js +37 -0
  6. package/dist/angular/ds-app-shell.d.ts +12 -0
  7. package/dist/angular/ds-app-shell.js +38 -0
  8. package/dist/angular/ds-badge.d.ts +12 -0
  9. package/dist/angular/ds-badge.js +38 -0
  10. package/dist/angular/ds-banner.d.ts +15 -0
  11. package/dist/angular/ds-banner.js +42 -0
  12. package/dist/angular/ds-bar-nav.d.ts +18 -0
  13. package/dist/angular/ds-bar-nav.js +42 -0
  14. package/dist/angular/ds-button-filled.d.ts +15 -0
  15. package/dist/angular/ds-button-filled.js +43 -0
  16. package/dist/angular/ds-button-unfilled.d.ts +17 -0
  17. package/dist/angular/ds-button-unfilled.js +46 -0
  18. package/dist/angular/ds-card-data-viz-donut.d.ts +18 -0
  19. package/dist/angular/ds-card-data-viz-donut.js +42 -0
  20. package/dist/angular/ds-card-setting.d.ts +18 -0
  21. package/dist/angular/ds-card-setting.js +42 -0
  22. package/dist/angular/ds-card.d.ts +12 -0
  23. package/dist/angular/ds-card.js +38 -0
  24. package/dist/angular/ds-chart-bar.d.ts +12 -0
  25. package/dist/angular/ds-chart-bar.js +38 -0
  26. package/dist/angular/ds-chart-donut.d.ts +19 -0
  27. package/dist/angular/ds-chart-donut.js +42 -0
  28. package/dist/angular/ds-chart-legend.d.ts +30 -0
  29. package/dist/angular/ds-chart-legend.js +45 -0
  30. package/dist/angular/ds-chart-line.d.ts +12 -0
  31. package/dist/angular/ds-chart-line.js +38 -0
  32. package/dist/angular/ds-checkbox.d.ts +15 -0
  33. package/dist/angular/ds-checkbox.js +42 -0
  34. package/dist/angular/ds-chip.d.ts +18 -0
  35. package/dist/angular/ds-chip.js +42 -0
  36. package/dist/angular/ds-divider.d.ts +12 -0
  37. package/dist/angular/ds-divider.js +38 -0
  38. package/dist/angular/ds-empty-state.d.ts +12 -0
  39. package/dist/angular/ds-empty-state.js +38 -0
  40. package/dist/angular/ds-field.d.ts +12 -0
  41. package/dist/angular/ds-field.js +38 -0
  42. package/dist/angular/ds-icon.d.ts +12 -0
  43. package/dist/angular/ds-icon.js +38 -0
  44. package/dist/angular/ds-input.d.ts +17 -0
  45. package/dist/angular/ds-input.js +46 -0
  46. package/dist/angular/ds-loader.d.ts +12 -0
  47. package/dist/angular/ds-loader.js +38 -0
  48. package/dist/angular/ds-menu.d.ts +24 -0
  49. package/dist/angular/ds-menu.js +48 -0
  50. package/dist/angular/ds-modal.d.ts +15 -0
  51. package/dist/angular/ds-modal.js +42 -0
  52. package/dist/angular/ds-pagination.d.ts +15 -0
  53. package/dist/angular/ds-pagination.js +42 -0
  54. package/dist/angular/ds-panel-nav.d.ts +42 -0
  55. package/dist/angular/ds-panel-nav.js +58 -0
  56. package/dist/angular/ds-panel-tools.d.ts +33 -0
  57. package/dist/angular/ds-panel-tools.js +49 -0
  58. package/dist/angular/ds-radio-group.d.ts +15 -0
  59. package/dist/angular/ds-radio-group.js +42 -0
  60. package/dist/angular/ds-select.d.ts +18 -0
  61. package/dist/angular/ds-select.js +42 -0
  62. package/dist/angular/ds-shell-gradient-picker.d.ts +16 -0
  63. package/dist/angular/ds-shell-gradient-picker.js +42 -0
  64. package/dist/angular/ds-shell-gradient-swatch.d.ts +16 -0
  65. package/dist/angular/ds-shell-gradient-swatch.js +42 -0
  66. package/dist/angular/ds-skeleton.d.ts +12 -0
  67. package/dist/angular/ds-skeleton.js +38 -0
  68. package/dist/angular/ds-slider.d.ts +15 -0
  69. package/dist/angular/ds-slider.js +42 -0
  70. package/dist/angular/ds-tab-group-nav.d.ts +20 -0
  71. package/dist/angular/ds-tab-group-nav.js +46 -0
  72. package/dist/angular/ds-tab-group.d.ts +15 -0
  73. package/dist/angular/ds-tab-group.js +42 -0
  74. package/dist/angular/ds-table.d.ts +33 -0
  75. package/dist/angular/ds-table.js +48 -0
  76. package/dist/angular/ds-tag.d.ts +12 -0
  77. package/dist/angular/ds-tag.js +38 -0
  78. package/dist/angular/ds-text.d.ts +12 -0
  79. package/dist/angular/ds-text.js +38 -0
  80. package/dist/angular/ds-toggle.d.ts +15 -0
  81. package/dist/angular/ds-toggle.js +42 -0
  82. package/dist/angular/ds-tooltip-data-viz.d.ts +12 -0
  83. package/dist/angular/ds-tooltip-data-viz.js +38 -0
  84. package/dist/angular/ds-tooltip.d.ts +12 -0
  85. package/dist/angular/ds-tooltip.js +38 -0
  86. package/dist/angular/index.d.ts +2 -0
  87. package/dist/angular/index.js +43 -0
  88. package/dist/angular/proxies.d.ts +44 -0
  89. package/dist/angular/proxies.js +45 -0
  90. package/dist/angular/radio-value-accessor.d.ts +8 -0
  91. package/dist/angular/radio-value-accessor.js +34 -0
  92. package/dist/angular/select-value-accessor.d.ts +8 -0
  93. package/dist/angular/select-value-accessor.js +34 -0
  94. package/dist/angular/text-value-accessor.d.ts +8 -0
  95. package/dist/angular/text-value-accessor.js +34 -0
  96. package/dist/angular/value-accessor.d.ts +18 -0
  97. package/dist/angular/value-accessor.js +39 -0
  98. package/dist/components/ds-bar-nav.js +1 -1
  99. package/dist/components/ds-bar-nav.js.map +1 -1
  100. package/dist/components/ds-button-filled.js +1 -1
  101. package/dist/components/ds-button-unfilled.js +1 -1
  102. package/dist/components/ds-card-data-viz-donut.js +1 -1
  103. package/dist/components/ds-card-data-viz-donut.js.map +1 -1
  104. package/dist/components/ds-card-setting.js +1 -1
  105. package/dist/components/ds-card-setting.js.map +1 -1
  106. package/dist/components/ds-chart-donut.js +1 -1
  107. package/dist/components/ds-chart-donut.js.map +1 -1
  108. package/dist/components/ds-chart-legend.js +1 -1
  109. package/dist/components/ds-chart-legend.js.map +1 -1
  110. package/dist/components/ds-checkbox.js +1 -1
  111. package/dist/components/ds-checkbox.js.map +1 -1
  112. package/dist/components/ds-chip.js +1 -1
  113. package/dist/components/ds-chip.js.map +1 -1
  114. package/dist/components/ds-empty-state.js +1 -1
  115. package/dist/components/ds-empty-state.js.map +1 -1
  116. package/dist/components/ds-input.js +1 -1
  117. package/dist/components/ds-input.js.map +1 -1
  118. package/dist/components/ds-menu.js +1 -1
  119. package/dist/components/ds-pagination.js +1 -1
  120. package/dist/components/ds-pagination.js.map +1 -1
  121. package/dist/components/ds-panel-nav.js +1 -1
  122. package/dist/components/ds-panel-nav.js.map +1 -1
  123. package/dist/components/ds-panel-tools.js +1 -1
  124. package/dist/components/ds-panel-tools.js.map +1 -1
  125. package/dist/components/ds-radio-group.js +1 -1
  126. package/dist/components/ds-radio-group.js.map +1 -1
  127. package/dist/components/ds-select.js +1 -1
  128. package/dist/components/ds-select.js.map +1 -1
  129. package/dist/components/ds-shell-gradient-picker.js +1 -1
  130. package/dist/components/ds-shell-gradient-swatch.js +1 -1
  131. package/dist/components/ds-tab-group-nav.js +1 -1
  132. package/dist/components/ds-tab-group.js +1 -1
  133. package/dist/components/ds-tab-group.js.map +1 -1
  134. package/dist/components/ds-table.js +1 -1
  135. package/dist/components/ds-table.js.map +1 -1
  136. package/dist/components/ds-toggle.js +1 -1
  137. package/dist/components/ds-toggle.js.map +1 -1
  138. package/dist/components/index.js +1 -1
  139. package/dist/components/index.js.map +1 -1
  140. package/dist/components/p-BBpASejH.js +2 -0
  141. package/dist/components/p-BBpASejH.js.map +1 -0
  142. package/dist/components/{p-D0gBLLJx.js → p-BFiaUYu7.js} +2 -2
  143. package/dist/components/p-BFiaUYu7.js.map +1 -0
  144. package/dist/components/p-CTK82RIw.js +2 -0
  145. package/dist/components/p-CTK82RIw.js.map +1 -0
  146. package/dist/components/{p-BSNlp8Di.js → p-Cp86p-11.js} +2 -2
  147. package/dist/components/{p-BSNlp8Di.js.map → p-Cp86p-11.js.map} +1 -1
  148. package/dist/components/{p-vlwhuqVn.js → p-DHjjwgku.js} +2 -2
  149. package/dist/components/{p-vlwhuqVn.js.map → p-DHjjwgku.js.map} +1 -1
  150. package/dist/components/{p-boPMASaQ.js → p-DOEMwKBb.js} +2 -2
  151. package/dist/components/{p-boPMASaQ.js.map → p-DOEMwKBb.js.map} +1 -1
  152. package/dist/components/{p-Co2kLhWu.js → p-DolYlDbY.js} +2 -2
  153. package/dist/components/p-DolYlDbY.js.map +1 -0
  154. package/dist/framework/angular.d.ts +6 -0
  155. package/dist/framework/angular.js +6 -0
  156. package/dist/lib/utils/format-compact-number.d.ts +1 -1
  157. package/dist/lib/utils/index.js +8 -1
  158. package/dist/lib/utils/index.js.map +2 -2
  159. package/dist/react/components.d.ts +44 -0
  160. package/{src/react/components.ts → dist/react/components.js} +0 -1
  161. package/dist/react/ds-app-shell.d.ts +9 -0
  162. package/dist/react/ds-app-shell.js +12 -0
  163. package/dist/react/ds-badge.d.ts +9 -0
  164. package/dist/react/ds-badge.js +12 -0
  165. package/dist/react/ds-banner.d.ts +12 -0
  166. package/dist/react/ds-banner.js +12 -0
  167. package/dist/react/ds-bar-nav.d.ts +12 -0
  168. package/dist/react/ds-bar-nav.js +12 -0
  169. package/dist/react/ds-button-filled.d.ts +12 -0
  170. package/dist/react/ds-button-filled.js +12 -0
  171. package/dist/react/ds-button-unfilled.d.ts +13 -0
  172. package/dist/react/ds-button-unfilled.js +15 -0
  173. package/dist/react/ds-card-data-viz-donut.d.ts +12 -0
  174. package/dist/react/ds-card-data-viz-donut.js +12 -0
  175. package/dist/react/ds-card-setting.d.ts +12 -0
  176. package/dist/react/ds-card-setting.js +12 -0
  177. package/dist/react/ds-card.d.ts +9 -0
  178. package/dist/react/ds-card.js +12 -0
  179. package/dist/react/ds-chart-bar.d.ts +9 -0
  180. package/dist/react/ds-chart-bar.js +12 -0
  181. package/dist/react/ds-chart-donut.d.ts +12 -0
  182. package/dist/react/ds-chart-donut.js +12 -0
  183. package/dist/react/ds-chart-legend.d.ts +16 -0
  184. package/dist/react/ds-chart-legend.js +15 -0
  185. package/dist/react/ds-chart-line.d.ts +9 -0
  186. package/dist/react/ds-chart-line.js +12 -0
  187. package/dist/react/ds-checkbox.d.ts +12 -0
  188. package/dist/react/ds-checkbox.js +12 -0
  189. package/dist/react/ds-chip.d.ts +12 -0
  190. package/dist/react/ds-chip.js +12 -0
  191. package/dist/react/ds-divider.d.ts +9 -0
  192. package/dist/react/ds-divider.js +12 -0
  193. package/dist/react/ds-empty-state.d.ts +9 -0
  194. package/dist/react/ds-empty-state.js +12 -0
  195. package/dist/react/ds-field.d.ts +9 -0
  196. package/dist/react/ds-field.js +12 -0
  197. package/dist/react/ds-icon.d.ts +9 -0
  198. package/dist/react/ds-icon.js +12 -0
  199. package/dist/react/ds-input.d.ts +13 -0
  200. package/dist/react/ds-input.js +15 -0
  201. package/dist/react/ds-loader.d.ts +9 -0
  202. package/dist/react/ds-loader.js +12 -0
  203. package/dist/react/ds-menu.d.ts +14 -0
  204. package/dist/react/ds-menu.js +16 -0
  205. package/dist/react/ds-modal.d.ts +12 -0
  206. package/dist/react/ds-modal.js +12 -0
  207. package/dist/react/ds-pagination.d.ts +12 -0
  208. package/dist/react/ds-pagination.js +12 -0
  209. package/dist/react/ds-panel-nav.d.ts +17 -0
  210. package/dist/react/ds-panel-nav.js +19 -0
  211. package/dist/react/ds-panel-tools.d.ts +17 -0
  212. package/dist/react/ds-panel-tools.js +16 -0
  213. package/dist/react/ds-radio-group.d.ts +12 -0
  214. package/dist/react/ds-radio-group.js +12 -0
  215. package/dist/react/ds-select.d.ts +12 -0
  216. package/dist/react/ds-select.js +12 -0
  217. package/dist/react/ds-shell-gradient-picker.d.ts +12 -0
  218. package/dist/react/ds-shell-gradient-picker.js +12 -0
  219. package/dist/react/ds-shell-gradient-swatch.d.ts +12 -0
  220. package/dist/react/ds-shell-gradient-swatch.js +12 -0
  221. package/dist/react/ds-skeleton.d.ts +9 -0
  222. package/dist/react/ds-skeleton.js +12 -0
  223. package/dist/react/ds-slider.d.ts +12 -0
  224. package/dist/react/ds-slider.js +12 -0
  225. package/dist/react/ds-tab-group-nav.d.ts +13 -0
  226. package/dist/react/ds-tab-group-nav.js +15 -0
  227. package/dist/react/ds-tab-group.d.ts +12 -0
  228. package/dist/react/ds-tab-group.js +12 -0
  229. package/dist/react/ds-table.d.ts +21 -0
  230. package/dist/react/ds-table.js +16 -0
  231. package/dist/react/ds-tag.d.ts +9 -0
  232. package/dist/react/ds-tag.js +12 -0
  233. package/dist/react/ds-text.d.ts +9 -0
  234. package/dist/react/ds-text.js +12 -0
  235. package/dist/react/ds-toggle.d.ts +12 -0
  236. package/dist/react/ds-toggle.js +12 -0
  237. package/dist/react/ds-tooltip-data-viz.d.ts +9 -0
  238. package/dist/react/ds-tooltip-data-viz.js +12 -0
  239. package/dist/react/ds-tooltip.d.ts +9 -0
  240. package/dist/react/ds-tooltip.js +12 -0
  241. package/dist/types/components/BarNav/BarNav.d.ts +1 -0
  242. package/dist/types/components/ButtonFilled/ButtonFilled.d.ts +1 -1
  243. package/dist/types/components/ButtonUnfilled/ButtonUnfilled.d.ts +1 -1
  244. package/dist/types/components/CardDataVizDonut/CardDataVizDonut.d.ts +1 -0
  245. package/dist/types/components/CardSetting/CardSetting.d.ts +3 -0
  246. package/dist/types/components/ChartDonut/ChartDonut.d.ts +2 -0
  247. package/dist/types/components/ChartLegend/ChartLegend.d.ts +1 -0
  248. package/dist/types/components/Checkbox/Checkbox.d.ts +12 -0
  249. package/dist/types/components/Chip/Chip.d.ts +2 -0
  250. package/dist/types/components/EmptyState/EmptyState.d.ts +2 -0
  251. package/dist/types/components/Input/Input.d.ts +14 -1
  252. package/dist/types/components/Menu/Menu.d.ts +2 -0
  253. package/dist/types/components/Pagination/Pagination.d.ts +3 -0
  254. package/dist/types/components/PanelNav/PanelNav.d.ts +7 -0
  255. package/dist/types/components/PanelTools/PanelTools.d.ts +2 -0
  256. package/dist/types/components/RadioGroup/RadioGroup.d.ts +13 -1
  257. package/dist/types/components/Select/Select.d.ts +13 -1
  258. package/dist/types/components/ShellGradientPicker/ShellGradientPicker.d.ts +1 -0
  259. package/dist/types/components/ShellGradientSwatch/ShellGradientSwatch.d.ts +1 -1
  260. package/dist/types/components/TabGroup/TabGroup.d.ts +1 -1
  261. package/dist/types/components/TabGroupNav/TabGroupNav.d.ts +1 -1
  262. package/dist/types/components/Table/Table.d.ts +6 -0
  263. package/dist/types/components/Toggle/Toggle.d.ts +12 -0
  264. package/dist/types/components.d.ts +525 -30
  265. package/dist/types/stencil-public-runtime.d.ts +1 -0
  266. package/dist/types/utils/format-compact-number.d.ts +1 -1
  267. package/package.json +58 -41
  268. package/dist/components/p-Co2kLhWu.js.map +0 -1
  269. package/dist/components/p-CsaW5gDM.js +0 -2
  270. package/dist/components/p-CsaW5gDM.js.map +0 -1
  271. package/dist/components/p-D0gBLLJx.js.map +0 -1
  272. package/dist/components/p-DEpLlQZK.js +0 -2
  273. package/dist/components/p-DEpLlQZK.js.map +0 -1
  274. package/src/angular/angular-component-lib/utils.ts +0 -65
  275. package/src/angular/index.ts +0 -45
  276. package/src/angular/proxies.ts +0 -1156
  277. package/src/react/ds-app-shell.ts +0 -26
  278. package/src/react/ds-badge.ts +0 -26
  279. package/src/react/ds-banner.ts +0 -27
  280. package/src/react/ds-bar-nav.ts +0 -27
  281. package/src/react/ds-button-filled.ts +0 -27
  282. package/src/react/ds-button-unfilled.ts +0 -33
  283. package/src/react/ds-card-data-viz-donut.ts +0 -27
  284. package/src/react/ds-card-setting.ts +0 -27
  285. package/src/react/ds-card.ts +0 -26
  286. package/src/react/ds-chart-bar.ts +0 -26
  287. package/src/react/ds-chart-donut.ts +0 -27
  288. package/src/react/ds-chart-legend.ts +0 -33
  289. package/src/react/ds-chart-line.ts +0 -26
  290. package/src/react/ds-checkbox.ts +0 -27
  291. package/src/react/ds-chip.ts +0 -27
  292. package/src/react/ds-divider.ts +0 -26
  293. package/src/react/ds-empty-state.ts +0 -26
  294. package/src/react/ds-field.ts +0 -26
  295. package/src/react/ds-icon.ts +0 -26
  296. package/src/react/ds-input.ts +0 -33
  297. package/src/react/ds-loader.ts +0 -26
  298. package/src/react/ds-menu.ts +0 -35
  299. package/src/react/ds-modal.ts +0 -27
  300. package/src/react/ds-pagination.ts +0 -27
  301. package/src/react/ds-panel-nav.ts +0 -41
  302. package/src/react/ds-panel-tools.ts +0 -35
  303. package/src/react/ds-radio-group.ts +0 -27
  304. package/src/react/ds-select.ts +0 -27
  305. package/src/react/ds-shell-gradient-picker.ts +0 -27
  306. package/src/react/ds-shell-gradient-swatch.ts +0 -27
  307. package/src/react/ds-skeleton.ts +0 -26
  308. package/src/react/ds-slider.ts +0 -27
  309. package/src/react/ds-tab-group-nav.ts +0 -33
  310. package/src/react/ds-tab-group.ts +0 -27
  311. package/src/react/ds-table.ts +0 -35
  312. package/src/react/ds-tag.ts +0 -26
  313. package/src/react/ds-text.ts +0 -26
  314. package/src/react/ds-toggle.ts +0 -27
  315. package/src/react/ds-tooltip-data-viz.ts +0 -26
  316. package/src/react/ds-tooltip.ts +0 -26
  317. package/src/wc/components/AppShell/AppShell.tsx +0 -377
  318. package/src/wc/components/Badge/Badge.tsx +0 -179
  319. package/src/wc/components/Badge/index.ts +0 -1
  320. package/src/wc/components/Banner/Banner.tsx +0 -156
  321. package/src/wc/components/BarNav/BarNav.tsx +0 -745
  322. package/src/wc/components/BarNav/bar-nav-dom-utils.ts +0 -23
  323. package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +0 -114
  324. package/src/wc/components/BarNav/bar-nav-types.ts +0 -3
  325. package/src/wc/components/BarNav/bar-nav-utils.ts +0 -67
  326. package/src/wc/components/BarNav/index.ts +0 -2
  327. package/src/wc/components/ButtonFilled/ButtonFilled.tsx +0 -171
  328. package/src/wc/components/ButtonFilled/index.ts +0 -7
  329. package/src/wc/components/ButtonUnfilled/ButtonUnfilled.tsx +0 -229
  330. package/src/wc/components/ButtonUnfilled/index.ts +0 -7
  331. package/src/wc/components/Card/Card.tsx +0 -78
  332. package/src/wc/components/Card/index.ts +0 -1
  333. package/src/wc/components/CardDataVizDonut/CardDataVizDonut.tsx +0 -108
  334. package/src/wc/components/CardDataVizDonut/index.ts +0 -1
  335. package/src/wc/components/CardSetting/CardSetting.tsx +0 -81
  336. package/src/wc/components/CardSetting/index.ts +0 -1
  337. package/src/wc/components/ChartBar/ChartBar.tsx +0 -88
  338. package/src/wc/components/ChartBar/index.ts +0 -1
  339. package/src/wc/components/ChartDonut/ChartDonut.tsx +0 -289
  340. package/src/wc/components/ChartDonut/index.ts +0 -1
  341. package/src/wc/components/ChartLegend/ChartLegend.tsx +0 -125
  342. package/src/wc/components/ChartLegend/index.ts +0 -2
  343. package/src/wc/components/ChartLine/ChartLine.tsx +0 -102
  344. package/src/wc/components/ChartLine/index.ts +0 -1
  345. package/src/wc/components/Checkbox/Checkbox.tsx +0 -60
  346. package/src/wc/components/Checkbox/index.ts +0 -1
  347. package/src/wc/components/Chip/Chip.tsx +0 -104
  348. package/src/wc/components/Chip/index.ts +0 -1
  349. package/src/wc/components/Divider/Divider.tsx +0 -107
  350. package/src/wc/components/Divider/index.ts +0 -2
  351. package/src/wc/components/EmptyState/EmptyState.tsx +0 -30
  352. package/src/wc/components/Field/Field.tsx +0 -30
  353. package/src/wc/components/Icon/Icon.tsx +0 -172
  354. package/src/wc/components/Icon/flag-icon-catalog.ts +0 -36
  355. package/src/wc/components/Icon/icon-cache.ts +0 -47
  356. package/src/wc/components/Icon/icon-svg.ts +0 -73
  357. package/src/wc/components/Icon/index.ts +0 -1
  358. package/src/wc/components/Icon/system-icon-catalog.ts +0 -401
  359. package/src/wc/components/Input/Input.tsx +0 -107
  360. package/src/wc/components/Input/index.ts +0 -1
  361. package/src/wc/components/Loader/Loader.tsx +0 -99
  362. package/src/wc/components/Loader/index.ts +0 -1
  363. package/src/wc/components/Menu/Menu.tsx +0 -437
  364. package/src/wc/components/Menu/menu-placement.ts +0 -26
  365. package/src/wc/components/Menu/menu-position.ts +0 -78
  366. package/src/wc/components/Menu/menu-types.ts +0 -39
  367. package/src/wc/components/Modal/Modal.tsx +0 -213
  368. package/src/wc/components/Pagination/Pagination.tsx +0 -97
  369. package/src/wc/components/PanelNav/PanelNav.tsx +0 -714
  370. package/src/wc/components/PanelNav/index.ts +0 -17
  371. package/src/wc/components/PanelNav/panel-nav-types.ts +0 -36
  372. package/src/wc/components/PanelNav/panel-nav-utils.ts +0 -79
  373. package/src/wc/components/PanelTools/PanelTools.tsx +0 -366
  374. package/src/wc/components/PanelTools/index.ts +0 -7
  375. package/src/wc/components/PanelTools/panel-tools-types.ts +0 -44
  376. package/src/wc/components/PanelTools/panel-tools-utils.ts +0 -50
  377. package/src/wc/components/RadioGroup/RadioGroup.tsx +0 -130
  378. package/src/wc/components/RadioGroup/index.ts +0 -1
  379. package/src/wc/components/Select/Select.tsx +0 -274
  380. package/src/wc/components/Select/index.ts +0 -1
  381. package/src/wc/components/ShellGradientPicker/ShellGradientPicker.tsx +0 -55
  382. package/src/wc/components/ShellGradientSwatch/ShellGradientSwatch.tsx +0 -69
  383. package/src/wc/components/ShellGradientSwatch/shell-gradient-swatch-types.ts +0 -17
  384. package/src/wc/components/Skeleton/Skeleton.tsx +0 -64
  385. package/src/wc/components/Skeleton/index.ts +0 -1
  386. package/src/wc/components/Slider/Slider.tsx +0 -76
  387. package/src/wc/components/Slider/index.ts +0 -1
  388. package/src/wc/components/TabGroup/TabGroup.tsx +0 -204
  389. package/src/wc/components/TabGroup/tab-item-utils.ts +0 -25
  390. package/src/wc/components/TabGroupNav/TabGroupNav.tsx +0 -347
  391. package/src/wc/components/Table/Table.tsx +0 -273
  392. package/src/wc/components/Tag/Tag.tsx +0 -63
  393. package/src/wc/components/Tag/index.ts +0 -1
  394. package/src/wc/components/Text/Text.tsx +0 -99
  395. package/src/wc/components/Text/index.ts +0 -12
  396. package/src/wc/components/Text/text-types.ts +0 -23
  397. package/src/wc/components/Text/text-utils.ts +0 -13
  398. package/src/wc/components/Toggle/Toggle.tsx +0 -43
  399. package/src/wc/components/Toggle/index.ts +0 -1
  400. package/src/wc/components/Tooltip/Tooltip.tsx +0 -413
  401. package/src/wc/components/TooltipDataViz/TooltipDataViz.tsx +0 -145
  402. package/src/wc/components/TooltipDataViz/index.ts +0 -1
  403. package/src/wc/components.d.ts +0 -3569
  404. package/src/wc/nav/badge-gradient-ring.ts +0 -109
  405. package/src/wc/nav/chrome-transition.ts +0 -62
  406. package/src/wc/nav/index.ts +0 -80
  407. package/src/wc/nav/nav-chrome.ts +0 -47
  408. package/src/wc/nav/shell-chrome-metrics.ts +0 -49
  409. package/src/wc/nav/shell-gradient-presets.ts +0 -60
  410. package/src/wc/nav/shell-gradient.ts +0 -94
  411. package/src/wc/nav/shell-shortcuts.ts +0 -63
  412. package/src/wc/nav/shell-view-transition.ts +0 -122
  413. package/src/wc/utils/chart-colors.ts +0 -7
  414. package/src/wc/utils/chart-types.ts +0 -25
  415. package/src/wc/utils/control-density.css +0 -43
  416. package/src/wc/utils/control-inactive.css +0 -20
  417. package/src/wc/utils/control-text.ts +0 -11
  418. package/src/wc/utils/control-width.css +0 -28
  419. package/src/wc/utils/control-width.ts +0 -10
  420. package/src/wc/utils/focus-ring.css +0 -33
  421. package/src/wc/utils/format-compact-number.ts +0 -27
  422. package/src/wc/utils/index.ts +0 -27
  423. package/src/wc/utils/interaction-fill.css +0 -162
  424. package/src/wc/utils/resolve-css-length-px.ts +0 -66
  425. package/src/wc/utils/resolve-css-time-ms.ts +0 -46
  426. package/src/wc/utils/scroll-edge-fade.css +0 -80
  427. package/src/wc/utils/scroll-edge-fade.ts +0 -148
  428. package/src/wc/utils/token-defaults.ts +0 -81
  429. package/src/wc/utils/truncate-svg-text.ts +0 -25
  430. package/src/wc/utils/typography.css +0 -146
@@ -1,3569 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
7
- import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
8
- import { NavChromeStyle } from "./nav/nav-chrome";
9
- import { ShellGradientPreset } from "./nav/shell-gradient-presets";
10
- import { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
11
- import { BannerContrast, BannerIntent } from "./components/Banner/Banner";
12
- import { BarNavTab } from "./components/BarNav/bar-nav-types";
13
- import { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
14
- import { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
15
- import { CardAppearance, CardWidth } from "./components/Card/Card";
16
- import { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
17
- import { CardSettingWidth } from "./components/CardSetting/CardSetting";
18
- import { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
19
- import { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
20
- import { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
21
- import { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
22
- import { EmptyStateType } from "./components/EmptyState/EmptyState";
23
- import { IconColor, IconSize } from "./components/Icon/Icon";
24
- import { InputType } from "./components/Input/Input";
25
- import { LoaderColor, LoaderSize } from "./components/Loader/Loader";
26
- import { MenuItemData, MenuSection } from "./components/Menu/menu-types";
27
- import { MenuAlign, MenuSide } from "./components/Menu/menu-position";
28
- import { ModalWidth } from "./components/Modal/Modal";
29
- import { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./components/PanelNav/panel-nav-types";
30
- import { ChromeTransitionDetail } from "./nav/chrome-transition";
31
- import { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
32
- import { RadioOption } from "./components/RadioGroup/RadioGroup";
33
- import { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
34
- import { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
35
- import { SkeletonVariant } from "./components/Skeleton/Skeleton";
36
- import { TabItem } from "./components/TabGroup/tab-item-utils";
37
- import { TabBackground } from "./components/TabGroup/TabGroup";
38
- import { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
39
- import { SortState, TableColumn } from "./components/Table/Table";
40
- import { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
41
- import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/text-types";
42
- import { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
43
- export { NavChromeStyle } from "./nav/nav-chrome";
44
- export { ShellGradientPreset } from "./nav/shell-gradient-presets";
45
- export { BadgeSurface, BadgeVariant } from "./components/Badge/Badge";
46
- export { BannerContrast, BannerIntent } from "./components/Banner/Banner";
47
- export { BarNavTab } from "./components/BarNav/bar-nav-types";
48
- export { ButtonFilledContrast, ButtonFilledIntent, ButtonFilledSize, ButtonFilledVariant, ButtonFilledWidth } from "./components/ButtonFilled/ButtonFilled";
49
- export { ButtonUnfilledBackground, ButtonUnfilledOnBackgroundContrast, ButtonUnfilledSize, ButtonUnfilledVariant, ButtonUnfilledWidth } from "./components/ButtonUnfilled/ButtonUnfilled";
50
- export { CardAppearance, CardWidth } from "./components/Card/Card";
51
- export { CardDataVizDonutWidth } from "./components/CardDataVizDonut/CardDataVizDonut";
52
- export { CardSettingWidth } from "./components/CardSetting/CardSetting";
53
- export { ChartDatum, ChartLegendItem, ChartSeries } from "./utils/chart-types";
54
- export { ChartLegendDirection } from "./components/ChartLegend/ChartLegend";
55
- export { ChipBackground, ChipSize, ChipState } from "./components/Chip/Chip";
56
- export { DividerInset, DividerLength, DividerOrientation, DividerSurface } from "./components/Divider/Divider";
57
- export { EmptyStateType } from "./components/EmptyState/EmptyState";
58
- export { IconColor, IconSize } from "./components/Icon/Icon";
59
- export { InputType } from "./components/Input/Input";
60
- export { LoaderColor, LoaderSize } from "./components/Loader/Loader";
61
- export { MenuItemData, MenuSection } from "./components/Menu/menu-types";
62
- export { MenuAlign, MenuSide } from "./components/Menu/menu-position";
63
- export { ModalWidth } from "./components/Modal/Modal";
64
- export { PanelNavGroup, PanelNavRouterMode, PanelNavUserActionDetail } from "./components/PanelNav/panel-nav-types";
65
- export { ChromeTransitionDetail } from "./nav/chrome-transition";
66
- export { PanelToolsItem, PanelToolsToolId } from "./components/PanelTools/panel-tools-types";
67
- export { RadioOption } from "./components/RadioGroup/RadioGroup";
68
- export { SelectOption, SelectSize, SelectWidth } from "./components/Select/Select";
69
- export { ShellGradientPreset as ShellGradientPreset1 } from "./components/ShellGradientSwatch/shell-gradient-swatch-types";
70
- export { SkeletonVariant } from "./components/Skeleton/Skeleton";
71
- export { TabItem } from "./components/TabGroup/tab-item-utils";
72
- export { TabBackground } from "./components/TabGroup/TabGroup";
73
- export { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
74
- export { SortState, TableColumn } from "./components/Table/Table";
75
- export { TagContrast, TagIntent, TagSize } from "./components/Tag/Tag";
76
- export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, TextWrap } from "./components/Text/text-types";
77
- export { TooltipAlign, TooltipSide, TooltipSize } from "./components/Tooltip/Tooltip";
78
- export namespace Components {
79
- interface DsAppShell {
80
- /**
81
- * When `true`, paints the radial wash behind panel, bar, and tools (synced to shell layout).
82
- * @default false
83
- */
84
- "gradient": boolean;
85
- /**
86
- * Built-in shell wash preset when `gradient` is true. `none` (solid secondary), `cool` (blue), `neutral` (grey), `warm` (yellow). `gradientSrc` overrides when set.
87
- * @default DEFAULT_SHELL_GRADIENT_PRESET
88
- */
89
- "gradientPreset": ShellGradientPreset;
90
- /**
91
- * Optional custom gradient for `background-image` (e.g. SVG URL). When set, overrides the built-in radial wash.
92
- * @default ''
93
- */
94
- "gradientSrc": string;
95
- /**
96
- * Chrome style propagated to slotted `ds-panel-nav` and `ds-bar-nav`.
97
- * @default 'dashboard'
98
- */
99
- "navStyle": NavChromeStyle;
100
- /**
101
- * When `true` (default), registers global shell keyboard shortcuts. `[` toggles panel nav; `]` closes tools; K/A/S/M/N toggle tool drawers. Modifiers are ignored so browser chords like ⌘N stay native.
102
- * @default true
103
- */
104
- "shortcutsEnabled": boolean;
105
- }
106
- interface DsBadge {
107
- /**
108
- * Direct ring background override for component-local surfaces.
109
- */
110
- "background": string | undefined;
111
- /**
112
- * Count shown for counter badges. Count 0 hides the badge.
113
- * @default 0
114
- */
115
- "count": number;
116
- /**
117
- * Ring samples the shell gradient stack (base fill + wash) instead of a flat `box-shadow`. Auto-enabled in `componentDidLoad` under `ds-app-shell[gradient]`; set `gradient-background` to opt in/out explicitly. The attribute must NOT start with `on` — Stencil's setAccessor routes any unknown `on*` member down the event-listener path during attribute reflection, calling addEventListener with a non-listener and throwing.
118
- * @default false
119
- */
120
- "gradientBackground": boolean;
121
- /**
122
- * Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
123
- * @default false
124
- */
125
- "isSelected": boolean;
126
- /**
127
- * Accessible label. Defaults to the count as a string.
128
- */
129
- "label": string | undefined;
130
- /**
131
- * Highest count shown before compacting to "+".
132
- * @default 9
133
- */
134
- "max": number;
135
- /**
136
- * Surface context for the ring around dots.
137
- * @default 'default'
138
- */
139
- "surface": BadgeSurface;
140
- /**
141
- * Render as a compact counter or notification dot.
142
- * @default 'counter'
143
- */
144
- "variant": BadgeVariant;
145
- }
146
- interface DsBanner {
147
- /**
148
- * @default 'medium'
149
- */
150
- "contrast": BannerContrast;
151
- /**
152
- * @default 'Dismiss'
153
- */
154
- "dismissLabel": string;
155
- /**
156
- * Renders at a fixed position (centered top) and auto-dismisses after 4 s.
157
- * @default false
158
- */
159
- "floating": boolean;
160
- /**
161
- * Renders the diagonal-stripe accent bar above the body.
162
- * @default false
163
- */
164
- "header": boolean;
165
- /**
166
- * @default 'neutral'
167
- */
168
- "intent": BannerIntent;
169
- /**
170
- * @default ''
171
- */
172
- "message": string;
173
- /**
174
- * @default false
175
- */
176
- "showDismiss": boolean;
177
- }
178
- interface DsBarNav {
179
- /**
180
- * Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
181
- * @default ''
182
- */
183
- "basePath": string;
184
- /**
185
- * Current route URL. When set with `basePath`, the active tab is derived automatically.
186
- * @default ''
187
- */
188
- "currentUrl": string;
189
- /**
190
- * Fallback heading shown when no tabs are provided. When tabs are present the heading is hidden.
191
- */
192
- "heading": string | undefined;
193
- /**
194
- * Style slot: `dashboard` or `settings`. Colors match for now.
195
- * @default 'dashboard'
196
- */
197
- "navStyle": NavChromeStyle;
198
- /**
199
- * Tab items for the left section. Set via JS property: `el.tabs = [...]`. Replace the array reference to update.
200
- * @default []
201
- */
202
- "tabs": BarNavTab[];
203
- /**
204
- * JSON fallback for `tabs` — useful when framework bindings don't propagate arrays.
205
- * @default ''
206
- */
207
- "tabsJson": string;
208
- /**
209
- * ID of the currently active tab. Overridden when `currentUrl` + `basePath` are set.
210
- * @default ''
211
- */
212
- "value": string;
213
- }
214
- interface DsButtonFilled {
215
- "ariaLabel": string | undefined;
216
- /**
217
- * Background fill weight. Foreground uses the paired contrast token: bold → faint, strong → medium, medium → strong, faint → bold.
218
- * @default 'bold'
219
- */
220
- "contrast": ButtonFilledContrast;
221
- /**
222
- * Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
223
- * @default ''
224
- */
225
- "icon": string;
226
- /**
227
- * Semantic colour intent.
228
- * @default 'brand'
229
- */
230
- "intent": ButtonFilledIntent;
231
- /**
232
- * Disables interaction.
233
- * @default false
234
- */
235
- "isInactive": boolean;
236
- /**
237
- * Visible text for `label` / `icon-label` variants.
238
- * @default ''
239
- */
240
- "label": string;
241
- "setFocus": () => Promise<void>;
242
- /**
243
- * Control density (height, padding, icon, type).
244
- * @default 'md'
245
- */
246
- "size": ButtonFilledSize;
247
- /**
248
- * Native button type.
249
- * @default 'button'
250
- */
251
- "type": 'button' | 'submit' | 'reset';
252
- /**
253
- * Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
254
- * @default 'label'
255
- */
256
- "variant": ButtonFilledVariant;
257
- /**
258
- * Width fit — hug content (default) or fill the parent.
259
- * @default 'hug'
260
- */
261
- "width": ButtonFilledWidth;
262
- }
263
- interface DsButtonUnfilled {
264
- /**
265
- * When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
266
- * @default true
267
- */
268
- "activeFill": boolean;
269
- "ariaLabel": string | undefined;
270
- /**
271
- * Parent surface context for navigation and always-dark chrome.
272
- */
273
- "background": ButtonUnfilledBackground | undefined;
274
- /**
275
- * Foreground and interaction tokens when the button sits on a contrasting parent background (default, medium, bold, or strong).
276
- */
277
- "backgroundContrast"?: ButtonUnfilledOnBackgroundContrast;
278
- "controls": string | undefined;
279
- /**
280
- * Show a notification dot at the top-right of the icon zone (icon variant only).
281
- * @default false
282
- */
283
- "dot": boolean;
284
- "expanded": boolean | undefined;
285
- /**
286
- * Native `tabindex` for roving keyboard groups in shell chrome. Omit for the default button tab stop (`0`).
287
- */
288
- "focusTabIndex"?: number;
289
- /**
290
- * Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
291
- * @default true
292
- */
293
- "hasBorder": boolean;
294
- "haspopup": string | undefined;
295
- /**
296
- * Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
297
- * @default ''
298
- */
299
- "icon": string;
300
- /**
301
- * Active/selected visual state. Always promotes foreground to primary.
302
- * @default false
303
- */
304
- "isActive": boolean;
305
- /**
306
- * Disables interaction.
307
- * @default false
308
- */
309
- "isInactive": boolean;
310
- /**
311
- * Visible text for `label` / `icon-label` variants.
312
- * @default ''
313
- */
314
- "label": string;
315
- "pressed": boolean | undefined;
316
- "setFocus": () => Promise<void>;
317
- /**
318
- * Control density (height, padding, icon, type).
319
- * @default 'md'
320
- */
321
- "size": ButtonUnfilledSize;
322
- /**
323
- * Native button type.
324
- * @default 'button'
325
- */
326
- "type": 'button' | 'submit' | 'reset';
327
- /**
328
- * Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
329
- * @default 'label'
330
- */
331
- "variant": ButtonUnfilledVariant;
332
- /**
333
- * Width fit — hug content (default) or fill the parent.
334
- * @default 'hug'
335
- */
336
- "width": ButtonUnfilledWidth;
337
- }
338
- /**
339
- * Shared card chrome — width + matching min-height tokens, header (title + actions),
340
- * and a flex body that fills leftover space. Compose this from settings / data-viz cards.
341
- */
342
- interface DsCard {
343
- /**
344
- * Chrome recipe — `editing` applies the settings edit wash.
345
- * @default 'default'
346
- */
347
- "appearance": CardAppearance;
348
- /**
349
- * Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
350
- * @default 'md'
351
- */
352
- "cardWidth": CardWidth;
353
- /**
354
- * Section heading shown in the card header.
355
- */
356
- "heading": string;
357
- }
358
- /**
359
- * Donut data-viz card — shared `ds-card` chrome with a fill chart region and
360
- * content-sized legend. Hover sync between chart and legend stays here.
361
- */
362
- interface DsCardDataVizDonut {
363
- /**
364
- * Card width token — also sets matching min-height.
365
- * @default 'md'
366
- */
367
- "cardWidth": CardDataVizDonutWidth;
368
- /**
369
- * Widget heading shown in the card header.
370
- */
371
- "heading": string;
372
- }
373
- interface DsCardSetting {
374
- /**
375
- * Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
376
- * @default 'md'
377
- */
378
- "cardWidth": CardSettingWidth;
379
- /**
380
- * Controlled edit state — parent owns single-edit orchestration.
381
- * @default false
382
- */
383
- "editing": boolean;
384
- /**
385
- * Section heading shown in the card header.
386
- */
387
- "heading": string;
388
- }
389
- interface DsChartBar {
390
- /**
391
- * Bars to render. Set as a JS property (not an HTML attribute).
392
- * @default []
393
- */
394
- "data": ChartDatum[];
395
- /**
396
- * @default 240
397
- */
398
- "height": number;
399
- /**
400
- * @default 480
401
- */
402
- "width": number;
403
- }
404
- interface DsChartDonut {
405
- /**
406
- * Externally controlled highlight, matched by `label` — e.g. drive this from a sibling `ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync. Falls back to this component's own pointer/focus hover when unset. Slice hover dims peer slices and emits `dsSliceHover` for legend sync — no data-viz tooltip (the legend already surfaces label/value).
407
- * @default null
408
- */
409
- "activeLabel": string | null;
410
- /**
411
- * Secondary caption below the center value (e.g. "Total", "Normal"). Rendered uppercase.
412
- */
413
- "centerCaption": string | undefined;
414
- /**
415
- * Primary center value; defaults to the sum of `data` values (e.g. "187", "40.9%").
416
- */
417
- "centerValue": string | undefined;
418
- /**
419
- * Corner radius on each slice — number (px) or TokoMo length. Defaults to `--dimension-radius-025` (2px).
420
- * @default TOKEN_DEFAULTS.radius025
421
- */
422
- "cornerRadius": number | string;
423
- /**
424
- * Slices to render. Set as a JS property (not an HTML attribute).
425
- * @default []
426
- */
427
- "data": ChartDatum[];
428
- /**
429
- * Gap between slices, in degrees.
430
- * @default 1
431
- */
432
- "gap": number;
433
- /**
434
- * Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
435
- */
436
- "size": number | undefined;
437
- /**
438
- * Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
439
- * @default TOKEN_DEFAULTS.size200
440
- */
441
- "thickness": number | string;
442
- }
443
- /**
444
- * Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
445
- * legends differently (list w/ values, compact chips, bare swatches, external
446
- * stat callouts) — this covers the common "swatch + label + optional value" case.
447
- * Consumers who need a different treatment skip this component entirely and
448
- * render their own markup against the same `ChartDatum[]` data.
449
- */
450
- interface DsChartLegend {
451
- /**
452
- * Externally controlled highlight, matched by `label` — e.g. drive this from a sibling chart's `dsSliceHover` event to keep chart and legend hover in sync. Only dims the other rows' opacity (like a chart dimming its other slices) — it never shows the hover-fill, since that's reserved for a real pointer/keyboard interaction on this row.
453
- * @default null
454
- */
455
- "activeLabel": string | null;
456
- /**
457
- * @default 'vertical'
458
- */
459
- "direction": ChartLegendDirection;
460
- /**
461
- * Legend entries. Set as a JS property (not an HTML attribute).
462
- * @default []
463
- */
464
- "items": ChartLegendItem[];
465
- /**
466
- * Show each item's share of the total (of items with a `value`) alongside its count.
467
- * @default true
468
- */
469
- "showPercentage": boolean;
470
- }
471
- interface DsChartLine {
472
- /**
473
- * X-axis labels — must match each series' `data` length. Set as a JS property.
474
- * @default []
475
- */
476
- "categories": string[];
477
- /**
478
- * @default 240
479
- */
480
- "height": number;
481
- /**
482
- * One or more series to plot. Set as a JS property (not an HTML attribute).
483
- * @default []
484
- */
485
- "series": ChartSeries[];
486
- /**
487
- * @default true
488
- */
489
- "showPoints": boolean;
490
- /**
491
- * @default 480
492
- */
493
- "width": number;
494
- }
495
- interface DsCheckbox {
496
- /**
497
- * @default false
498
- */
499
- "checked": boolean;
500
- /**
501
- * @default false
502
- */
503
- "indeterminate": boolean;
504
- /**
505
- * @default false
506
- */
507
- "isInactive": boolean;
508
- "label": string;
509
- }
510
- /**
511
- * Removable chip — same density recipe as Tag, but colored by semantic `state`
512
- * (not intent × contrast). Not a toggle/select control; the only intentional
513
- * action is remove.
514
- */
515
- interface DsChip {
516
- /**
517
- * Surface context for interaction-fill tokens when the chip sits on a non-default surface.
518
- */
519
- "background": ChipBackground | undefined;
520
- /**
521
- * @default false
522
- */
523
- "isInactive": boolean;
524
- "label": string;
525
- "maxWidth": string | number | undefined;
526
- /**
527
- * When true (default), shows the trailing dismiss control.
528
- * @default true
529
- */
530
- "removable": boolean;
531
- /**
532
- * @default false
533
- */
534
- "rounded": boolean;
535
- /**
536
- * @default 'md'
537
- */
538
- "size": ChipSize;
539
- /**
540
- * Semantic color state.
541
- * @default 'default'
542
- */
543
- "state": ChipState;
544
- }
545
- interface DsDivider {
546
- /**
547
- * Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
548
- * @default 'none'
549
- */
550
- "inset": DividerInset;
551
- /**
552
- * Visual line length. Defaults to filling the available axis. Accepts any CSS length.
553
- * @default 'auto'
554
- */
555
- "length": DividerLength;
556
- /**
557
- * Direction of the divider line. Defaults to 'horizontal'.
558
- * @default 'horizontal'
559
- */
560
- "orientation": DividerOrientation;
561
- /**
562
- * Expose the divider as a semantic separator. Visual-only dividers are hidden from assistive tech by default.
563
- * @default false
564
- */
565
- "semantic": boolean;
566
- /**
567
- * Surface context so the divider uses the right TokoMo divider token.
568
- * @default 'default'
569
- */
570
- "surface": DividerSurface;
571
- }
572
- interface DsEmptyState {
573
- "message": string | undefined;
574
- /**
575
- * @default 'no-content'
576
- */
577
- "type": EmptyStateType;
578
- }
579
- interface DsField {
580
- /**
581
- * ID forwarded to the slotted control via the label's `for` attribute. Auto-generated if omitted.
582
- */
583
- "fieldId": string | undefined;
584
- "label": string;
585
- }
586
- interface DsIcon {
587
- /**
588
- * Semantic foreground color token, or a raw CSS var reference.
589
- */
590
- "color": IconColor | undefined;
591
- /**
592
- * Set `true` to look up from the flag icon set instead of the system icon set.
593
- * @default false
594
- */
595
- "flag": boolean;
596
- /**
597
- * Accessible label. Sets `role="img"` and `aria-label`. Omit for decorative icons.
598
- */
599
- "label": string | undefined;
600
- /**
601
- * Name of the system icon (e.g. `"Gear"`, `"ArrowRight"`) or flag (e.g. `"US"`)
602
- * @default ''
603
- */
604
- "name": string;
605
- /**
606
- * Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px.
607
- * @default 'md'
608
- */
609
- "size": IconSize;
610
- }
611
- interface DsInput {
612
- "ariaDescribedby": string | undefined;
613
- "ariaLabel": string | undefined;
614
- "ariaLabelledby": string | undefined;
615
- /**
616
- * @default false
617
- */
618
- "autoFocus": boolean;
619
- /**
620
- * @default false
621
- */
622
- "error": boolean;
623
- "errorMessage": string | undefined;
624
- /**
625
- * Associates the internal input with an external <label>.
626
- */
627
- "inputId": string | undefined;
628
- /**
629
- * @default false
630
- */
631
- "isInactive": boolean;
632
- "placeholder": string | undefined;
633
- "setFocus": () => Promise<void>;
634
- /**
635
- * @default 'text'
636
- */
637
- "type": InputType;
638
- /**
639
- * @default ''
640
- */
641
- "value": string;
642
- }
643
- interface DsLoader {
644
- /**
645
- * Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`.
646
- */
647
- "color": LoaderColor | undefined;
648
- /**
649
- * Accessible label for standalone usage. Wraps the spinner in a live region and renders the label visually-hidden. Omit when the host element already conveys busy state via aria-busy.
650
- */
651
- "label": string | undefined;
652
- /**
653
- * Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px.
654
- * @default 'md'
655
- */
656
- "size": LoaderSize;
657
- }
658
- interface DsMenu {
659
- /**
660
- * @default 'start'
661
- */
662
- "align": MenuAlign;
663
- /**
664
- * Cross-axis offset — number (px) or TokoMo length.
665
- * @default 0
666
- */
667
- "alignOffset": number | string;
668
- /**
669
- * External trigger element to position against. Set via JS: menuEl.anchor = buttonEl
670
- */
671
- "anchor": HTMLElement | undefined;
672
- /**
673
- * ID of the external trigger element for positioning
674
- */
675
- "anchorId": string | undefined;
676
- /**
677
- * Show a visible ring on the initially focused menu item. Use only when the opener was keyboard-driven.
678
- * @default false
679
- */
680
- "initialFocusVisible": boolean;
681
- /**
682
- * @default []
683
- */
684
- "items": MenuItemData[];
685
- "menuWidth": string | undefined;
686
- "minWidth": string | undefined;
687
- /**
688
- * @default false
689
- */
690
- "open": boolean;
691
- /**
692
- * @default []
693
- */
694
- "sections": MenuSection[];
695
- /**
696
- * @default 'bottom'
697
- */
698
- "side": MenuSide;
699
- /**
700
- * Gap between anchor and menu — number (px) or TokoMo length (`var(--dimension-space-050)`, etc.).
701
- * @default TOKEN_CSS_LENGTHS.space050
702
- */
703
- "sideOffset": number | string;
704
- }
705
- interface DsModal {
706
- "heading": string;
707
- /**
708
- * @default 'md'
709
- */
710
- "modalWidth": ModalWidth | string;
711
- /**
712
- * @default false
713
- */
714
- "open": boolean;
715
- "subtitle": string | undefined;
716
- }
717
- interface DsPagination {
718
- /**
719
- * @default false
720
- */
721
- "isInactive": boolean;
722
- /**
723
- * @default 1
724
- */
725
- "page": number;
726
- /**
727
- * @default 1
728
- */
729
- "siblingCount": number;
730
- /**
731
- * @default 1
732
- */
733
- "totalPages": number;
734
- }
735
- interface DsPanelNav {
736
- /**
737
- * ID of the currently active/selected nav item. Overridden by `currentUrl` matching when set.
738
- * @default ''
739
- */
740
- "activeId": string;
741
- /**
742
- * Viewport width (px) below which the nav auto-collapses to icon-only mode. 0 = disabled.
743
- * @default 0
744
- */
745
- "breakpoint": number;
746
- /**
747
- * Whether the nav is in collapsed (icon-only) state. Set `storageKey` to persist across reloads. `dsNavToggle` still fires on change.
748
- * @default false
749
- */
750
- "collapsed": boolean;
751
- /**
752
- * Current route URL (e.g. `window.location.pathname` or the router's active URL). When set the component derives the active item by matching item `href` values against this string (longest segment-boundary prefix wins), overriding `activeId`.
753
- * @default ''
754
- */
755
- "currentUrl": string;
756
- /**
757
- * When `true`, style changes apply synchronously — host app owns view transitions.
758
- * @default false
759
- */
760
- "disableViewTransition": boolean;
761
- /**
762
- * Nav groups — set via JS property (`el.groups = [...]`) or JSON string attribute.
763
- * @default '[]'
764
- */
765
- "groups": string | PanelNavGroup[];
766
- /**
767
- * Style slot: `dashboard` or `settings`. Colors match for now; class hooks reserved for texture/glyph layers. Property: `navStyle`. Attribute: `nav-style`.
768
- * @default 'dashboard'
769
- */
770
- "navStyle": NavChromeStyle;
771
- /**
772
- * How items with `href` render: - `anchor` (default): native `<a href>` — works with routers that intercept anchors. - `event`: always `<button>`; host handles navigation via `dsNavSelect`.
773
- * @default 'anchor'
774
- */
775
- "routerMode": PanelNavRouterMode;
776
- /**
777
- * `localStorage` key used to persist the collapsed state across page loads. When set, collapsed state is restored on mount and written on each toggle.
778
- * @default ''
779
- */
780
- "storageKey": string;
781
- /**
782
- * Toggle expanded/collapsed panel nav — used by shell keyboard shortcuts.
783
- */
784
- "toggleCollapsed": () => Promise<void>;
785
- /**
786
- * Single character shown in the collapsed avatar
787
- * @default ''
788
- */
789
- "userInitial": string;
790
- /**
791
- * Display name for the footer user section
792
- * @default ''
793
- */
794
- "userName": string;
795
- }
796
- interface DsPanelTools {
797
- /**
798
- * Toggle any rail tool open/closed — shell shortcuts K/A/S/M/N call this.
799
- */
800
- "activateTool": (id: PanelToolsToolId) => Promise<void>;
801
- /**
802
- * Active tool view — `search`, `agents`, `messages`, `stacks`, `activity`, or `help`.
803
- * @default ''
804
- */
805
- "activeTool": PanelToolsToolId | '';
806
- /**
807
- * Close the tools drawer when open — used by shell keyboard shortcuts.
808
- */
809
- "closeDrawer": () => Promise<void>;
810
- /**
811
- * Rail items rendered in the right column. Set via JS property: `el.items = [...]`. Replace the array reference to update.
812
- * @default []
813
- */
814
- "items": PanelToolsItem[];
815
- /**
816
- * JSON fallback for `items` — useful when framework bindings don't propagate arrays.
817
- * @default ''
818
- */
819
- "itemsJson": string;
820
- /**
821
- * When false, only the icon rail is shown.
822
- * @default false
823
- */
824
- "open": boolean;
825
- }
826
- interface DsRadioGroup {
827
- "ariaLabel": string | undefined;
828
- "ariaLabelledby": string | undefined;
829
- /**
830
- * @default 'vertical'
831
- */
832
- "direction": 'vertical' | 'horizontal';
833
- /**
834
- * @default false
835
- */
836
- "isInactive": boolean;
837
- /**
838
- * @default []
839
- */
840
- "options": RadioOption[];
841
- /**
842
- * @default ''
843
- */
844
- "value": string;
845
- }
846
- /**
847
- * Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
848
- * control-density sizes, with `ds-menu` for the option list.
849
- */
850
- interface DsSelect {
851
- /**
852
- * When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
853
- * @default true
854
- */
855
- "activeFill": boolean;
856
- "ariaLabel": string | undefined;
857
- "ariaLabelledby": string | undefined;
858
- /**
859
- * Show a 1px secondary inset border. Default on (matches unfilled button).
860
- * @default true
861
- */
862
- "hasBorder": boolean;
863
- /**
864
- * Disables interaction (25% opacity via ds-control-inactive).
865
- * @default false
866
- */
867
- "isInactive": boolean;
868
- /**
869
- * Array of options. Set via JS property.
870
- * @example el.options = [{ label: 'Apple', value: 'apple' }];
871
- * @default []
872
- */
873
- "options": SelectOption[];
874
- /**
875
- * Placeholder shown when no value is selected.
876
- * @default 'Select'
877
- */
878
- "placeholder": string;
879
- /**
880
- * Control density (height, padding, icon, type).
881
- * @default 'md'
882
- */
883
- "size": SelectSize;
884
- /**
885
- * Currently selected value.
886
- * @default ''
887
- */
888
- "value": string;
889
- /**
890
- * Width fit — fill the parent (default) or hug content.
891
- * @default 'fill'
892
- */
893
- "width": SelectWidth;
894
- }
895
- interface DsShellGradientPicker {
896
- /**
897
- * Active shell wash preset.
898
- * @default DEFAULT_SHELL_GRADIENT_PRESET
899
- */
900
- "value": ShellGradientPreset1;
901
- }
902
- interface DsShellGradientSwatch {
903
- "ariaLabel": string | undefined;
904
- /**
905
- * @default false
906
- */
907
- "isInactive": boolean;
908
- /**
909
- * Wash preset this orb previews.
910
- * @default DEFAULT_SHELL_GRADIENT_PRESET
911
- */
912
- "preset": ShellGradientPreset1;
913
- /**
914
- * Selected — brand stroke + halo over inner fill/border/interaction stack.
915
- * @default false
916
- */
917
- "selected": boolean;
918
- }
919
- interface DsSkeleton {
920
- /**
921
- * Height as a CSS value string or number (px).
922
- */
923
- "height": string | number | undefined;
924
- /**
925
- * Number of text lines. Only used when variant is 'text'.
926
- * @default 1
927
- */
928
- "lines": number;
929
- /**
930
- * Whether to show the shimmer animation.
931
- * @default true
932
- */
933
- "shimmer": boolean;
934
- /**
935
- * @default 'text'
936
- */
937
- "variant": SkeletonVariant;
938
- /**
939
- * Width as a CSS value string (e.g. '200px', '100%') or number (px).
940
- */
941
- "width": string | number | undefined;
942
- }
943
- interface DsSlider {
944
- /**
945
- * Associates with an external <label>. Defaults to an auto-generated ID.
946
- */
947
- "inputId": string | undefined;
948
- /**
949
- * @default false
950
- */
951
- "isInactive": boolean;
952
- "label": string;
953
- /**
954
- * @default 100
955
- */
956
- "max": number;
957
- /**
958
- * @default 0
959
- */
960
- "min": number;
961
- /**
962
- * @default 1
963
- */
964
- "step": number;
965
- /**
966
- * @default 0
967
- */
968
- "value": number;
969
- "valueText": string | undefined;
970
- }
971
- interface DsTabGroup {
972
- "ariaLabel": string | undefined;
973
- "ariaLabelledby": string | undefined;
974
- "background": TabBackground | undefined;
975
- /**
976
- * @default 'horizontal'
977
- */
978
- "orientation": 'horizontal' | 'vertical';
979
- /**
980
- * @default []
981
- */
982
- "tabs": TabItem[];
983
- /**
984
- * @default ''
985
- */
986
- "value": string;
987
- }
988
- interface DsTabGroupNav {
989
- "ariaLabel": string | undefined;
990
- "ariaLabelledby": string | undefined;
991
- "background": TabGroupNavBackground | undefined;
992
- "focusFirstTab": () => Promise<void>;
993
- "focusLastTab": () => Promise<void>;
994
- "focusTab": (id: string) => Promise<void>;
995
- /**
996
- * @default 'horizontal'
997
- */
998
- "orientation": 'horizontal' | 'vertical';
999
- /**
1000
- * When `false`, every tab uses `tabindex="-1"` (another chrome control owns the tab stop).
1001
- * @default true
1002
- */
1003
- "rovingEnabled": boolean;
1004
- /**
1005
- * When `false`, arrow keys move focus only — Space/Enter (or click) commits selection. Used by bar nav where each tab is a full page transition.
1006
- * @default true
1007
- */
1008
- "selectionFollowsFocus": boolean;
1009
- /**
1010
- * @default []
1011
- */
1012
- "tabs": TabItem[];
1013
- /**
1014
- * @default ''
1015
- */
1016
- "value": string;
1017
- }
1018
- interface DsTable {
1019
- /**
1020
- * @default []
1021
- */
1022
- "columns": TableColumn[];
1023
- /**
1024
- * @default []
1025
- */
1026
- "data": unknown[];
1027
- /**
1028
- * @default 'No results found.'
1029
- */
1030
- "emptyMessage": string;
1031
- /**
1032
- * @default false
1033
- */
1034
- "loading": boolean;
1035
- /**
1036
- * Page index (0-based). Enables built-in pagination when set alongside pageSize.
1037
- */
1038
- "pageIndex": number | undefined;
1039
- /**
1040
- * @default 20
1041
- */
1042
- "pageSize": number;
1043
- /**
1044
- * Comma-separated zero-based row indices that are selected.
1045
- * @default ''
1046
- */
1047
- "selectedRows": string;
1048
- "sortState": SortState | undefined;
1049
- }
1050
- interface DsTag {
1051
- /**
1052
- * @default 'faint'
1053
- */
1054
- "contrast": TagContrast;
1055
- /**
1056
- * @default 'neutral'
1057
- */
1058
- "intent": TagIntent;
1059
- "label": string;
1060
- "maxWidth": string | number | undefined;
1061
- /**
1062
- * @default false
1063
- */
1064
- "rounded": boolean;
1065
- /**
1066
- * @default 'md'
1067
- */
1068
- "size": TagSize;
1069
- }
1070
- interface DsText {
1071
- "align": TextAlign | undefined;
1072
- /**
1073
- * @default 'p'
1074
- */
1075
- "as": TextElement;
1076
- "color": TextColor | undefined;
1077
- "decoration": TextDecoration | undefined;
1078
- /**
1079
- * Heavier weight + tighter letter-spacing for the variant. `false` (default): one step below emphasis (display semibold, title/body medium, caption medium). `true`: display bold, title/caption semibold, body medium.
1080
- * @default false
1081
- */
1082
- "emphasis": boolean;
1083
- /**
1084
- * @default 'normal'
1085
- */
1086
- "fontFeature": TextFontFeature;
1087
- /**
1088
- * Maps to `for` attribute on <label> elements.
1089
- */
1090
- "for": string | undefined;
1091
- /**
1092
- * @default false
1093
- */
1094
- "italic": boolean;
1095
- /**
1096
- * @default 'none'
1097
- */
1098
- "lineTruncation": LineTruncation;
1099
- /**
1100
- * Forwarded to the inner element (e.g. aria-labelledby targets).
1101
- */
1102
- "textId": string | undefined;
1103
- /**
1104
- * @default 'text-body-medium'
1105
- */
1106
- "variant": TextVariant;
1107
- "wrap": TextWrap | undefined;
1108
- }
1109
- interface DsToggle {
1110
- /**
1111
- * @default false
1112
- */
1113
- "checked": boolean;
1114
- /**
1115
- * @default false
1116
- */
1117
- "isInactive": boolean;
1118
- }
1119
- /**
1120
- * Imperative body portal for the popup.
1121
- * Stencil must not own the portaled node — moving a VDOM child to `document.body`
1122
- * causes recreate → re-portal →
1123
- * @State loops that freeze the page.
1124
- */
1125
- interface DsTooltip {
1126
- /**
1127
- * @default 'center'
1128
- */
1129
- "align": TooltipAlign;
1130
- /**
1131
- * Cross-axis offset — number (px) or TokoMo length.
1132
- * @default 0
1133
- */
1134
- "alignOffset": number | string;
1135
- /**
1136
- * Hover show delay before the tooltip appears. Default: `--effect-animation-delay-medium-3` (1000ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Applies to the initial hover/focus show only — after a recent dismiss, reopen is instant. Prefer the default; override only for denser chrome or rare/destructive actions.
1137
- * @default TOKEN_DEFAULTS.animationDelayMedium3
1138
- */
1139
- "delay": number | string;
1140
- /**
1141
- * Tooltip text. Empty/whitespace skips show — useful when the wrapper must stay mounted for layout/animation stability (e.g. PanelNav expand/collapse).
1142
- */
1143
- "label": string;
1144
- "shortcutKey": string | undefined;
1145
- /**
1146
- * @default 'end'
1147
- */
1148
- "shortcutKeyPosition": 'start' | 'end';
1149
- /**
1150
- * @default 'top'
1151
- */
1152
- "side": TooltipSide;
1153
- /**
1154
- * Gap between anchor and tooltip — number (px) or TokoMo length.
1155
- * @default TOKEN_CSS_LENGTHS.space050
1156
- */
1157
- "sideOffset": number | string;
1158
- /**
1159
- * Control density (height, padding, type).
1160
- * @default 'md'
1161
- */
1162
- "size": TooltipSize;
1163
- }
1164
- /**
1165
- * Positioned value/label callout for chart hover interactions (bar, line point, …).
1166
- * Donut charts skip this — legend sync already surfaces the hovered slice.
1167
- * Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
1168
- * charts hover-highlight data that lives inside an SVG, so the chart itself computes
1169
- * the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
1170
- * Renders `position: absolute` — place inside a `position: relative` chart wrapper,
1171
- * with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
1172
- * of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
1173
- * keeps it on-screen.
1174
- * Mount (or remount) when a hover session starts so `delay` applies once per hover;
1175
- * keep the instance mounted while the cursor moves so tracking stays instant.
1176
- */
1177
- interface DsTooltipDataViz {
1178
- /**
1179
- * Show delay after mount before the callout appears. Default: `--effect-animation-delay-instant` (0ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Charts need immediate feedback while scrubbing; prefer the default. Mount once per hover session so any non-zero delay runs once, then track `x`/`y` instantly.
1180
- * @default TOKEN_DEFAULTS.animationDelayInstant
1181
- */
1182
- "delay": number | string;
1183
- /**
1184
- * @default ''
1185
- */
1186
- "label": string;
1187
- /**
1188
- * @default ''
1189
- */
1190
- "value": string | number;
1191
- /**
1192
- * Anchor point in px, relative to the nearest `position: relative` ancestor — e.g. the cursor.
1193
- * @default 0
1194
- */
1195
- "x": number;
1196
- /**
1197
- * @default 0
1198
- */
1199
- "y": number;
1200
- }
1201
- }
1202
- export interface DsBannerCustomEvent<T> extends CustomEvent<T> {
1203
- detail: T;
1204
- target: HTMLDsBannerElement;
1205
- }
1206
- export interface DsBarNavCustomEvent<T> extends CustomEvent<T> {
1207
- detail: T;
1208
- target: HTMLDsBarNavElement;
1209
- }
1210
- export interface DsButtonFilledCustomEvent<T> extends CustomEvent<T> {
1211
- detail: T;
1212
- target: HTMLDsButtonFilledElement;
1213
- }
1214
- export interface DsButtonUnfilledCustomEvent<T> extends CustomEvent<T> {
1215
- detail: T;
1216
- target: HTMLDsButtonUnfilledElement;
1217
- }
1218
- export interface DsCardDataVizDonutCustomEvent<T> extends CustomEvent<T> {
1219
- detail: T;
1220
- target: HTMLDsCardDataVizDonutElement;
1221
- }
1222
- export interface DsCardSettingCustomEvent<T> extends CustomEvent<T> {
1223
- detail: T;
1224
- target: HTMLDsCardSettingElement;
1225
- }
1226
- export interface DsChartDonutCustomEvent<T> extends CustomEvent<T> {
1227
- detail: T;
1228
- target: HTMLDsChartDonutElement;
1229
- }
1230
- export interface DsChartLegendCustomEvent<T> extends CustomEvent<T> {
1231
- detail: T;
1232
- target: HTMLDsChartLegendElement;
1233
- }
1234
- export interface DsCheckboxCustomEvent<T> extends CustomEvent<T> {
1235
- detail: T;
1236
- target: HTMLDsCheckboxElement;
1237
- }
1238
- export interface DsChipCustomEvent<T> extends CustomEvent<T> {
1239
- detail: T;
1240
- target: HTMLDsChipElement;
1241
- }
1242
- export interface DsInputCustomEvent<T> extends CustomEvent<T> {
1243
- detail: T;
1244
- target: HTMLDsInputElement;
1245
- }
1246
- export interface DsMenuCustomEvent<T> extends CustomEvent<T> {
1247
- detail: T;
1248
- target: HTMLDsMenuElement;
1249
- }
1250
- export interface DsModalCustomEvent<T> extends CustomEvent<T> {
1251
- detail: T;
1252
- target: HTMLDsModalElement;
1253
- }
1254
- export interface DsPaginationCustomEvent<T> extends CustomEvent<T> {
1255
- detail: T;
1256
- target: HTMLDsPaginationElement;
1257
- }
1258
- export interface DsPanelNavCustomEvent<T> extends CustomEvent<T> {
1259
- detail: T;
1260
- target: HTMLDsPanelNavElement;
1261
- }
1262
- export interface DsPanelToolsCustomEvent<T> extends CustomEvent<T> {
1263
- detail: T;
1264
- target: HTMLDsPanelToolsElement;
1265
- }
1266
- export interface DsRadioGroupCustomEvent<T> extends CustomEvent<T> {
1267
- detail: T;
1268
- target: HTMLDsRadioGroupElement;
1269
- }
1270
- export interface DsSelectCustomEvent<T> extends CustomEvent<T> {
1271
- detail: T;
1272
- target: HTMLDsSelectElement;
1273
- }
1274
- export interface DsShellGradientPickerCustomEvent<T> extends CustomEvent<T> {
1275
- detail: T;
1276
- target: HTMLDsShellGradientPickerElement;
1277
- }
1278
- export interface DsShellGradientSwatchCustomEvent<T> extends CustomEvent<T> {
1279
- detail: T;
1280
- target: HTMLDsShellGradientSwatchElement;
1281
- }
1282
- export interface DsSliderCustomEvent<T> extends CustomEvent<T> {
1283
- detail: T;
1284
- target: HTMLDsSliderElement;
1285
- }
1286
- export interface DsTabGroupCustomEvent<T> extends CustomEvent<T> {
1287
- detail: T;
1288
- target: HTMLDsTabGroupElement;
1289
- }
1290
- export interface DsTabGroupNavCustomEvent<T> extends CustomEvent<T> {
1291
- detail: T;
1292
- target: HTMLDsTabGroupNavElement;
1293
- }
1294
- export interface DsTableCustomEvent<T> extends CustomEvent<T> {
1295
- detail: T;
1296
- target: HTMLDsTableElement;
1297
- }
1298
- export interface DsToggleCustomEvent<T> extends CustomEvent<T> {
1299
- detail: T;
1300
- target: HTMLDsToggleElement;
1301
- }
1302
- declare global {
1303
- interface HTMLDsAppShellElement extends Components.DsAppShell, HTMLStencilElement {
1304
- }
1305
- var HTMLDsAppShellElement: {
1306
- prototype: HTMLDsAppShellElement;
1307
- new (): HTMLDsAppShellElement;
1308
- };
1309
- interface HTMLDsBadgeElement extends Components.DsBadge, HTMLStencilElement {
1310
- }
1311
- var HTMLDsBadgeElement: {
1312
- prototype: HTMLDsBadgeElement;
1313
- new (): HTMLDsBadgeElement;
1314
- };
1315
- interface HTMLDsBannerElementEventMap {
1316
- "dsDismiss": void;
1317
- }
1318
- interface HTMLDsBannerElement extends Components.DsBanner, HTMLStencilElement {
1319
- addEventListener<K extends keyof HTMLDsBannerElementEventMap>(type: K, listener: (this: HTMLDsBannerElement, ev: DsBannerCustomEvent<HTMLDsBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1320
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1321
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1322
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1323
- removeEventListener<K extends keyof HTMLDsBannerElementEventMap>(type: K, listener: (this: HTMLDsBannerElement, ev: DsBannerCustomEvent<HTMLDsBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1324
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1325
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1326
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1327
- }
1328
- var HTMLDsBannerElement: {
1329
- prototype: HTMLDsBannerElement;
1330
- new (): HTMLDsBannerElement;
1331
- };
1332
- interface HTMLDsBarNavElementEventMap {
1333
- "dsTabChange": string;
1334
- }
1335
- interface HTMLDsBarNavElement extends Components.DsBarNav, HTMLStencilElement {
1336
- addEventListener<K extends keyof HTMLDsBarNavElementEventMap>(type: K, listener: (this: HTMLDsBarNavElement, ev: DsBarNavCustomEvent<HTMLDsBarNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1337
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1338
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1339
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1340
- removeEventListener<K extends keyof HTMLDsBarNavElementEventMap>(type: K, listener: (this: HTMLDsBarNavElement, ev: DsBarNavCustomEvent<HTMLDsBarNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1341
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1342
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1343
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1344
- }
1345
- var HTMLDsBarNavElement: {
1346
- prototype: HTMLDsBarNavElement;
1347
- new (): HTMLDsBarNavElement;
1348
- };
1349
- interface HTMLDsButtonFilledElementEventMap {
1350
- "dsClick": MouseEvent;
1351
- }
1352
- interface HTMLDsButtonFilledElement extends Components.DsButtonFilled, HTMLStencilElement {
1353
- addEventListener<K extends keyof HTMLDsButtonFilledElementEventMap>(type: K, listener: (this: HTMLDsButtonFilledElement, ev: DsButtonFilledCustomEvent<HTMLDsButtonFilledElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1354
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1355
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1356
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1357
- removeEventListener<K extends keyof HTMLDsButtonFilledElementEventMap>(type: K, listener: (this: HTMLDsButtonFilledElement, ev: DsButtonFilledCustomEvent<HTMLDsButtonFilledElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1358
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1359
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1360
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1361
- }
1362
- var HTMLDsButtonFilledElement: {
1363
- prototype: HTMLDsButtonFilledElement;
1364
- new (): HTMLDsButtonFilledElement;
1365
- };
1366
- interface HTMLDsButtonUnfilledElementEventMap {
1367
- "dsClick": MouseEvent;
1368
- "dsChange": boolean;
1369
- }
1370
- interface HTMLDsButtonUnfilledElement extends Components.DsButtonUnfilled, HTMLStencilElement {
1371
- addEventListener<K extends keyof HTMLDsButtonUnfilledElementEventMap>(type: K, listener: (this: HTMLDsButtonUnfilledElement, ev: DsButtonUnfilledCustomEvent<HTMLDsButtonUnfilledElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1372
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1373
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1374
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1375
- removeEventListener<K extends keyof HTMLDsButtonUnfilledElementEventMap>(type: K, listener: (this: HTMLDsButtonUnfilledElement, ev: DsButtonUnfilledCustomEvent<HTMLDsButtonUnfilledElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1376
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1377
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1378
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1379
- }
1380
- var HTMLDsButtonUnfilledElement: {
1381
- prototype: HTMLDsButtonUnfilledElement;
1382
- new (): HTMLDsButtonUnfilledElement;
1383
- };
1384
- /**
1385
- * Shared card chrome — width + matching min-height tokens, header (title + actions),
1386
- * and a flex body that fills leftover space. Compose this from settings / data-viz cards.
1387
- */
1388
- interface HTMLDsCardElement extends Components.DsCard, HTMLStencilElement {
1389
- }
1390
- var HTMLDsCardElement: {
1391
- prototype: HTMLDsCardElement;
1392
- new (): HTMLDsCardElement;
1393
- };
1394
- interface HTMLDsCardDataVizDonutElementEventMap {
1395
- "dsFilterClick": void;
1396
- }
1397
- /**
1398
- * Donut data-viz card — shared `ds-card` chrome with a fill chart region and
1399
- * content-sized legend. Hover sync between chart and legend stays here.
1400
- */
1401
- interface HTMLDsCardDataVizDonutElement extends Components.DsCardDataVizDonut, HTMLStencilElement {
1402
- addEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1403
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1404
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1405
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1406
- removeEventListener<K extends keyof HTMLDsCardDataVizDonutElementEventMap>(type: K, listener: (this: HTMLDsCardDataVizDonutElement, ev: DsCardDataVizDonutCustomEvent<HTMLDsCardDataVizDonutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1407
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1408
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1409
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1410
- }
1411
- var HTMLDsCardDataVizDonutElement: {
1412
- prototype: HTMLDsCardDataVizDonutElement;
1413
- new (): HTMLDsCardDataVizDonutElement;
1414
- };
1415
- interface HTMLDsCardSettingElementEventMap {
1416
- "dsEditingChange": boolean;
1417
- }
1418
- interface HTMLDsCardSettingElement extends Components.DsCardSetting, HTMLStencilElement {
1419
- addEventListener<K extends keyof HTMLDsCardSettingElementEventMap>(type: K, listener: (this: HTMLDsCardSettingElement, ev: DsCardSettingCustomEvent<HTMLDsCardSettingElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1420
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1421
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1422
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1423
- removeEventListener<K extends keyof HTMLDsCardSettingElementEventMap>(type: K, listener: (this: HTMLDsCardSettingElement, ev: DsCardSettingCustomEvent<HTMLDsCardSettingElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1424
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1425
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1426
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1427
- }
1428
- var HTMLDsCardSettingElement: {
1429
- prototype: HTMLDsCardSettingElement;
1430
- new (): HTMLDsCardSettingElement;
1431
- };
1432
- interface HTMLDsChartBarElement extends Components.DsChartBar, HTMLStencilElement {
1433
- }
1434
- var HTMLDsChartBarElement: {
1435
- prototype: HTMLDsChartBarElement;
1436
- new (): HTMLDsChartBarElement;
1437
- };
1438
- interface HTMLDsChartDonutElementEventMap {
1439
- "dsSliceHover": ChartDatum | null;
1440
- }
1441
- interface HTMLDsChartDonutElement extends Components.DsChartDonut, HTMLStencilElement {
1442
- addEventListener<K extends keyof HTMLDsChartDonutElementEventMap>(type: K, listener: (this: HTMLDsChartDonutElement, ev: DsChartDonutCustomEvent<HTMLDsChartDonutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1443
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1444
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1445
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1446
- removeEventListener<K extends keyof HTMLDsChartDonutElementEventMap>(type: K, listener: (this: HTMLDsChartDonutElement, ev: DsChartDonutCustomEvent<HTMLDsChartDonutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1447
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1448
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1449
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1450
- }
1451
- var HTMLDsChartDonutElement: {
1452
- prototype: HTMLDsChartDonutElement;
1453
- new (): HTMLDsChartDonutElement;
1454
- };
1455
- interface HTMLDsChartLegendElementEventMap {
1456
- "dsItemHover": ChartLegendItem | null;
1457
- "dsItemClick": { item: ChartLegendItem; originalEvent: MouseEvent };
1458
- }
1459
- /**
1460
- * Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
1461
- * legends differently (list w/ values, compact chips, bare swatches, external
1462
- * stat callouts) — this covers the common "swatch + label + optional value" case.
1463
- * Consumers who need a different treatment skip this component entirely and
1464
- * render their own markup against the same `ChartDatum[]` data.
1465
- */
1466
- interface HTMLDsChartLegendElement extends Components.DsChartLegend, HTMLStencilElement {
1467
- addEventListener<K extends keyof HTMLDsChartLegendElementEventMap>(type: K, listener: (this: HTMLDsChartLegendElement, ev: DsChartLegendCustomEvent<HTMLDsChartLegendElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1468
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1469
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1470
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1471
- removeEventListener<K extends keyof HTMLDsChartLegendElementEventMap>(type: K, listener: (this: HTMLDsChartLegendElement, ev: DsChartLegendCustomEvent<HTMLDsChartLegendElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1472
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1473
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1474
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1475
- }
1476
- var HTMLDsChartLegendElement: {
1477
- prototype: HTMLDsChartLegendElement;
1478
- new (): HTMLDsChartLegendElement;
1479
- };
1480
- interface HTMLDsChartLineElement extends Components.DsChartLine, HTMLStencilElement {
1481
- }
1482
- var HTMLDsChartLineElement: {
1483
- prototype: HTMLDsChartLineElement;
1484
- new (): HTMLDsChartLineElement;
1485
- };
1486
- interface HTMLDsCheckboxElementEventMap {
1487
- "dsChange": boolean;
1488
- }
1489
- interface HTMLDsCheckboxElement extends Components.DsCheckbox, HTMLStencilElement {
1490
- addEventListener<K extends keyof HTMLDsCheckboxElementEventMap>(type: K, listener: (this: HTMLDsCheckboxElement, ev: DsCheckboxCustomEvent<HTMLDsCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1491
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1492
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1493
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1494
- removeEventListener<K extends keyof HTMLDsCheckboxElementEventMap>(type: K, listener: (this: HTMLDsCheckboxElement, ev: DsCheckboxCustomEvent<HTMLDsCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1495
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1496
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1497
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1498
- }
1499
- var HTMLDsCheckboxElement: {
1500
- prototype: HTMLDsCheckboxElement;
1501
- new (): HTMLDsCheckboxElement;
1502
- };
1503
- interface HTMLDsChipElementEventMap {
1504
- "dsRemove": void;
1505
- }
1506
- /**
1507
- * Removable chip — same density recipe as Tag, but colored by semantic `state`
1508
- * (not intent × contrast). Not a toggle/select control; the only intentional
1509
- * action is remove.
1510
- */
1511
- interface HTMLDsChipElement extends Components.DsChip, HTMLStencilElement {
1512
- addEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1513
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1514
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1515
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1516
- removeEventListener<K extends keyof HTMLDsChipElementEventMap>(type: K, listener: (this: HTMLDsChipElement, ev: DsChipCustomEvent<HTMLDsChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1517
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1518
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1519
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1520
- }
1521
- var HTMLDsChipElement: {
1522
- prototype: HTMLDsChipElement;
1523
- new (): HTMLDsChipElement;
1524
- };
1525
- interface HTMLDsDividerElement extends Components.DsDivider, HTMLStencilElement {
1526
- }
1527
- var HTMLDsDividerElement: {
1528
- prototype: HTMLDsDividerElement;
1529
- new (): HTMLDsDividerElement;
1530
- };
1531
- interface HTMLDsEmptyStateElement extends Components.DsEmptyState, HTMLStencilElement {
1532
- }
1533
- var HTMLDsEmptyStateElement: {
1534
- prototype: HTMLDsEmptyStateElement;
1535
- new (): HTMLDsEmptyStateElement;
1536
- };
1537
- interface HTMLDsFieldElement extends Components.DsField, HTMLStencilElement {
1538
- }
1539
- var HTMLDsFieldElement: {
1540
- prototype: HTMLDsFieldElement;
1541
- new (): HTMLDsFieldElement;
1542
- };
1543
- interface HTMLDsIconElement extends Components.DsIcon, HTMLStencilElement {
1544
- }
1545
- var HTMLDsIconElement: {
1546
- prototype: HTMLDsIconElement;
1547
- new (): HTMLDsIconElement;
1548
- };
1549
- interface HTMLDsInputElementEventMap {
1550
- "dsChange": string;
1551
- "dsClear": void;
1552
- }
1553
- interface HTMLDsInputElement extends Components.DsInput, HTMLStencilElement {
1554
- addEventListener<K extends keyof HTMLDsInputElementEventMap>(type: K, listener: (this: HTMLDsInputElement, ev: DsInputCustomEvent<HTMLDsInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1555
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1556
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1557
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1558
- removeEventListener<K extends keyof HTMLDsInputElementEventMap>(type: K, listener: (this: HTMLDsInputElement, ev: DsInputCustomEvent<HTMLDsInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1559
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1560
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1561
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1562
- }
1563
- var HTMLDsInputElement: {
1564
- prototype: HTMLDsInputElement;
1565
- new (): HTMLDsInputElement;
1566
- };
1567
- interface HTMLDsLoaderElement extends Components.DsLoader, HTMLStencilElement {
1568
- }
1569
- var HTMLDsLoaderElement: {
1570
- prototype: HTMLDsLoaderElement;
1571
- new (): HTMLDsLoaderElement;
1572
- };
1573
- interface HTMLDsMenuElementEventMap {
1574
- "dsClose": void;
1575
- "dsSelect": MenuItemData;
1576
- "dsGradientSelect": ShellGradientPreset;
1577
- }
1578
- interface HTMLDsMenuElement extends Components.DsMenu, HTMLStencilElement {
1579
- addEventListener<K extends keyof HTMLDsMenuElementEventMap>(type: K, listener: (this: HTMLDsMenuElement, ev: DsMenuCustomEvent<HTMLDsMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1580
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1581
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1582
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1583
- removeEventListener<K extends keyof HTMLDsMenuElementEventMap>(type: K, listener: (this: HTMLDsMenuElement, ev: DsMenuCustomEvent<HTMLDsMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1584
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1585
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1586
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1587
- }
1588
- var HTMLDsMenuElement: {
1589
- prototype: HTMLDsMenuElement;
1590
- new (): HTMLDsMenuElement;
1591
- };
1592
- interface HTMLDsModalElementEventMap {
1593
- "dsClose": void;
1594
- }
1595
- interface HTMLDsModalElement extends Components.DsModal, HTMLStencilElement {
1596
- addEventListener<K extends keyof HTMLDsModalElementEventMap>(type: K, listener: (this: HTMLDsModalElement, ev: DsModalCustomEvent<HTMLDsModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1597
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1598
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1599
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1600
- removeEventListener<K extends keyof HTMLDsModalElementEventMap>(type: K, listener: (this: HTMLDsModalElement, ev: DsModalCustomEvent<HTMLDsModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1601
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1602
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1603
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1604
- }
1605
- var HTMLDsModalElement: {
1606
- prototype: HTMLDsModalElement;
1607
- new (): HTMLDsModalElement;
1608
- };
1609
- interface HTMLDsPaginationElementEventMap {
1610
- "dsPageChange": number;
1611
- }
1612
- interface HTMLDsPaginationElement extends Components.DsPagination, HTMLStencilElement {
1613
- addEventListener<K extends keyof HTMLDsPaginationElementEventMap>(type: K, listener: (this: HTMLDsPaginationElement, ev: DsPaginationCustomEvent<HTMLDsPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1614
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1615
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1616
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1617
- removeEventListener<K extends keyof HTMLDsPaginationElementEventMap>(type: K, listener: (this: HTMLDsPaginationElement, ev: DsPaginationCustomEvent<HTMLDsPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1618
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1619
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1620
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1621
- }
1622
- var HTMLDsPaginationElement: {
1623
- prototype: HTMLDsPaginationElement;
1624
- new (): HTMLDsPaginationElement;
1625
- };
1626
- interface HTMLDsPanelNavElementEventMap {
1627
- "dsNavSelect": string;
1628
- "dsNavToggle": boolean;
1629
- "dsChromeTransitionStart": ChromeTransitionDetail;
1630
- "dsChromeTransitionEnd": ChromeTransitionDetail;
1631
- "dsNavFooterAction": void;
1632
- "dsNavUserAction": PanelNavUserActionDetail;
1633
- }
1634
- interface HTMLDsPanelNavElement extends Components.DsPanelNav, HTMLStencilElement {
1635
- addEventListener<K extends keyof HTMLDsPanelNavElementEventMap>(type: K, listener: (this: HTMLDsPanelNavElement, ev: DsPanelNavCustomEvent<HTMLDsPanelNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1636
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1637
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1638
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1639
- removeEventListener<K extends keyof HTMLDsPanelNavElementEventMap>(type: K, listener: (this: HTMLDsPanelNavElement, ev: DsPanelNavCustomEvent<HTMLDsPanelNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1640
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1641
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1642
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1643
- }
1644
- var HTMLDsPanelNavElement: {
1645
- prototype: HTMLDsPanelNavElement;
1646
- new (): HTMLDsPanelNavElement;
1647
- };
1648
- interface HTMLDsPanelToolsElementEventMap {
1649
- "dsToolChange": {
1650
- id: PanelToolsToolId;
1651
- selected: boolean;
1652
- };
1653
- "dsChromeTransitionStart": ChromeTransitionDetail;
1654
- "dsChromeTransitionEnd": ChromeTransitionDetail;
1655
- }
1656
- interface HTMLDsPanelToolsElement extends Components.DsPanelTools, HTMLStencilElement {
1657
- addEventListener<K extends keyof HTMLDsPanelToolsElementEventMap>(type: K, listener: (this: HTMLDsPanelToolsElement, ev: DsPanelToolsCustomEvent<HTMLDsPanelToolsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1658
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1659
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1660
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1661
- removeEventListener<K extends keyof HTMLDsPanelToolsElementEventMap>(type: K, listener: (this: HTMLDsPanelToolsElement, ev: DsPanelToolsCustomEvent<HTMLDsPanelToolsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1662
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1663
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1664
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1665
- }
1666
- var HTMLDsPanelToolsElement: {
1667
- prototype: HTMLDsPanelToolsElement;
1668
- new (): HTMLDsPanelToolsElement;
1669
- };
1670
- interface HTMLDsRadioGroupElementEventMap {
1671
- "dsChange": string;
1672
- }
1673
- interface HTMLDsRadioGroupElement extends Components.DsRadioGroup, HTMLStencilElement {
1674
- addEventListener<K extends keyof HTMLDsRadioGroupElementEventMap>(type: K, listener: (this: HTMLDsRadioGroupElement, ev: DsRadioGroupCustomEvent<HTMLDsRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1675
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1676
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1677
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1678
- removeEventListener<K extends keyof HTMLDsRadioGroupElementEventMap>(type: K, listener: (this: HTMLDsRadioGroupElement, ev: DsRadioGroupCustomEvent<HTMLDsRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1679
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1680
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1681
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1682
- }
1683
- var HTMLDsRadioGroupElement: {
1684
- prototype: HTMLDsRadioGroupElement;
1685
- new (): HTMLDsRadioGroupElement;
1686
- };
1687
- interface HTMLDsSelectElementEventMap {
1688
- "dsChange": string;
1689
- }
1690
- /**
1691
- * Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
1692
- * control-density sizes, with `ds-menu` for the option list.
1693
- */
1694
- interface HTMLDsSelectElement extends Components.DsSelect, HTMLStencilElement {
1695
- addEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1696
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1697
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1698
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1699
- removeEventListener<K extends keyof HTMLDsSelectElementEventMap>(type: K, listener: (this: HTMLDsSelectElement, ev: DsSelectCustomEvent<HTMLDsSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1700
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1701
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1702
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1703
- }
1704
- var HTMLDsSelectElement: {
1705
- prototype: HTMLDsSelectElement;
1706
- new (): HTMLDsSelectElement;
1707
- };
1708
- interface HTMLDsShellGradientPickerElementEventMap {
1709
- "dsChange": ShellGradientPreset1;
1710
- }
1711
- interface HTMLDsShellGradientPickerElement extends Components.DsShellGradientPicker, HTMLStencilElement {
1712
- addEventListener<K extends keyof HTMLDsShellGradientPickerElementEventMap>(type: K, listener: (this: HTMLDsShellGradientPickerElement, ev: DsShellGradientPickerCustomEvent<HTMLDsShellGradientPickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1713
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1714
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1715
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1716
- removeEventListener<K extends keyof HTMLDsShellGradientPickerElementEventMap>(type: K, listener: (this: HTMLDsShellGradientPickerElement, ev: DsShellGradientPickerCustomEvent<HTMLDsShellGradientPickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1717
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1718
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1719
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1720
- }
1721
- var HTMLDsShellGradientPickerElement: {
1722
- prototype: HTMLDsShellGradientPickerElement;
1723
- new (): HTMLDsShellGradientPickerElement;
1724
- };
1725
- interface HTMLDsShellGradientSwatchElementEventMap {
1726
- "dsSelect": ShellGradientPreset1;
1727
- }
1728
- interface HTMLDsShellGradientSwatchElement extends Components.DsShellGradientSwatch, HTMLStencilElement {
1729
- addEventListener<K extends keyof HTMLDsShellGradientSwatchElementEventMap>(type: K, listener: (this: HTMLDsShellGradientSwatchElement, ev: DsShellGradientSwatchCustomEvent<HTMLDsShellGradientSwatchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1730
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1731
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1732
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1733
- removeEventListener<K extends keyof HTMLDsShellGradientSwatchElementEventMap>(type: K, listener: (this: HTMLDsShellGradientSwatchElement, ev: DsShellGradientSwatchCustomEvent<HTMLDsShellGradientSwatchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1734
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1735
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1736
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1737
- }
1738
- var HTMLDsShellGradientSwatchElement: {
1739
- prototype: HTMLDsShellGradientSwatchElement;
1740
- new (): HTMLDsShellGradientSwatchElement;
1741
- };
1742
- interface HTMLDsSkeletonElement extends Components.DsSkeleton, HTMLStencilElement {
1743
- }
1744
- var HTMLDsSkeletonElement: {
1745
- prototype: HTMLDsSkeletonElement;
1746
- new (): HTMLDsSkeletonElement;
1747
- };
1748
- interface HTMLDsSliderElementEventMap {
1749
- "dsChange": number;
1750
- }
1751
- interface HTMLDsSliderElement extends Components.DsSlider, HTMLStencilElement {
1752
- addEventListener<K extends keyof HTMLDsSliderElementEventMap>(type: K, listener: (this: HTMLDsSliderElement, ev: DsSliderCustomEvent<HTMLDsSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1753
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1754
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1755
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1756
- removeEventListener<K extends keyof HTMLDsSliderElementEventMap>(type: K, listener: (this: HTMLDsSliderElement, ev: DsSliderCustomEvent<HTMLDsSliderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1757
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1758
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1759
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1760
- }
1761
- var HTMLDsSliderElement: {
1762
- prototype: HTMLDsSliderElement;
1763
- new (): HTMLDsSliderElement;
1764
- };
1765
- interface HTMLDsTabGroupElementEventMap {
1766
- "dsChange": string;
1767
- }
1768
- interface HTMLDsTabGroupElement extends Components.DsTabGroup, HTMLStencilElement {
1769
- addEventListener<K extends keyof HTMLDsTabGroupElementEventMap>(type: K, listener: (this: HTMLDsTabGroupElement, ev: DsTabGroupCustomEvent<HTMLDsTabGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1770
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1771
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1772
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1773
- removeEventListener<K extends keyof HTMLDsTabGroupElementEventMap>(type: K, listener: (this: HTMLDsTabGroupElement, ev: DsTabGroupCustomEvent<HTMLDsTabGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1774
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1775
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1776
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1777
- }
1778
- var HTMLDsTabGroupElement: {
1779
- prototype: HTMLDsTabGroupElement;
1780
- new (): HTMLDsTabGroupElement;
1781
- };
1782
- interface HTMLDsTabGroupNavElementEventMap {
1783
- "dsChange": string;
1784
- "dsRovingExit": 'start' | 'end';
1785
- }
1786
- interface HTMLDsTabGroupNavElement extends Components.DsTabGroupNav, HTMLStencilElement {
1787
- addEventListener<K extends keyof HTMLDsTabGroupNavElementEventMap>(type: K, listener: (this: HTMLDsTabGroupNavElement, ev: DsTabGroupNavCustomEvent<HTMLDsTabGroupNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1788
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1789
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1790
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1791
- removeEventListener<K extends keyof HTMLDsTabGroupNavElementEventMap>(type: K, listener: (this: HTMLDsTabGroupNavElement, ev: DsTabGroupNavCustomEvent<HTMLDsTabGroupNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1792
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1793
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1794
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1795
- }
1796
- var HTMLDsTabGroupNavElement: {
1797
- prototype: HTMLDsTabGroupNavElement;
1798
- new (): HTMLDsTabGroupNavElement;
1799
- };
1800
- interface HTMLDsTableElementEventMap {
1801
- "dsSort": { columnId: string };
1802
- "dsRowClick": { row: unknown; rowIndex: number };
1803
- "dsPageChange": { pageIndex: number };
1804
- }
1805
- interface HTMLDsTableElement extends Components.DsTable, HTMLStencilElement {
1806
- addEventListener<K extends keyof HTMLDsTableElementEventMap>(type: K, listener: (this: HTMLDsTableElement, ev: DsTableCustomEvent<HTMLDsTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1807
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1808
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1809
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1810
- removeEventListener<K extends keyof HTMLDsTableElementEventMap>(type: K, listener: (this: HTMLDsTableElement, ev: DsTableCustomEvent<HTMLDsTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1811
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1812
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1813
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1814
- }
1815
- var HTMLDsTableElement: {
1816
- prototype: HTMLDsTableElement;
1817
- new (): HTMLDsTableElement;
1818
- };
1819
- interface HTMLDsTagElement extends Components.DsTag, HTMLStencilElement {
1820
- }
1821
- var HTMLDsTagElement: {
1822
- prototype: HTMLDsTagElement;
1823
- new (): HTMLDsTagElement;
1824
- };
1825
- interface HTMLDsTextElement extends Components.DsText, HTMLStencilElement {
1826
- }
1827
- var HTMLDsTextElement: {
1828
- prototype: HTMLDsTextElement;
1829
- new (): HTMLDsTextElement;
1830
- };
1831
- interface HTMLDsToggleElementEventMap {
1832
- "dsChange": boolean;
1833
- }
1834
- interface HTMLDsToggleElement extends Components.DsToggle, HTMLStencilElement {
1835
- addEventListener<K extends keyof HTMLDsToggleElementEventMap>(type: K, listener: (this: HTMLDsToggleElement, ev: DsToggleCustomEvent<HTMLDsToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1836
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1837
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1838
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1839
- removeEventListener<K extends keyof HTMLDsToggleElementEventMap>(type: K, listener: (this: HTMLDsToggleElement, ev: DsToggleCustomEvent<HTMLDsToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1840
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1841
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1842
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1843
- }
1844
- var HTMLDsToggleElement: {
1845
- prototype: HTMLDsToggleElement;
1846
- new (): HTMLDsToggleElement;
1847
- };
1848
- /**
1849
- * Imperative body portal for the popup.
1850
- * Stencil must not own the portaled node — moving a VDOM child to `document.body`
1851
- * causes recreate → re-portal →
1852
- * @State loops that freeze the page.
1853
- */
1854
- interface HTMLDsTooltipElement extends Components.DsTooltip, HTMLStencilElement {
1855
- }
1856
- var HTMLDsTooltipElement: {
1857
- prototype: HTMLDsTooltipElement;
1858
- new (): HTMLDsTooltipElement;
1859
- };
1860
- /**
1861
- * Positioned value/label callout for chart hover interactions (bar, line point, …).
1862
- * Donut charts skip this — legend sync already surfaces the hovered slice.
1863
- * Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
1864
- * charts hover-highlight data that lives inside an SVG, so the chart itself computes
1865
- * the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
1866
- * Renders `position: absolute` — place inside a `position: relative` chart wrapper,
1867
- * with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
1868
- * of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
1869
- * keeps it on-screen.
1870
- * Mount (or remount) when a hover session starts so `delay` applies once per hover;
1871
- * keep the instance mounted while the cursor moves so tracking stays instant.
1872
- */
1873
- interface HTMLDsTooltipDataVizElement extends Components.DsTooltipDataViz, HTMLStencilElement {
1874
- }
1875
- var HTMLDsTooltipDataVizElement: {
1876
- prototype: HTMLDsTooltipDataVizElement;
1877
- new (): HTMLDsTooltipDataVizElement;
1878
- };
1879
- interface HTMLElementTagNameMap {
1880
- "ds-app-shell": HTMLDsAppShellElement;
1881
- "ds-badge": HTMLDsBadgeElement;
1882
- "ds-banner": HTMLDsBannerElement;
1883
- "ds-bar-nav": HTMLDsBarNavElement;
1884
- "ds-button-filled": HTMLDsButtonFilledElement;
1885
- "ds-button-unfilled": HTMLDsButtonUnfilledElement;
1886
- "ds-card": HTMLDsCardElement;
1887
- "ds-card-data-viz-donut": HTMLDsCardDataVizDonutElement;
1888
- "ds-card-setting": HTMLDsCardSettingElement;
1889
- "ds-chart-bar": HTMLDsChartBarElement;
1890
- "ds-chart-donut": HTMLDsChartDonutElement;
1891
- "ds-chart-legend": HTMLDsChartLegendElement;
1892
- "ds-chart-line": HTMLDsChartLineElement;
1893
- "ds-checkbox": HTMLDsCheckboxElement;
1894
- "ds-chip": HTMLDsChipElement;
1895
- "ds-divider": HTMLDsDividerElement;
1896
- "ds-empty-state": HTMLDsEmptyStateElement;
1897
- "ds-field": HTMLDsFieldElement;
1898
- "ds-icon": HTMLDsIconElement;
1899
- "ds-input": HTMLDsInputElement;
1900
- "ds-loader": HTMLDsLoaderElement;
1901
- "ds-menu": HTMLDsMenuElement;
1902
- "ds-modal": HTMLDsModalElement;
1903
- "ds-pagination": HTMLDsPaginationElement;
1904
- "ds-panel-nav": HTMLDsPanelNavElement;
1905
- "ds-panel-tools": HTMLDsPanelToolsElement;
1906
- "ds-radio-group": HTMLDsRadioGroupElement;
1907
- "ds-select": HTMLDsSelectElement;
1908
- "ds-shell-gradient-picker": HTMLDsShellGradientPickerElement;
1909
- "ds-shell-gradient-swatch": HTMLDsShellGradientSwatchElement;
1910
- "ds-skeleton": HTMLDsSkeletonElement;
1911
- "ds-slider": HTMLDsSliderElement;
1912
- "ds-tab-group": HTMLDsTabGroupElement;
1913
- "ds-tab-group-nav": HTMLDsTabGroupNavElement;
1914
- "ds-table": HTMLDsTableElement;
1915
- "ds-tag": HTMLDsTagElement;
1916
- "ds-text": HTMLDsTextElement;
1917
- "ds-toggle": HTMLDsToggleElement;
1918
- "ds-tooltip": HTMLDsTooltipElement;
1919
- "ds-tooltip-data-viz": HTMLDsTooltipDataVizElement;
1920
- }
1921
- }
1922
- declare namespace LocalJSX {
1923
- type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
1924
-
1925
- interface DsAppShell {
1926
- /**
1927
- * When `true`, paints the radial wash behind panel, bar, and tools (synced to shell layout).
1928
- * @default false
1929
- */
1930
- "gradient"?: boolean;
1931
- /**
1932
- * Built-in shell wash preset when `gradient` is true. `none` (solid secondary), `cool` (blue), `neutral` (grey), `warm` (yellow). `gradientSrc` overrides when set.
1933
- * @default DEFAULT_SHELL_GRADIENT_PRESET
1934
- */
1935
- "gradientPreset"?: ShellGradientPreset;
1936
- /**
1937
- * Optional custom gradient for `background-image` (e.g. SVG URL). When set, overrides the built-in radial wash.
1938
- * @default ''
1939
- */
1940
- "gradientSrc"?: string;
1941
- /**
1942
- * Chrome style propagated to slotted `ds-panel-nav` and `ds-bar-nav`.
1943
- * @default 'dashboard'
1944
- */
1945
- "navStyle"?: NavChromeStyle;
1946
- /**
1947
- * When `true` (default), registers global shell keyboard shortcuts. `[` toggles panel nav; `]` closes tools; K/A/S/M/N toggle tool drawers. Modifiers are ignored so browser chords like ⌘N stay native.
1948
- * @default true
1949
- */
1950
- "shortcutsEnabled"?: boolean;
1951
- }
1952
- interface DsBadge {
1953
- /**
1954
- * Direct ring background override for component-local surfaces.
1955
- */
1956
- "background"?: string | undefined;
1957
- /**
1958
- * Count shown for counter badges. Count 0 hides the badge.
1959
- * @default 0
1960
- */
1961
- "count"?: number;
1962
- /**
1963
- * Ring samples the shell gradient stack (base fill + wash) instead of a flat `box-shadow`. Auto-enabled in `componentDidLoad` under `ds-app-shell[gradient]`; set `gradient-background` to opt in/out explicitly. The attribute must NOT start with `on` — Stencil's setAccessor routes any unknown `on*` member down the event-listener path during attribute reflection, calling addEventListener with a non-listener and throwing.
1964
- * @default false
1965
- */
1966
- "gradientBackground"?: boolean;
1967
- /**
1968
- * Deprecated alias for selected counter styling. Prefer context-specific color in the parent.
1969
- * @default false
1970
- */
1971
- "isSelected"?: boolean;
1972
- /**
1973
- * Accessible label. Defaults to the count as a string.
1974
- */
1975
- "label"?: string | undefined;
1976
- /**
1977
- * Highest count shown before compacting to "+".
1978
- * @default 9
1979
- */
1980
- "max"?: number;
1981
- /**
1982
- * Surface context for the ring around dots.
1983
- * @default 'default'
1984
- */
1985
- "surface"?: BadgeSurface;
1986
- /**
1987
- * Render as a compact counter or notification dot.
1988
- * @default 'counter'
1989
- */
1990
- "variant"?: BadgeVariant;
1991
- }
1992
- interface DsBanner {
1993
- /**
1994
- * @default 'medium'
1995
- */
1996
- "contrast"?: BannerContrast;
1997
- /**
1998
- * @default 'Dismiss'
1999
- */
2000
- "dismissLabel"?: string;
2001
- /**
2002
- * Renders at a fixed position (centered top) and auto-dismisses after 4 s.
2003
- * @default false
2004
- */
2005
- "floating"?: boolean;
2006
- /**
2007
- * Renders the diagonal-stripe accent bar above the body.
2008
- * @default false
2009
- */
2010
- "header"?: boolean;
2011
- /**
2012
- * @default 'neutral'
2013
- */
2014
- "intent"?: BannerIntent;
2015
- /**
2016
- * @default ''
2017
- */
2018
- "message"?: string;
2019
- "onDsDismiss"?: (event: DsBannerCustomEvent<void>) => void;
2020
- /**
2021
- * @default false
2022
- */
2023
- "showDismiss"?: boolean;
2024
- }
2025
- interface DsBarNav {
2026
- /**
2027
- * Section base path (e.g. `/dashboard/safety`). Used with `currentUrl` to derive `value`.
2028
- * @default ''
2029
- */
2030
- "basePath"?: string;
2031
- /**
2032
- * Current route URL. When set with `basePath`, the active tab is derived automatically.
2033
- * @default ''
2034
- */
2035
- "currentUrl"?: string;
2036
- /**
2037
- * Fallback heading shown when no tabs are provided. When tabs are present the heading is hidden.
2038
- */
2039
- "heading"?: string | undefined;
2040
- /**
2041
- * Style slot: `dashboard` or `settings`. Colors match for now.
2042
- * @default 'dashboard'
2043
- */
2044
- "navStyle"?: NavChromeStyle;
2045
- /**
2046
- * Emitted when the active tab changes. Detail = tab id.
2047
- */
2048
- "onDsTabChange"?: (event: DsBarNavCustomEvent<string>) => void;
2049
- /**
2050
- * Tab items for the left section. Set via JS property: `el.tabs = [...]`. Replace the array reference to update.
2051
- * @default []
2052
- */
2053
- "tabs"?: BarNavTab[];
2054
- /**
2055
- * JSON fallback for `tabs` — useful when framework bindings don't propagate arrays.
2056
- * @default ''
2057
- */
2058
- "tabsJson"?: string;
2059
- /**
2060
- * ID of the currently active tab. Overridden when `currentUrl` + `basePath` are set.
2061
- * @default ''
2062
- */
2063
- "value"?: string;
2064
- }
2065
- interface DsButtonFilled {
2066
- "ariaLabel"?: string | undefined;
2067
- /**
2068
- * Background fill weight. Foreground uses the paired contrast token: bold → faint, strong → medium, medium → strong, faint → bold.
2069
- * @default 'bold'
2070
- */
2071
- "contrast"?: ButtonFilledContrast;
2072
- /**
2073
- * Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
2074
- * @default ''
2075
- */
2076
- "icon"?: string;
2077
- /**
2078
- * Semantic colour intent.
2079
- * @default 'brand'
2080
- */
2081
- "intent"?: ButtonFilledIntent;
2082
- /**
2083
- * Disables interaction.
2084
- * @default false
2085
- */
2086
- "isInactive"?: boolean;
2087
- /**
2088
- * Visible text for `label` / `icon-label` variants.
2089
- * @default ''
2090
- */
2091
- "label"?: string;
2092
- "onDsClick"?: (event: DsButtonFilledCustomEvent<MouseEvent>) => void;
2093
- /**
2094
- * Control density (height, padding, icon, type).
2095
- * @default 'md'
2096
- */
2097
- "size"?: ButtonFilledSize;
2098
- /**
2099
- * Native button type.
2100
- * @default 'button'
2101
- */
2102
- "type"?: 'button' | 'submit' | 'reset';
2103
- /**
2104
- * Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
2105
- * @default 'label'
2106
- */
2107
- "variant"?: ButtonFilledVariant;
2108
- /**
2109
- * Width fit — hug content (default) or fill the parent.
2110
- * @default 'hug'
2111
- */
2112
- "width"?: ButtonFilledWidth;
2113
- }
2114
- interface DsButtonUnfilled {
2115
- /**
2116
- * When active, render the selected interaction fill. Default `true` for general UI. Shell chrome (nav / tool rails) should pass `false` so selection is foreground-only (primary color, no fill).
2117
- * @default true
2118
- */
2119
- "activeFill"?: boolean;
2120
- "ariaLabel"?: string | undefined;
2121
- /**
2122
- * Parent surface context for navigation and always-dark chrome.
2123
- */
2124
- "background"?: ButtonUnfilledBackground | undefined;
2125
- /**
2126
- * Foreground and interaction tokens when the button sits on a contrasting parent background (default, medium, bold, or strong).
2127
- */
2128
- "backgroundContrast"?: ButtonUnfilledOnBackgroundContrast;
2129
- "controls"?: string | undefined;
2130
- /**
2131
- * Show a notification dot at the top-right of the icon zone (icon variant only).
2132
- * @default false
2133
- */
2134
- "dot"?: boolean;
2135
- "expanded"?: boolean | undefined;
2136
- /**
2137
- * Native `tabindex` for roving keyboard groups in shell chrome. Omit for the default button tab stop (`0`).
2138
- */
2139
- "focusTabIndex"?: number;
2140
- /**
2141
- * Show a 1px secondary inset border. Default on; shell chrome can pass `false`.
2142
- * @default true
2143
- */
2144
- "hasBorder"?: boolean;
2145
- "haspopup"?: string | undefined;
2146
- /**
2147
- * Icon name passed to <ds-icon> for `icon` / `icon-label` variants.
2148
- * @default ''
2149
- */
2150
- "icon"?: string;
2151
- /**
2152
- * Active/selected visual state. Always promotes foreground to primary.
2153
- * @default false
2154
- */
2155
- "isActive"?: boolean;
2156
- /**
2157
- * Disables interaction.
2158
- * @default false
2159
- */
2160
- "isInactive"?: boolean;
2161
- /**
2162
- * Visible text for `label` / `icon-label` variants.
2163
- * @default ''
2164
- */
2165
- "label"?: string;
2166
- "onDsChange"?: (event: DsButtonUnfilledCustomEvent<boolean>) => void;
2167
- "onDsClick"?: (event: DsButtonUnfilledCustomEvent<MouseEvent>) => void;
2168
- "pressed"?: boolean | undefined;
2169
- /**
2170
- * Control density (height, padding, icon, type).
2171
- * @default 'md'
2172
- */
2173
- "size"?: ButtonUnfilledSize;
2174
- /**
2175
- * Native button type.
2176
- * @default 'button'
2177
- */
2178
- "type"?: 'button' | 'submit' | 'reset';
2179
- /**
2180
- * Content layout. Default is label-only; pass `icon` for icon-only chrome (nav / tool rails) or `icon-label` for leading icon + text.
2181
- * @default 'label'
2182
- */
2183
- "variant"?: ButtonUnfilledVariant;
2184
- /**
2185
- * Width fit — hug content (default) or fill the parent.
2186
- * @default 'hug'
2187
- */
2188
- "width"?: ButtonUnfilledWidth;
2189
- }
2190
- /**
2191
- * Shared card chrome — width + matching min-height tokens, header (title + actions),
2192
- * and a flex body that fills leftover space. Compose this from settings / data-viz cards.
2193
- */
2194
- interface DsCard {
2195
- /**
2196
- * Chrome recipe — `editing` applies the settings edit wash.
2197
- * @default 'default'
2198
- */
2199
- "appearance"?: CardAppearance;
2200
- /**
2201
- * Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so empty bodies still fill the card.
2202
- * @default 'md'
2203
- */
2204
- "cardWidth"?: CardWidth;
2205
- /**
2206
- * Section heading shown in the card header.
2207
- */
2208
- "heading": string;
2209
- }
2210
- /**
2211
- * Donut data-viz card — shared `ds-card` chrome with a fill chart region and
2212
- * content-sized legend. Hover sync between chart and legend stays here.
2213
- */
2214
- interface DsCardDataVizDonut {
2215
- /**
2216
- * Card width token — also sets matching min-height.
2217
- * @default 'md'
2218
- */
2219
- "cardWidth"?: CardDataVizDonutWidth;
2220
- /**
2221
- * Widget heading shown in the card header.
2222
- */
2223
- "heading": string;
2224
- /**
2225
- * Emits when the header filter control is activated.
2226
- */
2227
- "onDsFilterClick"?: (event: DsCardDataVizDonutCustomEvent<void>) => void;
2228
- }
2229
- interface DsCardSetting {
2230
- /**
2231
- * Card width token (`sm` / `md` / `lg`). Also sets host `min-height` to the matching `--dimension-card-height-*` so the body fills available space even when the slot is empty.
2232
- * @default 'md'
2233
- */
2234
- "cardWidth"?: CardSettingWidth;
2235
- /**
2236
- * Controlled edit state — parent owns single-edit orchestration.
2237
- * @default false
2238
- */
2239
- "editing"?: boolean;
2240
- /**
2241
- * Section heading shown in the card header.
2242
- */
2243
- "heading": string;
2244
- /**
2245
- * Emits when the user enters or exits edit mode.
2246
- */
2247
- "onDsEditingChange"?: (event: DsCardSettingCustomEvent<boolean>) => void;
2248
- }
2249
- interface DsChartBar {
2250
- /**
2251
- * Bars to render. Set as a JS property (not an HTML attribute).
2252
- * @default []
2253
- */
2254
- "data"?: ChartDatum[];
2255
- /**
2256
- * @default 240
2257
- */
2258
- "height"?: number;
2259
- /**
2260
- * @default 480
2261
- */
2262
- "width"?: number;
2263
- }
2264
- interface DsChartDonut {
2265
- /**
2266
- * Externally controlled highlight, matched by `label` — e.g. drive this from a sibling `ds-chart-legend`'s `dsItemHover` event to keep chart and legend hover in sync. Falls back to this component's own pointer/focus hover when unset. Slice hover dims peer slices and emits `dsSliceHover` for legend sync — no data-viz tooltip (the legend already surfaces label/value).
2267
- * @default null
2268
- */
2269
- "activeLabel"?: string | null;
2270
- /**
2271
- * Secondary caption below the center value (e.g. "Total", "Normal"). Rendered uppercase.
2272
- */
2273
- "centerCaption"?: string | undefined;
2274
- /**
2275
- * Primary center value; defaults to the sum of `data` values (e.g. "187", "40.9%").
2276
- */
2277
- "centerValue"?: string | undefined;
2278
- /**
2279
- * Corner radius on each slice — number (px) or TokoMo length. Defaults to `--dimension-radius-025` (2px).
2280
- * @default TOKEN_DEFAULTS.radius025
2281
- */
2282
- "cornerRadius"?: number | string;
2283
- /**
2284
- * Slices to render. Set as a JS property (not an HTML attribute).
2285
- * @default []
2286
- */
2287
- "data"?: ChartDatum[];
2288
- /**
2289
- * Gap between slices, in degrees.
2290
- * @default 1
2291
- */
2292
- "gap"?: number;
2293
- /**
2294
- * Fires with the hovered/focused slice's datum, or `null` on leave/blur.
2295
- */
2296
- "onDsSliceHover"?: (event: DsChartDonutCustomEvent<ChartDatum | null>) => void;
2297
- /**
2298
- * Explicit diameter in px. When unset, the donut sizes to its container (ResizeObserver) clamped between `--dimension-size-base * 16` (128px) and `* 24` (192px), and stays centered in the leftover space. Prefer unset inside card layouts.
2299
- */
2300
- "size"?: number | undefined;
2301
- /**
2302
- * Ring thickness — number (px) or TokoMo length. Defaults to `--dimension-size-200` (16px).
2303
- * @default TOKEN_DEFAULTS.size200
2304
- */
2305
- "thickness"?: number | string;
2306
- }
2307
- /**
2308
- * Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
2309
- * legends differently (list w/ values, compact chips, bare swatches, external
2310
- * stat callouts) — this covers the common "swatch + label + optional value" case.
2311
- * Consumers who need a different treatment skip this component entirely and
2312
- * render their own markup against the same `ChartDatum[]` data.
2313
- */
2314
- interface DsChartLegend {
2315
- /**
2316
- * Externally controlled highlight, matched by `label` — e.g. drive this from a sibling chart's `dsSliceHover` event to keep chart and legend hover in sync. Only dims the other rows' opacity (like a chart dimming its other slices) — it never shows the hover-fill, since that's reserved for a real pointer/keyboard interaction on this row.
2317
- * @default null
2318
- */
2319
- "activeLabel"?: string | null;
2320
- /**
2321
- * @default 'vertical'
2322
- */
2323
- "direction"?: ChartLegendDirection;
2324
- /**
2325
- * Legend entries. Set as a JS property (not an HTML attribute).
2326
- * @default []
2327
- */
2328
- "items"?: ChartLegendItem[];
2329
- /**
2330
- * Fires when a deep-linkable row (`item.href` set) is activated.
2331
- */
2332
- "onDsItemClick"?: (event: DsChartLegendCustomEvent<{ item: ChartLegendItem; originalEvent: MouseEvent }>) => void;
2333
- /**
2334
- * Fires on row hover/focus with the item, or `null` on leave/blur.
2335
- */
2336
- "onDsItemHover"?: (event: DsChartLegendCustomEvent<ChartLegendItem | null>) => void;
2337
- /**
2338
- * Show each item's share of the total (of items with a `value`) alongside its count.
2339
- * @default true
2340
- */
2341
- "showPercentage"?: boolean;
2342
- }
2343
- interface DsChartLine {
2344
- /**
2345
- * X-axis labels — must match each series' `data` length. Set as a JS property.
2346
- * @default []
2347
- */
2348
- "categories"?: string[];
2349
- /**
2350
- * @default 240
2351
- */
2352
- "height"?: number;
2353
- /**
2354
- * One or more series to plot. Set as a JS property (not an HTML attribute).
2355
- * @default []
2356
- */
2357
- "series"?: ChartSeries[];
2358
- /**
2359
- * @default true
2360
- */
2361
- "showPoints"?: boolean;
2362
- /**
2363
- * @default 480
2364
- */
2365
- "width"?: number;
2366
- }
2367
- interface DsCheckbox {
2368
- /**
2369
- * @default false
2370
- */
2371
- "checked"?: boolean;
2372
- /**
2373
- * @default false
2374
- */
2375
- "indeterminate"?: boolean;
2376
- /**
2377
- * @default false
2378
- */
2379
- "isInactive"?: boolean;
2380
- "label": string;
2381
- "onDsChange"?: (event: DsCheckboxCustomEvent<boolean>) => void;
2382
- }
2383
- /**
2384
- * Removable chip — same density recipe as Tag, but colored by semantic `state`
2385
- * (not intent × contrast). Not a toggle/select control; the only intentional
2386
- * action is remove.
2387
- */
2388
- interface DsChip {
2389
- /**
2390
- * Surface context for interaction-fill tokens when the chip sits on a non-default surface.
2391
- */
2392
- "background"?: ChipBackground | undefined;
2393
- /**
2394
- * @default false
2395
- */
2396
- "isInactive"?: boolean;
2397
- "label": string;
2398
- "maxWidth"?: string | number | undefined;
2399
- /**
2400
- * Fired when the remove button is clicked.
2401
- */
2402
- "onDsRemove"?: (event: DsChipCustomEvent<void>) => void;
2403
- /**
2404
- * When true (default), shows the trailing dismiss control.
2405
- * @default true
2406
- */
2407
- "removable"?: boolean;
2408
- /**
2409
- * @default false
2410
- */
2411
- "rounded"?: boolean;
2412
- /**
2413
- * @default 'md'
2414
- */
2415
- "size"?: ChipSize;
2416
- /**
2417
- * Semantic color state.
2418
- * @default 'default'
2419
- */
2420
- "state"?: ChipState;
2421
- }
2422
- interface DsDivider {
2423
- /**
2424
- * Insets the divider from its start/end edges. Accepts spacing token names or any CSS length.
2425
- * @default 'none'
2426
- */
2427
- "inset"?: DividerInset;
2428
- /**
2429
- * Visual line length. Defaults to filling the available axis. Accepts any CSS length.
2430
- * @default 'auto'
2431
- */
2432
- "length"?: DividerLength;
2433
- /**
2434
- * Direction of the divider line. Defaults to 'horizontal'.
2435
- * @default 'horizontal'
2436
- */
2437
- "orientation"?: DividerOrientation;
2438
- /**
2439
- * Expose the divider as a semantic separator. Visual-only dividers are hidden from assistive tech by default.
2440
- * @default false
2441
- */
2442
- "semantic"?: boolean;
2443
- /**
2444
- * Surface context so the divider uses the right TokoMo divider token.
2445
- * @default 'default'
2446
- */
2447
- "surface"?: DividerSurface;
2448
- }
2449
- interface DsEmptyState {
2450
- "message"?: string | undefined;
2451
- /**
2452
- * @default 'no-content'
2453
- */
2454
- "type"?: EmptyStateType;
2455
- }
2456
- interface DsField {
2457
- /**
2458
- * ID forwarded to the slotted control via the label's `for` attribute. Auto-generated if omitted.
2459
- */
2460
- "fieldId"?: string | undefined;
2461
- "label": string;
2462
- }
2463
- interface DsIcon {
2464
- /**
2465
- * Semantic foreground color token, or a raw CSS var reference.
2466
- */
2467
- "color"?: IconColor | undefined;
2468
- /**
2469
- * Set `true` to look up from the flag icon set instead of the system icon set.
2470
- * @default false
2471
- */
2472
- "flag"?: boolean;
2473
- /**
2474
- * Accessible label. Sets `role="img"` and `aria-label`. Omit for decorative icons.
2475
- */
2476
- "label"?: string | undefined;
2477
- /**
2478
- * Name of the system icon (e.g. `"Gear"`, `"ArrowRight"`) or flag (e.g. `"US"`)
2479
- * @default ''
2480
- */
2481
- "name"?: string;
2482
- /**
2483
- * Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px.
2484
- * @default 'md'
2485
- */
2486
- "size"?: IconSize;
2487
- }
2488
- interface DsInput {
2489
- "ariaDescribedby"?: string | undefined;
2490
- "ariaLabel"?: string | undefined;
2491
- "ariaLabelledby"?: string | undefined;
2492
- /**
2493
- * @default false
2494
- */
2495
- "autoFocus"?: boolean;
2496
- /**
2497
- * @default false
2498
- */
2499
- "error"?: boolean;
2500
- "errorMessage"?: string | undefined;
2501
- /**
2502
- * Associates the internal input with an external <label>.
2503
- */
2504
- "inputId"?: string | undefined;
2505
- /**
2506
- * @default false
2507
- */
2508
- "isInactive"?: boolean;
2509
- "onDsChange"?: (event: DsInputCustomEvent<string>) => void;
2510
- "onDsClear"?: (event: DsInputCustomEvent<void>) => void;
2511
- "placeholder"?: string | undefined;
2512
- /**
2513
- * @default 'text'
2514
- */
2515
- "type"?: InputType;
2516
- /**
2517
- * @default ''
2518
- */
2519
- "value"?: string;
2520
- }
2521
- interface DsLoader {
2522
- /**
2523
- * Semantic foreground color token, or a raw CSS var reference. Same tokens as `ds-icon`.
2524
- */
2525
- "color"?: LoaderColor | undefined;
2526
- /**
2527
- * Accessible label for standalone usage. Wraps the spinner in a live region and renders the label visually-hidden. Omit when the host element already conveys busy state via aria-busy.
2528
- */
2529
- "label"?: string | undefined;
2530
- /**
2531
- * Iconography size token. Maps to `--dimension-iconography-{size}`. Default `md` = 20 px.
2532
- * @default 'md'
2533
- */
2534
- "size"?: LoaderSize;
2535
- }
2536
- interface DsMenu {
2537
- /**
2538
- * @default 'start'
2539
- */
2540
- "align"?: MenuAlign;
2541
- /**
2542
- * Cross-axis offset — number (px) or TokoMo length.
2543
- * @default 0
2544
- */
2545
- "alignOffset"?: number | string;
2546
- /**
2547
- * External trigger element to position against. Set via JS: menuEl.anchor = buttonEl
2548
- */
2549
- "anchor"?: HTMLElement | undefined;
2550
- /**
2551
- * ID of the external trigger element for positioning
2552
- */
2553
- "anchorId"?: string | undefined;
2554
- /**
2555
- * Show a visible ring on the initially focused menu item. Use only when the opener was keyboard-driven.
2556
- * @default false
2557
- */
2558
- "initialFocusVisible"?: boolean;
2559
- /**
2560
- * @default []
2561
- */
2562
- "items"?: MenuItemData[];
2563
- "menuWidth"?: string | undefined;
2564
- "minWidth"?: string | undefined;
2565
- "onDsClose"?: (event: DsMenuCustomEvent<void>) => void;
2566
- /**
2567
- * Emitted when a `gradient-picker` section swatch is chosen.
2568
- */
2569
- "onDsGradientSelect"?: (event: DsMenuCustomEvent<ShellGradientPreset>) => void;
2570
- "onDsSelect"?: (event: DsMenuCustomEvent<MenuItemData>) => void;
2571
- /**
2572
- * @default false
2573
- */
2574
- "open"?: boolean;
2575
- /**
2576
- * @default []
2577
- */
2578
- "sections"?: MenuSection[];
2579
- /**
2580
- * @default 'bottom'
2581
- */
2582
- "side"?: MenuSide;
2583
- /**
2584
- * Gap between anchor and menu — number (px) or TokoMo length (`var(--dimension-space-050)`, etc.).
2585
- * @default TOKEN_CSS_LENGTHS.space050
2586
- */
2587
- "sideOffset"?: number | string;
2588
- }
2589
- interface DsModal {
2590
- "heading": string;
2591
- /**
2592
- * @default 'md'
2593
- */
2594
- "modalWidth"?: ModalWidth | string;
2595
- "onDsClose"?: (event: DsModalCustomEvent<void>) => void;
2596
- /**
2597
- * @default false
2598
- */
2599
- "open"?: boolean;
2600
- "subtitle"?: string | undefined;
2601
- }
2602
- interface DsPagination {
2603
- /**
2604
- * @default false
2605
- */
2606
- "isInactive"?: boolean;
2607
- "onDsPageChange"?: (event: DsPaginationCustomEvent<number>) => void;
2608
- /**
2609
- * @default 1
2610
- */
2611
- "page"?: number;
2612
- /**
2613
- * @default 1
2614
- */
2615
- "siblingCount"?: number;
2616
- /**
2617
- * @default 1
2618
- */
2619
- "totalPages"?: number;
2620
- }
2621
- interface DsPanelNav {
2622
- /**
2623
- * ID of the currently active/selected nav item. Overridden by `currentUrl` matching when set.
2624
- * @default ''
2625
- */
2626
- "activeId"?: string;
2627
- /**
2628
- * Viewport width (px) below which the nav auto-collapses to icon-only mode. 0 = disabled.
2629
- * @default 0
2630
- */
2631
- "breakpoint"?: number;
2632
- /**
2633
- * Whether the nav is in collapsed (icon-only) state. Set `storageKey` to persist across reloads. `dsNavToggle` still fires on change.
2634
- * @default false
2635
- */
2636
- "collapsed"?: boolean;
2637
- /**
2638
- * Current route URL (e.g. `window.location.pathname` or the router's active URL). When set the component derives the active item by matching item `href` values against this string (longest segment-boundary prefix wins), overriding `activeId`.
2639
- * @default ''
2640
- */
2641
- "currentUrl"?: string;
2642
- /**
2643
- * When `true`, style changes apply synchronously — host app owns view transitions.
2644
- * @default false
2645
- */
2646
- "disableViewTransition"?: boolean;
2647
- /**
2648
- * Nav groups — set via JS property (`el.groups = [...]`) or JSON string attribute.
2649
- * @default '[]'
2650
- */
2651
- "groups"?: string | PanelNavGroup[];
2652
- /**
2653
- * Style slot: `dashboard` or `settings`. Colors match for now; class hooks reserved for texture/glyph layers. Property: `navStyle`. Attribute: `nav-style`.
2654
- * @default 'dashboard'
2655
- */
2656
- "navStyle"?: NavChromeStyle;
2657
- "onDsChromeTransitionEnd"?: (event: DsPanelNavCustomEvent<ChromeTransitionDetail>) => void;
2658
- /**
2659
- * Bubbling lifecycle — `ds-app-shell` pauses chrome metrics during width motion.
2660
- */
2661
- "onDsChromeTransitionStart"?: (event: DsPanelNavCustomEvent<ChromeTransitionDetail>) => void;
2662
- /**
2663
- * Emitted when the footer left button (gear / dashboard) is clicked.
2664
- */
2665
- "onDsNavFooterAction"?: (event: DsPanelNavCustomEvent<void>) => void;
2666
- /**
2667
- * Emitted when a nav item is clicked. Detail = the item's `id`.
2668
- */
2669
- "onDsNavSelect"?: (event: DsPanelNavCustomEvent<string>) => void;
2670
- /**
2671
- * Emitted when the collapse toggle is clicked. Detail = new collapsed state.
2672
- */
2673
- "onDsNavToggle"?: (event: DsPanelNavCustomEvent<boolean>) => void;
2674
- /**
2675
- * Emitted when the footer user button is clicked. Detail includes the anchor for `ds-menu`.
2676
- */
2677
- "onDsNavUserAction"?: (event: DsPanelNavCustomEvent<PanelNavUserActionDetail>) => void;
2678
- /**
2679
- * How items with `href` render: - `anchor` (default): native `<a href>` — works with routers that intercept anchors. - `event`: always `<button>`; host handles navigation via `dsNavSelect`.
2680
- * @default 'anchor'
2681
- */
2682
- "routerMode"?: PanelNavRouterMode;
2683
- /**
2684
- * `localStorage` key used to persist the collapsed state across page loads. When set, collapsed state is restored on mount and written on each toggle.
2685
- * @default ''
2686
- */
2687
- "storageKey"?: string;
2688
- /**
2689
- * Single character shown in the collapsed avatar
2690
- * @default ''
2691
- */
2692
- "userInitial"?: string;
2693
- /**
2694
- * Display name for the footer user section
2695
- * @default ''
2696
- */
2697
- "userName"?: string;
2698
- }
2699
- interface DsPanelTools {
2700
- /**
2701
- * Active tool view — `search`, `agents`, `messages`, `stacks`, `activity`, or `help`.
2702
- * @default ''
2703
- */
2704
- "activeTool"?: PanelToolsToolId | '';
2705
- /**
2706
- * Rail items rendered in the right column. Set via JS property: `el.items = [...]`. Replace the array reference to update.
2707
- * @default []
2708
- */
2709
- "items"?: PanelToolsItem[];
2710
- /**
2711
- * JSON fallback for `items` — useful when framework bindings don't propagate arrays.
2712
- * @default ''
2713
- */
2714
- "itemsJson"?: string;
2715
- "onDsChromeTransitionEnd"?: (event: DsPanelToolsCustomEvent<ChromeTransitionDetail>) => void;
2716
- /**
2717
- * Bubbling lifecycle — `ds-bar-nav` defers overflow checks during drawer motion.
2718
- */
2719
- "onDsChromeTransitionStart"?: (event: DsPanelToolsCustomEvent<ChromeTransitionDetail>) => void;
2720
- /**
2721
- * Emitted when a rail button is toggled. Detail = { id, selected }.
2722
- */
2723
- "onDsToolChange"?: (event: DsPanelToolsCustomEvent<{
2724
- id: PanelToolsToolId;
2725
- selected: boolean;
2726
- }>) => void;
2727
- /**
2728
- * When false, only the icon rail is shown.
2729
- * @default false
2730
- */
2731
- "open"?: boolean;
2732
- }
2733
- interface DsRadioGroup {
2734
- "ariaLabel"?: string | undefined;
2735
- "ariaLabelledby"?: string | undefined;
2736
- /**
2737
- * @default 'vertical'
2738
- */
2739
- "direction"?: 'vertical' | 'horizontal';
2740
- /**
2741
- * @default false
2742
- */
2743
- "isInactive"?: boolean;
2744
- "onDsChange"?: (event: DsRadioGroupCustomEvent<string>) => void;
2745
- /**
2746
- * @default []
2747
- */
2748
- "options"?: RadioOption[];
2749
- /**
2750
- * @default ''
2751
- */
2752
- "value"?: string;
2753
- }
2754
- /**
2755
- * Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
2756
- * control-density sizes, with `ds-menu` for the option list.
2757
- */
2758
- interface DsSelect {
2759
- /**
2760
- * When a value is selected, render the selected interaction fill (same recipe as unfilled-button `activeFill`). Default `true`. Pass `false` for foreground-only selection (primary label, no fill). Selected/open promotes the label to primary; chevron stays secondary.
2761
- * @default true
2762
- */
2763
- "activeFill"?: boolean;
2764
- "ariaLabel"?: string | undefined;
2765
- "ariaLabelledby"?: string | undefined;
2766
- /**
2767
- * Show a 1px secondary inset border. Default on (matches unfilled button).
2768
- * @default true
2769
- */
2770
- "hasBorder"?: boolean;
2771
- /**
2772
- * Disables interaction (25% opacity via ds-control-inactive).
2773
- * @default false
2774
- */
2775
- "isInactive"?: boolean;
2776
- /**
2777
- * Emits the selected value string.
2778
- */
2779
- "onDsChange"?: (event: DsSelectCustomEvent<string>) => void;
2780
- /**
2781
- * Array of options. Set via JS property.
2782
- * @example el.options = [{ label: 'Apple', value: 'apple' }];
2783
- * @default []
2784
- */
2785
- "options"?: SelectOption[];
2786
- /**
2787
- * Placeholder shown when no value is selected.
2788
- * @default 'Select'
2789
- */
2790
- "placeholder"?: string;
2791
- /**
2792
- * Control density (height, padding, icon, type).
2793
- * @default 'md'
2794
- */
2795
- "size"?: SelectSize;
2796
- /**
2797
- * Currently selected value.
2798
- * @default ''
2799
- */
2800
- "value"?: string;
2801
- /**
2802
- * Width fit — fill the parent (default) or hug content.
2803
- * @default 'fill'
2804
- */
2805
- "width"?: SelectWidth;
2806
- }
2807
- interface DsShellGradientPicker {
2808
- "onDsChange"?: (event: DsShellGradientPickerCustomEvent<ShellGradientPreset1>) => void;
2809
- /**
2810
- * Active shell wash preset.
2811
- * @default DEFAULT_SHELL_GRADIENT_PRESET
2812
- */
2813
- "value"?: ShellGradientPreset1;
2814
- }
2815
- interface DsShellGradientSwatch {
2816
- "ariaLabel"?: string | undefined;
2817
- /**
2818
- * @default false
2819
- */
2820
- "isInactive"?: boolean;
2821
- "onDsSelect"?: (event: DsShellGradientSwatchCustomEvent<ShellGradientPreset1>) => void;
2822
- /**
2823
- * Wash preset this orb previews.
2824
- * @default DEFAULT_SHELL_GRADIENT_PRESET
2825
- */
2826
- "preset"?: ShellGradientPreset1;
2827
- /**
2828
- * Selected — brand stroke + halo over inner fill/border/interaction stack.
2829
- * @default false
2830
- */
2831
- "selected"?: boolean;
2832
- }
2833
- interface DsSkeleton {
2834
- /**
2835
- * Height as a CSS value string or number (px).
2836
- */
2837
- "height"?: string | number | undefined;
2838
- /**
2839
- * Number of text lines. Only used when variant is 'text'.
2840
- * @default 1
2841
- */
2842
- "lines"?: number;
2843
- /**
2844
- * Whether to show the shimmer animation.
2845
- * @default true
2846
- */
2847
- "shimmer"?: boolean;
2848
- /**
2849
- * @default 'text'
2850
- */
2851
- "variant"?: SkeletonVariant;
2852
- /**
2853
- * Width as a CSS value string (e.g. '200px', '100%') or number (px).
2854
- */
2855
- "width"?: string | number | undefined;
2856
- }
2857
- interface DsSlider {
2858
- /**
2859
- * Associates with an external <label>. Defaults to an auto-generated ID.
2860
- */
2861
- "inputId"?: string | undefined;
2862
- /**
2863
- * @default false
2864
- */
2865
- "isInactive"?: boolean;
2866
- "label": string;
2867
- /**
2868
- * @default 100
2869
- */
2870
- "max"?: number;
2871
- /**
2872
- * @default 0
2873
- */
2874
- "min"?: number;
2875
- "onDsChange"?: (event: DsSliderCustomEvent<number>) => void;
2876
- /**
2877
- * @default 1
2878
- */
2879
- "step"?: number;
2880
- /**
2881
- * @default 0
2882
- */
2883
- "value"?: number;
2884
- "valueText"?: string | undefined;
2885
- }
2886
- interface DsTabGroup {
2887
- "ariaLabel"?: string | undefined;
2888
- "ariaLabelledby"?: string | undefined;
2889
- "background"?: TabBackground | undefined;
2890
- "onDsChange"?: (event: DsTabGroupCustomEvent<string>) => void;
2891
- /**
2892
- * @default 'horizontal'
2893
- */
2894
- "orientation"?: 'horizontal' | 'vertical';
2895
- /**
2896
- * @default []
2897
- */
2898
- "tabs"?: TabItem[];
2899
- /**
2900
- * @default ''
2901
- */
2902
- "value"?: string;
2903
- }
2904
- interface DsTabGroupNav {
2905
- "ariaLabel"?: string | undefined;
2906
- "ariaLabelledby"?: string | undefined;
2907
- "background"?: TabGroupNavBackground | undefined;
2908
- "onDsChange"?: (event: DsTabGroupNavCustomEvent<string>) => void;
2909
- /**
2910
- * Fired when arrow navigation reaches the first/last tab in manual selection mode.
2911
- */
2912
- "onDsRovingExit"?: (event: DsTabGroupNavCustomEvent<'start' | 'end'>) => void;
2913
- /**
2914
- * @default 'horizontal'
2915
- */
2916
- "orientation"?: 'horizontal' | 'vertical';
2917
- /**
2918
- * When `false`, every tab uses `tabindex="-1"` (another chrome control owns the tab stop).
2919
- * @default true
2920
- */
2921
- "rovingEnabled"?: boolean;
2922
- /**
2923
- * When `false`, arrow keys move focus only — Space/Enter (or click) commits selection. Used by bar nav where each tab is a full page transition.
2924
- * @default true
2925
- */
2926
- "selectionFollowsFocus"?: boolean;
2927
- /**
2928
- * @default []
2929
- */
2930
- "tabs"?: TabItem[];
2931
- /**
2932
- * @default ''
2933
- */
2934
- "value"?: string;
2935
- }
2936
- interface DsTable {
2937
- /**
2938
- * @default []
2939
- */
2940
- "columns"?: TableColumn[];
2941
- /**
2942
- * @default []
2943
- */
2944
- "data"?: unknown[];
2945
- /**
2946
- * @default 'No results found.'
2947
- */
2948
- "emptyMessage"?: string;
2949
- /**
2950
- * @default false
2951
- */
2952
- "loading"?: boolean;
2953
- "onDsPageChange"?: (event: DsTableCustomEvent<{ pageIndex: number }>) => void;
2954
- "onDsRowClick"?: (event: DsTableCustomEvent<{ row: unknown; rowIndex: number }>) => void;
2955
- "onDsSort"?: (event: DsTableCustomEvent<{ columnId: string }>) => void;
2956
- /**
2957
- * Page index (0-based). Enables built-in pagination when set alongside pageSize.
2958
- */
2959
- "pageIndex"?: number | undefined;
2960
- /**
2961
- * @default 20
2962
- */
2963
- "pageSize"?: number;
2964
- /**
2965
- * Comma-separated zero-based row indices that are selected.
2966
- * @default ''
2967
- */
2968
- "selectedRows"?: string;
2969
- "sortState"?: SortState | undefined;
2970
- }
2971
- interface DsTag {
2972
- /**
2973
- * @default 'faint'
2974
- */
2975
- "contrast"?: TagContrast;
2976
- /**
2977
- * @default 'neutral'
2978
- */
2979
- "intent"?: TagIntent;
2980
- "label": string;
2981
- "maxWidth"?: string | number | undefined;
2982
- /**
2983
- * @default false
2984
- */
2985
- "rounded"?: boolean;
2986
- /**
2987
- * @default 'md'
2988
- */
2989
- "size"?: TagSize;
2990
- }
2991
- interface DsText {
2992
- "align"?: TextAlign | undefined;
2993
- /**
2994
- * @default 'p'
2995
- */
2996
- "as"?: TextElement;
2997
- "color"?: TextColor | undefined;
2998
- "decoration"?: TextDecoration | undefined;
2999
- /**
3000
- * Heavier weight + tighter letter-spacing for the variant. `false` (default): one step below emphasis (display semibold, title/body medium, caption medium). `true`: display bold, title/caption semibold, body medium.
3001
- * @default false
3002
- */
3003
- "emphasis"?: boolean;
3004
- /**
3005
- * @default 'normal'
3006
- */
3007
- "fontFeature"?: TextFontFeature;
3008
- /**
3009
- * Maps to `for` attribute on <label> elements.
3010
- */
3011
- "for"?: string | undefined;
3012
- /**
3013
- * @default false
3014
- */
3015
- "italic"?: boolean;
3016
- /**
3017
- * @default 'none'
3018
- */
3019
- "lineTruncation"?: LineTruncation;
3020
- /**
3021
- * Forwarded to the inner element (e.g. aria-labelledby targets).
3022
- */
3023
- "textId"?: string | undefined;
3024
- /**
3025
- * @default 'text-body-medium'
3026
- */
3027
- "variant"?: TextVariant;
3028
- "wrap"?: TextWrap | undefined;
3029
- }
3030
- interface DsToggle {
3031
- /**
3032
- * @default false
3033
- */
3034
- "checked"?: boolean;
3035
- /**
3036
- * @default false
3037
- */
3038
- "isInactive"?: boolean;
3039
- "onDsChange"?: (event: DsToggleCustomEvent<boolean>) => void;
3040
- }
3041
- /**
3042
- * Imperative body portal for the popup.
3043
- * Stencil must not own the portaled node — moving a VDOM child to `document.body`
3044
- * causes recreate → re-portal →
3045
- * @State loops that freeze the page.
3046
- */
3047
- interface DsTooltip {
3048
- /**
3049
- * @default 'center'
3050
- */
3051
- "align"?: TooltipAlign;
3052
- /**
3053
- * Cross-axis offset — number (px) or TokoMo length.
3054
- * @default 0
3055
- */
3056
- "alignOffset"?: number | string;
3057
- /**
3058
- * Hover show delay before the tooltip appears. Default: `--effect-animation-delay-medium-3` (1000ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Applies to the initial hover/focus show only — after a recent dismiss, reopen is instant. Prefer the default; override only for denser chrome or rare/destructive actions.
3059
- * @default TOKEN_DEFAULTS.animationDelayMedium3
3060
- */
3061
- "delay"?: number | string;
3062
- /**
3063
- * Tooltip text. Empty/whitespace skips show — useful when the wrapper must stay mounted for layout/animation stability (e.g. PanelNav expand/collapse).
3064
- */
3065
- "label": string;
3066
- "shortcutKey"?: string | undefined;
3067
- /**
3068
- * @default 'end'
3069
- */
3070
- "shortcutKeyPosition"?: 'start' | 'end';
3071
- /**
3072
- * @default 'top'
3073
- */
3074
- "side"?: TooltipSide;
3075
- /**
3076
- * Gap between anchor and tooltip — number (px) or TokoMo length.
3077
- * @default TOKEN_CSS_LENGTHS.space050
3078
- */
3079
- "sideOffset"?: number | string;
3080
- /**
3081
- * Control density (height, padding, type).
3082
- * @default 'md'
3083
- */
3084
- "size"?: TooltipSize;
3085
- }
3086
- /**
3087
- * Positioned value/label callout for chart hover interactions (bar, line point, …).
3088
- * Donut charts skip this — legend sync already surfaces the hovered slice.
3089
- * Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
3090
- * charts hover-highlight data that lives inside an SVG, so the chart itself computes
3091
- * the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
3092
- * Renders `position: absolute` — place inside a `position: relative` chart wrapper,
3093
- * with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
3094
- * of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
3095
- * keeps it on-screen.
3096
- * Mount (or remount) when a hover session starts so `delay` applies once per hover;
3097
- * keep the instance mounted while the cursor moves so tracking stays instant.
3098
- */
3099
- interface DsTooltipDataViz {
3100
- /**
3101
- * Show delay after mount before the callout appears. Default: `--effect-animation-delay-instant` (0ms). Accepts a number (ms) or a TokoMo time token / `var(--effect-animation-delay-*)`. Charts need immediate feedback while scrubbing; prefer the default. Mount once per hover session so any non-zero delay runs once, then track `x`/`y` instantly.
3102
- * @default TOKEN_DEFAULTS.animationDelayInstant
3103
- */
3104
- "delay"?: number | string;
3105
- /**
3106
- * @default ''
3107
- */
3108
- "label"?: string;
3109
- /**
3110
- * @default ''
3111
- */
3112
- "value"?: string | number;
3113
- /**
3114
- * Anchor point in px, relative to the nearest `position: relative` ancestor — e.g. the cursor.
3115
- * @default 0
3116
- */
3117
- "x"?: number;
3118
- /**
3119
- * @default 0
3120
- */
3121
- "y"?: number;
3122
- }
3123
-
3124
- interface DsAppShellAttributes {
3125
- "navStyle": NavChromeStyle;
3126
- "gradient": boolean;
3127
- "gradientSrc": string;
3128
- "gradientPreset": ShellGradientPreset;
3129
- "shortcutsEnabled": boolean;
3130
- }
3131
- interface DsBadgeAttributes {
3132
- "variant": BadgeVariant;
3133
- "count": number;
3134
- "max": number;
3135
- "surface": BadgeSurface;
3136
- "background": string | undefined;
3137
- "gradientBackground": boolean;
3138
- "isSelected": boolean;
3139
- "label": string | undefined;
3140
- }
3141
- interface DsBannerAttributes {
3142
- "intent": BannerIntent;
3143
- "contrast": BannerContrast;
3144
- "message": string;
3145
- "header": boolean;
3146
- "floating": boolean;
3147
- "showDismiss": boolean;
3148
- "dismissLabel": string;
3149
- }
3150
- interface DsBarNavAttributes {
3151
- "navStyle": NavChromeStyle;
3152
- "tabsJson": string;
3153
- "value": string;
3154
- "heading": string | undefined;
3155
- "basePath": string;
3156
- "currentUrl": string;
3157
- }
3158
- interface DsButtonFilledAttributes {
3159
- "variant": ButtonFilledVariant;
3160
- "size": ButtonFilledSize;
3161
- "width": ButtonFilledWidth;
3162
- "label": string;
3163
- "icon": string;
3164
- "intent": ButtonFilledIntent;
3165
- "contrast": ButtonFilledContrast;
3166
- "isInactive": boolean;
3167
- "type": 'button' | 'submit' | 'reset';
3168
- "ariaLabel": string | undefined;
3169
- }
3170
- interface DsButtonUnfilledAttributes {
3171
- "variant": ButtonUnfilledVariant;
3172
- "size": ButtonUnfilledSize;
3173
- "width": ButtonUnfilledWidth;
3174
- "label": string;
3175
- "icon": string;
3176
- "isActive": boolean;
3177
- "activeFill": boolean;
3178
- "hasBorder": boolean;
3179
- "dot": boolean;
3180
- "isInactive": boolean;
3181
- "type": 'button' | 'submit' | 'reset';
3182
- "backgroundContrast": ButtonUnfilledOnBackgroundContrast;
3183
- "background": ButtonUnfilledBackground | undefined;
3184
- "ariaLabel": string | undefined;
3185
- "controls": string | undefined;
3186
- "expanded": boolean | undefined;
3187
- "haspopup": string | undefined;
3188
- "pressed": boolean | undefined;
3189
- "focusTabIndex": number;
3190
- }
3191
- interface DsCardAttributes {
3192
- "heading": string;
3193
- "cardWidth": CardWidth;
3194
- "appearance": CardAppearance;
3195
- }
3196
- interface DsCardDataVizDonutAttributes {
3197
- "heading": string;
3198
- "cardWidth": CardDataVizDonutWidth;
3199
- }
3200
- interface DsCardSettingAttributes {
3201
- "heading": string;
3202
- "cardWidth": CardSettingWidth;
3203
- "editing": boolean;
3204
- }
3205
- interface DsChartBarAttributes {
3206
- "width": number;
3207
- "height": number;
3208
- }
3209
- interface DsChartDonutAttributes {
3210
- "size": number | undefined;
3211
- "thickness": string;
3212
- "cornerRadius": string;
3213
- "gap": number;
3214
- "centerValue": string | undefined;
3215
- "centerCaption": string | undefined;
3216
- "activeLabel": string | null;
3217
- }
3218
- interface DsChartLegendAttributes {
3219
- "direction": ChartLegendDirection;
3220
- "showPercentage": boolean;
3221
- "activeLabel": string | null;
3222
- }
3223
- interface DsChartLineAttributes {
3224
- "width": number;
3225
- "height": number;
3226
- "showPoints": boolean;
3227
- }
3228
- interface DsCheckboxAttributes {
3229
- "label": string;
3230
- "checked": boolean;
3231
- "indeterminate": boolean;
3232
- "isInactive": boolean;
3233
- }
3234
- interface DsChipAttributes {
3235
- "label": string;
3236
- "state": ChipState;
3237
- "size": ChipSize;
3238
- "rounded": boolean;
3239
- "removable": boolean;
3240
- "maxWidth": string;
3241
- "isInactive": boolean;
3242
- "background": ChipBackground | undefined;
3243
- }
3244
- interface DsDividerAttributes {
3245
- "orientation": DividerOrientation;
3246
- "surface": DividerSurface;
3247
- "inset": DividerInset;
3248
- "length": DividerLength;
3249
- "semantic": boolean;
3250
- }
3251
- interface DsEmptyStateAttributes {
3252
- "type": EmptyStateType;
3253
- "message": string | undefined;
3254
- }
3255
- interface DsFieldAttributes {
3256
- "label": string;
3257
- "fieldId": string | undefined;
3258
- }
3259
- interface DsIconAttributes {
3260
- "name": string;
3261
- "size": IconSize;
3262
- "color": IconColor | undefined;
3263
- "label": string | undefined;
3264
- "flag": boolean;
3265
- }
3266
- interface DsInputAttributes {
3267
- "value": string;
3268
- "placeholder": string | undefined;
3269
- "type": InputType;
3270
- "isInactive": boolean;
3271
- "autoFocus": boolean;
3272
- "error": boolean;
3273
- "errorMessage": string | undefined;
3274
- "inputId": string | undefined;
3275
- "ariaLabel": string | undefined;
3276
- "ariaLabelledby": string | undefined;
3277
- "ariaDescribedby": string | undefined;
3278
- }
3279
- interface DsLoaderAttributes {
3280
- "size": LoaderSize;
3281
- "color": LoaderColor | undefined;
3282
- "label": string | undefined;
3283
- }
3284
- interface DsMenuAttributes {
3285
- "open": boolean;
3286
- "side": MenuSide;
3287
- "align": MenuAlign;
3288
- "sideOffset": string;
3289
- "alignOffset": string;
3290
- "menuWidth": string | undefined;
3291
- "minWidth": string | undefined;
3292
- "anchorId": string | undefined;
3293
- "initialFocusVisible": boolean;
3294
- }
3295
- interface DsModalAttributes {
3296
- "open": boolean;
3297
- "heading": string;
3298
- "subtitle": string | undefined;
3299
- "modalWidth": ModalWidth | string;
3300
- }
3301
- interface DsPaginationAttributes {
3302
- "page": number;
3303
- "totalPages": number;
3304
- "siblingCount": number;
3305
- "isInactive": boolean;
3306
- }
3307
- interface DsPanelNavAttributes {
3308
- "navStyle": NavChromeStyle;
3309
- "disableViewTransition": boolean;
3310
- "groups": string | PanelNavGroup[];
3311
- "routerMode": PanelNavRouterMode;
3312
- "activeId": string;
3313
- "collapsed": boolean;
3314
- "breakpoint": number;
3315
- "storageKey": string;
3316
- "currentUrl": string;
3317
- "userName": string;
3318
- "userInitial": string;
3319
- }
3320
- interface DsPanelToolsAttributes {
3321
- "open": boolean;
3322
- "activeTool": PanelToolsToolId | '';
3323
- "itemsJson": string;
3324
- }
3325
- interface DsRadioGroupAttributes {
3326
- "value": string;
3327
- "direction": 'vertical' | 'horizontal';
3328
- "isInactive": boolean;
3329
- "ariaLabel": string | undefined;
3330
- "ariaLabelledby": string | undefined;
3331
- }
3332
- interface DsSelectAttributes {
3333
- "value": string;
3334
- "placeholder": string;
3335
- "size": SelectSize;
3336
- "width": SelectWidth;
3337
- "isInactive": boolean;
3338
- "activeFill": boolean;
3339
- "hasBorder": boolean;
3340
- "ariaLabel": string | undefined;
3341
- "ariaLabelledby": string | undefined;
3342
- }
3343
- interface DsShellGradientPickerAttributes {
3344
- "value": ShellGradientPreset;
3345
- }
3346
- interface DsShellGradientSwatchAttributes {
3347
- "preset": ShellGradientPreset;
3348
- "selected": boolean;
3349
- "isInactive": boolean;
3350
- "ariaLabel": string | undefined;
3351
- }
3352
- interface DsSkeletonAttributes {
3353
- "variant": SkeletonVariant;
3354
- "width": string;
3355
- "height": string;
3356
- "lines": number;
3357
- "shimmer": boolean;
3358
- }
3359
- interface DsSliderAttributes {
3360
- "value": number;
3361
- "min": number;
3362
- "max": number;
3363
- "step": number;
3364
- "label": string;
3365
- "isInactive": boolean;
3366
- "valueText": string | undefined;
3367
- "inputId": string | undefined;
3368
- }
3369
- interface DsTabGroupAttributes {
3370
- "value": string;
3371
- "background": TabBackground | undefined;
3372
- "ariaLabel": string | undefined;
3373
- "ariaLabelledby": string | undefined;
3374
- "orientation": 'horizontal' | 'vertical';
3375
- }
3376
- interface DsTabGroupNavAttributes {
3377
- "value": string;
3378
- "background": TabGroupNavBackground | undefined;
3379
- "ariaLabel": string | undefined;
3380
- "ariaLabelledby": string | undefined;
3381
- "orientation": 'horizontal' | 'vertical';
3382
- "selectionFollowsFocus": boolean;
3383
- "rovingEnabled": boolean;
3384
- }
3385
- interface DsTableAttributes {
3386
- "loading": boolean;
3387
- "emptyMessage": string;
3388
- "selectedRows": string;
3389
- "pageIndex": number | undefined;
3390
- "pageSize": number;
3391
- }
3392
- interface DsTagAttributes {
3393
- "label": string;
3394
- "intent": TagIntent;
3395
- "contrast": TagContrast;
3396
- "size": TagSize;
3397
- "rounded": boolean;
3398
- "maxWidth": string;
3399
- }
3400
- interface DsTextAttributes {
3401
- "variant": TextVariant;
3402
- "emphasis": boolean;
3403
- "color": TextColor | undefined;
3404
- "decoration": TextDecoration | undefined;
3405
- "italic": boolean;
3406
- "align": TextAlign | undefined;
3407
- "lineTruncation": string;
3408
- "wrap": TextWrap | undefined;
3409
- "fontFeature": TextFontFeature;
3410
- "as": TextElement;
3411
- "for": string | undefined;
3412
- "textId": string | undefined;
3413
- }
3414
- interface DsToggleAttributes {
3415
- "checked": boolean;
3416
- "isInactive": boolean;
3417
- }
3418
- interface DsTooltipAttributes {
3419
- "label": string;
3420
- "size": TooltipSize;
3421
- "side": TooltipSide;
3422
- "align": TooltipAlign;
3423
- "sideOffset": string;
3424
- "alignOffset": string;
3425
- "delay": string;
3426
- "shortcutKey": string | undefined;
3427
- "shortcutKeyPosition": 'start' | 'end';
3428
- }
3429
- interface DsTooltipDataVizAttributes {
3430
- "value": string;
3431
- "label": string;
3432
- "x": number;
3433
- "y": number;
3434
- "delay": string;
3435
- }
3436
-
3437
- interface IntrinsicElements {
3438
- "ds-app-shell": Omit<DsAppShell, keyof DsAppShellAttributes> & { [K in keyof DsAppShell & keyof DsAppShellAttributes]?: DsAppShell[K] } & { [K in keyof DsAppShell & keyof DsAppShellAttributes as `attr:${K}`]?: DsAppShellAttributes[K] } & { [K in keyof DsAppShell & keyof DsAppShellAttributes as `prop:${K}`]?: DsAppShell[K] };
3439
- "ds-badge": Omit<DsBadge, keyof DsBadgeAttributes> & { [K in keyof DsBadge & keyof DsBadgeAttributes]?: DsBadge[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `attr:${K}`]?: DsBadgeAttributes[K] } & { [K in keyof DsBadge & keyof DsBadgeAttributes as `prop:${K}`]?: DsBadge[K] };
3440
- "ds-banner": Omit<DsBanner, keyof DsBannerAttributes> & { [K in keyof DsBanner & keyof DsBannerAttributes]?: DsBanner[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `attr:${K}`]?: DsBannerAttributes[K] } & { [K in keyof DsBanner & keyof DsBannerAttributes as `prop:${K}`]?: DsBanner[K] };
3441
- "ds-bar-nav": Omit<DsBarNav, keyof DsBarNavAttributes> & { [K in keyof DsBarNav & keyof DsBarNavAttributes]?: DsBarNav[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `attr:${K}`]?: DsBarNavAttributes[K] } & { [K in keyof DsBarNav & keyof DsBarNavAttributes as `prop:${K}`]?: DsBarNav[K] };
3442
- "ds-button-filled": Omit<DsButtonFilled, keyof DsButtonFilledAttributes> & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes]?: DsButtonFilled[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `attr:${K}`]?: DsButtonFilledAttributes[K] } & { [K in keyof DsButtonFilled & keyof DsButtonFilledAttributes as `prop:${K}`]?: DsButtonFilled[K] };
3443
- "ds-button-unfilled": Omit<DsButtonUnfilled, keyof DsButtonUnfilledAttributes> & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes]?: DsButtonUnfilled[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `attr:${K}`]?: DsButtonUnfilledAttributes[K] } & { [K in keyof DsButtonUnfilled & keyof DsButtonUnfilledAttributes as `prop:${K}`]?: DsButtonUnfilled[K] };
3444
- "ds-card": Omit<DsCard, keyof DsCardAttributes> & { [K in keyof DsCard & keyof DsCardAttributes]?: DsCard[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `attr:${K}`]?: DsCardAttributes[K] } & { [K in keyof DsCard & keyof DsCardAttributes as `prop:${K}`]?: DsCard[K] } & OneOf<"heading", DsCard["heading"], DsCardAttributes["heading"]>;
3445
- "ds-card-data-viz-donut": Omit<DsCardDataVizDonut, keyof DsCardDataVizDonutAttributes> & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes]?: DsCardDataVizDonut[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `attr:${K}`]?: DsCardDataVizDonutAttributes[K] } & { [K in keyof DsCardDataVizDonut & keyof DsCardDataVizDonutAttributes as `prop:${K}`]?: DsCardDataVizDonut[K] } & OneOf<"heading", DsCardDataVizDonut["heading"], DsCardDataVizDonutAttributes["heading"]>;
3446
- "ds-card-setting": Omit<DsCardSetting, keyof DsCardSettingAttributes> & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes]?: DsCardSetting[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `attr:${K}`]?: DsCardSettingAttributes[K] } & { [K in keyof DsCardSetting & keyof DsCardSettingAttributes as `prop:${K}`]?: DsCardSetting[K] } & OneOf<"heading", DsCardSetting["heading"], DsCardSettingAttributes["heading"]>;
3447
- "ds-chart-bar": Omit<DsChartBar, keyof DsChartBarAttributes> & { [K in keyof DsChartBar & keyof DsChartBarAttributes]?: DsChartBar[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `attr:${K}`]?: DsChartBarAttributes[K] } & { [K in keyof DsChartBar & keyof DsChartBarAttributes as `prop:${K}`]?: DsChartBar[K] };
3448
- "ds-chart-donut": Omit<DsChartDonut, keyof DsChartDonutAttributes> & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes]?: DsChartDonut[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `attr:${K}`]?: DsChartDonutAttributes[K] } & { [K in keyof DsChartDonut & keyof DsChartDonutAttributes as `prop:${K}`]?: DsChartDonut[K] };
3449
- "ds-chart-legend": Omit<DsChartLegend, keyof DsChartLegendAttributes> & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes]?: DsChartLegend[K] } & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes as `attr:${K}`]?: DsChartLegendAttributes[K] } & { [K in keyof DsChartLegend & keyof DsChartLegendAttributes as `prop:${K}`]?: DsChartLegend[K] };
3450
- "ds-chart-line": Omit<DsChartLine, keyof DsChartLineAttributes> & { [K in keyof DsChartLine & keyof DsChartLineAttributes]?: DsChartLine[K] } & { [K in keyof DsChartLine & keyof DsChartLineAttributes as `attr:${K}`]?: DsChartLineAttributes[K] } & { [K in keyof DsChartLine & keyof DsChartLineAttributes as `prop:${K}`]?: DsChartLine[K] };
3451
- "ds-checkbox": Omit<DsCheckbox, keyof DsCheckboxAttributes> & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes]?: DsCheckbox[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `attr:${K}`]?: DsCheckboxAttributes[K] } & { [K in keyof DsCheckbox & keyof DsCheckboxAttributes as `prop:${K}`]?: DsCheckbox[K] } & OneOf<"label", DsCheckbox["label"], DsCheckboxAttributes["label"]>;
3452
- "ds-chip": Omit<DsChip, keyof DsChipAttributes> & { [K in keyof DsChip & keyof DsChipAttributes]?: DsChip[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `attr:${K}`]?: DsChipAttributes[K] } & { [K in keyof DsChip & keyof DsChipAttributes as `prop:${K}`]?: DsChip[K] } & OneOf<"label", DsChip["label"], DsChipAttributes["label"]>;
3453
- "ds-divider": Omit<DsDivider, keyof DsDividerAttributes> & { [K in keyof DsDivider & keyof DsDividerAttributes]?: DsDivider[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `attr:${K}`]?: DsDividerAttributes[K] } & { [K in keyof DsDivider & keyof DsDividerAttributes as `prop:${K}`]?: DsDivider[K] };
3454
- "ds-empty-state": Omit<DsEmptyState, keyof DsEmptyStateAttributes> & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes]?: DsEmptyState[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `attr:${K}`]?: DsEmptyStateAttributes[K] } & { [K in keyof DsEmptyState & keyof DsEmptyStateAttributes as `prop:${K}`]?: DsEmptyState[K] };
3455
- "ds-field": Omit<DsField, keyof DsFieldAttributes> & { [K in keyof DsField & keyof DsFieldAttributes]?: DsField[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `attr:${K}`]?: DsFieldAttributes[K] } & { [K in keyof DsField & keyof DsFieldAttributes as `prop:${K}`]?: DsField[K] } & OneOf<"label", DsField["label"], DsFieldAttributes["label"]>;
3456
- "ds-icon": Omit<DsIcon, keyof DsIconAttributes> & { [K in keyof DsIcon & keyof DsIconAttributes]?: DsIcon[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `attr:${K}`]?: DsIconAttributes[K] } & { [K in keyof DsIcon & keyof DsIconAttributes as `prop:${K}`]?: DsIcon[K] };
3457
- "ds-input": Omit<DsInput, keyof DsInputAttributes> & { [K in keyof DsInput & keyof DsInputAttributes]?: DsInput[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `attr:${K}`]?: DsInputAttributes[K] } & { [K in keyof DsInput & keyof DsInputAttributes as `prop:${K}`]?: DsInput[K] };
3458
- "ds-loader": Omit<DsLoader, keyof DsLoaderAttributes> & { [K in keyof DsLoader & keyof DsLoaderAttributes]?: DsLoader[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `attr:${K}`]?: DsLoaderAttributes[K] } & { [K in keyof DsLoader & keyof DsLoaderAttributes as `prop:${K}`]?: DsLoader[K] };
3459
- "ds-menu": Omit<DsMenu, keyof DsMenuAttributes> & { [K in keyof DsMenu & keyof DsMenuAttributes]?: DsMenu[K] } & { [K in keyof DsMenu & keyof DsMenuAttributes as `attr:${K}`]?: DsMenuAttributes[K] } & { [K in keyof DsMenu & keyof DsMenuAttributes as `prop:${K}`]?: DsMenu[K] };
3460
- "ds-modal": Omit<DsModal, keyof DsModalAttributes> & { [K in keyof DsModal & keyof DsModalAttributes]?: DsModal[K] } & { [K in keyof DsModal & keyof DsModalAttributes as `attr:${K}`]?: DsModalAttributes[K] } & { [K in keyof DsModal & keyof DsModalAttributes as `prop:${K}`]?: DsModal[K] } & OneOf<"heading", DsModal["heading"], DsModalAttributes["heading"]>;
3461
- "ds-pagination": Omit<DsPagination, keyof DsPaginationAttributes> & { [K in keyof DsPagination & keyof DsPaginationAttributes]?: DsPagination[K] } & { [K in keyof DsPagination & keyof DsPaginationAttributes as `attr:${K}`]?: DsPaginationAttributes[K] } & { [K in keyof DsPagination & keyof DsPaginationAttributes as `prop:${K}`]?: DsPagination[K] };
3462
- "ds-panel-nav": Omit<DsPanelNav, keyof DsPanelNavAttributes> & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes]?: DsPanelNav[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `attr:${K}`]?: DsPanelNavAttributes[K] } & { [K in keyof DsPanelNav & keyof DsPanelNavAttributes as `prop:${K}`]?: DsPanelNav[K] };
3463
- "ds-panel-tools": Omit<DsPanelTools, keyof DsPanelToolsAttributes> & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes]?: DsPanelTools[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `attr:${K}`]?: DsPanelToolsAttributes[K] } & { [K in keyof DsPanelTools & keyof DsPanelToolsAttributes as `prop:${K}`]?: DsPanelTools[K] };
3464
- "ds-radio-group": Omit<DsRadioGroup, keyof DsRadioGroupAttributes> & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes]?: DsRadioGroup[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `attr:${K}`]?: DsRadioGroupAttributes[K] } & { [K in keyof DsRadioGroup & keyof DsRadioGroupAttributes as `prop:${K}`]?: DsRadioGroup[K] };
3465
- "ds-select": Omit<DsSelect, keyof DsSelectAttributes> & { [K in keyof DsSelect & keyof DsSelectAttributes]?: DsSelect[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `attr:${K}`]?: DsSelectAttributes[K] } & { [K in keyof DsSelect & keyof DsSelectAttributes as `prop:${K}`]?: DsSelect[K] };
3466
- "ds-shell-gradient-picker": Omit<DsShellGradientPicker, keyof DsShellGradientPickerAttributes> & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes]?: DsShellGradientPicker[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `attr:${K}`]?: DsShellGradientPickerAttributes[K] } & { [K in keyof DsShellGradientPicker & keyof DsShellGradientPickerAttributes as `prop:${K}`]?: DsShellGradientPicker[K] };
3467
- "ds-shell-gradient-swatch": Omit<DsShellGradientSwatch, keyof DsShellGradientSwatchAttributes> & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes]?: DsShellGradientSwatch[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `attr:${K}`]?: DsShellGradientSwatchAttributes[K] } & { [K in keyof DsShellGradientSwatch & keyof DsShellGradientSwatchAttributes as `prop:${K}`]?: DsShellGradientSwatch[K] };
3468
- "ds-skeleton": Omit<DsSkeleton, keyof DsSkeletonAttributes> & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes]?: DsSkeleton[K] } & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes as `attr:${K}`]?: DsSkeletonAttributes[K] } & { [K in keyof DsSkeleton & keyof DsSkeletonAttributes as `prop:${K}`]?: DsSkeleton[K] };
3469
- "ds-slider": Omit<DsSlider, keyof DsSliderAttributes> & { [K in keyof DsSlider & keyof DsSliderAttributes]?: DsSlider[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `attr:${K}`]?: DsSliderAttributes[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `prop:${K}`]?: DsSlider[K] } & OneOf<"label", DsSlider["label"], DsSliderAttributes["label"]>;
3470
- "ds-tab-group": Omit<DsTabGroup, keyof DsTabGroupAttributes> & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes]?: DsTabGroup[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `attr:${K}`]?: DsTabGroupAttributes[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `prop:${K}`]?: DsTabGroup[K] };
3471
- "ds-tab-group-nav": Omit<DsTabGroupNav, keyof DsTabGroupNavAttributes> & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes]?: DsTabGroupNav[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `attr:${K}`]?: DsTabGroupNavAttributes[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `prop:${K}`]?: DsTabGroupNav[K] };
3472
- "ds-table": Omit<DsTable, keyof DsTableAttributes> & { [K in keyof DsTable & keyof DsTableAttributes]?: DsTable[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `attr:${K}`]?: DsTableAttributes[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `prop:${K}`]?: DsTable[K] };
3473
- "ds-tag": Omit<DsTag, keyof DsTagAttributes> & { [K in keyof DsTag & keyof DsTagAttributes]?: DsTag[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `attr:${K}`]?: DsTagAttributes[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `prop:${K}`]?: DsTag[K] } & OneOf<"label", DsTag["label"], DsTagAttributes["label"]>;
3474
- "ds-text": Omit<DsText, keyof DsTextAttributes> & { [K in keyof DsText & keyof DsTextAttributes]?: DsText[K] } & { [K in keyof DsText & keyof DsTextAttributes as `attr:${K}`]?: DsTextAttributes[K] } & { [K in keyof DsText & keyof DsTextAttributes as `prop:${K}`]?: DsText[K] };
3475
- "ds-toggle": Omit<DsToggle, keyof DsToggleAttributes> & { [K in keyof DsToggle & keyof DsToggleAttributes]?: DsToggle[K] } & { [K in keyof DsToggle & keyof DsToggleAttributes as `attr:${K}`]?: DsToggleAttributes[K] } & { [K in keyof DsToggle & keyof DsToggleAttributes as `prop:${K}`]?: DsToggle[K] };
3476
- "ds-tooltip": Omit<DsTooltip, keyof DsTooltipAttributes> & { [K in keyof DsTooltip & keyof DsTooltipAttributes]?: DsTooltip[K] } & { [K in keyof DsTooltip & keyof DsTooltipAttributes as `attr:${K}`]?: DsTooltipAttributes[K] } & { [K in keyof DsTooltip & keyof DsTooltipAttributes as `prop:${K}`]?: DsTooltip[K] } & OneOf<"label", DsTooltip["label"], DsTooltipAttributes["label"]>;
3477
- "ds-tooltip-data-viz": Omit<DsTooltipDataViz, keyof DsTooltipDataVizAttributes> & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes]?: DsTooltipDataViz[K] } & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes as `attr:${K}`]?: DsTooltipDataVizAttributes[K] } & { [K in keyof DsTooltipDataViz & keyof DsTooltipDataVizAttributes as `prop:${K}`]?: DsTooltipDataViz[K] };
3478
- }
3479
- }
3480
- export { LocalJSX as JSX };
3481
- declare module "@stencil/core" {
3482
- export namespace JSX {
3483
- interface IntrinsicElements {
3484
- "ds-app-shell": LocalJSX.IntrinsicElements["ds-app-shell"] & JSXBase.HTMLAttributes<HTMLDsAppShellElement>;
3485
- "ds-badge": LocalJSX.IntrinsicElements["ds-badge"] & JSXBase.HTMLAttributes<HTMLDsBadgeElement>;
3486
- "ds-banner": LocalJSX.IntrinsicElements["ds-banner"] & JSXBase.HTMLAttributes<HTMLDsBannerElement>;
3487
- "ds-bar-nav": LocalJSX.IntrinsicElements["ds-bar-nav"] & JSXBase.HTMLAttributes<HTMLDsBarNavElement>;
3488
- "ds-button-filled": LocalJSX.IntrinsicElements["ds-button-filled"] & JSXBase.HTMLAttributes<HTMLDsButtonFilledElement>;
3489
- "ds-button-unfilled": LocalJSX.IntrinsicElements["ds-button-unfilled"] & JSXBase.HTMLAttributes<HTMLDsButtonUnfilledElement>;
3490
- /**
3491
- * Shared card chrome — width + matching min-height tokens, header (title + actions),
3492
- * and a flex body that fills leftover space. Compose this from settings / data-viz cards.
3493
- */
3494
- "ds-card": LocalJSX.IntrinsicElements["ds-card"] & JSXBase.HTMLAttributes<HTMLDsCardElement>;
3495
- /**
3496
- * Donut data-viz card — shared `ds-card` chrome with a fill chart region and
3497
- * content-sized legend. Hover sync between chart and legend stays here.
3498
- */
3499
- "ds-card-data-viz-donut": LocalJSX.IntrinsicElements["ds-card-data-viz-donut"] & JSXBase.HTMLAttributes<HTMLDsCardDataVizDonutElement>;
3500
- "ds-card-setting": LocalJSX.IntrinsicElements["ds-card-setting"] & JSXBase.HTMLAttributes<HTMLDsCardSettingElement>;
3501
- "ds-chart-bar": LocalJSX.IntrinsicElements["ds-chart-bar"] & JSXBase.HTMLAttributes<HTMLDsChartBarElement>;
3502
- "ds-chart-donut": LocalJSX.IntrinsicElements["ds-chart-donut"] & JSXBase.HTMLAttributes<HTMLDsChartDonutElement>;
3503
- /**
3504
- * Base legend for `ds-chart-*` components. Webapp's Overview widgets each style
3505
- * legends differently (list w/ values, compact chips, bare swatches, external
3506
- * stat callouts) — this covers the common "swatch + label + optional value" case.
3507
- * Consumers who need a different treatment skip this component entirely and
3508
- * render their own markup against the same `ChartDatum[]` data.
3509
- */
3510
- "ds-chart-legend": LocalJSX.IntrinsicElements["ds-chart-legend"] & JSXBase.HTMLAttributes<HTMLDsChartLegendElement>;
3511
- "ds-chart-line": LocalJSX.IntrinsicElements["ds-chart-line"] & JSXBase.HTMLAttributes<HTMLDsChartLineElement>;
3512
- "ds-checkbox": LocalJSX.IntrinsicElements["ds-checkbox"] & JSXBase.HTMLAttributes<HTMLDsCheckboxElement>;
3513
- /**
3514
- * Removable chip — same density recipe as Tag, but colored by semantic `state`
3515
- * (not intent × contrast). Not a toggle/select control; the only intentional
3516
- * action is remove.
3517
- */
3518
- "ds-chip": LocalJSX.IntrinsicElements["ds-chip"] & JSXBase.HTMLAttributes<HTMLDsChipElement>;
3519
- "ds-divider": LocalJSX.IntrinsicElements["ds-divider"] & JSXBase.HTMLAttributes<HTMLDsDividerElement>;
3520
- "ds-empty-state": LocalJSX.IntrinsicElements["ds-empty-state"] & JSXBase.HTMLAttributes<HTMLDsEmptyStateElement>;
3521
- "ds-field": LocalJSX.IntrinsicElements["ds-field"] & JSXBase.HTMLAttributes<HTMLDsFieldElement>;
3522
- "ds-icon": LocalJSX.IntrinsicElements["ds-icon"] & JSXBase.HTMLAttributes<HTMLDsIconElement>;
3523
- "ds-input": LocalJSX.IntrinsicElements["ds-input"] & JSXBase.HTMLAttributes<HTMLDsInputElement>;
3524
- "ds-loader": LocalJSX.IntrinsicElements["ds-loader"] & JSXBase.HTMLAttributes<HTMLDsLoaderElement>;
3525
- "ds-menu": LocalJSX.IntrinsicElements["ds-menu"] & JSXBase.HTMLAttributes<HTMLDsMenuElement>;
3526
- "ds-modal": LocalJSX.IntrinsicElements["ds-modal"] & JSXBase.HTMLAttributes<HTMLDsModalElement>;
3527
- "ds-pagination": LocalJSX.IntrinsicElements["ds-pagination"] & JSXBase.HTMLAttributes<HTMLDsPaginationElement>;
3528
- "ds-panel-nav": LocalJSX.IntrinsicElements["ds-panel-nav"] & JSXBase.HTMLAttributes<HTMLDsPanelNavElement>;
3529
- "ds-panel-tools": LocalJSX.IntrinsicElements["ds-panel-tools"] & JSXBase.HTMLAttributes<HTMLDsPanelToolsElement>;
3530
- "ds-radio-group": LocalJSX.IntrinsicElements["ds-radio-group"] & JSXBase.HTMLAttributes<HTMLDsRadioGroupElement>;
3531
- /**
3532
- * Dropdown select — unfilled-button chrome (label + trailing ChevronDown) in
3533
- * control-density sizes, with `ds-menu` for the option list.
3534
- */
3535
- "ds-select": LocalJSX.IntrinsicElements["ds-select"] & JSXBase.HTMLAttributes<HTMLDsSelectElement>;
3536
- "ds-shell-gradient-picker": LocalJSX.IntrinsicElements["ds-shell-gradient-picker"] & JSXBase.HTMLAttributes<HTMLDsShellGradientPickerElement>;
3537
- "ds-shell-gradient-swatch": LocalJSX.IntrinsicElements["ds-shell-gradient-swatch"] & JSXBase.HTMLAttributes<HTMLDsShellGradientSwatchElement>;
3538
- "ds-skeleton": LocalJSX.IntrinsicElements["ds-skeleton"] & JSXBase.HTMLAttributes<HTMLDsSkeletonElement>;
3539
- "ds-slider": LocalJSX.IntrinsicElements["ds-slider"] & JSXBase.HTMLAttributes<HTMLDsSliderElement>;
3540
- "ds-tab-group": LocalJSX.IntrinsicElements["ds-tab-group"] & JSXBase.HTMLAttributes<HTMLDsTabGroupElement>;
3541
- "ds-tab-group-nav": LocalJSX.IntrinsicElements["ds-tab-group-nav"] & JSXBase.HTMLAttributes<HTMLDsTabGroupNavElement>;
3542
- "ds-table": LocalJSX.IntrinsicElements["ds-table"] & JSXBase.HTMLAttributes<HTMLDsTableElement>;
3543
- "ds-tag": LocalJSX.IntrinsicElements["ds-tag"] & JSXBase.HTMLAttributes<HTMLDsTagElement>;
3544
- "ds-text": LocalJSX.IntrinsicElements["ds-text"] & JSXBase.HTMLAttributes<HTMLDsTextElement>;
3545
- "ds-toggle": LocalJSX.IntrinsicElements["ds-toggle"] & JSXBase.HTMLAttributes<HTMLDsToggleElement>;
3546
- /**
3547
- * Imperative body portal for the popup.
3548
- * Stencil must not own the portaled node — moving a VDOM child to `document.body`
3549
- * causes recreate → re-portal →
3550
- * @State loops that freeze the page.
3551
- */
3552
- "ds-tooltip": LocalJSX.IntrinsicElements["ds-tooltip"] & JSXBase.HTMLAttributes<HTMLDsTooltipElement>;
3553
- /**
3554
- * Positioned value/label callout for chart hover interactions (bar, line point, …).
3555
- * Donut charts skip this — legend sync already surfaces the hovered slice.
3556
- * Unlike `ds-tooltip`, this doesn't bind to a slotted anchor element —
3557
- * charts hover-highlight data that lives inside an SVG, so the chart itself computes
3558
- * the anchor point (e.g. the cursor position while hovering) and passes it in as `x`/`y`.
3559
- * Renders `position: absolute` — place inside a `position: relative` chart wrapper,
3560
- * with `x`/`y` as pixel coordinates within that wrapper. Defaults to sitting below-right
3561
- * of the anchor (matching cursor-following tooltips), flipping to whichever side/edge
3562
- * keeps it on-screen.
3563
- * Mount (or remount) when a hover session starts so `delay` applies once per hover;
3564
- * keep the instance mounted while the cursor moves so tracking stays instant.
3565
- */
3566
- "ds-tooltip-data-viz": LocalJSX.IntrinsicElements["ds-tooltip-data-viz"] & JSXBase.HTMLAttributes<HTMLDsTooltipDataVizElement>;
3567
- }
3568
- }
3569
- }