@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,110 @@
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, DsFieldBase } from '@ids-group-ltd/ids-design-system/components';
4
+ import * as _angular_core from '@angular/core';
5
+ import { InjectionToken, ElementRef } from '@angular/core';
6
+ import * as _ids_group_ltd_ids_design_system_components_radio_group from '@ids-group-ltd/ids-design-system/components/radio-group';
7
+ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
8
+
9
+ /** Contract that ds-radio reads from its parent ds-radio-group, injected via
10
+ * token to avoid a circular import (radio-group → RadioComponent for
11
+ * contentChildren; radio → RadioGroupComponent for group injection). */
12
+ interface RadioGroupContract {
13
+ readonly value: () => unknown;
14
+ readonly groupName: () => string;
15
+ readonly isDisabled: () => boolean;
16
+ isTabbable(radio: RadioGroupChild): boolean;
17
+ select(value: unknown): void;
18
+ }
19
+ /** Contract the radio-group reads back from each projected radio. */
20
+ interface RadioGroupChild {
21
+ readonly value: () => unknown;
22
+ readonly effectiveDisabled: () => boolean;
23
+ focus(): void;
24
+ }
25
+ declare const RADIO_GROUP: InjectionToken<RadioGroupContract>;
26
+
27
+ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implements RadioGroupContract {
28
+ /** Selected radio value; two-way bound. */
29
+ readonly value: _angular_core.ModelSignal<unknown>;
30
+ /** Native `name` shared by every radio in the group. */
31
+ readonly name: _angular_core.InputSignal<string | null>;
32
+ /** Disables the whole group. */
33
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
34
+ /** Accessible name for the group when no visible label is provided. */
35
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
36
+ /** Visible group label; omit to supply your own. */
37
+ readonly label: _angular_core.InputSignal<string>;
38
+ readonly isDisabled: _angular_core.Signal<boolean>;
39
+ protected readonly uid: string;
40
+ readonly groupName: _angular_core.Signal<string>;
41
+ protected readonly hintId: _angular_core.Signal<string | null>;
42
+ private readonly fieldMessage;
43
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
44
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
45
+ protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
46
+ private readonly radios;
47
+ private get enabledRadios();
48
+ isTabbable(radio: RadioGroupChild): boolean;
49
+ select(value: unknown): void;
50
+ protected onKeydown(event: KeyboardEvent): void;
51
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
52
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioGroupComponent, "ds-radio-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["radios"], ["*"], true, never>;
53
+ }
54
+
55
+ declare class RadioComponent extends DsFieldBase {
56
+ /** Standalone two-way binding, and the ONLY way to drive a lone radio: this
57
+ * component is deliberately not a `ControlValueAccessor`, so `[formControl]` and
58
+ * `ngModel` do not bind to it. Inside `ds-radio-group` the GROUP is the form
59
+ * control — a radio is one option of a choice, not a value of its own — and a
60
+ * second accessor on the option would fight it. A lone radio in a form binds
61
+ * through `[(checked)]`, or becomes a one-option `ds-radio-group`.
62
+ *
63
+ * When inside `ds-radio-group`, `isChecked()` derives from the group value and
64
+ * this input is not read. */
65
+ readonly checked: _angular_core.ModelSignal<boolean>;
66
+ /** Lets a checked standalone radio be cleared by clicking it again. Off by default, and
67
+ * ignored inside `ds-radio-group`: there a radio is one option of a choice, and clearing it
68
+ * would leave the group with no value through a gesture the group cannot see. */
69
+ readonly deselectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
70
+ /** A disabled parent `ds-radio-group` also disables it, whatever this is set to. */
71
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ /** Native `name` attribute — overridden by the group's name when inside `ds-radio-group`. */
73
+ readonly name: _angular_core.InputSignal<string>;
74
+ /** Value compared against the group's selection when inside `ds-radio-group`. */
75
+ readonly value: _angular_core.InputSignal<unknown>;
76
+ /** Overrides the auto-generated id used for the input and its label's `for`. */
77
+ readonly inputId: _angular_core.InputSignal<string | null>;
78
+ /** Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
79
+ readonly size: _angular_core.InputSignal<DsSize | null>;
80
+ readonly sizeResolved: _angular_core.Signal<DsSize>;
81
+ /** Marks the radio required — shows an asterisk on the label and sets `aria-required`. */
82
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
83
+ /** Inline label rendered beside the dot and wired via for/id. Omit to bring
84
+ * your own <label>. */
85
+ readonly label: _angular_core.InputSignal<string>;
86
+ protected readonly uid: string;
87
+ protected readonly controlId: _angular_core.Signal<string>;
88
+ protected readonly hintId: _angular_core.Signal<string | null>;
89
+ private readonly fieldMessage;
90
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
91
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
92
+ /** Injected via token to avoid circular import with RadioGroupComponent. */
93
+ protected readonly group: _ids_group_ltd_ids_design_system_components_radio_group.RadioGroupContract | null;
94
+ readonly effectiveDisabled: _angular_core.Signal<boolean>;
95
+ protected readonly effectiveName: _angular_core.Signal<string>;
96
+ protected readonly isChecked: _angular_core.Signal<boolean>;
97
+ protected readonly fieldClass: _angular_core.Signal<string>;
98
+ /** Exposed so the group can implement roving tabindex. */
99
+ readonly inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
100
+ protected get tabIndexAttr(): 0 | -1;
101
+ /** Called by the group's keyboard handler to focus this radio's input. */
102
+ focus(): void;
103
+ protected onClick(): void;
104
+ protected onSelect(): void;
105
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
106
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "ds-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "deselectable": { "alias": "deselectable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
107
+ }
108
+
109
+ export { RADIO_GROUP, RadioComponent, RadioGroupComponent };
110
+ export type { RadioGroupChild, RadioGroupContract };
@@ -0,0 +1,33 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ /**
4
+ * Turns on `reserveMessage` for every DS field declared inside the host
5
+ * element, so a validated form holds its message rows without repeating the
6
+ * input on each control:
7
+ *
8
+ * ```html
9
+ * <form dsReserveMessages>
10
+ * <ds-input label="Email" />
11
+ * <ds-input label="Password" />
12
+ * </form>
13
+ * ```
14
+ *
15
+ * It provides `DS_CONFIG`, which merges with the config above it — scoping this
16
+ * one flag cannot drop unrelated app-level settings. A field's own
17
+ * `[reserveMessage]` still wins, so a single control can opt back out.
18
+ *
19
+ * The switch is the directive's PRESENCE, not an input: providers are resolved
20
+ * at construction, before inputs are set, so a bound value could not drive
21
+ * them. To turn it off for a subtree, provide the config directly:
22
+ * `provideDsConfig({ field: { reserveMessage: false } })`.
23
+ *
24
+ * Applies to fields DECLARED inside the host — projected content keeps the
25
+ * injector of the template it was written in, so wrapping `<ng-content>` in
26
+ * this directive does not reach the projected fields.
27
+ */
28
+ declare class ReserveMessagesDirective {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReserveMessagesDirective, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ReserveMessagesDirective, "[dsReserveMessages]", never, {}, {}, never, never, true, never>;
31
+ }
32
+
33
+ export { ReserveMessagesDirective };
@@ -0,0 +1,82 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
4
+
5
+ declare class SearchComponent implements ControlValueAccessor {
6
+ /** Segment of a ds-field-group: the group owns the border, radius and focus
7
+ * ring, so .in-group strips this control back to its bare contents. */
8
+ protected readonly inGroup: boolean;
9
+ private readonly bridge;
10
+ /** Hides the control, as every other DS control does. Inline `display`, not the
11
+ * attribute: the host sets its own, which the weaker UA rule would lose to. */
12
+ readonly hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
13
+ /** Driven by the forms API — OR'd into `isDisabled` like every other control. */
14
+ protected readonly formDisabled: _angular_core.WritableSignal<boolean>;
15
+ /** Search text, two-way bound. */
16
+ readonly value: _angular_core.ModelSignal<string>;
17
+ /** Placeholder shown when empty. */
18
+ readonly placeholder: _angular_core.InputSignal<string>;
19
+ /** Keyboard shortcut hint rendered in a trailing `<kbd>` badge. */
20
+ readonly shortcut: _angular_core.InputSignal<string>;
21
+ /** Shows the leading search icon. */
22
+ readonly showIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
+ /** Show an inline clear (×) button on the right when there's a value. */
24
+ readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
25
+ /** Accessible name for the input (placeholder is not a reliable label). */
26
+ readonly ariaLabel: _angular_core.InputSignal<string>;
27
+ /** Disables the input and the clear button. */
28
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
+ readonly isDisabled: _angular_core.Signal<boolean>;
30
+ /** Control height. `md` (default) keeps the 36px search-row height; `sm` (32px)
31
+ * aligns search with dense toolbars beside `sm` inputs/buttons; `lg` is touch.
32
+ * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
33
+ readonly size: _angular_core.InputSignal<DsSize | null>;
34
+ readonly sizeResolved: _angular_core.Signal<DsSize>;
35
+ /** Fires with the current value on Enter. */
36
+ readonly submitted: _angular_core.OutputEmitterRef<string>;
37
+ /** Milliseconds to hold each keystroke back before `value` updates — 0 (default)
38
+ * writes on every keystroke, exactly as this control always has.
39
+ *
40
+ * Clearing the field BYPASSES the delay, which is the part a plain
41
+ * `debounceTime` gets wrong: emptying a search is a deliberate act, and making
42
+ * the user wait 200ms to see the full list back reads as a hang. Enter flushes
43
+ * for the same reason. What the input SHOWS is never delayed. */
44
+ readonly debounce: _angular_core.InputSignalWithTransform<number, unknown>;
45
+ private readonly inputEl;
46
+ /** What the input shows. Separate from `value` only so typing never waits on
47
+ * the timer; with `debounce` at 0 the two move together. */
48
+ protected readonly text: _angular_core.WritableSignal<string>;
49
+ private pending;
50
+ /** The last text this component pushed into `value`, so an update arriving from
51
+ * the HOST can be told apart from its own echo — a host resetting the field
52
+ * mid-typing has to win, and cancel the keystroke still in flight. */
53
+ private pushed;
54
+ constructor();
55
+ /** Move keyboard focus to the search input. Public so a host can hand focus
56
+ * over deliberately — e.g. a Clear button that disables itself on activation
57
+ * would otherwise blur into `<body>` and restart Tab order at the top. */
58
+ focus(options?: FocusOptions): void;
59
+ protected onText(next: string): void;
60
+ protected onSubmit(): void;
61
+ /** Empties the field, DROPS any armed keystroke, and publishes '' immediately.
62
+ * Public for the same reason `focus()` is: a host-owned Clear button outside the
63
+ * control needs it. Writing `''` into `value` is not equivalent — the effect
64
+ * that watches `value` only cancels the timer when the incoming text DIFFERS
65
+ * from what this control last pushed, so clearing an already-empty-looking field
66
+ * mid-debounce left the keystroke armed. */
67
+ clear(): void;
68
+ /** So Enter searches what the reader can see, not what the timer last let past. */
69
+ private flush;
70
+ private push;
71
+ writeValue(next: string): void;
72
+ registerOnChange(fn: (next: string) => void): void;
73
+ registerOnTouched(fn: () => void): void;
74
+ setDisabledState(isDisabled: boolean): void;
75
+ /** Reported to the forms API on blur, so a search inside a form goes `ng-touched`. */
76
+ protected markTouched(): void;
77
+ private cancel;
78
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchComponent, never>;
79
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchComponent, "ds-search", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "shortcut": { "alias": "shortcut"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; }, never, never, true, never>;
80
+ }
81
+
82
+ export { SearchComponent };
@@ -0,0 +1,40 @@
1
+ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
2
+ import { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';
3
+ import * as _angular_core from '@angular/core';
4
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
5
+
6
+ interface SegmentedOption {
7
+ label: string;
8
+ value: string;
9
+ icon?: IconName;
10
+ disabled?: boolean;
11
+ }
12
+
13
+ declare class SegmentedComponent extends DsControlValueAccessor<string> {
14
+ /** Segments to render — each needs a `label` and `value`, optional `icon`/`disabled`. */
15
+ readonly options: _angular_core.InputSignal<readonly SegmentedOption[]>;
16
+ /** Selected segment's `value`, two-way bound. */
17
+ readonly value: _angular_core.ModelSignal<string>;
18
+ /** Accessible name for the segmented control (radiogroup role). */
19
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
20
+ /** Visible label above the track; omit to supply your own. */
21
+ readonly label: _angular_core.InputSignal<string>;
22
+ /** Disables every segment. */
23
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
24
+ readonly isDisabled: _angular_core.Signal<boolean>;
25
+ protected readonly uid: string;
26
+ protected readonly hintId: _angular_core.Signal<string | null>;
27
+ private readonly fieldMessage;
28
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
29
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
30
+ private readonly buttons;
31
+ protected readonly focusableValue: _angular_core.Signal<string | null>;
32
+ protected select(option: SegmentedOption): void;
33
+ protected onKeydown(event: KeyboardEvent, index: number): void;
34
+ private nextEnabled;
35
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedComponent, never>;
36
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
37
+ }
38
+
39
+ export { SegmentedComponent };
40
+ export type { SegmentedOption };
@@ -0,0 +1,152 @@
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, DsStaticPreview, 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
+ interface SelectOption extends DsOption<string> {
10
+ }
11
+ type SelectWidth = DsControlWidth;
12
+ interface SelectOptionGroup extends DsOptionGroup<string> {
13
+ }
14
+ type SelectItem = DsOptionItem<string>;
15
+ declare function isSelectOptionGroup(item: SelectItem): item is SelectOptionGroup;
16
+
17
+ declare class SelectComponent extends DsControlValueAccessor<string> implements OnDestroy {
18
+ private readonly overlay;
19
+ /** Segment of a ds-field-group: the group owns the border, radius and focus
20
+ * ring, so .in-group strips this control back to its bare contents. */
21
+ protected readonly inGroup: boolean;
22
+ private readonly vcr;
23
+ private readonly host;
24
+ protected readonly preview: DsStaticPreview;
25
+ /** Selected option's value, two-way bound. */
26
+ readonly value: _angular_core.ModelSignal<string>;
27
+ /** Flat options or option groups rendered in the dropdown panel. */
28
+ readonly options: _angular_core.InputSignal<readonly SelectItem[]>;
29
+ /** Public panel tokens forwarded onto the portaled overlay pane on open, so a
30
+ * consumer's `ds-select { --ds-dropdown-panel-*: … }` reaches it. */
31
+ private readonly panelTokens;
32
+ /** Trigger width — `fill` stretches to the container and pins the panel to the
33
+ * trigger's width; `content` hugs the trigger's own content and takes that width
34
+ * as the panel's FLOOR, so the panel can still grow to its options. */
35
+ readonly width: _angular_core.InputSignal<_ids_group_ltd_ids_design_system_core.DsControlWidth>;
36
+ /** Shown in the trigger when nothing is selected. */
37
+ readonly placeholder: _angular_core.InputSignal<string>;
38
+ /** Trigger height — sm/md/lg.
39
+ * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
40
+ readonly size: _angular_core.InputSignal<DsSize | null>;
41
+ readonly sizeResolved: _angular_core.Signal<DsSize>;
42
+ /** Label shown above the trigger. */
43
+ readonly label: _angular_core.InputSignal<string>;
44
+ /** Disables the trigger and blocks all interaction. */
45
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
46
+ /** Options are still being fetched. The panel shows a spinner instead of the
47
+ * empty row — which would otherwise claim there are no matches — and the list
48
+ * reports `aria-busy`. */
49
+ readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
50
+ /** The panel opened. The moment to fetch options for a picker whose list is
51
+ * loaded on demand. */
52
+ readonly opened: _angular_core.OutputEmitterRef<void>;
53
+ /** The panel closed, for any reason — a pick, Escape, an outside click, a scroll. */
54
+ readonly closed: _angular_core.OutputEmitterRef<void>;
55
+ /** Scrolls the keyboard cursor's row into view. On by default: a list longer
56
+ * than the panel otherwise walks the cursor out of sight. Set `false` only if
57
+ * you are driving the scroll position yourself. */
58
+ readonly scrollActiveIntoView: _angular_core.InputSignalWithTransform<boolean, unknown>;
59
+ /** Prevents opening the dropdown while still allowing focus. */
60
+ readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
61
+ /**
62
+ * The contract spelling of `readOnly`, a second input because signal forms binds
63
+ * by NAME — a `readonly()` rule was reaching nothing before this existed.
64
+ */
65
+ readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
66
+ protected readonly isReadOnly: _angular_core.Signal<boolean>;
67
+ /** Confirmation text, shown when there is no error or warning — and it paints
68
+ * the field's success border. A string like `warning`: the text IS the state. */
69
+ readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
70
+ /** Marks the field required — shows an asterisk and sets `aria-required`. */
71
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ /** Shows an "(optional)" marker next to the label (ignored when `required`). */
73
+ readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
74
+ /** Native `name` attribute forwarded to the trigger. */
75
+ readonly name: _angular_core.InputSignal<string | null>;
76
+ /** Accessible name when no visible `label` is provided. */
77
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
78
+ /** Shows an inline clear (×) button when a value is selected. */
79
+ readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
80
+ protected readonly optionTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
81
+ protected readonly pickerTrigger: _angular_core.Signal<TemplateRef<any> | undefined>;
82
+ protected readonly panelHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
83
+ protected readonly panelFooterTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
84
+ protected readonly groupLabelTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
85
+ protected readonly emptyTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
86
+ protected readonly uid: string;
87
+ protected readonly labelId: string;
88
+ protected readonly listboxId: string;
89
+ protected readonly hintId: _angular_core.Signal<string | null>;
90
+ private readonly fieldMessage;
91
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
92
+ protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
93
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
94
+ protected optionId(flatIndex: number): string;
95
+ /** Active option for `aria-activedescendant` (combobox keeps DOM focus). */
96
+ protected readonly activeDescendant: _angular_core.Signal<string | null>;
97
+ protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
98
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
99
+ protected readonly trigger: _angular_core.Signal<ElementRef<HTMLElement>>;
100
+ protected readonly panelTpl: _angular_core.Signal<TemplateRef<unknown>>;
101
+ protected readonly panelContentTpl: _angular_core.Signal<TemplateRef<unknown>>;
102
+ protected readonly open: _angular_core.WritableSignal<boolean>;
103
+ protected readonly activeIndex: _angular_core.WritableSignal<number>;
104
+ private overlayRef;
105
+ protected readonly flatOptions: _angular_core.Signal<{
106
+ option: SelectOption;
107
+ groupDisabled: boolean;
108
+ }[]>;
109
+ protected readonly selectedOption: _angular_core.Signal<SelectOption | null>;
110
+ protected readonly displayLabel: _angular_core.Signal<string>;
111
+ protected readonly hasValue: _angular_core.Signal<boolean>;
112
+ protected readonly triggerClasses: _angular_core.Signal<string>;
113
+ constructor();
114
+ protected isOptionGroup(item: SelectItem): item is SelectOptionGroup;
115
+ protected flatIndexOf(opt: SelectOption): number;
116
+ protected toggle(): void;
117
+ protected openPanel(): void;
118
+ protected close(cause?: DsOverlayCloseCause): void;
119
+ ngOnDestroy(): void;
120
+ protected pick(option: SelectOption, groupDisabled?: boolean): void;
121
+ protected clearValue(event: MouseEvent): void;
122
+ /**
123
+ * Empties the selection from outside — a "reset filters" button, a form the app
124
+ * clears itself.
125
+ *
126
+ * Deliberately does NOT move focus: the caller may be navigating away, and
127
+ * stealing focus back into a field they just left is worse than leaving it.
128
+ */
129
+ clear(): void;
130
+ protected isSelected(option: SelectOption): boolean;
131
+ protected isOptionDisabled(option: SelectOption, groupDisabled?: boolean): boolean;
132
+ protected onTriggerKeydown(event: KeyboardEvent): void;
133
+ private pickActive;
134
+ protected isActive(index: number): boolean;
135
+ private readonly typeAhead;
136
+ private handleTypeAhead;
137
+ protected readonly cursorFromKeyboard: _angular_core.WritableSignal<boolean>;
138
+ private cursorList;
139
+ /** How far PageUp and PageDown move. Ten rows is the native `<select>` step and
140
+ * the APG listbox example's — a fixed number rather than a measured screenful,
141
+ * so the jump is the same wherever the panel happens to be clipped. */
142
+ private static readonly pageStep;
143
+ private moveActive;
144
+ private setOpen;
145
+ private lastEnabledIndex;
146
+ private firstEnabledIndex;
147
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
148
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "ds-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "opened": "opened"; "closed": "closed"; }, ["optionTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate"], never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
149
+ }
150
+
151
+ export { SelectComponent, isSelectOptionGroup };
152
+ export type { SelectItem, SelectOption, SelectOptionGroup, SelectWidth };
@@ -0,0 +1,92 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
+
4
+ /**
5
+ * A notification rendered in the sidenav Alerts popover. The footer is
6
+ * domain-agnostic: the layout derives its own alerts and feeds them in, and the
7
+ * footer only knows how to render this shape.
8
+ */
9
+ interface SidenavAlertItem {
10
+ readonly id: string;
11
+ readonly icon: IconName;
12
+ /** Tone of the leading icon chip (reuses the DS status palette). */
13
+ readonly variant: 'success' | 'warning' | 'error' | 'info';
14
+ readonly title: string;
15
+ readonly body: string;
16
+ /** Relative/display timestamp, e.g. "Jul 23". */
17
+ readonly at: string;
18
+ /** Optional router path to navigate to when the alert is clicked. */
19
+ readonly route?: string;
20
+ }
21
+ /**
22
+ * A single global-search hit rendered in the sidenav Search popover. The footer
23
+ * stays domain-agnostic: the layout supplies a {@link SidenavSearchProvider} that maps
24
+ * a query string to these results, so the footer never needs to know about the
25
+ * app's sections or entities.
26
+ */
27
+ interface SidenavSearchResult {
28
+ readonly id: string;
29
+ /** Primary line (entity/section name). */
30
+ readonly label: string;
31
+ /** Optional secondary line (reference, email, type…). */
32
+ readonly sublabel?: string;
33
+ readonly icon?: IconName;
34
+ /** Group heading the hit is filed under, e.g. "Sections". */
35
+ readonly group: string;
36
+ /** Router path to navigate to on select. */
37
+ readonly route: string;
38
+ /** Optional query params — used to deep-open in-page detail views. */
39
+ readonly queryParams?: Record<string, string>;
40
+ }
41
+ /** A query -> results function supplied by the layout to the shared footer. */
42
+ type SidenavSearchProvider = (query: string) => readonly SidenavSearchResult[];
43
+
44
+ interface SearchGroup {
45
+ group: string;
46
+ items: SidenavSearchResult[];
47
+ }
48
+ /**
49
+ * Bottom block of the app sidenav: quick actions (Search / Alerts / Collapse)
50
+ * and the signed-in user with an account menu (popover). Pinned to the bottom
51
+ * via `margin-top: auto`. Collapse is driven by the parent (emits
52
+ * `collapseToggled`, reflects `collapsed`); sign-out is delegated to the parent
53
+ * (emits `signOutSelected`) so the layout keeps a single logout path.
54
+ */
55
+ declare class SidenavFooterComponent {
56
+ private readonly router;
57
+ /** Name shown in the footer's account row. */
58
+ readonly userName: _angular_core.InputSignal<string>;
59
+ /** Secondary line under the name (role / organisation). */
60
+ readonly userRole: _angular_core.InputSignal<string>;
61
+ /** Show the unread dot on the Alerts row. */
62
+ readonly alerts: _angular_core.InputSignal<boolean>;
63
+ /** Mirrors the rail's collapsed state — labels hide, the avatar + icons stay. */
64
+ readonly collapsed: _angular_core.InputSignal<boolean>;
65
+ /** When set, the Search row opens a live results popover; unset keeps it inert. */
66
+ readonly searchProvider: _angular_core.InputSignal<SidenavSearchProvider | null>;
67
+ /** When non-null (even empty) the Alerts row opens a list popover; null keeps it inert. */
68
+ readonly alertItems: _angular_core.InputSignal<readonly SidenavAlertItem[] | null>;
69
+ /** Route for the account menu's "Your profile"; empty = the item is a no-op. */
70
+ readonly profileRoute: _angular_core.InputSignal<string>;
71
+ /** The collapse control was activated. The footer does not collapse itself — `ds-app-layout`
72
+ * owns the rail state, so the host relays this. */
73
+ readonly collapseToggled: _angular_core.OutputEmitterRef<void>;
74
+ /** Emitted when the Alerts popover is opened, so the layout can mark-all-read. */
75
+ readonly alertsOpened: _angular_core.OutputEmitterRef<void>;
76
+ /** Emitted when "Sign out" is chosen; the layout owns the actual logout flow. */
77
+ readonly signOutSelected: _angular_core.OutputEmitterRef<void>;
78
+ protected readonly query: _angular_core.WritableSignal<string>;
79
+ protected readonly initials: _angular_core.Signal<string>;
80
+ /** Run the provider for the current query, grouped by `group` for display. */
81
+ protected searchGroups(provider: SidenavSearchProvider): SearchGroup[];
82
+ protected goResult(result: SidenavSearchResult): void;
83
+ /** Activate the top result (Enter key). Returns whether a result was opened. */
84
+ protected goFirst(provider: SidenavSearchProvider): boolean;
85
+ protected goAlert(alert: SidenavAlertItem): void;
86
+ protected goProfile(): void;
87
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavFooterComponent, never>;
88
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavFooterComponent, "ds-sidenav-footer", never, { "userName": { "alias": "userName"; "required": false; "isSignal": true; }; "userRole": { "alias": "userRole"; "required": false; "isSignal": true; }; "alerts": { "alias": "alerts"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchProvider": { "alias": "searchProvider"; "required": false; "isSignal": true; }; "alertItems": { "alias": "alertItems"; "required": false; "isSignal": true; }; "profileRoute": { "alias": "profileRoute"; "required": false; "isSignal": true; }; }, { "collapseToggled": "collapseToggled"; "alertsOpened": "alertsOpened"; "signOutSelected": "signOutSelected"; }, never, never, true, never>;
89
+ }
90
+
91
+ export { SidenavFooterComponent };
92
+ export type { SidenavAlertItem, SidenavSearchProvider, SidenavSearchResult };