@ids-group-ltd/ids-design-system 0.14.7 → 0.15.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 (294) hide show
  1. package/CHANGELOG.md +735 -230
  2. package/components.md +64 -25
  3. package/docs/agent/INDEX.md +3 -1
  4. package/docs/agent/charts/ds-bar-chart.md +7 -4
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  8. package/docs/agent/charts/ds-pie-chart.md +1 -1
  9. package/docs/agent/charts/ds-waterfall-chart.md +2 -2
  10. package/docs/agent/feedback/ds-loading-overlay.md +2 -0
  11. package/docs/agent/feedback/ds-skeleton.md +1 -1
  12. package/docs/agent/forms/ds-button.md +2 -2
  13. package/docs/agent/forms/ds-date-picker.md +1 -0
  14. package/docs/agent/foundations/global-helper-classes.md +3 -3
  15. package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
  16. package/docs/agent/overlays/ds-definition-term.md +10 -0
  17. package/docs/agent/overlays/ds-drawer.md +1 -1
  18. package/docs/agent/overlays/ds-info-hint.md +10 -0
  19. package/docs/agent/overlays/ds-menu.md +1 -1
  20. package/docs/agent/overlays/ds-modal-card.md +1 -1
  21. package/docs/agent/overlays/ds-modal.md +19 -1
  22. package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
  23. package/docs/agent/overlays/ds-tooltip.md +3 -3
  24. package/docs/agent/tables/ds-table.md +3 -2
  25. package/eslint/deprecated-api.json +889 -0
  26. package/eslint/index.mjs +394 -0
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -12
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +19 -7
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +169 -37
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +2 -2
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +195 -27
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +23 -20
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +9 -9
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +107 -0
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -0
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +2 -2
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +5 -15
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +2 -2
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +11 -8
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +44 -0
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +6 -6
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +10 -4
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +4 -4
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +136 -29
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +21 -26
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +19 -7
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +2 -2
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +8 -6
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +2 -2
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +4 -4
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +19 -5
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +21 -7
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +2 -2
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +2 -2
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +223 -8
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +4 -4
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  185. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +410 -145
  186. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  187. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  188. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  189. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  190. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  191. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
  192. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  193. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +14 -11
  194. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  195. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +86 -2
  196. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  197. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +18 -81
  198. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  199. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
  200. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  201. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +1 -0
  202. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  203. package/fesm2022/ids-group-ltd-ids-design-system.mjs +2 -0
  204. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  205. package/migrations/0.10.0.json +79 -21
  206. package/migrations/0.10.1.json +38 -21
  207. package/migrations/0.10.2.json +44 -7
  208. package/migrations/0.10.3.json +7 -5
  209. package/migrations/0.11.0.json +10 -7
  210. package/migrations/0.11.1.json +25 -14
  211. package/migrations/0.11.2.json +3 -3
  212. package/migrations/0.11.3.json +9 -6
  213. package/migrations/0.11.4.json +13 -12
  214. package/migrations/0.12.1.json +41 -14
  215. package/migrations/0.12.2.json +7 -6
  216. package/migrations/0.12.3.json +3 -3
  217. package/migrations/0.13.0.json +11 -11
  218. package/migrations/0.13.1.json +60 -8
  219. package/migrations/0.13.2.json +98 -44
  220. package/migrations/0.13.3.json +46 -16
  221. package/migrations/0.13.4.json +23 -22
  222. package/migrations/0.14.0.json +5 -5
  223. package/migrations/0.14.1.json +5 -5
  224. package/migrations/0.14.2.json +1 -1
  225. package/migrations/0.14.4.json +6 -5
  226. package/migrations/0.14.5.json +13 -7
  227. package/migrations/0.14.6.json +2 -2
  228. package/migrations/0.14.8.json +56 -0
  229. package/migrations/0.15.0.json +999 -0
  230. package/migrations/0.2.0.json +2 -2
  231. package/migrations/0.3.0.json +43 -6
  232. package/migrations/0.4.0.json +95 -13
  233. package/migrations/0.5.0.json +116 -10
  234. package/migrations/0.5.1.json +97 -11
  235. package/migrations/0.6.0.json +30 -1
  236. package/migrations/0.6.1.json +22 -1
  237. package/migrations/0.6.2.json +8 -4
  238. package/migrations/0.6.3.json +17 -5
  239. package/migrations/0.7.0.json +58 -9
  240. package/migrations/0.7.1.json +62 -8
  241. package/migrations/0.8.0.json +60 -12
  242. package/migrations/0.9.0.json +68 -25
  243. package/migrations/0.9.1.json +1 -1
  244. package/migrations/README.md +57 -3
  245. package/package.json +19 -1
  246. package/schematics/check-overrides/index.cjs +4 -11
  247. package/schematics/check-overrides/scan.cjs +12 -1
  248. package/schematics/check-overrides/surface.json +51 -10
  249. package/schematics/ng-add/index.cjs +7 -1
  250. package/stylelint/deprecated-tokens.json +2697 -0
  251. package/stylelint/index.mjs +94 -0
  252. package/stylelint/since-version.mjs +26 -0
  253. package/styles/_chart-motion.scss +3 -9
  254. package/styles/_chip-row.scss +5 -2
  255. package/styles/_clear-button.scss +2 -0
  256. package/styles/_component-base.scss +56 -0
  257. package/styles/_dismiss-button.scss +16 -0
  258. package/styles/_dropdown-overlay.scss +19 -0
  259. package/styles/_focus.scss +4 -1
  260. package/styles/_overlay-motion.scss +4 -6
  261. package/styles/_pinned.scss +43 -0
  262. package/styles/_skeleton-shimmer.scss +2 -8
  263. package/styles/_table-controls.scss +4 -0
  264. package/styles/_target.scss +40 -0
  265. package/styles/_text-clip.scss +23 -4
  266. package/styles/_tokens.scss +0 -1
  267. package/styles/_typography.scss +2 -0
  268. package/styles/_visually-hidden.scss +2 -0
  269. package/styles/ds.scss +0 -1
  270. package/themes/README.md +7 -7
  271. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +4 -1
  272. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +74 -4
  273. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  274. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +40 -4
  275. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +8 -3
  276. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +4 -3
  277. package/types/ids-group-ltd-ids-design-system-components-definition-term.d.ts +22 -0
  278. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +0 -1
  279. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +7 -3
  280. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +1 -0
  281. package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +14 -0
  282. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +5 -0
  283. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +8 -3
  284. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +0 -2
  285. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +4 -1
  286. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +5 -3
  287. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +13 -3
  288. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +4 -1
  289. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +30 -3
  290. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +48 -17
  291. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +6 -2
  292. package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -2
  293. package/types/ids-group-ltd-ids-design-system-core.d.ts +7 -11
  294. package/types/ids-group-ltd-ids-design-system.d.ts +3 -1
