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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +423 -3
  2. package/agent/INDEX.md +12 -2
  3. package/agent/feedback/ds-alert.md +3 -2
  4. package/agent/feedback/ds-attachment.md +12 -0
  5. package/agent/feedback/ds-chat-attachment.md +10 -0
  6. package/agent/feedback/ds-chat-message.md +11 -0
  7. package/agent/feedback/ds-chat-step.md +10 -0
  8. package/agent/feedback/ds-chat-steps.md +10 -0
  9. package/agent/feedback/ds-chat-thread.md +11 -0
  10. package/agent/feedback/ds-timeline-item.md +3 -1
  11. package/agent/feedback/ds-timeline.md +9 -0
  12. package/agent/feedback/ds-toast.md +1 -1
  13. package/agent/feedback/ds-tree.md +3 -1
  14. package/agent/forms/ds-chat-input.md +16 -0
  15. package/agent/forms/ds-inline-edit.md +14 -0
  16. package/agent/foundations/tokens.md +3 -3
  17. package/agent/navigation/ds-splitter.md +14 -0
  18. package/agent/platform/toast-service.md +3 -2
  19. package/agent/tables/ds-table.md +1 -1
  20. package/components.md +110 -11
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +5 -3
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +928 -0
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -0
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs +107 -0
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs.map +1 -0
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +16 -12
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs +465 -0
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs.map +1 -0
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +4 -2
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +74 -17
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +163 -20
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +4 -19
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +182 -24
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -4
  80. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +74 -0
  82. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -2
  84. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system.mjs +4 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  87. package/migrations/0.11.2.json +1 -0
  88. package/migrations/1.0.1.json +4 -0
  89. package/migrations/1.0.2.json +37 -1
  90. package/migrations/1.1.0.json +208 -0
  91. package/migrations/1.1.1.json +190 -0
  92. package/migrations/README.md +6 -6
  93. package/package.json +25 -1
  94. package/schematics/check-overrides/surface.json +199 -6
  95. package/styles/_dropdown-overlay.scss +11 -6
  96. package/styles/_field-box.scss +2 -2
  97. package/styles/_step-marker.scss +51 -0
  98. package/styles/_tokens.scss +5 -3
  99. package/themes/README.md +2 -1
  100. package/themes/_semantic.scss +15 -0
  101. package/themes/dark/_palette.scss +1 -2
  102. package/themes/dark/_theme.scss +32 -3
  103. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +3 -1
  104. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
  105. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +1 -1
  106. package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +377 -0
  107. package/types/ids-group-ltd-ids-design-system-components-inline-edit.d.ts +43 -0
  108. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
  109. package/types/ids-group-ltd-ids-design-system-components-splitter.d.ts +97 -0
  110. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
  111. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +34 -5
  112. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +53 -4
  113. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +87 -7
  114. package/types/ids-group-ltd-ids-design-system-components.d.ts +8 -4
  115. package/types/ids-group-ltd-ids-design-system-core.d.ts +126 -0
  116. package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
@@ -87,6 +87,8 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
87
87
  protected readonly wrapperClasses: _angular_core.Signal<string>;
88
88
  protected readonly autosizeMinHeight: _angular_core.Signal<string | null>;
89
89
  protected readonly autosizeMaxHeight: _angular_core.Signal<string | null>;
90
+ protected readonly placeholderLineShown: _angular_core.Signal<boolean>;
91
+ protected readonly placeholderRows: _angular_core.Signal<number>;
90
92
  protected readonly effectiveResize: _angular_core.Signal<TextareaResize>;
91
93
  constructor();
92
94
  protected syncOverflowScroll(): void;
@@ -1,24 +1,53 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { Signal } from '@angular/core';
2
3
  import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
4
 
4
5
  declare class TimelineComponent {
6
+ private readonly items;
7
+ /** The item that draws no connector above it. */
8
+ readonly firstItem: _angular_core.Signal<object | undefined>;
9
+ /** The item that draws no connector below it. */
10
+ readonly lastItem: _angular_core.Signal<object | undefined>;
5
11
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineComponent, never>;
6
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineComponent, "ds-timeline", never, {}, {}, never, ["*"], true, never>;
12
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineComponent, "ds-timeline", never, {}, {}, ["items"], ["*"], true, never>;
13
+ }
14
+
15
+ /** Contract that ds-timeline-item reads from its parent ds-timeline. */
16
+ interface TimelineContract {
17
+ /** The item that draws no connector above it. */
18
+ readonly firstItem: Signal<object | undefined>;
19
+ /** The item that draws no connector below it. */
20
+ readonly lastItem: Signal<object | undefined>;
7
21
  }
8
22
 
9
23
  type TimelineTone = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'muted';
24
+ type TimelineStatus = 'done' | 'running' | 'pending' | 'error';
10
25
  declare class TimelineItemComponent {
11
26
  /** Primary text for the entry. */
12
27
  readonly heading: _angular_core.InputSignal<string>;
13
28
  /** Timestamp or date label below the content. */
14
29
  readonly time: _angular_core.InputSignal<string>;
15
- /** Marker icon; omit for a plain dot. */
30
+ /** Marker icon; omit for a plain dot. Ignored while `status` is set. */
16
31
  readonly icon: _angular_core.InputSignal<IconName | null>;
17
- /** Semantic accent color for the marker. */
32
+ /** Semantic accent color for the marker. Ignored while `status` is set. */
18
33
  readonly tone: _angular_core.InputSignal<TimelineTone>;
34
+ /** Step state: draws the marker and is spoken before the heading. `null` leaves `icon` and `tone` in charge. */
35
+ readonly status: _angular_core.InputSignal<TimelineStatus | null>;
36
+ /** Whether the `[details]` area is open, two-way bound. */
37
+ readonly expanded: _angular_core.ModelSignal<boolean>;
38
+ private readonly intl;
39
+ protected readonly timeline: TimelineContract | null;
40
+ protected readonly detailsId: string;
41
+ protected readonly isFirst: _angular_core.Signal<boolean>;
42
+ protected readonly isLast: _angular_core.Signal<boolean>;
43
+ protected readonly nodeIcon: _angular_core.Signal<IconName | null>;
44
+ private readonly wording;
45
+ protected readonly statusLabel: _angular_core.Signal<string>;
46
+ protected readonly detailsLabel: _angular_core.Signal<string>;
47
+ protected toggle(): void;
19
48
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineItemComponent, never>;
20
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineItemComponent, "ds-timeline-item", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
49
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineItemComponent, "ds-timeline-item", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "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>;
21
50
  }
22
51
 
23
52
  export { TimelineComponent, TimelineItemComponent };
24
- export type { TimelineTone };
53
+ export type { TimelineStatus, TimelineTone };
@@ -15,10 +15,30 @@ interface ToastOptions {
15
15
  readonly dismissible?: boolean;
16
16
  readonly durationMs?: number;
17
17
  readonly action?: ToastAction;
18
+ /** Under `provideDsConfig({ toast: { groupDuplicates: true } })`, toasts with the same key
19
+ * fold into one `×N` stack whatever their text. Unset, the key is `variant`, `title` and
20
+ * `body`. Ignored while `groupDuplicates` is off. */
21
+ readonly groupKey?: string;
18
22
  }
23
+ /** One `show()` call folded into a stack. `at` is `Date.now()` at the call. */
24
+ interface ToastOccurrence {
25
+ readonly id: number;
26
+ readonly body: string;
27
+ readonly at: number;
28
+ }
29
+ /** What `ToastRef.update()` can change. A field left out keeps its value. */
30
+ type ToastUpdate = Partial<Pick<ToastOptions, 'title' | 'body' | 'variant' | 'durationMs' | 'dismissible'>>;
31
+ /** A `show()` folded into a stack returns the stack's ref: `id` is the stack's, `dismiss()`
32
+ * closes the whole stack and `update()` changes the stack. */
19
33
  interface ToastRef {
20
34
  readonly id: number;
21
35
  dismiss(): void;
36
+ /** Changes the toast in place, on screen or queued; does nothing once it is dismissed or
37
+ * expired. A screen reader hears the change only when `variant` turns `success` or `error`.
38
+ * `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
40
+ * dismissible. */
41
+ update(patch: ToastUpdate): void;
22
42
  }
23
43
  interface ToastEntry {
24
44
  readonly id: number;
@@ -29,6 +49,10 @@ interface ToastEntry {
29
49
  readonly action?: ToastAction;
30
50
  /** Auto-dismiss delay, counted from when the toast becomes VISIBLE. `0` or negative never expires. */
31
51
  readonly durationMs: number;
52
+ /** Set only under `groupDuplicates`, on a toast that can fold. */
53
+ readonly groupKey?: string;
54
+ /** Every call folded into this toast, oldest first; two or more draw it as a `×N` stack. */
55
+ readonly occurrences?: readonly ToastOccurrence[];
32
56
  }
33
57
  interface ToastPromiseMessages<T = unknown> {
34
58
  readonly loading: string;
@@ -40,15 +64,18 @@ declare class ToastService {
40
64
  private readonly overlay;
41
65
  private readonly toastConfig;
42
66
  private readonly announcer;
67
+ private readonly intl;
43
68
  private overlayRef;
44
69
  private regionRef;
45
70
  private nextId;
46
- private pendingAnnouncements;
71
+ private readonly pendingAnnouncements;
47
72
  private pendingAssertive;
48
73
  private announceTimer;
49
74
  private scrimWatcher;
50
75
  constructor();
51
76
  show(opts: ToastOptions): ToastRef;
77
+ private refFor;
78
+ private updateToast;
52
79
  /** Shows a loading toast for the duration of `source`; resolution and rejection turn the
53
80
  * same toast into a success/error variant with its own auto-dismiss delay.
54
81
  *
@@ -112,7 +139,13 @@ declare class ToastRegionComponent {
112
139
  private resumeAll;
113
140
  /** Replaces fields of a visible or queued toast in place. Patching `durationMs`
114
141
  * restarts the clock; on a QUEUED toast it takes effect on promotion. */
115
- update(id: number, patch: Partial<Pick<ToastEntry, 'body' | 'title' | 'variant' | 'dismissible' | 'action' | 'durationMs'>>): void;
142
+ update(id: number, patch: Partial<Pick<ToastEntry, 'body' | 'title' | 'variant' | 'dismissible' | 'action' | 'durationMs' | 'occurrences' | 'groupKey'>>): void;
143
+ /** The visible or queued toast with this id; one already leaving is gone. */
144
+ entryFor(id: number): ToastEntry | undefined;
145
+ /** The visible or queued toast a repeat with this `groupKey` folds into; one already leaving
146
+ * takes no more. */
147
+ stackFor(key: string): ToastEntry | undefined;
148
+ protected closeOccurrence(entry: ToastEntry, occurrenceId: number): void;
116
149
  remove(id: number): void;
117
150
  /** The leave transition length is a public token, so read it off the node. Reduced
118
151
  * motion zeroes it, so the floor applies only when there is nothing to measure. */
@@ -141,19 +174,35 @@ declare class ToastComponent {
141
174
  readonly icon: _angular_core.InputSignal<IconName | null>;
142
175
  /** Optional action button rendered before the dismiss control. */
143
176
  readonly action: _angular_core.InputSignal<ToastAction | null>;
177
+ /** Every call folded into this toast; two or more draw a `×N` stack that lists them. */
178
+ readonly occurrences: _angular_core.InputSignal<readonly ToastOccurrence[]>;
144
179
  /** Fires when the toast is dismissed or its action is invoked. */
145
180
  readonly closed: _angular_core.OutputEmitterRef<void>;
181
+ /** Fires with an occurrence's `id` when its own close button in the list is pressed. */
182
+ readonly occurrenceClosed: _angular_core.OutputEmitterRef<number>;
183
+ protected readonly count: _angular_core.Signal<number>;
184
+ protected readonly stacked: _angular_core.Signal<boolean>;
185
+ protected readonly expanded: _angular_core.WritableSignal<boolean>;
186
+ protected readonly toastIntl: _angular_core.Signal<{
187
+ region: string;
188
+ showAll: string;
189
+ hide: string;
190
+ dismissAll: string;
191
+ repeated: (message: string, count: number) => string;
192
+ }>;
193
+ private readonly timeFormat;
146
194
  protected readonly isLoading: _angular_core.Signal<boolean>;
147
195
  constructor();
148
196
  protected onAction(action: ToastAction): void;
149
197
  protected readonly classes: _angular_core.Signal<string>;
150
198
  protected readonly defaultIcon: _angular_core.Signal<IconName>;
199
+ protected formatTime(at: number): string;
151
200
  protected onDismiss(): void;
152
201
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastComponent, never>;
153
- 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; }; }, { "closed": "closed"; }, never, ["*", "[actions]"], true, 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>;
154
203
  }
155
204
 
156
205
  declare const DS_TOAST_POSITION_DEFAULT: DsToastPosition;
157
206
 
158
207
  export { DS_TOAST_POSITION_DEFAULT, ToastComponent, ToastRegionComponent, ToastService };
159
- export type { ToastAction, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastVariant };
208
+ export type { ToastAction, ToastEntry, ToastOccurrence, ToastOptions, ToastPromiseMessages, ToastRef, ToastUpdate, ToastVariant };
@@ -1,4 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
2
3
  import { IconName } from '@ids-group-ltd/ids-design-system/core';
3
4
 
4
5
  interface TreeNode {
@@ -8,6 +9,69 @@ interface TreeNode {
8
9
  children?: TreeNode[];
9
10
  disabled?: boolean;
10
11
  }
12
+ type TreeSelection = 'single' | 'multiple';
13
+
14
+ /** What a `dsTreeLabel` template is handed: the row's node, its nesting level (`0` for a root
15
+ * node) and whether the row is selected and disabled. */
16
+ interface TreeLabelContext {
17
+ readonly $implicit: TreeNode;
18
+ readonly node: TreeNode;
19
+ readonly level: number;
20
+ readonly selected: boolean;
21
+ readonly disabled: boolean;
22
+ }
23
+ /**
24
+ * Content drawn in place of a `ds-tree` row's label, for a label of more than one line or one
25
+ * that mixes styles.
26
+ *
27
+ * ```html
28
+ * <ds-tree [nodes]="layers">
29
+ * <ng-template dsTreeLabel let-node>
30
+ * <span class="tag">{{ tags[node.id] }}</span>
31
+ * <span class="text">{{ node.label }}</span>
32
+ * </ng-template>
33
+ * </ds-tree>
34
+ * ```
35
+ *
36
+ * The row grows to the template's height and the label takes the width between the icon and
37
+ * the trailing content, so an element inside it can cut its text with an ellipsis. The text the
38
+ * template renders is the row's accessible name; a template that draws no text needs a
39
+ * visually hidden element with the name in it. A click inside it selects the row as a click on
40
+ * the default label does.
41
+ */
42
+ declare class TreeLabelDirective {
43
+ readonly template: TemplateRef<TreeLabelContext>;
44
+ static ngTemplateContextGuard(_directive: TreeLabelDirective, _context: unknown): _context is TreeLabelContext;
45
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeLabelDirective, never>;
46
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeLabelDirective, "ng-template[dsTreeLabel]", never, {}, {}, never, never, true, never>;
47
+ }
48
+
49
+ /** What a `dsTreeTrailing` template is handed: the row's node, as `$implicit` and again as `node`. */
50
+ interface TreeTrailingContext {
51
+ readonly $implicit: TreeNode;
52
+ readonly node: TreeNode;
53
+ }
54
+ /**
55
+ * Content drawn at the end of every `ds-tree` row: a badge, a count, a small icon button.
56
+ *
57
+ * ```html
58
+ * <ds-tree [nodes]="layers">
59
+ * <ng-template dsTreeTrailing let-node>
60
+ * <ds-badge size="sm">{{ node.id }}</ds-badge>
61
+ * </ng-template>
62
+ * </ds-tree>
63
+ * ```
64
+ *
65
+ * A click inside it neither selects nor toggles the row. Its controls are tab stops only on
66
+ * the focused row: Tab from that row reaches them, and the other rows' controls stay out of
67
+ * the tab order.
68
+ */
69
+ declare class TreeTrailingDirective {
70
+ readonly template: TemplateRef<TreeTrailingContext>;
71
+ static ngTemplateContextGuard(_directive: TreeTrailingDirective, _context: unknown): _context is TreeTrailingContext;
72
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeTrailingDirective, never>;
73
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeTrailingDirective, "ng-template[dsTreeTrailing]", never, {}, {}, never, never, true, never>;
74
+ }
11
75
 
12
76
  interface VisibleNode {
13
77
  node: TreeNode;
@@ -21,26 +85,42 @@ declare class TreeComponent {
21
85
  readonly nodes: _angular_core.InputSignal<readonly TreeNode[]>;
22
86
  /** Ids of the expanded nodes. */
23
87
  readonly expandedIds: _angular_core.ModelSignal<Set<string>>;
24
- /** Id of the selected node. */
88
+ /** `'multiple'` reads and writes `selectedIds`; `'single'` reads and writes `selectedId`. */
89
+ readonly selection: _angular_core.InputSignal<TreeSelection>;
90
+ /** Id of the selected node, in `'single'` selection. */
25
91
  readonly selectedId: _angular_core.ModelSignal<string | null>;
26
- /** Fires with the node when a row is selected (click or Enter/Space). */
92
+ /** Ids of the selected nodes, in `'multiple'` selection. */
93
+ readonly selectedIds: _angular_core.ModelSignal<string[]>;
94
+ /** Fires with the node when a row is selected (click or Enter/Space), not when one is deselected. */
27
95
  readonly nodeSelected: _angular_core.OutputEmitterRef<TreeNode>;
96
+ /** Fires with the node under the pointer or newly focused, and `null` when the pointer leaves the tree. */
97
+ readonly nodeHover: _angular_core.OutputEmitterRef<TreeNode | null>;
98
+ protected readonly label: _angular_core.Signal<TreeLabelDirective | undefined>;
99
+ protected readonly trailing: _angular_core.Signal<TreeTrailingDirective | undefined>;
100
+ protected readonly idPrefix: string;
28
101
  private readonly activeId;
102
+ private hoveredId;
103
+ protected readonly multiple: _angular_core.Signal<boolean>;
29
104
  protected readonly visibleNodes: _angular_core.Signal<VisibleNode[]>;
30
105
  protected readonly effectiveActiveId: _angular_core.Signal<string>;
106
+ constructor();
31
107
  protected isExpanded(id: string): boolean;
32
108
  protected isSelected(id: string): boolean;
33
109
  protected isActive(id: string): boolean;
34
- protected onRowClick(entry: VisibleNode): void;
110
+ protected onRowClick(entry: VisibleNode, event: MouseEvent): void;
111
+ protected onRowFocus(entry: VisibleNode): void;
112
+ protected hover(node: TreeNode | null): void;
35
113
  protected onKeydown(event: KeyboardEvent): void;
114
+ private activate;
36
115
  private toggle;
37
- private select;
38
116
  private moveActive;
39
117
  private moveToParent;
40
118
  private focusNode;
119
+ private fromTrailing;
120
+ private parkTrailingTabStops;
41
121
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
42
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ds-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; }, { "expandedIds": "expandedIdsChange"; "selectedId": "selectedIdChange"; "nodeSelected": "nodeSelected"; }, never, never, true, never>;
122
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ds-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; }, { "expandedIds": "expandedIdsChange"; "selectedId": "selectedIdChange"; "selectedIds": "selectedIdsChange"; "nodeSelected": "nodeSelected"; "nodeHover": "nodeHover"; }, ["label", "trailing"], never, true, never>;
43
123
  }
44
124
 
45
- export { TreeComponent };
46
- export type { TreeNode };
125
+ export { TreeComponent, TreeLabelDirective, TreeTrailingDirective };
126
+ export type { TreeLabelContext, TreeNode, TreeSelection, TreeTrailingContext };
@@ -5,7 +5,7 @@ import { ChartValueFormat, ChartCurve, DsIntl, ChartThreshold, IconName, ChartDa
5
5
  import { ControlValueAccessor } from '@angular/forms';
6
6
  import { FieldMessageState } from '@ids-group-ltd/ids-design-system/components/field-message';
7
7
  import { Params, QueryParamsHandling, UrlTree } from '@angular/router';
8
- import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig } from '@angular/cdk/overlay';
8
+ import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig, ConnectionPositionPair } from '@angular/cdk/overlay';
9
9
 
