@ids-group-ltd/ids-design-system 0.14.3 → 0.14.5

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 (335) hide show
  1. package/CHANGELOG.md +279 -0
  2. package/components.md +16 -16
  3. package/docs/agent/INDEX.md +1 -1
  4. package/docs/agent/charts/column-series-component.md +1 -1
  5. package/docs/agent/charts/ds-bar-chart.md +1 -1
  6. package/docs/agent/charts/ds-chart.md +1 -1
  7. package/docs/agent/charts/ds-column-chart.md +1 -1
  8. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  9. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  10. package/docs/agent/charts/ds-line-chart.md +1 -1
  11. package/docs/agent/charts/ds-pie-chart.md +3 -3
  12. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  13. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  14. package/docs/agent/charts/line-series-component.md +1 -1
  15. package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
  16. package/docs/agent/overlays/ds-tooltip.md +2 -2
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -131
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +16 -13
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +109 -105
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +190 -439
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -124
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -164
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +29 -84
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +55 -169
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +8 -12
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +9 -24
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +32 -121
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +14 -24
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +64 -96
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +163 -0
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -0
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  185. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -82
  186. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  187. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -571
  188. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  189. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +51 -85
  190. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  191. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
  192. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  193. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
  194. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  195. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
  196. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  197. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  198. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  199. package/migrations/0.14.4.json +231 -0
  200. package/migrations/0.14.5.json +311 -0
  201. package/package.json +9 -1
  202. package/schematics/check-overrides/surface.json +30 -2
  203. package/styles/_breakpoints.scss +6 -23
  204. package/styles/_chart-data-table.scss +3 -11
  205. package/styles/_chart-frame.scss +14 -65
  206. package/styles/_chart-interactive.scss +8 -36
  207. package/styles/_chart-motion.scss +11 -39
  208. package/styles/_check-box.scss +7 -26
  209. package/styles/_check-mark.scss +7 -23
  210. package/styles/_chip-row.scss +3 -14
  211. package/styles/_clear-button.scss +2 -7
  212. package/styles/_control-label.scss +2 -13
  213. package/styles/_control-line.scss +2 -6
  214. package/styles/_dropdown-overlay.scss +8 -33
  215. package/styles/_ds-color.scss +9 -28
  216. package/styles/_field-box.scss +4 -16
  217. package/styles/_field-group-segment.scss +6 -6
  218. package/styles/_field-label.scss +3 -14
  219. package/styles/_field-state.scss +5 -10
  220. package/styles/_focus.scss +20 -60
  221. package/styles/_icon-base.scss +0 -2
  222. package/styles/_layout-utils.scss +0 -3
  223. package/styles/_link.scss +4 -18
  224. package/styles/_overlay-motion.scss +15 -38
  225. package/styles/_page-grid.scss +4 -29
  226. package/styles/_press.scss +5 -18
  227. package/styles/_reset.scss +1 -14
  228. package/styles/_scrollbar.scss +0 -2
  229. package/styles/_skeleton-shimmer.scss +3 -14
  230. package/styles/_status.scss +5 -13
  231. package/styles/_surface-motion.scss +7 -34
  232. package/styles/_table-controls.scss +3 -6
  233. package/styles/_text-clip.scss +2 -6
  234. package/styles/_theme-activation.scss +7 -20
  235. package/styles/_toast-overlay.scss +8 -3
  236. package/styles/_tokens-charts.scss +31 -90
  237. package/styles/_tokens.scss +115 -154
  238. package/styles/_typography.scss +6 -13
  239. package/styles/_visually-hidden.scss +2 -3
  240. package/styles/ds.scss +2 -10
  241. package/themes/_base-palette.scss +12 -35
  242. package/themes/_semantic.scss +29 -98
  243. package/themes/dark/_palette.scss +15 -29
  244. package/themes/dark/_theme.scss +14 -32
  245. package/themes/light/_palette.scss +2 -17
  246. package/themes/light/_theme.scss +1 -7
  247. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
  248. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
  249. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
  250. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
  251. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
  252. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
  253. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
  254. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
  255. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
  256. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
  257. package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
  258. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
  259. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
  260. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
  261. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
  262. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
  263. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
  264. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
  265. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
  266. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +31 -49
  267. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +165 -382
  268. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
  269. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
  270. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -125
  271. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
  272. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
  273. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
  274. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
  275. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
  276. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
  277. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
  278. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
  279. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
  280. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
  281. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +19 -83
  282. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
  283. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
  284. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
  285. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +54 -163
  286. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
  287. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
  288. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
  289. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
  290. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
  291. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
  292. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
  293. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
  294. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
  295. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
  296. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
  297. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
  298. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
  299. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
  300. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +25 -94
  301. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
  302. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
  303. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
  304. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
  305. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
  306. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
  307. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
  308. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +58 -0
  309. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
  310. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
  311. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
  312. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
  313. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
  314. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
  315. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
  316. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
  317. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
  318. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
  319. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
  320. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
  321. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
  322. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
  323. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
  324. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
  325. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
  326. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
  327. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
  328. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
  329. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -67
  330. package/types/ids-group-ltd-ids-design-system-components.d.ts +266 -410
  331. package/types/ids-group-ltd-ids-design-system-core.d.ts +134 -259
  332. package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
  333. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
  334. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
  335. package/types/ids-group-ltd-ids-design-system.d.ts +1 -0
