@ids-group-ltd/ids-design-system 0.11.4 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/CHANGELOG.md +373 -53
  2. package/components/README.md +86 -0
  3. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +85 -0
  4. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -0
  5. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +70 -0
  6. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -0
  7. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +573 -0
  8. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -0
  9. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +86 -0
  10. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -0
  11. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +615 -0
  12. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -0
  13. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +30 -0
  14. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -0
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +188 -0
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -0
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +59 -0
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -0
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +92 -0
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -0
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +204 -0
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -0
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +100 -0
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -0
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +23 -0
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -0
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +180 -0
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -0
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +78 -0
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -0
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +49 -0
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -0
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +73 -0
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -0
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +397 -0
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -0
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +1231 -0
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -0
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +51 -0
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -0
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +35 -0
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -0
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +109 -0
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -0
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +111 -0
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -0
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +52 -0
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -0
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +92 -0
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -0
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +62 -0
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -0
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +164 -0
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -0
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +85 -0
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -0
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +223 -0
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -0
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +63 -0
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -0
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +53 -0
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -0
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +43 -0
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -0
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +293 -0
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -0
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +329 -0
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -0
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +612 -0
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -0
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +69 -0
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -0
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +191 -0
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -0
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +23 -0
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -0
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +43 -0
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -0
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +85 -0
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -0
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +95 -0
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -0
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +240 -0
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -0
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +41 -0
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +1 -0
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +248 -0
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -0
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +62 -0
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -0
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +173 -0
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -0
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +123 -0
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -0
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +461 -0
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -0
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +107 -0
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -0
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +185 -0
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -0
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +32 -0
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +204 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -0
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +25 -0
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -0
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +63 -0
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -0
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +99 -0
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -0
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +26 -0
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -0
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +74 -0
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -0
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +76 -0
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -0
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +440 -0
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -0
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +186 -0
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -0
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +227 -0
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -0
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +1593 -0
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -0
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +381 -0
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -0
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +44 -0
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -0
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +158 -0
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -0
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +671 -0
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -0
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +41 -0
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -0
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +549 -0
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -0
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +34 -0
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -0
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +218 -0
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -0
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +18 -0
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -0
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +153 -0
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -0
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +48 -0
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -0
  147. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +1338 -0
  148. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -0
  149. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +333 -0
  150. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -0
  151. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +65 -0
  152. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -0
  153. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +56 -0
  154. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -0
  155. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +37 -0
  156. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -0
  157. package/fesm2022/ids-group-ltd-ids-design-system.mjs +75 -14267
  158. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  159. package/migrations/0.10.0.json +1 -1
  160. package/migrations/0.10.1.json +1 -1
  161. package/migrations/0.10.2.json +1 -30
  162. package/migrations/0.11.0.json +0 -2
  163. package/migrations/0.11.1.json +2 -24
  164. package/migrations/0.11.2.json +2 -1
  165. package/migrations/0.11.3.json +3 -2
  166. package/migrations/0.11.4.json +32 -6
  167. package/migrations/0.12.0.json +22 -0
  168. package/migrations/0.12.1.json +215 -0
  169. package/migrations/0.4.0.json +2 -1
  170. package/migrations/0.5.0.json +0 -54
  171. package/migrations/0.5.1.json +3 -1
  172. package/migrations/0.7.0.json +0 -11
  173. package/migrations/0.7.1.json +2 -1
  174. package/migrations/0.9.0.json +22 -3
  175. package/migrations/0.9.1.json +1 -1
  176. package/package.json +597 -1
  177. package/styles/_check-box.scss +84 -0
  178. package/styles/_check-mark.scss +59 -0
  179. package/styles/_dropdown-overlay.scss +12 -2
  180. package/styles/_field-group-segment.scss +4 -1
  181. package/styles/_focus.scss +103 -50
  182. package/styles/_link.scss +4 -2
  183. package/styles/_tokens.scss +20 -0
  184. package/styles/_typography.scss +6 -0
  185. package/themes/README.md +4 -4
  186. package/themes/_semantic.scss +7 -8
  187. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +48 -0
  188. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +32 -0
  189. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +260 -0
  190. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +75 -0
  191. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +226 -0
  192. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +13 -0
  193. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +99 -0
  194. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +25 -0
  195. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +41 -0
  196. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +61 -0
  197. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +66 -0
  198. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +10 -0
  199. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +90 -0
  200. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +41 -0
  201. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +24 -0
  202. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +41 -0
  203. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +79 -0
  204. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +251 -0
  205. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +25 -0
  206. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +22 -0
  207. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +38 -0
  208. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +45 -0
  209. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +22 -0
  210. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +73 -0
  211. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +36 -0
  212. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +83 -0
  213. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +56 -0
  214. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +121 -0
  215. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +39 -0
  216. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +29 -0
  217. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +31 -0
  218. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +85 -0
  219. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +124 -0
  220. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +213 -0
  221. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +31 -0
  222. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +52 -0
  223. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +13 -0
  224. package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +21 -0
  225. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +32 -0
  226. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +80 -0
  227. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +48 -0
  228. package/types/ids-group-ltd-ids-design-system-components-progress.d.ts +22 -0
  229. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +110 -0
  230. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +33 -0
  231. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +82 -0
  232. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +40 -0
  233. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +152 -0
  234. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +92 -0
  235. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +131 -0
  236. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +16 -0
  237. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +51 -0
  238. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +11 -0
  239. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +39 -0
  240. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +44 -0
  241. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +12 -0
  242. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +32 -0
  243. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +40 -0
  244. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +43 -0
  245. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +48 -0
  246. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +79 -0
  247. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +815 -0
  248. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +118 -0
  249. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +26 -0
  250. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +85 -0
  251. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +188 -0
  252. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +24 -0
  253. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +167 -0
  254. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +18 -0
  255. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +66 -0
  256. package/types/ids-group-ltd-ids-design-system-components-topbar.d.ts +8 -0
  257. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +46 -0
  258. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +18 -0
  259. package/types/ids-group-ltd-ids-design-system-components.d.ts +604 -0
  260. package/types/ids-group-ltd-ids-design-system-core.d.ts +436 -0
  261. package/types/ids-group-ltd-ids-design-system-icons.d.ts +52 -0
  262. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +32 -0
  263. package/types/ids-group-ltd-ids-design-system-theme.d.ts +29 -0
  264. package/types/ids-group-ltd-ids-design-system.d.ts +75 -5594
  265. package/LICENSE +0 -21
  266. package/README.md +0 -73
@@ -0,0 +1,260 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { Signal } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+
5
+ /**
6
+ * When the layout resets the content scroll to the top.
7
+ *
8
+ * `'path'` (default) is today's behaviour: only when navigation lands on a
9
+ * different PATH, so a search, a sort or a page step on the same screen keeps
10
+ * the reader's place. `'always'` resets on every navigation, which is what a
11
+ * server-paged list usually wants — a new page should start at the top.
12
+ * `'never'` hands the decision back to the screen, which can still call
13
+ * `LayoutScrollService.scrollToTop()` itself.
14
+ */
15
+ type DsScrollReset = 'path' | 'never' | 'always';
16
+ /**
17
+ * Owns the layout's content scroller. In the fixed-frame layout the window never
18
+ * scrolls, so the router's built-in window-based scrolling no-ops — this service
19
+ * resets the registered container to the top when navigation lands on a different
20
+ * PATH instead. Provided by `ds-app-layout`, so routed pages can
21
+ * `inject(LayoutScrollService)` and call `scrollToTop()` manually (e.g. list pages
22
+ * that DO want the top after a filter change).
23
+ *
24
+ * With `restoreScroll` on the layout it also restores the reader's place. Only
25
+ * when ARMED, which is the whole design: going BACK to a list should return to
26
+ * where the reader was, while following a link into a new screen should not.
27
+ */
28
+ declare class LayoutScrollService {
29
+ private readonly navigation;
30
+ private readonly router;
31
+ private readonly destroyRef;
32
+ private readonly container;
33
+ /**
34
+ * The content scroller, once the layout has rendered it. Exposed so a host that
35
+ * must measure or drive the scroll itself — a scroll-spy, a virtualizer — can
36
+ * ask the layout for it instead of guessing the layout's internal markup with
37
+ * `document.querySelector`.
38
+ */
39
+ readonly scroller: Signal<Element | null>;
40
+ private restoreTimeoutMs;
41
+ private resetStrategy;
42
+ private armed;
43
+ private pendingOffset;
44
+ private endRestore;
45
+ private firstNavigation;
46
+ constructor();
47
+ /**
48
+ * Wiring, called by `ds-app-layout` once its content region exists. Public only
49
+ * because the component and the service sit in different files - a consumer has
50
+ * no reason to call it, and calling it points the service at the wrong element.
51
+ */
52
+ setScrollContainer(element: Element): void;
53
+ /** Wiring: `ds-app-layout` mirrors its `restoreScroll` inputs through here. */
54
+ configureRestore(timeoutMs: number | null): void;
55
+ /** Wiring: `ds-app-layout` mirrors its `scrollReset` input through here. */
56
+ configureReset(strategy: DsScrollReset): void;
57
+ scrollToTop(): void;
58
+ /**
59
+ * Scroll the content region to an absolute offset. Assigns `scrollTop` rather
60
+ * than calling `scrollTo`, so a themed `scroll-behavior: smooth` cannot turn a
61
+ * positioning jump into an animation.
62
+ */
63
+ scrollTo(top: number): void;
64
+ /**
65
+ * Take the offset this navigation is going to restore, and cancel the restore.
66
+ *
67
+ * For a host that renders its own scroll position — a virtualizer needs the
68
+ * offset BEFORE it decides which rows to build, so letting the service assign
69
+ * `scrollTop` afterwards would scroll a list that has not been built yet.
70
+ * Returns null when nothing is pending, which is every navigation that is not a
71
+ * back.
72
+ */
73
+ consumePendingOffset(): number | null;
74
+ /**
75
+ * Optional accelerator: tell the layout the content for this route is in the
76
+ * DOM. Without it the restore still lands — it waits for the container to grow
77
+ * and clamps at the deadline — but a host that knows when its data arrived can
78
+ * end the wait early instead of paying the growth watch.
79
+ */
80
+ contentReady(): void;
81
+ private onNavigationStart;
82
+ private onNavigationEnd;
83
+ private beginRestore;
84
+ private applyClamped;
85
+ private finishRestore;
86
+ private read;
87
+ private remember;
88
+ private recall;
89
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutScrollService, never>;
90
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<LayoutScrollService>;
91
+ }
92
+
93
+ /**
94
+ * Fixed-frame application layout: the host is pinned to the viewport
95
+ * (`100dvh` + `overflow: hidden`) and ONLY the content region scrolls, so
96
+ * the sidenav rail and the topbar stay put on pages taller than the
97
+ * viewport. Consumers project their own chrome into the slots:
98
+ *
99
+ * ```html
100
+ * <ds-app-layout>
101
+ * <ds-sidenav sidenav>…</ds-sidenav>
102
+ * <ds-topbar topbar>…</ds-topbar>
103
+ * <router-outlet />
104
+ * </ds-app-layout>
105
+ * ```
106
+ *
107
+ * The layout renders the `<main>` landmark itself — do not nest another
108
+ * `<main>` in the content. Scroll-to-top is built in (`LayoutScrollService`)
109
+ * and fires when navigation changes the PATH, so a URL-driven list can page
110
+ * and filter without losing the reader's place; inject the service and call
111
+ * `scrollToTop()` for the changes that do want the top. The content padding
112
+ * auto-compensates the native scrollbar width so the right inset always
113
+ * equals the left one. The layout requires the application router
114
+ * (`provideRouter`) because its scroll-to-top service subscribes to
115
+ * navigation events.
116
+ *
117
+ * Below the `lg` breakpoint the rail becomes a modal overlay driven by
118
+ * `[(railOpen)]`; put the burger wherever the design wants it inside your own
119
+ * projected topbar.
120
+ */
121
+ declare class AppLayoutComponent {
122
+ /**
123
+ * `'content'` (default): the rail spans the full viewport height on the
124
+ * left and the topbar sits above the content column only. `'full'`: the
125
+ * topbar spans the full width and the rail + content sit below it.
126
+ */
127
+ readonly topbarSpan: _angular_core.InputSignal<"content" | "full">;
128
+ /**
129
+ * Whether the rail is open as an overlay. Only meaningful below the `lg`
130
+ * breakpoint — above it the rail is always in the layout and this is
131
+ * ignored. Two-way, so a burger in your topbar can drive it.
132
+ */
133
+ readonly railOpen: _angular_core.ModelSignal<boolean>;
134
+ /** Accessible name for the rail while it is a modal overlay. */
135
+ readonly railLabel: _angular_core.InputSignal<string>;
136
+ /**
137
+ * Remember the content scroll per path and restore it on the way BACK. Off by
138
+ * default: a layout that silently moved the scroll would surprise every existing
139
+ * consumer. Only a history traversal restores — following a link into a screen
140
+ * still lands at the top — plus a host that pushes its own "back to list" and
141
+ * says so with `state: { dsRestoreScroll: true }`, and the first navigation after
142
+ * a reload.
143
+ */
144
+ readonly restoreScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
145
+ /**
146
+ * How long to wait for the restored screen's content to grow tall enough before
147
+ * landing as close as it allows. Only meaningful with `restoreScroll`.
148
+ */
149
+ readonly restoreScrollTimeout: _angular_core.InputSignal<number>;
150
+ /**
151
+ * When the content scroll resets to the top. `'path'` (default) is what the
152
+ * layout has always done; `'always'` also resets on a query- or fragment-only
153
+ * navigation, which is what a server-paged list wants; `'never'` hands the
154
+ * decision to the screen, which can still call `LayoutScrollService.scrollToTop()`.
155
+ *
156
+ * It exists because the layout owning the scroll CONTAINER also meant it owned
157
+ * the POLICY: a screen could add a reset but had no way to suppress one.
158
+ */
159
+ readonly scrollReset: _angular_core.InputSignal<DsScrollReset>;
160
+ /**
161
+ * True only while the rail is an overlay. Gates the dialog semantics: above
162
+ * the breakpoint the rail is an ordinary region, and a permanent
163
+ * `role="dialog"` there would lie to a screen reader.
164
+ */
165
+ protected readonly compact: _angular_core.WritableSignal<boolean>;
166
+ /** Whether the rail is currently an overlay rather than part of the layout. */
167
+ readonly railOverlay: _angular_core.Signal<boolean>;
168
+ /** Id of the rail panel, for a trigger's `aria-controls`. */
169
+ readonly railId: string;
170
+ private readonly layoutScroll;
171
+ private readonly navigation;
172
+ private readonly destroyRef;
173
+ private readonly content;
174
+ constructor();
175
+ /** Dismissal: Escape or the scrim. Restores focus, which navigation must not. */
176
+ protected closeRail(): void;
177
+ private watchDesktopBreakpoint;
178
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppLayoutComponent, never>;
179
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppLayoutComponent, "ds-app-layout", never, { "topbarSpan": { "alias": "topbarSpan"; "required": false; "isSignal": true; }; "railOpen": { "alias": "railOpen"; "required": false; "isSignal": true; }; "railLabel": { "alias": "railLabel"; "required": false; "isSignal": true; }; "restoreScroll": { "alias": "restoreScroll"; "required": false; "isSignal": true; }; "restoreScrollTimeout": { "alias": "restoreScrollTimeout"; "required": false; "isSignal": true; }; "scrollReset": { "alias": "scrollReset"; "required": false; "isSignal": true; }; }, { "railOpen": "railOpenChange"; }, never, ["[sidenav]", "[topbar]", "*"], true, never>;
180
+ }
181
+
182
+ /**
183
+ * Wires a consumer's own burger to the layout's overlay rail: toggles
184
+ * `[(railOpen)]` on click and keeps `aria-expanded` / `aria-controls` in sync, so
185
+ * the trigger and the panel are related for a screen reader.
186
+ *
187
+ * ```html
188
+ * <ds-app-layout>
189
+ * <ds-topbar topbar>
190
+ * <button dsRailTrigger type="button" aria-label="Navigation">☰</button>
191
+ * </ds-topbar>
192
+ * </ds-app-layout>
193
+ * ```
194
+ *
195
+ * PUT IT ON THE FOCUSABLE CONTROL, not on a wrapper: the attributes go on the
196
+ * host element, and on `<ds-icon-button>` that is the wrapper, whose inner
197
+ * `<button>` is what a screen reader actually reads. With a DS button, skip this
198
+ * directive and bind its forwarding inputs instead —
199
+ * `[ariaExpanded]="layout.railOverlay() ? layout.railOpen() : null"` and
200
+ * `[ariaControls]="layout.railId"` off a `<ds-app-layout #layout>` template ref.
201
+ *
202
+ * Both attributes are dropped while the rail is NOT an overlay: above the
203
+ * breakpoint the rail is permanently in the layout, so `aria-expanded="false"`
204
+ * would state the opposite of what the user sees.
205
+ *
206
+ * Must sit inside a `ds-app-layout` — the injector walks the declaration tree, so
207
+ * anywhere in the projected chrome works. Outside one, DI fails naming
208
+ * `AppLayoutComponent`, which says what is missing.
209
+ */
210
+ declare class RailTriggerDirective {
211
+ protected readonly layout: AppLayoutComponent;
212
+ protected toggle(): void;
213
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RailTriggerDirective, never>;
214
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RailTriggerDirective, "[dsRailTrigger]", never, {}, {}, never, never, true, never>;
215
+ }
216
+
217
+ /**
218
+ * Emits the new path whenever navigation lands on a DIFFERENT one. A query- or
219
+ * fragment-only navigation is a search, sort or page step on the same screen, and
220
+ * everything that reacts to "went somewhere else" must agree on that — the scroll
221
+ * reset, the responsive rail, and now your own code — so they read one source
222
+ * instead of each deciding for itself.
223
+ *
224
+ * PUBLIC since 0.8.x, because consumers were re-deriving it and disagreeing: one
225
+ * consumer had three separate answers to "did the path change?" — route snapshots
226
+ * in a view-transition skip, this stream inside the layout, and a `split('?')`
227
+ * in a tab helper that ignored the fragment this one strips. Inject it and read
228
+ * `pathChanged` rather than writing a fourth:
229
+ *
230
+ * ```ts
231
+ * private readonly navigation = inject(LayoutNavigationService);
232
+ * constructor() {
233
+ * this.navigation.pathChanged
234
+ * .pipe(takeUntilDestroyed())
235
+ * .subscribe((path) => …);
236
+ * }
237
+ * ```
238
+ *
239
+ * A PATH change is not always a page change. An app whose URL mirrors the
240
+ * reader's position — a docs layout rewriting `/area/section` from a scroll spy,
241
+ * a wizard that names its step — changes the path while staying on the screen,
242
+ * and resetting the scroll there fights the user: the reset moves the scroll,
243
+ * the spy rewrites the path again, and the page ping-pongs. Such a navigation
244
+ * must carry `state: { dsSamePage: true }`, which is skipped here.
245
+ *
246
+ * Root-provided, which is also what makes it safe to expose: the stream is
247
+ * derived from the router and holds no state, so one instance serves every
248
+ * reader. `LayoutScrollService` depends on it, so a consumer providing THAT
249
+ * outside `ds-app-layout` needs this one resolvable too.
250
+ */
251
+ declare class LayoutNavigationService {
252
+ private readonly router;
253
+ readonly pathChanged: Observable<string>;
254
+ private samePage;
255
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutNavigationService, never>;
256
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<LayoutNavigationService>;
257
+ }
258
+
259
+ export { AppLayoutComponent, LayoutNavigationService, LayoutScrollService, RailTriggerDirective };
260
+ export type { DsScrollReset };
@@ -0,0 +1,75 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/core';
3
+ import { BrandNameDirective } from '@ids-group-ltd/ids-design-system/components/sidenav';
4
+
5
+ /**
6
+ * Scaffold for the UNauthenticated screens — sign-in, forgot password, reset,
7
+ * MFA — and the counterpart to `ds-app-layout`, which only ever covers the
8
+ * screens behind the login.
9
+ *
10
+ * The host is the ONLY full-height box — nesting a `100vh` wrapper inside a
11
+ * `100dvh` one scrolls a page whose content fits — and it carries the safe-area
12
+ * insets a notched phone in landscape needs.
13
+ *
14
+ * The brand row takes the same CONTRACT as `ds-sidenav` — a `brand` string gets a
15
+ * letter-mark tile plus wordmark, `logoLetter` overrides the glyph, `[dsBrandName]`
16
+ * projects a two-tone wordmark (import `BrandNameDirective` alongside this
17
+ * component, or the attribute is inert and the wordmark lands in the card), and
18
+ * `[brand]` projects a real logo. The two are not pixel-identical: the rail's tile
19
+ * is a fixed 28px at weight 800, this one 24-32px at 700, and each has its own
20
+ * `--ds-*-mark-*` hooks, so retinting the mark means setting both.
21
+ *
22
+ * Projecting into `[brand]` does NOT suppress the tile — leave `brand`/`logoLetter`
23
+ * unset when you supply a logo.
24
+ *
25
+ * ```html
26
+ * <ds-auth-layout brand="MyAdmin" logoLetter="A" tagline="Broker administration">
27
+ * <h1 class="title">Sign in</h1>
28
+ * <form class="form">…</form>
29
+ *
30
+ * <p dsAuthSupport>
31
+ * Need a hand? <a href="mailto:support@example.com">Contact support</a>
32
+ * </p>
33
+ * </ds-auth-layout>
34
+ * ```
35
+ */
36
+ declare class AuthLayoutComponent {
37
+ /** Wordmark beside the letter-mark tile. For a logo image/SVG, project it into
38
+ * the `[brand]` slot instead; for a two-tone wordmark use `[dsBrandName]`.
39
+ * Unset falls back to `DS_CONFIG.brand.name`. Each field resolves on its own, so
40
+ * `brand=""` drops the wordmark but a `logoLetter` in the config still paints its
41
+ * tile; clear both to give one screen no brand row. */
42
+ readonly brand: _angular_core.InputSignal<string | null>;
43
+ /** Letter-mark glyph when it differs from the brand's first letter (e.g. an
44
+ * "A" tile beside the "MyAdmin" wordmark). Empty = first letter of `brand`;
45
+ * unset falls back to `DS_CONFIG.brand.logoLetter`. */
46
+ readonly logoLetter: _angular_core.InputSignal<string | null>;
47
+ /** One line under the wordmark naming the product or audience. Unset falls back
48
+ * to `DS_CONFIG.brand.tagline`. */
49
+ readonly tagline: _angular_core.InputSignal<string | null>;
50
+ /** The template must read THIS, never the input beside it — that one is null
51
+ * until bound, and the config default lives here. */
52
+ readonly brandName: _angular_core.Signal<string>;
53
+ readonly letterGlyph: _angular_core.Signal<string>;
54
+ readonly taglineText: _angular_core.Signal<string>;
55
+ /** Card treatment. `flat` suits a screen that already sits on a tinted canvas. */
56
+ readonly cardElevation: _angular_core.InputSignal<CardElevation>;
57
+ /** Card padding, passed through to `ds-card`. `md` tightens a short form. */
58
+ readonly cardPadding: _angular_core.InputSignal<CardPadding>;
59
+ /** Announce the card as the page's `main` landmark. `ds-card` renders an
60
+ * `<article>`, which is NOT a landmark, so by default a screen-reader user has
61
+ * nothing to jump to — set `'main'` on a standalone auth page. Opt-in because
62
+ * the layout is also embedded inside pages that already own a `main`, and two
63
+ * `main`s is its own violation. */
64
+ readonly landmark: _angular_core.InputSignal<"none" | "main">;
65
+ protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
66
+ protected readonly hasBrandName: _angular_core.Signal<boolean>;
67
+ /** Spread, not `charAt(0)`: the latter indexes UTF-16 code UNITS, so a brand
68
+ * starting with an astral character (an emoji, a rarer CJK glyph) yields half
69
+ * a surrogate pair and paints as tofu. */
70
+ protected readonly markGlyph: _angular_core.Signal<string>;
71
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLayoutComponent, never>;
72
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLayoutComponent, "ds-auth-layout", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "logoLetter": { "alias": "logoLetter"; "required": false; "isSignal": true; }; "tagline": { "alias": "tagline"; "required": false; "isSignal": true; }; "cardElevation": { "alias": "cardElevation"; "required": false; "isSignal": true; }; "cardPadding": { "alias": "cardPadding"; "required": false; "isSignal": true; }; "landmark": { "alias": "landmark"; "required": false; "isSignal": true; }; }, {}, ["brandNameRef"], ["[brand]", "[dsBrandName]", "*", "[dsAuthSupport]"], true, never>;
73
+ }
74
+
75
+ export { AuthLayoutComponent };
@@ -0,0 +1,226 @@
1
+ import * as _ids_group_ltd_ids_design_system_components_field_message from '@ids-group-ltd/ids-design-system/components/field-message';
2
+ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
3
+ import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
4
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
5
+ import { DsOptionItem, DsOption, DsOptionGroup, DsControlWidth, DsSize } from '@ids-group-ltd/ids-design-system/core';
6
+ import * as _angular_core from '@angular/core';
7
+ import { OnDestroy, TemplateRef, ElementRef } from '@angular/core';
8
+
9
+ /** `content` here also reserves a minimum typing area beside the chips. */
10
+ type AutocompleteWidth = DsControlWidth;
11
+ /** What a settled single value does when it outgrows the trigger. */
12
+ type AutocompleteValueOverflow = 'ellipsis' | 'wrap';
13
+ interface AutocompleteOption<T = unknown> extends DsOption<T> {
14
+ }
15
+ interface AutocompleteOptionGroup<T = unknown> extends DsOptionGroup<T> {
16
+ }
17
+ type AutocompleteItem<T = unknown> = DsOptionItem<T>;
18
+
19
+ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<T | readonly T[] | null> implements OnDestroy {
20
+ /** Segment of a ds-field-group: the group owns the border, radius and focus
21
+ * ring, so .in-group strips this control back to its bare contents. */
22
+ protected readonly inGroup: boolean;
23
+ private readonly overlay;
24
+ private readonly vcr;
25
+ private readonly host;
26
+ /** Public panel tokens forwarded onto the portaled overlay pane on open so
27
+ * a consumer's `ds-autocomplete { --ds-autocomplete-panel-*: … }` reaches it. */
28
+ private readonly panelTokens;
29
+ /** Options, groups, or both mixed — rendered in the order given. */
30
+ readonly options: _angular_core.InputSignal<readonly AutocompleteItem<T>[]>;
31
+ /** Selected value, or an array of values when `multiple`. */
32
+ readonly value: _angular_core.ModelSignal<T | readonly T[] | null>;
33
+ /** Allows selecting more than one option, shown as removable tags. */
34
+ readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
+ /** Draws the trailing chevron. Turn it off for a search field, where an arrow
36
+ * invites a click that would list everything instead of searching. */
37
+ readonly showChevron: _angular_core.InputSignalWithTransform<boolean, unknown>;
38
+ /** How the chips collapse when they outgrow one line. `"fit"` (the default)
39
+ * measures and shows as many as the trigger is wide, the rest behind "+N more".
40
+ * A NUMBER is a CEILING, not a promise: the row still measures, so you get at
41
+ * most that many and fewer when the trigger is narrow. `"all"` shows every chip and
42
+ * lets the trigger grow a line per selection.
43
+ *
44
+ * Unset (`null`) means "not deciding", as it does on every other input in the
45
+ * library — it resolves to `"fit"`. It does NOT mean "show all": that is
46
+ * `"all"`, which is the loudest of the three modes and has to be asked for. */
47
+ readonly maxVisibleChips: _angular_core.InputSignalWithTransform<number | "fit" | "all" | null, number | "fit" | "all" | null>;
48
+ /** Trigger height — sm/md/lg.
49
+ * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
50
+ readonly size: _angular_core.InputSignal<DsSize | null>;
51
+ readonly sizeResolved: _angular_core.Signal<DsSize>;
52
+ /** Trigger width — `fill` stretches to the container, `content` hugs the value. */
53
+ readonly width: _angular_core.InputSignal<_ids_group_ltd_ids_design_system_core.DsControlWidth>;
54
+ /** What a settled single value does when it is wider than the trigger. Defaults
55
+ * to `ellipsis`; `wrap` restores the pre-0.12 behaviour, where the value broke
56
+ * onto a second line and pushed the chevron onto a third. Multi mode is
57
+ * unaffected — its chips have their own measured cap. */
58
+ readonly valueOverflow: _angular_core.InputSignal<AutocompleteValueOverflow>;
59
+ /** Placeholder shown in the input when empty. */
60
+ readonly placeholder: _angular_core.InputSignal<string>;
61
+ /** Disables the trigger and blocks all interaction. */
62
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
63
+ /** Confirmation text, shown when there is no error or warning — and it paints
64
+ * the field's success border. A string like `warning`: the text IS the state. */
65
+ readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
66
+ /** Shows a "Create «text»" row when the typed text matches no option. */
67
+ readonly allowCreate: _angular_core.InputSignalWithTransform<boolean, unknown>;
68
+ /** Field label above the control — the same meaning it has on the other two pickers. */
69
+ readonly label: _angular_core.InputSignal<string>;
70
+ /** How two values are decided to be the same one. The default is `===`, which
71
+ * is reference identity — so with object values a re-fetch that returns equal
72
+ * data as NEW objects loses the selection. Pass a comparator keyed on whatever
73
+ * identifies the value: `(a, b) => a?.id === b?.id`. */
74
+ readonly compareWith: _angular_core.InputSignal<(a: T | null, b: T | null) => boolean>;
75
+ /** Native `name` attribute forwarded to the trigger. */
76
+ readonly name: _angular_core.InputSignal<string | null>;
77
+ /** Prevents opening the panel while still allowing focus. */
78
+ readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
79
+ /**
80
+ * The contract spelling of `readOnly`, a second input because signal forms binds
81
+ * by NAME — a `readonly()` rule was reaching nothing before this existed.
82
+ */
83
+ readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
84
+ /** Shows a clear affordance once there is something to clear. */
85
+ readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
86
+ /** Placeholder while the field is being typed in, when a value is already
87
+ * settled — `placeholder` is the empty-field caption and cannot be both.
88
+ * Empty (the default) keeps `placeholder` doing both jobs, as before. */
89
+ readonly searchPlaceholder: _angular_core.InputSignal<string>;
90
+ /** How the typed query narrows the list.
91
+ *
92
+ * The default matches a case-insensitive substring of `label`. Pass a predicate
93
+ * to match on anything else — a second field, ignoring diacritics, a fuzzy score.
94
+ * Pass `'none'` when the list arrives already filtered, which is what a
95
+ * server-side search needs: the query is reported through `filterChange` and
96
+ * every option given is rendered.
97
+ */
98
+ readonly filterWith: _angular_core.InputSignal<((option: AutocompleteOption<T>, query: string) => boolean) | "none">;
99
+ /** The query the user typed, on every change. The input for a server-side search;
100
+ * pair it with `filterWith="none"` so the list is not narrowed twice. */
101
+ readonly filterChange: _angular_core.OutputEmitterRef<string>;
102
+ /** Options are still being fetched. The panel shows a spinner instead of the
103
+ * empty row — which would otherwise claim there are no matches — and the list
104
+ * reports `aria-busy`. */
105
+ readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
106
+ /** The panel opened. The moment to fetch options for a picker whose list is
107
+ * loaded on demand. */
108
+ readonly opened: _angular_core.OutputEmitterRef<void>;
109
+ /** The panel closed, for any reason — a pick, Escape, an outside click, a scroll. */
110
+ readonly closed: _angular_core.OutputEmitterRef<void>;
111
+ /** Scrolls the keyboard cursor's row into view. On by default: a list longer
112
+ * than the panel otherwise walks the cursor out of sight. Set `false` only if
113
+ * you are driving the scroll position yourself. */
114
+ readonly scrollActiveIntoView: _angular_core.InputSignalWithTransform<boolean, unknown>;
115
+ /** Marks the field required: a `*` beside the label and `aria-required` on the input. */
116
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
117
+ /** Marks the field optional in words, for a form where most fields are required. */
118
+ readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
119
+ /** Accessible name for the input. */
120
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
121
+ /** Fires with the typed text when the user picks the create-new option. */
122
+ readonly create: _angular_core.OutputEmitterRef<string>;
123
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
124
+ protected readonly hintId: _angular_core.Signal<string | null>;
125
+ private readonly fieldMessage;
126
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
127
+ protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
128
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
129
+ protected readonly optionTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
130
+ protected readonly chipTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
131
+ protected readonly pickerTrigger: _angular_core.Signal<TemplateRef<any> | undefined>;
132
+ protected readonly panelHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
133
+ protected readonly panelFooterTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
134
+ protected readonly groupLabelTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
135
+ protected readonly emptyTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
136
+ protected readonly createTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
137
+ protected readonly query: _angular_core.WritableSignal<string>;
138
+ protected readonly isOpen: _angular_core.WritableSignal<boolean>;
139
+ protected readonly activeIndex: _angular_core.WritableSignal<number>;
140
+ protected readonly trigger: _angular_core.Signal<ElementRef<HTMLElement>>;
141
+ protected readonly filterInput: _angular_core.Signal<ElementRef<HTMLInputElement>>;
142
+ protected readonly panelTpl: _angular_core.Signal<TemplateRef<unknown>>;
143
+ private readonly chipRow;
144
+ private overlayRef;
145
+ protected readonly uid: string;
146
+ protected readonly listboxId: string;
147
+ protected readonly labelId: string;
148
+ protected optionId(index: number): string;
149
+ protected readonly activeDescendant: _angular_core.Signal<string | null>;
150
+ protected readonly allOptions: _angular_core.Signal<readonly AutocompleteOption<T>[]>;
151
+ protected readonly filteredItems: _angular_core.Signal<AutocompleteItem<T>[]>;
152
+ protected readonly filteredOptions: _angular_core.Signal<readonly AutocompleteOption<T>[]>;
153
+ protected isGroup(item: AutocompleteItem<T>): item is AutocompleteOptionGroup<T>;
154
+ protected readonly showCreateRow: _angular_core.Signal<boolean>;
155
+ protected readonly visibleOptions: _angular_core.Signal<readonly AutocompleteOption<T>[]>;
156
+ /** The visible label wins the accessible name when there is one — otherwise the
157
+ * placeholder would announce over it, and `placeholder` always carries a default. */
158
+ protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
159
+ protected readonly selectedTags: _angular_core.Signal<AutocompleteOption<T>[]>;
160
+ private readonly chipsMode;
161
+ private readonly showsEveryChip;
162
+ /** True for a number as well as `'fit'`: a number is a ceiling, not a promise,
163
+ * so the row still measures. */
164
+ protected readonly fitsChipsToWidth: _angular_core.Signal<boolean>;
165
+ /** How many chips the row is ASKED to render before measuring. It has to be the
166
+ * ceiling and not the selection: the measurement caches chip widths from a
167
+ * render that holds them all, so with a numeric cap that render never happens,
168
+ * the cache never fills, and the fit silently falls back to showing them all. */
169
+ private readonly chipBudget;
170
+ private readonly chipsThatFit;
171
+ /** What the trigger renders. Separate from `selectedTags`, which stays the
172
+ * full selection: Backspace removes the last SELECTED chip, and capping the
173
+ * list it reads would silently make it remove the last VISIBLE one instead. */
174
+ protected readonly visibleTags: _angular_core.Signal<AutocompleteOption<T>[]>;
175
+ protected readonly overflowCount: _angular_core.Signal<number>;
176
+ protected readonly selectedOption: _angular_core.Signal<AutocompleteOption<T> | null>;
177
+ protected readonly displayLabel: _angular_core.Signal<string>;
178
+ protected readonly hasSingleValue: _angular_core.Signal<boolean>;
179
+ protected readonly triggerSelection: _angular_core.Signal<AutocompleteOption<T> | AutocompleteOption<T>[] | null>;
180
+ protected readonly placeholderText: _angular_core.Signal<string>;
181
+ protected isSelected(option: AutocompleteOption<T>): boolean;
182
+ protected optionClass(option: AutocompleteOption<T>): string;
183
+ /** -1 when nothing is pickable and there is no create row to fall back on. */
184
+ private firstEnabledIndex;
185
+ /** Steps OVER a disabled option rather than landing on it. `step` is +1/-1; the
186
+ * create row (past the last option) is always reachable, and -1 comes back when
187
+ * every option is disabled. */
188
+ private nextEnabledIndex;
189
+ protected flatIndexOf(option: AutocompleteOption<T>): number;
190
+ constructor();
191
+ private setOpen;
192
+ protected readonly isReadOnly: _angular_core.Signal<boolean>;
193
+ protected readonly cursorFromKeyboard: _angular_core.WritableSignal<boolean>;
194
+ /** How far PageUp and PageDown move. Ten rows is the native `<select>` step and
195
+ * the APG listbox example's — a fixed number rather than a measured screenful,
196
+ * so the jump is the same wherever the panel happens to be clipped. */
197
+ private static readonly pageStep;
198
+ private cursorList;
199
+ protected onTriggerClick(): void;
200
+ protected togglePanel(event: MouseEvent): void;
201
+ protected onKeydown(event: KeyboardEvent): void;
202
+ protected openPanel(): void;
203
+ protected close(cause?: DsOverlayCloseCause): void;
204
+ protected clearValue(event: MouseEvent): void;
205
+ /**
206
+ * Empties the field — both the selected value and the text the user typed.
207
+ *
208
+ * `value.set(null)` alone is not enough from outside: the typed query is
209
+ * component state with no input bound to it, so the text stays on screen after
210
+ * the value goes.
211
+ *
212
+ * Deliberately does NOT move focus — the caller may be navigating away, and
213
+ * stealing focus back into a field they just left is worse than leaving it.
214
+ */
215
+ clear(): void;
216
+ ngOnDestroy(): void;
217
+ protected onFilter(event: Event): void;
218
+ protected onPick(option: AutocompleteOption<T>): void;
219
+ protected onCreateNew(): void;
220
+ protected remove(target: T): void;
221
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteComponent<any>, never>;
222
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteComponent<any>, "ds-autocomplete", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showChevron": { "alias": "showChevron"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "valueOverflow": { "alias": "valueOverflow"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "filterWith": { "alias": "filterWith"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; "opened": "opened"; "closed": "closed"; "create": "create"; }, ["optionTemplate", "chipTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate", "createTemplate"], ["[dsAutocompletePrefix]", "[dsAutocompleteSuffix]"], true, never>;
223
+ }
224
+
225
+ export { AutocompleteComponent };
226
+ export type { AutocompleteItem, AutocompleteOption, AutocompleteOptionGroup, AutocompleteValueOverflow, AutocompleteWidth };
@@ -0,0 +1,13 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class AvatarGroupComponent {
4
+ /** Maximum avatars shown before the rest collapse into an overflow chip. */
5
+ readonly max: _angular_core.InputSignal<number>;
6
+ /** Total avatar count driving the `+N` overflow; null counts the projected children. */
7
+ readonly total: _angular_core.InputSignal<number | null>;
8
+ protected readonly overflow: _angular_core.Signal<number | null>;
9
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
10
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "ds-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
+ }
12
+
13
+ export { AvatarGroupComponent };