10
10
  /**
11
11
  * Resolves one brand string against the app-level default. `null` means unset;
@@ -848,10 +848,14 @@ declare function disposeWithLeave(overlayRef: OverlayRef | null | undefined, cau
848
848
  * @internal
849
849
  */
850
850
  declare function forwardOverlayTokens(overlayRef: OverlayRef, host: HTMLElement, tokens: readonly string[]): void;
851
- /** `overlayY` is the panel edge pinned to the trigger, so `top` means the panel hangs BELOW it.
851
+ /** The side of the trigger a connection pair puts the panel on. An axis decides only where the
852
+ * pair pins opposite edges together: a side pair aligning top edges keeps `overlayY: 'top'`.
853
+ * A pair covering the trigger falls back to `overlayY`, so `top` means it hangs BELOW.
852
854
  * @internal
853
855
  */
854
- declare function overlayPlacementOf(overlayY: string, overlayX: string): DsOverlayPlacement;
856
+ declare function overlayPlacementOf({ originX, originY, overlayX, overlayY, }: Pick<ConnectionPositionPair, 'originX' | 'originY' | 'overlayX' | 'overlayY'>): DsOverlayPlacement;
857
+ /** @internal */
858
+ declare function pointArrowAtHost(ref: OverlayRef, panel: HTMLElement, host: HTMLElement): void;
855
859
  /**
856
860
  * Primes a `ds-overlay-pane` for its enter animation. Call right after `overlay.create()`:
857
861
  * CDK positions in `afterNextRender`, so the placement stamp lands before the first painted
@@ -1047,5 +1051,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
1047
1051
  tooltipSwatches: Signal<boolean | "auto">;
1048
1052
  };
1049
1053
 
1050
- export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, fontsLoaded, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
1054
+ export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, fontsLoaded, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointArrowAtHost, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
1051
1055
  export type { BandScale, ChartDimmable, ChartDwell, ChartMotionDelay, ChartMotionTiming, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, RovingMarks, SummaryPoint };
@@ -152,6 +152,7 @@ declare const ICONS: {
152
152
  readonly refresh: "<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />";
153
153
  readonly play: "<path d=\"M6 4l14 8-14 8z\" />";
154
154
  readonly pause: "<path d=\"M7 4v16M17 4v16\" />";
155
+ readonly stop: "<rect x=\"7\" y=\"7\" width=\"10\" height=\"10\" rx=\"1.5\" fill=\"currentColor\" />";
155
156
  readonly cmd: "<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />";
156
157
  readonly paperclip: "<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />";
157
158
  readonly file: "<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />";
@@ -186,6 +187,23 @@ declare const ICONS: {
186
187
  readonly scan: "<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />";
187
188
  readonly wifi: "<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />";
188
189
  readonly 'wifi-off': "<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />";
190
+ /*! @license The six icons below, mouse-pointer to panel-right, are from Lucide (ISC).
191
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
192
+ * All other copyright (c) for Lucide are held by Lucide Contributors 2022.
193
+ * Permission to use, copy, modify, and/or distribute this software for any purpose with or without
194
+ * fee is hereby granted, provided that the above copyright notice and this permission notice appear
195
+ * in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
196
+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
197
+ * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
198
+ * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
199
+ * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
200
+ * PERFORMANCE OF THIS SOFTWARE. */
201
+ readonly 'mouse-pointer': "<path d=\"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z\" />";
202
+ readonly 'pencil-ruler': "<path d=\"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13\" /><path d=\"m8 6 2-2\" /><path d=\"m18 16 2-2\" /><path d=\"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17\" /><path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" /><path d=\"m15 5 4 4\" />";
203
+ readonly columns: "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M12 3v18\" />";
204
+ readonly history: "<path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" /><path d=\"M3 3v5h5\" /><path d=\"M12 7v5l4 2\" />";
205
+ readonly flask: "<path d=\"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2\" /><path d=\"M8.5 2h7\" /><path d=\"M7 16h10\" />";
206
+ readonly 'panel-right': "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M15 3v18\" />";
189
207
  };
