@ids-group-ltd/ids-design-system 0.14.4 → 0.14.6-beta.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 (331) hide show
  1. package/CHANGELOG.md +176 -1
  2. package/components.md +15 -15
  3. package/docs/agent/INDEX.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-config.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/navigation/ds-breadcrumbs.md +1 -1
  15. package/docs/agent/overlays/ds-tooltip.md +2 -2
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -130
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +20 -13
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +58 -112
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +182 -432
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -123
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -163
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +27 -85
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +50 -166
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.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 +8 -12
  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 +9 -24
  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 +32 -120
  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-popover.mjs +14 -24
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +29 -13
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -85
  185. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  186. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -579
  187. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  188. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +52 -85
  189. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  190. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
  191. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  192. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
  193. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  194. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
  195. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  196. package/migrations/0.14.5.json +311 -0
  197. package/migrations/0.14.6-beta.0.json +9 -0
  198. package/package.json +1 -1
  199. package/schematics/check-overrides/surface.json +20 -2
  200. package/styles/_breakpoints.scss +6 -23
  201. package/styles/_chart-data-table.scss +3 -11
  202. package/styles/_chart-frame.scss +14 -63
  203. package/styles/_chart-interactive.scss +8 -36
  204. package/styles/_chart-motion.scss +11 -39
  205. package/styles/_check-box.scss +7 -26
  206. package/styles/_check-mark.scss +7 -23
  207. package/styles/_chip-row.scss +3 -14
  208. package/styles/_clear-button.scss +2 -7
  209. package/styles/_control-label.scss +2 -13
  210. package/styles/_control-line.scss +2 -6
  211. package/styles/_dropdown-overlay.scss +8 -33
  212. package/styles/_ds-color.scss +9 -28
  213. package/styles/_field-box.scss +4 -16
  214. package/styles/_field-group-segment.scss +6 -6
  215. package/styles/_field-label.scss +3 -14
  216. package/styles/_field-state.scss +5 -10
  217. package/styles/_focus.scss +20 -60
  218. package/styles/_icon-base.scss +0 -2
  219. package/styles/_layout-utils.scss +0 -3
  220. package/styles/_link.scss +4 -18
  221. package/styles/_overlay-motion.scss +15 -38
  222. package/styles/_page-grid.scss +4 -29
  223. package/styles/_press.scss +5 -18
  224. package/styles/_reset.scss +1 -14
  225. package/styles/_scrollbar.scss +0 -2
  226. package/styles/_skeleton-shimmer.scss +3 -14
  227. package/styles/_status.scss +5 -13
  228. package/styles/_surface-motion.scss +7 -34
  229. package/styles/_table-controls.scss +3 -6
  230. package/styles/_text-clip.scss +2 -6
  231. package/styles/_theme-activation.scss +7 -20
  232. package/styles/_toast-overlay.scss +2 -6
  233. package/styles/_tokens-charts.scss +31 -90
  234. package/styles/_tokens.scss +111 -156
  235. package/styles/_typography.scss +6 -13
  236. package/styles/_visually-hidden.scss +2 -3
  237. package/styles/ds.scss +2 -10
  238. package/themes/_base-palette.scss +12 -35
  239. package/themes/_semantic.scss +29 -98
  240. package/themes/dark/_palette.scss +15 -29
  241. package/themes/dark/_theme.scss +14 -32
  242. package/themes/light/_palette.scss +2 -17
  243. package/themes/light/_theme.scss +1 -7
  244. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
  245. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
  246. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
  247. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
  248. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
  249. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
  250. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
  251. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
  252. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
  253. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
  254. package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
  255. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
  256. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
  257. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
  258. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
  259. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
  260. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
  261. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
  262. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
  263. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
  264. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
  265. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
  266. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
  267. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
  268. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
  269. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
  270. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
  271. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
  272. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
  273. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
  274. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
  275. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
  276. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
  277. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
  278. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
  279. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
  280. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
  281. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
  282. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
  283. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
  284. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
  285. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
  286. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
  287. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
  288. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
  289. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
  290. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
  291. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
  292. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
  293. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
  294. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
  295. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
  296. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
  297. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
  298. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
  299. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
  300. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
  301. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
  302. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
  303. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
  304. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
  305. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
  306. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
  307. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
  308. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
  309. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
  310. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
  311. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
  312. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
  313. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
  314. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
  315. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
  316. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
  317. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
  318. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
  319. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
  320. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
  321. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
  322. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
  323. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
  324. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
  325. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
  326. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
  327. package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
  328. package/types/ids-group-ltd-ids-design-system-core.d.ts +134 -260
  329. package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
  330. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
  331. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
@@ -6,28 +6,16 @@ import { resolveWithConfig, ICONS } from '@ids-group-ltd/ids-design-system/core'
6
6
  const DS_ICON_REGISTRY = new InjectionToken('DS_ICON_REGISTRY', {
7
7
  factory: () => ({}),
8
8
  });
9
- /** Register additional icons available to `<ds-icon [name]="...">` alongside the built-in DS set.
10
- *
11
- * providers: [
12
- * provideDsIcons({
13
- * 'cloud-upload': '<path d="..."/>',
14
- * 'shield': '<path d="..."/>',
15
- * }),
16
- * ]
17
- *
18
- * Names take precedence as: built-in `ICONS` > consumer registry. Consumer names that clash with
19
- * built-ins are ignored — to override a built-in, edit the DS source.
20
- */
9
+ /** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored. */
21
10
  function provideDsIcons(icons) {
22
11
  return { provide: DS_ICON_REGISTRY, useValue: icons };
23
12
  }
24
13
 
