@ids-group-ltd/ids-design-system 0.14.4 → 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 (329) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/components.md +14 -14
  3. package/docs/agent/INDEX.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  8. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/docs/agent/charts/ds-pie-chart.md +3 -3
  11. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  12. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  13. package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
  14. package/docs/agent/overlays/ds-tooltip.md +2 -2
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -130
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +16 -13
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +58 -112
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +182 -432
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -123
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -163
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +27 -85
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +50 -166
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +8 -12
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +9 -24
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +32 -120
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +14 -24
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +29 -13
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -85
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  185. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -579
  186. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  187. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +51 -85
  188. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  189. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
  190. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  191. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
  192. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  193. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
  194. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  195. package/migrations/0.14.5.json +311 -0
  196. package/package.json +1 -1
  197. package/schematics/check-overrides/surface.json +17 -2
  198. package/styles/_breakpoints.scss +6 -23
  199. package/styles/_chart-data-table.scss +3 -11
  200. package/styles/_chart-frame.scss +14 -63
  201. package/styles/_chart-interactive.scss +8 -36
  202. package/styles/_chart-motion.scss +11 -39
  203. package/styles/_check-box.scss +7 -26
  204. package/styles/_check-mark.scss +7 -23
  205. package/styles/_chip-row.scss +3 -14
  206. package/styles/_clear-button.scss +2 -7
  207. package/styles/_control-label.scss +2 -13
  208. package/styles/_control-line.scss +2 -6
  209. package/styles/_dropdown-overlay.scss +8 -33
  210. package/styles/_ds-color.scss +9 -28
  211. package/styles/_field-box.scss +4 -16
  212. package/styles/_field-group-segment.scss +6 -6
  213. package/styles/_field-label.scss +3 -14
  214. package/styles/_field-state.scss +5 -10
  215. package/styles/_focus.scss +20 -60
  216. package/styles/_icon-base.scss +0 -2
  217. package/styles/_layout-utils.scss +0 -3
  218. package/styles/_link.scss +4 -18
  219. package/styles/_overlay-motion.scss +15 -38
  220. package/styles/_page-grid.scss +4 -29
  221. package/styles/_press.scss +5 -18
  222. package/styles/_reset.scss +1 -14
  223. package/styles/_scrollbar.scss +0 -2
  224. package/styles/_skeleton-shimmer.scss +3 -14
  225. package/styles/_status.scss +5 -13
  226. package/styles/_surface-motion.scss +7 -34
  227. package/styles/_table-controls.scss +3 -6
  228. package/styles/_text-clip.scss +2 -6
  229. package/styles/_theme-activation.scss +7 -20
  230. package/styles/_toast-overlay.scss +2 -6
  231. package/styles/_tokens-charts.scss +31 -90
  232. package/styles/_tokens.scss +111 -156
  233. package/styles/_typography.scss +6 -13
  234. package/styles/_visually-hidden.scss +2 -3
  235. package/styles/ds.scss +2 -10
  236. package/themes/_base-palette.scss +12 -35
  237. package/themes/_semantic.scss +29 -98
  238. package/themes/dark/_palette.scss +15 -29
  239. package/themes/dark/_theme.scss +14 -32
  240. package/themes/light/_palette.scss +2 -17
  241. package/themes/light/_theme.scss +1 -7
  242. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
  243. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
  244. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
  245. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
  246. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
  247. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
  248. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
  249. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
  250. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
  251. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
  252. package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
  253. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
  254. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
  255. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
  256. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
  257. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
  258. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
  259. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
  260. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
  261. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
  262. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
  263. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
  264. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
  265. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
  266. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
  267. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
  268. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
  269. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
  270. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
  271. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
  272. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
  273. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
  274. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
  275. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
  276. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
  277. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
  278. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
  279. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
  280. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
  281. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
  282. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
  283. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
  284. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
  285. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
  286. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
  287. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
  288. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
  289. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
  290. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
  291. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
  292. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
  293. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
  294. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
  295. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
  296. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
  297. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
  298. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
  299. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
  300. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
  301. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
  302. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
  303. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
  304. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
  305. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
  306. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
  307. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
  308. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
  309. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
  310. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
  311. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
  312. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
  313. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
  314. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
  315. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
  316. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
  317. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
  318. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
  319. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
  320. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
  321. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
  322. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
  323. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
  324. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
  325. package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
  326. package/types/ids-group-ltd-ids-design-system-core.d.ts +133 -260
  327. package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
  328. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
  329. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
@@ -1,19 +1,13 @@
1
1
  @use 'focus' as focus;
2
2
 
