@ids-group-ltd/ids-design-system 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/CHANGELOG.md +869 -0
  2. package/agent/INDEX.md +8 -7
  3. package/agent/charts/ds-scatter-chart.md +1 -1
  4. package/agent/feedback/ds-badge.md +2 -2
  5. package/agent/feedback/ds-chat-message.md +1 -1
  6. package/agent/feedback/ds-chat-step.md +2 -2
  7. package/agent/feedback/ds-chat-thread.md +1 -1
  8. package/agent/feedback/ds-empty-state.md +2 -1
  9. package/agent/feedback/ds-stat.md +1 -1
  10. package/agent/feedback/ds-toast.md +2 -2
  11. package/agent/feedback/ds-tree.md +4 -2
  12. package/agent/forms/ds-button.md +3 -3
  13. package/agent/forms/ds-chat-input.md +3 -3
  14. package/agent/forms/ds-dropzone.md +1 -1
  15. package/agent/forms/ds-icon-button.md +3 -3
  16. package/agent/forms/ds-number-stepper.md +3 -3
  17. package/agent/forms/ds-search.md +1 -1
  18. package/agent/forms/ds-split-button.md +1 -1
  19. package/agent/foundations/tokens.md +4 -3
  20. package/agent/navigation/ds-app-layout.md +1 -1
  21. package/agent/navigation/ds-nav-divider.md +6 -0
  22. package/agent/navigation/{ds-sidenav-footer.md → ds-nav-footer.md} +3 -3
  23. package/agent/navigation/{ds-sidenav-group.md → ds-nav-group.md} +2 -2
  24. package/agent/navigation/{ds-sidenav-item.md → ds-nav-item.md} +6 -6
  25. package/agent/navigation/ds-nav.md +15 -0
  26. package/agent/navigation/ds-splitter.md +1 -1
  27. package/agent/overlays/ds-drawer.md +1 -1
  28. package/agent/platform/toast-service.md +1 -1
  29. package/components/README.md +24 -24
  30. package/components.md +60 -51
  31. package/design-system.md +8 -7
  32. package/eslint/deprecated-api.json +108 -7
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +4 -4
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +4 -4
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-badge-badge-count-roll.component-BDNXADJZ.mjs +182 -0
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-badge-badge-count-roll.component-BDNXADJZ.mjs.map +1 -0
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +37 -8
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +5 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +76 -5
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +2 -2
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +122 -21
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +2 -2
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +65 -4
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +76 -9
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +14 -7
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +2 -2
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +2 -2
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +6 -4
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +2 -2
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs +2 -2
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +4 -4
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +2 -2
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-nav-footer.mjs +113 -0
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-nav-footer.mjs.map +1 -0
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-nav.mjs +228 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-nav.mjs.map +1 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +61 -10
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +36 -4
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +2 -2
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +9 -2
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-reveal.mjs +56 -0
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-reveal.mjs.map +1 -0
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +10 -39
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +7 -4
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +33 -6
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -98
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +11 -179
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +3 -2
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +68 -5
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +2 -2
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +41 -3
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +6 -4
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +27 -7
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +54 -19
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +8 -7
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +58 -9
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +153 -1
  166. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +25 -1
  168. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system.mjs +4 -1
  170. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  171. package/migrations/1.1.1.json +14 -4
  172. package/migrations/1.1.2.json +143 -0
  173. package/migrations/1.2.0.json +1433 -0
  174. package/migrations/README.md +11 -2
  175. package/package.json +28 -1
  176. package/schematics/check-overrides/index.cjs +28 -3
  177. package/schematics/check-overrides/scan.cjs +151 -2
  178. package/schematics/check-overrides/schema.json +4 -0
  179. package/schematics/check-overrides/surface.json +397 -73
  180. package/schematics/collection.json +1 -1
  181. package/stylelint/deprecated-tokens.json +7 -0
  182. package/stylelint/index.mjs +17 -3
  183. package/stylelint/known-tokens.mjs +139 -0
  184. package/stylelint/report.mjs +185 -0
  185. package/stylelint/tokens.mjs +160 -0
  186. package/stylelint/use-tokens.mjs +397 -0
  187. package/styles/_check-box.scss +6 -5
  188. package/styles/_dropdown-overlay.scss +6 -8
  189. package/styles/_ds-color.scss +7 -2
  190. package/styles/_field-state.scss +4 -2
  191. package/styles/_focus.scss +12 -5
  192. package/styles/_link.scss +4 -4
  193. package/styles/_optical-center.scss +29 -0
  194. package/styles/_reveal.scss +8 -0
  195. package/styles/_status.scss +17 -7
  196. package/styles/_step-marker.scss +192 -6
  197. package/styles/_surface-level.scss +16 -0
  198. package/styles/_text-shimmer.scss +21 -0
  199. package/styles/_theme-activation.scss +17 -4
  200. package/styles/_tokens.scss +34 -7
  201. package/styles/ds.scss +1 -0
  202. package/themes/README.md +16 -21
  203. package/themes/_semantic.scss +134 -61
  204. package/themes/dark/_theme.scss +20 -24
  205. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +3 -3
  206. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +2 -2
  207. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +20 -1
  208. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +14 -3
  209. package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +67 -6
  210. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +9 -1
  211. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +28 -2
  212. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +7 -2
  213. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +8 -5
  214. package/types/ids-group-ltd-ids-design-system-components-nav-footer.d.ts +88 -0
  215. package/types/ids-group-ltd-ids-design-system-components-nav.d.ts +152 -0
  216. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +21 -3
  217. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +1 -0
  218. package/types/ids-group-ltd-ids-design-system-components-reveal.d.ts +31 -0
  219. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +2 -8
  220. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +4 -1
  221. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +3 -0
  222. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +12 -83
  223. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +21 -131
  224. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +1 -1
  225. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +10 -1
  226. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -0
  227. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +1 -1
  228. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +3 -1
  229. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +27 -6
  230. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +26 -4
  231. package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -1
  232. package/types/ids-group-ltd-ids-design-system-core.d.ts +38 -2
  233. package/types/ids-group-ltd-ids-design-system.d.ts +10 -7
  234. package/agent/navigation/ds-sidenav.md +0 -13