25
14
  /* Truncation contract:
26
- Glyph — Never clipped — the SVG sits in a square frame at one of the fixed sizes.
27
- Icon + text pair — Glyph fixed; text label takes the remaining width and clips with ellipsis. */
15
+ Glyph - Never clipped - the SVG sits in a square frame at one of the fixed sizes.
16
+ Icon + text pair - Glyph fixed; text label takes the remaining width and clips with ellipsis. */
28
17
  class IconComponent {
29
18
  sanitizer = inject(DomSanitizer);
30
- // Consumer-supplied icons via provideDsIcons(...). Empty record by default.
31
19
  registry = inject(DS_ICON_REGISTRY);
32
20
  name = input.required(...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
33
21
  /** Pixel size of the square glyph. Unset falls back to `DS_CONFIG.icon.size`,
@@ -40,13 +28,8 @@ class IconComponent {
40
28
  ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
41
29
  paths = computed(() => {
42
30
  const key = this.name();
43
- // Built-in DS set wins over consumer registry — see provideDsIcons() docs.
44
31
  const body = ICONS[key] ?? this.registry[key] ?? '';
45
- // A misspelled name renders an empty <svg> and nothing else — no error, and
46
- // the type cannot catch it: IconName stays open (`| (string & {})`) so a
47
- // consumer can register their own through provideDsIcons(), and closing the
48
- // union would reject every registered name. This branch is the only place
49
- // that knows. Production pays one falsy check.
32
+ // IconName is open (`| (string & {})`) for consumer-registered names, so the type cannot catch a typo; this warning is the only check.
50
33
  if (!body && isDevMode()) {
51
34
  console.warn(`[ds-icon] Unknown icon name "${key}" — not in the DS set and not registered through provideDsIcons(), so nothing renders.`);
52
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-icons.mjs","sources":["../../../src/lib/icons/icon-registry.ts","../../../src/lib/icons/icon.component.ts","../../../src/lib/icons/icon.component.html","../../../src/lib/icons/ids-group-ltd-ids-design-system-icons.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\n\n/** Map of custom icon name -> raw SVG body markup.\n *\n * The body is what goes *inside* `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">`\n * — typically one or more `<path>` / `<circle>` / `<rect>` elements. Stroke width, line caps and\n * join are applied by the host `<ds-icon>` template, so paths should use `stroke=\"currentColor\"`\n * implicitly (i.e. omit the stroke attribute) and rely on the parent SVG.\n *\n * Example:\n * provideDsIcons({\n * 'cloud-upload': '<path d=\"M12 13v8m0-8 3 3m-3-3-3 3\"/><path d=\"...\"/>',\n * })\n */\nexport type DsIconRegistry = Readonly<Record<string, string>>;\n\nexport const DS_ICON_REGISTRY = new InjectionToken<DsIconRegistry>(\n 'DS_ICON_REGISTRY',\n {\n factory: () => ({}),\n },\n);\n\n/** Register additional icons available to `<ds-icon [name]=\"...\">` alongside the built-in DS set.\n *\n * providers: [\n * provideDsIcons({\n * 'cloud-upload': '<path d=\"...\"/>',\n * 'shield': '<path d=\"...\"/>',\n * }),\n * ]\n *\n * Names take precedence as: built-in `ICONS` > consumer registry. Consumer names that clash with\n * built-ins are ignored — to override a built-in, edit the DS source.\n */\nexport function provideDsIcons(icons: DsIconRegistry): Provider {\n return { provide: DS_ICON_REGISTRY, useValue: icons };\n}\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n isDevMode,\n numberAttribute,\n} from '@angular/core';\nimport { DomSanitizer, type SafeHtml } from '@angular/platform-browser';\nimport { DS_ICON_REGISTRY } from './icon-registry';\nimport { ICONS, type IconName } from '@ids-group-ltd/ids-design-system/core';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n/* Truncation contract:\n Glyph — Never clipped — the SVG sits in a square frame at one of the fixed sizes.\n Icon + text pair — Glyph fixed; text label takes the remaining width and clips with ellipsis. */\n\n@Component({\n selector: 'ds-icon',\n standalone: true,\n encapsulation: ViewEncapsulation.None,\n // Host inline-flex + svg block prevents baseline-gap when icon sits next to text.\n styles: [\n `\n ds-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n line-height: 0;\n }\n ds-icon > svg.icon {\n display: block;\n }\n `,\n ],\n templateUrl: './icon.component.html',\n})\nexport class IconComponent {\n private readonly sanitizer = inject(DomSanitizer);\n // Consumer-supplied icons via provideDsIcons(...). Empty record by default.\n private readonly registry = inject(DS_ICON_REGISTRY);\n readonly name = input.required<IconName>();\n /** Pixel size of the square glyph. Unset falls back to `DS_CONFIG.icon.size`,\n * then `16`. */\n readonly size = input<number | null, unknown>(null, {\n transform: (value) => (value == null ? null : numberAttribute(value)),\n });\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.icon?.size,\n 16,\n );\n readonly stroke = input<number>(1.75);\n /** When set, the icon is exposed to assistive tech as an image with this\n * name; otherwise it is decorative and hidden (`aria-hidden`). */\n readonly ariaLabel = input<string | null>(null);\n protected readonly paths = computed<SafeHtml>(() => {\n const key = this.name();\n // Built-in DS set wins over consumer registry — see provideDsIcons() docs.\n const body =\n (ICONS as Record<string, string>)[key] ?? this.registry[key] ?? '';\n // A misspelled name renders an empty <svg> and nothing else — no error, and\n // the type cannot catch it: IconName stays open (`| (string & {})`) so a\n // consumer can register their own through provideDsIcons(), and closing the\n // union would reject every registered name. This branch is the only place\n // that knows. Production pays one falsy check.\n if (!body && isDevMode()) {\n console.warn(\n `[ds-icon] Unknown icon name \"${key}\" — not in the DS set and not registered through provideDsIcons(), so nothing renders.`,\n );\n }\n\n return this.sanitizer.bypassSecurityTrustHtml(body);\n });\n}\n","<svg\n class=\"icon\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [style.--ds-icon-size]=\"sizeResolved() + 'px'\"\n [attr.width]=\"sizeResolved()\"\n [attr.height]=\"sizeResolved()\"\n [attr.stroke-width]=\"stroke()\"\n [attr.role]=\"ariaLabel() ? 'img' : null\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-hidden]=\"ariaLabel() ? null : 'true'\"\n [innerHTML]=\"paths()\">\n</svg>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAgBa,gBAAgB,GAAG,IAAI,cAAc,CAChD,kBAAkB,EAClB;AACE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAGH;;;;;;;;;;;AAWG;AACG,SAAU,cAAc,CAAC,KAAqB,EAAA;IAClD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE;AACvD;;ACvBA;;AAEmG;MAuBtF,aAAa,CAAA;AACP,IAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;;AAEhC,IAAA,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAY;AAC1C;AACiB;AACR,IAAA,IAAI,GAAG,KAAK,CAAyB,IAAI,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,MAAA,EAAA,8BAAA,EAAA,CAAA,EAChD,SAAS,EAAE,CAAC,KAAK,MAAM,KAAK,IAAI,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,GACrE;IACO,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,EAC7B,EAAE,CACH;AACQ,IAAA,MAAM,GAAG,KAAK,CAAS,IAAI,6EAAC;AACrC;AACmE;AAC1D,IAAA,SAAS,GAAG,KAAK,CAAgB,IAAI,gFAAC;AAC5B,IAAA,KAAK,GAAG,QAAQ,CAAW,MAAK;AACjD,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE;;AAEvB,QAAA,MAAM,IAAI,GACP,KAAgC,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE;;;;;;AAMpE,QAAA,IAAI,CAAC,IAAI,IAAI,SAAS,EAAE,EAAE;AACxB,YAAA,OAAO,CAAC,IAAI,CACV,gCAAgC,GAAG,CAAA,sFAAA,CAAwF,CAC5H;QACH;QAEA,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC;AACrD,IAAA,CAAC,4EAAC;wGApCS,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,ujBCvC1B,oeAgBA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;4FDuBa,aAAa,EAAA,UAAA,EAAA,CAAA;kBArBzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,EAAA,UAAA,EACP,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,oeAAA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA;;;AErBvC;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-icons.mjs","sources":["../../../src/lib/icons/icon-registry.ts","../../../src/lib/icons/icon.component.ts","../../../src/lib/icons/icon.component.html","../../../src/lib/icons/ids-group-ltd-ids-design-system-icons.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\n\n/** Custom icon name -> SVG body markup (the inside of the host's 24x24 stroke `<svg>`). Omit the `stroke` attribute; the host template sets stroke, caps and joins. */\nexport type DsIconRegistry = Readonly<Record<string, string>>;\n\nexport const DS_ICON_REGISTRY = new InjectionToken<DsIconRegistry>(\n 'DS_ICON_REGISTRY',\n {\n factory: () => ({}),\n },\n);\n\n/** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored. */\nexport function provideDsIcons(icons: DsIconRegistry): Provider {\n return { provide: DS_ICON_REGISTRY, useValue: icons };\n}\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n isDevMode,\n numberAttribute,\n} from '@angular/core';\nimport { DomSanitizer, type SafeHtml } from '@angular/platform-browser';\nimport { DS_ICON_REGISTRY } from './icon-registry';\nimport { ICONS, type IconName } from '@ids-group-ltd/ids-design-system/core';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n/* Truncation contract:\n Glyph - Never clipped - the SVG sits in a square frame at one of the fixed sizes.\n Icon + text pair - Glyph fixed; text label takes the remaining width and clips with ellipsis. */\n\n@Component({\n selector: 'ds-icon',\n standalone: true,\n encapsulation: ViewEncapsulation.None,\n // Host inline-flex + svg block prevents baseline-gap when icon sits next to text.\n styles: [\n `\n ds-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n line-height: 0;\n }\n ds-icon > svg.icon {\n display: block;\n }\n `,\n ],\n templateUrl: './icon.component.html',\n})\nexport class IconComponent {\n private readonly sanitizer = inject(DomSanitizer);\n private readonly registry = inject(DS_ICON_REGISTRY);\n readonly name = input.required<IconName>();\n /** Pixel size of the square glyph. Unset falls back to `DS_CONFIG.icon.size`,\n * then `16`. */\n readonly size = input<number | null, unknown>(null, {\n transform: (value) => (value == null ? null : numberAttribute(value)),\n });\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.icon?.size,\n 16,\n );\n readonly stroke = input<number>(1.75);\n /** When set, the icon is exposed to assistive tech as an image with this\n * name; otherwise it is decorative and hidden (`aria-hidden`). */\n readonly ariaLabel = input<string | null>(null);\n protected readonly paths = computed<SafeHtml>(() => {\n const key = this.name();\n const body =\n (ICONS as Record<string, string>)[key] ?? this.registry[key] ?? '';\n // IconName is open (`| (string & {})`) for consumer-registered names, so the type cannot catch a typo; this warning is the only check.\n if (!body && isDevMode()) {\n console.warn(\n `[ds-icon] Unknown icon name \"${key}\" — not in the DS set and not registered through provideDsIcons(), so nothing renders.`,\n );\n }\n\n return this.sanitizer.bypassSecurityTrustHtml(body);\n });\n}\n","<svg\n class=\"icon\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [style.--ds-icon-size]=\"sizeResolved() + 'px'\"\n [attr.width]=\"sizeResolved()\"\n [attr.height]=\"sizeResolved()\"\n [attr.stroke-width]=\"stroke()\"\n [attr.role]=\"ariaLabel() ? 'img' : null\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-hidden]=\"ariaLabel() ? null : 'true'\"\n [innerHTML]=\"paths()\">\n</svg>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,gBAAgB,GAAG,IAAI,cAAc,CAChD,kBAAkB,EAClB;AACE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAGH;AACM,SAAU,cAAc,CAAC,KAAqB,EAAA;IAClD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE;AACvD;;ACDA;;AAEmG;MAuBtF,aAAa,CAAA;AACP,IAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAChC,IAAA,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAY;AAC1C;AACiB;AACR,IAAA,IAAI,GAAG,KAAK,CAAyB,IAAI,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,MAAA,EAAA,8BAAA,EAAA,CAAA,EAChD,SAAS,EAAE,CAAC,KAAK,MAAM,KAAK,IAAI,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,GACrE;IACO,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,EAC7B,EAAE,CACH;AACQ,IAAA,MAAM,GAAG,KAAK,CAAS,IAAI,6EAAC;AACrC;AACmE;AAC1D,IAAA,SAAS,GAAG,KAAK,CAAgB,IAAI,gFAAC;AAC5B,IAAA,KAAK,GAAG,QAAQ,CAAW,MAAK;AACjD,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE;AACvB,QAAA,MAAM,IAAI,GACP,KAAgC,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE;;AAEpE,QAAA,IAAI,CAAC,IAAI,IAAI,SAAS,EAAE,EAAE;AACxB,YAAA,OAAO,CAAC,IAAI,CACV,gCAAgC,GAAG,CAAA,sFAAA,CAAwF,CAC5H;QACH;QAEA,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC;AACrD,IAAA,CAAC,4EAAC;wGA9BS,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,ujBCvC1B,oeAgBA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;4FDuBa,aAAa,EAAA,UAAA,EAAA,CAAA;kBArBzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,EAAA,UAAA,EACP,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,oeAAA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA;;;AErBvC;;AAEG;;;;"}
@@ -3,11 +3,9 @@ import * as i0 from '@angular/core';
3
3
  import { inject, Injectable } from '@angular/core';
4
4
 
5
5
  /**
6
- * Ref-counted lock on `document.body` scroll, shared by every overlay that
7
- * covers the viewport (modal, drawer, bottom-sheet). The FIRST `lock()` saves
8
- * the current `body` overflow and hides it; the LAST `unlock()` restores it —
9
- * so closing one overlay never re-enables page scroll while another stacked on
10
- * top of it is still open. Calls must be paired (one `unlock()` per `lock()`).
6
+ * Ref-counted lock on `document.body` scroll for viewport-covering overlays.
7
+ * The first `lock()` saves and hides the body overflow, the last `unlock()`
8
+ * restores it. Calls must be paired.
11
9
  */
12
10
  class BodyScrollLockService {
13
11
  doc = inject(DOCUMENT);
@@ -37,14 +35,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
37
35
  args: [{ providedIn: 'root' }]
38
36
  }] });
