@ids-group-ltd/ids-design-system 0.13.4 → 0.14.1

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 (247) hide show
  1. package/CHANGELOG.md +584 -0
  2. package/components.md +100 -52
  3. package/design-system.md +2 -0
  4. package/docs/agent/INDEX.md +3 -2
  5. package/docs/agent/charts/column-series-component.md +1 -1
  6. package/docs/agent/charts/ds-bar-chart.md +2 -1
  7. package/docs/agent/charts/ds-chart.md +3 -1
  8. package/docs/agent/charts/ds-config.md +3 -1
  9. package/docs/agent/charts/ds-line-chart.md +3 -3
  10. package/docs/agent/charts/ds-pie-chart.md +4 -3
  11. package/docs/agent/charts/line-series-component.md +1 -1
  12. package/docs/agent/feedback/ds-alert.md +1 -0
  13. package/docs/agent/feedback/ds-badge.md +1 -1
  14. package/docs/agent/feedback/ds-banner.md +1 -0
  15. package/docs/agent/feedback/ds-skeleton.md +2 -2
  16. package/docs/agent/feedback/ds-tag.md +1 -1
  17. package/docs/agent/forms/ds-autocomplete.md +2 -2
  18. package/docs/agent/forms/ds-button.md +1 -1
  19. package/docs/agent/forms/ds-color-picker.md +1 -1
  20. package/docs/agent/forms/ds-date-picker.md +2 -2
  21. package/docs/agent/forms/ds-filter-bar.md +1 -1
  22. package/docs/agent/forms/ds-icon-button.md +1 -1
  23. package/docs/agent/forms/ds-input.md +1 -1
  24. package/docs/agent/forms/ds-multi-select.md +2 -2
  25. package/docs/agent/forms/ds-otp-input.md +1 -1
  26. package/docs/agent/forms/ds-search.md +3 -3
  27. package/docs/agent/forms/ds-split-button.md +1 -1
  28. package/docs/agent/forms/ds-switch.md +4 -2
  29. package/docs/agent/forms/ds-textarea.md +2 -1
  30. package/docs/agent/foundations/tokens.md +1 -1
  31. package/docs/agent/navigation/ds-app-layout.md +2 -2
  32. package/docs/agent/navigation/ds-auth-layout.md +4 -4
  33. package/docs/agent/navigation/ds-page-header.md +1 -1
  34. package/docs/agent/navigation/ds-pagination.md +2 -2
  35. package/docs/agent/platform/ds-config.md +3 -3
  36. package/docs/agent/platform/ds-intl.md +33 -0
  37. package/docs/agent/surfaces/ds-accordion.md +2 -2
  38. package/docs/agent/tables/ds-cell-template.md +1 -1
  39. package/docs/agent/tables/ds-table.md +5 -4
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +9 -5
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +21 -10
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +9 -5
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +8 -8
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +13 -8
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +5 -3
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +5 -10
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +12 -8
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +21 -10
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +56 -32
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +7 -6
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +4 -3
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -4
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +15 -3
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +5 -3
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +45 -39
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +414 -105
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -5
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +22 -18
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +16 -9
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -2
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -4
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +12 -6
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +13 -7
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +40 -42
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +13 -9
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +3 -3
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +5 -4
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +27 -23
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +62 -13
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +15 -10
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -4
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +13 -7
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +22 -13
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +12 -11
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +55 -29
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +41 -12
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +13 -6
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +4 -3
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -2
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +5 -3
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +37 -4
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +8 -7
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +5 -3
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +9 -6
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +6 -4
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +20 -5
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +18 -15
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +9 -6
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +47 -38
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +5 -3
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +9 -5
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +26 -4
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +12 -10
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +8 -6
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +5 -3
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +14 -15
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  160. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +345 -66
  161. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  162. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +361 -6
  163. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  164. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  166. package/migrations/0.10.0.json +1 -1
  167. package/migrations/0.10.1.json +1 -1
  168. package/migrations/0.12.2.json +4 -1
  169. package/migrations/0.13.3.json +32 -10
  170. package/migrations/0.13.4.json +1630 -132
  171. package/migrations/0.14.0.json +615 -0
  172. package/migrations/0.14.1.json +856 -0
  173. package/migrations/0.5.0.json +10 -4
  174. package/migrations/0.7.0.json +5 -2
  175. package/migrations/0.9.0.json +5 -2
  176. package/migrations/README.md +7 -2
  177. package/package.json +1 -1
  178. package/schematics/check-overrides/index.cjs +56 -0
  179. package/schematics/check-overrides/scan.cjs +74 -0
  180. package/schematics/check-overrides/schema.json +19 -0
  181. package/schematics/check-overrides/surface.json +2304 -0
  182. package/schematics/collection.json +5 -0
  183. package/styles/_chart-frame.scss +4 -4
  184. package/styles/_chart-interactive.scss +33 -0
  185. package/styles/_chart-motion.scss +17 -10
  186. package/styles/_field-box.scss +12 -0
  187. package/styles/_overlay-motion.scss +20 -10
  188. package/styles/_skeleton-shimmer.scss +4 -1
  189. package/styles/_tokens-charts.scss +1 -1
  190. package/styles/_tokens.scss +1 -1
  191. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +11 -2
  192. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +4 -0
  193. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +5 -2
  194. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +5 -5
  195. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +7 -4
  196. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +2 -0
  197. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +5 -3
  198. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +6 -2
  199. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -0
  200. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +20 -14
  201. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +2 -0
  202. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  203. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -0
  204. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +2 -0
  205. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +11 -6
  206. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +155 -36
  207. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -2
  208. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +11 -8
  209. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -3
  210. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +2 -0
  211. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -0
  212. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +3 -0
  213. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +9 -4
  214. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +13 -13
  215. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +7 -5
  216. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
  217. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +17 -11
  218. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +6 -0
  219. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +11 -6
  220. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +2 -0
  221. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +6 -2
  222. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +17 -10
  223. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +2 -0
  224. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +25 -14
  225. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +15 -6
  226. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +9 -3
  227. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -2
  228. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +2 -0
  229. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +3 -1
  230. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +6 -1
  231. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
  232. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +6 -4
  233. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +5 -2
  234. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +2 -0
  235. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +10 -1
  236. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +1 -0
  237. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +44 -28
  238. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +2 -0
  239. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +6 -2
  240. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +15 -0
  241. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -0
  242. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +3 -0
  243. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +2 -0
  244. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +7 -5
  245. package/types/ids-group-ltd-ids-design-system-components.d.ts +83 -17
  246. package/types/ids-group-ltd-ids-design-system-core.d.ts +420 -14
  247. package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