@@ -115,6 +115,8 @@ declare class ChatMessageComponent {
115
115
  stepWaiting: string;
116
116
  stepFailed: string;
117
117
  stepDetails: (heading: string) => string;
118
+ stepElapsed: (seconds: number) => string;
119
+ stepRetry: string;
118
120
  }>;
119
121
  protected readonly noticeIcon: _angular_core.Signal<IconName | null>;
120
122
  protected readonly speaker: _angular_core.Signal<string>;
@@ -249,7 +251,8 @@ declare class ChatStepsComponent {
249
251
  /**
250
252
  * One step of an agent's work inside `ds-chat-steps`: a marker for its `status`, the heading, and
251
253
  * optional content under it (such as Approve buttons on a `waiting` step). Slots: `[trailing]` at the
252
- * end of the heading row (Stop, Retry), `[details]` behind a chevron (the step's log).
254
+ * end of the heading row (Stop, Retry), `[details]` behind a chevron (the step's log), `[actions]` in a
255
+ * row under the details (the way out of a failed step, such as Fix connection).
253
256
  */
254
257
  declare class ChatStepComponent {
255
258
  /** What the step does, such as "Run the build". */
@@ -258,8 +261,17 @@ declare class ChatStepComponent {
258
261
  readonly time: _angular_core.InputSignal<string>;
259
262
  /** Where the step is: draws the marker and is spoken before the heading. */
260
263
  readonly status: _angular_core.InputSignal<ChatStepStatus | null>;
264
+ /** When the step started running, as a `Date`, an ISO string or epoch milliseconds. With it the
265
+ * heading row ends in the time the step has taken, counting up each second while it runs. */
266
+ readonly startedAt: _angular_core.InputSignal<string | number | Date | null>;
267
+ /** When the step finished. With `startedAt`, the heading row ends in the step's duration. */
268
+ readonly endedAt: _angular_core.InputSignal<string | number | Date | null>;
261
269
  /** Whether the `[details]` area is open, two-way bound. */
262
270
  readonly expanded: _angular_core.ModelSignal<boolean>;
271
+ /** A step with `status="error"` ends its `[actions]` row in a Retry button that emits `retry`. */
272
+ readonly retryable: _angular_core.InputSignalWithTransform<boolean, unknown>;
273
+ /** Retry was pressed on a failed `retryable` step. Run it again and move `status` to `'running'`. */
274
+ readonly retry: _angular_core.OutputEmitterRef<void>;
263
275
  private readonly intl;
264
276
  protected readonly steps: ChatStepsContract | null;
265
277
  protected readonly detailsId: string;
@@ -267,20 +279,52 @@ declare class ChatStepComponent {
267
279
  protected readonly shownStatus: _angular_core.WritableSignal<ChatStepStatus | null>;
268
280
  private runningSince;
269
281
  private settleTimer;
282
+ private readonly now;
283
+ private readonly startedAtMs;
284
+ private readonly endedAtMs;
285
+ private readonly ticking;
286
+ protected readonly settled: _angular_core.WritableSignal<boolean>;
270
287
  constructor();
271
288
  private show;
272
289
  protected readonly isFirst: _angular_core.Signal<boolean>;
273
290
  protected readonly isLast: _angular_core.Signal<boolean>;
274
- protected readonly nodeIcon: _angular_core.Signal<IconName | null>;
275
- private readonly wording;
291
+ protected readonly nodeIcons: _angular_core.Signal<readonly IconName[]>;
292
+ protected readonly wording: _angular_core.Signal<{
293
+ user: string;
294
+ assistant: string;
295
+ system: string;
296
+ thread: string;
297
+ working: string;
298
+ newMessages: (count: number) => string;
299
+ latest: string;
300
+ today: string;
301
+ yesterday: string;
302
+ sending: string;
303
+ sent: string;
304
+ notSent: string;
305
+ retry: string;
306
+ steps: (count: number) => string;
307
+ stepsFailed: (count: number) => string;
308
+ stepsFolded: (count: number, failed: number) => string;
309
+ stepDone: string;
310
+ stepRunning: string;
311
+ stepPending: string;
312
+ stepWaiting: string;
313
+ stepFailed: string;
314
+ stepDetails: (heading: string) => string;
315
+ stepElapsed: (seconds: number) => string;
316
+ stepRetry: string;
317
+ }>;
276
318
  protected readonly statusLabel: _angular_core.Signal<string>;
319
+ protected readonly elapsed: _angular_core.Signal<string>;
277
320
  protected readonly detailsLabel: _angular_core.Signal<string>;
278
321
  protected toggle(): void;
279
322
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatStepComponent, never>;
280
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepComponent, "ds-chat-step", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[trailing]", "*", "[details]"], true, never>;
323
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepComponent, "ds-chat-step", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "startedAt": { "alias": "startedAt"; "required": false; "isSignal": true; }; "endedAt": { "alias": "endedAt"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "retryable": { "alias": "retryable"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "retry": "retry"; }, never, ["[trailing]", "*", "[details]", "[actions]"], true, never>;
281
324
  }
282
325
 
283
326
  type ChatInputLayout = 'status-bar' | 'status-above' | 'split' | 'send-outside' | 'toolbar';
327
+ type ChatInputBusyAction = 'stop' | 'queue';
284
328
 
285
329
  /**
286
330
  * Message box for a chat or an instruction: an auto-growing text area with chips above it, actions
@@ -309,6 +353,10 @@ declare class ChatInputComponent {
309
353
  /** While `busy`, the default send button becomes Stop: a square inside a turning ring that emits
310
354
  * `stopRequested`. */
311
355
  readonly stoppable: _angular_core.InputSignalWithTransform<boolean, unknown>;
356
+ /** What the default buttons offer while `busy` once text is typed. `'stop'`: the send button stays
357
+ * Stop (or the spinner). `'queue'`: Redirect, Stop (with `stoppable`) and Queue, left to right;
358
+ * Queue is the main button and Enter queues. With no text it is Stop again. */
359
+ readonly busyAction: _angular_core.InputSignal<ChatInputBusyAction>;
312
360
  /** The current step while `busy`, such as "Rebuilding"; where it shows follows `layout`. */
313
361
  readonly busyLabel: _angular_core.InputSignal<string>;
314
362
  /** Where the buttons and the step text sit. `'status-bar'`: buttons inside, the step text in the
@@ -322,6 +370,10 @@ declare class ChatInputComponent {
322
370
  readonly submitted: _angular_core.OutputEmitterRef<string>;
323
371
  /** The Stop button was pressed; fires only while `busy`, `stoppable` and not `disabled`. */
324
372
  readonly stopRequested: _angular_core.OutputEmitterRef<void>;
373
+ /** The trimmed text, on Enter or the Queue button; fires only while the Queue button shows. */
374
+ readonly queued: _angular_core.OutputEmitterRef<string>;
375
+ /** The trimmed text, on the Redirect button; fires only while the Queue button shows. */
376
+ readonly redirected: _angular_core.OutputEmitterRef<string>;
325
377
  /** Image files pasted into the text area. The paste inserts no text when it carries images. */
326
378
  readonly filesPasted: _angular_core.OutputEmitterRef<File[]>;
327
379
  /** True when Enter or the send button would submit; bind it in a `[send]` slot. */
@@ -330,18 +382,27 @@ declare class ChatInputComponent {
330
382
  protected readonly textareaLabel: _angular_core.Signal<string>;
331
383
  protected readonly sendLabel: _angular_core.Signal<string>;
332
384
  protected readonly stopLabel: _angular_core.Signal<string>;
385
+ protected readonly queueLabel: _angular_core.Signal<string>;
386
+ protected readonly redirectLabel: _angular_core.Signal<string>;
387
+ protected readonly queueShown: _angular_core.Signal<boolean>;
333
388
  protected readonly stopShown: _angular_core.Signal<boolean>;
389
+ protected readonly mainLabel: _angular_core.Signal<string>;
390
+ protected readonly mainIcon: _angular_core.Signal<"stop" | "list-plus" | "arrowUp">;
391
+ protected readonly iconSwaps: _angular_core.WritableSignal<boolean>;
334
392
  protected readonly statusAbove: _angular_core.Signal<boolean>;
335
393
  protected readonly statusText: _angular_core.Signal<string>;
394
+ constructor();
336
395
  /** Emits `submitted` when `canSubmit`; for a send button rendered in the `[send]` slot. */
337
396
  submit(): void;
397
+ private queue;
398
+ protected redirect(): void;
338
399
  protected onSendPressed(): void;
339
400
  /** Moves keyboard focus to the text area. */
340
401
  focus(options?: FocusOptions): void;
341
402
  protected onKeydown(event: KeyboardEvent): void;
342
403
  protected onPaste(event: ClipboardEvent): void;
343
404
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatInputComponent, never>;
344
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "stoppable": { "alias": "stoppable"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "stopRequested": "stopRequested"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
405
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "stoppable": { "alias": "stoppable"; "required": false; "isSignal": true; }; "busyAction": { "alias": "busyAction"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "stopRequested": "stopRequested"; "queued": "queued"; "redirected": "redirected"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
345
406
  }
346
407
 
347
408
  type AttachmentKind = 'pdf' | 'doc' | 'image' | 'file';
@@ -374,4 +435,4 @@ declare class AttachmentComponent {
374
435
  }
375
436
 
376
437
  export { AttachmentComponent, ChatAttachmentComponent, ChatInputComponent, ChatMessageComponent, ChatStepComponent, ChatStepsComponent, ChatThreadComponent };
377
- export type { AttachmentKind, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepStatus, ChatStepsEnter };
438
+ export type { AttachmentKind, ChatInputBusyAction, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepStatus, ChatStepsEnter };
@@ -19,8 +19,16 @@ declare class DrawerComponent implements OnDestroy {
19
19
  readonly placement: _angular_core.InputSignal<DrawerPlacement>;
20
20
  /** Drawer title, shown in the header and used for `aria-labelledby`. */
21
21
  readonly title: _angular_core.InputSignal<string>;
22
+ /**
23
+ * Leaves the scrim clear over this element or viewport rect, so the thing the drawer is about stays
24
+ * bright. An element is followed through resize and scroll and the hole takes its corner radius; a
25
+ * `DOMRect` is a fixed, square-cornered hole in viewport coordinates. The hole still takes the
26
+ * scrim's pointer, so a click on it dismisses the drawer like any other scrim click.
27
+ */
28
+ readonly scrimCutout: _angular_core.InputSignal<HTMLElement | DOMRect | null>;
22
29
  /** Fires once the close (slide-out) animation finishes. */
23
30
  readonly closed: _angular_core.OutputEmitterRef<void>;
31
+ private readonly scrim;
24
32
  protected readonly titleId: string;
25
33
  protected readonly rendered: _angular_core.WritableSignal<boolean>;
26
34
  protected readonly closing: _angular_core.WritableSignal<boolean>;
@@ -34,7 +42,7 @@ declare class DrawerComponent implements OnDestroy {
34
42
  private finishClose;
35
43
  protected onEscape(): void;
36
44
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
37
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body], [body]", "*", "[drawer-footer], [actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
45
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "scrimCutout": { "alias": "scrimCutout"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body], [body]", "*", "[drawer-footer], [actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
38
46
  }
39
47
 
40
48
  export { DrawerComponent };
@@ -1,5 +1,9 @@
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 { DsFormControlBase } from '@ids-group-ltd/ids-design-system/components';
1
4
  import * as _angular_core from '@angular/core';
2
5
  import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
6
+ import { ControlValueAccessor } from '@angular/forms';
3
7
 
4
8
  type DropzoneFileState = 'queued' | 'uploading' | 'success' | 'error';
5
9
  interface DropzoneFile {
@@ -12,7 +16,7 @@ interface DropzoneFile {
12
16
  message?: string;
13
17
  }
14
18
 
15
- declare class DropzoneComponent {
19
+ declare class DropzoneComponent extends DsFormControlBase implements ControlValueAccessor {
16
20
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
17
21
  private readonly sizeFormat;
18
22
  /** Native `accept`: comma-separated MIME types or extensions. */
@@ -23,12 +27,34 @@ declare class DropzoneComponent {
23
27
  readonly files: _angular_core.ModelSignal<DropzoneFile[]>;
24
28
  /** Blocks all file picking. */
25
29
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
30
+ /** Label shown above the zone; also the file input's accessible name. */
31
+ readonly label: _angular_core.InputSignal<string>;
32
+ /** Marks the field required - shows an asterisk and sets `aria-required`. */
33
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
26
34
  protected readonly dragOver: _angular_core.WritableSignal<boolean>;
35
+ private readonly bridge;
36
+ private readonly picker;
37
+ protected readonly uid: string;
38
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
39
+ private readonly fieldMessage;
40
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
41
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
42
+ protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
43
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
44
+ protected readonly changedShown: _angular_core.Signal<boolean>;
45
+ protected readonly errorInZone: _angular_core.Signal<boolean>;
46
+ protected readonly hintId: _angular_core.Signal<string | null>;
27
47
  /** Fires with the raw files picked or dropped; the consumer adds them to `files`. */
28
48
  readonly filesAdded: _angular_core.OutputEmitterRef<File[]>;
29
49
  /** Fires when the user removes a file; the consumer removes the matching entry from `files`. */
30
50
  readonly fileRemoved: _angular_core.OutputEmitterRef<DropzoneFile>;
31
51
  protected readonly classes: _angular_core.Signal<string>;
52
+ constructor();
53
+ writeValue(files: DropzoneFile[] | null): void;
54
+ registerOnChange(fn: (files: DropzoneFile[]) => void): void;
55
+ registerOnTouched(fn: () => void): void;
56
+ setDisabledState(isDisabled: boolean): void;
57
+ protected onBlur(): void;
32
58
  protected onDragOver(event: DragEvent): void;
33
59
  protected onDragLeave(): void;
34
60
  protected onDrop(event: DragEvent): void;
@@ -39,7 +65,7 @@ declare class DropzoneComponent {
39
65
  protected formatSize(bytes: number): string;
40
66
  protected fileIcon(state: DropzoneFile['state']): 'file' | 'check' | 'error';
41
67
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropzoneComponent, never>;
42
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "files": "filesChange"; "filesAdded": "filesAdded"; "fileRemoved": "fileRemoved"; }, never, ["[hint]"], true, never>;
68
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "files": "filesChange"; "filesAdded": "filesAdded"; "fileRemoved": "fileRemoved"; }, never, ["[hint]"], true, never>;
43
69
  }
44
70
 
45
71
  export { DropzoneComponent };
@@ -3,6 +3,7 @@ import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
3
 
4
4
  type EmptyStateVariant = 'none' | 'loading' | 'error' | 'locked' | 'success';
5
5
  type EmptyStateTitleOverflow = 'wrap' | 'clip';
6
+ type EmptyStateAppearance = 'tile' | 'plain';
6
7
 
7
8
  declare class EmptyStateComponent {
8
9
  /** Drives the default icon; `'loading'` shows a loading overlay. */
@@ -16,11 +17,15 @@ declare class EmptyStateComponent {
16
17
  readonly titleOverflow: _angular_core.InputSignal<EmptyStateTitleOverflow>;
17
18
  /** Optional supporting text below the title. */
18
19
  readonly body: _angular_core.InputSignal<string>;
20
+ /** `'tile'` draws the icon on a tinted tile under a bold title; `'plain'` draws a 32px icon with
21
+ * no tile, a semibold `--font-size-l` title and the body in `--text-tertiary`, for an empty
22
+ * section inside a page rather than an empty page. */
23
+ readonly appearance: _angular_core.InputSignal<EmptyStateAppearance>;
19
24
  protected readonly classes: _angular_core.Signal<string>;
20
25
  protected readonly resolvedIcon: _angular_core.Signal<IconName>;
21
26
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
22
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleOverflow": { "alias": "titleOverflow"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
27
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleOverflow": { "alias": "titleOverflow"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
23
28
  }
24
29
 
25
30
  export { EmptyStateComponent };
26
- export type { EmptyStateTitleOverflow, EmptyStateVariant };
31
+ export type { EmptyStateAppearance, EmptyStateTitleOverflow, EmptyStateVariant };
@@ -3,11 +3,12 @@ import { ElementRef } from '@angular/core';
3
3
  import { IconName, DsSize } from '@ids-group-ltd/ids-design-system/core';
4
4
  import { ButtonColor } from '@ids-group-ltd/ids-design-system/components/button';
5
5
 
6
- type IconButtonVariant = 'standard' | 'filled' | 'tonal' | 'outlined';
6
+ type IconButtonColor = ButtonColor | 'inherit';
7
+ type IconButtonVariant = 'standard' | 'filled' | 'tonal' | 'outlined' | 'surface';
7
8
  type IconButtonType = 'button' | 'submit' | 'reset';
8
9
 
9
10
  /**
10
- * Icon-only action button with variants (standard / filled / tonal / outlined) and an optional
11
+ * Icon-only action button with variants (standard / filled / tonal / outlined / surface) and an optional
11
12
  * toggle (`selected`) state. Use `ds-button` for labelled actions. `ariaLabel` is required.
12
13
  */
13
14
  declare class IconButtonComponent {
@@ -20,8 +21,10 @@ declare class IconButtonComponent {
20
21
  readonly ariaDescribedBy: _angular_core.InputSignal<string | null>;
21
22
  /** Fill style; `standard` is chromeless. */
22
23
  readonly variant: _angular_core.InputSignal<IconButtonVariant>;
23
- /** Brand/status hue family, shared with ds-button. `color` recolours the accent the fill uses. */
24
- readonly color: _angular_core.InputSignal<ButtonColor>;
24
+ /** Brand/status hue family, shared with ds-button. `color` recolours the accent the fill uses.
25
+ * `'inherit'` draws a `standard` button in the surrounding text colour, with its hover, press
26
+ * and focus ring in that colour, for a button on a surface filled with a colour. */
27
+ readonly color: _angular_core.InputSignal<IconButtonColor>;
25
28
  /** Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
26
29
  readonly size: _angular_core.InputSignal<DsSize | null>;
27
30
  readonly sizeResolved: _angular_core.Signal<DsSize>;
@@ -51,4 +54,4 @@ declare class IconButtonComponent {
51
54
  }
52
55
 
53
56
  export { IconButtonComponent };
54
- export type { IconButtonType, IconButtonVariant };
57
+ export type { IconButtonColor, IconButtonType, IconButtonVariant };
@@ -0,0 +1,88 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
3
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
4
+
5
+ /**
6
+ * A notification rendered in the nav Alerts popover.
7
+ */
8
+ interface NavAlertItem {
9
+ readonly id: string;
10
+ readonly icon: IconName;
11
+ /** Tone of the leading icon chip (reuses the DS status palette). */
12
+ readonly variant: 'success' | 'warning' | 'error' | 'info';
13
+ readonly title: string;
14
+ readonly body: string;
15
+ /** Relative/display timestamp, e.g. "Jul 23". */
16
+ readonly at: string;
17
+ /** Optional router path to navigate to when the alert is clicked. */
18
+ readonly route?: string;
19
+ }
20
+ /**
21
+ * A single global-search hit rendered in the nav Search popover, produced by a
22
+ * {@link NavSearchProvider}.
23
+ */
24
+ interface NavSearchResult {
25
+ readonly id: string;
26
+ /** Primary line (entity/section name). */
27
+ readonly label: string;
28
+ /** Optional secondary line (reference, email, type…). */
29
+ readonly sublabel?: string;
30
+ readonly icon?: IconName;
31
+ /** Group heading the hit is filed under, e.g. "Sections". */
32
+ readonly group: string;
33
+ /** Router path to navigate to on select. */
34
+ readonly route: string;
35
+ /** Optional query params, used to deep-open in-page detail views. */
36
+ readonly queryParams?: Record<string, string>;
37
+ }
38
+ /** A query -> results function supplied by the layout to the shared footer. */
39
+ type NavSearchProvider = (query: string) => readonly NavSearchResult[];
40
+
41
+ interface SearchGroup {
42
+ group: string;
43
+ items: NavSearchResult[];
44
+ }
45
+ /**
46
+ * Bottom block of the app nav: quick actions (Search / Alerts / Collapse)
47
+ * and the signed-in user with an account menu (popover). Collapse and sign-out
48
+ * are delegated to the parent (`collapseToggled`, `signOutSelected`).
49
+ */
50
+ declare class NavFooterComponent {
51
+ private readonly router;
52
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
53
+ /** Name shown in the footer's account row. */
54
+ readonly userName: _angular_core.InputSignal<string>;
55
+ /** Secondary line under the name (role / organisation). */
56
+ readonly userRole: _angular_core.InputSignal<string>;
57
+ /** Show the unread dot on the Alerts row. */
58
+ readonly alerts: _angular_core.InputSignal<boolean>;
59
+ /** Mirrors the rail's collapsed state: labels hide, the avatar + icons stay. */
60
+ readonly collapsed: _angular_core.InputSignal<boolean>;
61
+ /** When set, the Search row opens a live results popover; unset keeps it inert. */
62
+ readonly searchProvider: _angular_core.InputSignal<NavSearchProvider | null>;
63
+ /** When non-null (even empty) the Alerts row opens a list popover; null keeps it inert. */
64
+ readonly alertItems: _angular_core.InputSignal<readonly NavAlertItem[] | null>;
65
+ /** Route for the account menu's "Your profile"; empty = the item is a no-op. */
66
+ readonly profileRoute: _angular_core.InputSignal<string>;
67
+ /** The collapse control was activated; the footer does not collapse itself. */
68
+ readonly collapseToggled: _angular_core.OutputEmitterRef<void>;
69
+ /** Emitted when the Alerts popover is opened, so the layout can mark-all-read. */
70
+ readonly alertsOpened: _angular_core.OutputEmitterRef<void>;
71
+ /** Emitted when "Sign out" is chosen; the layout owns the actual logout flow. */
72
+ readonly signOutSelected: _angular_core.OutputEmitterRef<void>;
73
+ protected readonly query: _angular_core.WritableSignal<string>;
74
+ protected readonly initials: _angular_core.Signal<string>;
75
+ /** Run the provider for the current query, grouped by `group` for display. */
76
+ protected searchGroups(provider: NavSearchProvider): SearchGroup[];
77
+ protected goResult(result: NavSearchResult): void;
78
+ /** Activate the top result (Enter key). Returns whether a result was opened. */
79
+ protected goFirst(provider: NavSearchProvider): boolean;
80
+ protected goAlert(alert: NavAlertItem): void;
81
+ protected goProfile(): void;
82
+ constructor();
83
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavFooterComponent, never>;
84
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavFooterComponent, "ds-nav-footer, 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>;
85
+ }
86
+
87
+ export { NavFooterComponent };
88
+ export type { NavAlertItem, NavSearchProvider, NavSearchResult };
@@ -0,0 +1,152 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
4
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
5
+ import { DsRouterLink, DsAriaCurrent } from '@ids-group-ltd/ids-design-system/components';
6
+
7
+ /**
8
+ * Marks projected wordmark markup for `ds-nav`: when present, the nav
9
+ * renders the projected content inside `.brand-name` instead of the plain
10
+ * `brand` text.
11
+ *
12
+ * It renders the brand row even without a string `brand`, but the letter-mark
13
+ * tile still comes from `logoLetter` (or the first letter of `brand`), so an
14
+ * empty `brand` + projection renders the wordmark 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-nav-item reads from its parent ds-nav. */
22
+ interface NavContract {
23
+ readonly collapsed: () => boolean;
24
+ /** Whether the active item draws its edge marker; an item can override it. */
25
+ readonly rail: () => boolean;
26
+ }
27
+ declare const NAV: InjectionToken<NavContract>;
28
+
29
+ declare class NavComponent implements NavContract {
30
+ /** Collapses the rail to icon-only width; read by nested `ds-nav-item`/`ds-nav-group`. */
31
+ readonly collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
32
+ /** Names the menu as a navigation landmark (`role="navigation"` with this `aria-label`). Set it
33
+ * on every menu of a page that has more than one, so a screen reader tells them apart. */
34
+ readonly label: _angular_core.InputSignal<string>;
35
+ /** Whether the ACTIVE item draws its edge marker, for the whole nav; off by default, the
36
+ * active fill and label colour mark it. An individual `ds-nav-item` can override it with its own `rail`. */
37
+ readonly rail: _angular_core.InputSignalWithTransform<boolean, unknown>;
38
+ /** `page` sets the menu inside a page as a card with denser rows and no brand row; `app` is the
39
+ * application's own side menu. */
40
+ readonly variant: _angular_core.InputSignal<"app" | "page">;
41
+ /** Brand text at the top of the rail (auto letter-mark + name). Unset falls back to
42
+ * `DS_CONFIG.brand.name`. Each field resolves on its own: `brand=""` drops the
43
+ * wordmark while a configured `logoLetter` still paints its tile. */
44
+ readonly brand: _angular_core.InputSignal<string | null>;
45
+ /** Letter-mark glyph when it differs from the brand's first letter. Empty = first letter of `brand`;
46
+ * unset falls back to `DS_CONFIG.brand.logoLetter`. */
47
+ readonly logoLetter: _angular_core.InputSignal<string | null>;
48
+ /** Route the brand row links to. Unset leaves the row non-interactive. `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
+ /** Read these, not the inputs: the config default lives here. */
55
+ readonly brandName: _angular_core.Signal<string>;
56
+ readonly letterGlyph: _angular_core.Signal<string>;
57
+ /** Projected `[dsBrandName]` wordmark markup, when the consumer provides one. */
58
+ protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
59
+ protected readonly hasBrandName: _angular_core.Signal<boolean>;
60
+ /** Spread, not `charAt(0)`: that splits an astral character's surrogate pair. */
61
+ protected readonly markGlyph: _angular_core.Signal<string>;
62
+ protected readonly brandAriaLabel: _angular_core.Signal<string>;
63
+ constructor();
64
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavComponent, never>;
65
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavComponent, "ds-nav, ds-sidenav", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "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>;
66
+ }
67
+
68
+ declare class NavDividerComponent {
69
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavDividerComponent, never>;
70
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavDividerComponent, "ds-nav-divider", never, {}, {}, never, never, true, never>;
71
+ }
72
+
73
+ declare class NavGroupComponent {
74
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
75
+ /** Group heading text. */
76
+ readonly label: _angular_core.InputSignal<string>;
77
+ /** Optional group icon; omit to project custom content via the `[ds-group-icon]` slot instead. */
78
+ readonly icon: _angular_core.InputSignal<IconName | null>;
79
+ /** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
80
+ readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
81
+ /** Makes the group a destination as well as a container: the header navigates here and the
82
+ * caret becomes a separate control. Unset, the whole header only expands. */
83
+ readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
84
+ /** Overrides what the group header announces when it is itself a destination. Unset, the page
85
+ * the reader is on announces `page` and the section containing it announces `true`. */
86
+ readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
87
+ /** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
88
+ readonly expanded: _angular_core.ModelSignal<boolean>;
89
+ /** A header that navigates hands the caret its own button; one that does not is the button. */
90
+ private readonly noModifiers;
91
+ protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
92
+ protected readonly headerNavigates: _angular_core.Signal<boolean>;
93
+ protected toggle(): void;
94
+ constructor();
95
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavGroupComponent, never>;
96
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavGroupComponent, "ds-nav-group, 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; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
97
+ }
98
+
99
+ declare class NavItemComponent {
100
+ /** Icon shown before the label; omit to project a custom icon via the `[icon]` slot instead. */
101
+ readonly icon: _angular_core.InputSignal<IconName | null>;
102
+ /** Visible link text; also used as the tooltip/aria-label when the rail is collapsed. */
103
+ readonly label: _angular_core.InputSignal<string>;
104
+ /** Plain `href` target, used when `routerLink` is not set. */
105
+ readonly href: _angular_core.InputSignal<string>;
106
+ /** Angular `RouterLink` target, string or array form for dynamic segments. */
107
+ readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
108
+ /** Applies the active style; also drives `aria-current` when not using `routerLink`. */
109
+ readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
110
+ /** Overrides what an active item announces. Unset, an exact match announces `page` and a prefix
111
+ * match announces `true` ("you are in this section"). */
112
+ readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
113
+ /** Numeric count shown at the end of the item. */
114
+ readonly badge: _angular_core.InputSignal<number | null>;
115
+ /** Short text at the end of the item, before the badge: a status such as "Beta" or "Off", a
116
+ * shortcut, a total that is not a count. Hidden while the rail is collapsed. */
117
+ readonly trailingText: _angular_core.InputSignal<string>;
118
+ /** Shows an alert dot alongside the badge. */
119
+ readonly hasAlert: _angular_core.InputSignalWithTransform<boolean, unknown>;
120
+ /** Disables the item: non-navigable and styled as inactive. */
121
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
122
+ /** Emitted on click, carrying the `MouseEvent`. On an `href` item, `preventDefault()`
123
+ * intercepts navigation; a `routerLink` item navigates regardless (RouterLink ignores
124
+ * `defaultPrevented`). */
125
+ readonly activate: _angular_core.OutputEmitterRef<MouseEvent>;
126
+ /** Whether THIS item draws its edge marker when active. Unset follows the parent `ds-nav`, then off. */
127
+ readonly rail: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
128
+ private readonly nav;
129
+ private readonly noModifiers;
130
+ protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
131
+ protected readonly railResolved: _angular_core.Signal<boolean>;
132
+ protected onActivate(event: MouseEvent): void;
133
+ /** Tooltip text shown when collapsed; empty string suppresses the tooltip when expanded. */
134
+ protected readonly collapsedTooltip: _angular_core.Signal<string>;
135
+ protected readonly collapsedAriaLabel: _angular_core.Signal<string | null>;
136
+ protected readonly linkClasses: _angular_core.Signal<string>;
137
+ constructor();
138
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavItemComponent, never>;
139
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavItemComponent, "ds-nav-item, 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; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "trailingText": { "alias": "trailingText"; "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>;
140
+ }
141
+
142
+ interface NavItemModel {
143
+ id: string;
144
+ label: string;
145
+ href?: string;
146
+ active?: boolean;
147
+ badge?: number | null;
148
+ hasAlert?: boolean;
149
+ }
150
+
151
+ export { BrandNameDirective, NAV, NavComponent, NavDividerComponent, NavGroupComponent, NavItemComponent };
152
+ export type { NavContract, NavItemModel };
@@ -1,8 +1,11 @@
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 } from '@ids-group-ltd/ids-design-system/components';
1
4
  import * as _angular_core from '@angular/core';
2
5
  import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
3
6
  import { DsSize } from '@ids-group-ltd/ids-design-system/core';
4
7
 
5
- declare class NumberStepperComponent {
8
+ declare class NumberStepperComponent extends DsControlValueAccessor<number> {
6
9
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
7
10
  /** Current numeric value, two-way bound. */
8
11
  readonly value: _angular_core.ModelSignal<number>;
@@ -17,16 +20,31 @@ declare class NumberStepperComponent {
17
20
  readonly sizeResolved: _angular_core.Signal<DsSize>;
18
21
  /** Disables the stepper and blocks all interaction. */
19
22
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
- /** Accessible name for the number input; the stepper has no visible label. */
23
+ /** Label shown above the stepper. */
24
+ readonly label: _angular_core.InputSignal<string>;
25
+ /** Marks the field required - shows an asterisk and sets `aria-required`. */
26
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
27
+ /** Accessible name for the number input when no visible `label` is provided. */
21
28
  readonly ariaLabel: _angular_core.InputSignal<string | null>;
29
+ protected readonly uid: string;
30
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
31
+ private readonly fieldMessage;
32
+ protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
33
+ protected readonly invalidResolved: _angular_core.Signal<boolean>;
34
+ protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
35
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
36
+ protected readonly changedShown: _angular_core.Signal<boolean>;
37
+ protected readonly hintId: _angular_core.Signal<string | null>;
22
38
  protected readonly atMin: _angular_core.Signal<boolean>;
23
39
  protected readonly atMax: _angular_core.Signal<boolean>;
24
40
  protected readonly stepperClass: _angular_core.Signal<string>;
25
41
  inc(): void;
26
42
  dec(): void;
43
+ writeValue(value: number | null): void;
44
+ protected onFocusOut(event: FocusEvent): void;
27
45
  protected setRaw(raw: string): void;
28
46
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberStepperComponent, never>;
29
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberStepperComponent, "ds-number-stepper", 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; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
47
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberStepperComponent, "ds-number-stepper", 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; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
30
48
  }
31
49
 
32
50
  export { NumberStepperComponent };
@@ -32,6 +32,7 @@ declare class PaginationComponent {
32
32
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
33
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
34
34
  private readonly rescueFocus;
35
+ constructor();
35
36
  protected readonly navClass: _angular_core.Signal<string>;
36
37
  protected readonly empty: _angular_core.Signal<boolean>;
37
38
  protected readonly totalPages: _angular_core.Signal<number>;