39
37
 
40
- /** A reference to the overlay/container the projected content lives in, used to
41
- * close it from the inside — e.g. a popover (and, later, a dropdown/select)
42
- * closing when a menu item is selected. The container provides it via DI;
43
- * content injects it with `{ optional: true }` so the same content also works
44
- * standalone (outside any overlay).
45
- *
46
- * Same shape as Angular Material's `MatDialogRef` (content calls `close()` on a
47
- * ref), generalised so any dismissible overlay can provide it. */
38
+ /** Lets projected content close the overlay it lives in. The container provides it via DI; inject with `{ optional: true }` so the content also works outside any overlay. */
48
39
  class DsOverlayCloseRef {
49
40
  }
50
41
 
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-overlay.mjs","sources":["../../../src/lib/overlay/body-scroll-lock.service.ts","../../../src/lib/overlay/ds-overlay-close-ref.ts","../../../src/lib/overlay/ids-group-ltd-ids-design-system-overlay.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Injectable, inject } from '@angular/core';\n\n/**\n * Ref-counted lock on `document.body` scroll, shared by every overlay that\n * covers the viewport (modal, drawer, bottom-sheet). The FIRST `lock()` saves\n * the current `body` overflow and hides it; the LAST `unlock()` restores it —\n * so closing one overlay never re-enables page scroll while another stacked on\n * top of it is still open. Calls must be paired (one `unlock()` per `lock()`).\n */\n@Injectable({ providedIn: 'root' })\nexport class BodyScrollLockService {\n private readonly doc = inject(DOCUMENT);\n private count = 0;\n private previousOverflow = '';\n\n lock(): void {\n if (this.count === 0) {\n this.previousOverflow = this.doc.body.style.overflow;\n this.doc.body.style.overflow = 'hidden';\n }\n this.count += 1;\n }\n\n unlock(): void {\n if (this.count === 0) {\n return;\n }\n this.count -= 1;\n if (this.count === 0) {\n this.doc.body.style.overflow = this.previousOverflow;\n }\n }\n}\n","/** A reference to the overlay/container the projected content lives in, used to\n * close it from the inside — e.g. a popover (and, later, a dropdown/select)\n * closing when a menu item is selected. The container provides it via DI;\n * content injects it with `{ optional: true }` so the same content also works\n * standalone (outside any overlay).\n *\n * Same shape as Angular Material's `MatDialogRef` (content calls `close()` on a\n * ref), generalised so any dismissible overlay can provide it. */\nexport abstract class DsOverlayCloseRef {\n abstract close(): void;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;AAMG;MAEU,qBAAqB,CAAA;AACf,IAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,KAAK,GAAG,CAAC;IACT,gBAAgB,GAAG,EAAE;IAE7B,IAAI,GAAA;AACF,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ;YACpD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;QACzC;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;IACjB;IAEA,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;YACpB;QACF;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;AACf,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,gBAAgB;QACtD;IACF;wGArBW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAArB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cADR,MAAM,EAAA,CAAA;;4FACnB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACVlC;;;;;;;AAOmE;MAC7C,iBAAiB,CAAA;AAEtC;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-overlay.mjs","sources":["../../../src/lib/overlay/body-scroll-lock.service.ts","../../../src/lib/overlay/ds-overlay-close-ref.ts","../../../src/lib/overlay/ids-group-ltd-ids-design-system-overlay.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Injectable, inject } from '@angular/core';\n\n/**\n * Ref-counted lock on `document.body` scroll for viewport-covering overlays.\n * The first `lock()` saves and hides the body overflow, the last `unlock()`\n * restores it. Calls must be paired.\n */\n@Injectable({ providedIn: 'root' })\nexport class BodyScrollLockService {\n private readonly doc = inject(DOCUMENT);\n private count = 0;\n private previousOverflow = '';\n\n lock(): void {\n if (this.count === 0) {\n this.previousOverflow = this.doc.body.style.overflow;\n this.doc.body.style.overflow = 'hidden';\n }\n this.count += 1;\n }\n\n unlock(): void {\n if (this.count === 0) {\n return;\n }\n this.count -= 1;\n if (this.count === 0) {\n this.doc.body.style.overflow = this.previousOverflow;\n }\n }\n}\n","/** Lets projected content close the overlay it lives in. The container provides it via DI; inject with `{ optional: true }` so the content also works outside any overlay. */\nexport abstract class DsOverlayCloseRef {\n abstract close(): void;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;MAEU,qBAAqB,CAAA;AACf,IAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,KAAK,GAAG,CAAC;IACT,gBAAgB,GAAG,EAAE;IAE7B,IAAI,GAAA;AACF,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ;YACpD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;QACzC;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;IACjB;IAEA,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;YACpB;QACF;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;AACf,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,gBAAgB;QACtD;IACF;wGArBW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAArB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cADR,MAAM,EAAA,CAAA;;4FACnB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACRlC;MACsB,iBAAiB,CAAA;AAEtC;;ACHD;;AAEG;;;;"}
@@ -12,8 +12,7 @@ import { isPlatformBrowser } from '@angular/common';
12
12
  * ```
13
13
  *
14
14
  * Light is the default with no provider; `followSystem` opts into OS-driven
15
- * switching. A manual `<html data-theme="dark">` always wins over the initial
16
- * value this sets.
15
+ * switching. A manual `<html data-theme="dark">` wins over the initial value.
17
16
  */
18
17
  function provideDsTheme(options = {}) {
19
18
  return makeEnvironmentProviders([
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme: on startup set `data-theme` on\n * `<html>` from `prefers-color-scheme` and keep it in sync as the OS changes.\n * Default `false` — the design system stays on its explicit light default\n * and dark is opt-in via `<html data-theme=\"dark\">`.\n */\n followSystem?: boolean;\n}\n\n/**\n * App-root theme configuration for the design system.\n *\n * ```ts\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [provideDsTheme({ followSystem: true })],\n * };\n * ```\n *\n * Light is the default with no provider; `followSystem` opts into OS-driven\n * switching. A manual `<html data-theme=\"dark\">` always wins over the initial\n * value this sets.\n */\nexport function provideDsTheme(\n options: DsThemeOptions = {},\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer((): void => {\n if (!options.followSystem || !isPlatformBrowser(inject(PLATFORM_ID))) {\n return;\n }\n const query = window.matchMedia('(prefers-color-scheme: dark)');\n const apply = (): void =>\n document.documentElement.setAttribute(\n 'data-theme',\n query.matches ? 'dark' : 'light',\n );\n apply();\n query.addEventListener('change', apply);\n }),\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAmBA;;;;;;;;;;;;;AAaG;AACG,SAAU,cAAc,CAC5B,OAAA,GAA0B,EAAE,EAAA;AAE5B,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAW;AACvC,YAAA,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE;gBACpE;YACF;YACA,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC;YAC/D,MAAM,KAAK,GAAG,MACZ,QAAQ,CAAC,eAAe,CAAC,YAAY,CACnC,YAAY,EACZ,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,CACjC;AACH,YAAA,KAAK,EAAE;AACP,YAAA,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC;AACzC,QAAA,CAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACnDA;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme: sets `data-theme` on `<html>`\n * from `prefers-color-scheme` at startup and on every OS change.\n * Default `false`: light, with dark opt-in via `<html data-theme=\"dark\">`.\n */\n followSystem?: boolean;\n}\n\n/**\n * App-root theme configuration for the design system.\n *\n * ```ts\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [provideDsTheme({ followSystem: true })],\n * };\n * ```\n *\n * Light is the default with no provider; `followSystem` opts into OS-driven\n * switching. A manual `<html data-theme=\"dark\">` wins over the initial value.\n */\nexport function provideDsTheme(\n options: DsThemeOptions = {},\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer((): void => {\n if (!options.followSystem || !isPlatformBrowser(inject(PLATFORM_ID))) {\n return;\n }\n const query = window.matchMedia('(prefers-color-scheme: dark)');\n const apply = (): void =>\n document.documentElement.setAttribute(\n 'data-theme',\n query.matches ? 'dark' : 'light',\n );\n apply();\n query.addEventListener('change', apply);\n }),\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAkBA;;;;;;;;;;;;AAYG;AACG,SAAU,cAAc,CAC5B,OAAA,GAA0B,EAAE,EAAA;AAE5B,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAW;AACvC,YAAA,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE;gBACpE;YACF;YACA,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC;YAC/D,MAAM,KAAK,GAAG,MACZ,QAAQ,CAAC,eAAe,CAAC,YAAY,CACnC,YAAY,EACZ,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,CACjC;AACH,YAAA,KAAK,EAAE;AACP,YAAA,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC;AACzC,QAAA,CAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACjDA;;AAEG;;;;"}
@@ -0,0 +1,311 @@
1
+ {
2
+ "version": "0.14.5",
3
+ "items": [
4
+ {
5
+ "id": "pie-chart-stagger-ms-removed",
6
+ "kind": "removed-api",
7
+ "old": "ds-pie-chart[staggerMs]",
8
+ "new": null,
9
+ "action": "Remove the `staggerMs` attribute or `[staggerMs]` binding from every ds-pie-chart.",
10
+ "appliesWhen": "ds-pie-chart only. `staggerMs` on the other charts and on the chart series is unchanged and still spaces their arrivals.",
11
+ "searchHints": [
12
+ "staggerMs",
13
+ "ds-pie-chart"
14
+ ],
15
+ "surface": "template",
16
+ "verify": "No ds-pie-chart element carries a staggerMs attribute or binding, and the app compiles.",
17
+ "detect": [
18
+ "extends PieChartComponent",
19
+ "staggerMs"
20
+ ]
21
+ },
22
+ {
23
+ "id": "chart-tooltip-light-panel",
24
+ "kind": "behavior",
25
+ "old": "--chart-tooltip-bg-color",
26
+ "new": null,
27
+ "surface": "style",
28
+ "action": "None, unless a screen relies on the dark tooltip panel on the light theme: set the three --ds-chart-tooltip-* colours on :root as in restore. Delete an override that only restated the new light colours (delete list: chart-tooltip-light-override-redundant).",
29
+ "appliesWhen": "Every chart tooltip panel on the light theme, which ships in styles/tokens-charts. The dark theme is unchanged.",
30
+ "pitfall": "A screenshot test of an open chart tooltip on the light theme changes, and a page styled to sit a dark panel on a light card loses that contrast.",
31
+ "restore": ":root { --ds-chart-tooltip-bg-color: var(--neutral-900); --ds-chart-tooltip-text-color: var(--neutral-0); --ds-chart-tooltip-border-color: var(--neutral-700); }",
32
+ "searchHints": [
33
+ "--ds-chart-tooltip-bg-color",
34
+ "--ds-chart-tooltip-text-color",
35
+ "--ds-chart-tooltip-border-color",
36
+ "ds-chart-tooltip-panel"
37
+ ],
38
+ "detect": [
39
+ "--ds-chart-tooltip-bg-color",
40
+ "ds-chart-tooltip-panel",
41
+ "toHaveScreenshot"
42
+ ],
43
+ "verify": "On the light theme an open chart tooltip panel computes a light background, unless the app sets --ds-chart-tooltip-bg-color on purpose."
44
+ },
45
+ {
46
+ "id": "chart-tooltip-lone-reading-no-swatch",
47
+ "kind": "behavior",
48
+ "old": "ds-chart-tooltip-panel",
49
+ "new": null,
50
+ "surface": [
51
+ "template",
52
+ "config"
53
+ ],
54
+ "action": "None, unless a tooltip listing a single reading must keep its colour dot: set [tooltipSwatches]=\"true\" on that chart, or provideDsConfig({ chart: { tooltipSwatches: true } }) for every chart.",
55
+ "appliesWhen": "A chart tooltip with exactly one reading under the default tooltipSwatches. Two to four readings keep their dots; five or more had none already.",
56
+ "pitfall": "A test or style that reads the swatch of a single-series tooltip finds none.",
57
+ "restore": "provideDsConfig({ chart: { tooltipSwatches: true } })",
58
+ "searchHints": [
59
+ "ds-chart-tooltip-panel",
60
+ "swatch",
61
+ "tooltipSwatches"
62
+ ],
63
+ "detect": [
64
+ "ds-chart-tooltip-panel",
65
+ "swatch"
66
+ ],
67
+ "verify": "A one-reading chart tooltip shows a colour dot only where tooltipSwatches is true on the chart or in DS_CONFIG.chart."
68
+ },
69
+ {
70
+ "id": "chart-frame-tokens-fall-back-to-chart-bg",
71
+ "kind": "behavior",
72
+ "old": "--ds-chart-frame-bg-color",
73
+ "new": null,
74
+ "surface": "style",
75
+ "action": "Where your own CSS reads var(--ds-chart-frame-bg-color), var(--ds-chart-focus-halo-color) or var(--ds-chart-hatch-color), read var(--ds-chart-bg-color) instead. Setting the three still overrides. To keep the white focus halo, set --ds-chart-focus-halo-color: white.",
76
+ "appliesWhen": "Stylesheets that read one of the three tokens, which ship in styles/tokens-charts, which styles/ds forwards, and every chart's keyboard focus halo, which follows the chart background instead of white. Setting the tokens is unaffected.",
77
+ "pitfall": "A var(--ds-chart-frame-bg-color) with no fallback in your CSS resolves to nothing and the declaration it sits in is dropped without an error. The hatched swatch in a chart tooltip reads --ds-chart-hatch-color with the fallback var(--surface-default), so --ds-chart-bg-color does not reach it.",
78
+ "restore": ":root { --ds-chart-focus-halo-color: white; }",
79
+ "searchHints": [
80
+ "--ds-chart-frame-bg-color",
81
+ "--ds-chart-focus-halo-color",
82
+ "--ds-chart-hatch-color"
83
+ ],
84
+ "detect": [
85
+ "var(--ds-chart-frame-bg-color",
86
+ "var(--ds-chart-focus-halo-color",
87
+ "var(--ds-chart-hatch-color"
88
+ ],
89
+ "verify": "The built CSS declares --ds-chart-bg-color on :root, and no rule of yours reads one of the three tokens without a fallback.",
90
+ "note": "The three no longer declare a default; each chart reads var(--token, var(--ds-chart-bg-color)), and --ds-chart-bg-color defaults to var(--surface-default)."
91
+ },
92
+ {
93
+ "id": "bar-chart-row-label-dims-only-under-dim-others",
94
+ "kind": "behavior",
95
+ "old": "ds-bar-chart[dimOthers]",
96
+ "new": null,
97
+ "surface": "template",
98
+ "action": "None, unless you want hovering a ds-bar-chart row label to dim the other rows: set dimOthers on that chart.",
99
+ "appliesWhen": "ds-bar-chart with dimOthers unset. A chart with dimOthers set is unchanged, and hovering a bar itself never dimmed the other rows without it.",
100
+ "restore": "dimOthers",
101
+ "searchHints": [
102
+ "dimOthers",
103
+ "ds-bar-chart"
104
+ ],
105
+ "verify": "Hovering a row label dims the other rows only on ds-bar-chart elements that set dimOthers."
106
+ },
107
+ {
108
+ "id": "chart-cursor-pin-renamed",
109
+ "kind": "input-rename",
110
+ "old": "ds-chart[cursorPin]",
111
+ "new": "ds-chart[pinOnClick]",
112
+ "surface": "template",
113
+ "action": "Rename cursorPin to pinOnClick on every ds-chart, in static attributes and [cursorPin] bindings alike.",
114
+ "appliesWhen": "ds-chart only. pinOnClick on the preset charts is unchanged, and DS_CONFIG.chart.pinOnClick still sets the default.",
115
+ "searchHints": [
116
+ "cursorPin",
117
+ "ds-chart"
118
+ ],
119
+ "verify": "No template binds cursorPin, and the app compiles."
120
+ },
121
+ {
122
+ "id": "chart-cursor-pin-resolved-renamed",
123
+ "kind": "behavior",
124
+ "old": "cursorPinResolved",
125
+ "new": null,
126
+ "surface": "typescript",
127
+ "action": "Replace cursorPinResolved() with pinOnClickResolved() wherever your code reads it from a ds-chart reference.",
128
+ "appliesWhen": "Only TypeScript reading the resolved pin setting back from a ChartComponent through viewChild or a template reference. The preset charts already exposed pinOnClickResolved.",
129
+ "restore": null,
130
+ "searchHints": [
131
+ "cursorPinResolved"
132
+ ],
133
+ "detect": [
134
+ ".cursorPinResolved(",
135
+ "cursorPinResolved()"
136
+ ],
137
+ "verify": "No code calls cursorPinResolved, and the app compiles."
138
+ },
139
+ {
140
+ "id": "line-chart-tooltip-anchor-point-renamed",
141
+ "kind": "value-remap",
142
+ "old": "ds-line-chart[tooltipAnchor]",
143
+ "new": "ds-line-chart[tooltipAnchor]",
144
+ "map": {
145
+ "point": "tooltipAnchor=\"reading\"",
146
+ "pointer": "tooltipAnchor=\"pointer\""
147
+ },
148
+ "surface": [
149
+ "template",
150
+ "typescript"
151
+ ],
152
+ "action": "Replace tooltipAnchor=\"point\" with tooltipAnchor=\"reading\" on ds-line-chart, and 'point' with 'reading' in any typed field bound to [tooltipAnchor].",
153
+ "appliesWhen": "ds-line-chart only. dsLineSeries already took 'reading'; ds-column-chart's tooltipAnchor takes 'mark' | 'cell' and is unaffected.",
154
+ "searchHints": [
155
+ "tooltipAnchor",
156
+ "'point'"
157
+ ],
158
+ "detect": [
159
+ "tooltipAnchor=\"point\"",
160
+ "'point' | 'pointer'",
161
+ "tooltipAnchor: 'point'"
162
+ ],
163
+ "verify": "No ds-line-chart binds tooltipAnchor to 'point', and the app compiles."
164
+ },
165
+ {
166
+ "id": "line-series-area-widened",
167
+ "kind": "behavior",
168
+ "old": "LineChartSeries.area",
169
+ "new": null,
170
+ "surface": "typescript",
171
+ "action": "Where your code reads area back from a LineChartSeries or a dsLineSeries data entry, handle 'fade' as well as true and false.",
172
+ "appliesWhen": "Only code that READS area; building a series with area: true or false needs nothing.",
173
+ "restore": null,
174
+ "searchHints": [
175
+ "LineChartSeries",
176
+ ".area",
177
+ "area:"
178
+ ],
179
+ "detect": [
180
+ ".area ?",
181
+ ".area)",
182
+ "area === true",
183
+ "if (series.area"
184
+ ],
185
+ "verify": "Every read of a series' area handles the 'fade' value, and the app compiles.",
186
+ "note": "The type widened from boolean to boolean | 'fade'; 'fade' fills from the line down to nothing at the baseline."
187
+ },
188
+ {
189
+ "id": "chart-classes-members-moved",
190
+ "kind": "behavior",
191
+ "old": "BarChartComponent, ChartComponent, ColumnChartComponent, FunnelChartComponent, HeatmapChartComponent, LineChartComponent, PieChartComponent, ScatterChartComponent, WaterfallChartComponent, SparklineComponent, LineSeriesComponent, ChartTooltipDirective",
192
+ "new": null,
193
+ "surface": "typescript",
194
+ "action": "Build after upgrading, and rename or mark `override` every member of yours the compiler reports as colliding.",
195
+ "appliesWhen": "Only a class of yours that extends one of the listed charts. Template users need nothing; subclassing a DS component is unsupported.",
196
+ "pitfall": "A subclass that overrode a shared input such as caption or frame now shadows the base class member: it compiles only with `override`, and a redeclared input.required data breaks against the optional base.",
197
+ "restore": null,
198
+ "searchHints": [
199
+ "extends BarChartComponent",
200
+ "extends ChartComponent",
201
+ "extends ColumnChartComponent",
202
+ "extends FunnelChartComponent",
203
+ "extends HeatmapChartComponent",
204
+ "extends LineChartComponent",
205
+ "extends PieChartComponent",
206
+ "extends ScatterChartComponent",
207
+ "extends WaterfallChartComponent",
208
+ "extends SparklineComponent",
209
+ "extends LineSeriesComponent",
210
+ "extends ChartTooltipDirective"
211
+ ],
212
+ "detect": [
213
+ "extends BarChartComponent",
214
+ "extends ChartComponent",
215
+ "extends ColumnChartComponent",
216
+ "extends FunnelChartComponent",
217
+ "extends HeatmapChartComponent",
218
+ "extends LineChartComponent",
219
+ "extends PieChartComponent",
220
+ "extends ScatterChartComponent",
221
+ "extends WaterfallChartComponent",
222
+ "extends SparklineComponent",
223
+ "extends LineSeriesComponent",
224
+ "extends ChartTooltipDirective"
225
+ ],
226
+ "verify": "The app builds with no TS4114 or TS2416 against a DS chart class.",
227
+ "note": "The shared chart inputs and their resolved signals moved to an internal base class, DsChartBase, together with the protected defaults and intl. ChartComponent lost cursorPin and cursorPinResolved and gained pinOnClickResolved, BarChartComponent lost dimsOthers and hoveredLabel, LineChartComponent lost markAnchor, PieChartComponent lost staggerMs; the internal ChartTooltipDirective gained host, LineSeriesComponent fadeId, SparklineComponent area, WaterfallChartComponent dimOthers and tooltip; data, categories and series became optional. The compiler names every collision."
228
+ },
229
+ {
230
+ "id": "tooltip-light-panel",
231
+ "kind": "behavior",
232
+ "old": "--ds-tooltip-bg-color",
233
+ "new": null,
234
+ "surface": "style",
235
+ "action": "None, unless a screen relies on the inverted ds-tooltip: set the three --ds-tooltip-* colours on :root as in restore.",
236
+ "appliesWhen": "Every ds-tooltip, on both themes. The chart tooltip already took the same colours and is unchanged by this item.",
237
+ "pitfall": "A screenshot test of an open ds-tooltip changes, and a --ds-tooltip-bg-color override now meets a --tooltip-border-color border it did not have.",
238
+ "restore": ":root { --ds-tooltip-bg-color: var(--surface-inverted); --ds-tooltip-text-color: var(--text-inverted); --ds-tooltip-border-color: transparent; }",
239
+ "searchHints": [
240
+ "--ds-tooltip-bg-color",
241
+ "--ds-tooltip-text-color",
242
+ "ds-tooltip-panel",
243
+ "dsTooltip"
244
+ ],
245
+ "detect": [
246
+ "--ds-tooltip-bg-color",
247
+ "ds-tooltip-panel",
248
+ "toHaveScreenshot"
249
+ ],
250
+ "verify": "An open ds-tooltip on the light theme computes a light background and a visible border, unless the app sets --ds-tooltip-bg-color on purpose."
251
+ }
252
+ ],
253
+ "informational": [
254
+ "ds-table's exportCsv() and runExport() log a warning in a development build when the table has no dsTableExport, where they threw NG0203 from the calling click handler.",
255
+ "provideDsConfig and provideDsIntl merge several calls in one providers array in order, the later winning per key, where the last call used to replace the others.",
256
+ "A dsLineSeries with tooltip=\"axis\" opens its category panel under the default cursor=\"auto\", where the category cursor used to stay off unless two or more marks showed a tooltip. A cursor=\"category\" set only to make that panel appear is redundant (delete list: chart-cursor-category-for-axis-tooltip).",
257
+ "--ds-chart-tooltip-bg-color, --ds-chart-tooltip-text-color and --ds-chart-tooltip-border-color set on a chart element or an ancestor reach the tooltip panel, which copies them onto its overlay pane on every open; before, only :root reached it.",
258
+ "--ds-chart-bg-color (default var(--surface-default)) paints the chart frame and every knockout, and --ds-chart-plot-bg-color (default transparent) fills the plot area of ds-chart and ds-scatter-chart.",
259
+ "data on ds-bar-chart, ds-column-chart, ds-funnel-chart, ds-pie-chart and ds-sparkline, and categories and series on ds-line-chart, are optional and default to empty, so an omitted one shows the empty state instead of throwing NG0950.",
260
+ "A ds-breadcrumbs label clipped at 16ch (the current page at 32ch) opens a tooltip with its full text on hover, and on keyboard focus (:focus-visible) of its link; a label that fits opens none.",
261
+ "ds-tooltip and the chart tooltip read three new theme tokens, --tooltip-bg-color, --tooltip-text-color and --tooltip-border-color, so one override on :root recolours both; ds-tooltip gains the --ds-tooltip-border-color hook for its border and caret.",
262
+ "dsTooltipWhenClipped applies the tooltip directive on its own, so the empty dsTooltip written beside it is redundant (delete list: tooltip-empty-beside-when-clipped).",
263
+ "A ds-breadcrumbs link clicked with Ctrl, Cmd, Shift or Alt, or with a non-primary button, opens its href the browser's way and emits no (navigate); a plain primary click is unchanged.",
264
+ "ds-breadcrumbs gains --ds-breadcrumbs-font-size (default var(--font-size-s)), --ds-breadcrumbs-font-weight (var(--font-weight-regular)), --ds-breadcrumbs-current-label-font-weight (var(--font-weight-bold)), --ds-breadcrumbs-gap (var(--space-2)), --ds-breadcrumbs-label-max-width (16ch) and --ds-breadcrumbs-current-label-max-width (32ch); rendering is unchanged until one is set.",
265
+ {
266
+ "text": "A dsTooltip whose preferred side does not fit in the viewport opens on the opposite side, 8px from the edge, with its arrow turned to match.",
267
+ "verify": "Hover a trigger near the top of the viewport whose tooltip is placed on top and confirm the panel opens below it, fully on screen, arrow pointing up at the trigger."
268
+ }
269
+ ],
270
+ "deleteList": [
271
+ {
272
+ "id": "chart-cursor-category-for-axis-tooltip",
273
+ "surface": "template",
274
+ "find": [
275
+ "cursor=\"category\""
276
+ ],
277
+ "why": "cursor=\"auto\", the default, turns the category cursor on for any mark with tooltip=\"axis\".",
278
+ "replaceWith": "nothing; keep it on a plot whose marks do not use tooltip=\"axis\", where it is what turns the cursor on"
279
+ },
280
+ {
281
+ "id": "chart-frame-bg-color-for-surface",
282
+ "surface": "style",
283
+ "find": [
284
+ "--ds-chart-frame-bg-color"
285
+ ],
286
+ "why": "--ds-chart-bg-color paints the frame and every knockout together, so a frame override set only to match the surface behind the chart leaves the knockouts on the old colour.",
287
+ "replaceWith": "--ds-chart-bg-color set to that surface; keep --ds-chart-frame-bg-color only to colour the frame apart from the knockouts"
288
+ },
289
+ {
290
+ "id": "chart-tooltip-light-override-redundant",
291
+ "surface": "style",
292
+ "find": [
293
+ "--ds-chart-tooltip-bg-color",
294
+ "--ds-chart-tooltip-text-color",
295
+ "--ds-chart-tooltip-border-color"
296
+ ],
297
+ "why": "The panel takes --surface-overlay, --text-primary and --border-default by default, so an override setting those light colours restates it.",
298
+ "replaceWith": "nothing; keep an override that sets any other colour"
299
+ },
300
+ {
301
+ "id": "tooltip-empty-beside-when-clipped",
302
+ "surface": "template",
303
+ "find": [
304
+ "dsTooltip dsTooltipWhenClipped",
305
+ "dsTooltipWhenClipped"
306
+ ],
307
+ "why": "The directive selector includes [dsTooltipWhenClipped], so the attribute alone creates the tooltip.",
308
+ "replaceWith": "nothing; keep a dsTooltip that carries text or a [dsTooltip] binding"
309
+ }
310
+ ]
311
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": "0.14.6-beta.0",
3
+ "items": [],
4
+ "informational": [
5
+ "ds-breadcrumbs gains --ds-breadcrumbs-bg-color-hover (default transparent), --ds-breadcrumbs-padding (0) and --ds-breadcrumbs-radius (var(--radius-sm)); rendering is unchanged until one is set.",
6
+ "The slash icon is built in, so ds-breadcrumbs separator=\"slash\" and DS_CONFIG.breadcrumbs.separator: 'slash' render a \"/\" between crumbs."
7
+ ],
8
+ "deleteList": []
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "0.14.4",
3
+ "version": "0.14.6-beta.0",
4
4
  "description": "IDS Group Angular design system: components, tokens, themes",
5
5
  "license": "MIT",
6
6
  "homepage": "https://ids-ds.proto.ids-group.co.uk/",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.4",
2
+ "version": "0.14.6-beta.0",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -129,9 +129,18 @@
129
129
  "--ds-bottom-sheet-radius",
130
130
  "--ds-bottom-sheet-scrim-color",
131
131
  "--ds-bottom-sheet-title-text-color",
132
+ "--ds-breadcrumbs-bg-color-hover",
132
133
  "--ds-breadcrumbs-current-label-color",
134
+ "--ds-breadcrumbs-current-label-font-weight",
135
+ "--ds-breadcrumbs-current-label-max-width",
136
+ "--ds-breadcrumbs-font-size",
137
+ "--ds-breadcrumbs-font-weight",
138
+ "--ds-breadcrumbs-gap",
133
139
  "--ds-breadcrumbs-label-color",
134
140
  "--ds-breadcrumbs-label-color-hover",
141
+ "--ds-breadcrumbs-label-max-width",
142
+ "--ds-breadcrumbs-padding",
143
+ "--ds-breadcrumbs-radius",
135
144
  "--ds-breadcrumbs-separator-icon-color",
136
145
  "--ds-button-bg-color",
137
146
  "--ds-button-bg-color-active",
@@ -172,11 +181,14 @@
172
181
  "--ds-chart-annotation-font-weight",
173
182
  "--ds-chart-annotation-halo-color",
174
183
  "--ds-chart-annotation-halo-width",
184
+ "--ds-chart-area-color",
185
+ "--ds-chart-area-fade-opacity",
175
186
  "--ds-chart-area-opacity",
176
187
  "--ds-chart-axis-font-size",
177
188
  "--ds-chart-axis-label-color",
178
189
  "--ds-chart-axis-line-color",
179
190
  "--ds-chart-bar-gap",
191
+ "--ds-chart-bg-color",
180
192
  "--ds-chart-cursor-line-color",
181
193
  "--ds-chart-dim-opacity",
182
194
  "--ds-chart-dot-radius",
@@ -207,8 +219,8 @@
207
219
  "--ds-chart-line-width-bold",
208
220
  "--ds-chart-mark-cap-radius",
209
221
  "--ds-chart-negative-color",
210
- "--ds-chart-orange-color",
211
222
  "--ds-chart-pin-size",
223
+ "--ds-chart-plot-bg-color",
212
224
  "--ds-chart-positive-color",
213
225
  "--ds-chart-ramp-1-color",
214
226
  "--ds-chart-ramp-2-color",
@@ -768,6 +780,8 @@
768
780
  "--ds-slider-thumb-size",
769
781
  "--ds-slider-track-color",
770
782
  "--ds-slider-track-height",
783
+ "--ds-sparkline-area-color",
784
+ "--ds-sparkline-area-opacity",
771
785
  "--ds-sparkline-dot-radius",
772
786
  "--ds-sparkline-height",
773
787
  "--ds-sparkline-line-color",
@@ -952,6 +966,7 @@
952
966
  "--ds-toggle-button-selected-border-color",
953
967
  "--ds-toggle-button-selected-color",
954
968
  "--ds-tooltip-bg-color",
969
+ "--ds-tooltip-border-color",
955
970
  "--ds-tooltip-max-width",
956
971
  "--ds-tooltip-padding",
957
972
  "--ds-tooltip-radius",
@@ -1350,6 +1365,7 @@
1350
1365
  "marks",
1351
1366
  "measuring",
1352
1367
  "pins",
1368
+ "plot-bg",
1353
1369
  "stage-table",
1354
1370
  "zero-line"
1355
1371
  ],