@@ -1,31 +1,16 @@
1
1
  @use 'focus' as focus;
2
2
 
3
- // The box a chart draws around itself. All five draw the same one, so the rules live here.
4
- //
5
- // ON by default, which is unusual for this library: most components resist owning chrome. A chart
6
- // is the exception because it is read as an OBJECT — a plot with axes, a legend and an annex table
7
- // — and without an edge those parts run into whatever sits beside them on the page.
8
- //
9
- // A chart already inside a card turns it off through the `frame` input, or once for a whole app
10
- // through `DS_CONFIG.chart.frame`, which is where an app-wide layout decision belongs. The
11
- // `--ds-chart-frame-*` tokens still size it.
12
3
  @mixin chart-frame {
13
4
  :host {
14
5
  display: block;
15
6
 
16
- // A drag across a plot selects the chart's chrome — axis ticks, legend labels, and the
17
- // caption a screen reader needs that is clipped to a thin strip for everyone else. The
18
- // selection then paints as bars across the card, over content that is not visibly there.
19
- // None of it is text anyone copies; the numbers live in the annex table, which stays
20
- // selectable below.
7
+ // Dragging across a plot would select axis ticks, legend labels and the hidden caption; the data table stays selectable below.
21
8
  user-select: none;
22
9
  }
23
10
 
24
- // The class is the resolved answer, not the input: the component reads `frame`, falls back to
25
- // `DS_CONFIG.chart.frame`, and puts this on only when the result is `'auto'`.
26
11
  :host(.framed) {
27
12
  padding: var(--ds-chart-frame-padding);
28
- background: var(--ds-chart-frame-bg-color);
13
+ background: var(--ds-chart-frame-bg-color, var(--ds-chart-bg-color));
29
14
  border: var(--ds-chart-frame-border-width) solid
30
15
  var(--ds-chart-frame-border-color);
31
16
  border-radius: var(--ds-chart-frame-radius);
@@ -43,43 +28,33 @@
43
28
  user-select: text;
44
29
  }
45
30
 
46
- /* "The request failed" and "there is nothing to show" read the same in grey and mean opposite
47
- things. Two selectors because the pie names its element `.empty-text`. */
48
31
  .empty.is-error,
49
32
  .empty-text.is-error {
50
33
  color: var(--error);
51
34
  }
52
35
  }
53
36
 
54
- // The focus indicator, drawn rather than outlined: `outline` on an SVG element paints its BOUNDING
55
- // BOX, not its silhouette, so a slice would ring as a rectangle. Two tones, because one is not
56
- // enough: the ring is the app's own focus colour, so a focused mark reads as the same indicator as
57
- // every other control, and the light keyline around it is what separates that colour from a mark
58
- // of the same hue family. `drop-shadow` rather than a second stroke: an SVG shape has one stroke.
37
+ // `outline` on an SVG element paints its bounding box, not its silhouette, so the ring is drawn as stroke.
38
+ // The halo separates the ring from a same-hue mark; `drop-shadow` because a shape has one stroke.
59
39
  @mixin drawn-focus-ring {
60
40
  stroke: var(--ds-chart-focus-ring-color);
61
41
  stroke-width: var(--focus-ring-width);
62
42
  paint-order: stroke;
63
- filter: drop-shadow(0 0 var(--focus-ring-width) var(--ds-chart-focus-halo-color));
43
+ filter: drop-shadow(
44
+ 0 0 var(--focus-ring-width)
45
+ var(--ds-chart-focus-halo-color, var(--ds-chart-bg-color))
46
+ );
64
47
  }
65
48
 