@@ -1,7 +1,7 @@
1
- import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
1
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
2
+ import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
2
3
  import * as _angular_core from '@angular/core';
3
4
  import { ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';
4
- import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
5
5
  import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
6
6
 
7
7
  /** What a bar is, which decides where it stands rather than how it is coloured.
@@ -40,6 +40,7 @@ interface WaterfallChartStep {
40
40
  * every bar's accessible name says "increase" or "decrease" in words.
41
41
  */
42
42
  declare class WaterfallChartComponent {
43
+ protected readonly renderReady: _angular_core.Signal<boolean>;
43
44
  /** The bars in the order they are read, which is the order they happened in - a waterfall is
44
45
  * never sorted, because the sequence is the meaning. */
45
46
  readonly data: _angular_core.InputSignal<readonly WaterfallChartBar[]>;
@@ -70,10 +71,10 @@ declare class WaterfallChartComponent {
70
71
  * same and mean opposite things. */
71
72
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
73
  /** Shown in place of the plot when `data` is empty. Unset falls back to
73
- * `DS_CONFIG.chart.emptyText`. */
74
+ * `DS_INTL.chart.empty`. */
74
75
  readonly emptyText: _angular_core.InputSignal<string | null>;
75
76
  /** Shown in place of the plot while `error` is set. Unset falls back to
76
- * `DS_CONFIG.chart.errorText`. */
77
+ * `DS_INTL.chart.error`. */
77
78
  readonly errorText: _angular_core.InputSignal<string | null>;
78
79
  /** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.
79
80
  * The sign a delta carries is added around it, so a formatter never has to know about one. */
@@ -81,11 +82,12 @@ declare class WaterfallChartComponent {
81
82
  /** The clicked datum, as it was given. Fires on click and on Enter or Space. */
82
83
  readonly barClicked: _angular_core.OutputEmitterRef<WaterfallChartBar>;
83
84
  private readonly defaults;
85
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
84
86
  readonly frameResolved: _angular_core.Signal<ChartFrame>;
85
87
  readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
86
88
  readonly emptyTextResolved: _angular_core.Signal<string>;
87
89
  readonly errorTextResolved: _angular_core.Signal<string>;
88
- readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
90
+ readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
89
91
  protected readonly isEmpty: _angular_core.Signal<boolean>;
90
92
  protected readonly steps: _angular_core.Signal<readonly WaterfallChartStep[]>;
91
93
  protected readonly categories: _angular_core.Signal<string[]>;
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Signal, ElementRef, TemplateRef, ModelSignal, WritableSignal } from '@angular/core';
3
- import { ChartFormatLocation, ChartCurve, ChartThreshold, IconName, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
2
+ import { Signal, ElementRef, InjectionToken, AnimationCallbackEvent, TemplateRef, ModelSignal, WritableSignal } from '@angular/core';
3
+ import { ChartValueFormat, ChartCurve, DsIntl, ChartThreshold, IconName, ChartFrame, ChartDataTable } from '@ids-group-ltd/ids-design-system/core';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
5
  import { FieldMessageState } from '@ids-group-ltd/ids-design-system/components/field-message';
6
6
  import { Params, QueryParamsHandling, UrlTree } from '@angular/router';
@@ -57,14 +57,18 @@ declare const CHART_HEAT_COLORS: readonly string[];
57
57
 
58
58
  /** @internal */
59
59
  declare function formatValue(value: number, locale?: string): string;
60
- /** The built-in `valueFormat`: compact on a tick (`1.2M`), spelled out everywhere else
61
- * (`1 248 392`). A caller-supplied formatter receives the same `location` and decides for
60
+ /** The built-in `valueFormat` in one locale: compact on a tick (`1.2M`), spelled out everywhere
61
+ * else (`1,248,392`). A caller-supplied formatter receives the same `location` and decides for
62
62
  * itself; this is only the default.
63
63
  *
64
64
  * @internal */
65
- declare function defaultChartFormat(value: number, location: ChartFormatLocation): string;
65
+ declare function chartValueFormat(locale: string): ChartValueFormat;
66
66
  /** @internal */
67
- declare function formatPercent(value: number, total: number): string;
67
+ declare function formatPercent(value: number, total: number, locale: string): string;
68
+ /** A whole-number percentage (the pie's largest-remainder shares), in `locale`.
69
+ *
70
+ * @internal */
71
+ declare function formatWholePercent(percent: number, locale: string): string;
68
72
  /** Whole percentages that sum to exactly 100. Rounding each share on its own
69
73
  * gives 33/33/33 for three equal parts, and a legend that visibly loses 1%.
70
74
  *
@@ -79,12 +83,12 @@ declare function formatTick(value: number, step: number): string;
79
83
  * rather than subtracted from it, so a negative mark has no share rather than a misleading one.
80
84
  *
81
85
  * @internal */
82
- declare function shareOfTotal(values: readonly number[], index: number): string;
86
+ declare function shareOfTotal(values: readonly number[], index: number, locale: string): string;
83
87
  /** The same share, phrased for a tooltip line, where no column header stands above it to say what
84
88
  * the percentage is OF.
85
89
  *
86
90
  * @internal */
87
- declare function describeShare(values: readonly number[], index: number): string;
91
+ declare function describeShare(values: readonly number[], index: number, locale: string, phrase: (share: string) => string): string;
88
92
 
89
93
  /** Container width as a signal. It is 0 under SSR, while the container is
90
94
  * `display: none`, and before the first observation.
@@ -92,6 +96,18 @@ declare function describeShare(values: readonly number[], index: number): string
92
96
  * @internal */
93
97
  declare function elementWidth(host: ElementRef<HTMLElement>): Signal<number>;
94
98
 
99
+ /** Provided by a chart that has already waited for the viewport, so the `ds-chart` it draws
100
+ * through builds at once instead of waiting a second time.
101
+ *
102
+ * @internal */
103
+ declare const CHART_RENDER_GATE_PASSED: InjectionToken<boolean>;
104
+ /** Whether a chart may build its plot yet, under `DS_CONFIG.chart.rendering`. `true` from the
105
+ * start unless `deferUntilVisible` is on; with it on, `true` once the chart nears the viewport or
106
+ * is built ahead while the page is idle, and it stays `true`. Call from an injection context.
107
+ *
108
+ * @internal */
109
+ declare function chartRenderGate(): Signal<boolean>;
110
+
95
111
  /** The WIDEST label decides for all of them: an axis that thins on the average still collides on
96
112
  * the one long month name, and a reader meets the collision rather than the average.
97
113
  *
@@ -236,6 +252,13 @@ declare function roundStepAtLeast(minimumStep: number): number;
236
252
  *
237
253
  * @internal */
238
254
  declare function staggerDelay(index: number, stepMs: number): number;
255
+ /** Starts a mark's exit, bound as `(animate.leave)="leaveMark($event)"`: `_chart-motion.scss`
256
+ * animates `.mark-leave`, and Angular removes the mark on its `animationend`. The function form,
257
+ * not `animate.leave="mark-leave"`: the class form calls `getAnimations()` once per leaving mark,
258
+ * and in Chrome that call costs more the more animations are running.
259
+ *
260
+ * @internal */
261
+ declare function leaveMark(event: AnimationCallbackEvent): void;
239
262
 
240
263
  /** Where a roving tabindex lands after `key`, or `null` when the key does not traverse.
241
264
  *
@@ -254,6 +277,42 @@ declare function markAt(scope: Element | null, index: number, within?: string):
254
277
  *
255
278
  * @internal */
256
279
  declare function focusMark(scope: Element | null, index: number, within?: string): void;
280
+ /** A chart's roving tab stop.
281
+ *
282
+ * One tab stop per chart, not one per mark: WCAG 2.1.1's Understanding is explicit that not every
283
+ * mouse-operable control has to be separately focusable, and that is what keeps a twenty-five
284
+ * mark chart from being twenty-five stops in the page's tab order.
285
+ *
286
+ * @internal */
287
+ interface RovingMarks {
288
+ /** The index of the one mark that carries `tabindex="0"`. */
289
+ readonly tabStop: Signal<number>;
290
+ /** Makes `index` the tab stop, for a mark that has taken focus. */
291
+ focus(index: number): void;
292
+ /** Handles an arrow, Home or End pressed on the mark at `index`: moves the tab stop and DOM focus
293
+ * to the next mark inside `scope`. Any other key is left alone. */
294
+ navigate(event: KeyboardEvent, index: number, scope: Element | null): void;
295
+ }
296
+ /** @internal */
297
+ declare function rovingMarks(count: () => number): RovingMarks;
298
+ /** @internal */
299
+ interface MarkHit {
300
+ readonly element: Element;
301
+ readonly index: number;
302
+ }
303
+ /** The mark an event on the marks' parent came from - the nearest `[data-mark-index]` inside that
304
+ * parent - for a chart that listens once per series rather than once per mark. `null` when the
305
+ * event did not start on a mark.
306
+ *
307
+ * @internal */
308
+ declare function markOf(event: Event, scope?: EventTarget | null): MarkHit | null;
309
+ /** Focus arriving on and leaving a mark inside `scope`, heard from the document rather than from
310
+ * the marks' group: Chromium makes an SVG element focusable once it has a `focus`, `blur`,
311
+ * `focusin` or `focusout` listener, so a group that listened would take focus on a click and
312
+ * ring every mark it holds. Call from an injection context.
313
+ *
314
+ * @internal */
315
+ declare function listenForMarkFocus(scope: ElementRef<Element>, onFocus: (event: FocusEvent, mark: MarkHit) => void, onBlur?: (event: FocusEvent, mark: MarkHit) => void): void;
257
316
 
258
317
  /** @internal */
259
318
  interface SummaryPoint {
@@ -269,7 +328,7 @@ interface SummaryPoint {
269
328
  * levels of chart description, and the encoding is the one thing a screen-reader user cannot use.
270
329
  *
271
330
  * @internal */
272
- declare function describeSeries(label: string, points: readonly SummaryPoint[], format?: (value: number) => string, tableFollows?: boolean, thresholds?: readonly ChartThreshold[]): string;
331
+ declare function describeSeries(words: DsIntl['chart'], label: string, points: readonly SummaryPoint[], format?: (value: number) => string, tableFollows?: boolean, thresholds?: readonly ChartThreshold[]): string;
273
332
 
274
333
  /** @internal */
275
334
  declare function chipFit(count: Signal<number>, chipRow: Signal<ElementRef<HTMLElement> | undefined>, enabled: Signal<boolean>,
@@ -501,6 +560,13 @@ declare abstract class DsControlValueAccessor<T> extends DsFieldBase implements
501
560
  * nowhere. A control with a more precise target overrides this.
502
561
  */
503
562
  focus(options?: FocusOptions): void;
563
+ /**
564
+ * The counterpart of `focus()`: drops focus if it sits anywhere inside this
565
+ * control - the input, a picker trigger, the OTP cell that has it - so no
566
+ * subclass overrides it. A portaled panel is outside the host and is left alone.
567
+ * For a host that navigates away after `clear()`, which keeps focus on purpose.
568
+ */
569
+ blur(): void;
504
570
  private readonly bridge;
505
571
  /** Driven by the forms API via `setDisabledState`. */
506
572
  protected readonly formDisabled: WritableSignal<boolean>;
@@ -535,6 +601,8 @@ declare abstract class DsBooleanControlValueAccessor extends DsFieldBase impleme
535
601
  * nowhere. A control with a more precise target overrides this.
536
602
  */
537
603
  focus(options?: FocusOptions): void;
604
+ /** The counterpart of `focus()` - see `DsControlValueAccessor.blur`. */
605
+ blur(): void;
538
606
  /** Driven by the forms API via `setDisabledState`. */
539
607
  protected readonly formDisabled: WritableSignal<boolean>;
540
608
  protected readonly touchedSelf: WritableSignal<boolean>;
@@ -843,10 +911,6 @@ declare class DsPanelHeaderTemplateDirective {
843
911
  * child and, worse, a region created together with its text is the case screen
844
912
  * readers reliably do not announce — there is no content CHANGE to fire on. The
845
913
  * node here is created once, empty, and only its text changes.
846
- *
847
- * The text is English, which is the same debt every other library-invented string
848
- * in this package carries (see the localization item in `docs/todo.md`). It is a
849
- * count, so it is the cheapest of them to swap once a provider lands.
850
914
  * @internal
851
915
  */
852
916
  declare function announceOptionCount(count: Signal<number>, active: Signal<boolean>): void;
@@ -957,17 +1021,19 @@ interface ChartDefaultInputs {
957
1021
  /** Absent on a chart with no tooltip of its own. */
958
1022
  readonly tooltipLingerMs?: Signal<number | null>;
959
1023
  }
960
- /** Each resolved input → `DS_CONFIG.chart` → the built-in. Call from an injection context.
1024
+ /** Each resolved input → `DS_CONFIG.chart` → the built-in; copy resolves input → `DS_INTL.chart`.
1025
+ * Call from an injection context.
961
1026
  *
962
1027
  * @internal */
963
1028
  declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
1029
+ locale: string;
964
1030
  frame: Signal<ChartFrame>;
965
1031
  dataTable: Signal<ChartDataTable>;
966
1032
  emptyText: Signal<string>;
967
1033
  errorText: Signal<string>;
968
- valueFormat: Signal<typeof defaultChartFormat>;
1034
+ valueFormat: Signal<ChartValueFormat>;
969
1035
  tooltipLingerMs: Signal<number>;
970
1036
  };
971
1037
 
972
- export { CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, defaultChartFormat, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, forwardOverlayTokens, labelInterval, largestRemainder, linePath, lineSegments, linearScale, lttbDecimate, markAt, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
973
- export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, NiceDomain, PointScale, SummaryPoint };
1038
+ export { CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
1039
+ export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };