@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,24 +1,6 @@
1
- // Page grid — four-tier responsive layout grid.
2
- //
3
- // One column-count per breakpoint (4 / 8 / 12 / 12), gutters and margins
4
- // scale with the viewport, content caps at --col-cap-content on the widest
5
- // tier and stays fluid below. Sub-regions inherit the page grid — never
6
- // invent a local grid. Sidenav lives OUTSIDE this grid (reserve its rail
7
- // first, start `.page-grid` in the remaining width).
8
- //
9
- // Tier | Range | Cols | Gutter | Margin | Cap
10
- // ------------ | -------------- | ---- | ------------- | ------------- | ----------------
11
- // Mobile | < 640px | 4 | --space-3 (12px) | --space-4 (16px) | fluid
12
- // Tablet | 640-1023px | 8 | --space-4 (16px) | --space-6 (24px) | fluid
13
- // Desktop | 1024-1440px | 12 | --space-5 (20px) | --space-8 (32px) | fluid
14
- // Desktop wide | >= 1441px | 12 | --space-6 (24px) | --space-10 (40px) | --col-cap-content (1280px)
15
- //
16
- // Snap to columns, not pixels: 8+4 / 6+6 / 9+3 are canonical splits;
17
- // 7+5 is forbidden. Prose blocks cap at --col-cap-text (720px) regardless
18
- // of grid width.
19
- //
20
- // Mobile tier is the base rule below; the Tablet/Desktop/Desktop-wide tiers
21
- // (the @include bp.up(...) blocks) nest inside the same selector below.
1
+ // Four-tier responsive layout grid. Sub-regions inherit the page grid, never a local one. The
2
+ // sidenav lives outside it: reserve its rail first, then start `.page-grid` in the remaining width.
3
+ // Tiers: < 640px 4 columns, 640-1023px 8, 1024-1440px 12, >= 1441px 12 capped at `--col-cap-content`.
22
4
 
23
5
  @use 'breakpoints' as bp;
24
6
 
@@ -29,13 +11,11 @@
29
11
  max-width: var(--col-cap-content);
30
12
  margin: 0 auto;
31
13
 
32
- // Mobile (default, < 640px) — 4 columns
33
14
  --page-gutter: var(--page-gutter-mobile);
34
15
  --page-margin: var(--page-margin-mobile);
35
16
 
36
17
  grid-template-columns: repeat(4, minmax(0, 1fr));
37
18
 
38
- // Tablet (640-1023px) — 8 columns
39
19
  @include bp.up(sm) {
40
20
  --page-gutter: var(--page-gutter-tablet);
41
21
  --page-margin: var(--page-margin-tablet);
@@ -43,7 +23,6 @@
43
23
  grid-template-columns: repeat(8, minmax(0, 1fr));
44
24
  }
45
25
 
46
- // Desktop (1024-1440px) — 12 columns, fluid width
47
26
  @include bp.up(lg) {
48
27
  --page-gutter: var(--page-gutter-desktop);
49
28
  --page-margin: var(--page-margin-desktop);
@@ -51,17 +30,13 @@
51
30
  grid-template-columns: repeat(12, minmax(0, 1fr));
52
31
  }
53
32
 
54
- // Desktop wide (>= 1441px) — 12 columns, container capped at --col-cap-content
55
33
  @include bp.up(xl) {
56
34
  --page-gutter: var(--page-gutter-wide);
57
35
  --page-margin: var(--page-margin-wide);
58
36
  }
59
37
  }
60
38
 
61
- // Column-span helpers. The 12-col base covers every tier — at narrower tiers
62
- // (8 / 4 cols) a span larger than the active column-count wraps to its own
63
- // row, which is the intended fallback. Snap to canonical splits (8+4 / 6+6 /
64
- // 9+3 / 4+4+4) rather than ad-hoc widths.
39
+ // At narrower tiers a span larger than the active column count wraps to its own row.
65
40
  .col-span-1 { grid-column: span 1; }
66
41
  .col-span-2 { grid-column: span 2; }
67
42
  .col-span-3 { grid-column: span 3; }