66
- // A CLICK focuses an SVG shape in Chromium even with no `tabindex` on it, and `:focus-visible` is
67
- // false for that focus — so a rule keyed on `:focus-visible` never fires and the user-agent paints
68
- // its own outline around the BOUNDING BOX. On a ring or a funnel band that is a rectangle standing
69
- // off the shape, which reads as a selection nobody asked for.
70
- //
71
- // Keyed on `:focus` so it catches the pointer case too. The keyboard indicator is unaffected:
72
- // `drawn-focus-ring` under `:focus-visible` still paints, and `own-indicator` keeps the outline
73
- // under forced colours, where `stroke` is not remapped and the outline is all there is.
49
+ // Chromium focuses a clicked SVG shape without a `tabindex` but `:focus-visible` is false, so the UA outlines
50
+ // the bounding box. `:focus` catches it; `own-indicator` keeps the outline under forced colours.
74
51
  @mixin no-bounding-box-focus($mark) {
75
52
  #{$mark}:focus {
76
53
  @include focus.own-indicator;
77
54
  }
78
55
  }
79
56
 
80
- // `fill` and `stroke` are NOT remapped by forced colours: the chart keeps every series colour and
81
- // they all become the same one against the forced background, with nothing reporting a problem.
82
- // The system keywords are what put the structure back.
57
+ // `fill` and `stroke` are not remapped by forced colours; system keywords restore the structure.
83
58
  @mixin forced-colors {
84
59
  @media (forced-colors: active) {
85
60
  .axis-line,
@@ -99,16 +74,7 @@
99
74
  }
100
75
  }
101
76
 
102
- // Every state a chart can be in occupies the same box. A chart that shrinks to a line of text when
103
- // its data is empty, its request failed, or its legend switched the last series off drags the whole
104
- // page up under the reader's cursor — and the state they are being told about is exactly the moment
105
- // they are least able to afford the jump. `$height` is the plot the message stands in for.
106
- // `$axes` keeps the L of a plot that HAS axes — the value axis down the left, the category axis
107
- // along the bottom. A chart whose data went away still has the frame its readings were measured
108
- // against, and drawing it keeps the message inside a plot rather than floating in a blank card.
109
- // Borders rather than an SVG: with no data there is nothing to scale against, and an axis without
110
- // ticks or labels is exactly two lines. Off for the pie and the funnel, which have no axes to
111
- // keep.
77
+ // Keeps the plot's height in empty/error states. `$axes` keeps the L of axis lines (off for pie and funnel).
112
78
  @mixin message-box($height, $axes: false) {
113
79
  .empty {
114
80
  display: grid;
@@ -125,9 +91,6 @@
125
91
  }
126
92
  }
127
93
 
128
- /* The way out of a pin, said in a word. A held mark is a state the reader did not have before and
129
- cannot obviously undo — Escape is invisible, and clicking the mark again is a guess. It reads
130
- `Unpin` rather than `Reset`, which would leave a reader wondering what else it resets. */
131
94
  @mixin pin-reset {
132
95
  :host {
133
96
  position: relative;
@@ -137,24 +100,13 @@
137
100
  --_chart-pin-reset-inset: var(--ds-chart-frame-padding);
138
101
  }
139
102
 
140
- // Room on the caption's line while the control is up, so a long caption wraps short of it rather
141
- // than running under it; a chart with no caption gains the line. The shift answers a click.
142
103
  // ponytail: a fixed room fits `Unpin`; a translation longer than about ten characters overlaps
143
104
  // the caption's end, measure the control if one ever does.
144
105
  :host:has(.pin-reset) figure > figcaption {
145
106
  padding-inline-end: calc(5rem + var(--space-2));
146
107
  }
147
108
 
148
- :host:has(.pin-reset) figure:not(:has(> figcaption)) {
149
- padding-block-start: calc(var(--space-6) + var(--space-2));
150
- }
151
-
152
- /* Top END, on the caption's line: the bottom of a chart carries its axis labels, its legend or its
153
- table, and a control floating over them hides the words the reader is comparing. The caption
154
- line is the one run of a chart with room to its end.
155
-
156
- Drawn at the caption's height; the 44px the library's touch rule asks of a real control is the
157
- hit area around it, not its box. */
109
+ /* Top end: the bottom carries axis labels, legend and table. The 44px touch target is the ::before. */
158
110
  .pin-reset {
159
111
  position: absolute;
160
112
  inset-block-start: var(--_chart-pin-reset-inset, 0);
@@ -190,10 +142,7 @@
190
142
  }
191
143
  }
192
144
 