3
- // GLOBAL because the panel is portaled via CDK Overlay outside the host
4
- // component's DOM tree, so emulated encapsulation (and any `:host ::ng-deep`
5
- // selector) cannot reach it. The component sets `panelClass: 'ds-dropdown-panel'`
6
- // on the overlay config; this partial declares the matching rules.
3
+ // Global: the panel is portaled via CDK Overlay outside the host's DOM tree, out of reach of
4
+ // emulated encapsulation. The component sets `panelClass: 'ds-dropdown-panel'`.
7
5
 
8
6
  @use 'check-mark' as check-mark;
9
7
  @use 'text-clip' as text-clip;
10
8
  @use 'visually-hidden' as visually-hidden;
11
9
 
12
10
  .ds-dropdown-panel {
13
- /* Every --_* below resolves through a public --ds-* hook and falls back to a
14
- semantic role or the panel radius role, so an untouched theme is unchanged.
15
- Panel-level, not per-component: this one partial paints the rows for select,
16
- autocomplete and multi-select alike. */
17
11
  --_option-selected-bg-color: var(--ds-option-selected-bg-color, var(--primary-subtitle));
18
12
  --_option-selected-label-color: var(--ds-option-selected-label-color, var(--primary-strong));
19
13
  --_option-selected-bg-color-hover: var(--ds-option-selected-bg-color-hover, var(--primary-muted));
@@ -39,15 +33,12 @@
39
33
  --_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
40
34
  --_dropdown-panel-max-height: var(--ds-dropdown-panel-max-height, 320px);
41
35
 
42
- /* minw/maxw only bite in `content` width mode, where the pane is auto-sized: in
43
- `fill` the component pins the pane to the trigger width and there is nothing
44
- left to bound. */
36
+ /* Min/max width only apply in `content` width mode; `fill` pins the pane to the trigger. */
45
37
  --_dropdown-panel-min-width: var(--ds-dropdown-panel-min-width, 0);
46
38
  --_dropdown-panel-max-width: var(--ds-dropdown-panel-max-width, none);
47
39
 
48
40
  .dropdown-panel {
49
- // The pane is sized from the trigger, so without `width: 100%` the panel is a flex
50
- // child of it and shrinks to its own option content width.
41
+ // The panel is a flex child of the pane; without this it shrinks to its option content.
51
42
  width: 100%;
52
43
  background: var(--_dropdown-panel-bg-color);
53
44
  border: var(--border-width-default) solid var(--_dropdown-panel-border-color);
@@ -57,10 +48,6 @@
57
48
  min-width: var(--_dropdown-panel-min-width);
58
49
  max-width: var(--_dropdown-panel-max-width);
59
50
  max-height: var(--_dropdown-panel-max-height);
60
-
61
- // The panel clips and the LIST scrolls, so a filter or select-all row stays
62
- // put while the options move under it — a panel that scrolled itself would
63
- // carry those rows out of view.
64
51
  display: flex;
65
52
  flex-direction: column;
66
53
  overflow: hidden;
@@ -68,8 +55,6 @@
68
55
  }
69
56
 
70
57
  .dropdown-list {
71
- // A cap of its own, separate from the panel's: the difference between the two
72
- // is what the panel's non-scrolling rows (filter, select-all) can occupy.
73
58
  max-height: var(--picker-maxh);
74
59
  list-style: none;
75
60
  margin: 0;
@@ -77,8 +62,7 @@
77
62
  display: flex;
78
63
  flex-direction: column;
79
64
 
80
- // A flex child will not shrink below its content without this, so the list
81
- // would push the panel past its own max-height instead of scrolling.
65
+ // Without this the list pushes the panel past its max-height instead of scrolling.
82
66
  min-height: 0;
83
67
  overflow-y: auto;
84
68
  gap: var(--_option-row-gap);
@@ -147,14 +131,11 @@
147
131
  @include text-clip.single-line-ellipsis;
148
132
  }
149
133
 
150
- // Visually hidden, not display:none — the latter leaves the accessibility
151
- // tree and the reason would be announced nowhere.
134
+ // Not display:none: that removes the reason from the accessibility tree.
152
135
  .option-reason {
153
136
  @include visually-hidden.visually-hidden;
154
137
  }
155
138
 
156
- // Persistent, not rendered only when selected: an element that does not exist has no resting
157
- // state to transition from, which is why this was the one selection mark that popped in.
158
139
  .option-check {
159
140
  @include check-mark.mark;
160
141
 
@@ -171,17 +152,12 @@
171
152
  cursor: not-allowed;
172
153
  }
173
154
 
174
- // `:not(.is-selected)` is load-bearing: this branch outranks `.is-selected`
175
- // on specificity, so without it a hovered (or keyboard-active) selected row
176
- // repaints to the neutral surface while KEEPING the selected label colour —
177
- // unreadable as soon as a brand gives the selected row a dark fill.
155
+ // `:not(.is-selected)` is load-bearing: this branch outranks `.is-selected`, and a hovered selected row would get the neutral surface with the selected label colour.
178
156
  &:hover:not(.is-disabled, .is-selected, :disabled),
179
157
  &.is-active:not(.is-disabled, .is-selected, :disabled) {
180
158
  background: var(--_option-bg-color-active);
181
159
  }
182
160
 
183
- // A tap on a phone has no hover, so the pressed state is the only feedback
184
- // that the row was hit.
185
161
  &:active:not(.is-disabled, :disabled) {
186
162
  background: var(--surface-muted);
187
163
  }
@@ -201,8 +177,7 @@
201
177
  background: var(--_option-selected-bg-color-hover);
202
178
  }