@@ -1921,6 +1937,7 @@
1921
1937
  "mark-leave",
1922
1938
  "pin-reset",
1923
1939
  "pins",
1940
+ "plot-bg",
1924
1941
  "point",
1925
1942
  "scatter-chart",
1926
1943
  "stage-table",
@@ -2048,6 +2065,7 @@
2048
2065
  "track"
2049
2066
  ],
2050
2067
  "ds-sparkline": [
2068
+ "area",
2051
2069
  "dot",
2052
2070
  "line",
2053
2071
  "sparkline"
@@ -1,21 +1,6 @@
1
- // Breakpoint scale — SINGLE source for both representations:
2
- // --bp-* runtime custom properties (JS via getComputedStyle) — emitted only
3
- // by the emit-vars mixin below, never by a plain @use
4
- // $bp-* compile-time Sass aliases, usable inside @media
5
- //
6
- // Why $bp-* exist: a custom property CANNOT be used in a @media condition
7
- // (`@media (width >= var(--bp-md))` is ignored — the condition is evaluated
8
- // before custom-property resolution). Sass variables resolve at build time, so
9
- // they can. Use this partial wherever a media query needs the scale:
10
- // @use 'breakpoints' as bp; // same dir; relative path elsewhere
11
- // @include bp.up(md) { … } // width >= 768px
12
- // @include bp.down(sm) { … } // width < 640px
13
- // @media (width >= #{bp.$bp-lg}) { } // or read an alias directly
14
- //
15
- // Plain @use above is side-effect-free (no CSS emitted) — safe from any
16
- // component SCSS without duplicating output. The runtime mirror is opt-in via
17
- // the emit-vars mixin (see bottom of file) — call it from exactly one global
18
- // stylesheet, not per component.
1
+ // Single source of the breakpoint scale: `$bp-*` Sass aliases (a custom property
2
+ // is ignored inside a @media condition) and the `--bp-*` runtime mirror, emitted
3
+ // only by `emit-vars`. A plain @use emits no CSS.
19
4
 
20
5
  @use 'sass:map';
21
6
 
@@ -24,7 +9,7 @@ $breakpoints: (
24
9
  'sm': 640px,
25
10
  'md': 768px,
26
11
  'lg': 1024px,
27
- 'xl': 1441px, // page-grid wide-tier threshold (12 cols, caps at --col-cap-content)
12
+ 'xl': 1441px,
28
13
  '2xl': 1536px,
29
14
  );
30
15
  $bp-xs: map.get($breakpoints, 'xs');
@@ -34,22 +19,20 @@ $bp-lg: map.get($breakpoints, 'lg');
34
19
  $bp-xl: map.get($breakpoints, 'xl');
35
20
  $bp-2xl: map.get($breakpoints, '2xl');
36
21
 
37
- // width >= breakpoint — mobile-first / min-width semantics.
38
22
  @mixin up($name) {
39
23
  @media (width >= #{map.get($breakpoints, $name)}) {
40
24
  @content;
41
25
  }
42
26
  }
43
27
 
44
- // width < breakpoint — max-width semantics, exclusive of the breakpoint itself.
28
+ // Exclusive of the breakpoint itself.
45
29
  @mixin down($name) {
46
30
  @media (width < #{map.get($breakpoints, $name)}) {
47
31
  @content;
48
32
  }
49
33
  }
50
34
 
51
- // Emits the --bp-* runtime mirror once — call from exactly one global stylesheet
52
- // (styles/ds does this); plain @use stays CSS-free for component styles.
35
+ // Call from exactly one global stylesheet.
53
36
  @mixin emit-vars {
54
37
  :root {
55
38
  @each $name, $value in $breakpoints {