193
- /* The pinned mark's badge: a pushpin on an opaque disc. The disc is what makes it legible — a bare
194
- glyph with a halo has to win against whatever colour the series happens to be, and a palette of
195
- eight cannot promise that. Size is the icon's touch-free minimum: it is a STATE, never a target,
196
- so it carries `pointer-events: none` and no tab stop. */
145
+ /* A state, not a target: no pointer events, no tab stop. */
197
146
  @mixin pin-marker {
198
147
  .pin-marker {
199
148
  display: grid;
@@ -1,17 +1,11 @@
1
- // The ONLY place a chart derives a hover state.
1
+ // The only place a chart derives a hover state (the fade half; the value label is markup).
2
2
  //
3
3
  // TODO(ds-interactive): migrate this onto `_interaction.scss` once that file exists.
4
- //
5
- // Only the fade half lives here. Singling a mark OUT is a direct value label, which the component
6
- // renders as markup, because a label has to be a node a screen reader can reach — an ::after
7
- // cannot be.
8
4
 
9
- // `.is-dimmed` alone, for a mark whose highlight only ever comes from outside — a legend, or a
10
- // consumer. A line has no mark between two readings, so it has no `:hover` half to derive.
5
+ // `.is-dimmed` alone, for a mark highlighted only from outside (legend, consumer).
11
6
  //
12
- // `$also` is how a mark adds its OWN animated properties to the same declaration — a second
13
- // `transition` on the same selector replaces this one rather than adding to it, and the fade then
14
- // disappears with nothing reporting it. Pass a leading comma: `', fill 180ms ease'`.
7
+ // `$also` adds the mark's own transitions; a second `transition` on the same selector would
8
+ // replace this one and drop the fade. Pass a leading comma: `', fill 180ms ease'`.
15
9
  @mixin dims($mark, $also: '') {
16
10
  #{$mark} {
17
11
  transition: opacity var(--ds-motion-chart-state-duration)
@@ -23,36 +17,19 @@
23
17
  }
24
18
  }
25
19
 
26
- // Include on the CONTAINER, never on the mark: `:has()` asks the container whether one of its
27
- // marks is the active one. `.is-active` is the component's, set from the same state the tooltip
28
- // reads, so the highlight waits out the hover delay with the tooltip rather than flashing on every
29
- // mark the pointer crosses. The component also sets it on focus.
30
- //
31
- // Gated on `.dims-others`, which the chart puts on the container from its `dimOthers` input. Off by
32
- // default, because dimming is not free: measured 2026-09-13, OKLab dE x100, the worst pair of three
33
- // dimmed series falls from 14.8 at full opacity to 2.1 at 30%. It buys loudness for the mark under
34
- // the pointer and pays for it with the reader's ability to tell the REST of the chart apart, which
35
- // is a trade a consumer should make deliberately rather than inherit.
36
- //
37
- // Usage: `.columns { @include chart-interactive.fades('.column'); }`
20
+ // Include on the container, never on the mark: `:has()` asks the container whether one of its marks is active.
21
+ // Gated on `.dims-others` (the `dimOthers` input), off by default: dimming makes the rest hard to tell apart.
38
22
  @mixin fades($mark, $also: '') {
39
23
  @include dims($mark, $also);
40
24
 
41
- // A PIN SUSPENDS THE HOVER RULE ENTIRELY, which is what `:not(:has(.is-pinned))` is for. Without
42
- // it the two rules dim each other out: the hover rule takes down the pinned mark because the
43
- // pointer has moved off it, the pin rule takes down the hovered mark because it is not the pinned
44
- // one, and every mark on the chart ends up faded with nothing lit.
25
+ // Suspends the hover rule under a pin, or the two rules dim each other's mark and every mark fades.
45
26
  &.dims-others:not(:has(#{$mark}.is-pinned)):has(#{$mark}.is-active)
46
27
  #{$mark}:not(.is-active),
47
- // A pinned mark keeps the others down after the pointer has gone, which is the whole point of
48
- // pinning: the reader looks away from the chart and the comparison is still on screen.
49
28
  &.dims-others:has(#{$mark}.is-pinned) #{$mark}:not(.is-pinned) {
50
29
  opacity: var(--ds-chart-dim-opacity);
51
30
  }
52
31
  }
53
32
 
54
- // `.interactive` is a mark a consumer made clickable, `.pins` one a click would hold. The pointer
55
- // cursor promises a click, so it goes where one of the two is true and nowhere else.
56
33
  @mixin clickable($mark) {
57
34
  #{$mark}.interactive,
58
35
  #{$mark}.pins {
@@ -60,12 +37,7 @@
60
37
  }
61
38
  }
62
39
 
63
- // A legend entry's own hover state, shared by every chart legend. Keyboard focus inside the entry
64
- // takes the same state. The padding is paid back as a negative margin, so the tint grows around the
65
- // entry without moving a single legend row; the legend gaps are wider than the overhang.
66
- //
67
- // `$label` names the element to recolour when the label sets its own colour and would not inherit
68
- // the entry's.
40
+ // The negative margin offsets the padding so the tint grows without moving rows. `$label` is recoloured when it sets its own colour.
69
41
  @mixin legend-entry($entry, $hover-bg-color, $hover-text-color, $label: null) {
70
42
  #{$entry} {
71
43
  margin: calc(-1 * var(--space-0-5)) calc(-1 * var(--space-1-5));
@@ -1,30 +1,13 @@
1
- // Mark enter and exit, in one place for all five charts.
1
+ // The enter is delayed by the exit duration so removals finish before additions start;
2
+ // `--_chart-mark-stagger` (set per mark) adds to it.
2
3
  //
3
- // The enter is DELAYED by the exit duration, and that delay is what stages the three phases:
4
- // removals finish before additions start, so a vanishing mark and an arriving one are never on
5
- // screen together. `--_chart-mark-stagger` is set per mark by the component and adds to the delay.
4
+ // The enter is a plain CSS animation, not `animate.enter`: that runtime calls `getAnimations()` once per
5
+ // mark, which in Chrome blocks the main thread for seconds on a thousand marks. `backwards`, not `both`:
6
+ // a filling animation stays in effect and every later `getAnimations()` pays for it. The exit uses
7
+ // `animate.leave`: the component puts `.mark-leave` on the mark and Angular removes it on `animationend`.
6
8
  //
7
- // The enter is a plain CSS animation declared on the mark, so the browser plays it once when the
8
- // mark is inserted - on first render and for a mark a data change adds - with no script at all.
9
- // NOT `animate.enter`: its runtime calls `getAnimations()` once per mark, and in Chrome each call
10
- // costs more the more animations are running, so a chart entering a thousand marks at once blocks
11
- // the main thread for seconds. `backwards`, not `both`: a finished animation that still fills stays
12
- // in effect for good, and every later `getAnimations()` on the page pays for it. The exit still goes
13
- // through `animate.leave`, because only Angular can hold a removed mark until it has faded, but in
14
- // its function form: the component puts `.mark-leave` on the mark and Angular removes it on
15
- // `animationend`, with no `getAnimations()` call.
16
- //
17
- // A mark with a baseline ARRIVES BY GROWING FROM IT, never by scaling about its centre: a uniform
18
- // scale reads as the whole chart zooming, and it moves the baseline, which is the one line on a
19
- // chart that must not move. A mark with no baseline - a point, a cell, a ring - settles in from a
20
- // scale close to one, and a line draws on along its own path.
21
- //
22
- // The phases are staged by delay, not by script: the marks arrive after the exit, and what follows a
23
- // mark (its value label, a marker) waits `$after` on top of that.
24
- //
25
- // `prefers-reduced-motion` zeroes the durations in `_tokens.scss`. The delays are the one thing that
26
- // stays, because a stagger is written per mark as a plain length, so `enters` zeroes them here: with
27
- // a zero duration and `backwards` fill a delayed mark would stay invisible for its delay.
9
+ // Reduced motion zeroes the durations (tokens); `enters` zeroes the delays, or a delayed mark with
10
+ // `backwards` fill would stay invisible.
28
11
 
29
12
  @keyframes ds-chart-mark-grow-y {
30
13
  from {
@@ -44,8 +27,7 @@
44
27
  }
45
28
  }
46
29
 
47
- // `--_chart-rise-distance` is for a canvas whose viewBox stretches: there a pixel is a user unit,
48
- // so a chart sets a percentage of the mark's own box on the canvas instead.
30
+ // On a canvas whose viewBox stretches, a pixel is a user unit: set `--_chart-rise-distance` as a percentage of the mark's box.
49
31
  @keyframes ds-chart-mark-rise {
50
32
  from {
51
33
  opacity: 0;
@@ -107,10 +89,8 @@
107
89
  }
108
90
  }
109
91
 
110
- // `animate.leave` goes on the element the `@for` creates - that is what leaves - while the enter
111
- // is declared on the element that animates, which for a column and a bar row is the fill inside.
92
+ // `animate.leave` goes on the element the `@for` creates; the enter goes on the element that animates.
112
93
 
113
- /* A column: the fill grows up out of the category axis. */
114
94
  @mixin grows-up($mark, $fill) {
115
95
  #{$mark} #{$fill} {
116
96
  transform-origin: bottom;
@@ -125,7 +105,6 @@
125
105
  @include leaves($mark);
126
106
  }
127
107
 
128
- /* A bar row: the fill grows out of the value axis, which is the inline start. */
129
108
  @mixin grows-across($mark, $fill) {
130
109
  #{$mark} #{$fill} {
131
110
  transform-origin: left;
@@ -144,7 +123,6 @@
144
123
  @include leaves($mark);
145
124
  }
146
125
 
147
- /* A mark that only appears - an area under its line, a connector, a legend swatch. */
148
126
  @mixin fades-in($mark, $after: 0ms, $duration: var(--ds-motion-chart-mark-enter-duration)) {
149
127
  @include enters(
150
128
  '#{$mark}',
@@ -156,8 +134,6 @@
156
134
  @include leaves($mark);
157
135
  }
158
136
 
159
- /* A mark with no baseline that stands for one reading - a scatter point, a heat map cell - settles
160
- in about its own centre. */
161
137
  @mixin settles-in($mark, $after: 0ms) {
162
138
  #{$mark} {
163
139
  transform-box: fill-box;
@@ -174,7 +150,6 @@
174
150
  @include leaves($mark);
175
151
  }
176
152
 
177
- /* A ring turns into place as one element, so its slices keep their angles relative to each other. */
178
153
  @mixin sweeps-in($ring) {
179
154
  #{$ring} {
180
155
  transform-box: fill-box;
@@ -189,8 +164,7 @@
189
164
  );
190
165
  }
191
166
 
192
- /* A solid line draws on from its first reading. A dashed line fades instead: the draw animates the
193
- same dash properties the dash pattern is made of. */
167
+ /* Solid lines only: the draw animates the dash properties a dashed line is made of. */
194
168
  @mixin draws-on($path) {
195
169
  #{$path} {
196
170
  stroke-dasharray: 1;
@@ -205,8 +179,6 @@
205
179
  @include leaves($path);
206
180
  }
207
181
 
208
- /* What belongs to a mark - its value label, a marker on a line - rises in once the mark has
209
- arrived. `$after` is how long the mark takes. */
210
182
  @mixin follows($detail, $after) {
211
183
  @include enters(
212
184
  '#{$detail}',
@@ -1,16 +1,8 @@
1
1
  @use 'check-mark' as check-mark;
2
2
  @use 'press' as press;
3
3
 
4
- // The box a checkbox draws, in one place.
5
- //
6
- // ds-checkbox is a native `<input type="checkbox">` with `appearance: none` and a styled `::after`,
7
- // so anything else that already renders a native checkbox — ds-table's row selection — becomes the
8
- // design system's checkbox by including this, without swapping in a component or rewiring an
9
- // event.
10
-
11
- // Declared on the SCOPE rather than on the box, so a state override on the host (error, warning)
12
- // still reaches the box through the cascade: a declaration on the element itself would outrank the
13
- // inherited one and pin the resting colour.
4
+ // Declared on the scope, not the box: a declaration on the box itself would outrank a host state
5
+ // override (error, warning) and pin the resting colour.
14
6
  @mixin resolvers {
15
7
  --_checkbox-bg-color: var(--ds-checkbox-bg-color, var(--surface-default));
16
8
  --_checkbox-border-color: var(--ds-checkbox-border-color, var(--border-strong));
@@ -21,13 +13,8 @@
21
13
  --_checkbox-glyph: var(--check-size);
22
14
  }
23
15
 
24
- // Every reference to a `--_checkbox-*` resolver carries that resolver's OWN default, so a box which
25
- // never saw `resolvers` still paints. The `:root` tokens it also reads — `--check-bw`,
26
- // `--check-size`, `--icon-on-primary` — are global and need no fallback; strip the token layer and
27
- // the border goes invalid again. That is not belt and braces: a checkbox inside a portaled CDK panel is
28
- // outside its component's host, custom properties inherit by DOM position, and the whole
29
- // declaration is then invalid at computed-value time — measured on ds-table's column picker, where
30
- // six boxes came out 12x12 with no border and no fill, invisible on the panel.
16
+ // Every `--_checkbox-*` reference carries its own default: a checkbox in a portaled CDK panel sits outside
17
+ // its component's host, never sees `resolvers`, and the declaration would be invalid at computed-value time.
31
18
  @mixin box {
32
19
  appearance: none;
33
20
  width: var(--_checkbox-glyph, var(--check-size));
@@ -39,11 +26,7 @@
39
26
  display: inline-grid;
40
27
  place-items: center;
41
28
 
42
- /* Inline-level, so without this the box sits on the text baseline — and the baseline of an
43
- inline-grid is its first item's, which moves when the mark swaps between the 12px tick and the
44
- 10x2 bar. Measured in ds-table: the header row was 45.50px with the box indeterminate and
45
- 45.30px with it checked, a 0.2px twitch on every selection change. `middle` takes the box off
46
- the baseline entirely. ds-checkbox never showed it — there the input is a flex item. */
29
+ /* An inline-grid's baseline is its first item's, which moves when the mark swaps between tick and bar; `middle` avoids that. */
47
30
  vertical-align: middle;
48
31
  flex-shrink: 0;
49
32
  margin: 0;
@@ -62,12 +45,10 @@
62
45
  cursor: not-allowed;
63
46
  }
64
47
 
65
- // The mark paints in currentColor, and an input inherits the label's text colour — so without
66
- // this the tick would come out dark on the filled box.
48
+ // The mark paints in currentColor; an input inherits the label colour, which is dark on the filled box.
67
49
  color: var(--icon-on-primary);
68
50
 
69
- // Persistent pseudo (content always set) so the check/indeterminate mark scales + fades in and
70
- // out — a checked-only ::after would just pop in.
51
+ // Always present so the mark can scale and fade; a checked-only ::after would pop in.
71
52
  &::after {
72
53
  content: "";
73
54
 
@@ -1,13 +1,5 @@
1
- // The tick a selection draws, in one place.
2
- //
3
- // ds-checkbox owns the canonical mark; multi-select and autocomplete draw their own box in an
4
- // option row rather than composing ds-checkbox, so they need the mark on its own. Do not reach
5
- // for `ds-icon name="check"` in those boxes: it is a 24-viewBox path at stroke 1.75, which at a
6
- // 13px glyph paints a 0.95px line against this mark's 2px — one box, two different ticks.
7
- //
8
- // Painted as a MASK over `currentColor`, not as a coloured image: the same mark then serves a
9
- // filled box (white on the accent) and a bare trailing indicator in a select row (accent on the
10
- // surface) without a second copy of the path.
1
+ // A mask over `currentColor`, so one mark serves a filled box and a bare trailing indicator.
2
+ // Not `ds-icon name="check"`: at a 13px glyph it paints a 0.95px line against this mark's 2px.
11
3
  @mixin mark {
12
4
  --_check-mark-enter-duration: var(--ds-check-mark-enter-duration, var(--ds-motion-check-enter-duration));
13
5
  --_check-mark-enter-easing: var(--ds-check-mark-enter-easing, var(--ds-motion-check-enter-easing));
@@ -16,24 +8,17 @@
16
8
 
17
9
  width: var(--check-tick-size);
18
10
  height: var(--check-tick-size);
19
-
20
- // Always rendered, so it can scale and fade rather than pop: an element that does not exist has
21
- // no resting state to transition from. `.checked` on the box is what brings it in.
22
11
  transform: scale(0.6);
23
12
  opacity: 0;
24
13
  transform-origin: center;
25
14
 
26
- // The resting rule carries the EXIT timing and the entered rule the enter timing — a transition
27
- // belongs to the state being moved TO, which is the only way one property pair can run two
28
- // different curves in the two directions.
15
+ // The resting rule carries the exit timing, `shown` the enter timing: a transition takes the
16
+ // timing of the state being moved to.
29
17
  transition: transform var(--_check-mark-exit-duration) var(--_check-mark-exit-easing),
30
18
  opacity var(--_check-mark-exit-duration) var(--_check-mark-exit-easing);
31
19
  background-color: currentcolor;
32
20
 
33
- // Forced colours override `background-color` and leave `background-image` alone, so moving the
34
- // tick from an image to a masked fill made it vanish under Windows High Contrast: the mark was
35
- // forced to Canvas, the same colour the box fill becomes, leaving checked and unchecked
36
- // pixel-identical. The mask itself survives, so naming the text colour puts the glyph back.
21
+ // Forced colours override `background-color` to Canvas, making checked and unchecked identical; the mask survives, so name the text colour.
37
22
  @media (forced-colors: active) {
38
23
  background-color: CanvasText;
39
24
  }
@@ -41,7 +26,7 @@
41
26
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2 6.5l2.5 2.5L10 3.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
42
27
  }
43
28
 
44
- // The entered state, for a box that carries `.checked` rather than a `:checked` input.
29
+ // For a box carrying `.checked` rather than a `:checked` input.
45
30
  @mixin shown {
46
31
  transform: scale(1);
47
32
  opacity: 1;
@@ -49,8 +34,7 @@
49
34
  opacity var(--_check-mark-enter-duration) var(--_check-mark-enter-easing);
50
35
  }
51
36
 
52
- // The bar a mixed selection draws, on the SAME element as the tick: a second span would sit beside
53
- // it in the centred box rather than replacing it, and the two could not cross-fade.
37
+ // On the same element as the tick so the two cross-fade; a second span would sit beside it.
54
38
  @mixin dash {
55
39
  width: var(--check-indet-w);
56
40
  height: var(--check-indet-h);
@@ -1,10 +1,5 @@
1
- // `display: contents` by default: the wrapper adds no box, so a trigger that wraps
2
- // its chips lays out as if it were not there — consumers style against that.
3
- //
4
- // Fit mode needs `min-width: 0` with `overflow: hidden`: a flex item refuses to
5
- // shrink below its content, so without them the frame that renders every chip —
6
- // the one being measured — would widen the trigger instead of quietly clipping.
7
- // See chip-overflow.ts for why clipping, not wrapping, makes that safe.
1
+ // Fit mode needs `min-width: 0` with `overflow: hidden`, or the measuring frame that renders every
2
+ // chip would widen the trigger instead of clipping.
8
3
  @mixin chip-row {
9
4
  display: contents;
10
5
 
@@ -14,15 +9,9 @@
14
9
  align-items: center;
15
10
  min-width: 0;
16
11
  overflow: hidden;
17
-
18
- // The trigger owns chip spacing in both modes; inheriting it keeps one source
19
- // rather than a copy of each picker's own gap token, which differ.
20
12
  gap: inherit;
21
13
 
22
- // A chip squeezed by the row must clip, never wrap: a wrapped label makes
23
- // that one chip two lines tall, which grows the trigger — the exact failure
24
- // the cap exists to prevent, and what a phone-width trigger did. Measured on
25
- // a 412px viewport: one chip at 46px beside two at 29px and 31px.
14
+ // A squeezed chip must clip, never wrap: a two-line chip grows the trigger.
26
15
  > * {
27
16
  flex: 0 1 auto;
28
17
  min-width: 0;
@@ -1,12 +1,7 @@
1
1
  @use 'press' as press;
2
2
 
3
- // The `×` that clears a trigger-shaped field — ds-select, ds-autocomplete, ds-multi-select all
4
- // render the same `.clear-btn` markup behind `clearable`. Shared because two of the three had the
5
- // markup and no rule, so the button came out as the browser's default: include it inside whichever
6
- // selector holds the trigger's own layout.
7
- //
8
- // ds-input's clear button is deliberately NOT this one — it paints a filled disc so the glyph
9
- // still reads on a blurred field, and keeps its rule with the input.
3
+ // The `×` behind `clearable` for ds-select, ds-autocomplete and ds-multi-select (ds-input has its own).
4
+ // Include inside the selector holding the trigger's layout.
10
5
  @mixin button {
11
6
  border: 0;
12
7
  background: transparent;
@@ -1,16 +1,5 @@
1
- // The label of a boolean control is part of its hit area, and the separation between
2
- // control and label has to live INSIDE that area.
3
- //
4
- // A flex `gap` cannot do it: a gap is dead space neither element covers, so a click in
5
- // those few pixels did nothing. Measured on checkbox/radio/switch — an 8px vertical
6
- // strip beside every label was inert. The label carries the separation as padding
7
- // instead, and the block padding widens the target past the text line, cancelled by a
8
- // negative block margin so no layout moves.
9
- //
10
- // Usage — @include inside the label's own selector, and give the row NO gap:
11
- // @use '../../styles/control-label' as control-label;
12
- // .control-line { display: flex; align-items: center; } // no gap
13
- // .control-text { @include control-label.hit-area; }
1
+ // Label padding inside the hit area instead of a flex `gap`, which is dead space that ignores clicks.
2
+ // The negative block margin cancels the block padding; give the row no gap.
14
3
  @mixin hit-area {
15
4
  padding-inline-start: var(--space-2);
16
5
  padding-block: var(--space-1);
@@ -1,16 +1,12 @@
1
1
  @use 'focus' as focus;
2
2
  @use 'control-label' as control-label;
3
3
 
4
- // The ring goes on the ROW and $control's own is suppressed: a checked box already draws a brand
5
- // box, so a ring around the glyph lands concentric with it and reads as a target rather than as two
6
- // states. ds-table adds its own ring because it has no row to speak for it.
4
+ // The ring goes on the row and $control's own is suppressed: a ring around the glyph would sit concentric with a checked box's own box.
7
5
  @mixin line($control, $label-font, $label-color) {
8
6
  @include focus.ring-for($control);
9
7
 
10
- // The row paints nothing, so this shapes the ring and nothing else.
11
8
  border-radius: var(--focus-ring-radius);
12
9
 
13
- // No label: the row IS the glyph, so the concentric read comes back and the ring stands off.
14
10
  &:has(.control-text:empty) {
15
11
  --focus-ring-offset: var(--space-1-5);
16
12
  }
@@ -26,7 +22,7 @@
26
22
  cursor: pointer;
27
23
  user-select: none;
28
24
 
29
- /* Collapse, or the empty caption still takes the row gap and offsets the control. */
25
+ /* Otherwise the empty caption still takes the row gap. */
30
26
  &:empty {
31
27
  display: none;
32
28
  }