@@ -1,22 +1,9 @@
1
- // Complements the global tap-highlight reset (_reset.scss), which drops the native
2
- // mobile overlay — a rectangle that ignored border-radius. This replaces it with a
3
- // press state that INHERITS the control shape:
4
- // `filter` + `transform` apply to the rendered element, so any border-radius /
5
- // clip is followed automatically, and neither conflicts with the box-shadow
6
- // focus rings (different properties).
7
- //
8
- // Usage — @include INSIDE the clickable element's own selector, so `&:active`
9
- // resolves to that element:
10
- // @use '../../styles/press' as press; // relative path from the component
11
- // .check { …; @include press.feedback; }
12
- //
13
- // Tunable per component (read-with-fallback, like the --ds-* layer):
1
+ // Press state that follows the control shape, replacing the native tap highlight (dropped in the reset;
2
+ // a rectangle ignoring border-radius). `filter` and `transform` do not conflict with box-shadow focus rings.
3
+ // Include inside the clickable element's own selector so `&:active` resolves to it.
14
4
  // --ds-press-brightness (default .9) darken amount on press
15
- // --ds-press-scale (default .97) micro press-scale
16
- //
17
- // Intentionally does NOT declare `transition` — that would clobber the host
18
- // element's existing transition. Press is immediate (crisp on tap); components
19
- // wanting an eased release add `filter`/`transform` to their own transition.
5
+ // --ds-press-scale (default .97) press scale
6
+ // Declares no `transition`, which would clobber the host's own; add `filter`/`transform` to yours for an eased release.
20
7
 