@@ -0,0 +1,94 @@
1
+ // Stylelint plugin for consumers of @ids-group-ltd/ids-design-system. The rule
2
+ // `ids-design-system/no-removed-tokens` reports every custom property this library removed or
3
+ // renamed, read from `deprecated-tokens.json` (generated from the published migration manifests),
4
+ // and autofixes a rename to the current name.
5
+ import { readFileSync } from 'node:fs';
6
+ import stylelint from 'stylelint';
7
+ import { VERSION, inRange } from './since-version.mjs';
8
+
9
+ const {
10
+ createPlugin,
11
+ utils: { report, ruleMessages, validateOptions },
12
+ } = stylelint;
13
+
14
+ const ruleName = 'ids-design-system/no-removed-tokens';
15
+
16
+ const deprecatedTokens = new Map(
17
+ JSON.parse(
18
+ readFileSync(new URL('./deprecated-tokens.json', import.meta.url), 'utf8'),
19
+ ).map((entry) => [entry.name, entry]),
20
+ );
21
+
22
+ const messages = ruleMessages(ruleName, {
23
+ renamed: (name, replacement, since, itemId) =>
24
+ `"${name}" was renamed to "${replacement}" in ${since} (${itemId})`,
25
+ removed: (name, replacement, since, itemId) =>
26
+ `"${name}" was removed in ${since}${replacement ? `, use ${replacement}` : ''} (${itemId})`,
27
+ });
28
+
29
+ // The whole dashed name, so `--x-warn` is never found inside `--x-warning`.
30
+ const CUSTOM_PROPERTY = /(?<![\w-])--[\w-]+/g;
31
+
32
+ const rule = (primary, secondary) => (root, result) => {
33
+ if (
34
+ !validateOptions(
35
+ result,
36
+ ruleName,
37
+ { actual: primary },
38
+ {
39
+ actual: secondary,
40
+ possible: {
41
+ from: (value) => typeof value === 'string' && VERSION.test(value),
42
+ to: (value) => typeof value === 'string' && VERSION.test(value),
43
+ },
44
+ optional: true,
45
+ },
46
+ )
47
+ )
48
+ return;
49
+
50
+ root.walkDecls((declaration) => {
51
+ const reportName = (name, index, rewrite) => {
52
+ const entry = deprecatedTokens.get(name);
53
+ if (!entry || !inRange(entry.since, secondary)) return;
54
+ const renamed = entry.kind === 'renamed';
55
+ report({
56
+ ruleName,
57
+ result,
58
+ node: declaration,
59
+ index,
60
+ endIndex: index + name.length,
61
+ message: messages[entry.kind](
62
+ name,
63
+ entry.replacement,
64
+ entry.since,
65
+ entry.itemId,
66
+ ),
67
+ fix: renamed ? () => rewrite(entry.replacement) : undefined,
68
+ });
69
+ };
70
+
71
+ reportName(declaration.prop, 0, (replacement) => {
72
+ declaration.prop = replacement;
73
+ });
74
+
75
+ const valueIndex =
76
+ declaration.prop.length + (declaration.raws.between ?? ':').length;
77
+ for (const match of declaration.value.matchAll(CUSTOM_PROPERTY))
78
+ reportName(match[0], valueIndex + match.index, (replacement) => {
79
+ declaration.value = declaration.value.replace(
80
+ new RegExp(`(?<![\\w-])${match[0]}(?![\\w-])`, 'g'),
81
+ replacement,
82
+ );
83
+ });
84
+ });
85
+ };
86
+
87
+ rule.ruleName = ruleName;
88
+ rule.messages = messages;
89
+ rule.meta = {
90
+ url: 'https://www.npmjs.com/package/@ids-group-ltd/ids-design-system',
91
+ fixable: true,
92
+ };
93
+
94
+ export default createPlugin(ruleName, rule);
@@ -0,0 +1,26 @@
1
+ // Shared by the ESLint and stylelint plugins: does an entry belong to the releases a consumer is
2
+ // upgrading across, after `from` and up to and including `to`? An entry for the unreleased version
3
+ // has no number: it counts with no `to`, and never with one.
4
+ export const VERSION = /^\d+\.\d+\.\d+/;
5
+
6
+ const core = (version) => version.match(VERSION)?.[0].split('.').map(Number);
7
+
8
+ const compare = (left, right) => {
9
+ for (let index = 0; index < 3; index++) {
10
+ if (left[index] !== right[index]) return left[index] - right[index];
11
+ }
12
+
13
+ return 0;
14
+ };
15
+
16
+ export function inRange(since, { from, to } = {}) {
17
+ const released = core(since);
18
+ if (!released) return to === undefined;
19
+ const lower = from === undefined ? undefined : core(from);
20
+ const upper = to === undefined ? undefined : core(to);
21
+
22
+ return (
23
+ (!lower || compare(released, lower) > 0) &&
24
+ (!upper || compare(released, upper) <= 0)
25
+ );
26
+ }
@@ -42,12 +42,6 @@
42
42
  }
