@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,131 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
4
+
5
+ /**
6
+ * Marks projected wordmark markup for `ds-sidenav`: when present, the sidenav
7
+ * renders the projected content inside `.brand-name` instead of the plain
8
+ * `brand` text (two-tone wordmarks, inline logos etc. stay consumer-side).
9
+ *
10
+ * Interplay: projecting `[dsBrandName]` is enough to render the brand row and
11
+ * its wordmark even without a string `brand`, but it only supplies the
12
+ * wordmark — the letter-mark tile still comes from `logoLetter` (or the first
13
+ * letter of `brand`), so an empty `brand` + projection renders the wordmark
14
+ * with no tile.
15
+ */
16
+ declare class BrandNameDirective {
17
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BrandNameDirective, never>;
18
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BrandNameDirective, "[dsBrandName]", never, {}, {}, never, never, true, never>;
19
+ }
20
+
21
+ /** Contract that ds-sidenav-item reads from its parent ds-sidenav. */
22
+ interface SidenavContract {
23
+ readonly collapsed: () => boolean;
24
+ /** Whether the active item draws its edge marker. Set once on the sidenav; an
25
+ * item can still override it for itself. */
26
+ readonly rail: () => boolean;
27
+ }
28
+ declare const SIDENAV: InjectionToken<SidenavContract>;
29
+
30
+ declare class SidenavComponent implements SidenavContract {
31
+ /** Collapses the rail to icon-only width; read by nested `ds-sidenav-item`/`ds-sidenav-group`. */
32
+ readonly collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
+ /** Whether the ACTIVE item draws its edge marker, for the whole sidenav. Off
34
+ * leaves the active state on the fill and the label alone — check that is still
35
+ * distinguishable before turning it off. An individual `ds-sidenav-item` can
36
+ * override this with its own `rail`. */
37
+ readonly rail: _angular_core.InputSignalWithTransform<boolean, unknown>;
38
+ /** Brand text at the top of the rail (auto letter-mark + name). For a custom
39
+ * logo image/SVG, project it into the `[brand]` slot instead. Unset falls back
40
+ * to `DS_CONFIG.brand.name`. Each field resolves on its own, so `brand=""` drops
41
+ * the wordmark while a `logoLetter` in the config still paints its tile. */
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
+ /** Route the brand row links to — typically the app's home. Unset leaves the row a
48
+ * plain, non-interactive block. Router targets only, and `RouterLink` is
49
+ * instantiated only once this is set, so an app with no router still renders. */
50
+ readonly brandRoute: _angular_core.InputSignal<string | readonly unknown[] | null>;
51
+ /** Accessible name for the brand link; unset names it "<brand>, home". Ignored
52
+ * while `brandRoute` is unset. */
53
+ readonly brandLinkLabel: _angular_core.InputSignal<string | null>;
54
+ /** The template must read THIS, never the input beside it — that one is null
55
+ * until bound, and the config default lives here. */
56
+ readonly brandName: _angular_core.Signal<string>;
57
+ readonly letterGlyph: _angular_core.Signal<string>;
58
+ /** Projected `[dsBrandName]` wordmark markup, when the consumer provides one. */
59
+ protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
60
+ protected readonly hasBrandName: _angular_core.Signal<boolean>;
61
+ /** Spread, not `charAt(0)`: the latter indexes UTF-16 code UNITS, so a brand
62
+ * starting with an astral character (an emoji, a rarer CJK glyph) yields half
63
+ * a surrogate pair and paints as tofu. */
64
+ protected readonly markGlyph: _angular_core.Signal<string>;
65
+ protected readonly brandAriaLabel: _angular_core.Signal<string>;
66
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
67
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavComponent, "ds-sidenav", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "logoLetter": { "alias": "logoLetter"; "required": false; "isSignal": true; }; "brandRoute": { "alias": "brandRoute"; "required": false; "isSignal": true; }; "brandLinkLabel": { "alias": "brandLinkLabel"; "required": false; "isSignal": true; }; }, {}, ["brandNameRef"], ["[brand]", "[dsBrandName]", "*"], true, never>;
68
+ }
69
+
70
+ declare class SidenavGroupComponent {
71
+ /** Group heading text. */
72
+ readonly label: _angular_core.InputSignal<string>;
73
+ /** Optional group icon; omit to project custom content via the `[icon]` slot instead. */
74
+ readonly icon: _angular_core.InputSignal<IconName | null>;
75
+ /** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
76
+ readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
77
+ /** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
78
+ readonly expanded: _angular_core.ModelSignal<boolean>;
79
+ protected toggle(): void;
80
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavGroupComponent, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
82
+ }
83
+
84
+ declare class SidenavItemComponent {
85
+ /** Icon shown before the label; omit to project a custom icon via the `[icon]` slot instead. */
86
+ readonly icon: _angular_core.InputSignal<IconName | null>;
87
+ /** Visible link text; also used as the tooltip/aria-label when the rail is collapsed. */
88
+ readonly label: _angular_core.InputSignal<string>;
89
+ /** Plain `href` target, used when `routerLink` is not set. */
90
+ readonly href: _angular_core.InputSignal<string>;
91
+ /** Angular `RouterLink` target — string or array form for dynamic segments. */
92
+ readonly routerLink: _angular_core.InputSignal<string | readonly unknown[] | null>;
93
+ /** Applies the active style; also drives `aria-current` when not using `routerLink`. */
94
+ readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
95
+ /** Numeric count shown at the end of the item. */
96
+ readonly badge: _angular_core.InputSignal<number | null>;
97
+ /** Shows an alert dot alongside the badge. */
98
+ readonly hasAlert: _angular_core.InputSignalWithTransform<boolean, unknown>;
99
+ /** Disables the item — non-navigable and styled as inactive. */
100
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
101
+ /** Emitted on click, carrying the `MouseEvent`. On an `href` item,
102
+ * `preventDefault()` intercepts navigation (e.g. a docs sidebar driving
103
+ * scroll-spy); a `routerLink` item navigates regardless — Angular's
104
+ * RouterLink ignores `defaultPrevented` — so treat it as a click hook there. */
105
+ readonly activate: _angular_core.OutputEmitterRef<MouseEvent>;
106
+ /** Whether THIS item draws its edge marker when active. Unset follows the parent
107
+ * `ds-sidenav`, then on — the same "null means not deciding" reading as the rest
108
+ * of the library, so a sidenav-wide `[rail]="false"` is not fought per item. */
109
+ readonly rail: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
110
+ private readonly sidenav;
111
+ protected readonly railResolved: _angular_core.Signal<boolean>;
112
+ protected onActivate(event: MouseEvent): void;
113
+ /** Tooltip text shown when collapsed; empty string suppresses the tooltip when expanded. */
114
+ protected readonly collapsedTooltip: _angular_core.Signal<string>;
115
+ protected readonly collapsedAriaLabel: _angular_core.Signal<string | null>;
116
+ protected readonly linkClasses: _angular_core.Signal<string>;
117
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavItemComponent, never>;
118
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavItemComponent, "ds-sidenav-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "hasAlert": { "alias": "hasAlert"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; }, { "activate": "activate"; }, never, ["[icon]", "[trailing]"], true, never>;
119
+ }
120
+
121
+ interface SidenavItemModel {
122
+ id: string;
123
+ label: string;
124
+ href?: string;
125
+ active?: boolean;
126
+ badge?: number | null;
127
+ hasAlert?: boolean;
128
+ }
129
+
130
+ export { BrandNameDirective, SIDENAV, SidenavComponent, SidenavGroupComponent, SidenavItemComponent };
131
+ export type { SidenavContract, SidenavItemModel };
@@ -0,0 +1,16 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class SkeletonComponent {
4
+ /** CSS width of the placeholder (e.g. `'120px'`, `'50%'`). */
5
+ readonly width: _angular_core.InputSignal<string | undefined>;
6
+ /** CSS height of the placeholder. */
7
+ readonly height: _angular_core.InputSignal<string | undefined>;
8
+ /** Pill radius, for avatar/dot-shaped placeholders. */
9
+ readonly circle: _angular_core.InputSignalWithTransform<boolean, unknown>;
10
+ /** `display: inline-block` instead of `block`, to sit inline with text. */
11
+ readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
12
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonComponent, never>;
13
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonComponent, "ds-skeleton", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
+ }
15
+
16
+ export { SkeletonComponent };
@@ -0,0 +1,51 @@
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
+
5
+ type SliderValue = number | readonly [number, number];
6
+ declare class SliderComponent extends DsControlValueAccessor<SliderValue> {
7
+ /** Current value, or `[low, high]` when `range`. Two-way bound. */
8
+ readonly value: _angular_core.ModelSignal<SliderValue>;
9
+ /** Minimum selectable value. */
10
+ readonly min: _angular_core.InputSignalWithTransform<number, unknown>;
11
+ /** Maximum selectable value. */
12
+ readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
13
+ /** Increment applied when dragging (snap) or nudging with arrow keys. */
14
+ readonly step: _angular_core.InputSignalWithTransform<number, unknown>;
15
+ /** Two-thumb range mode — `value` becomes a `[low, high]` tuple. */
16
+ readonly range: _angular_core.InputSignalWithTransform<boolean, unknown>;
17
+ /** Disables the slider and blocks all interaction. */
18
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
19
+ /** Accessible name for the thumb(s) — suffixed "minimum"/"maximum" in `range` mode. */
20
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
21
+ private readonly track;
22
+ private dragging;
23
+ protected readonly uid: string;
24
+ protected readonly hintId: _angular_core.Signal<string | null>;
25
+ private readonly fieldMessage;
26
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
27
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
28
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
29
+ protected readonly thumbValues: _angular_core.Signal<number[]>;
30
+ protected readonly fill: _angular_core.Signal<{
31
+ left: number;
32
+ width: number;
33
+ }>;
34
+ protected percent(value: number): number;
35
+ protected thumbMin(index: number): number;
36
+ protected thumbMax(index: number): number;
37
+ protected onTrackPointerDown(event: PointerEvent): void;
38
+ protected onTrackPointerMove(event: PointerEvent): void;
39
+ protected onTrackPointerUp(event: PointerEvent): void;
40
+ protected thumbAriaLabel(index: number): string | null;
41
+ protected onThumbKeydown(event: KeyboardEvent, index: number): void;
42
+ private nearestThumb;
43
+ private updateFromClientX;
44
+ private valueFromClientX;
45
+ private setThumb;
46
+ private snap;
47
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderComponent, never>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderComponent, "ds-slider", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
49
+ }
50
+
51
+ export { SliderComponent };
@@ -0,0 +1,11 @@
1
+ import * as i0 from '@angular/core';
2
+ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
3
+
4
+ declare class SpinnerComponent {
5
+ /** Spinner size — sm/md/lg. */
6
+ readonly size: i0.InputSignal<DsSize>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ds-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
+ }
10
+
11
+ export { SpinnerComponent };
@@ -0,0 +1,39 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
+ import { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';
4
+
5
+ type SplitButtonVariant = 'primary' | 'outline';
6
+ interface SplitButtonItem {
7
+ label: string;
8
+ value?: string;
9
+ icon?: IconName;
10
+ disabled?: boolean;
11
+ error?: boolean;
12
+ }
13
+
14
+ declare class SplitButtonComponent {
15
+ constructor();
16
+ /** Label text on the main button. */
17
+ readonly label: _angular_core.InputSignal<string>;
18
+ /** Visual style — primary (solid) or outline. */
19
+ readonly variant: _angular_core.InputSignal<SplitButtonVariant>;
20
+ /** Icon shown on the main button, before the label. */
21
+ readonly icon: _angular_core.InputSignal<IconName | null>;
22
+ /** Disables both the main button and the dropdown trigger. */
23
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
24
+ /** Items listed in the dropdown menu. Empty disables the chevron. */
25
+ readonly menuItems: _angular_core.InputSignal<readonly SplitButtonItem[]>;
26
+ /** Accessible name for the dropdown trigger. */
27
+ readonly menuLabel: _angular_core.InputSignal<string>;
28
+ /** Fires when the main button (not the dropdown trigger) is clicked. */
29
+ readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
30
+ /** The menu half only — a press on the main button is `pressed`, never this. */
31
+ readonly itemSelected: _angular_core.OutputEmitterRef<SplitButtonItem>;
32
+ protected onItemSelect(item: SplitButtonItem): void;
33
+ protected onTriggerKeydown(event: KeyboardEvent, popover: PopoverComponent, trigger: HTMLElement): void;
34
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
35
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitButtonComponent, "ds-split-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "menuLabel": { "alias": "menuLabel"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; "itemSelected": "itemSelected"; }, never, ["*"], true, never>;
36
+ }
37
+
38
+ export { SplitButtonComponent };
39
+ export type { SplitButtonItem, SplitButtonVariant };
@@ -0,0 +1,44 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class StatComponent {
4
+ constructor();
5
+ /** Metric name shown above the value. */
6
+ readonly label: _angular_core.InputSignal<string>;
7
+ /** Headline metric; `unit` is appended directly after it.
8
+ *
9
+ * Optional because the value can be PROJECTED instead — `[dsStatValue]`
10
+ * takes a badge, a status dot, anything a tile needs where a number would go.
11
+ * The input is the fallback, the same shape `[delta]` already has.
12
+ *
13
+ * Namespaced, unlike `[delta]`: twenty components in this library have a
14
+ * `value` input, so a bare `value` attribute used to slot one of them in
15
+ * would also set that input to the empty string.
16
+ *
17
+ * Takes `null` so `[value]="count | number"` typechecks: Angular's own
18
+ * `number`/`date`/`percent` pipes are typed `string | null`, and without the null the
19
+ * idiomatic form fails `strictTemplates` and pushes consumers to `toLocaleString()` in
20
+ * the template — which hardcodes a locale instead of reading LOCALE_ID. Renders as
21
+ * nothing, like the empty default. */
22
+ readonly value: _angular_core.InputSignal<string | number | null>;
23
+ /** Change amount; sign drives the up/down arrow and color. */
24
+ readonly delta: _angular_core.InputSignal<number | null>;
25
+ /** Suffix appended after the delta's magnitude, e.g. "vs last month". */
26
+ readonly deltaLabel: _angular_core.InputSignal<string>;
27
+ /** Overrides the automatic up/down coloring of the delta. */
28
+ readonly deltaTone: _angular_core.InputSignal<"neutral" | "secondary" | null>;
29
+ /** Secondary text shown below the value when there's no `delta`. */
30
+ readonly caption: _angular_core.InputSignal<string>;
31
+ /** Suffix appended directly after `value`, e.g. "%". */
32
+ readonly unit: _angular_core.InputSignal<string>;
33
+ /** `error` applies the error color treatment. */
34
+ readonly variant: _angular_core.InputSignal<"default" | "error">;
35
+ /** Controls the stat's overall type scale. */
36
+ readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
37
+ protected readonly deltaClasses: _angular_core.Signal<string>;
38
+ protected readonly deltaIcon: _angular_core.Signal<"arrowUp" | "arrowDown" | null>;
39
+ protected readonly deltaText: _angular_core.Signal<string>;
40
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatComponent, never>;
41
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatComponent, "ds-stat", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "delta": { "alias": "delta"; "required": false; "isSignal": true; }; "deltaLabel": { "alias": "deltaLabel"; "required": false; "isSignal": true; }; "deltaTone": { "alias": "deltaTone"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[dsStatValue]", "[delta]"], true, never>;
42
+ }
43
+
44
+ export { StatComponent };
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class StatusDotComponent {
4
+ /** Consumer-defined status key; colours are wired via styles/status. */
5
+ readonly status: _angular_core.InputSignal<string | undefined>;
6
+ /** Override the colour-only status with a human label for assistive tech. */
7
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
8
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatusDotComponent, never>;
9
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatusDotComponent, "ds-status-dot", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10
+ }
11
+
12
+ export { StatusDotComponent };
@@ -0,0 +1,32 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /** Where the step caption sits relative to its node: stacked beneath it
4
+ * (`bottom`, full-width wizard) or beside it (`inline`, compact header row). */
5
+ type StepperLabelPosition = 'bottom' | 'inline';
6
+ /** Layout axis of the stepper. */
7
+ type StepperOrientation = 'horizontal' | 'vertical';
8
+ declare class StepperComponent {
9
+ /** Step labels, in order — one node is rendered per entry. */
10
+ readonly steps: _angular_core.InputSignal<readonly string[]>;
11
+ /** Zero-based index of the active step; earlier steps render as completed. */
12
+ readonly current: _angular_core.InputSignal<number>;
13
+ /** Where the step caption sits relative to its node. */
14
+ readonly labelPosition: _angular_core.InputSignal<StepperLabelPosition>;
15
+ /** Layout axis of the stepper. */
16
+ readonly orientation: _angular_core.InputSignal<StepperOrientation>;
17
+ /** When true, each step node renders as a button and emits its index on activation. */
18
+ readonly clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
19
+ /** Zero-based indices of steps in an error state. Error wins over completed/current/upcoming. */
20
+ readonly errorSteps: _angular_core.InputSignal<readonly number[]>;
21
+ /** Fires with a step's index when it's activated (only when `clickable`). */
22
+ readonly stepClicked: _angular_core.OutputEmitterRef<number>;
23
+ protected stepState(index: number): 'error' | 'completed' | 'current' | 'upcoming';
24
+ protected nodeClass(index: number): string;
25
+ protected connectorClass(index: number): string;
26
+ protected onStepClick(index: number): void;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StepperComponent, never>;
28
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StepperComponent, "ds-stepper", never, { "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "errorSteps": { "alias": "errorSteps"; "required": false; "isSignal": true; }; }, { "stepClicked": "stepClicked"; }, never, never, true, never>;
29
+ }
30
+
31
+ export { StepperComponent };
32
+ export type { StepperLabelPosition, StepperOrientation };
@@ -0,0 +1,40 @@
1
+ import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
2
+ import { DsBooleanControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';
3
+ import * as _angular_core from '@angular/core';
4
+ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
5
+
6
+ declare class SwitchComponent extends DsBooleanControlValueAccessor {
7
+ /** On/off state, two-way bound. */
8
+ readonly checked: _angular_core.ModelSignal<boolean>;
9
+ /** Disables the switch and blocks all interaction. */
10
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
11
+ /** Native `name` attribute. */
12
+ readonly name: _angular_core.InputSignal<string | null>;
13
+ /** Track colour when checked. */
14
+ readonly variant: _angular_core.InputSignal<"default" | "success" | "error">;
15
+ /** Overrides the generated id used by the native `<input>` and its `<label for>`. */
16
+ readonly inputId: _angular_core.InputSignal<string | null>;
17
+ /** Switch size — sm/md/lg.
18
+ * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
19
+ readonly size: _angular_core.InputSignal<DsSize | null>;
20
+ readonly sizeResolved: _angular_core.Signal<DsSize>;
21
+ /** Marks the field required — shows an asterisk and sets `aria-required`. */
22
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
+ /** Inline label rendered beside the track and wired via for/id. Omit to
24
+ * bring your own <label>. */
25
+ readonly label: _angular_core.InputSignal<string>;
26
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
27
+ protected readonly uid: string;
28
+ protected readonly controlId: _angular_core.Signal<string>;
29
+ protected readonly hintId: _angular_core.Signal<string | null>;
30
+ private readonly fieldMessage;
31
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
32
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
33
+ protected readonly switchClasses: _angular_core.Signal<string>;
34
+ protected readonly fieldClass: _angular_core.Signal<string>;
35
+ protected onCheckedChange(event: Event): void;
36
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
37
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "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>;
38
+ }
39
+
40
+ export { SwitchComponent };
@@ -0,0 +1,43 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /**
4
+ * Showing, hiding and reordering columns for `<ds-table>`, as a directive so a table that does
5
+ * none of it never carries the panel — nor `@angular/cdk/drag-drop`, which comes with the drag
6
+ * handle:
7
+ *
8
+ * ```html
9
+ * <ds-table dsTableColumns [reorderableColumns]="true" [columns]="cols" [data]="rows" />
10
+ * ```
11
+ *
12
+ * Hiding needs no input: a column marked `hideable` becomes hideable the moment this directive is
13
+ * present. `[(hiddenKeys)]` and `[(columnOrder)]` are two-way, so the layout can be driven from
14
+ * the host, and both round-trip through `persistLayout` on the table.
15
+ */
16
+ declare class DsTableColumns<T extends object> {
17
+ private readonly layout;
18
+ /** Adds the drag handle and the move buttons. Hiding works without it. */
19
+ readonly reorderableColumns: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ /** Keys the reader has hidden. Unset falls back to the columns' own `hidden` flags. */
21
+ readonly hiddenKeys: _angular_core.ModelSignal<Set<string> | null>;
22
+ /** Column keys in the reader's order. Unset keeps the declaration order. */
23
+ readonly columnOrder: _angular_core.ModelSignal<string[] | null>;
24
+ private readonly coarsePointerState;
25
+ private readonly coarsePointer;
26
+ private readonly effectiveHiddenKeys;
27
+ private readonly declaredColumns;
28
+ private hiddenByDeclaration;
29
+ /** Declaration order with the reader's order applied first, then anything they never moved. */
30
+ private readonly ordered;
31
+ private readonly visible;
32
+ constructor();
33
+ private isVisible;
34
+ /** The last visible column cannot be hidden — an all-hidden grid is useless. */
35
+ private isLocked;
36
+ private toggleColumn;
37
+ private moveColumn;
38
+ private onDrop;
39
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsTableColumns<any>, never>;
40
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsTableColumns<any>, "[dsTableColumns]", never, { "reorderableColumns": { "alias": "reorderableColumns"; "required": false; "isSignal": true; }; "hiddenKeys": { "alias": "hiddenKeys"; "required": false; "isSignal": true; }; "columnOrder": { "alias": "columnOrder"; "required": false; "isSignal": true; }; }, { "hiddenKeys": "hiddenKeysChange"; "columnOrder": "columnOrderChange"; }, never, never, true, never>;
41
+ }
42
+
43
+ export { DsTableColumns };
@@ -0,0 +1,48 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /**
4
+ * CSV export for `<ds-table>`, as a directive so a table that does not export never carries the
5
+ * code. Put it on the table and the toolbar grows the button:
6
+ *
7
+ * ```html
8
+ * <ds-table dsTableExport [columns]="cols" [data]="rows" />
9
+ * ```
10
+ *
11
+ * On a server-paged table the table holds one page, so give it the whole set:
12
+ *
13
+ * ```html
14
+ * <ds-table dsTableExport [exportFetcher]="fetchAll" (exportFailed)="report($event)" />
15
+ * ```
16
+ *
17
+ * `table.runExport()` and `table.exporting()` keep working — they delegate to whichever export
18
+ * directive is present, so a button of your own in `[toolbar]` or a page header still drives it.
19
+ * Pass `[dsTableExport]="false"` to keep the code and drop the built-in button.
20
+ */
21
+ declare class DsTableExport<T extends object> {
22
+ private readonly layout;
23
+ /** Renders the built-in toolbar button. `false` keeps the feature and hides the control, for a
24
+ * table whose export is driven from somewhere else on the page. */
25
+ readonly dsTableExport: _angular_core.InputSignalWithTransform<boolean, unknown>;
26
+ readonly exportFilename: _angular_core.InputSignal<string>;
27
+ /** Fetches the rows to export. Without it the export serialises what the table holds, which on
28
+ * a server-paged table is one page. */
29
+ readonly exportFetcher: _angular_core.InputSignal<(() => Promise<readonly T[] | Blob | string>) | null>;
30
+ /** Without it a rejected `exportFetcher` is silent. */
31
+ readonly exportFailed: _angular_core.OutputEmitterRef<unknown>;
32
+ private readonly busy;
33
+ readonly exporting: _angular_core.Signal<boolean>;
34
+ private readonly announcement;
35
+ constructor();
36
+ /** Without `exportFetcher` this serialises only what the table holds, which on a server-paged
37
+ * table is one page. */
38
+ runExport(): Promise<void>;
39
+ /** Serialises the table's visible columns as a CSV download. Pass `rows` to serialise a set you
40
+ * fetched yourself. */
41
+ exportCsv(filename?: string, rows?: readonly T[]): void;
42
+ /** Only a Blob gets its object URL revoked — a URL the caller supplied is theirs to manage. */
43
+ private downloadFile;
44
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsTableExport<any>, never>;
45
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsTableExport<any>, "[dsTableExport]", never, { "dsTableExport": { "alias": "dsTableExport"; "required": false; "isSignal": true; }; "exportFilename": { "alias": "exportFilename"; "required": false; "isSignal": true; }; "exportFetcher": { "alias": "exportFetcher"; "required": false; "isSignal": true; }; }, { "exportFailed": "exportFailed"; }, never, never, true, never>;
46
+ }
47
+
48
+ export { DsTableExport };
@@ -0,0 +1,79 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ /**
4
+ * Column resizing for `<ds-table>`, as a directive so a table with fixed columns never carries
5
+ * the drag, the keyboard range widget or the width buttons in the column panel:
6
+ *
7
+ * ```html
8
+ * <ds-table dsTableResize [columns]="cols" [data]="rows" />
9
+ * ```
10
+ *
11
+ * The bare attribute is the whole switch: there is no input to bind, so resizing cannot be toggled
12
+ * by an expression. Seed a width through the column's own `width`, read the live ones through
13
+ * `viewChild(DsTableResize)`, and let `persistLayout` on the table carry them across a reload.
14
+ *
15
+ * The handle's MARKUP stays in the table's header, gated on this directive being present, and so
16
+ * does the width template the column panel renders. Two reasons: a per-column
17
+ * `ViewContainerRef` would cost every header cell of every table a container to save seventeen
18
+ * lines of template, and a directive has no view of its own to declare an `ng-template` in. The
19
+ * bytes here are in the logic, and the logic is all here.
20
+ */
21
+ declare class DsTableResize<T extends object> {
22
+ private readonly layout;
23
+ /** Per-column pixel widths, keyed by column key. Seeded from `column.width` where unset. */
24
+ readonly columnWidths: i0.WritableSignal<Map<string, number>>;
25
+ private resizeState;
26
+ private readonly resizeFocus;
27
+ constructor();
28
+ /** `'content'` is not a pixel value — it is carried by a class instead, see `fitsContent`. */
29
+ private columnWidth;
30
+ private viewport;
31
+ /**
32
+ * The widest a single column may be dragged: the scroll viewport.
33
+ *
34
+ * A column wider than the viewport can never be seen whole, and long text has its own
35
+ * affordance here — `truncate` clips it and the clip popover shows the rest — so nothing is lost
36
+ * by stopping at the edge. The ceiling exists at all because `aria-valuemax` has to be TRUE: a
37
+ * focusable `role="separator"` is a range widget, and announcing a bound that neither resize
38
+ * path applies is worse than announcing none.
39
+ */
40
+ private columnWidthCeiling;
41
+ private clampColumnWidth;
42
+ private onResizeStart;
43
+ /**
44
+ * Freeze the columns at what they currently measure, once, before the first drag moves
45
+ * anything.
46
+ *
47
+ * Without it only the dragged column has a width and the rest are still auto-sized, so the
48
+ * browser redistributes the remainder across them and columns the reader never touched visibly
49
+ * jump. Measuring first means the drag changes one column and leaves the others where they
50
+ * were. Reads the header row that is actually on screen rather than assuming a column order.
51
+ */
52
+ private lockMeasuredWidths;
53
+ private onResizeMove;
54
+ private onResizeEnd;
55
+ private onResizeFocus;
56
+ /**
57
+ * The separator's range, and only while it holds focus — that is when a range widget is
58
+ * announced, and an auto-sized column has no width to report until something measures one.
59
+ * Measuring on every change detection to fill an attribute nothing is reading would force
60
+ * layout once per resizable column.
61
+ *
62
+ * `now` prefers the known width, which the first arrow key makes known and keeps live; the
63
+ * focus measurement only covers the moment before that.
64
+ */
65
+ private resizeRange;
66
+ private resolvedColumnWidth;
67
+ private onResizeKey;
68
+ /**
69
+ * The header cell is passed when the caller has it — the column panel does not, so it is looked
70
+ * up by `data-col-key`, and the measurement matters: stepping an auto-sized column has to start
71
+ * from what it currently RENDERS, not from the minimum.
72
+ */
73
+ private stepColumnWidth;
74
+ private headerCellFor;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<DsTableResize<any>, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DsTableResize<any>, "[dsTableResize]", never, {}, {}, never, never, true, never>;
77
+ }
78
+
79
+ export { DsTableResize };