21
8
  @mixin feedback {
22
9
  &:active:not(:disabled, [disabled], .is-disabled) {
@@ -1,9 +1,6 @@
1
1
 
2
2
  *, *::before, *::after { box-sizing: border-box; }
3
3
 
4
- /* Opt into animating to/from intrinsic sizes (height: auto, max-content).
5
- Inherited, so components can transition height:0 ↔ auto natively
6
- (accordion, sidenav group) without max-height magic numbers. */
7
4
  :root { interpolate-size: allow-keywords; }
8
5
  html, body {
9
6
  margin: 0;
@@ -13,18 +10,8 @@ html, body {
13
10
  -webkit-font-smoothing: antialiased;
14
11
  text-rendering: optimizelegibility;
15
12
 
16
- /* Suppress the native mobile tap-highlight. Android Chrome paints a flat
17
- rectangular overlay on tap whose geometry is browser-controlled (ignores
18
- border-radius, NOT clipped by overflow), so on pill/rounded controls it
19
- pokes square corners out past the shape. We can only set its colour, not
20
- reshape it — so we remove it and let each control's own rounded
21
- :active/:focus-visible state provide press feedback. Inherited → covers all
22
- descendants. */
13
+ /* Android Chrome's tap overlay is a rectangle that ignores border-radius; controls provide their own :active feedback. */
23
14
  -webkit-tap-highlight-color: transparent;
24
15
  }
25
16
  button, input, select, textarea { font-family: inherit; }
26
-
27
- /* Zero the browser's default heading margins (~0.83em) — they otherwise leak
28
- into consumers and mangle spacing. Headings get their size from .t-* utils;
29
- spacing is owned by the surrounding layout (gap / margin), not the element. */
30
17
  h1, h2, h3, h4, h5, h6 { margin: 0; }
@@ -1,5 +1,3 @@
1
- // Applied globally, not per component: a consumer gets the thumb without opting in.
2
-
3
1
  html { scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) transparent; }
4
2
  *::-webkit-scrollbar { width: var(--scrollbar-w); height: var(--scrollbar-w); }
5
3
  *::-webkit-scrollbar-track { background: transparent; }
@@ -1,17 +1,6 @@
1
- // Reduced-motion opt-out for the skeleton shimmer.
2
- //
3
- // The travel itself is a per-element animation declared in skeleton.component.scss. Only this rule
4
- // has to be global: the media query is a document-level preference, and a component stylesheet
5
- // cannot express "stop wherever a skeleton appears" without one.
6
- //
7
- // Do NOT drive it from one animated custom property on :root instead, however tempting the
8
- // phase-lock between skeletons is: a REGISTERED custom property is a computed value, so animating
9
- // one invalidates the style of every element that could inherit it — the whole document, every
10
- // frame. And the phase-lock buys no viewport anchoring anyway, because `mask-position` measures
11
- // from the host's own box.
12
- //
13
- // `!important`, because the travel is declared as `[_nghost-…]::after`, which outranks
14
- // `ds-skeleton::after` whatever the order.
1
+ // Reduced-motion opt-out for the skeleton shimmer; the travel is per-element in the skeleton component.
2
+ // Not driven from one animated `:root` custom property: a registered property is a computed value, so animating it invalidates style for the whole document every frame.
3
+ // `!important`: the travel is declared as `[_nghost-...]::after`, which outranks `ds-skeleton::after`.
15
4
  @media (prefers-reduced-motion: reduce) {
16
5
  ds-skeleton::after {
17
6
  animation: none !important;
@@ -1,10 +1,5 @@
1
- // =========================================================================
2
- // Status colour wiring for ds-badge / ds-status-dot.
3
- //
4
- // The DS ships NO statuses — a consumer declares their own vocabulary here and
5
- // wires each to a colour (a palette token, recommended, or a raw value). The
6
- // component keys off [data-status]; these rules set the public --ds-badge-* /
7
- // --ds-status-dot-* tokens the components already read.
1
+ // Status colour wiring for ds-badge / ds-status-dot. The DS ships no statuses: a consumer declares
2
+ // their own and wires each to a colour. The components key off [data-status].
8
3
  //
9
4
  // @use '@ids-group-ltd/ids-design-system/styles/status' as status;
10
5
  // @include status.semantic-preset; // optional universal set
@@ -13,10 +8,8 @@
13
8
  // shipped: (bg: #E1EFFF, text: #0A6DB3),
14
9
  // ));
15
10
  //
16
- // Map entry shape: (bg:, text?:, dot?:). `bg` required (badge fill). `text`
17
- // optional (badge label; unset → component's --text-secondary fallback). `dot`
18
- // optional (ds-status-dot colour; unset → falls back to `text`).
19
- // =========================================================================
11
+ // Map entry: (bg:, text?:, dot?:). `bg` is the badge fill, `text` the badge label (unset:
12
+ // --text-secondary), `dot` the ds-status-dot colour (unset: `text`).
20
13
 
21
14
  @use 'sass:map';
22
15
 
@@ -44,8 +37,7 @@
44
37
  }
45
38
  }
46
39
 
47
- // Opt-in: the universal semantics wired to the DS semantic token families.
48
- // Not emitted unless called — nothing is predefined at the factory.
40
+ // Opt-in: emitted only when called.
49
41
  @mixin semantic-preset {
50
42
  @include define((
51
43
  info: (bg: var(--info-subtitle), text: var(--info-text), dot: var(--info)),
@@ -1,36 +1,18 @@
1
- // Shared enter-motion presets — the vocabulary every DS surface picks from via
2
- // `--ds-<surface>-enter-keyframes` (overlay panels, modal, drawer, bottom-sheet,
3
- // toast, banner, alert, loading-overlay).
1
+ // Enter-motion presets every DS surface picks from via `--ds-<surface>-enter-keyframes`.
4
2
  //
5
- // They live GLOBALLY on purpose: emulated view encapsulation renames @keyframes
6
- // declared inside a component stylesheet but leaves a name held in a custom
7
- // property untouched, so a scoped default would resolve to a name that no longer
8
- // exists. Global keyframes are also what lets a consumer point a surface at its
9
- // own @keyframes — those must likewise be declared in global styles.
3
+ // Global on purpose: emulated encapsulation renames @keyframes declared in a component stylesheet but not
4
+ // a name held in a custom property. A consumer's own @keyframes must be global too.
10
5
  //
11
- // Shape comes from the SURFACE, not the keyframe: each preset reads the private
12
- // `--_ds-enter-*` hooks that a surface's token block fills from its public
13
- // `--ds-<surface>-enter-offset` / `-scale`. One keyframe therefore serves every
14
- // surface, and swapping presets never loses the surface's own geometry.
15
- //
16
- // Exit presets mirror the entrances and are swappable the same way, via
17
- // `--ds-<surface>-leave-keyframes`. Swapping one is only safe because teardown checks
18
- // that the animationend came from the animated element rather than matching the
19
- // animation NAME — a name match would break closing entirely on a renamed keyframe.
20
- //
21
- // An exit reads `--_ds-exit-*` and falls back to the matching `--_ds-enter-*`, so
22
- // a surface that leaves the way it arrived declares nothing: one preset replaces
23
- // the drawer's four direction-specific keyframes.
6
+ // Presets read the private `--_ds-enter-*` hooks, filled from the surface's `--ds-<surface>-enter-offset` / `-scale`.
7
+ // Exit presets (`--ds-<surface>-leave-keyframes`) read `--_ds-exit-*` and fall back to `--_ds-enter-*`; swapping is
8
+ // safe because teardown checks that animationend came from the animated element, not the animation name.
24
9
 
25
- /* Opacity only — the calmest entrance. */
26
10
  @keyframes ds-fade-in {
27
11
  from {
28
12
  opacity: 0;
29
13
  }
30
14
  }
31
15
 
32
- /* Grows into place from a micro-scale — reads --_ds-enter-scale, and the
33
- surface's transform-origin decides what it grows out of. */
34
16
  @keyframes ds-scale-in {
35
17
  from {
36
18
  opacity: 0;
@@ -38,7 +20,6 @@
38
20
  }
39
21
  }
40
22
 
41
- /* Travels a short distance while fading — reads --_ds-enter-x / --_ds-enter-y. */
42
23
  @keyframes ds-slide-in {
43
24
  from {
44
25
  opacity: 0;
@@ -46,24 +27,19 @@
46
27
  }
47
28
  }
48
29
 
49
- /* Edge-anchored travel with NO fade, for panels that slide fully on-screen
50
- (drawer, bottom-sheet) where a fade would read as a flicker. */
30
+ /* No fade: for panels sliding fully on-screen (drawer, bottom-sheet), where a fade flickers. */
51
31
  @keyframes ds-slide-edge-in {
52
32
  from {
53
33
  transform: translate(var(--_ds-enter-x, 0), var(--_ds-enter-y, 0));
54
34
  }
55
35
  }
56
36
 
57
- /* ── Exits ───────────────────────────────────────────────────────────────── */
58
-
59
- /* Opacity only — the calmest exit, and what a scrim wants. */
60
37
  @keyframes ds-fade-out {
61
38
  to {
62
39
  opacity: 0;
63
40
  }
64
41
  }
65
42
 
66
- /* Shrinks away as it fades — the mirror of ds-scale-in. */
67
43
  @keyframes ds-scale-out {
68
44
  to {
69
45
  opacity: 0;
@@ -71,7 +47,6 @@
71
47
  }
72
48
  }
73
49
 
74
- /* Travels a short distance while fading — the mirror of ds-slide-in. */
75
50
  @keyframes ds-slide-out {
76
51
  to {
77
52
  opacity: 0;
@@ -82,8 +57,6 @@
82
57
  }
83
58
  }
84
59
 
85
- /* Edge-anchored travel with NO fade, for panels that slide fully off-screen
86
- (drawer, bottom-sheet) where a fade would read as a flicker. */
87
60
  @keyframes ds-slide-edge-out {
88
61
  to {
89
62
  transform: translate(
@@ -1,11 +1,8 @@
1
1
  @use 'focus' as focus;
2
2
 
3
- // Controls the table shares with its opt-in directives. `dsTableColumns` renders its trigger and
4
- // its panel from components of its own, whose DOM never carries ds-table's encapsulation
5
- // attribute — so a rule stated in table.component.scss cannot reach them, and the body has to
6
- // live somewhere both stylesheets can include it.
7
-
8
- // The square icon button in a header cell — expand-all, row actions, the column-panel trigger.
3
+ // Controls shared by ds-table and its opt-in directives. `dsTableColumns` renders from its own
4
+ // components, which lack ds-table's encapsulation attribute, so both stylesheets include these.
5
+ // The square icon button in a header cell: expand-all, row actions, the column-panel trigger.
9
6
  // Reads the `--_table-icon-btn-*` resolvers, so include it only inside a ds-table.
10
7
  @mixin header-icon-button {
11
8
  display: flex;
@@ -1,10 +1,6 @@
1
1
  @mixin single-line-ellipsis {
2
- /* `clip` with a margin, not `hidden`: an ellipsis box needs a non-`visible`
3
- overflow, and where the line box is tighter than the glyph box that overflow
4
- eats the glyph. Mulish measures 1.257em, so --line-height-flat (1) and -tight
5
- (1.1) are both under it and shave EVERY label, not only the ones with
6
- descenders. `text-overflow` reads any non-`visible` overflow, so the
7
- ellipsis still applies under `clip`. */
2
+ /* `clip` with a margin, not `hidden`: where the line box is tighter than the glyph box (Mulish is 1.257em;
3
+ --line-height-flat and -tight are below it) `hidden` shaves every label. `text-overflow` applies under `clip` too. */
8
4
  overflow: clip;
9
5
  overflow-clip-margin: var(--space-1);
10
6
  text-overflow: ellipsis;
@@ -1,31 +1,18 @@
1
- // =========================================================================
2
- // Theme activation.
3
- //
4
- // Light is the DEFAULT — applied at bare :root, no attribute needed. Dark is
5
- // OPT-IN via <html data-theme="dark">; because the dark block declares the
6
- // complete token set (palette + roles + overrides), the more-specific
7
- // [data-theme='dark'] selector fully replaces light when present — it is not
8
- // a delta-patch.
9
- //
10
- // There is no automatic prefers-color-scheme switch. To follow the OS, a
11
- // consumer opts in at the app root: provideDsTheme({ followSystem: true })
12
- // (exported from the package; see themes/README.md).
13
- //
14
- // Order matters: the dark block comes LAST so it wins over the light-context
15
- // overrides (brand-gray neutrals) at equal specificity.
16
- // =========================================================================
1
+ // Light applies at bare :root. Dark is opt-in via <html data-theme="dark">; its block declares the complete
2
+ // token set, so it replaces light rather than patching it. No automatic prefers-color-scheme switch:
3
+ // opt in with provideDsTheme({ followSystem: true }). The dark block comes last so it wins over the
4
+ // light-context overrides (brand-gray neutrals) at equal specificity.
17
5
 
18
6
  @use '../themes/light/theme' as light;
19
7
  @use '../themes/dark/theme' as dark;
20
8
 
21
9
  :root {
22
- color-scheme: light; // native UI (scrollbars, form controls) match; opts out of UA force-dark
10
+ color-scheme: light; // opts out of UA force-dark
23
11
 
24
12
  @include light.theme;
25
13
  }
26
14
 
27
- // Brand-gray neutral family — opt-in light-context switch via <html data-neutrals="brand">.
28
- // A light-theme feature: dark ships its own neutral ramp and wins below.
15
+ // Opt-in via <html data-neutrals="brand">; light only, dark ships its own neutral ramp.
29
16
  :root[data-neutrals='brand'] {
30
17
  --neutral-0: var(--brand-gray-0);
31
18
  --neutral-50: var(--brand-gray-50);
@@ -43,7 +30,7 @@
43
30
  }
44
31
 
45
32
  :root[data-theme='dark'] {
46
- color-scheme: dark; // native UI (scrollbars, form controls) render dark to match
33
+ color-scheme: dark;
47
34
 
48
35
  @include dark.theme;
49
36
  }
@@ -1,6 +1,11 @@
1
- // Toast overlay panel — GLOBAL (portaled via CDK Overlay, outside component DOM).
2
- // ToastService sets panelClass: 'ds-toast-panel'. CDK overlays stack by DOM
3
- // insertion order, so lift the toast wrapper above modals/drawers explicitly.
1
+ @use 'visually-hidden' as visually-hidden;
2
+
3
+ // Overlays stack by DOM insertion order, so the toast wrapper (portaled via `panelClass: 'ds-toast-panel'`) is lifted above modals and drawers explicitly.
4
4
  .cdk-global-overlay-wrapper:has(> .ds-toast-panel) {
5
5
  z-index: var(--layer-toast);
6
6
  }
7
+
8
+ // The CDK loads the `.cdk-visually-hidden` rule only with a dialog or focus trap; without it the LiveAnnouncer's first announcement renders visibly.
9
+ .cdk-visually-hidden {
10
+ @include visually-hidden.visually-hidden;
11
+ }
@@ -1,30 +1,12 @@
1
1
  /* Chart and dataviz tokens.
2
2
 
3
- Categorical: led by the coral and teal the product's own
4
- screens are built on. NO HUE BETWEEN 35 and 130: yellow and
5
- lime sit at high luminance by nature, so dragging one down
6
- to clear 3:1 on white turns it to mustard — an earlier set
7
- tried, and the pie read as mud. Every hue clears 3:1 for
8
- WCAG 1.4.11 and sits in a narrow perceptual band (L* 56-62)
9
- so no series shouts over another; an older set ran 45% to
10
- 100% saturation and the first bar drowned the last.
11
- Slot 8 is the "rest" / "other" bucket: neutral, and darker
12
- than the band on purpose. Neutral, because every eighth HUE
13
- that clears the floor lands within dE 4 of one of the seven
14
- under protanopia or deuteranopia. Darker, because a mid
15
- grey is not safe either — colour-vision deficiency drains
16
- the emerald toward grey, and only the lightness gap keeps
17
- the two apart.
18
-
19
- Sequential: single-hue ramp (blue) for ordinal data —
20
- "low → high" magnitudes.
21
-
22
- Divergent: red ↔ neutral ↔ green for signed data —
23
- "bad ← zero → good". Used for Excess / Shortage matrix.
24
- ============================================================ */
3
+ Categorical: no hue between 35 and 130 (yellow and lime sit at high luminance; darkening one to clear
4
+ 3:1 turns it mustard). Every hue clears 3:1 (WCAG 1.4.11) inside a narrow band (L* 56-62) so no series
5
+ shouts. Slot 8 is the neutral "rest"/"other" bucket, darker than the band because a mid grey is drained
6
+ toward the emerald by colour-vision deficiency.
7
+ Sequential: single-hue ramp for ordinal data. Divergent: red, neutral, green for signed data. */
25
8
 
26
9
  :root {
27
- /* CATEGORICAL (8) ----------------------------------------- */
28
10
  --chart-categorical-1: hsl( 8deg 78% 58%); /* coral */
29
11
  --chart-categorical-2: hsl(172deg 82% 36%); /* teal */
30
12
  --chart-categorical-3: hsl(222deg 70% 62%); /* blue */
@@ -34,26 +16,16 @@
34
16
  --chart-categorical-7: hsl(300deg 62% 60%); /* orchid */
35
17
  --chart-categorical-8: hsl(222deg 14% 29%); /* slate */
36
18
 
37
- /* SINGLE SERIES — every row of ONE series, plus the accent that marks the
38
- row the reader is meant to land on. A categorical slot is the wrong tool
39
- here: those separate series from each other, not rows within one. */
19
+ /* Rows of one series, plus the accent for the row to land on. */
40
20
  --chart-series-default: hsl(222deg 16% 42%);
41
21
  --chart-series-accent: var(--chart-categorical-2);
42
22
 
43
- /* A waterfall's up and down are NOT success and failure - a cost rising is a rise and a bad
44
- one - so the pair points at the palette's own two lead hues rather than at --success and
45
- --error. The sign is carried by the label and the accessible name as well, because a hue
46
- cannot say which direction is the welcome one. */
23
+ /* A waterfall's up and down are not success and failure, so these point at the lead hues, not --success/--error. */
47
24
  --chart-positive: var(--chart-categorical-2);
48
25
  --chart-negative: var(--chart-categorical-1);
49
26
 
50
- /* RAMP — one hue, light → deep, for the ordered stages of a single
51
- quantity. Shares the lead hue so a funnel reads as one object rather
52
- than as eight unrelated categories. It stays in the middle of the
53
- lightness range, 76% to 51%: a funnel's stages are a shape to read at
54
- a glance, and a stage at either extreme reads as a different object
55
- rather than as the next step. A scale that needs magnitude read from
56
- the step between two colours takes --chart-heat-* instead. */
27
+ /* RAMP: one hue, light to deep, for the ordered stages of one quantity, kept mid-lightness (76% to 51%) so no
28
+ stage reads as a different object. Magnitude read from the step between two colours takes --chart-heat-*. */
57
29
  --chart-ramp-1: hsl( 8deg 78% 76%);
58
30
  --chart-ramp-2: hsl( 8deg 78% 72%);
59
31
  --chart-ramp-3: hsl( 8deg 78% 69%);
@@ -63,12 +35,9 @@
63
35
  --chart-ramp-7: hsl( 8deg 75% 55%);
64
36
  --chart-ramp-8: hsl( 8deg 72% 51%);
65
37
 
66
- /* HEAT — the same hue across the FULL lightness range, 95% to 31%, for a
67
- grid where magnitude is read from the step between two cells and
68
- nothing else: adjacent dE 6.9–10.6, first to last 55.0, measured
69
- 2026-09-19 in OKLab against the ramp's 2.1–3.9 and 20.7. Contrast on
70
- white runs 1.14:1 to 9.07:1, so a label over a cell is chosen against
71
- that cell's own end of the scale, never once for the whole of it. */
38
+ /* HEAT: the same hue across lightness 95% to 31%, for a grid where magnitude is read from the step between
39
+ cells (adjacent OKLab dE 6.9-10.6, measured 2026-09-19). Contrast on white runs 1.14:1 to 9.07:1, so
40
+ choose a label colour per cell, never once for the grid. */
72
41
  --chart-heat-1: hsl( 8deg 60% 95%);
73
42
  --chart-heat-2: hsl( 8deg 67% 88%);
74
43
  --chart-heat-3: hsl( 8deg 73% 80%);
@@ -78,7 +47,6 @@
78
47
  --chart-heat-7: hsl( 8deg 74% 41%);
79
48
  --chart-heat-8: hsl( 8deg 68% 31%);
80
49
 
81
- /* SEQUENTIAL — single-hue, light → dark */
82
50
  --chart-sequential-1: var(--blue-100);
83
51
  --chart-sequential-2: var(--blue-200);
84
52
  --chart-sequential-3: var(--blue-300);
@@ -86,10 +54,7 @@
86
54
  --chart-sequential-5: var(--blue-700);
87
55
  --chart-sequential-6: var(--blue-900);
88
56
 
89
- /* DIVERGENT — red ← neutral → green
90
- Explicit HSL keeps the ramp
91
- independent of palette retunes — re-skinning brand/red/green
92
- should not shift the dataviz colour story. */
57
+ /* DIVERGENT: explicit HSL keeps the ramp independent of palette retunes. */
93
58
  --chart-divergent--3: hsl( 8deg 48% 38%); /* large negative (worst) */
94
59
  --chart-divergent--2: hsl( 8deg 42% 56%);
95
60
  --chart-divergent--1: hsl( 8deg 34% 80%);
@@ -98,57 +63,41 @@
98
63
  --chart-divergent-2: hsl(145deg 38% 52%);
99
64
  --chart-divergent-3: hsl(145deg 46% 34%); /* large positive (best) */
100
65
 
101
- /* FRAME — the box a chart draws around itself. On by default: a chart is
102
- read as an object on the page, not as a block of text, and without an
103
- edge it bleeds into whatever sits under it. A chart already inside a
104
- card drops it with --ds-chart-frame-border-width: 0 and
105
- --ds-chart-frame-padding: 0. */
66
+ /* BACKGROUND: the frame and every knockout between marks. Read where it is used: a token deriving
67
+ from it on :root would ignore one set on a single chart. */
68
+ --chart-bg-color: var(--surface-default);
69
+
70
+ /* FRAME: inside a card, drop it with --ds-chart-frame-border-width: 0 and --ds-chart-frame-padding: 0. */
106
71
  --chart-frame-border-color: var(--border-default);
107
72
  --chart-frame-border-width: var(--border-width-default);
108
73
  --chart-frame-radius: var(--radius-lg);
109
74
  --chart-frame-padding: var(--space-5);
110
- --chart-frame-bg-color: var(--surface-default);
111
75
 
112
- /* AXIS / GRID / LEGEND */
113
76
  --chart-axis-line-color: var(--neutral-300);
114
77
  --chart-axis-label-color: var(--text-tertiary);
115
78
  --chart-grid-line-color: var(--neutral-150);
116
79
  --chart-axis-font-size: var(--font-size-2xs);
117
80
 
118
- /* REFERENCE LINES - an annotation, not a series. A neutral stroke and a dash are what keep a
119
- target from reading as one more category, and the band's opacity is low enough that a mark
120
- drawn over it stays its own colour. */
81
+ /* REFERENCE LINES: an annotation, not a series; the band opacity keeps marks over it their own colour. */
121
82
  --chart-threshold-color: var(--neutral-500);
122
83
  --chart-threshold-band-opacity: 0.12;
123
84
  --chart-threshold-dashed-pattern: 6 4;
124
85
  --chart-threshold-dotted-pattern: 1 5;
125
86
 
126
- /* HIGHLIGHT / HOVER */
127
-
128
- /* Every level of dimming costs the separation BETWEEN the dimmed series: measured 2026-09-13,
129
- OKLab dE x100, the worst pair of three dimmed series falls from 14.8 at full opacity to 5.2 at
130
- 60% and 2.1 at 30%. There is no level that keeps them apart, so this number buys accent
131
- loudness, not readable context. 30% is Carbon's. */
87
+ /* Dimming costs the separation between dimmed series (OKLab dE x100, worst pair of three: 14.8 at full
88
+ opacity, 2.1 at 30%, measured 2026-09-13): this buys accent loudness, not readable context. */
132
89
  --chart-dim-opacity: 0.3;
133
90
  --chart-hover-bg-color: hsl(225deg 39% 7% / 4%);
134
91
  --chart-cursor-line-color: var(--neutral-400);
135
92
 
136
- /* The focus indicator is TWO tones, not one: a single accent ring disappears on a mark of the
137
- same hue family, and a chart's marks are exactly the surfaces a ring has to survive. The ring
138
- itself is the app's, so a focused mark reads as the same indicator as every other control;
139
- the white keyline is what separates it from the mark underneath, and it is the keyline rather
140
- than the ring that does the surviving. */
93
+ /* Two tones: a single ring disappears on a mark of the same hue; the white keyline separates it. */
141
94
  --chart-focus-ring-color: var(--focus-ring-color);
142
- --chart-focus-halo-color: white;
143
-
144
- --chart-tooltip-bg-color: var(--neutral-900);
145
- --chart-tooltip-text-color: var(--neutral-0);
146
- --chart-tooltip-border-color: var(--neutral-700);
147
95
 
148
- /* DIMENSIONS */
96
+ --chart-tooltip-bg-color: var(--tooltip-bg-color);
97
+ --chart-tooltip-text-color: var(--tooltip-text-color);
98
+ --chart-tooltip-border-color: var(--tooltip-border-color);
149
99
 
150
- /* Soft, not a pill: the cap squashes with the body while a mark grows in, and 3px is small
151
- enough that the squash is not readable. */
100
+ /* Not a pill: the cap squashes with the body while a mark grows in; 3px keeps that unreadable. */
152
101
  --chart-mark-cap-radius: 3px;
153
102
  --chart-bar-gap: 4px;
154
103
  --chart-line-width: 2px;
@@ -156,20 +105,13 @@
156
105
  --chart-dot-radius: 4px;
157
106
  --chart-dot-radius-active: 6px;
158
107
  --chart-area-opacity: 0.16;
108
+ --chart-area-fade-opacity: 0.32;
159
109
 
160
- /* Stripes wide enough to survive a 24px-wide mark at a glance, and drawn in the surface colour
161
- so they read as gaps cut out of the mark rather than a second hue competing with it. */
162
- --chart-hatch-color: var(--surface-default);
110
+ /* Wide enough to survive a 24px mark; background-coloured so they read as gaps. */
163
111
  --chart-hatch-width: 1.5px;
164
112
  }
165
113
 
166
- /* Public override layer.
167
- The block above is the palette; this block is the contract. A consumer sets
168
- --ds-chart-*, never the palette itself, so recolouring one series costs one
169
- declaration instead of the whole ramp. Series slots are numbered rather than
170
- named after a hue: --ds-chart-series-3-color stays meaningful after a retune,
171
- --ds-chart-orange-color would not.
172
- ============================================================ */
114
+ /* Public override layer: consumers set --ds-chart-*, never the palette. */
173
115
 
174
116
  :root {
175
117
  --ds-chart-series-1-color: var(--chart-categorical-1);
@@ -203,11 +145,11 @@
203
145
  --ds-chart-heat-7-color: var(--chart-heat-7);
204
146
  --ds-chart-heat-8-color: var(--chart-heat-8);
205
147
 
148
+ --ds-chart-bg-color: var(--chart-bg-color);
206
149
  --ds-chart-frame-border-color: var(--chart-frame-border-color);
207
150
  --ds-chart-frame-border-width: var(--chart-frame-border-width);
208
151
  --ds-chart-frame-radius: var(--chart-frame-radius);
209
152
  --ds-chart-frame-padding: var(--chart-frame-padding);
210
- --ds-chart-frame-bg-color: var(--chart-frame-bg-color);
211
153
 
212
154
  --ds-chart-axis-line-color: var(--chart-axis-line-color);
213
155
  --ds-chart-axis-label-color: var(--chart-axis-label-color);
@@ -223,7 +165,6 @@
223
165
  --ds-chart-hover-bg-color: var(--chart-hover-bg-color);
224
166
  --ds-chart-cursor-line-color: var(--chart-cursor-line-color);
225
167
  --ds-chart-focus-ring-color: var(--chart-focus-ring-color);
226
- --ds-chart-focus-halo-color: var(--chart-focus-halo-color);
227
168
  --ds-chart-tooltip-bg-color: var(--chart-tooltip-bg-color);
228
169
  --ds-chart-tooltip-text-color: var(--chart-tooltip-text-color);
229
170
  --ds-chart-tooltip-border-color: var(--chart-tooltip-border-color);
@@ -235,6 +176,6 @@
235
176
  --ds-chart-dot-radius: var(--chart-dot-radius);
236
177
  --ds-chart-dot-radius-active: var(--chart-dot-radius-active);
237
178
  --ds-chart-area-opacity: var(--chart-area-opacity);
238
- --ds-chart-hatch-color: var(--chart-hatch-color);
179
+ --ds-chart-area-fade-opacity: var(--chart-area-fade-opacity);
239
180
  --ds-chart-hatch-width: var(--chart-hatch-width);
240
181
  }