43
43
  }
44
44
 
45
- @keyframes ds-chart-ring-sweep {
46
- from {
47
- opacity: 0;
48
- transform: rotate(-30deg) scale(0.96);
49
- }
50
- }
51
45
 
52
46
  // Needs `pathLength="1"` and `stroke-dasharray: 1` on the path, so one unit is the whole line.
53
47
  @keyframes ds-chart-line-draw {
@@ -150,7 +144,7 @@
150
144
  @include leaves($mark);
151
145
  }
152
146
 
153
- @mixin sweeps-in($ring) {
147
+ @mixin settles-ring-in($ring) {
154
148
  #{$ring} {
155
149
  transform-box: fill-box;
156
150
  transform-origin: center;
@@ -158,7 +152,7 @@
158
152
 
159
153
  @include enters(
160
154
  '#{$ring}',
161
- ds-chart-ring-sweep,
155
+ ds-chart-mark-settle,
162
156
  var(--ds-motion-chart-mark-sweep-duration),
163
157
  var(--ds-motion-chart-mark-grow-easing)
164
158
  );
@@ -182,7 +176,7 @@
182
176
  @mixin follows($detail, $after) {
183
177
  @include enters(
184
178
  '#{$detail}',
185
- ds-chart-mark-rise,
179
+ ds-chart-mark-fade-in,
186
180
  var(--ds-motion-chart-mark-detail-duration),
187
181
  var(--ds-motion-chart-mark-enter-easing),
188
182
  $after
@@ -1,4 +1,6 @@
1
- // Fit mode needs `min-width: 0` with `overflow: hidden`, or the measuring frame that renders every
1
+ @use 'text-clip' as text-clip;
2
+
3
+ // Fit mode needs `min-width: 0` with an inline clip, or the measuring frame that renders every
2
4
  // chip would widen the trigger instead of clipping.
3
5
  @mixin chip-row {
4
6
  display: contents;
@@ -8,9 +10,10 @@
8
10
  flex-wrap: nowrap;
9
11
  align-items: center;
10
12
  min-width: 0;
11
- overflow: hidden;
12
13
  gap: inherit;
13
14
 
15
+ @include text-clip.inline-axis;
16
+
14
17
  // A squeezed chip must clip, never wrap: a two-line chip grows the trigger.
15
18
  > * {
16
19
  flex: 0 1 auto;
@@ -1,4 +1,5 @@
1
1
  @use 'press' as press;
2
+ @use 'target' as target;
2
3
 
3
4
  // The `×` behind `clearable` for ds-select, ds-autocomplete and ds-multi-select (ds-input has its own).
4
5
  // Include inside the selector holding the trigger's layout.
@@ -20,4 +21,5 @@
20
21
  }
21
22
 
22
23
  @include press.feedback;
24
+ @include target.min-size;
23
25
  }
@@ -0,0 +1,56 @@
1
+ @use 'focus' as focus;
2
+
3
+ // What a component's own elements need from the page, set by the component, so it renders the same
4
+ // with or without `styles/reset` and `styles/focus`. Every selector compiles to the component's own
5
+ // elements only; `interpolate-size` is inherited, so content projected into the host takes it as
6
+ // under the reset.
7
+ //
8
+ // In a cascade layer, so any unlayered rule wins over it whatever its specificity: the component's
9
+ // own rules, `styles/reset` and `styles/focus` where the app loads them, and the app's own global
10
+ // rules such as a custom `:focus-visible` ring. It only fills what nothing else sets.
11
+ @mixin rules {
12
+ @layer ds-component-base {
13
+ :host {
14
+ box-sizing: border-box;
15
+ interpolate-size: allow-keywords;
16
+ }
17
+
18
+ *,
19
+ *::before,
20
+ *::after {
21
+ box-sizing: border-box;
22
+ }
23
+
24
+ button,
25
+ input,
26
+ select,
27
+ textarea {
28
+ font-family: inherit;
29
+ }
30
+
31
+ h1,
32
+ h2,
33
+ h3,
34
+ h4,
35
+ h5,
36
+ h6 {
37
+ margin: 0;
38
+ }
39
+
40
+ // The base ring of `focus.emit-rules`, for what the component does not style itself.
41
+ :host(:where(:focus-visible)),
42
+ :where(:focus-visible) {
43
+ @include focus.ring;
44
+
45
+ border-radius: var(--focus-ring-radius);
46
+ }
47
+
48
+ @media (forced-colors: active) {
49
+ :host(:where(:focus-visible)),
50
+ :where(:focus-visible) {
51
+ outline: var(--focus-ring-width) solid CanvasText;
52
+ outline-offset: var(--focus-ring-offset);
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,16 @@
1
+ @use 'press' as press;
2
+
3
+ // The bare `×` that closes or removes its container. A flex box, so the glyph sits in the centre of
4
+ // a square box and of its focus ring; an inline glyph rides the text line instead, below centre.
5
+ // Include inside the button's own selector; colour, hover and size stay with the component.
6
+ @mixin button {
7
+ display: inline-flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ padding: var(--space-0-5);
11
+ border: 0;
12
+ background: none;
13
+ cursor: pointer;
14
+
15
+ @include press.feedback;
16
+ }
@@ -50,6 +50,8 @@
50
50
  max-height: var(--_dropdown-panel-max-height);
51
51
  display: flex;
52
52
  flex-direction: column;
53
+
54
+ // glyph-clip-guard: rounds the corners; every option pads its text off this edge
53
55
  overflow: hidden;
54
56
  z-index: var(--layer-popover);
55
57
  }
@@ -68,6 +70,18 @@
68
70
  gap: var(--_option-row-gap);
69
71
  }
70
72
 
73
+ // The overlay host stands between the panel and the list, so it carries the list's flex sizing.
74
+ .list-overlay {
75
+ display: flex;
76
+ flex-direction: column;
77
+ min-height: 0;
78
+ }
79
+
80
+ .option.is-skeleton {
81
+ cursor: default;
82
+ pointer-events: none;
83
+ }
84
+
71
85
  .optgroup {
72
86
  list-style: none;
73
87
  display: flex;
@@ -97,10 +111,15 @@
97
111
  gap: var(--_option-row-gap);
98
112
  }
99
113
 
114
+ // The row carries its whole type here rather than through a typography class, so it renders the
115
+ // same whether or not `styles/typography` is loaded.
100
116
  .empty {
101
117
  padding: var(--space-3) var(--space-4);
102
118
  color: var(--_dropdown-empty-color);
119
+ font-family: var(--ds-typography-s-font-family, var(--font-sans));
120
+ font-weight: var(--ds-typography-s-font-weight, var(--font-weight-regular));
103
121
  font-size: var(--_dropdown-empty-font-size);
122
+ line-height: var(--ds-typography-s-line-height, var(--line-height-base));
104
123
  text-align: center;
105
124
  }
106
125
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  // The control indicator. Does not touch box-shadow, so a focused card keeps its elevation; a state
5
5
  // painting its own shadow must yield, see `state-shadow`.
6
- // An outline follows the element's border-radius: a shell that only carries the ring takes `--focus-ring-radius`.
6
+ // An outline follows the element's border-radius: `emit-rules` gives `--focus-ring-radius` to whatever declares none.
7
7
  // Include inside `&:focus-visible`, never on the element itself, or every instance is ringed at all times.
8
8
  // Usually include nothing: `:where(:focus-visible)` in `emit-rules` rings anything focusable that styles nothing itself.
9
9
  // Pass a negative offset where an ancestor clips.
@@ -53,8 +53,11 @@
53
53
  @mixin emit-rules {
54
54
  // Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
55
55
  // silences its control with `owns-the-focus-ring` to avoid a second ring.
56
+ // Zero specificity, so a radius the element declares wins; one painting a fill and declaring none rounds while focused.
56
57
  :where(:focus-visible) {
57
58
  @include ring;
59
+
60
+ border-radius: var(--focus-ring-radius);
58
61
  }
59
62
 
60
63
  @keyframes ds-focus-ring-in {
@@ -6,11 +6,14 @@
6
6
  // trigger edge. The keyframe name never changes with placement, so a mid-scroll CDK flip redirects the
7
7
  // motion instead of restarting it.
8
8
  //
9
+ // A scale entrance re-rasterises the text when it ends, so the glyphs thin and step a pixel; the
10
+ // default fades in place.
11
+ //
9
12
  // Duration and easing are longhands so they outrank a consumer keyframe's own timing. Reduced motion
10
13
  // zeroes the duration; at 0s `animationend` is unreliable, and `disposeWithLeave`'s 400 ms timer tears the pane down.
11
14
 
12
15
  .cdk-overlay-pane.ds-overlay-pane {
13
- --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-scale-in);
16
+ --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-fade-in);
14
17
  --_overlay-enter-duration: var(--ds-overlay-enter-duration, var(--ds-motion-enter-panel-duration));
15
18
  --_overlay-enter-easing: var(--ds-overlay-enter-easing, var(--ds-motion-enter-panel-easing));
16
19
  --_overlay-enter-offset: var(--ds-overlay-enter-offset, 4px);
@@ -40,11 +43,6 @@
40
43
  --_overlay-enter-origin: center left;
41
44
  }
42
45
 
43
- // A chart tooltip reopens on every mark crossed; a scale would shift its rows, so it fades.
44
- &.ds-chart-tooltip-pane {
45
- --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-fade-in);
46
- }
47
-
48
46
  @media (prefers-reduced-motion: reduce) {
49
47
  --_overlay-enter-duration: 0ms;
50
48
  }
@@ -0,0 +1,43 @@
1
+ // The pinned-tooltip cue every pin-capable trigger shares: `--accent-strong` ink, and for a text trigger a
2
+ // 2px solid accent underline. No fill, so it reads the same on any surface. Include inside
3
+ // `&[data-ds-tooltip-pinned]`; pass `$underline: false` for an icon. `cue-hover` goes inside
4
+ // `&[data-ds-tooltip-pinned]:hover` and `cue-pressed` inside `&[data-ds-tooltip-pinned]:active`, so a
5
+ // pinned trigger still answers the pointer and the press. `$spread` widens a fill past the trigger's box
6
+ // without moving the layout.
7
+
8
+ @mixin -ink($underline, $thickness) {
9
+ color: var(--accent-strong);
10
+
11
+ @if $underline {
12
+ text-decoration: underline solid var(--accent-strong);
13
+ text-decoration-thickness: $thickness;
14
+ }
15
+ }
16
+
17
+ @mixin -fill($color, $spread) {
18
+ background-color: $color;
19
+ box-shadow: 0 0 0 $spread $color;
20
+ }
21
+
22
+ @mixin cue($underline: true) {
23
+ @include -ink($underline, 2px);
24
+ }
25
+
26
+ // A text trigger thickens its underline; an icon has no line, so it takes the neutral circle instead.
27
+ @mixin cue-hover($spread: 2px, $underline: true) {
28
+ @include -ink($underline, 3px);
29
+
30
+ @if not $underline {
31
+ @include -fill(var(--surface-muted), $spread);
32
+ }
33
+ }
34
+
35
+ @mixin cue-pressed($spread: 2px, $underline: true) {
36
+ @include -ink($underline, 3px);
37
+
38
+ @if $underline {
39
+ @include -fill(var(--surface-muted), $spread);
40
+ } @else {
41
+ @include -fill(var(--border-default), $spread);
42
+ }
43
+ }
@@ -1,8 +1,2 @@
1
- // Reduced-motion opt-out for the skeleton shimmer; the travel is per-element in the skeleton component.
2
- // Not driven from one animated `:root` custom property: a registered property is a computed value, so animating it invalidates style for the whole document every frame.
3
- // `!important`: the travel is declared as `[_nghost-...]::after`, which outranks `ds-skeleton::after`.
4
- @media (prefers-reduced-motion: reduce) {
5
- ds-skeleton::after {
6
- animation: none !important;
7
- }
8
- }
1
+ // Deprecated: emits nothing. `ds-skeleton` carries its own reduced-motion opt-out, so this partial
2
+ // is no longer needed; it stays so that `@use 'styles/skeleton-shimmer'` keeps compiling.
@@ -1,9 +1,11 @@
1
1
  @use 'focus' as focus;
2
+ @use 'target' as target;
2
3
 
3
4
  // Controls shared by ds-table and its opt-in directives. `dsTableColumns` renders from its own
4
5
  // components, which lack ds-table's encapsulation attribute, so both stylesheets include these.
5
6
  // The square icon button in a header cell: expand-all, row actions, the column-panel trigger.
6
7
  // Reads the `--_table-icon-btn-*` resolvers, so include it only inside a ds-table.
8
+ // target-size-guard: --space-6, 24px
7
9
  @mixin header-icon-button {
8
10
  display: flex;
9
11
  align-items: center;
@@ -37,6 +39,8 @@
37
39
  color: var(--icon-default);
38
40
  cursor: pointer;
39
41
 
42
+ @include target.min-size;
43
+
40
44
  &:hover:not(:disabled) {
41
45
  color: var(--icon-strong);
42
46
  }
@@ -0,0 +1,40 @@
1
+ // The pointer target of an icon-only control is at least `--hit-xs` (24px, WCAG 2.5.8), however small
2
+ // it is drawn. Include last in the control's own rule, after its own `:focus-visible`.
3
+ //
4
+ // The box keeps its size, so the layout around it and every fill it paints stay as drawn: a
5
+ // transparent `::before`, centred on the box and `--hit-xs` across where the box is smaller, takes the
6
+ // pointer, and the focus ring is drawn on that target. Under the default style the ring's outer edge
7
+ // is the target's edge; it follows `--focus-ring-offset`, so `[data-focus='edge']` draws it 2px and
8
+ // `[data-focus='inset']` 4px further in.
9
+ //
10
+ // `$ring-on-target: false` leaves the ring where the control's own rule draws it, for a control set a
11
+ // few pixels from running text, where a ring on the target would cover the letters beside it.
12
+ // `$position: null` for a control that is already positioned.
13
+ @mixin min-size($ring-on-target: true, $position: relative) {
14
+ @if $position {
15
+ position: $position;
16
+ }
17
+
18
+ &::before {
19
+ content: '';
20
+ position: absolute;
21
+ top: 50%;
22
+ left: 50%;
23
+ width: max(100%, var(--hit-xs));
24
+ height: max(100%, var(--hit-xs));
25
+ translate: -50% -50%;
26
+ border-radius: inherit;
27
+ }
28
+
29
+ @if $ring-on-target {
30
+ &:focus-visible {
31
+ outline-style: none;
32
+ }
33
+
34
+ &:focus-visible::before {
35
+ outline: var(--focus-ring-width) solid var(--focus-ring-color);
36
+ outline-offset: calc(var(--focus-ring-offset) - 2 * var(--focus-ring-width));
37
+ animation: ds-focus-ring-in var(--duration-fast) var(--ease-standard);
38
+ }
39
+ }
40
+ }
@@ -1,8 +1,27 @@
1
+ /* Every box that clips text goes through this file. A glyph reaches past its line box by half the
2
+ difference between the font's ascent plus descent and the line-height, and that depends on
3
+ whatever font the consumer sets, so no fixed margin on the block axis is safe for every font. */
4
+
5
+ /* `clip` does not make a scroll container, so the block axis stays `visible` and nothing moves. */
6
+ @mixin inline-axis {
7
+ overflow: clip visible;
8
+ }
9
+
10
+ /* `text-overflow` applies under `clip` as it does under `hidden`. */
1
11
  @mixin single-line-ellipsis {
2
- /* `clip` with a margin, not `hidden`: where the line box is tighter than the glyph box (Mulish is 1.257em;
3
- --line-height-flat and -tight are below it) `hidden` shaves every label. `text-overflow` applies under `clip` too. */
4
- overflow: clip;
5
- overflow-clip-margin: var(--space-1);
12
+ @include inline-axis;
13
+
6
14
  text-overflow: ellipsis;
7
15
  white-space: nowrap;
8
16
  }
17
+
18
+ /* A clamp must clip the block axis to hide the lines after the last, and that edge runs through the
19
+ strip where a descender above and an accent below overlap. Only a line box as tall as the font's
20
+ own glyph box keeps both clear of it, and `normal` is the line-height every font defines so. */
21
+ @mixin line-clamp($lines) {
22
+ display: -webkit-box;
23
+ -webkit-box-orient: vertical;
24
+ -webkit-line-clamp: $lines;
25
+ overflow: clip;
26
+ line-height: normal;
27
+ }
@@ -462,7 +462,6 @@
462
462
  --kbd-pad-x: var(--space-1-5);
463
463
 
464
464
  --chart-empty-h: 160px;
465
- --chart-skeleton-h: 160px;
466
465
  --chart-legend-dot: var(--icon-2xs);
467
466
 
468
467
  --compare-dt-w: 90px;
@@ -174,6 +174,8 @@
174
174
  position: absolute !important;
175
175
  width: 1px; height: 1px;
176
176
  padding: 0; margin: -1px;
177
+
178
+ // glyph-clip-guard: visually hidden
177
179
  overflow: hidden; clip-path: inset(50%);
178
180
  white-space: nowrap; border: 0;
179
181
  }
@@ -6,6 +6,8 @@
6
6
  height: 1px;
7
7
  padding: 0;
8
8
  margin: -1px;
9
+
10
+ // glyph-clip-guard: visually hidden
9
11
  overflow: hidden;
10
12
  clip-path: inset(50%);
11
13
  white-space: nowrap;
package/styles/ds.scss CHANGED
@@ -26,6 +26,5 @@
26
26
  @forward 'toast-overlay';
27
27
  @forward 'surface-motion';
28
28
  @forward 'overlay-motion';
29
- @forward 'skeleton-shimmer';
30
29
  @include bp-emit.emit-vars;
31
30
  @include focus-emit.emit-rules;
package/themes/README.md CHANGED
@@ -88,22 +88,22 @@ On-fill text is the literal `white`, or the theme-stable `--static-ink` where th
88
88
  @use 'styles/toast-overlay';
89
89
  @use 'styles/surface-motion';
90
90
  @use 'styles/overlay-motion';
91
- @use 'styles/skeleton-shimmer';
92
91
 
93
- @include bp.emit-vars; // REQUIRED, and not implied by the @use above
92
+ @include bp.emit-vars; // writes --bp-*; not implied by the @use above
94
93
  ```
95
94
 
96
95
  That is the whole list `styles/ds` forwards — it is written out rather than trailed off, because
97
96
  the parts that are easy to leave out are the ones that fail silently:
98
97
 
99
98
  - **`bp.emit-vars` is a separate call.** `@use 'styles/breakpoints'` alone emits nothing; the mixin
100
- is what writes `--bp-*`. Without it `ds-container` reads `var(--bp-sm|md|lg)` with no fallback, so
101
- `max-width` is invalid at computed-value time and `size="sm|md|lg"` silently goes full-bleed. The
102
- default `size="xl"` resolves from `tokens` and looks fine, which is what makes the omission hard
103
- to spot.
99
+ is what writes `--bp-*` for your own stylesheets. The library's components fall back to the same
100
+ values when it is missing.
104
101
  - **`ds-color`** is what defines the `[ds-color="…"]` zones. Leave it out and the accent never
105
102
  recolours — no error, just the primary palette everywhere.
106
- - **`focus`** carries the focus-ring roles; without it interactive elements lose their ring.
103
+ - **`focus`** gives your own elements the base focus ring and carries the `[data-focus]` styles and
104
+ the ring's fade-in. The library's components draw their ring without it.
105
+ - **`reset`** sets the page: `border-box`, the body font, form controls in the inherited font. The
106
+ library's components set what they need of it on their own elements.
107
107
  - **`dropdown-overlay` and `toast-overlay`** style panels that portal to `document.body`, which is
108
108
  why they cannot live in a component's own stylesheet. Omitting them renders every dropdown,
109
109
  picker panel and toast unstyled.
@@ -72,8 +72,10 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
72
72
  readonly filterWith: _angular_core.InputSignal<((option: AutocompleteOption<T>, query: string) => boolean) | "none">;
73
73
  /** The typed query, on every change; pair with `filterWith="none"` for server-side search. */
74
74
  readonly filterChange: _angular_core.OutputEmitterRef<string>;
75
- /** Options are still being fetched: the panel shows a spinner instead of the empty row and reports `aria-busy`. */
75
+ /** Options are still being fetched and the list reports `aria-busy`: with no options it shows
76
+ * placeholder rows, with options it keeps them under an overlay until they are replaced. */
76
77
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
78
+ protected readonly skeletonOptionWidths: string[];
77
79
  /** The panel opened. */
78
80
  readonly opened: _angular_core.OutputEmitterRef<void>;
79
81
  /** The panel closed, for any reason - a pick, Escape, an outside click, a scroll. */
@@ -117,6 +119,7 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
117
119
  protected readonly labelId: string;
118
120
  protected optionId(index: number): string;
119
121
  protected readonly activeDescendant: _angular_core.Signal<string | null>;
122
+ protected readonly listInert: _angular_core.Signal<boolean>;
120
123
  protected readonly allOptions: _angular_core.Signal<readonly AutocompleteOption<T>[]>;
121
124
  protected readonly filteredItems: _angular_core.Signal<AutocompleteItem<T>[]>;
122
125
  protected readonly filteredOptions: _angular_core.Signal<readonly AutocompleteOption<T>[]>;