@ids-group-ltd/ids-design-system 0.13.3 → 0.14.0

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 (312) hide show
  1. package/CHANGELOG.md +1104 -14
  2. package/components.md +567 -34
  3. package/design-system.md +9 -0
  4. package/docs/agent/INDEX.md +57 -15
  5. package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
  6. package/docs/agent/charts/column-series-component.md +8 -0
  7. package/docs/agent/charts/ds-bar-chart.md +6 -1
  8. package/docs/agent/charts/ds-chart-data-table.md +10 -0
  9. package/docs/agent/charts/ds-chart.md +10 -0
  10. package/docs/agent/charts/ds-column-chart.md +5 -1
  11. package/docs/agent/charts/ds-funnel-chart.md +5 -1
  12. package/docs/agent/charts/ds-heatmap-chart.md +20 -0
  13. package/docs/agent/charts/ds-line-chart.md +8 -4
  14. package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
  15. package/docs/agent/charts/ds-scatter-chart.md +20 -0
  16. package/docs/agent/charts/ds-waterfall-chart.md +20 -0
  17. package/docs/agent/charts/line-series-component.md +8 -0
  18. package/docs/agent/charts/reference-label-component.md +8 -0
  19. package/docs/agent/charts/reference-line-component.md +8 -0
  20. package/docs/agent/charts/series-annotation-component.md +10 -0
  21. package/docs/agent/feedback/ds-alert.md +4 -0
  22. package/docs/agent/feedback/ds-avatar-group.md +4 -0
  23. package/docs/agent/feedback/ds-avatar.md +4 -0
  24. package/docs/agent/feedback/ds-badge.md +4 -0
  25. package/docs/agent/feedback/ds-banner.md +5 -1
  26. package/docs/agent/feedback/ds-bar.md +4 -0
  27. package/docs/agent/feedback/ds-description-item.md +8 -0
  28. package/docs/agent/feedback/ds-description-list.md +8 -0
  29. package/docs/agent/feedback/ds-empty-state.md +4 -0
  30. package/docs/agent/feedback/ds-list-item.md +8 -0
  31. package/docs/agent/feedback/ds-list.md +8 -0
  32. package/docs/agent/feedback/ds-loading-overlay.md +8 -0
  33. package/docs/agent/feedback/ds-skeleton.md +4 -0
  34. package/docs/agent/feedback/ds-spinner.md +4 -0
  35. package/docs/agent/feedback/ds-stat.md +4 -0
  36. package/docs/agent/feedback/ds-status-dot.md +4 -0
  37. package/docs/agent/feedback/ds-tag.md +4 -0
  38. package/docs/agent/feedback/ds-timeline-item.md +8 -0
  39. package/docs/agent/feedback/ds-toast-region.md +8 -0
  40. package/docs/agent/feedback/ds-toast.md +4 -0
  41. package/docs/agent/feedback/ds-tree.md +8 -0
  42. package/docs/agent/forms/ds-autocomplete.md +4 -0
  43. package/docs/agent/forms/ds-button-group.md +8 -0
  44. package/docs/agent/forms/ds-button.md +6 -2
  45. package/docs/agent/forms/ds-checkbox.md +4 -0
  46. package/docs/agent/forms/ds-color-picker.md +8 -0
  47. package/docs/agent/forms/ds-date-picker.md +5 -1
  48. package/docs/agent/forms/ds-dropzone.md +4 -0
  49. package/docs/agent/forms/ds-field-group.md +8 -0
  50. package/docs/agent/forms/ds-filter-bar.md +8 -0
  51. package/docs/agent/forms/ds-icon-button.md +4 -0
  52. package/docs/agent/forms/ds-input.md +13 -1
  53. package/docs/agent/forms/ds-multi-select.md +4 -0
  54. package/docs/agent/forms/ds-number-stepper.md +4 -0
  55. package/docs/agent/forms/ds-otp-input.md +8 -0
  56. package/docs/agent/forms/ds-password-rules.md +8 -0
  57. package/docs/agent/forms/ds-radio-group.md +8 -0
  58. package/docs/agent/forms/ds-radio.md +4 -0
  59. package/docs/agent/forms/ds-search.md +5 -1
  60. package/docs/agent/forms/ds-segmented.md +8 -0
  61. package/docs/agent/forms/ds-select.md +4 -0
  62. package/docs/agent/forms/ds-slider.md +8 -0
  63. package/docs/agent/forms/ds-split-button.md +8 -0
  64. package/docs/agent/forms/ds-switch.md +7 -1
  65. package/docs/agent/forms/ds-textarea.md +6 -1
  66. package/docs/agent/forms/ds-time-picker.md +8 -0
  67. package/docs/agent/forms/ds-toggle-button.md +8 -0
  68. package/docs/agent/forms/filter-item-directive.md +8 -0
  69. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
  70. package/docs/agent/navigation/ds-app-layout.md +6 -2
  71. package/docs/agent/navigation/ds-auth-layout.md +5 -1
  72. package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
  73. package/docs/agent/navigation/ds-container.md +8 -0
  74. package/docs/agent/navigation/ds-divider.md +4 -0
  75. package/docs/agent/navigation/ds-inline.md +8 -0
  76. package/docs/agent/navigation/ds-page-footer.md +4 -0
  77. package/docs/agent/navigation/ds-page-header.md +5 -1
  78. package/docs/agent/navigation/ds-pagination.md +5 -1
  79. package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
  80. package/docs/agent/navigation/ds-sidenav-group.md +4 -0
  81. package/docs/agent/navigation/ds-sidenav-item.md +4 -0
  82. package/docs/agent/navigation/ds-sidenav.md +4 -0
  83. package/docs/agent/navigation/ds-stack.md +8 -0
  84. package/docs/agent/navigation/ds-stepper.md +4 -0
  85. package/docs/agent/navigation/ds-tab.md +8 -0
  86. package/docs/agent/navigation/ds-tabs.md +5 -1
  87. package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
  88. package/docs/agent/overlays/ds-drawer.md +4 -0
  89. package/docs/agent/overlays/ds-menu.md +4 -0
  90. package/docs/agent/overlays/ds-modal-card.md +4 -0
  91. package/docs/agent/overlays/ds-modal.md +4 -0
  92. package/docs/agent/overlays/ds-popover.md +4 -0
  93. package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
  94. package/docs/agent/overlays/ds-tooltip.md +4 -0
  95. package/docs/agent/platform/ds-config.md +2 -1
  96. package/docs/agent/surfaces/ds-accordion-item.md +8 -0
  97. package/docs/agent/surfaces/ds-accordion.md +4 -0
  98. package/docs/agent/surfaces/ds-card.md +6 -2
  99. package/docs/agent/tables/ds-cell-template.md +8 -0
  100. package/docs/agent/tables/ds-table-columns.md +8 -0
  101. package/docs/agent/tables/ds-table-export.md +8 -0
  102. package/docs/agent/tables/ds-table.md +12 -4
  103. package/docs/agent/tables/header-filter-directive.md +8 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +10 -8
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +19 -19
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +7 -6
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +9 -6
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +140 -43
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +3 -3
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +42 -0
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +39 -14
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +727 -93
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -6
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +29 -12
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +5 -3
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +23 -16
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +25 -24
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +217 -0
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +183 -501
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +44 -8
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +7 -5
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +22 -3
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +382 -0
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
  185. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  186. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  187. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  188. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +322 -0
  189. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
  190. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +6 -2
  191. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  192. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +9 -4
  193. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  194. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +7 -5
  195. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  196. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  197. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  198. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +2 -2
  199. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  200. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +23 -4
  201. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  202. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  203. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  204. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
  205. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  206. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
  207. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  208. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +20 -5
  209. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  210. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +6 -6
  211. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  212. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +4 -1
  213. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  214. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +36 -28
  215. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  216. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
  217. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  218. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
  219. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  220. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -2
  221. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  222. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +5 -3
  223. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  224. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
  225. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  226. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +34 -21
  227. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  228. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  229. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  230. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +252 -0
  231. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
  232. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +361 -17
  233. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  234. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +2 -3
  235. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  236. package/fesm2022/ids-group-ltd-ids-design-system.mjs +7 -3
  237. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  238. package/migrations/0.10.0.json +2 -2
  239. package/migrations/0.10.1.json +3 -3
  240. package/migrations/0.10.2.json +8 -28
  241. package/migrations/0.11.0.json +3 -3
  242. package/migrations/0.11.1.json +15 -15
  243. package/migrations/0.11.2.json +9 -9
  244. package/migrations/0.11.3.json +1 -1
  245. package/migrations/0.11.4.json +8 -8
  246. package/migrations/0.12.1.json +1 -1
  247. package/migrations/0.12.2.json +5 -2
  248. package/migrations/0.12.3.json +3 -3
  249. package/migrations/0.13.0.json +24 -32
  250. package/migrations/0.13.1.json +5 -5
  251. package/migrations/0.13.3.json +32 -10
  252. package/migrations/0.13.4.json +2492 -0
  253. package/migrations/0.14.0.json +591 -0
  254. package/migrations/0.5.0.json +11 -5
  255. package/migrations/0.7.0.json +5 -2
  256. package/migrations/0.8.0.json +4 -3
  257. package/migrations/0.9.0.json +6 -3
  258. package/migrations/README.md +7 -2
  259. package/package.json +41 -9
  260. package/styles/_chart-frame.scss +19 -6
  261. package/styles/_chart-motion.scss +17 -10
  262. package/styles/_check-box.scss +12 -12
  263. package/styles/_dropdown-overlay.scss +14 -10
  264. package/styles/_field-box.scss +3 -3
  265. package/styles/_field-label.scss +7 -7
  266. package/styles/_overlay-motion.scss +15 -7
  267. package/styles/_skeleton-shimmer.scss +4 -1
  268. package/styles/_table-controls.scss +3 -3
  269. package/styles/_tokens-charts.scss +40 -7
  270. package/styles/_tokens.scss +3 -3
  271. package/styles/_typography.scss +101 -101
  272. package/themes/dark/_theme.scss +13 -0
  273. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
  274. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
  275. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
  276. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
  277. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
  278. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +40 -9
  279. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
  280. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +8 -4
  281. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +34 -0
  282. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +15 -3
  283. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +345 -60
  284. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
  285. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -2
  286. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
  287. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
  288. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +8 -7
  289. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
  290. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +88 -139
  291. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +4 -0
  292. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
  293. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +18 -1
  294. package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +25 -23
  295. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
  296. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +189 -0
  297. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +2 -0
  298. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
  299. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
  300. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +1 -0
  301. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +10 -1
  302. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
  303. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +44 -33
  304. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +13 -0
  305. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
  306. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +5 -2
  307. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
  308. package/types/ids-group-ltd-ids-design-system-components.d.ts +142 -6
  309. package/types/ids-group-ltd-ids-design-system-core.d.ts +42 -10
  310. package/types/ids-group-ltd-ids-design-system.d.ts +14 -10
  311. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -382
  312. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
