@ids-group-ltd/ids-design-system 1.1.0 → 1.1.2
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.
- package/CHANGELOG.md +289 -0
- package/agent/INDEX.md +1 -1
- package/agent/feedback/ds-alert.md +3 -2
- package/agent/feedback/ds-chat-message.md +3 -3
- package/agent/feedback/ds-chat-step.md +1 -1
- package/agent/feedback/ds-chat-steps.md +1 -1
- package/agent/feedback/ds-chat-thread.md +2 -2
- package/agent/feedback/ds-empty-state.md +2 -1
- package/agent/feedback/ds-tree.md +4 -2
- package/agent/forms/ds-chat-input.md +3 -3
- package/agent/foundations/tokens.md +2 -2
- package/agent/navigation/ds-splitter.md +1 -1
- package/components.md +22 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +184 -72
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +14 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +23 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs +116 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +4 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +84 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +33 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.11.2.json +1 -0
- package/migrations/1.0.1.json +4 -0
- package/migrations/1.0.2.json +9 -1
- package/migrations/1.1.0.json +25 -0
- package/migrations/1.1.1.json +190 -0
- package/migrations/1.1.2.json +135 -0
- package/migrations/README.md +9 -7
- package/package.json +4 -1
- package/schematics/check-overrides/surface.json +29 -3
- package/stylelint/index.mjs +17 -3
- package/stylelint/known-tokens.mjs +139 -0
- package/stylelint/report.mjs +185 -0
- package/stylelint/tokens.mjs +160 -0
- package/stylelint/use-tokens.mjs +397 -0
- package/styles/_check-box.scss +2 -2
- package/styles/_dropdown-overlay.scss +5 -2
- package/styles/_field-box.scss +2 -2
- package/styles/_tokens.scss +8 -0
- package/themes/README.md +1 -1
- package/themes/_semantic.scss +13 -0
- package/themes/dark/_theme.scss +15 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +58 -5
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +7 -2
- package/types/ids-group-ltd-ids-design-system-components-splitter.d.ts +15 -1
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +57 -3
- package/types/ids-group-ltd-ids-design-system-components.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +40 -0
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
|
@@ -24,9 +24,12 @@ interface ChatStepsContract {
|
|
|
24
24
|
readonly firstStep: Signal<object | undefined>;
|
|
25
25
|
/** The step that draws no gap below it. */
|
|
26
26
|
readonly lastStep: Signal<object | undefined>;
|
|
27
|
+
/** Milliseconds from now before a step that settles now may show it, given when it began running. */
|
|
28
|
+
settleDelay(runningSince: number): number;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
type ChatMessageRole = 'user' | 'assistant';
|
|
31
|
+
type ChatMessageRole = 'user' | 'assistant' | 'system';
|
|
32
|
+
type ChatMessageTone = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
30
33
|
type ChatMessageStatus = 'sending' | 'sent' | 'failed';
|
|
31
34
|
type ChatStepsEnter = 'together' | 'stagger';
|
|
32
35
|
type ChatStepStatus = 'done' | 'running' | 'pending' | 'waiting' | 'error';
|
|
@@ -40,6 +43,15 @@ type ChatStepStatus = 'done' | 'running' | 'pending' | 'waiting' | 'error';
|
|
|
40
43
|
declare class ChatMessageComponent {
|
|
41
44
|
/** Who wrote it: `'user'` draws a filled bubble on the right, `'assistant'` a subtle one on the left. */
|
|
42
45
|
readonly role: _angular_core.InputSignal<ChatMessageRole>;
|
|
46
|
+
/** What a `'system'` notice means. `'neutral'` is a quiet one-line plaque for a routine note
|
|
47
|
+
* (saved, switched, started); `'info'`, `'success'`, `'warning'` and `'error'` draw a card in that
|
|
48
|
+
* status colour with its icon, for a note the reader should not miss. Other roles ignore it. */
|
|
49
|
+
readonly tone: _angular_core.InputSignal<ChatMessageTone>;
|
|
50
|
+
/** A bold first line of a `'system'` notice, for one that carries a detail under it. */
|
|
51
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
52
|
+
/** Icon at the start of a `'system'` notice. A toned notice shows its tone's icon without it; a
|
|
53
|
+
* `'neutral'` one shows none. */
|
|
54
|
+
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
43
55
|
/** Name shown above the bubble. Without it the role is spoken (`DS_INTL.chat.user` / `assistant`). */
|
|
44
56
|
readonly author: _angular_core.InputSignal<string>;
|
|
45
57
|
/** Time label, already formatted, shown under the bubble. In a `ds-chat-thread` only the last message
|
|
@@ -83,6 +95,7 @@ declare class ChatMessageComponent {
|
|
|
83
95
|
protected readonly wording: _angular_core.Signal<{
|
|
84
96
|
user: string;
|
|
85
97
|
assistant: string;
|
|
98
|
+
system: string;
|
|
86
99
|
thread: string;
|
|
87
100
|
working: string;
|
|
88
101
|
newMessages: (count: number) => string;
|
|
@@ -103,6 +116,7 @@ declare class ChatMessageComponent {
|
|
|
103
116
|
stepFailed: string;
|
|
104
117
|
stepDetails: (heading: string) => string;
|
|
105
118
|
}>;
|
|
119
|
+
protected readonly noticeIcon: _angular_core.Signal<IconName | null>;
|
|
106
120
|
protected readonly speaker: _angular_core.Signal<string>;
|
|
107
121
|
private readonly host;
|
|
108
122
|
constructor();
|
|
@@ -111,7 +125,7 @@ declare class ChatMessageComponent {
|
|
|
111
125
|
private growIn;
|
|
112
126
|
private applyFold;
|
|
113
127
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatMessageComponent, never>;
|
|
114
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageComponent, "ds-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "author": { "alias": "author"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "sentAt": { "alias": "sentAt"; "required": false; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "stepsFolded": { "alias": "stepsFolded"; "required": false; "isSignal": true; }; }, { "stepsFolded": "stepsFoldedChange"; "retry": "retry"; }, ["stepList", "steps", "stepElements"], ["[steps]", "*", "[attachments]", "[actions]"], true, never>;
|
|
128
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageComponent, "ds-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "author": { "alias": "author"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "sentAt": { "alias": "sentAt"; "required": false; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "stepsFolded": { "alias": "stepsFolded"; "required": false; "isSignal": true; }; }, { "stepsFolded": "stepsFoldedChange"; "retry": "retry"; }, ["stepList", "steps", "stepElements"], ["[steps]", "*", "[attachments]", "[actions]"], true, never>;
|
|
115
129
|
}
|
|
116
130
|
|
|
117
131
|
/**
|
|
@@ -219,8 +233,17 @@ declare class ChatStepsComponent {
|
|
|
219
233
|
readonly firstStep: _angular_core.Signal<object | undefined>;
|
|
220
234
|
/** The step that draws no gap below it. */
|
|
221
235
|
readonly lastStep: _angular_core.Signal<object | undefined>;
|
|
236
|
+
/** Shortest time a step shows as running before its final status, even when it finishes at once;
|
|
237
|
+
* `0` shows the final status at once. */
|
|
238
|
+
readonly minRunningMs: _angular_core.InputSignal<number>;
|
|
239
|
+
/** Shortest gap between two steps showing their final status, so steps that finish together
|
|
240
|
+
* settle one after another; `0` lets them settle together. */
|
|
241
|
+
readonly revealStaggerMs: _angular_core.InputSignal<number>;
|
|
242
|
+
private lastSettle;
|
|
243
|
+
/** @internal */
|
|
244
|
+
settleDelay(runningSince: number): number;
|
|
222
245
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatStepsComponent, never>;
|
|
223
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepsComponent, "ds-chat-steps", never, { "enter": { "alias": "enter"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
246
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepsComponent, "ds-chat-steps", never, { "enter": { "alias": "enter"; "required": false; "isSignal": true; }; "minRunningMs": { "alias": "minRunningMs"; "required": false; "isSignal": true; }; "revealStaggerMs": { "alias": "revealStaggerMs"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
224
247
|
}
|
|
225
248
|
|
|
226
249
|
/**
|
|
@@ -240,6 +263,12 @@ declare class ChatStepComponent {
|
|
|
240
263
|
private readonly intl;
|
|
241
264
|
protected readonly steps: ChatStepsContract | null;
|
|
242
265
|
protected readonly detailsId: string;
|
|
266
|
+
/** The status on screen: `status`, held back while `ds-chat-steps` paces an instant finish. */
|
|
267
|
+
protected readonly shownStatus: _angular_core.WritableSignal<ChatStepStatus | null>;
|
|
268
|
+
private runningSince;
|
|
269
|
+
private settleTimer;
|
|
270
|
+
constructor();
|
|
271
|
+
private show;
|
|
243
272
|
protected readonly isFirst: _angular_core.Signal<boolean>;
|
|
244
273
|
protected readonly isLast: _angular_core.Signal<boolean>;
|
|
245
274
|
protected readonly nodeIcon: _angular_core.Signal<IconName | null>;
|
|
@@ -252,6 +281,7 @@ declare class ChatStepComponent {
|
|
|
252
281
|
}
|
|
253
282
|
|
|
254
283
|
type ChatInputLayout = 'status-bar' | 'status-above' | 'split' | 'send-outside' | 'toolbar';
|
|
284
|
+
type ChatInputBusyAction = 'stop' | 'queue';
|
|
255
285
|
|
|
256
286
|
/**
|
|
257
287
|
* Message box for a chat or an instruction: an auto-growing text area with chips above it, actions
|
|
@@ -277,6 +307,13 @@ declare class ChatInputComponent {
|
|
|
277
307
|
/** Work in flight: the send button keeps its place, shows a spinner and refuses to submit, and
|
|
278
308
|
* Enter does not submit. The text area stays editable. */
|
|
279
309
|
readonly busy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
310
|
+
/** While `busy`, the default send button becomes Stop: a square inside a turning ring that emits
|
|
311
|
+
* `stopRequested`. */
|
|
312
|
+
readonly stoppable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
313
|
+
/** What the default buttons offer while `busy` once text is typed. `'stop'`: the send button stays
|
|
314
|
+
* Stop (or the spinner). `'queue'`: Redirect, Stop (with `stoppable`) and Queue, left to right;
|
|
315
|
+
* Queue is the main button and Enter queues. With no text it is Stop again. */
|
|
316
|
+
readonly busyAction: _angular_core.InputSignal<ChatInputBusyAction>;
|
|
280
317
|
/** The current step while `busy`, such as "Rebuilding"; where it shows follows `layout`. */
|
|
281
318
|
readonly busyLabel: _angular_core.InputSignal<string>;
|
|
282
319
|
/** Where the buttons and the step text sit. `'status-bar'`: buttons inside, the step text in the
|
|
@@ -288,6 +325,12 @@ declare class ChatInputComponent {
|
|
|
288
325
|
/** The trimmed text, on Enter or the send button. Never fires for blank text, while `busy` or
|
|
289
326
|
* while `disabled`. */
|
|
290
327
|
readonly submitted: _angular_core.OutputEmitterRef<string>;
|
|
328
|
+
/** The Stop button was pressed; fires only while `busy`, `stoppable` and not `disabled`. */
|
|
329
|
+
readonly stopRequested: _angular_core.OutputEmitterRef<void>;
|
|
330
|
+
/** The trimmed text, on Enter or the Queue button; fires only while the Queue button shows. */
|
|
331
|
+
readonly queued: _angular_core.OutputEmitterRef<string>;
|
|
332
|
+
/** The trimmed text, on the Redirect button; fires only while the Queue button shows. */
|
|
333
|
+
readonly redirected: _angular_core.OutputEmitterRef<string>;
|
|
291
334
|
/** Image files pasted into the text area. The paste inserts no text when it carries images. */
|
|
292
335
|
readonly filesPasted: _angular_core.OutputEmitterRef<File[]>;
|
|
293
336
|
/** True when Enter or the send button would submit; bind it in a `[send]` slot. */
|
|
@@ -295,16 +338,26 @@ declare class ChatInputComponent {
|
|
|
295
338
|
private readonly labels;
|
|
296
339
|
protected readonly textareaLabel: _angular_core.Signal<string>;
|
|
297
340
|
protected readonly sendLabel: _angular_core.Signal<string>;
|
|
341
|
+
protected readonly stopLabel: _angular_core.Signal<string>;
|
|
342
|
+
protected readonly queueLabel: _angular_core.Signal<string>;
|
|
343
|
+
protected readonly redirectLabel: _angular_core.Signal<string>;
|
|
344
|
+
protected readonly queueShown: _angular_core.Signal<boolean>;
|
|
345
|
+
protected readonly stopShown: _angular_core.Signal<boolean>;
|
|
346
|
+
protected readonly mainLabel: _angular_core.Signal<string>;
|
|
347
|
+
protected readonly mainIcon: _angular_core.Signal<"stop" | "list-plus" | "arrowUp">;
|
|
298
348
|
protected readonly statusAbove: _angular_core.Signal<boolean>;
|
|
299
349
|
protected readonly statusText: _angular_core.Signal<string>;
|
|
300
350
|
/** Emits `submitted` when `canSubmit`; for a send button rendered in the `[send]` slot. */
|
|
301
351
|
submit(): void;
|
|
352
|
+
private queue;
|
|
353
|
+
protected redirect(): void;
|
|
354
|
+
protected onSendPressed(): void;
|
|
302
355
|
/** Moves keyboard focus to the text area. */
|
|
303
356
|
focus(options?: FocusOptions): void;
|
|
304
357
|
protected onKeydown(event: KeyboardEvent): void;
|
|
305
358
|
protected onPaste(event: ClipboardEvent): void;
|
|
306
359
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatInputComponent, never>;
|
|
307
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
|
|
360
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "stoppable": { "alias": "stoppable"; "required": false; "isSignal": true; }; "busyAction": { "alias": "busyAction"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "stopRequested": "stopRequested"; "queued": "queued"; "redirected": "redirected"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
|
|
308
361
|
}
|
|
309
362
|
|
|
310
363
|
type AttachmentKind = 'pdf' | 'doc' | 'image' | 'file';
|
|
@@ -337,4 +390,4 @@ declare class AttachmentComponent {
|
|
|
337
390
|
}
|
|
338
391
|
|
|
339
392
|
export { AttachmentComponent, ChatAttachmentComponent, ChatInputComponent, ChatMessageComponent, ChatStepComponent, ChatStepsComponent, ChatThreadComponent };
|
|
340
|
-
export type { AttachmentKind, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatStepStatus, ChatStepsEnter };
|
|
393
|
+
export type { AttachmentKind, ChatInputBusyAction, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepStatus, ChatStepsEnter };
|
|
@@ -3,6 +3,7 @@ import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
|
3
3
|
|
|
4
4
|
type EmptyStateVariant = 'none' | 'loading' | 'error' | 'locked' | 'success';
|
|
5
5
|
type EmptyStateTitleOverflow = 'wrap' | 'clip';
|
|
6
|
+
type EmptyStateAppearance = 'tile' | 'plain';
|
|
6
7
|
|
|
7
8
|
declare class EmptyStateComponent {
|
|
8
9
|
/** Drives the default icon; `'loading'` shows a loading overlay. */
|
|
@@ -16,11 +17,15 @@ declare class EmptyStateComponent {
|
|
|
16
17
|
readonly titleOverflow: _angular_core.InputSignal<EmptyStateTitleOverflow>;
|
|
17
18
|
/** Optional supporting text below the title. */
|
|
18
19
|
readonly body: _angular_core.InputSignal<string>;
|
|
20
|
+
/** `'tile'` draws the icon on a tinted tile under a bold title; `'plain'` draws a 32px icon with
|
|
21
|
+
* no tile, a semibold `--font-size-l` title and the body in `--text-tertiary`, for an empty
|
|
22
|
+
* section inside a page rather than an empty page. */
|
|
23
|
+
readonly appearance: _angular_core.InputSignal<EmptyStateAppearance>;
|
|
19
24
|
protected readonly classes: _angular_core.Signal<string>;
|
|
20
25
|
protected readonly resolvedIcon: _angular_core.Signal<IconName>;
|
|
21
26
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
22
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleOverflow": { "alias": "titleOverflow"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
|
|
27
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleOverflow": { "alias": "titleOverflow"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
export { EmptyStateComponent };
|
|
26
|
-
export type { EmptyStateTitleOverflow, EmptyStateVariant };
|
|
31
|
+
export type { EmptyStateAppearance, EmptyStateTitleOverflow, EmptyStateVariant };
|
|
@@ -21,6 +21,8 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
private readonly document;
|
|
22
22
|
private readonly zone;
|
|
23
23
|
private readonly handle;
|
|
24
|
+
private readonly fogStart;
|
|
25
|
+
private readonly fogEnd;
|
|
24
26
|
/** `'horizontal'`: panes side by side. `'vertical'`: panes stacked. */
|
|
25
27
|
readonly orientation: _angular_core.InputSignal<SplitterOrientation>;
|
|
26
28
|
/** The pane `size` measures; the other pane takes the rest. */
|
|
@@ -40,6 +42,10 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
40
42
|
/** Dragged past `min` or `max`: `'elastic'` follows the pointer with growing resistance and springs
|
|
41
43
|
* back on release, `'none'` stops at the limit. Off under `prefers-reduced-motion: reduce`. */
|
|
42
44
|
readonly overdrag: _angular_core.InputSignal<SplitterOverdrag>;
|
|
45
|
+
/** While dragging, shades the pane the handle moves towards, stronger the faster and farther the drag;
|
|
46
|
+
* the shade rides the rubber band past a limit and fades when the hand stops or lets go. Colour:
|
|
47
|
+
* `--ds-splitter-fog-color`. Off under `prefers-reduced-motion: reduce`. */
|
|
48
|
+
readonly dragFog: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
49
|
protected readonly startId: string;
|
|
44
50
|
protected readonly endId: string;
|
|
45
51
|
protected readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
@@ -52,6 +58,7 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
52
58
|
private pendingMove;
|
|
53
59
|
private frame;
|
|
54
60
|
private springTimer;
|
|
61
|
+
private fogTimer;
|
|
55
62
|
constructor();
|
|
56
63
|
ngOnInit(): void;
|
|
57
64
|
ngOnDestroy(): void;
|
|
@@ -59,16 +66,23 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
59
66
|
private readonly onPointerMove;
|
|
60
67
|
private applyMove;
|
|
61
68
|
private stretch;
|
|
69
|
+
private shade;
|
|
70
|
+
private sideOf;
|
|
71
|
+
private clearFog;
|
|
72
|
+
private syncFogTransforms;
|
|
62
73
|
private movingParts;
|
|
63
74
|
private clearTransforms;
|
|
64
75
|
private stopSpring;
|
|
65
76
|
private springBack;
|
|
66
77
|
protected onPointerUp(event: PointerEvent): void;
|
|
78
|
+
private readonly finishDrag;
|
|
79
|
+
private readonly onWindowBlur;
|
|
67
80
|
protected onKeydown(event: KeyboardEvent): void;
|
|
68
81
|
protected reset(): void;
|
|
69
82
|
private commit;
|
|
70
83
|
private endDrag;
|
|
71
84
|
private storageKey;
|
|
85
|
+
private alongAxis;
|
|
72
86
|
private fromPaneEdge;
|
|
73
87
|
private clamp;
|
|
74
88
|
private clampToBox;
|
|
@@ -76,7 +90,7 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
76
90
|
private panesBox;
|
|
77
91
|
private cursorFor;
|
|
78
92
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SplitterComponent, never>;
|
|
79
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitterComponent, "ds-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "pane": { "alias": "pane"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "persistKey": { "alias": "persistKey"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "overdrag": { "alias": "overdrag"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; }, never, ["[start]", "[end]"], true, never>;
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitterComponent, "ds-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "pane": { "alias": "pane"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "persistKey": { "alias": "persistKey"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "overdrag": { "alias": "overdrag"; "required": false; "isSignal": true; }; "dragFog": { "alias": "dragFog"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; }, never, ["[start]", "[end]"], true, never>;
|
|
80
94
|
}
|
|
81
95
|
|
|
82
96
|
export { SplitterComponent };
|
|
@@ -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;
|
|
@@ -10,6 +10,42 @@ interface TreeNode {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
}
|
|
12
12
|
type TreeSelection = 'single' | 'multiple';
|
|
13
|
+
type TreeToggleOn = 'row' | 'caret' | 'doubleClick';
|
|
14
|
+
|
|
15
|
+
/** What a `dsTreeLabel` template is handed: the row's node, its nesting level (`0` for a root
|
|
16
|
+
* node) and whether the row is selected and disabled. */
|
|
17
|
+
interface TreeLabelContext {
|
|
18
|
+
readonly $implicit: TreeNode;
|
|
19
|
+
readonly node: TreeNode;
|
|
20
|
+
readonly level: number;
|
|
21
|
+
readonly selected: boolean;
|
|
22
|
+
readonly disabled: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Content drawn in place of a `ds-tree` row's label, for a label of more than one line or one
|
|
26
|
+
* that mixes styles.
|
|
27
|
+
*
|
|
28
|
+
* ```html
|
|
29
|
+
* <ds-tree [nodes]="layers">
|
|
30
|
+
* <ng-template dsTreeLabel let-node>
|
|
31
|
+
* <span class="tag">{{ tags[node.id] }}</span>
|
|
32
|
+
* <span class="text">{{ node.label }}</span>
|
|
33
|
+
* </ng-template>
|
|
34
|
+
* </ds-tree>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* The row grows to the template's height and the label takes the width between the icon and
|
|
38
|
+
* the trailing content, so an element inside it can cut its text with an ellipsis. The text the
|
|
39
|
+
* template renders is the row's accessible name; a template that draws no text needs a
|
|
40
|
+
* visually hidden element with the name in it. A click inside it selects the row as a click on
|
|
41
|
+
* the default label does.
|
|
42
|
+
*/
|
|
43
|
+
declare class TreeLabelDirective {
|
|
44
|
+
readonly template: TemplateRef<TreeLabelContext>;
|
|
45
|
+
static ngTemplateContextGuard(_directive: TreeLabelDirective, _context: unknown): _context is TreeLabelContext;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeLabelDirective, never>;
|
|
47
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeLabelDirective, "ng-template[dsTreeLabel]", never, {}, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
13
49
|
|
|
14
50
|
/** What a `dsTreeTrailing` template is handed: the row's node, as `$implicit` and again as `node`. */
|
|
15
51
|
interface TreeTrailingContext {
|
|
@@ -46,6 +82,7 @@ interface VisibleNode {
|
|
|
46
82
|
}
|
|
47
83
|
declare class TreeComponent {
|
|
48
84
|
private readonly host;
|
|
85
|
+
private readonly intl;
|
|
49
86
|
/** Root-level nodes; nest via `children`. */
|
|
50
87
|
readonly nodes: _angular_core.InputSignal<readonly TreeNode[]>;
|
|
51
88
|
/** Ids of the expanded nodes. */
|
|
@@ -56,15 +93,30 @@ declare class TreeComponent {
|
|
|
56
93
|
readonly selectedId: _angular_core.ModelSignal<string | null>;
|
|
57
94
|
/** Ids of the selected nodes, in `'multiple'` selection. */
|
|
58
95
|
readonly selectedIds: _angular_core.ModelSignal<string[]>;
|
|
96
|
+
/** What expands and collapses a parent. `'row'`: activating the row (click, Enter, Space) selects
|
|
97
|
+
* it and toggles it. `'caret'`: activating the row only selects it, and the chevron is a button of
|
|
98
|
+
* its own that toggles. `'doubleClick'`: a click selects, a double click toggles. In every mode
|
|
99
|
+
* ArrowRight expands and ArrowLeft collapses the focused row. */
|
|
100
|
+
readonly toggleOn: _angular_core.InputSignal<TreeToggleOn>;
|
|
101
|
+
/** Rows slide open and shut and the chevron turns when a parent expands or collapses. Off under
|
|
102
|
+
* `prefers-reduced-motion: reduce`. */
|
|
103
|
+
readonly animate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
104
|
/** Fires with the node when a row is selected (click or Enter/Space), not when one is deselected. */
|
|
60
105
|
readonly nodeSelected: _angular_core.OutputEmitterRef<TreeNode>;
|
|
61
106
|
/** Fires with the node under the pointer or newly focused, and `null` when the pointer leaves the tree. */
|
|
62
107
|
readonly nodeHover: _angular_core.OutputEmitterRef<TreeNode | null>;
|
|
108
|
+
protected readonly label: _angular_core.Signal<TreeLabelDirective | undefined>;
|
|
63
109
|
protected readonly trailing: _angular_core.Signal<TreeTrailingDirective | undefined>;
|
|
64
110
|
protected readonly idPrefix: string;
|
|
65
111
|
private readonly activeId;
|
|
66
112
|
private hoveredId;
|
|
113
|
+
private readonly rendered;
|
|
114
|
+
protected readonly motion: _angular_core.Signal<boolean>;
|
|
67
115
|
protected readonly multiple: _angular_core.Signal<boolean>;
|
|
116
|
+
protected readonly labels: _angular_core.Signal<{
|
|
117
|
+
expand: (label: string) => string;
|
|
118
|
+
collapse: (label: string) => string;
|
|
119
|
+
}>;
|
|
68
120
|
protected readonly visibleNodes: _angular_core.Signal<VisibleNode[]>;
|
|
69
121
|
protected readonly effectiveActiveId: _angular_core.Signal<string>;
|
|
70
122
|
constructor();
|
|
@@ -72,6 +124,8 @@ declare class TreeComponent {
|
|
|
72
124
|
protected isSelected(id: string): boolean;
|
|
73
125
|
protected isActive(id: string): boolean;
|
|
74
126
|
protected onRowClick(entry: VisibleNode, event: MouseEvent): void;
|
|
127
|
+
protected onRowDoubleClick(entry: VisibleNode, event: MouseEvent): void;
|
|
128
|
+
protected onCaretClick(entry: VisibleNode, event: MouseEvent): void;
|
|
75
129
|
protected onRowFocus(entry: VisibleNode): void;
|
|
76
130
|
protected hover(node: TreeNode | null): void;
|
|
77
131
|
protected onKeydown(event: KeyboardEvent): void;
|
|
@@ -83,8 +137,8 @@ declare class TreeComponent {
|
|
|
83
137
|
private fromTrailing;
|
|
84
138
|
private parkTrailingTabStops;
|
|
85
139
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
86
|
-
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"; }, ["trailing"], never, true, never>;
|
|
140
|
+
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; }; "toggleOn": { "alias": "toggleOn"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; }, { "expandedIds": "expandedIdsChange"; "selectedId": "selectedIdChange"; "selectedIds": "selectedIdsChange"; "nodeSelected": "nodeSelected"; "nodeHover": "nodeHover"; }, ["label", "trailing"], never, true, never>;
|
|
87
141
|
}
|
|
88
142
|
|
|
89
|
-
export { TreeComponent, TreeTrailingDirective };
|
|
90
|
-
export type { TreeNode, TreeSelection, TreeTrailingContext };
|
|
143
|
+
export { TreeComponent, TreeLabelDirective, TreeTrailingDirective };
|
|
144
|
+
export type { TreeLabelContext, TreeNode, TreeSelection, TreeToggleOn, 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
|
-
/**
|
|
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:
|
|
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,30 @@ 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
|
+
readonly 'outline-blocks': "<g stroke-dasharray=\"3 2\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"7\" rx=\"1.5\" /><rect x=\"3\" y=\"14\" width=\"7.5\" height=\"6\" rx=\"1.5\" /><rect x=\"13.5\" y=\"14\" width=\"7.5\" height=\"6\" rx=\"1.5\" /></g>";
|
|
191
|
+
/*! @license The twelve icons below, mouse-pointer to list-plus, are from Lucide (ISC).
|
|
192
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
|
|
193
|
+
* All other copyright (c) for Lucide are held by Lucide Contributors 2022.
|
|
194
|
+
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without
|
|
195
|
+
* fee is hereby granted, provided that the above copyright notice and this permission notice appear
|
|
196
|
+
* in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
197
|
+
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
|
|
198
|
+
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
|
|
199
|
+
* ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
|
200
|
+
* CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
201
|
+
* PERFORMANCE OF THIS SOFTWARE. */
|
|
202
|
+
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\" />";
|
|
203
|
+
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\" />";
|
|
204
|
+
readonly columns: "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M12 3v18\" />";
|
|
205
|
+
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\" />";
|
|
206
|
+
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\" />";
|
|
207
|
+
readonly 'panel-right': "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M15 3v18\" />";
|
|
208
|
+
readonly 'square-dashed': "<path d=\"M5 3a2 2 0 0 0-2 2\" /><path d=\"M19 3a2 2 0 0 1 2 2\" /><path d=\"M21 19a2 2 0 0 1-2 2\" /><path d=\"M5 21a2 2 0 0 1-2-2\" /><path d=\"M9 3h1\" /><path d=\"M9 21h1\" /><path d=\"M14 3h1\" /><path d=\"M14 21h1\" /><path d=\"M3 9v1\" /><path d=\"M21 9v1\" /><path d=\"M3 14v1\" /><path d=\"M21 14v1\" />";
|
|
209
|
+
readonly 'map-pin': "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" />";
|
|
210
|
+
readonly maximize: "<path d=\"M15 3h6v6\" /><path d=\"m21 3-7 7\" /><path d=\"m3 21 7-7\" /><path d=\"M9 21H3v-6\" />";
|
|
211
|
+
readonly minimize: "<path d=\"m14 10 7-7\" /><path d=\"M20 10h-6V4\" /><path d=\"m3 21 7-7\" /><path d=\"M4 14h6v6\" />";
|
|
212
|
+
readonly send: "<path d=\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z\" /><path d=\"m21.854 2.147-10.94 10.939\" />";
|
|
213
|
+
readonly 'list-plus': "<path d=\"M11 12H3\" /><path d=\"M16 6H3\" /><path d=\"M16 18H3\" /><path d=\"M18 9v6\" /><path d=\"M21 12h-6\" />";
|
|
189
214
|
};
|
|
190
215
|
/** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
|
|
191
216
|
* type widens to `string` so a custom name is accepted, without autocomplete. */
|
|
@@ -642,6 +667,12 @@ interface DsIntl {
|
|
|
642
667
|
readonly label?: string;
|
|
643
668
|
/** `'Send'` - its default send button. */
|
|
644
669
|
readonly send?: string;
|
|
670
|
+
/** `'Stop'` - the default send button while `busy` and `stoppable`. */
|
|
671
|
+
readonly stop?: string;
|
|
672
|
+
/** `'Queue'` - the default send button while `busy`, with `busyAction="queue"` and text typed. */
|
|
673
|
+
readonly queue?: string;
|
|
674
|
+
/** `'Redirect now'` - the button beside Queue that sends the text to the agent at once. */
|
|
675
|
+
readonly redirect?: string;
|
|
645
676
|
};
|
|
646
677
|
readonly spinner: {
|
|
647
678
|
readonly label: string;
|
|
@@ -706,6 +737,8 @@ interface DsIntl {
|
|
|
706
737
|
readonly user?: string;
|
|
707
738
|
/** `'Assistant'` - the same for `role="assistant"`. */
|
|
708
739
|
readonly assistant?: string;
|
|
740
|
+
/** `'Notice'` - the same for `role="system"`. */
|
|
741
|
+
readonly system?: string;
|
|
709
742
|
/** `'Conversation'` - accessible name of the `ds-chat-thread` scroll area when `ariaLabel` is unset. */
|
|
710
743
|
readonly thread?: string;
|
|
711
744
|
/** `'Assistant is working'` - the working row when `workingLabel` is empty. */
|
|
@@ -746,6 +779,12 @@ interface DsIntl {
|
|
|
746
779
|
/** `` `Details: ${heading}` `` - the toggle of a step's `[details]` area; `'Details'` without a heading. */
|
|
747
780
|
readonly stepDetails?: (heading: string) => string;
|
|
748
781
|
};
|
|
782
|
+
readonly tree?: {
|
|
783
|
+
/** `` `Expand ${label}` `` - the caret button of a collapsed row under `toggleOn="caret"`. */
|
|
784
|
+
readonly expand?: (label: string) => string;
|
|
785
|
+
/** `` `Collapse ${label}` `` - the same button on an expanded row. */
|
|
786
|
+
readonly collapse?: (label: string) => string;
|
|
787
|
+
};
|
|
749
788
|
readonly tabs: {
|
|
750
789
|
readonly close: (label: string) => string;
|
|
751
790
|
};
|
|
@@ -913,6 +952,7 @@ declare const DS_INTL_DEFAULTS: DsIntl & {
|
|
|
913
952
|
readonly chatInput: Required<NonNullable<DsIntl['chatInput']>>;
|
|
914
953
|
readonly attachment: Required<NonNullable<DsIntl['attachment']>>;
|
|
915
954
|
readonly chat: Required<NonNullable<DsIntl['chat']>>;
|
|
955
|
+
readonly tree: Required<NonNullable<DsIntl['tree']>>;
|
|
916
956
|
};
|
|
917
957
|
|
|
918
958
|
/**
|
|
@@ -19,7 +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, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
|
|
22
|
+
export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputBusyAction, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
|
|
23
23
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
24
24
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
25
25
|
export { ColumnChartComponent, ColumnChartPoint, ColumnChartSeries } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
@@ -29,7 +29,7 @@ export { DescriptionItemComponent, DescriptionListComponent, DescriptionListOrie
|
|
|
29
29
|
export { DividerComponent, DividerSpacing, DividerVariant } from '@ids-group-ltd/ids-design-system/components/divider';
|
|
30
30
|
export { DrawerComponent, DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';
|
|
31
31
|
export { DropzoneComponent, DropzoneFile, DropzoneFileState } from '@ids-group-ltd/ids-design-system/components/dropzone';
|
|
32
|
-
export { EmptyStateComponent, EmptyStateTitleOverflow, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
32
|
+
export { EmptyStateAppearance, EmptyStateComponent, EmptyStateTitleOverflow, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
33
33
|
export { DS_FIELD_GROUP, DsFieldGroupContext, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
34
34
|
export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
|
|
35
35
|
export { FunnelChartComponent, FunnelChartDrop, FunnelChartShape, FunnelChartStage } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
|
|
@@ -85,7 +85,7 @@ export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition,
|
|
|
85
85
|
export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
|
|
86
86
|
export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
87
87
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
88
|
-
export { TreeComponent, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
88
|
+
export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeToggleOn, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
89
89
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
90
90
|
export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
|
|
91
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';
|