@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
@@ -0,0 +1,31 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
+
4
+ /**
5
+ * Fades an item in as it is created, `--stagger-step` later than the item before it, so a list
6
+ * fills in one item after another:
7
+ *
8
+ * ```html
9
+ * @for (row of rows(); track row.id) {
10
+ * <li [dsReveal]="revealing()" [dsRevealIndex]="$index">{{ row.title }}</li>
11
+ * }
12
+ * ```
13
+ *
14
+ * `dsRevealIndex` is the item's place in its list; items past `--stagger-max` (7) start together
15
+ * with the last one. The fade runs over `--duration-base` with `--ease-standard`.
16
+ *
17
+ * Only the value of `dsReveal` when the item is created counts: bind `false` once the list has
18
+ * filled in, and an item added later appears at once. A bare `dsReveal` is `true`. Under
19
+ * `prefers-reduced-motion: reduce` and on the server it does nothing.
20
+ */
21
+ declare class RevealDirective implements OnInit {
22
+ readonly dsReveal: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
+ readonly dsRevealIndex: _angular_core.InputSignal<number>;
24
+ protected readonly revealing: _angular_core.WritableSignal<boolean>;
25
+ ngOnInit(): void;
26
+ protected onAnimationEnd(event: AnimationEvent): void;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RevealDirective, never>;
28
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RevealDirective, "[dsReveal]", never, { "dsReveal": { "alias": "dsReveal"; "required": false; "isSignal": true; }; "dsRevealIndex": { "alias": "dsRevealIndex"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
+ }
30
+
31
+ export { RevealDirective };
@@ -69,8 +69,8 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
69
69
  readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
70
70
  /** Fades every mark but the one under the pointer; on a scatter this hides pile-ups. */
71
71
  readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
- /** Anywhere over the plot answers with the nearest point, ringed and tethered to the pointer. Off,
73
- * a point answers only within 16 CSS pixels of its centre, without the ring and tether. */
72
+ /** Anywhere over the plot answers with the nearest point, ringed. Off, a point answers only
73
+ * within 16 CSS pixels of its centre, without the ring. */
74
74
  readonly showNearestPoint: _angular_core.InputSignalWithTransform<boolean, unknown>;
75
75
  /** How far the pointer may be from a point's centre, in CSS pixels and inclusive, for the point to
76
76
  * answer under `showNearestPoint`; `null` sets no limit. */
@@ -146,22 +146,16 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
146
146
  protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
147
147
  constructor();
148
148
  private hoveredIndex;
149
- /** Whether the pointer is over the plot; the tether runs from it to the ring. */
150
- protected readonly pointerOverPlot: _angular_core.WritableSignal<boolean>;
151
149
  /** The answered point, which the ring circles. */
152
150
  protected readonly ringedMark: _angular_core.Signal<PlacedPoint>;
153
151
  private readonly canvasElement;
154
152
  private readonly ringElement;
155
- private readonly tetherElement;
156
153
  private readonly zone;
157
- private pointerAt;
158
154
  private ringAt;
159
155
  private stopRingGlide;
160
156
  private readonly listenForPointer;
161
157
  private readonly glideRing;
162
- private readonly drawTether;
163
158
  private placeRing;
164
- private placeTether;
165
159
  private onCanvasPointer;
166
160
  private onCanvasLeave;
167
161
  private nearestMark;
@@ -30,6 +30,9 @@ declare class SearchComponent implements ControlValueAccessor {
30
30
  /** Control height; falls back to `DS_CONFIG.control.size`, then `'md'`. */
31
31
  readonly size: _angular_core.InputSignal<DsSize | null>;
32
32
  readonly sizeResolved: _angular_core.Signal<DsSize>;
33
+ /** A search is running: a band sweeps along the bottom edge and the input reports `aria-busy`.
34
+ * The text stays editable. */
35
+ readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
36
  /** Fires with the current value on Enter. */
34
37
  readonly submitted: _angular_core.OutputEmitterRef<string>;
35
38
  /** Milliseconds to hold each keystroke back before `value` updates; 0 (default) writes on every keystroke.
@@ -61,7 +64,7 @@ declare class SearchComponent implements ControlValueAccessor {
61
64
  protected markTouched(): void;
62
65
  private cancel;
63
66
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchComponent, never>;
64
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchComponent, "ds-search", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "shortcut": { "alias": "shortcut"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; }, never, never, true, never>;
67
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchComponent, "ds-search", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "shortcut": { "alias": "shortcut"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; }, never, never, true, never>;
65
68
  }
66
69
 
67
70
  export { SearchComponent };
@@ -33,6 +33,9 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
33
33
  protected readonly changedShown: _angular_core.Signal<boolean>;
34
34
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
35
35
  private readonly buttons;
36
+ private readonly track;
37
+ protected readonly thumbPlaced: _angular_core.WritableSignal<boolean>;
38
+ constructor();
36
39
  protected readonly focusableValue: _angular_core.Signal<string | null>;
37
40
  protected select(option: SegmentedOption): void;
38
41
  protected onKeydown(event: KeyboardEvent, index: number): void;
@@ -1,87 +1,16 @@
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';
1
+ import { NavAlertItem, NavFooterComponent, NavSearchProvider, NavSearchResult } from '@ids-group-ltd/ids-design-system/components/nav-footer';
2
+ export { NavAlertItem, NavFooterComponent, NavSearchProvider, NavSearchResult } from '@ids-group-ltd/ids-design-system/components/nav-footer';
4
3
 
5
- /**
6
- * A notification rendered in the sidenav Alerts popover.
7
- */
8
- interface SidenavAlertItem {
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 sidenav Search popover, produced by a
22
- * {@link SidenavSearchProvider}.
23
- */
24
- interface SidenavSearchResult {
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 SidenavSearchProvider = (query: string) => readonly SidenavSearchResult[];
40
-
41
- interface SearchGroup {
42
- group: string;
43
- items: SidenavSearchResult[];
44
- }
45
- /**
46
- * Bottom block of the app sidenav: 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 SidenavFooterComponent {
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<SidenavSearchProvider | 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 SidenavAlertItem[] | 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: SidenavSearchProvider): SearchGroup[];
77
- protected goResult(result: SidenavSearchResult): void;
78
- /** Activate the top result (Enter key). Returns whether a result was opened. */
79
- protected goFirst(provider: SidenavSearchProvider): boolean;
80
- protected goAlert(alert: SidenavAlertItem): void;
81
- protected goProfile(): void;
82
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavFooterComponent, never>;
83
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavFooterComponent, "ds-sidenav-footer", never, { "userName": { "alias": "userName"; "required": false; "isSignal": true; }; "userRole": { "alias": "userRole"; "required": false; "isSignal": true; }; "alerts": { "alias": "alerts"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchProvider": { "alias": "searchProvider"; "required": false; "isSignal": true; }; "alertItems": { "alias": "alertItems"; "required": false; "isSignal": true; }; "profileRoute": { "alias": "profileRoute"; "required": false; "isSignal": true; }; }, { "collapseToggled": "collapseToggled"; "alertsOpened": "alertsOpened"; "signOutSelected": "signOutSelected"; }, never, never, true, never>;
84
- }
4
+ /** @deprecated Use `NavFooterComponent` and `<ds-nav-footer>`. Removed 10 releases after 1.2.0. */
5
+ declare const SidenavFooterComponent: typeof NavFooterComponent;
6
+ /** @deprecated Use `NavFooterComponent` and `<ds-nav-footer>`. Removed 10 releases after 1.2.0. */
7
+ type SidenavFooterComponent = NavFooterComponent;
8
+ /** @deprecated Use `NavAlertItem`. Removed 10 releases after 1.2.0. */
9
+ type SidenavAlertItem = NavAlertItem;
10
+ /** @deprecated Use `NavSearchProvider`. Removed 10 releases after 1.2.0. */
11
+ type SidenavSearchProvider = NavSearchProvider;
12
+ /** @deprecated Use `NavSearchResult`. Removed 10 releases after 1.2.0. */
13
+ type SidenavSearchResult = NavSearchResult;
85
14
 
86
15
  export { SidenavFooterComponent };
87
16
  export type { SidenavAlertItem, SidenavSearchProvider, SidenavSearchResult };
@@ -1,135 +1,25 @@
1
+ import { NavContract, NavComponent, NavGroupComponent, NavItemComponent, NavItemModel } from '@ids-group-ltd/ids-design-system/components/nav';
2
+ export { BrandNameDirective, NAV, NavComponent, NavContract, NavGroupComponent, NavItemComponent, NavItemModel } from '@ids-group-ltd/ids-design-system/components/nav';
1
3
  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
4
 
7
- /**
8
- * Marks projected wordmark markup for `ds-sidenav`: when present, the sidenav
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
- }
5
+ /** @deprecated Use `NavComponent` and `<ds-nav>`. Removed 10 releases after 1.2.0. */
6
+ declare const SidenavComponent: typeof NavComponent;
7
+ /** @deprecated Use `NavComponent` and `<ds-nav>`. Removed 10 releases after 1.2.0. */
8
+ type SidenavComponent = NavComponent;
9
+ /** @deprecated Use `NavGroupComponent` and `<ds-nav-group>`. Removed 10 releases after 1.2.0. */
10
+ declare const SidenavGroupComponent: typeof NavGroupComponent;
11
+ /** @deprecated Use `NavGroupComponent` and `<ds-nav-group>`. Removed 10 releases after 1.2.0. */
12
+ type SidenavGroupComponent = NavGroupComponent;
13
+ /** @deprecated Use `NavItemComponent` and `<ds-nav-item>`. Removed 10 releases after 1.2.0. */
14
+ declare const SidenavItemComponent: typeof NavItemComponent;
15
+ /** @deprecated Use `NavItemComponent` and `<ds-nav-item>`. Removed 10 releases after 1.2.0. */
16
+ type SidenavItemComponent = NavItemComponent;
17
+ /** @deprecated Use `NAV`. Removed 10 releases after 1.2.0. */
18
+ declare const SIDENAV: _angular_core.InjectionToken<NavContract>;
19
+ /** @deprecated Use `NavContract`. Removed 10 releases after 1.2.0. */
20
+ type SidenavContract = NavContract;
21
+ /** @deprecated Use `NavItemModel`. Removed 10 releases after 1.2.0. */
22
+ type SidenavItemModel = NavItemModel;
20
23
 
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; an item can override it. */
25
- readonly rail: () => boolean;
26
- }
27
- declare const SIDENAV: InjectionToken<SidenavContract>;
28
-
29
- declare class SidenavComponent implements SidenavContract {
30
- /** Collapses the rail to icon-only width; read by nested `ds-sidenav-item`/`ds-sidenav-group`. */
31
- readonly collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
32
- /** Whether the ACTIVE item draws its edge marker, for the whole sidenav. An individual
33
- * `ds-sidenav-item` can override it with its own `rail`. */
34
- readonly rail: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
- /** Brand text at the top of the rail (auto letter-mark + name). Unset falls back to
36
- * `DS_CONFIG.brand.name`. Each field resolves on its own: `brand=""` drops the
37
- * wordmark while a configured `logoLetter` still paints its tile. */
38
- readonly brand: _angular_core.InputSignal<string | null>;
39
- /** Letter-mark glyph when it differs from the brand's first letter. Empty = first letter of `brand`;
40
- * unset falls back to `DS_CONFIG.brand.logoLetter`. */
41
- readonly logoLetter: _angular_core.InputSignal<string | null>;
42
- /** Route the brand row links to. Unset leaves the row non-interactive. `RouterLink` is
43
- * instantiated only once this is set, so an app with no router still renders. */
44
- readonly brandRoute: _angular_core.InputSignal<string | readonly unknown[] | null>;
45
- /** Accessible name for the brand link; unset names it "<brand>, home". Ignored
46
- * while `brandRoute` is unset. */
47
- readonly brandLinkLabel: _angular_core.InputSignal<string | null>;
48
- /** Read these, not the inputs: the config default lives here. */
49
- readonly brandName: _angular_core.Signal<string>;
50
- readonly letterGlyph: _angular_core.Signal<string>;
51
- /** Projected `[dsBrandName]` wordmark markup, when the consumer provides one. */
52
- protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
53
- protected readonly hasBrandName: _angular_core.Signal<boolean>;
54
- /** Spread, not `charAt(0)`: that splits an astral character's surrogate pair. */
55
- protected readonly markGlyph: _angular_core.Signal<string>;
56
- protected readonly brandAriaLabel: _angular_core.Signal<string>;
57
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
58
- 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>;
59
- }
60
-
61
- declare class SidenavGroupComponent {
62
- protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
63
- /** Group heading text. */
64
- readonly label: _angular_core.InputSignal<string>;
65
- /** Optional group icon; omit to project custom content via the `[ds-group-icon]` slot instead. */
66
- readonly icon: _angular_core.InputSignal<IconName | null>;
67
- /** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
68
- readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
69
- /** Makes the group a destination as well as a container: the header navigates here and the
70
- * caret becomes a separate control. Unset, the whole header only expands. */
71
- readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
72
- /** Overrides what the group header announces when it is itself a destination. Unset, the page
73
- * the reader is on announces `page` and the section containing it announces `true`. */
74
- readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
75
- /** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
76
- readonly expanded: _angular_core.ModelSignal<boolean>;
77
- /** A header that navigates hands the caret its own button; one that does not is the button. */
78
- private readonly noModifiers;
79
- protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
80
- protected readonly headerNavigates: _angular_core.Signal<boolean>;
81
- protected toggle(): void;
82
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavGroupComponent, never>;
83
- 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; }; "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>;
84
- }
85
-
86
- declare class SidenavItemComponent {
87
- /** Icon shown before the label; omit to project a custom icon via the `[icon]` slot instead. */
88
- readonly icon: _angular_core.InputSignal<IconName | null>;
89
- /** Visible link text; also used as the tooltip/aria-label when the rail is collapsed. */
90
- readonly label: _angular_core.InputSignal<string>;
91
- /** Plain `href` target, used when `routerLink` is not set. */
92
- readonly href: _angular_core.InputSignal<string>;
93
- /** Angular `RouterLink` target, string or array form for dynamic segments. */
94
- readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
95
- /** Applies the active style; also drives `aria-current` when not using `routerLink`. */
96
- readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
97
- /** Overrides what an active item announces. Unset, an exact match announces `page` and a prefix
98
- * match announces `true` ("you are in this section"). */
99
- readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
100
- /** Numeric count shown at the end of the item. */
101
- readonly badge: _angular_core.InputSignal<number | null>;
102
- /** Shows an alert dot alongside the badge. */
103
- readonly hasAlert: _angular_core.InputSignalWithTransform<boolean, unknown>;
104
- /** Disables the item: non-navigable and styled as inactive. */
105
- readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
106
- /** Emitted on click, carrying the `MouseEvent`. On an `href` item, `preventDefault()`
107
- * intercepts navigation; a `routerLink` item navigates regardless (RouterLink ignores
108
- * `defaultPrevented`). */
109
- readonly activate: _angular_core.OutputEmitterRef<MouseEvent>;
110
- /** Whether THIS item draws its edge marker when active. Unset follows the parent `ds-sidenav`, then on. */
111
- readonly rail: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
112
- private readonly sidenav;
113
- private readonly noModifiers;
114
- protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
115
- protected readonly railResolved: _angular_core.Signal<boolean>;
116
- protected onActivate(event: MouseEvent): void;
117
- /** Tooltip text shown when collapsed; empty string suppresses the tooltip when expanded. */
118
- protected readonly collapsedTooltip: _angular_core.Signal<string>;
119
- protected readonly collapsedAriaLabel: _angular_core.Signal<string | null>;
120
- protected readonly linkClasses: _angular_core.Signal<string>;
121
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavItemComponent, never>;
122
- 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; }; "ariaCurrent": { "alias": "ariaCurrent"; "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>;
123
- }
124
-
125
- interface SidenavItemModel {
126
- id: string;
127
- label: string;
128
- href?: string;
129
- active?: boolean;
130
- badge?: number | null;
131
- hasAlert?: boolean;
132
- }
133
-
134
- export { BrandNameDirective, SIDENAV, SidenavComponent, SidenavGroupComponent, SidenavItemComponent };
24
+ export { SIDENAV, SidenavComponent, SidenavGroupComponent, SidenavItemComponent };
135
25
  export type { SidenavContract, SidenavItemModel };
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
3
  import { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';
4
4
 
5
- type SplitButtonVariant = 'primary' | 'outline';
5
+ type SplitButtonVariant = 'primary' | 'outline' | 'surface';
6
6
  interface SplitButtonItem {
7
7
  label: string;
8
8
  value?: string;
@@ -2,6 +2,10 @@ import * as _angular_core from '@angular/core';
2
2
 
3
3
  declare class StatComponent {
4
4
  constructor();
5
+ private readonly host;
6
+ private current;
7
+ protected readonly shownValue: _angular_core.WritableSignal<string | number | null>;
8
+ private rollDuration;
5
9
  /** Metric name shown above the value. */
6
10
  readonly label: _angular_core.InputSignal<string>;
7
11
  /** Headline metric; `unit` is appended directly after it. Optional: `[dsStatValue]` projects any content in its place.
@@ -19,13 +23,18 @@ declare class StatComponent {
19
23
  readonly unit: _angular_core.InputSignal<string>;
20
24
  /** `error` applies the error color treatment. */
21
25
  readonly variant: _angular_core.InputSignal<"default" | "error">;
26
+ /** When a numeric `value` changes to another number, the shown number counts to it over
27
+ * `--duration-slowest` instead of switching at once. The first value shows without motion.
28
+ * Unset falls back to `DS_CONFIG.stat.animateValue`, then `false`. */
29
+ readonly animateValue: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
30
+ readonly animateValueResolved: _angular_core.Signal<boolean>;
22
31
  /** Controls the stat's overall type scale. */
23
32
  readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
24
33
  protected readonly deltaClasses: _angular_core.Signal<string>;
25
34
  protected readonly deltaIcon: _angular_core.Signal<"arrowUp" | "arrowDown" | null>;
26
35
  protected readonly deltaText: _angular_core.Signal<string>;
27
36
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatComponent, never>;
28
- 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>;
37
+ 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; }; "animateValue": { "alias": "animateValue"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[dsStatValue]", "[delta]"], true, never>;
29
38
  }
30
39
 
31
40
  export { StatComponent };
@@ -65,6 +65,7 @@ declare class TabsComponent {
65
65
  protected readonly canScrollPrevious: _angular_core.WritableSignal<boolean>;
66
66
  protected readonly canScrollNext: _angular_core.WritableSignal<boolean>;
67
67
  protected readonly tabs: _angular_core.Signal<readonly TabComponent[]>;
68
+ private readonly indicatorPlaced;
68
69
  private readonly injector;
69
70
  private router;
70
71
  private route;
@@ -44,7 +44,7 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
44
44
  readonly minRows: _angular_core.InputSignal<number | null>;
45
45
  /** Maximum height in lines when `autosize`, beyond which it scrolls. */
46
46
  readonly maxRows: _angular_core.InputSignal<number | null>;
47
- /** Native CSS `resize` behaviour - ignored when `autosize`. */
47
+ /** Native CSS `resize` behaviour - ignored when `autosize`, disabled or read-only. */
48
48
  readonly resize: _angular_core.InputSignal<TextareaResize>;
49
49
  /** Accessible name when no visible `label` is provided. */
50
50
  readonly ariaLabel: _angular_core.InputSignal<string | null>;
@@ -40,7 +40,9 @@ declare class TimelineItemComponent {
40
40
  protected readonly detailsId: string;
41
41
  protected readonly isFirst: _angular_core.Signal<boolean>;
42
42
  protected readonly isLast: _angular_core.Signal<boolean>;
43
- protected readonly nodeIcon: _angular_core.Signal<IconName | null>;
43
+ protected readonly nodeIcons: _angular_core.Signal<readonly IconName[]>;
44
+ protected readonly settled: _angular_core.WritableSignal<boolean>;
45
+ constructor();
44
46
  private readonly wording;
45
47
  protected readonly statusLabel: _angular_core.Signal<string>;
46
48
  protected readonly detailsLabel: _angular_core.Signal<string>;
@@ -1,13 +1,25 @@
1
- import * as _angular_core from '@angular/core';
2
1
  import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
3
2
  import { IconName, DsToastPosition } from '@ids-group-ltd/ids-design-system/core';
4
3
  export { DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition } from '@ids-group-ltd/ids-design-system/core';
4
+ import * as _angular_core from '@angular/core';
5
5
 
6
6
  type ToastVariant = 'info' | 'success' | 'warning' | 'error' | 'loading';
7
7
  interface ToastAction {
8
8
  readonly label: string;
9
9
  readonly handler: () => void;
10
10
  }
11
+ /** An icon button between the text action and the close button. `label` is its accessible
12
+ * name and its tooltip. It closes the toast after `handler` unless `keepOpen` or `successLabel`
13
+ * is set. With `successLabel`, the icon turns into a check for 1.2 s once `handler` has
14
+ * finished (a returned promise resolved; a rejected one shows nothing) and `successLabel` is
15
+ * announced politely; the toast stays open. */
16
+ interface ToastIconAction {
17
+ readonly icon: IconName;
18
+ readonly label: string;
19
+ readonly handler: () => void | Promise<unknown>;
20
+ readonly keepOpen?: boolean;
21
+ readonly successLabel?: string;
22
+ }
11
23
  interface ToastOptions {
12
24
  readonly title?: string;
13
25
  readonly body: string;
@@ -15,6 +27,7 @@ interface ToastOptions {
15
27
  readonly dismissible?: boolean;
16
28
  readonly durationMs?: number;
17
29
  readonly action?: ToastAction;
30
+ readonly iconAction?: ToastIconAction;
18
31
  /** Under `provideDsConfig({ toast: { groupDuplicates: true } })`, toasts with the same key
19
32
  * fold into one `×N` stack whatever their text. Unset, the key is `variant`, `title` and
20
33
  * `body`. Ignored while `groupDuplicates` is off. */
@@ -36,7 +49,7 @@ interface ToastRef {
36
49
  /** Changes the toast in place, on screen or queued; does nothing once it is dismissed or
37
50
  * expired. A screen reader hears the change only when `variant` turns `success` or `error`.
38
51
  * `durationMs` restarts the countdown; leaving `loading` without one counts down the `show()`
39
- * default, 5000 ms. A `loading` toast, or one with an `action`, never expires and stays
52
+ * default, 5000 ms. A `loading` toast, or one with an `action` or an `iconAction`, never expires and stays
40
53
  * dismissible. */
41
54
  update(patch: ToastUpdate): void;
42
55
  }
@@ -47,6 +60,7 @@ interface ToastEntry {
47
60
  readonly variant: ToastVariant;
48
61
  readonly dismissible: boolean;
49
62
  readonly action?: ToastAction;
63
+ readonly iconAction?: ToastIconAction;
50
64
  /** Auto-dismiss delay, counted from when the toast becomes VISIBLE. `0` or negative never expires. */
51
65
  readonly durationMs: number;
52
66
  /** Set only under `groupDuplicates`, on a toast that can fold. */
@@ -114,6 +128,7 @@ declare class ToastRegionComponent {
114
128
  private readonly leaveTimers;
115
129
  private readonly remaining;
116
130
  private readonly startedAt;
131
+ private slidePending;
117
132
  private hovered;
118
133
  private focusWithin;
119
134
  private focusOrigin;
@@ -139,7 +154,7 @@ declare class ToastRegionComponent {
139
154
  private resumeAll;
140
155
  /** Replaces fields of a visible or queued toast in place. Patching `durationMs`
141
156
  * restarts the clock; on a QUEUED toast it takes effect on promotion. */
142
- update(id: number, patch: Partial<Pick<ToastEntry, 'body' | 'title' | 'variant' | 'dismissible' | 'action' | 'durationMs' | 'occurrences' | 'groupKey'>>): void;
157
+ update(id: number, patch: Partial<Pick<ToastEntry, 'body' | 'title' | 'variant' | 'dismissible' | 'action' | 'iconAction' | 'durationMs' | 'occurrences' | 'groupKey'>>): void;
143
158
  /** The visible or queued toast with this id; one already leaving is gone. */
144
159
  entryFor(id: number): ToastEntry | undefined;
145
160
  /** The visible or queued toast a repeat with this `groupKey` folds into; one already leaving
@@ -174,15 +189,20 @@ declare class ToastComponent {
174
189
  readonly icon: _angular_core.InputSignal<IconName | null>;
175
190
  /** Optional action button rendered before the dismiss control. */
176
191
  readonly action: _angular_core.InputSignal<ToastAction | null>;
192
+ /** Optional icon button between the action and the dismiss control, named and tooltipped by its `label`. */
193
+ readonly iconAction: _angular_core.InputSignal<ToastIconAction | null>;
177
194
  /** Every call folded into this toast; two or more draw a `×N` stack that lists them. */
178
195
  readonly occurrences: _angular_core.InputSignal<readonly ToastOccurrence[]>;
179
- /** Fires when the toast is dismissed or its action is invoked. */
196
+ /** Fires when the toast is dismissed, its action is invoked, or its icon action is invoked without `keepOpen` or `successLabel`. */
180
197
  readonly closed: _angular_core.OutputEmitterRef<void>;
181
198
  /** Fires with an occurrence's `id` when its own close button in the list is pressed. */
182
199
  readonly occurrenceClosed: _angular_core.OutputEmitterRef<number>;
183
200
  protected readonly count: _angular_core.Signal<number>;
184
201
  protected readonly stacked: _angular_core.Signal<boolean>;
185
202
  protected readonly expanded: _angular_core.WritableSignal<boolean>;
203
+ protected readonly iconSucceeded: _angular_core.WritableSignal<boolean>;
204
+ private readonly announcer;
205
+ private iconSuccessTimer;
186
206
  protected readonly toastIntl: _angular_core.Signal<{
187
207
  region: string;
188
208
  showAll: string;
@@ -194,15 +214,16 @@ declare class ToastComponent {
194
214
  protected readonly isLoading: _angular_core.Signal<boolean>;
195
215
  constructor();
196
216
  protected onAction(action: ToastAction): void;
217
+ protected onIconAction(action: ToastIconAction): Promise<void>;
197
218
  protected readonly classes: _angular_core.Signal<string>;
198
219
  protected readonly defaultIcon: _angular_core.Signal<IconName>;
199
220
  protected formatTime(at: number): string;
200
221
  protected onDismiss(): void;
201
222
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastComponent, never>;
202
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastComponent, "ds-toast", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "occurrences": { "alias": "occurrences"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "occurrenceClosed": "occurrenceClosed"; }, never, ["*", "[actions]"], true, never>;
223
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastComponent, "ds-toast", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "iconAction": { "alias": "iconAction"; "required": false; "isSignal": true; }; "occurrences": { "alias": "occurrences"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "occurrenceClosed": "occurrenceClosed"; }, never, ["*", "[actions]"], true, never>;
203
224
  }
204
225
 
205
226
  declare const DS_TOAST_POSITION_DEFAULT: DsToastPosition;
206
227
 
207
228
  export { DS_TOAST_POSITION_DEFAULT, ToastComponent, ToastRegionComponent, ToastService };
208
- export type { ToastAction, ToastEntry, ToastOccurrence, ToastOptions, ToastPromiseMessages, ToastRef, ToastUpdate, ToastVariant };
229
+ export type { ToastAction, ToastEntry, ToastIconAction, ToastOccurrence, ToastOptions, ToastPromiseMessages, ToastRef, ToastUpdate, ToastVariant };