@@ -1,10 +1,18 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
2
2
  import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
3
+ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
4
+ import { leaveMark } from '@ids-group-ltd/ids-design-system/components';
3
5
  import * as _angular_core from '@angular/core';
4
6
  import { TemplateRef } from '@angular/core';
5
- import { defaultChartFormat } from '@ids-group-ltd/ids-design-system/components';
6
7
  import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
8
+ import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
7
9
 
10
+ /** A row's reading: one number, or the two ends of a band.
11
+ *
12
+ * A plain number spans from zero, which is what a bar has always drawn. A pair spans between its
13
+ * own two ends - a floating bar, a range, a min-to-max - and the ends may be written either way
14
+ * round, because a reader who reverses them means the same band. */
15
+ type BarChartValue = number | readonly [low: number, high: number];
8
16
  /** One part of a row that is a distribution rather than a single quantity. */
9
17
  interface BarChartSegment {
10
18
  /** Falls back to the segment's position when left out. */
@@ -19,7 +27,17 @@ interface BarChartRow {
19
27
  /** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
20
28
  id?: string;
21
29
  label: string;
22
- value: number;
30
+ /** One number spans from zero. A `[low, high]` pair spans between its own ends, which is what
31
+ * draws a floating bar - a range, a min to max, a period that starts partway along. */
32
+ value: BarChartValue;
33
+ /** A tick across the bar at one reading: a goal, a budget, a last-period figure. With `ranges`
34
+ * behind it this is the bullet chart, which is a bar with two extras rather than a chart type. */
35
+ target?: number;
36
+ /** Qualitative bands drawn behind the bar, given as their upper bounds in ascending order -
37
+ * `[60, 80, 100]` is three bands. They say what the reading MEANS where the number alone does
38
+ * not: poor, fair, good. They are painted in one neutral hue at rising opacity, never in the
39
+ * series palette, because a band is a backdrop and a bar is the reading. */
40
+ ranges?: readonly number[];
23
41
  /** A percentage already out of 100, not a fraction: `42`, never `0.42`. Printed at
24
42
  * the row's end while `showPercent` is on; derived from `value / max` when omitted. */
25
43
  percent?: number;
@@ -49,6 +67,7 @@ interface BarChartRow {
49
67
  }
50
68
 
51
69
  declare class BarChartComponent {
70
+ protected readonly leaveMark: typeof leaveMark;
52
71
  /** One row per bar, drawn in the order given. */
53
72
  readonly data: _angular_core.InputSignal<readonly BarChartRow[]>;
54
73
  /** Track length is relative to this. Null uses the largest value, so the
@@ -102,11 +121,12 @@ declare class BarChartComponent {
102
121
  * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
103
122
  * grouping with a K/M/B suffix past four digits. */
104
123
  readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
124
+ private readonly defaults;
105
125
  readonly frameResolved: _angular_core.Signal<ChartFrame>;
106
126
  readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
107
127
  readonly emptyTextResolved: _angular_core.Signal<string>;
108
128
  readonly errorTextResolved: _angular_core.Signal<string>;
109
- readonly valueFormatResolved: _angular_core.Signal<typeof defaultChartFormat>;
129
+ readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
110
130
  /** Turns on the click affordance — the pointer cursor and any hover tint.
111
131
  * The click output fires whether or not this is set, so a consumer that
112
132
  * binds the output and forgets the flag still receives every click. */
@@ -139,20 +159,31 @@ declare class BarChartComponent {
139
159
  private readonly tooltipLingerResolved;
140
160
  protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
141
161
  protected onMarkClick(payload: BarChartRow, index: number, event: Event): void;
142
- /** One tab stop per chart, not one per mark: WCAG 2.1.1's Understanding is explicit that not
143
- * every mouse-operable control has to be separately focusable, and that is what keeps a
144
- * twenty-five mark chart from being twenty-five stops in the page's tab order. */
145
- protected readonly rovingIndex: _angular_core.WritableSignal<number>;
146
- protected readonly tabStopIndex: _angular_core.Signal<number>;
162
+ protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
147
163
  protected onMarkFocus(index: number, event: FocusEvent): void;
148
164
  protected onMarkNavigation(event: KeyboardEvent, index: number): void;
149
165
  protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
166
+ /** The track has to hold the far end of every bar, the target tick and the outermost band -
167
+ * a goal above every reading is the one the chart is read for, and an axis derived from the
168
+ * bars alone would draw it off the end. */
150
169
  protected readonly resolvedMax: _angular_core.Signal<number>;
170
+ protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
171
+ /** A row's segments follow it as nested rows: one table reads in one pass, and a segment is
172
+ * read against the bar it belongs to rather than against the other bars. */
173
+ protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
151
174
  protected readonly rows: _angular_core.Signal<{
152
175
  key: string;
153
176
  row: BarChartRow;
177
+ offsetPercent: number;
154
178
  widthPercent: number;
155
179
  formattedValue: string;
180
+ targetPercent: number | null;
181
+ formattedTarget: string;
182
+ bands: {
183
+ key: string;
184
+ widthPercent: number;
185
+ opacity: number;
186
+ }[];
156
187
  formattedPercent: string;
157
188
  share: string;
158
189
  segments: readonly {
@@ -179,4 +210,4 @@ declare class BarChartComponent {
179
210
  }
180
211
 
181
212
  export { BarChartComponent };
182
- export type { BarChartRow, BarChartSegment };
213
+ export type { BarChartRow, BarChartSegment, BarChartValue };
@@ -4,7 +4,7 @@ import { OnDestroy } from '@angular/core';
4
4
  /** Bottom-anchored sheet — the mobile sibling of ds-drawer. Closes on scrim
5
5
  * tap, Escape, or a downward drag on the grab strip. While open it locks
6
6
  * body scroll. On wide viewports the panel is capped by
7
- * --ds-bottom-sheet-maxw and centred; prefer ds-modal / ds-drawer for
7
+ * --ds-bottom-sheet-max-width and centred; prefer ds-modal / ds-drawer for
8
8
  * desktop-first layouts. position: fixed resolves against the nearest
9
9
  * ancestor containing block, so framed hosts contain the sheet. */
10
10
  declare class BottomSheetComponent implements OnDestroy {
@@ -8,6 +8,7 @@ import { DsSize, IconName } from '@ids-group-ltd/ids-design-system/core';
8
8
  type ButtonColor = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'error' | 'success' | 'warning';
9
9
  type ButtonVariant = 'solid' | 'tonal' | 'ghost' | 'outline' | 'text';
10
10
  type ButtonType = 'button' | 'submit' | 'reset';
11
+ type ButtonAlign = 'center' | 'between';
11
12
 
12
13
  declare class ButtonComponent extends DsMessageBase {
13
14
  protected readonly reserveFollowsFieldDefault = false;
@@ -18,6 +19,9 @@ declare class ButtonComponent extends DsMessageBase {
18
19
  * reason. `text` is discouraged for every colour — prefer the global `.link` class, and keep
19
20
  * this one only where the ds-button API is needed. */
20
21
  readonly variant: _angular_core.InputSignal<ButtonVariant>;
22
+ /** Where the contents sit once the button is wider than them, which in practice means
23
+ * `fullWidth`. `'between'` pushes the label and a trailing icon to opposite edges. */
24
+ readonly align: _angular_core.InputSignal<ButtonAlign>;
21
25
  /** Button height — sm/md/lg.
22
26
  * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
23
27
  readonly size: _angular_core.InputSignal<DsSize | null>;
@@ -52,9 +56,9 @@ declare class ButtonComponent extends DsMessageBase {
52
56
  * stays lit inside its own pages. It also bounds the announcement, because the same directive
53
57
  * writes it: narrowed to `{ exact: true }`, a prefix match is no longer active and the link
54
58
  * announces nothing rather than `true`. Pass `ariaCurrent` alongside to keep one. */
55
- readonly routerLinkActiveOptions: _angular_core.InputSignal<{
59
+ readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
56
60
  exact: boolean;
57
- } | IsActiveMatchOptions>;
61
+ }>;
58
62
  /** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
59
63
  * announces `true`, which is what ARIA means by each; pass `null` to announce nothing, or one
60
64
  * of the other values when the link is a step or a location rather than a page. */
@@ -114,8 +118,8 @@ declare class ButtonComponent extends DsMessageBase {
114
118
  constructor();
115
119
  protected onClick(event: MouseEvent): void;
116
120
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
117
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
121
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
118
122
  }
119
123
 
120
124
  export { ButtonComponent };
121
- export type { ButtonColor, ButtonType, ButtonVariant };
125
+ export type { ButtonAlign, ButtonColor, ButtonType, ButtonVariant };
@@ -0,0 +1,34 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /** Cells arrive formatted: how a value reads is the chart's decision, not the table's. */
4
+ interface ChartDataRow {
5
+ readonly key: string;
6
+ readonly cells: readonly string[];
7
+ /** A part of the row above rather than a row of its own - one bar's segment, one stage's drop.
8
+ * Drawn indented and quieter, so the nesting survives without a second table. */
9
+ readonly nested?: boolean;
10
+ }
11
+ /**
12
+ * The annex table under a chart: the non-visual route to the numbers, and the only one a reader
13
+ * with no pointer has.
14
+ */
15
+ declare class ChartDataTableComponent {
16
+ readonly columns: _angular_core.InputSignal<readonly string[]>;
17
+ readonly rows: _angular_core.InputSignal<readonly ChartDataRow[]>;
18
+ readonly caption: _angular_core.InputSignal<string | null>;
19
+ readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ /** Renders each row's first cell as a `<th scope="row">`, for a matrix whose rows are named
21
+ * rather than numbered. */
22
+ readonly rowHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
+ /** Fires with the disclosure's state, so a chart with thousands of readings can build its rows
24
+ * only while they are on screen. */
25
+ readonly toggled: _angular_core.OutputEmitterRef<boolean>;
26
+ private readonly openedOnce;
27
+ protected readonly built: _angular_core.Signal<boolean>;
28
+ protected onToggle(open: boolean): void;
29
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataTableComponent, never>;
30
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDataTableComponent, "ds-chart-data-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "rowHeader": { "alias": "rowHeader"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; }, never, never, true, never>;
31
+ }
32
+
33
+ export { ChartDataTableComponent };
34
+ export type { ChartDataRow };
@@ -15,6 +15,9 @@ interface ChartTooltipEntry {
15
15
  /** Already through the chart's `valueFormat`, so the panel never formats. */
16
16
  readonly formatted: string;
17
17
  readonly color: string;
18
+ /** Marks whose fill is hatched rather than solid. The swatch takes the same treatment, so the
19
+ * panel and the plot encode the distinction the same way and neither relies on hue alone. */
20
+ readonly hatched?: boolean;
18
21
  /** A second line under the value, for what the chart does NOT already print beside the mark —
19
22
  * its share of the total, its rank, the drop into it. A tooltip that repeats the label a
20
23
  * reader is looking at has told them nothing. */
@@ -55,6 +58,9 @@ declare class ChartTooltipDirective {
55
58
  /** Opens the panel BELOW the mark first. A chart sets it while a mark is held, so the panel
56
59
  * leaves the plot's top edge — and the Unpin control that lives there — alone. */
57
60
  readonly dsChartTooltipPreferBelow: _angular_core.InputSignal<boolean>;
61
+ /** A held panel takes the pointer again, so its text can be selected. While it merely follows
62
+ * the pointer the pane stays inert, or the mark it covers never sees the pointer at all. */
63
+ readonly dsChartTooltipPinned: _angular_core.InputSignal<boolean>;
58
64
  private overlayRef;
59
65
  private panelRef;
60
66
  private detachScrollReposition;
@@ -65,7 +71,7 @@ declare class ChartTooltipDirective {
65
71
  private closeOnEscape;
66
72
  private close;
67
73
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipDirective, never>;
68
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPreferBelow": { "alias": "dsChartTooltipPreferBelow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
74
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPreferBelow": { "alias": "dsChartTooltipPreferBelow"; "required": false; "isSignal": true; }; "dsChartTooltipPinned": { "alias": "dsChartTooltipPinned"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
69
75
  }
70
76
 
71
77
  /** @internal */
@@ -76,11 +82,17 @@ interface ChartActiveMark {
76
82
  readonly origin: Signal<Element | null>;
77
83
  /** Whether the active mark is held rather than followed — a tap, or a click under `pinOnClick`. */
78
84
  readonly pinned: Signal<boolean>;
79
- enter(index: number, event: Event, anchor?: string | Element | null): void;
85
+ /** `mark` is the hovered element, for a listener delegated to the marks' parent; it defaults to
86
+ * the event's `currentTarget`. */
87
+ enter(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
88
+ /** Moves the active index with no pointer behind it - a keyboard, or a mark handing over which
89
+ * category it took focus on. Leaves the anchor alone: the caller that has no event has no
90
+ * element to aim at either. A pin holds against this too. */
91
+ setIndex(index: number): void;
80
92
  leave(): void;
81
93
  /** Holds the mark that was activated, for any pointer type. Activating the mark that is already
82
94
  * pinned releases it, so one gesture both sets and clears. */
83
- pin(index: number, event: Event, anchor?: string | Element | null): void;
95
+ pin(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
84
96
  /** Lets go of a held mark, for a control that offers the way out in as many words. */
85
97
  release(): void;
86
98
  }