@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
@@ -3,12 +3,9 @@ import { InjectionToken, Provider, Signal } from '@angular/core';
3
3
  /**
4
4
  * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.
5
5
  *
6
- * `click` cannot be trusted there: the browser fires it at the nearest common
7
- * ancestor of the press and the release, so a drag that starts inside the dialog and
8
- * ends on the backdrop fires `click` ON THE BACKDROP, and a
9
- * `target === currentTarget` check waves it through. Hence tracking the press:
10
- * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim
11
- * is a SIBLING of the panel, which makes their common ancestor a third element.
6
+ * `click` cannot be trusted there: it fires at the nearest common ancestor of press and release,
7
+ * so a drag from inside the dialog to the backdrop fires `click` ON THE BACKDROP. Dismiss only
8
+ * when press AND release both land on the backdrop itself.
12
9
  * @internal
13
10
  */
14
11
  declare function backdropDismiss(): {
@@ -19,96 +16,75 @@ declare function backdropDismiss(): {
19
16
  type CardElevation = 'flat' | 'raised' | 'hover' | 'interactive';
20
17
  type CardPadding = 'none' | 'sm' | 'md' | 'lg';
21
18
 
22
- /** Whether the label-and-value table under a chart's plot is offered, and how. It is the non-visual
23
- * route to the numbers, so `'none'` belongs only where the same data is already in a table on the
24
- * page. */
19
+ /** Whether the label-and-value table under a chart's plot is offered, and how. It is the
20
+ * non-visual route to the numbers: use `'none'` only if the page already has the data in a table. */
25
21
  type ChartDataTable = 'toggle' | 'visible' | 'none';
26
- /** Whether a chart draws its own bordered, padded box. `'auto'` draws it; `'none'` leaves the
27
- * chart bare, for a chart placed inside a card the page has already drawn. */
22
+ /** Whether a chart draws its own bordered, padded box; `'none'` for a chart inside a card. */
28
23
  type ChartFrame = 'auto' | 'none';
29
24
  /** Where a chart-value formatter is printing: the compact `'tick'` label on the value axis, or
30
- * `'tooltip'` everywhere else a value is spelled out in full, meaning the annex table, the
31
- * generated description, and a value printed beside a mark. */
25
+ * `'tooltip'` for every value spelled out in full (annex table, description, beside a mark). */
32
26
  type ChartFormatLocation = 'tick' | 'tooltip';
33
- /** Formats every value a chart prints — the annex table and the generated description included.
34
- * Called with the location it is formatting for, so one function can abbreviate on the axis and
35
- * spell the value out everywhere else. */
27
+ /** Formats every value a chart prints, annex table and generated description included.
28
+ * Receives the location, so one function can abbreviate on the axis only. */
36
29
  type ChartValueFormat = (value: number, location: ChartFormatLocation) => string;
37
- /** How a reference line is stroked. Named rather than a `stroke-dasharray`, so the rhythm is the
38
- * design system's to retune once and the same word draws the same line on every chart. */
30
+ /** How a reference line is stroked. */
39
31
  type ChartThresholdDash = 'solid' | 'dashed' | 'dotted';
40
32
  /** A line drawn across a chart's plot at one reading - a target, a budget, an SLA - or, with `to`,
41
- * the band between two of them.
42
- *
43
- * ONE number, not a coordinate pair: a horizontal line has a single reading, and a shape that
44
- * makes it write that reading twice is a shape whose two ends can drift apart. */
33
+ * the band between two of them. */
45
34
  interface ChartThreshold {
46
35
  readonly value: number;
47
- /** Printed at the line's left end and named in the generated description. An unlabelled one
48
- * reads as "Threshold" there. */
36
+ /** Printed at the line's left end and named in the generated description (default "Threshold"). */
49
37
  readonly label?: string;
50
38
  /** Any CSS colour. Unset takes `--ds-chart-threshold-color`. */
51
39
  readonly color?: string;
52
- /** The band's other end. Present, the threshold is drawn as a filled region between the two
53
- * readings rather than a line; either order reads the same. */
40
+ /** The band's other end: the threshold is drawn as a filled region between the two readings. */
54
41
  readonly to?: number;
55
- /** Defaults to `'dashed'`, which is what separates an annotation from another series. Carries
56
- * nothing on a band, which is a fill. */
42
+ /** Defaults to `'dashed'`. Ignored on a band. */
57
43
  readonly dash?: ChartThresholdDash;
58
44
  }
59
45
  /** Which of a chart's two value axes a mark is measured against. */
60
46
  type ChartAxis = 'primary' | 'secondary';
61
- /** How a chart's second value axis relates to its first. Every name says what is done to the
62
- * GRIDLINES, which is the only thing the four modes actually differ in.
47
+ /** How a chart's second value axis relates to its first.
63
48
  *
64
- * - `'aligned'` - one set of gridlines, and the secondary axis rounds its step up to a round
65
- * number, so its series stops short of the top.
66
- * - `'exact'` - one set of gridlines, and the secondary axis ends exactly at its largest
67
- * reading, so its series uses the full height and the labels are not round.
49
+ * - `'aligned'` - one set of gridlines; the secondary axis rounds its step up, so its series
50
+ * stops short of the top.
51
+ * - `'exact'` - one set of gridlines; the secondary axis ends exactly at its largest reading,
52
+ * so the labels are not round.
68
53
  * - `'dual-grid'` - each axis is scaled and gridded on its own.
69
54
  * - `'split'` - two plots one above the other, sharing the category axis. */
70
55
  type ChartAxisMode = 'aligned' | 'exact' | 'dual-grid' | 'split';
71
- /** How a line joins its readings. `'linear'` asserts nothing the data does not say. `'step'`
72
- * holds each reading until the next, which is right for a quantity that CHANGES at a moment
73
- * rather than drifting between two. `'smooth'` is a monotone cubic: it never draws a peak or a
74
- * trough the readings do not contain, which a Catmull-Rom does. */
56
+ /** How a line joins its readings. `'step'` holds each reading until the next, for a quantity that
57
+ * CHANGES at a moment. `'smooth'` is a monotone cubic: it never draws a peak or trough the
58
+ * readings do not contain. */
75
59
  type ChartCurve = 'linear' | 'step' | 'smooth';
76
60
  /** What a `null` reading draws: a hole in the line, or a point at zero. */
77
61
  type ChartGaps = 'break' | 'zero';
78
62
  /** How several series share one category's band.
79
63
  *
80
- * - `'none'` - every series draws from the baseline at the band's centre, which is the single
81
- * series case and what a chart that was handed one list has always done.
64
+ * - `'none'` - every series draws from the baseline at the band's centre.
82
65
  * - `'grouped'` - each series takes its own slot inside the band, side by side.
83
- * - `'stacked'` - each series starts where the one before it ended, so the band's full height is
84
- * the category's total.
85
- * - `'normalized'` - stacked, then divided by the category's own total, so every band is full and
86
- * the axis reads in shares rather than in the data's own unit.
87
- *
88
- * Unrelated to `ChartAxisMode`'s `'split'`, which puts two PLOTS one above the other. */
66
+ * - `'stacked'` - each series starts where the one before it ended.
67
+ * - `'normalized'` - stacked, then divided by the category's total: the axis reads in shares. */
89
68
  type ChartStackMode = 'none' | 'grouped' | 'stacked' | 'normalized';
90
- /** How charts build themselves on a long page, set once for an app in `DS_CONFIG.chart.rendering`.
91
- * Everything is off unless `deferUntilVisible` is on: a screen with a few charts draws them at
92
- * once, with nothing waiting and nothing to flicker. */
69
+ /** How charts build themselves on a long page, set in `DS_CONFIG.chart.rendering`.
70
+ * Everything is off unless `deferUntilVisible` is on. */
93
71
  interface ChartRendering {
94
72
  /** Build a chart only when it comes near the viewport; until then it shows its loading
95
- * placeholder at its own height, and a screen reader meets its caption and nothing else.
96
- * Default `false`. For a page with dozens of charts - a dashboard, a report - where building
97
- * them all at once stalls the page. */
73
+ * placeholder at its own height. Default `false`. For pages with dozens of charts. */
98
74
  deferUntilVisible?: boolean;
99
75
  /** How far outside the viewport a deferred chart is built, as an `IntersectionObserver`
100
- * `rootMargin`. Default `'10% 0px'`: near enough that its entrance still plays on screen. */
76
+ * `rootMargin`. Default `'10% 0px'`. */
101
77
  visibleMargin?: string;
102
- /** Also build the deferred charts within `buildAheadMargin` while the page is idle, so the next
103
- * scroll finds them ready. Default `true`. Skipped where `requestIdleCallback` does not exist. */
78
+ /** Also build deferred charts within `buildAheadMargin` while the page is idle. Default `true`.
79
+ * Skipped where `requestIdleCallback` does not exist. */
104
80
  buildAheadWhileIdle?: boolean;
105
81
  /** The reach of `buildAheadWhileIdle`, as a `rootMargin`. Default `'100% 0px'`, one viewport. */
106
82
  buildAheadMargin?: string;
107
- /** Milliseconds of chart building one task may spend before it yields, so no frame waits on a
108
- * queue of charts. Default `8`. A single chart that takes longer is still built whole. */
83
+ /** Milliseconds of chart building one task may spend before it yields. Default `8`. A single
84
+ * chart that takes longer is still built whole. */
109
85
  frameBudgetMs?: number;
110
- /** With `deferUntilVisible`, also let the browser skip a built chart's style, layout and paint
111
- * while it is off screen, through `content-visibility: auto`. Default `true`. */
86
+ /** With `deferUntilVisible`, also skip a built chart's style, layout and paint while off screen
87
+ * (`content-visibility: auto`). Default `true`. */
112
88
  skipWhileOffscreen?: boolean;
113
89
  }
114
90
 
@@ -200,15 +176,12 @@ declare const ICONS: {
200
176
  readonly wifi: "<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />";
201
177
  readonly 'wifi-off': "<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />";
202
178
  };
203
- /** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —
204
- * the type widens to `string` so any custom name is accepted at the call site (at the cost of
205
- * autocomplete for those custom names). */
179
+ /** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
180
+ * type widens to `string` so a custom name is accepted, without autocomplete. */
206
181
  type IconName = keyof typeof ICONS | (string & {});
207
182
 
208
183
  /**
209
- * Canonical control-size scale — the shared vocabulary components bind their
210
- * `size` input to. A component that needs extra steps extends this base with its
211
- * own (component-named) type, kept inside that component.
184
+ * Canonical control-size scale that components bind their `size` input to.
212
185
  */
213
186
  type DsSize = 'sm' | 'md' | 'lg';
214
187
 
@@ -223,36 +196,25 @@ interface DsToastPosition {
223
196
  type PaginationLayout = 'grouped' | 'spread';
224
197
 
225
198
  interface DsConfig {
226
- /** BCP-47 locale every component formats numbers and dates in - chart values and
227
- * percentages, `ds-date-picker`, file sizes in `ds-dropzone`. Default is Angular's
228
- * `LOCALE_ID`, which is `'en-US'` unless the app provides it, so the library prints numbers
229
- * the way the app's own `| number` does. Set it here only where the library must differ
230
- * from `LOCALE_ID`. A section key that names a locale (`datePicker.locale`) wins over this. */
199
+ /** BCP-47 locale every component formats numbers and dates in. Default is Angular's
200
+ * `LOCALE_ID`. A section key that names a locale (`datePicker.locale`) wins over this. */
231
201
  locale?: string;
232
202
  field?: {
233
- /** Default for every field's `reserveMessage` — keeps a message line's worth
234
- * of space even when empty. Default `false`. Setting `true` here applies to
235
- * EVERY field in the injector's subtree, which is rarely what a whole app
236
- * wants; prefer `dsReserveMessages` on the individual form that validates. */
203
+ /** Default for every field's `reserveMessage`. Default `false`. `true` applies to EVERY field
204
+ * in the injector's subtree; prefer `dsReserveMessages` on the form that validates. */
237
205
  reserveMessage?: boolean;
238
- /** Fallback text per validation-error kind, for errors whose validator did
239
- * not carry a `message` — Angular's built-ins never do, so this is where
240
- * `required`, `minlength`, `email` and friends get their wording. A message
241
- * on the error itself always wins, so one shared map here plus a per-case
242
- * override at the validator covers both. Unmapped kinds warn in dev. */
206
+ /** Fallback text per validation-error kind, for validators with no `message` (Angular's
207
+ * built-ins never carry one). A message on the error itself wins. Unmapped kinds warn in dev. */
243
208
  errorMessages?: Record<string, string>;
244
- /** Leading glyph on a field's message line, per state. Defaults carry one for
245
- * `error`, `warning` and `success` and NONE for `hint`, which is resting text
246
- * rather than a state. Each key is independent — a glyph name replaces the
247
- * default, `false` removes it, and `stateIcons: false` removes all four.
248
- *
249
- * The glyphs exist because warning and success differ from each other by hue
250
- * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */
209
+ /** Leading glyph on a field's message line, per state. Defaults carry one for `error`,
210
+ * `warning` and `success` (WCAG 1.4.1: not hue alone) and NONE for `hint`. Each key is
211
+ * independent: a glyph name replaces the default, `false` removes it, and
212
+ * `stateIcons: false` removes all four. */
251
213
  stateIcons?: false | {
252
214
  error?: IconName | false;
253
215
  warning?: IconName | false;
254
216
  success?: IconName | false;
255
- /** The `default` state — the hint line. Off unless set. */
217
+ /** The `default` state (the hint line). Off unless set. */
256
218
  hint?: IconName | false;
257
219
  };
258
220
  };
@@ -261,18 +223,17 @@ interface DsConfig {
261
223
  clickable?: boolean;
262
224
  };
263
225
  timePicker?: {
264
- /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */
226
+ /** Display format for `ds-time-picker` / date-picker time - 24h or 12h AM/PM. Default `'24h'`. */
265
227
  format?: '24h' | '12h';
266
228
  };
267
229
  avatar?: {
268
- /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule
269
- * takes the first two words, which is a Latin-script guess — an app whose names
270
- * follow another convention supplies its own here. */
230
+ /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule takes the
231
+ * first two words (a Latin-script guess). */
271
232
  initials?: (name: string) => string;
272
233
  };
273
234
  brand?: {
274
- /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the
275
- * source of the letter-mark's glyph when `logoLetter` is unset. */
235
+ /** Brand text for `ds-sidenav` and `ds-auth-layout`: the wordmark, and the source of the
236
+ * letter-mark's glyph when `logoLetter` is unset. */
276
237
  name?: string;
277
238
  /** Letter-mark glyph when it differs from the brand's first character. */
278
239
  logoLetter?: string;
@@ -280,54 +241,42 @@ interface DsConfig {
280
241
  tagline?: string;
281
242
  };
282
243
  modal?: {
283
- /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.
284
- * Configurable app-wide because a `ModalService` confirm renders a card with no
285
- * `ds-modal` ancestor to bind — an attribute cannot reach it. */
244
+ /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`. */
286
245
  dividers?: boolean;
287
246
  };
288
247
  banner?: {
289
- /** Default for every `ds-banner`'s `announce`. Default `false`, because an
290
- * `alert` region fires on INSERTION: a banner that is page furniture would
291
- * interrupt the reader on every route into the page. Set `true` where the app
292
- * raises banners in response to events, and bind `[announce]="false"` on the
293
- * furniture. `ds-alert` has its own key, so the two can differ. */
248
+ /** Default for every `ds-banner`'s `announce`. Default `false`: an `alert` region fires on
249
+ * INSERTION, so page-furniture banners would interrupt on every route. Set `true` where banners
250
+ * answer events, and bind `[announce]="false"` on the furniture. `ds-alert` has its own key. */
294
251
  announce?: boolean;
295
252
  };
296
253
  alert?: {
297
- /** Default for every `ds-alert`'s `announce`. Default `false`, for the reason
298
- * under `banner.announce`. */
254
+ /** Default for every `ds-alert`'s `announce`. Default `false`, as `banner.announce`. */
299
255
  announce?: boolean;
300
256
  };
301
257
  toast?: {
302
258
  /** Where the stack sits. Merged field by field over the built-in
303
- * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */
259
+ * `right` / `top` / `var(--space-6)`. */
304
260
  position?: Partial<DsToastPosition>;
305
- /** Maximum number of toasts visible at once. Extras are queued and shown as
306
- * earlier ones dismiss. Default `5`; `0` means unlimited. */
261
+ /** Maximum number of toasts visible at once; extras queue. Default `5`; `0` is unlimited. */
307
262
  maxVisible?: number;
308
263
  /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */
309
264
  showQueueCount?: boolean;
310
265
  };
311
266
  picker?: {
312
- /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's
313
- * filter row, `false` never, and a NUMBER is a threshold — the row appears once
314
- * there are at least that many options. Default `true`. One threshold for the
315
- * app is the point: left to each call site, two panels of the same length in
316
- * the same screen end up disagreeing. */
267
+ /** Default for `ds-multi-select`'s `searchable`. `true` always shows the panel's filter row,
268
+ * `false` never, and a NUMBER is a threshold: the row appears once there are at least that
269
+ * many options. Default `true`. */
317
270
  searchable?: boolean | number;
318
271
  };
319
272
  control?: {
320
- /** Default `size` for every control on the field-height contract. Default `'md'`.
321
- *
322
- * A different axis from `[data-density]`: that tier rewrites hit targets and
323
- * padding in CSS, this picks which of the three declared sizes a control renders
324
- * at. A screen that differs still binds `size` per element. */
273
+ /** Default `size` for every control on the field-height contract. Default `'md'`. A different
274
+ * axis from `[data-density]`, which rewrites hit targets and padding in CSS. */
325
275
  size?: DsSize;
326
276
  };
327
277
  pagination?: {
328
278
  /** Default `size` for every pager, `ds-table`'s footer included. Unset falls back to
329
- * `control.size`, so this is where a pager gets bigger targets than the rest of the
330
- * controls without resizing them all. */
279
+ * `control.size`. */
331
280
  size?: DsSize;
332
281
  /** Default `layout` for every pager, `ds-table`'s footer included. Default `'grouped'`. */
333
282
  layout?: PaginationLayout;
@@ -339,18 +288,12 @@ interface DsConfig {
339
288
  padding?: CardPadding;
340
289
  };
341
290
  table?: {
342
- /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the
343
- * horizontal bar reachable on a tall table. Default `false`. Here rather than
344
- * per table because every new table is one forgotten binding away from
345
- * scrolling invisibly. */
291
+ /** Default for `ds-table`'s `stickyScrollbar` (keeps the horizontal bar reachable). Default `false`. */
346
292
  stickyScrollbar?: boolean;
347
- /** Default for `ds-table`'s `bordered` — the outer border and radius.
348
- * Default `false`. */
293
+ /** Default for `ds-table`'s `bordered` (the outer border and radius). Default `false`. */
349
294
  bordered?: boolean;
350
- /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes
351
- * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom
352
- * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app
353
- * whose scrollports end somewhere else, so every table agrees without a binding each. */
295
+ /** Default for `ds-table`'s `stickyScrollbarOffset`, as any CSS length. Unset, each table
296
+ * cancels its scroll container's bottom padding. */
354
297
  stickyScrollbarOffset?: string;
355
298
  };
356
299
  icon?: {
@@ -358,76 +301,56 @@ interface DsConfig {
358
301
  size?: number;
359
302
  };
360
303
  badge?: {
361
- /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */
304
+ /** Default for `ds-badge`'s `withDot` (the leading status dot). Default `false`. */
362
305
  withDot?: boolean;
363
306
  };
364
307
  chart?: {
365
- /** Default `dataTable` for all five charts. Default `'none'`. It is an accessibility policy
366
- * rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is
367
- * decided once for an app, not thirty times, so an app that wants the annex everywhere sets
368
- * `'toggle'` here once rather than on every chart. Off by default: a chart usually sits in a
369
- * page that already carries its numbers, and an unasked-for disclosure under every plot is
370
- * chrome the page did not ask for. */
308
+ /** Default `dataTable` for every chart. Default `'none'`; `'toggle'` offers the annex everywhere. */
371
309
  dataTable?: ChartDataTable;
372
- /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it.
373
- * Whether charts live inside cards is decided once for an app — a page that puts every chart
374
- * in a card sets `'none'` here rather than reaching into five components' chrome from a
375
- * global stylesheet. */
310
+ /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it. */
376
311
  frame?: ChartFrame;
377
- /** How long every chart's tooltip stays after the pointer leaves the mark, in milliseconds.
378
- * Default 0. Raise it only where the panels carry something a reader has to reach — WCAG
379
- * 1.4.13's hoverable clause — which is a property of what an app puts in its tooltips rather
380
- * than of one plot. About 140 is enough to cross the gap at an ordinary pointer speed. */
312
+ /** How long a chart's tooltip stays after the pointer leaves the mark, in milliseconds.
313
+ * Default 500; zero closes it at once. */
381
314
  tooltipLingerMs?: number;
382
- /** Whether a click on a mark, or on a category under the category cursor, holds its tooltip
383
- * and highlight in place, for every chart. Default `true`. A held mark shows a pin disc; a
384
- * second click, Escape or a press elsewhere lets go. A tap holds whatever this says. */
315
+ /** Whether a click on a mark or category holds its tooltip and highlight. Default `true`.
316
+ * A second click, Escape or a press elsewhere releases. A tap holds whatever this says. */
385
317
  pinOnClick?: boolean;
386
- /** How long the pointer rests on a mark, a category or a legend entry before the chart answers
387
- * it - highlight and tooltip alike - in milliseconds. Default 500. Once a chart has answered,
388
- * the next mark answers at once until the pointer leaves the chart; focus, a tap and a click
389
- * that pins answer at once. */
318
+ /** Milliseconds the pointer rests on a mark, category or legend entry before the chart answers.
319
+ * Default 0. After one answer the next is immediate until the pointer leaves the chart;
320
+ * focus, a tap and a pinning click are always immediate. */
390
321
  hoverDelayMs?: number;
391
- /** How every chart formats its values, the annex table and the generated description included.
392
- * Default groups digits in `locale` and abbreviates on a tick (`1.2M`). The same reason
393
- * `datePicker.locale` lives here: a number reads one way in an app, and a formatter passed
394
- * per chart drifts as soon as there are two screens. */
322
+ /** Whether a chart's tooltip draws a colour dot beside each reading. Unset draws them for two
323
+ * to four readings. */
324
+ tooltipSwatches?: boolean;
325
+ /** How charts format values, annex table and description included. Default groups digits in
326
+ * `locale` and abbreviates on a tick (`1.2M`). */
395
327
  valueFormat?: ChartValueFormat;
396
- /** How charts build themselves on a long page: build each one as it nears the viewport, build
397
- * ahead while idle, skip the ones off screen. All off by default. */
328
+ /** How charts build themselves on a long page. All off by default. */
398
329
  rendering?: ChartRendering;
399
330
  };
400
331
  datePicker?: {
401
332
  /** BCP-47 locale for `ds-date-picker` names and value format. Unset falls back to
402
333
  * `locale`, then `LOCALE_ID`. */
403
334
  locale?: string;
404
- /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */
335
+ /** Explicit token format, e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */
405
336
  dateFormat?: string;
406
- /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */
337
+ /** First weekday column: 0=Sunday to 6=Saturday. Default `1` (Monday). */
407
338
  firstDayOfWeek?: number;
408
339
  };
409
340
  }
410
341
  declare const DS_CONFIG: InjectionToken<DsConfig>;
411
- /** Provide DS-level defaults.
412
- *
413
- * providers: [provideDsConfig({ control: { size: 'sm' } })]
342
+ /** Provides DS-level defaults: `providers: [provideDsConfig({ control: { size: 'sm' } })]`.
414
343
  *
415
- * Works at the app root, on a `Route`, or on a component/directive — the config
416
- * resolves through the element-injector chain, so a subtree can differ from the
417
- * app. Component inputs (e.g. `<ds-card padding="lg">`) still win.
344
+ * Works at the app root, on a `Route`, or on a component/directive. Component inputs still win.
418
345
  *
419
- * A nested call MERGES with the config above it section by section; only the keys
420
- * you name are replaced. ONE call per injector, though: two in the SAME
421
- * `providers` array both resolve their parent with `skipSelf`, so the later wins
422
- * and the earlier is silently lost.
346
+ * A nested call MERGES with the config above it section by section; only the keys you name are
347
+ * replaced. Several calls in one `providers` array merge in order, the later winning per key.
423
348
  */
424
349
  declare function provideDsConfig(config: DsConfig): Provider;
425
350
  /**
426
- * The factory body behind `provideDsConfig`, exported so a directive can put the
427
- * provider in its metadata as a plain object literal. Calling `provideDsConfig`
428
- * there instead runs at module-evaluation time, which makes the module
429
- * side-effectful and costs the consumer its tree-shaking (measured at +566 kB
430
- * moved into the eager chunk).
351
+ * The factory body behind `provideDsConfig`, exported so a directive can put the provider in its
352
+ * metadata as an object literal: calling `provideDsConfig` there makes the module side-effectful
353
+ * and defeats tree-shaking.
431
354
  *
432
355
  * Must be called from an injection context.
433
356
  */
@@ -436,31 +359,21 @@ declare function inheritDsConfig(config: DsConfig): DsConfig;
436
359
  /**
437
360
  * Resolve an input against `DS_CONFIG`, then a built-in default.
438
361
  *
439
- * The input must be typed `T | null` and default to `null`: a signal input cannot
440
- * report whether it was bound, so `null` is what separates "not set" from an explicit
441
- * value. Precedence is input → config → built-in. Call from an injection context.
362
+ * The input must be typed `T | null` and default to `null`: a signal input cannot report
363
+ * whether it was bound. Precedence is input → config → built-in. Call from an injection context.
442
364
  * @internal
443
365
  */
444
366
  declare function resolveWithConfig<T>(value: Signal<T | null>, pick: (config: DsConfig) => T | undefined, fallback: T): Signal<T>;
445
367
 
446
368
  /**
447
- * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any
448
- * signal the condition reads changes, so without that a static misconfiguration would log again
449
- * on every keystroke.
450
- *
451
- * Returning the message from the condition keeps the two together — a condition
452
- * that drifts from its message is how a warning ends up describing a state that
453
- * cannot happen any more.
369
+ * Warns once per distinct message: the effect re-runs whenever a signal the condition reads
370
+ * changes, so a static misconfiguration would otherwise log on every keystroke.
454
371
  *
455
372
  * Must be called from an injection context.
456
373
  *
457
- * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is
458
- * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for
459
- * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque
460
- * call — can never allow. It cannot become a helper function for the same reason.
461
- *
462
- * It does work: `ds-stat`, `ds-split-button` and `ds-toast-region` keep no message text in the
463
- * shipped bundle.
374
+ * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`: a BUILD-time
375
+ * expression a minifier folds away with the message, which the opaque `isDevMode()` call never
376
+ * allows. It cannot become a helper function for the same reason.
464
377
  * @internal
465
378
  */
466
379
  declare function devWarn(message: () => string | null): void;
@@ -474,12 +387,10 @@ interface AnnounceState {
474
387
  announce: boolean | null;
475
388
  }
476
389
  /**
477
- * The two ways `announce` on `ds-banner` / `ds-alert` goes wrong without anyone deciding it. An
478
- * assertive element left unbound while the app has not set `DS_CONFIG.<section>.announce` is one a
479
- * screen reader will not hear; a polite one that announces only because that key is `true` is
480
- * nearly always page furniture written after the key was adopted. Each warns once per instance,
481
- * in dev mode only; the caller wraps the call in the `typeof ngDevMode` guard (see `devWarn`).
482
- * Must be called from an injection context.
390
+ * Warns about two undecided `announce` cases on `ds-banner` / `ds-alert`: an assertive element
391
+ * left unbound while `DS_CONFIG.<section>.announce` is unset (not heard), and a polite one that
392
+ * announces only because that key is `true`. Once per instance, dev mode only; the caller wraps
393
+ * the call in the `typeof ngDevMode` guard (see `devWarn`). Must be called from an injection context.
483
394
  * @internal
484
395
  */
485
396
  declare function warnAnnounceOversight(tag: 'ds-banner' | 'ds-alert', section: 'banner' | 'alert', state: () => AnnounceState): void;
@@ -525,7 +436,7 @@ interface DsIntl {
525
436
  readonly removeChip: (label: string) => string;
526
437
  /** `'selected'` - multi-select compact trigger badge `countLabel`. */
527
438
  readonly selectedNoun: string;
528
- /** `'No results'` / `'1 result'` / `` `${n} results` `` - picker-announcer.ts. */
439
+ /** `'No results'` / `'1 result'` / `` `${n} results` `` - picker live region. */
529
440
  readonly resultCount: (count: number) => string;
530
441
  };
531
442
  readonly datePicker: {
@@ -739,9 +650,7 @@ interface DsIntl {
739
650
  readonly failed: string;
740
651
  };
741
652
  readonly chart: {
742
- /** Was `DS_CONFIG.chart.emptyText`'s default. */
743
653
  readonly empty: string;
744
- /** Was `DS_CONFIG.chart.errorText`'s default. */
745
654
  readonly error: string;
746
655
  /** `'Chart'` - accessible-name fallback, 6 charts. */
747
656
  readonly title: string;
@@ -816,14 +725,13 @@ declare const DS_INTL: InjectionToken<Signal<DsIntl>>;
816
725
  * providers: [provideDsIntl({ picker: { selectAll: 'Выбрать все' } })]
817
726
  *
818
727
  * Pass an object for a fixed language, or a factory returning a signal for a language that
819
- * changes at runtime; the factory runs in an injection context, so it can inject the app's own
820
- * language service:
728
+ * changes at runtime (the factory runs in an injection context):
821
729
  *
822
730
  * provideDsIntl(() => { const language = inject(LanguageService); return computed(() => language.dictionary().ds); })
823
731
  *
824
- * Works at the root, on a `Route` or on a component. A nested call MERGES with the one above it
825
- * section by section, for the reason given on `provideDsConfig`. Numbers and dates do not come
826
- * from here: they follow `DsConfig.locale`, then `LOCALE_ID`. */
732
+ * Works at the root, on a `Route` or on a component; a nested call MERGES section by section,
733
+ * as `provideDsConfig` does, and several calls in one `providers` array merge in order. Numbers
734
+ * and dates follow `DsConfig.locale`, then `LOCALE_ID`. */
827
735
  declare function provideDsIntl(overrides: DsIntlOverrides | (() => Signal<DsIntlOverrides>)): Provider;
828
736
 
829
737
  /** English wording for every string the library invents. Used unless `provideDsIntl` overrides
@@ -838,13 +746,8 @@ declare const DS_INTL_DEFAULTS: DsIntl;
838
746
  declare function injectDsLocale(): string;
839
747
 
840
748
  /**
841
- * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends
842
- * `undefined` when the schema sets no bound. The DS spells an absent bound as
843
- * `null`, so the write type has to accept both while the read type stays what it
844
- * always was — otherwise every internal use and every consumer moves for nothing.
845
- *
846
- * Declared once here because it was copy-pasted across three controls, and an
847
- * explanation in three places is an explanation that drifts in two of them.
749
+ * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends `undefined`
750
+ * for no bound; the DS spells it `null`, so the write type accepts both.
848
751
  * @internal
849
752
  */
850
753
  declare function optionalBound(value: number | null | undefined): number | null;
@@ -853,28 +756,20 @@ declare function optionalBound(value: number | null | undefined): number | null;
853
756
  */
854
757
  declare function boundOr(fallback: number): (value: number | undefined) => number;
855
758
 
856
- /** True when the key landed on a control that consumes its own keystrokes, so a
857
- * container listening on the way up must leave the event alone.
759
+ /** True when the key landed on a control that consumes its own keystrokes.
858
760
  * @internal
859
761
  */
860
762
  declare function isTextEntryTarget(event: Event): boolean;
861
763
 
862
764
  /** True when `element` is showing less text than it holds, horizontally.
863
765
  *
864
- * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the
865
- * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house
866
- * `single-line-ellipsis` mixin earn a disclosure.
867
- *
868
- * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its
869
- * `clientWidth`, so a caller that clamps has to compare line counts instead.
766
+ * Descendants count: a template-driven cell puts the ellipsis on a child. Only horizontal:
767
+ * a clamped block hides whole LINES with `scrollWidth` equal to `clientWidth`.
870
768
  */
871
769
  declare function isTextClipped(element: HTMLElement): boolean;
872
770
 
873
771
  /**
874
- * Index arithmetic for a keyboard cursor over a list of options.
875
- *
876
- * Every picker walks the same four ways — next, previous, first, last — skipping
877
- * whatever is disabled and wrapping at the ends.
772
+ * Index arithmetic for a keyboard cursor over options: skips disabled entries, wraps at the ends.
878
773
  */
879
774
  interface DsListCursorList {
880
775
  length: number;
@@ -889,35 +784,25 @@ declare function lastEnabledIndex(list: DsListCursorList): number;
889
784
  /**
890
785
  * The next enabled index `step` away from `from`, wrapping at both ends.
891
786
  *
892
- * `from` of -1 means "no cursor yet": stepping forward lands on the first
893
- * enabled entry and stepping back on the last, which is what a reader expects
894
- * from a freshly opened panel.
787
+ * `from` of -1 means "no cursor yet".
895
788
  * @internal
896
789
  */
897
790
  declare function nextEnabledIndex(list: DsListCursorList, from: number, step: number): number;
898
791
 
899
792
  /**
900
- * The shape every picker's option shares — select, multi-select, autocomplete.
901
- * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its
902
- * own exported name: those are public API.
903
- *
904
- * `T` exists because autocomplete carries typed values; the other two are keyed
905
- * by string.
793
+ * The shape every picker's option shares (select, multi-select, autocomplete). Each keeps its
794
+ * own exported name. `T` exists because autocomplete carries typed values.
906
795
  */
907
796
  interface DsOption<T = string> {
908
797
  value: T;
909
798
  label: string;
910
799
  disabled?: boolean;
911
- /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a
912
- * reader hears the reason instead of only meeting a dead row. Ignored unless
913
- * `disabled` is set. */
800
+ /** Why this option cannot be picked; reaches the row as `aria-describedby`. Needs `disabled`. */
914
801
  disabledReason?: string;
915
- /** Rendered before the label at 16px by every picker's option row. */
802
+ /** Rendered before the label at 16px. */
916
803
  icon?: IconName;
917
804
  }
918
- /**
919
- * A labelled section of options. `disabled` turns the whole section off.
920
- */
805
+ /** A labelled section of options. `disabled` turns the whole section off. */
921
806
  interface DsOptionGroup<T = string> {
922
807
  label: string;
923
808
  options: DsOption<T>[];
@@ -925,8 +810,6 @@ interface DsOptionGroup<T = string> {
925
810
  }
926
811
  /**
927
812
  * What a picker's `options` input takes: flat options, groups, or both mixed.
928
- * One input rather than two, because a second `optionGroups` input can only
929
- * answer "what if both are set" by silently ignoring one.
930
813
  */
931
814
  type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;
932
815
  declare function isDsOptionGroup<T>(item: DsOptionItem<T>): item is DsOptionGroup<T>;
@@ -936,9 +819,8 @@ declare function flattenDsOptions<T>(items: readonly DsOptionItem<T>[]): DsOptio
936
819
  /** Canonical status vocabulary shared across status-bearing components. */
937
820
  type DsStatus = 'info' | 'success' | 'warning' | 'error';
938
821
  /**
939
- * Consumer-extensible registry of product status keys for ds-badge / ds-status-dot.
940
- * The DS ships it EMPTY — no statuses are predefined. A consumer registers keys
941
- * via declaration merging to get autocomplete on the `status` input:
822
+ * Registry of product status keys for ds-badge / ds-status-dot. Ships EMPTY; register keys via
823
+ * declaration merging to get autocomplete on `status`:
942
824
  *
943
825
  * declare module '@ids-group-ltd/ids-design-system' {
944
826
  * interface DsStatusRegistry { shipped: true; delivered: true; }
@@ -947,26 +829,20 @@ type DsStatus = 'info' | 'success' | 'warning' | 'error';
947
829
  interface DsStatusRegistry {
948
830
  }
949
831
  /**
950
- * The `status` input type. When the registry is empty (unaugmented) this is an
951
- * open `string`; once a consumer augments DsStatusRegistry it narrows to the
952
- * union of their keys (autocomplete). The tuple wrap avoids `never` distribution.
832
+ * The `status` input type: an open `string` until a consumer augments `DsStatusRegistry`, then
833
+ * the union of their keys. The tuple wrap avoids `never` distribution.
953
834
  */
954
835
  type DsStatusKey = [keyof DsStatusRegistry] extends [never] ? string : keyof DsStatusRegistry;
955
836
 
956
837
  /**
957
838
  * What a picker's trigger shows.
958
839
  *
959
- * `full` is the control's own display — chips, or the selected value.
840
+ * `full` is the control's own display: chips, or the selected value.
960
841
  *
961
- * `count` is a caption and a selected-count badge at intrinsic width, for a filter
962
- * toolbar where a field that grows with the selection does not fit. `labels` is the
963
- * same footprint but names what is selected instead of counting it, cut to what the
964
- * trigger is wide enough for, with the rest behind "+N" — the same measurement the
965
- * chips already use.
842
+ * `count` is a caption and a selected-count badge at intrinsic width, for a filter toolbar.
843
+ * `labels` has the same footprint but names the selection, cut to what fits, the rest behind "+N".
966
844
  *
967
- * Only pickers that hold several values offer the other two: a single-value control
968
- * has nothing to count and nothing to list, and its `full` trigger is already the
969
- * caption plus the value.
845
+ * Only pickers that hold several values offer the other two.
970
846
  */
971
847
  type DsTriggerDisplay = 'full' | 'count' | 'labels';
972
848
 
@@ -974,9 +850,8 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
974
850
  * How a control sizes itself and its overlay panel.
975
851
  *
976
852
  * `fill` stretches to the container and pins the panel to the trigger's width.
977
- * `content` hugs the trigger and takes that width as the panel's FLOOR, so the
978
- * panel still grows to its options — without it a short trigger gives a panel
979
- * too narrow to read.
853
+ * `content` hugs the trigger and takes that width as the panel's FLOOR, so the panel still
854
+ * grows to its options.
980
855
  */
981
856
  type DsControlWidth = 'fill' | 'content';
982
857