203
179
 
204
- // Same reason as the hover above: falling back to the neutral pressed fill
205
- // would strand the selected label colour on it.
180
+ // As with hover: the neutral pressed fill would strand the selected label colour on it.
206
181
  &:active:not(.is-disabled) {
207
182
  background: var(--_option-selected-bg-color);
208
183
  }
@@ -2,22 +2,12 @@
2
2
 
3
3
  $families: secondary, tertiary, error, success, warning;
4
4
 
5
- // Scoped accent recolour. A `ds-color="<family>"` attribute — on a zone
6
- // container, on a component host, or applied via the ds.color() mixin in
7
- // consumer config — flips the --accent-* pointer family to another brand/status
8
- // family for its subtree. Components read --accent-* for their accent, so the whole
9
- // subtree recolours from this one rule. Pairs with the button/icon-button `color`
10
- // input, which flips the same pointers
11
- // per instance. With no attribute, --accent-* stays the primary family (see
12
- // themes/_semantic.scss), so the default theme is unchanged.
13
-
14
- // Each pointer ends in a fallback, because a role a family does not define is not a wrong
15
- // colour: it is a GUARANTEED-INVALID value, so every declaration reading the pointer becomes
16
- // invalid at computed-value time and resets to `unset` — a label rendered as body text, a fill
17
- // rendered transparent, and nothing in the console either way. Where the fallback leads differs
18
- // by pointer and is deliberate: -hover, -pressed and -strong fall back to the family's own base
19
- // colour, the tint pointers to the family's -muted, and -on and the two focus pointers to the
20
- // theme-wide role, since no family-shaped answer exists for them.
5
+ // `ds-color="<family>"` on a container or host (or the ds.color() mixin) flips the --accent-* pointers to
6
+ // another family for its subtree.
7
+ //
8
+ // Each pointer ends in a fallback: a role a family does not define is guaranteed-invalid and would reset
9
+ // every declaration reading it to `unset` with no console message. -hover, -pressed and -strong fall
10
+ // back to the family base, tints to its -muted, -on and the focus pointers to the theme-wide role.
21
11
  @mixin family-vars($family) {
22
12
  --accent: var(--#{$family});
23
13
  --accent-hover: var(--#{$family}-hover, var(--#{$family}));
@@ -31,21 +21,12 @@ $families: secondary, tertiary, error, success, warning;
31
21
  --accent-focus-field: var(--focus-field-#{$family}, var(--focus-field));
32
22
  --accent-surface-tint: var(--#{$family}-subtitle, var(--#{$family}-muted));
33
23
 
34
- // Re-declared rather than left to inherit: `--focus-ring-color: var(--accent)` on :root
35
- // substitutes ON :root, so the brand hue is what reaches this subtree already resolved. The flat
36
- // outline colour has to be written again where the accent actually changed, or a focused row
37
- // inside an error zone rings brand-blue while every other accent around it is red.
24
+ // Re-declared: `--focus-ring-color: var(--accent)` on :root is resolved there, so the subtree would ring brand-blue.
38
25
  --focus-ring-color: var(--#{$family});
39
26
  }
40
27
 
41
- /// Recolour the DS accent for a type or scope from consumer SCSS, e.g.
42
- /// `ds-switch { @include ds.color(secondary); }`.
43
- ///
44
- /// A name outside $families is refused rather than emitted. Without this the mixin accepts any
45
- /// string and writes `--accent: var(--<whatever>)`, which is guaranteed-invalid — so every rule
46
- /// reading the accent resets to `unset` and the subtree renders as body text, with nothing in the
47
- /// console. That is the failure `check-color-families.mjs` exists to prevent, and it is the one
48
- /// form of it no CSS-side check can see: a consumer's `@include` never reaches our compiled output.
28
+ /// Recolour the DS accent for a scope from consumer SCSS, e.g. `ds-switch { @include ds.color(secondary); }`.
29
+ /// A name outside $families is refused: `--accent: var(--<unknown>)` is guaranteed-invalid and renders as body text silently.
49
30
  @mixin color($family) {
50
31
  @if not list.index($families, $family) {
51
32
  @error 'ds.color(): unknown family "#{$family}". Available: #{$families}.';
@@ -1,25 +1,13 @@
1
- // One control-box height for the field family.
2
- //
3
- // `--field-h-sm`/`-md`/`-lg` is the height scale every field-shaped control resolves
4
- // through, so retuning `--field-h-md` moves them together.
5
- //
6
- // `--ds-field-height` is the public override and beats the size class, because a
7
- // consumer setting it has already decided. Per-instance is CSS-variable scoping:
8
- // `ds-select { --ds-field-height: 44px; }`.
9
- // `$prop` is `min-height` for a box that must be able to grow — autocomplete and
10
- // multi-select wrap chips onto a second line, and a fixed height would clip them.
11
- // `--_field-height` holds the RESOLVED height, so a control that derives other
12
- // geometry from it (number-stepper sizes its buttons off its own height) can read
13
- // it back instead of restating the fallback chain.
1
+ // Resolves the control-box height through `--field-h-sm/-md/-lg`; `--ds-field-height` is the public override and beats the size class.
2
+ // `$prop` is `min-height` for a box that must grow (chips wrap). `--_field-height` holds the resolved value.
14
3
  @mixin field-box-height($size: md, $prop: height) {
15
4
  --_field-height: var(--ds-field-height, var(--field-h-#{$size}));
16
5
 
17
6
  #{$prop}: var(--_field-height);
18
7
  }
19
8
 
20
- // The box colours and type every text-entry field resolves its own token through, so one
21
- // `--ds-field-*` set retunes input, textarea, select, multi-select, autocomplete and search.
22
- // The date, time and colour pickers keep their own `-trigger-*` vocabulary and are not in it.
9
+ // One `--ds-field-*` set retunes input, textarea, select, multi-select, autocomplete and search.
10
+ // The date, time and colour pickers keep their own `-trigger-*` vocabulary.
23
11
  @mixin field-box-tokens {
24
12
  --_field-border-color: var(--ds-field-border-color, var(--border-default));
25
13
  --_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));
@@ -1,8 +1,7 @@
1
1
  @use 'focus' as focus;
2
2
 
3
- // `display: flex` on the host is load-bearing: the group stretches the host, but a
4
- // block host gives the box no height to resolve a percentage against, and the value
5
- // ends up at the top of the row instead of its centre.
3
+ // `display: flex` on the host is load-bearing: a block host gives the box no height to resolve a
4
+ // percentage against and the value sits at the top of the row.
6
5
  @mixin field-group-segment($box) {
7
6
  width: auto;
8
7
  display: flex;
@@ -29,8 +28,9 @@
29
28
  @include focus.own-indicator;
30
29
  }
31
30
 
32
- /* No blanket reset here on purpose: the block above clears the segment BOX and
33
- each field silences its own control, which leaves a tab stop inside a segment
34
- the ring it needs. */
31
+ /* No blanket reset on purpose: each field silences its own control, leaving a tab stop
32
+ inside a segment its ring. */
35
33
  }
36
34
  }
35
+
36
+ /* No blanket reset on purpose: each field silences its own control, leaving a tab stop inside a segment its ring. */
@@ -1,17 +1,6 @@
1
- // One label contract for the field family.
2
- //
3
- // One class (`.label`), one token set, resolved here, so a form mixing a select with an
4
- // input renders its labels at one size and colour. It lives in one place because
5
- // out-ranking a shimmed component rule from an app needs doubled selectors
6
- // (`.field.field .label.label`).
7
- //
8
- // A MIXIN, not a global rule: a global `.label` would match consumer markup that
9
- // happens to use the same class name. Each field pays ~6 declarations of its own CSS.
10
- //
11
- // Per-instance retune is CSS-variable scoping, so no per-component token set is
12
- // needed: `ds-select { --ds-field-label-text-transform: uppercase; }` reaches exactly
13
- // one component. ds-input keeps its older `--ds-input-label-*` trio winning above
14
- // this, since those shipped in 0.7.x.
1
+ // A mixin, not a global rule, which would match consumer markup using the same class.
2
+ // Per-instance retune is variable scoping: `ds-select { --ds-field-label-text-transform: uppercase; }`.
3
+ // ds-input's `--ds-input-label-*` trio still wins.
15
4
  @mixin field-label {
16
5
  --_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));
17
6
  --_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));
@@ -1,9 +1,5 @@
1
1
  // Keyed off `data-field-state` on the host. Only error carries a fill: a warning or success tint
2
- // measures 1.05:1 against a white field, too faint to be findable.
3
- //
4
- // Disabled takes no state paint — it is neither submitted nor validated, so an error border
5
- // promises a correction that cannot be made. Read-only keeps it, because it IS submitted.
6
- //
2
+ // measures 1.05:1 against a white field. Disabled takes no state paint; read-only keeps it.
7
3
  // The colour arguments let a component pass its own `--ds-<name>-*-error` resolver.
8
4
  @mixin field-state(
9
5
  $box,
@@ -13,9 +9,9 @@
13
9
  $warning-border: var(--warning-text),
14
10
  $success-border: var(--success)
15
11
  ) {
16
- // `:not(.in-group)`: a segment ties `.in-group` at (0,3,0) and this mixin is included last, so
17
- // without it the fill repaints one segment mid-row. `:not(.disabled)`: state is (0,3,0) against
18
- // (0,2,0), so it out-ranks every disabled rule unless it stops matching.
12
+ // `:not(.in-group)`: a segment ties `.in-group` at (0,3,0) and this mixin is included last, so the fill
13
+ // would repaint one segment mid-row. `:not(.disabled)`: state is (0,3,0) against (0,2,0) and would
14
+ // out-rank every disabled rule.
19
15
  :host([data-field-state='error']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
20
16
  border-color: #{$error-border};
21
17
  background-color: #{$error-bg};
@@ -26,8 +22,7 @@
26
22
  }
27
23
  }
28
24
 
29
- // --warning is 1.47:1 against a white field, where WCAG 1.4.11 asks 3:1 for a boundary.
30
- // --warning-text is the first rung of the ramp that clears it, at 4.59:1.
25
+ // --warning is 1.47:1 against a white field (WCAG 1.4.11 asks 3:1); --warning-text is the first ramp rung that clears it, at 4.59:1.
31
26
  :host([data-field-state='warning']:not(.in-group)) #{$box}:not(.disabled):not(:disabled) {
32
27
  border-color: #{$warning-border};
33
28
  }
@@ -1,64 +1,35 @@
1
- // Focus-indicator style, switched in ONE place: `<html data-focus="…">`.
2
- //
3
- // Two families, two mechanisms: controls take an `outline`, fields a soft halo through
4
- // `--ds-field-focus-shadow`. An outline is right for a control because `outline-offset` leaves its
5
- // gap UNPAINTED, so the ring floats over whatever the control sits on, and a negative offset draws
6
- // it inside the element where an `overflow` ancestor cannot clip it.
1
+ // Focus-indicator style, switched in one place: `<html data-focus="...">`.
2
+ // Controls take an `outline` (a negative offset draws inside an `overflow` ancestor); fields a halo through `--ds-field-focus-shadow`.
7
3
 
8
- // The control indicator.
9
- //
10
- // Does NOT touch box-shadow, so a focused card keeps its elevation; a state that paints its own
11
- // shadow there has to yield instead — see `state-shadow`.
12
- //
13
- // A ring HOST must have a radius: there is no `outline-radius`, an outline follows the
14
- // border-radius of the box it is painted on, so a square-cornered shell rings square. A shell that
15
- // exists only to carry the ring takes `--focus-ring-radius`.
16
- //
17
- // INSIDE the element's own `&:focus-visible` block, never on the element: this mixin PAINTS a
18
- // ring, it does not decide when one is shown. Put it on the rule itself and every instance is
19
- // ringed at all times, which reads as a styling choice rather than a bug and is caught by
20
- // `tools/check-focus-rings.mjs` for exactly that reason.
21
- //
22
- // Usually the answer is to include nothing at all: `:where(:focus-visible)` below already rings
23
- // anything focusable that styles nothing itself, so a control needs this only where it wants a
24
- // different offset, or where it silences the base rule and has to put one back.
25
- //
26
- // Usage: `&:focus-visible { @include focus.ring; }`, or
27
- // `@include focus.ring(calc(-1 * var(--focus-ring-offset)))` where an ancestor clips.
4
+ // The control indicator. Does not touch box-shadow, so a focused card keeps its elevation; a state
5
+ // painting its own shadow must yield, see `state-shadow`.
6
+ // An outline follows the element's border-radius: a shell that only carries the ring takes `--focus-ring-radius`.
7
+ // Include inside `&:focus-visible`, never on the element itself, or every instance is ringed at all times.
8
+ // Usually include nothing: `:where(:focus-visible)` below rings anything focusable that styles nothing itself.
9
+ // Pass a negative offset where an ancestor clips.
28
10
  @mixin ring($offset: var(--focus-ring-offset)) {
29
11
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
30
12
  outline-offset: $offset;
31
13
 
32
- // An ANIMATION, not a transition: `transition` is one property, so a declaration here would
33
- // REPLACE the component's own list while the element held focus. Colour only — animating the
34
- // offset makes the ring lag the caret on a fast Tab.
14
+ // An animation, not a transition: a `transition` here would replace the component's own list. Colour only, so the ring does not lag the caret.
35
15
  animation: ds-focus-ring-in var(--duration-fast) var(--ease-standard);
36
16
  }
37
17
 
38
- // Catches anything focusable that styles nothing itself, so it cannot fall through to
39
- // the browser default. Same mechanism as `ring`, so a shell that rings on `:focus-within`
40
- // silences its control with `owns-the-focus-ring` and no second ring appears.
18
+ // Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
19
+ // silences its control with `owns-the-focus-ring` to avoid a second ring.
41
20
  :where(:focus-visible) {
42
21
  @include ring;
43
22
  }
44
23
 
45
- // Only the FROM value is declared: the to-value is whatever the ring resolves to on that element,
46
- // so one keyframe serves every colour, width and offset the tokens can take.
47
24
  @keyframes ds-focus-ring-in {
48
25
  from {
49
26
  outline-color: transparent;
50
27
  }
51
28
  }
52
29
 
53
- // A shell that rings on its control's behalf, and silences $control in the same call — a shell
54
- // that rings without silencing paints two rings.
55
- //
56
- // `:has(:focus-visible)`, NOT `:focus-within`: the latter matches a pointer focus too, and a
57
- // checkbox is not granted `:focus-visible` on click, so a clicked control kept its ring until
58
- // focus moved away. NOT for a field shell — there `:focus-within` is correct, because clicking
59
- // into a text input does grant `:focus-visible`.
60
- //
61
- // Usage: `.control-line { @include focus.ring-for('.check'); }`
30
+ // A shell that rings on its control's behalf and silences $control in the same call.
31
+ // `:has(:focus-visible)`, not `:focus-within`: a clicked checkbox is not `:focus-visible` but matches
32
+ // `:focus-within`, so it would keep its ring. Field shells use `:focus-within` (a text input does grant `:focus-visible`).
62
33
  @mixin ring-for($control, $offset: var(--focus-ring-offset)) {
63
34
  &:has(:focus-visible) {
64
35
  @include ring($offset);
@@ -67,59 +38,48 @@
67
38
  @include owns-the-focus-ring($control);
68
39
  }
69
40
 
70
- // `$control` names ONE control, never a blanket: a box-wide reset also silences the tab stops
71
- // inside the box — a clear button, a stepper arrow.
41
+ // `$control` names one control, never a blanket, which would silence tab stops such as a clear button.
72
42
  @mixin owns-the-focus-ring($control) {
73
43
  #{$control}:where(:focus-visible) {
74
44
  @include own-indicator;
75
45
  }
76
46
  }
77
47
 
78
- // Turns the base indicator off, for a control whose SHELL rings on its behalf. The media query is
79
- // the whole point: forced colours drops `box-shadow`, so a silenced control under a halo-ringing
80
- // shell would have no indicator at all in the one mode where it is mandatory.
48
+ // Turns the base indicator off for a control whose shell rings for it. Forced colours drops
49
+ // `box-shadow`, so the outline must stay there or no indicator remains.
81
50
  @mixin own-indicator {
82
51
  @media not (forced-colors: active) {
83
52
  outline: none;
84
53
  }
85
54
  }
86
55
 
87
- // For a persistent state that paints its own box-shadow on the element carrying the ring: one
88
- // property cannot hold both, so this hands the ring the tie by intent rather than by line order.
89
- // Only where the state has ANOTHER channel — a state carried by the shadow alone would go
90
- // unreadable exactly while the user stands on it.
56
+ // A persistent state painting its own box-shadow: the ring wins while focused. Only for states with another channel.
91
57
  @mixin state-shadow($shadow) {
92
58
  &:not(:focus-visible) {
93
59
  box-shadow: $shadow;
94
60
  }
95
61
  }
96
62
 
97
- // Fields ring like controls: the halo role is retargeted at the ring token.
98
63
  :root[data-focus='ring'] {
99
64
  --ds-field-focus-shadow: var(--focus-ring);
100
65
  --ds-field-focus-shadow-error: var(--focus-ring-error);
101
66
  }
102
67
 
103
- // Hairline flush against the element — no gap in either family.
104
68
  :root[data-focus='edge'] {
105
69
  --focus-ring-offset: 0px;
106
70
  --ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
107
71
  --ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error);
108
72
  }
109
73
 
110
- // The one style NOT pinned to :root, because a clipping ancestor is a local problem:
111
- // set it on the clipping element and everything inside keeps an indicator.
74
+ // Not pinned to :root: set it on a clipping element and everything inside keeps an indicator.
112
75
  [data-focus='inset'] {
113
76
  --focus-ring-offset: calc(-1 * var(--focus-ring-width));
114
77
  --ds-field-focus-shadow: var(--focus-ring-inset);
115
78
  --ds-field-focus-shadow-error: var(--focus-ring-inset-error);
116
79
  }
117
80
 
118
- // Not part of the switch — it applies under every style, because Windows High
119
- // Contrast DROPS box-shadow and the field family's halo vanishes there completely.
81
+ // Applies under every style: forced colours drops box-shadow, so the field halo vanishes.
120
82
  @media (forced-colors: active) {
121
- // CanvasText, not a brand colour: the palette is replaced, and a system keyword is
122
- // the only value guaranteed to contrast with the forced background.
123
83
  :where(:focus-visible) {
124
84
  outline: var(--focus-ring-width) solid CanvasText;
125
85
  outline-offset: var(--focus-ring-offset);
@@ -1,5 +1,3 @@
1
- // Icon-base sizing — `.icon` class is used inside components to size <ds-icon> svg elements.
2
- // The actual <svg> is rendered by IconComponent; this class sets default size.
3
1
  .icon {
4
2
  --_icon-size: var(--ds-icon-size, var(--icon-md));
5
3
 
@@ -1,6 +1,3 @@
1
- // Layout utility classes — grid helpers. A divider is the ds-divider component,
2
- // which is the single canonical source for one.
3
-
4
1
  @use 'breakpoints' as bp;
5
2
 
6
3
  .grid-2 {
package/styles/_link.scss CHANGED
@@ -1,11 +1,8 @@
1
1
  @use 'focus' as focus;
2
2
 
3
- /* Global .link helper — pure CSS class (no Angular wrapper) so consumers
4
- can apply it to inline anchors inside <p> text without disrupting line
5
- flow. Modifiers: .quiet, .inline, .standalone, .xs, .sm, .lg. */
3
+ /* Pure CSS class so inline anchors in <p> text keep their line flow. */
6
4
 
7
5
  .link {
8
- /* Hover and active derive from the resolved color. */
9
6
  --_link-color: var(--ds-link-color, var(--text-link));
10
7
  --_link-color-hover: var(--ds-link-color-hover, color-mix(in srgb, var(--_link-color) 80%, black));
11
8
  --_link-color-active: var(--ds-link-color-active, color-mix(in srgb, var(--_link-color) 65%, black));
@@ -48,16 +45,9 @@
48
45
  flex-shrink: 0;
49
46
  }
50
47
 
51
- /* ds-button warns `variant="text"` off in favour of this class, and an action
52
- that is not navigation has to be a <button> — which arrives with UA chrome
53
- none of the rules above touch (measured: 13.3px inside 14px text, plus padding
54
- and an outset border). `:where()` keeps the reset at this class's specificity,
55
- so a consumer's rule still wins on source order.
56
-
57
- Absences are deliberate and invisible in code: no `font-weight`, so `.quiet` /
58
- `.standalone` keep deciding it, and no `display`, because inline-block is what
59
- lays a standalone button out predictably. `appearance` is the reverse — no
60
- effect in Chrome, needed where native chrome outlives a zeroed border. */
48
+ /* A `<button>` styled as a link brings UA chrome. `:where()` keeps the reset at this class's specificity
49
+ so consumer rules win. No `font-weight` (`.quiet`/`.standalone` decide it) and no `display` on purpose.
50
+ `appearance` is a no-op in Chrome but needed where native chrome outlives a zeroed border. */
61
51
  &:where(button) {
62
52
  appearance: none;
63
53
  padding: 0;
@@ -71,10 +61,6 @@
71
61
 
72
62
  &.quiet {
73
63
  color: var(--text-secondary);
74
-
75
- /* Pull the underline down to match the muted text — the base rule sets
76
- text-decoration-color to the link color, which would leave a bright
77
- underline under grey text at rest. */
78
64
  text-decoration-color: var(--text-secondary);
79
65
  font-weight: var(--font-weight-medium);
80
66
 
@@ -1,20 +1,13 @@
1
- // Enter motion for CDK-overlay panels that carry the `ds-overlay-pane`
2
- // panelClass (select, autocomplete, multi-select, date-picker, time-picker,
3
- // color-picker, popover, tooltip, menu submenu). Animates the panel's ROOT
4
- // CHILD, not the pane itself, so CDK's positioning transforms on
5
- // `.cdk-overlay-pane` are left untouched. A leave animation runs on an ambient
6
- // dismiss only; picking an option closes instantly (see `.ds-leaving` below).
1
+ // Enter motion for CDK-overlay panels carrying the `ds-overlay-pane` panelClass. Animates the panel's
2
+ // root child, not the pane, so CDK's positioning transforms are untouched. A leave runs on an ambient
3
+ // dismiss only; picking an option closes instantly.
7
4
  //
8
- // `data-ds-placement` names WHERE the panel sits relative to its trigger and is
9
- // stamped by `prepareOverlayEnter()` before the panel is attached, so the panel
10
- // always enters FROM the trigger edge: the offset axis/sign and the scale origin
11
- // both follow it. The keyframe name never changes with placement, so a mid-scroll
12
- // CDK flip redirects the motion instead of restarting it.
5
+ // `data-ds-placement` (stamped by `prepareOverlayEnter()` before attach) makes the panel enter from the
6
+ // trigger edge. The keyframe name never changes with placement, so a mid-scroll CDK flip redirects the
7
+ // motion instead of restarting it.
13
8
  //
14
- // Duration/easing stay longhands the library owns, so they outrank a consumer keyframe
15
- // carrying its own timing. Reduced motion zeroes the duration rather than dropping the
16
- // animation; at 0s `animationend` is not reliably delivered, and `disposeWithLeave`'s
17
- // 400 ms timer is what tears the pane down - which is why `.ds-leaving` is inert.
9
+ // Duration and easing are longhands so they outrank a consumer keyframe's own timing. Reduced motion
10
+ // zeroes the duration; at 0s `animationend` is unreliable, and `disposeWithLeave`'s 400 ms timer tears the pane down.
18
11
 
19
12
  .cdk-overlay-pane.ds-overlay-pane {
20
13
  --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-scale-in);
@@ -47,8 +40,7 @@
47
40
  --_overlay-enter-origin: center left;
48
41
  }
49
42
 
50
- // A chart tooltip reopens on every mark the pointer crosses, and a scale shifts its rows while it
51
- // settles, so a hop reads as the swatch drifting into place. It fades instead.
43
+ // A chart tooltip reopens on every mark crossed; a scale would shift its rows, so it fades.
52
44
  &.ds-chart-tooltip-pane {
53
45
  --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-fade-in);
54
46
  }
@@ -64,16 +56,8 @@
64
56
  transform-origin: var(--_overlay-enter-origin);
65
57
  }
66
58
 
67
- /* Leave, on an AMBIENT DISMISS only — Escape, a press outside, a scroll —
68
- which `disposeWithLeave` marks by adding `ds-leaving`. Picking an option
69
- still closes instantly: a fade on a deliberate choice reads as the panel
70
- lagging behind it, which is why the old unconditional leave was cut. Opacity
71
- only, no travel: a dismissal has nowhere to travel to, and movement would
72
- re-add exactly the lag this avoids. Reduced motion zeroes the duration at
73
- `:root`; at 0s `animationend` is not reliably delivered, and `disposeWithLeave`'s
74
- 400 ms timer tears the pane down. */
59
+ /* Ambient dismiss only (Escape, outside press, scroll), marked by `disposeWithLeave` adding `ds-leaving`. Opacity only, no travel. */
75
60
  &.ds-leaving {
76
- /* A fading panel must not swallow the click aimed at what is behind it. */
77
61
  pointer-events: none;
78
62
 
79
63
  > * {
@@ -85,24 +69,17 @@
85
69
  }
86
70
  }
87
71
 
88
- /* Global, like the enter presets: a keyframe declared in a component stylesheet
89
- is renamed by emulated encapsulation. */
72
+ /* Global: emulated encapsulation renames keyframes declared in a component stylesheet. */
90
73
  @keyframes ds-overlay-out {
91
74
  to {
92
75
  opacity: 0;
93
76
  }
94
77
  }
95
78
 
96
- /* The pane is INERT, because it is drawn over the plot it describes: on a funnel or a tight
97
- category axis the panel covers the neighbouring marks, and a pane that takes the pointer means
98
- the mark underneath never sees it - the reader is over a new segment while the panel still names
99
- the old one. Inert, the pointer reaches the mark and the panel follows it.
100
-
101
- WCAG 1.4.13 still holds. Hoverable: moving onto the panel does not dismiss it, because the
102
- pointer either stays on the mark under it or the grace period in `chart-active-mark.ts` carries
103
- the gap. Dismissible: Escape. Persistent: the panel stays while the mark is hovered, and a press
104
- pins it where the chart offers pinning - a pinned pane takes the pointer again so its text can be
105
- selected. Drop the grace and the flicker returns. */
79
+ /* Inert: the pane covers neighbouring marks, and a pointer-taking pane hides the mark underneath from the
80
+ pointer so the panel names a stale segment. WCAG 1.4.13 still holds: hoverable (the pointer stays on the
81
+ mark, or the hover grace period carries the gap), dismissible (Escape), persistent (stays while the mark
82
+ is hovered; a pinned pane takes the pointer again so its text can be selected). */
106
83
  .cdk-overlay-pane.ds-chart-tooltip-pane {
107
84
  pointer-events: none;
108
85
  }