190
208
  /** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
191
209
  * type widens to `string` so a custom name is accepted, without autocomplete. */
@@ -284,6 +302,10 @@ interface DsConfig {
284
302
  maxVisible?: number;
285
303
  /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */
286
304
  showQueueCount?: boolean;
305
+ /** Fold a toast whose `variant`, `title` and `body` match one already shown or queued into
306
+ * that toast as a `×N` stack, instead of adding another; `ToastOptions.groupKey` names the
307
+ * group instead. Loading and `promise()` toasts never fold. Default `false`. */
308
+ groupDuplicates?: boolean;
287
309
  /** In dev mode, also show each library warning from the console as a warning toast, once the
288
310
  * app has injected `ToastService`; warnings raised earlier show when it is. Never in a
289
311
  * production build. Default `true`. */
@@ -612,10 +634,48 @@ interface DsIntl {
612
634
  };
613
635
  readonly toast: {
614
636
  readonly region: string;
637
+ /** `'Show all'` - the button that lists each occurrence of a `×N` stack. */
638
+ readonly showAll?: string;
639
+ /** `'Hide'` - the same button while the list is open. */
640
+ readonly hide?: string;
641
+ /** `'Dismiss all'` - the close button of a `×N` stack. */
642
+ readonly dismissAll?: string;
643
+ /** `` `${message}, ${count} times` `` - spoken when a stack grows. */
644
+ readonly repeated?: (message: string, count: number) => string;
645
+ };
646
+ readonly attachment?: {
647
+ /** `` `Remove ${name}` `` - the remove button of a `ds-attachment`. */
648
+ readonly remove?: (name: string) => string;
649
+ /** `'PDF document'` - announced before the second line of `kind="pdf"`. */
650
+ readonly pdf?: string;
651
+ /** `'Word document'` - `kind="doc"`. */
652
+ readonly doc?: string;
653
+ /** `'Image'` - `kind="image"`. */
654
+ readonly image?: string;
655
+ /** `'File'` - `kind="file"`. */
656
+ readonly file?: string;
657
+ };
658
+ readonly chatInput?: {
659
+ /** `'Message'` - accessible name of the `ds-chat-input` text area when `ariaLabel` is unset. */
660
+ readonly label?: string;
661
+ /** `'Send'` - its default send button. */
662
+ readonly send?: string;
663
+ /** `'Stop'` - the default send button while `busy` and `stoppable`. */
664
+ readonly stop?: string;
615
665
  };
616
666
  readonly spinner: {
617
667
  readonly label: string;
618
668
  };
669
+ readonly splitter?: {
670
+ /** `'Resize panes'` - accessible name of the `ds-splitter` handle when `ariaLabel` is unset. */
671
+ readonly label?: string;
672
+ };
673
+ readonly inlineEdit?: {
674
+ /** `'Rename'` - the tooltip of the `ds-inline-edit` text, and its name when `ariaLabel` is unset. */
675
+ readonly rename?: string;
676
+ /** `'Saved'` - announced once a changed value is saved. */
677
+ readonly saved?: string;
678
+ };
619
679
  readonly breadcrumbs: {
620
680
  readonly label: string;
621
681
  };
@@ -649,6 +709,65 @@ interface DsIntl {
649
709
  readonly label: string;
650
710
  readonly step: (position: number, label: string, state: DsIntlStepState) => string;
651
711
  };
712
+ readonly timeline?: {
713
+ /** `'Done'` - spoken before the heading of a `ds-timeline-item` with `status="done"`. */
714
+ readonly done?: string;
715
+ /** `'In progress'` - `status="running"`. */
716
+ readonly running?: string;
717
+ /** `'Not started'` - `status="pending"`. */
718
+ readonly pending?: string;
719
+ /** `'Failed'` - `status="error"`. */
720
+ readonly error?: string;
721
+ /** `` `Details: ${heading}` `` - the toggle of the `[details]` area; `'Details'` without a heading. */
722
+ readonly details?: (heading: string) => string;
723
+ };
724
+ readonly chat?: {
725
+ /** `'You'` - spoken before a `ds-chat-message` with `role="user"` and no `author`. */
726
+ readonly user?: string;
727
+ /** `'Assistant'` - the same for `role="assistant"`. */
728
+ readonly assistant?: string;
729
+ /** `'Notice'` - the same for `role="system"`. */
730
+ readonly system?: string;
731
+ /** `'Conversation'` - accessible name of the `ds-chat-thread` scroll area when `ariaLabel` is unset. */
732
+ readonly thread?: string;
733
+ /** `'Assistant is working'` - the working row when `workingLabel` is empty. */
734
+ readonly working?: string;
735
+ /** `` `${count} new messages` `` (`'1 new message'`) - the jump button while messages arrived
736
+ * below the scrolled-up view. */
737
+ readonly newMessages?: (count: number) => string;
738
+ /** `'Jump to latest'` - the jump button while nothing new arrived. */
739
+ readonly latest?: string;
740
+ /** `'Today'` - the time divider of a message sent today, before its time. */
741
+ readonly today?: string;
742
+ /** `'Yesterday'` - the same for a message sent yesterday. */
743
+ readonly yesterday?: string;
744
+ /** `'Sending'` - under a message with `status="sending"`. */
745
+ readonly sending?: string;
746
+ /** `'Sent'` - spoken, not shown, for a message with `status="sent"`. */
747
+ readonly sent?: string;
748
+ /** `'Not sent'` - under a message with `status="failed"`. */
749
+ readonly notSent?: string;
750
+ /** `'Retry'` - the button beside it. */
751
+ readonly retry?: string;
752
+ /** `` `${count} steps` `` (`'1 step'`) - the chip a message's folded steps turn into. */
753
+ readonly steps?: (count: number) => string;
754
+ /** `` `${count} failed` `` - beside it, when some of those steps failed. */
755
+ readonly stepsFailed?: (count: number) => string;
756
+ /** `` `Steps folded, ${count}` ``, then `` `, ${failed} failed` `` - the chip's accessible name. */
757
+ readonly stepsFolded?: (count: number, failed: number) => string;
758
+ /** `'Done'` - spoken before the heading of a `ds-chat-step` with `status="done"`. */
759
+ readonly stepDone?: string;
760
+ /** `'In progress'` - `status="running"`. */
761
+ readonly stepRunning?: string;
762
+ /** `'Not started'` - `status="pending"`. */
763
+ readonly stepPending?: string;
764
+ /** `'Waiting for your approval'` - `status="waiting"`. */
765
+ readonly stepWaiting?: string;
766
+ /** `'Failed'` - `status="error"`. */
767
+ readonly stepFailed?: string;
768
+ /** `` `Details: ${heading}` `` - the toggle of a step's `[details]` area; `'Details'` without a heading. */
769
+ readonly stepDetails?: (heading: string) => string;
770
+ };
652
771
  readonly tabs: {
653
772
  readonly close: (label: string) => string;
654
773
  };
@@ -809,6 +928,13 @@ declare function provideDsIntl(overrides: DsIntlOverrides | (() => Signal<DsIntl
809
928
  declare const DS_INTL_DEFAULTS: DsIntl & {
810
929
  readonly field: Required<DsIntl['field']>;
811
930
  readonly chart: Required<DsIntl['chart']>;
931
+ readonly toast: Required<DsIntl['toast']>;
932
+ readonly timeline: Required<NonNullable<DsIntl['timeline']>>;
933
+ readonly splitter: Required<NonNullable<DsIntl['splitter']>>;
934
+ readonly inlineEdit: Required<NonNullable<DsIntl['inlineEdit']>>;
935
+ readonly chatInput: Required<NonNullable<DsIntl['chatInput']>>;
936
+ readonly attachment: Required<NonNullable<DsIntl['attachment']>>;
937
+ readonly chat: Required<NonNullable<DsIntl['chat']>>;
812
938
  };
813
939
 
814
940
  /**
@@ -19,6 +19,7 @@ export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartAnnotation, ChartCategory
19
19
  export { ChartDataRow, ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
20
20
  export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
21
21
  export { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
22
+ export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
22
23
  export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
23
24
  export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
24
25
  export { ColumnChartComponent, ColumnChartPoint, ColumnChartSeries } from '@ids-group-ltd/ids-design-system/components/column-chart';
@@ -35,6 +36,7 @@ export { FunnelChartComponent, FunnelChartDrop, FunnelChartShape, FunnelChartSta
35
36
  export { HeatmapChartCell, HeatmapChartComponent, HeatmapChartRow } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';
36
37
  export { IconButtonComponent, IconButtonType, IconButtonVariant } from '@ids-group-ltd/ids-design-system/components/icon-button';
37
38
  export { InfoHintComponent } from '@ids-group-ltd/ids-design-system/components/info-hint';
39
+ export { InlineEditComponent } from '@ids-group-ltd/ids-design-system/components/inline-edit';
38
40
  export { InputComponent, InputType } from '@ids-group-ltd/ids-design-system/components/input';
39
41
  export { ContainerComponent, ContainerSize, InlineComponent, LayoutAlign, LayoutGap, LayoutJustify, StackComponent } from '@ids-group-ltd/ids-design-system/components/layout';
40
42
  export { LineChartAnnotation, LineChartComponent, LineChartReading, LineChartSeries } from '@ids-group-ltd/ids-design-system/components/line-chart';
@@ -65,6 +67,7 @@ export { SliderComponent } from '@ids-group-ltd/ids-design-system/components/sli
65
67
  export { SparklineComponent, SparklineScale } from '@ids-group-ltd/ids-design-system/components/sparkline';
66
68
  export { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';
67
69
  export { SplitButtonComponent, SplitButtonItem, SplitButtonVariant } from '@ids-group-ltd/ids-design-system/components/split-button';
70
+ export { SplitterComponent, SplitterOrientation, SplitterOverdrag, SplitterPane } from '@ids-group-ltd/ids-design-system/components/splitter';
68
71
  export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';
69
72
  export { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';
70
73
  export { StepperComponent, StepperLabelPosition, StepperOrientation } from '@ids-group-ltd/ids-design-system/components/stepper';
@@ -77,12 +80,12 @@ export { TabComponent, TabsComponent, TabsOrientation, TabsVariant } from '@ids-
77
80
  export { TagComponent, TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';
78
81
  export { TextareaComponent, TextareaMaxLengthMode, TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';
79
82
  export { TimeFormat, TimePickerComponent, TimePickerLoop, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue } from '@ids-group-ltd/ids-design-system/components/time-picker';
80
- export { TimelineComponent, TimelineItemComponent, TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';
81
- export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, ToastAction, ToastComponent, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastRegionComponent, ToastService, ToastVariant } from '@ids-group-ltd/ids-design-system/components/toast';
83
+ export { TimelineComponent, TimelineItemComponent, TimelineStatus, TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';
84
+ export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, ToastAction, ToastComponent, ToastEntry, ToastOccurrence, ToastOptions, ToastPromiseMessages, ToastRef, ToastRegionComponent, ToastService, ToastUpdate, ToastVariant } from '@ids-group-ltd/ids-design-system/components/toast';
82
85
  export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
83
86
  export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
84
87
  export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
85
- export { TreeComponent, TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';
88
+ export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
86
89
  export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
87
90
  export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
88
91
  export { AnnounceState, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig, provideDsIntl } from '@ids-group-ltd/ids-design-system/core';