@ids-group-ltd/ids-design-system 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +869 -0
- package/agent/INDEX.md +8 -7
- package/agent/charts/ds-scatter-chart.md +1 -1
- package/agent/feedback/ds-badge.md +2 -2
- package/agent/feedback/ds-chat-message.md +1 -1
- package/agent/feedback/ds-chat-step.md +2 -2
- package/agent/feedback/ds-chat-thread.md +1 -1
- package/agent/feedback/ds-empty-state.md +2 -1
- package/agent/feedback/ds-stat.md +1 -1
- package/agent/feedback/ds-toast.md +2 -2
- package/agent/feedback/ds-tree.md +4 -2
- package/agent/forms/ds-button.md +3 -3
- package/agent/forms/ds-chat-input.md +3 -3
- package/agent/forms/ds-dropzone.md +1 -1
- package/agent/forms/ds-icon-button.md +3 -3
- package/agent/forms/ds-number-stepper.md +3 -3
- package/agent/forms/ds-search.md +1 -1
- package/agent/forms/ds-split-button.md +1 -1
- package/agent/foundations/tokens.md +4 -3
- package/agent/navigation/ds-app-layout.md +1 -1
- package/agent/navigation/ds-nav-divider.md +6 -0
- package/agent/navigation/{ds-sidenav-footer.md → ds-nav-footer.md} +3 -3
- package/agent/navigation/{ds-sidenav-group.md → ds-nav-group.md} +2 -2
- package/agent/navigation/{ds-sidenav-item.md → ds-nav-item.md} +6 -6
- package/agent/navigation/ds-nav.md +15 -0
- package/agent/navigation/ds-splitter.md +1 -1
- package/agent/overlays/ds-drawer.md +1 -1
- package/agent/platform/toast-service.md +1 -1
- package/components/README.md +24 -24
- package/components.md +60 -51
- package/design-system.md +8 -7
- package/eslint/deprecated-api.json +108 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- 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 +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-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-avatar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge-badge-count-roll.component-BDNXADJZ.mjs +182 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge-badge-count-roll.component-BDNXADJZ.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +37 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.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-breadcrumbs.mjs +5 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +76 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- 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-chart-tooltip.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +122 -21
- 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-definition-term.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +65 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +76 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.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-funnel-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.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-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +2 -2
- 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-nav-footer.mjs +113 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-nav-footer.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-nav.mjs +228 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-nav.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +61 -10
- 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-pagination.mjs +36 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +9 -2
- 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-reveal.mjs +56 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-reveal.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +10 -39
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +7 -4
- 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 +33 -6
- 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-sidenav-footer.mjs +4 -98
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +11 -179
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +3 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +68 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.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-tabs.mjs +41 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +6 -4
- 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 +4 -4
- 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 +27 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +54 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.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 +8 -7
- 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 +58 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +153 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +25 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/1.1.1.json +14 -4
- package/migrations/1.1.2.json +143 -0
- package/migrations/1.2.0.json +1433 -0
- package/migrations/README.md +11 -2
- package/package.json +28 -1
- package/schematics/check-overrides/index.cjs +28 -3
- package/schematics/check-overrides/scan.cjs +151 -2
- package/schematics/check-overrides/schema.json +4 -0
- package/schematics/check-overrides/surface.json +397 -73
- package/schematics/collection.json +1 -1
- package/stylelint/deprecated-tokens.json +7 -0
- 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 +6 -5
- package/styles/_dropdown-overlay.scss +6 -8
- package/styles/_ds-color.scss +7 -2
- package/styles/_field-state.scss +4 -2
- package/styles/_focus.scss +12 -5
- package/styles/_link.scss +4 -4
- package/styles/_optical-center.scss +29 -0
- package/styles/_reveal.scss +8 -0
- package/styles/_status.scss +17 -7
- package/styles/_step-marker.scss +192 -6
- package/styles/_surface-level.scss +16 -0
- package/styles/_text-shimmer.scss +21 -0
- package/styles/_theme-activation.scss +17 -4
- package/styles/_tokens.scss +34 -7
- package/styles/ds.scss +1 -0
- package/themes/README.md +16 -21
- package/themes/_semantic.scss +134 -61
- package/themes/dark/_theme.scss +20 -24
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +20 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +14 -3
- package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +67 -6
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +9 -1
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +28 -2
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +7 -2
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +8 -5
- package/types/ids-group-ltd-ids-design-system-components-nav-footer.d.ts +88 -0
- package/types/ids-group-ltd-ids-design-system-components-nav.d.ts +152 -0
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +21 -3
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-reveal.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +2 -8
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +12 -83
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +21 -131
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +27 -6
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +26 -4
- package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -1
- package/types/ids-group-ltd-ids-design-system-core.d.ts +38 -2
- package/types/ids-group-ltd-ids-design-system.d.ts +10 -7
- package/agent/navigation/ds-sidenav.md +0 -13
|
@@ -10,6 +10,7 @@ interface TreeNode {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
}
|
|
12
12
|
type TreeSelection = 'single' | 'multiple';
|
|
13
|
+
type TreeToggleOn = 'row' | 'caret' | 'doubleClick';
|
|
13
14
|
|
|
14
15
|
/** What a `dsTreeLabel` template is handed: the row's node, its nesting level (`0` for a root
|
|
15
16
|
* node) and whether the row is selected and disabled. */
|
|
@@ -46,10 +47,12 @@ declare class TreeLabelDirective {
|
|
|
46
47
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeLabelDirective, "ng-template[dsTreeLabel]", never, {}, {}, never, never, true, never>;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
/** What a `dsTreeTrailing` template is handed: the row's node, as `$implicit` and again as `node
|
|
50
|
+
/** What a `dsTreeTrailing` template is handed: the row's node, as `$implicit` and again as `node`,
|
|
51
|
+
* and whether the row is expanded (`false` for a row without children). */
|
|
50
52
|
interface TreeTrailingContext {
|
|
51
53
|
readonly $implicit: TreeNode;
|
|
52
54
|
readonly node: TreeNode;
|
|
55
|
+
readonly expanded: boolean;
|
|
53
56
|
}
|
|
54
57
|
/**
|
|
55
58
|
* Content drawn at the end of every `ds-tree` row: a badge, a count, a small icon button.
|
|
@@ -62,7 +65,8 @@ interface TreeTrailingContext {
|
|
|
62
65
|
* </ds-tree>
|
|
63
66
|
* ```
|
|
64
67
|
*
|
|
65
|
-
*
|
|
68
|
+
* `let-expanded="expanded"` reads whether the row is open, to show a folder's count only while it
|
|
69
|
+
* is collapsed. A click inside it neither selects nor toggles the row. Its controls are tab stops only on
|
|
66
70
|
* the focused row: Tab from that row reaches them, and the other rows' controls stay out of
|
|
67
71
|
* the tab order.
|
|
68
72
|
*/
|
|
@@ -81,6 +85,7 @@ interface VisibleNode {
|
|
|
81
85
|
}
|
|
82
86
|
declare class TreeComponent {
|
|
83
87
|
private readonly host;
|
|
88
|
+
private readonly intl;
|
|
84
89
|
/** Root-level nodes; nest via `children`. */
|
|
85
90
|
readonly nodes: _angular_core.InputSignal<readonly TreeNode[]>;
|
|
86
91
|
/** Ids of the expanded nodes. */
|
|
@@ -91,6 +96,15 @@ declare class TreeComponent {
|
|
|
91
96
|
readonly selectedId: _angular_core.ModelSignal<string | null>;
|
|
92
97
|
/** Ids of the selected nodes, in `'multiple'` selection. */
|
|
93
98
|
readonly selectedIds: _angular_core.ModelSignal<string[]>;
|
|
99
|
+
/** What expands and collapses a parent. `'row'`: activating the row (click, Enter, Space) selects
|
|
100
|
+
* it and toggles it. `'caret'`: activating the row only selects it, and the chevron is a button of
|
|
101
|
+
* its own that toggles. `'doubleClick'`: a click selects, a double click toggles. In every mode
|
|
102
|
+
* ArrowRight expands and ArrowLeft collapses the focused row. */
|
|
103
|
+
readonly toggleOn: _angular_core.InputSignal<TreeToggleOn>;
|
|
104
|
+
/** Rows slide open and shut and the chevron turns when the user expands or collapses a parent.
|
|
105
|
+
* Rows of the first render, and rows shown or hidden by `nodes` or `expandedIds` set from outside,
|
|
106
|
+
* appear and go at once, and their chevron turns at once. Off under `prefers-reduced-motion: reduce`. */
|
|
107
|
+
readonly animate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
94
108
|
/** Fires with the node when a row is selected (click or Enter/Space), not when one is deselected. */
|
|
95
109
|
readonly nodeSelected: _angular_core.OutputEmitterRef<TreeNode>;
|
|
96
110
|
/** Fires with the node under the pointer or newly focused, and `null` when the pointer leaves the tree. */
|
|
@@ -100,7 +114,13 @@ declare class TreeComponent {
|
|
|
100
114
|
protected readonly idPrefix: string;
|
|
101
115
|
private readonly activeId;
|
|
102
116
|
private hoveredId;
|
|
117
|
+
private readonly toggled;
|
|
118
|
+
protected readonly motion: _angular_core.Signal<boolean>;
|
|
103
119
|
protected readonly multiple: _angular_core.Signal<boolean>;
|
|
120
|
+
protected readonly labels: _angular_core.Signal<{
|
|
121
|
+
expand: (label: string) => string;
|
|
122
|
+
collapse: (label: string) => string;
|
|
123
|
+
}>;
|
|
104
124
|
protected readonly visibleNodes: _angular_core.Signal<VisibleNode[]>;
|
|
105
125
|
protected readonly effectiveActiveId: _angular_core.Signal<string>;
|
|
106
126
|
constructor();
|
|
@@ -108,6 +128,8 @@ declare class TreeComponent {
|
|
|
108
128
|
protected isSelected(id: string): boolean;
|
|
109
129
|
protected isActive(id: string): boolean;
|
|
110
130
|
protected onRowClick(entry: VisibleNode, event: MouseEvent): void;
|
|
131
|
+
protected onRowDoubleClick(entry: VisibleNode, event: MouseEvent): void;
|
|
132
|
+
protected onCaretClick(entry: VisibleNode, event: MouseEvent): void;
|
|
111
133
|
protected onRowFocus(entry: VisibleNode): void;
|
|
112
134
|
protected hover(node: TreeNode | null): void;
|
|
113
135
|
protected onKeydown(event: KeyboardEvent): void;
|
|
@@ -119,8 +141,8 @@ declare class TreeComponent {
|
|
|
119
141
|
private fromTrailing;
|
|
120
142
|
private parkTrailingTabStops;
|
|
121
143
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, 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>;
|
|
144
|
+
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>;
|
|
123
145
|
}
|
|
124
146
|
|
|
125
147
|
export { TreeComponent, TreeLabelDirective, TreeTrailingDirective };
|
|
126
|
-
export type { TreeLabelContext, TreeNode, TreeSelection, TreeTrailingContext };
|
|
148
|
+
export type { TreeLabelContext, TreeNode, TreeSelection, TreeToggleOn, TreeTrailingContext };
|
|
@@ -767,6 +767,31 @@ declare function moveFocusOutOf(leaving: HTMLElement, within: HTMLElement, fallb
|
|
|
767
767
|
*/
|
|
768
768
|
declare function focusRescue(): (target: () => HTMLElement | null | undefined) => void;
|
|
769
769
|
|
|
770
|
+
/**
|
|
771
|
+
* Moves each `ds-icon` inside the host's `.node` marker so its optical centre sits on the marker's centre.
|
|
772
|
+
* @internal
|
|
773
|
+
*/
|
|
774
|
+
declare function centreMarkerGlyphs(host: HTMLElement): void;
|
|
775
|
+
/**
|
|
776
|
+
* Splits each `ds-icon` path inside the host's `.node` marker into one path per stroke and gives every
|
|
777
|
+
* shape `pathLength="1"`, so the marker can draw its glyph stroke by stroke with a dash offset.
|
|
778
|
+
* @internal
|
|
779
|
+
*/
|
|
780
|
+
declare function prepareMarkerStrokes(host: HTMLElement): void;
|
|
781
|
+
/**
|
|
782
|
+
* Reads the running spinner's angle and arc length inside the host's `.node` marker, so the arc that
|
|
783
|
+
* closes in its place goes on from where the spinner is. Call before the spinner leaves the DOM, then
|
|
784
|
+
* `startMarkerArc` once the arc renders.
|
|
785
|
+
* @internal
|
|
786
|
+
*/
|
|
787
|
+
declare function holdMarkerArc(host: HTMLElement): void;
|
|
788
|
+
/**
|
|
789
|
+
* Starts the closing arc at the angle the spinner has turned to since `holdMarkerArc` read it, in the
|
|
790
|
+
* frame the arc first renders.
|
|
791
|
+
* @internal
|
|
792
|
+
*/
|
|
793
|
+
declare function startMarkerArc(host: HTMLElement): void;
|
|
794
|
+
|
|
770
795
|
/** Process-wide counter for SSR-safe control ids (no DOM dependency).
|
|
771
796
|
* @internal
|
|
772
797
|
*/
|
|
@@ -1051,5 +1076,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
|
1051
1076
|
tooltipSwatches: Signal<boolean | "auto">;
|
|
1052
1077
|
};
|
|
1053
1078
|
|
|
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 };
|
|
1079
|
+
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, centreMarkerGlyphs, 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, holdMarkerArc, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointArrowAtHost, prepareMarkerStrokes, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, startMarkerArc, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
|
|
1055
1080
|
export type { BandScale, ChartDimmable, ChartDwell, ChartMotionDelay, ChartMotionTiming, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, RovingMarks, SummaryPoint };
|
|
@@ -117,6 +117,9 @@ declare const ICONS: {
|
|
|
117
117
|
readonly warn: "<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />";
|
|
118
118
|
readonly error: "<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />";
|
|
119
119
|
readonly success: "<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />";
|
|
120
|
+
readonly 'success-filled': "<path transform=\"scale(1.5)\" fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M6.75 9.828 4.826 7.52l-1.152.96 2.5 3a.75.75 0 0 0 1.152 0l5-6-1.152-.96z\" />";
|
|
121
|
+
readonly 'error-filled': "<path transform=\"scale(1.5)\" fill=\"currentColor\" stroke=\"none\" fill-rule=\"evenodd\" d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0m0 10.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-.75-7V9h1.5V3.5z\" />";
|
|
122
|
+
readonly progress: "<circle cx=\"12\" cy=\"12\" r=\"10.5\" stroke-width=\"2.25\" /><path d=\"M12 5.25a6.75 6.75 0 0 1 0 13.5z\" fill=\"currentColor\" stroke=\"none\" />";
|
|
120
123
|
readonly bell: "<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />";
|
|
121
124
|
readonly settings: "<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />";
|
|
122
125
|
readonly user: "<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />";
|
|
@@ -187,7 +190,8 @@ declare const ICONS: {
|
|
|
187
190
|
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\" />";
|
|
188
191
|
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\" />";
|
|
189
192
|
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
|
-
|
|
193
|
+
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>";
|
|
194
|
+
/*! @license The twelve icons below, mouse-pointer to list-plus, are from Lucide (ISC).
|
|
191
195
|
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
|
|
192
196
|
* All other copyright (c) for Lucide are held by Lucide Contributors 2022.
|
|
193
197
|
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without
|
|
@@ -204,6 +208,14 @@ declare const ICONS: {
|
|
|
204
208
|
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
209
|
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
210
|
readonly 'panel-right': "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M15 3v18\" />";
|
|
211
|
+
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\" />";
|
|
212
|
+
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\" />";
|
|
213
|
+
readonly maximize: "<path d=\"M15 3h6v6\" /><path d=\"m21 3-7 7\" /><path d=\"m3 21 7-7\" /><path d=\"M9 21H3v-6\" />";
|
|
214
|
+
readonly minimize: "<path d=\"m14 10 7-7\" /><path d=\"M20 10h-6V4\" /><path d=\"m3 21 7-7\" /><path d=\"M4 14h6v6\" />";
|
|
215
|
+
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\" />";
|
|
216
|
+
readonly 'list-plus': "<path d=\"M11 12H3\" /><path d=\"M16 6H3\" /><path d=\"M16 18H3\" /><path d=\"M18 9v6\" /><path d=\"M21 12h-6\" />";
|
|
217
|
+
readonly 'file-pen': "<path d=\"M11 21H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8l5 5v3\" /><path d=\"M14 3v5h5\" /><path d=\"M18.9 12.6a1.8 1.8 0 0 1 2.6 2.6L15.5 21.2 12 22l.8-3.4z\" />";
|
|
218
|
+
readonly 'ds-mark': "<rect x=\"2\" y=\"2\" width=\"12\" height=\"12\" rx=\"3\" fill=\"#2F54FF\" stroke=\"none\" /><rect x=\"16\" y=\"2\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#22A33A\" stroke=\"none\" /><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"3\" fill=\"#E0BE00\" stroke=\"none\" /><rect x=\"10\" y=\"16\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#D81F1F\" stroke=\"none\" />";
|
|
207
219
|
};
|
|
208
220
|
/** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
|
|
209
221
|
* type widens to `string` so a custom name is accepted, without autocomplete. */
|
|
@@ -272,7 +284,7 @@ interface DsConfig {
|
|
|
272
284
|
initials?: (name: string) => string;
|
|
273
285
|
};
|
|
274
286
|
brand?: {
|
|
275
|
-
/** Brand text for `ds-
|
|
287
|
+
/** Brand text for `ds-nav` and `ds-auth-layout`: the wordmark, and the source of the
|
|
276
288
|
* letter-mark's glyph when `logoLetter` is unset. */
|
|
277
289
|
name?: string;
|
|
278
290
|
/** Letter-mark glyph when it differs from the brand's first character. */
|
|
@@ -356,6 +368,14 @@ interface DsConfig {
|
|
|
356
368
|
badge?: {
|
|
357
369
|
/** Default for `ds-badge`'s `withDot` (the leading status dot). Default `false`. */
|
|
358
370
|
withDot?: boolean;
|
|
371
|
+
/** Default for `ds-badge`'s `animateCount` (the count rolls to a new value). Default `true`;
|
|
372
|
+
* `false` turns it off app-wide, and the roll's code is then never loaded. */
|
|
373
|
+
animateCount?: boolean;
|
|
374
|
+
};
|
|
375
|
+
stat?: {
|
|
376
|
+
/** Default for `ds-stat`'s `animateValue` (a numeric value counts to a new one). Default
|
|
377
|
+
* `false`; `true` turns it on app-wide, and `animateValue="false"` keeps one stat still. */
|
|
378
|
+
animateValue?: boolean;
|
|
359
379
|
};
|
|
360
380
|
chart?: {
|
|
361
381
|
/** Default `dataTable` for every chart. Default `'none'`; `'toggle'` offers the annex everywhere. */
|
|
@@ -662,6 +682,10 @@ interface DsIntl {
|
|
|
662
682
|
readonly send?: string;
|
|
663
683
|
/** `'Stop'` - the default send button while `busy` and `stoppable`. */
|
|
664
684
|
readonly stop?: string;
|
|
685
|
+
/** `'Queue'` - the default send button while `busy`, with `busyAction="queue"` and text typed. */
|
|
686
|
+
readonly queue?: string;
|
|
687
|
+
/** `'Redirect now'` - the button beside Queue that sends the text to the agent at once. */
|
|
688
|
+
readonly redirect?: string;
|
|
665
689
|
};
|
|
666
690
|
readonly spinner: {
|
|
667
691
|
readonly label: string;
|
|
@@ -767,6 +791,17 @@ interface DsIntl {
|
|
|
767
791
|
readonly stepFailed?: string;
|
|
768
792
|
/** `` `Details: ${heading}` `` - the toggle of a step's `[details]` area; `'Details'` without a heading. */
|
|
769
793
|
readonly stepDetails?: (heading: string) => string;
|
|
794
|
+
/** `` `${seconds}s` ``, `` `${minutes}m ${seconds}s` ``, `` `${hours}h ${minutes}m` `` - the
|
|
795
|
+
* time a `ds-chat-step` has taken, at the end of its heading row, from whole seconds. */
|
|
796
|
+
readonly stepElapsed?: (seconds: number) => string;
|
|
797
|
+
/** `'Retry'` - the button of a `retryable` `ds-chat-step` with `status="error"`. */
|
|
798
|
+
readonly stepRetry?: string;
|
|
799
|
+
};
|
|
800
|
+
readonly tree?: {
|
|
801
|
+
/** `` `Expand ${label}` `` - the caret button of a collapsed row under `toggleOn="caret"`. */
|
|
802
|
+
readonly expand?: (label: string) => string;
|
|
803
|
+
/** `` `Collapse ${label}` `` - the same button on an expanded row. */
|
|
804
|
+
readonly collapse?: (label: string) => string;
|
|
770
805
|
};
|
|
771
806
|
readonly tabs: {
|
|
772
807
|
readonly close: (label: string) => string;
|
|
@@ -935,6 +970,7 @@ declare const DS_INTL_DEFAULTS: DsIntl & {
|
|
|
935
970
|
readonly chatInput: Required<NonNullable<DsIntl['chatInput']>>;
|
|
936
971
|
readonly attachment: Required<NonNullable<DsIntl['attachment']>>;
|
|
937
972
|
readonly chat: Required<NonNullable<DsIntl['chat']>>;
|
|
973
|
+
readonly tree: Required<NonNullable<DsIntl['tree']>>;
|
|
938
974
|
};
|
|
939
975
|
|
|
940
976
|
/**
|
|
@@ -6,7 +6,7 @@ export { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components
|
|
|
6
6
|
export { AutocompleteComponent, AutocompleteItem, AutocompleteOption, AutocompleteOptionGroup, AutocompleteValueOverflow, AutocompleteWidth } from '@ids-group-ltd/ids-design-system/components/autocomplete';
|
|
7
7
|
export { AvatarComponent, AvatarSize, AvatarStatus, AvatarTintOptions, avatarTint, initialsFrom } from '@ids-group-ltd/ids-design-system/components/avatar';
|
|
8
8
|
export { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';
|
|
9
|
-
export { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';
|
|
9
|
+
export { BadgeAppearance, BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';
|
|
10
10
|
export { BannerComponent, BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';
|
|
11
11
|
export { BarComponent, BarSemantics, BarVariant } from '@ids-group-ltd/ids-design-system/components/bar';
|
|
12
12
|
export { BarChartComponent, BarChartLabelPosition, BarChartRow, BarChartSegment, BarChartValue } from '@ids-group-ltd/ids-design-system/components/bar-chart';
|
|
@@ -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, ChatMessageTone, 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,12 +29,12 @@ 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';
|
|
36
36
|
export { HeatmapChartCell, HeatmapChartComponent, HeatmapChartRow } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';
|
|
37
|
-
export { IconButtonComponent, IconButtonType, IconButtonVariant } from '@ids-group-ltd/ids-design-system/components/icon-button';
|
|
37
|
+
export { IconButtonColor, IconButtonComponent, IconButtonType, IconButtonVariant } from '@ids-group-ltd/ids-design-system/components/icon-button';
|
|
38
38
|
export { InfoHintComponent } from '@ids-group-ltd/ids-design-system/components/info-hint';
|
|
39
39
|
export { InlineEditComponent } from '@ids-group-ltd/ids-design-system/components/inline-edit';
|
|
40
40
|
export { InputComponent, InputType } from '@ids-group-ltd/ids-design-system/components/input';
|
|
@@ -45,6 +45,8 @@ export { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/compon
|
|
|
45
45
|
export { MenuComponent, MenuDividerComponent, MenuItemComponent } from '@ids-group-ltd/ids-design-system/components/menu';
|
|
46
46
|
export { ModalCardComponent, ModalComponent, ModalConfirmActionDirective, ModalConfirmOptions, ModalConfirmTone, ModalService, ModalSize } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
47
47
|
export { MultiSelectComponent, MultiSelectItem, MultiSelectOption, MultiSelectOptionGroup, MultiSelectWidth } from '@ids-group-ltd/ids-design-system/components/multi-select';
|
|
48
|
+
export { BrandNameDirective, NAV, NavComponent, NavContract, NavDividerComponent, NavGroupComponent, NavItemComponent, NavItemModel } from '@ids-group-ltd/ids-design-system/components/nav';
|
|
49
|
+
export { NavAlertItem, NavFooterComponent, NavSearchProvider, NavSearchResult } from '@ids-group-ltd/ids-design-system/components/nav-footer';
|
|
48
50
|
export { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';
|
|
49
51
|
export { OtpInputComponent, OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';
|
|
50
52
|
export { PageFooterComponent, PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';
|
|
@@ -55,12 +57,13 @@ export { PieChartCenterPlacement, PieChartComponent, PieChartSlice } from '@ids-
|
|
|
55
57
|
export { DsPopoverTrigger, PopoverAlign, PopoverComponent, PopoverPlacement } from '@ids-group-ltd/ids-design-system/components/popover';
|
|
56
58
|
export { RADIO_GROUP, RadioComponent, RadioGroupChild, RadioGroupComponent, RadioGroupContract } from '@ids-group-ltd/ids-design-system/components/radio-group';
|
|
57
59
|
export { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';
|
|
60
|
+
export { RevealDirective } from '@ids-group-ltd/ids-design-system/components/reveal';
|
|
58
61
|
export { ScatterChartComponent, ScatterChartDecimator, ScatterChartReading, ScatterChartSeries, ScatterPoint } from '@ids-group-ltd/ids-design-system/components/scatter-chart';
|
|
59
62
|
export { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';
|
|
60
63
|
export { SegmentedComponent, SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';
|
|
61
64
|
export { SelectComponent, SelectItem, SelectOption, SelectOptionGroup, SelectWidth, isSelectOptionGroup } from '@ids-group-ltd/ids-design-system/components/select';
|
|
62
65
|
export { ShowDirtyDirective } from '@ids-group-ltd/ids-design-system/components/show-dirty';
|
|
63
|
-
export {
|
|
66
|
+
export { SIDENAV, SidenavComponent, SidenavContract, SidenavGroupComponent, SidenavItemComponent, SidenavItemModel } from '@ids-group-ltd/ids-design-system/components/sidenav';
|
|
64
67
|
export { SidenavAlertItem, SidenavFooterComponent, SidenavSearchProvider, SidenavSearchResult } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';
|
|
65
68
|
export { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';
|
|
66
69
|
export { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';
|
|
@@ -81,11 +84,11 @@ export { TagComponent, TagVariant } from '@ids-group-ltd/ids-design-system/compo
|
|
|
81
84
|
export { TextareaComponent, TextareaMaxLengthMode, TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';
|
|
82
85
|
export { TimeFormat, TimePickerComponent, TimePickerLoop, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue } from '@ids-group-ltd/ids-design-system/components/time-picker';
|
|
83
86
|
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';
|
|
87
|
+
export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, ToastAction, ToastComponent, ToastEntry, ToastIconAction, ToastOccurrence, ToastOptions, ToastPromiseMessages, ToastRef, ToastRegionComponent, ToastService, ToastUpdate, ToastVariant } from '@ids-group-ltd/ids-design-system/components/toast';
|
|
85
88
|
export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
|
|
86
89
|
export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
87
90
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
88
|
-
export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
91
|
+
export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeToggleOn, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
89
92
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
90
93
|
export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
|
|
91
94
|
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';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-sidenav>` — `SidenavComponent`
|
|
3
|
-
|
|
4
|
-
Group: Layout & navigation
|
|
5
|
-
|
|
6
|
-
Inputs: `collapsed: boolean = false`, `brand: string | null = null` (renders a letter mark + name; omit to project custom content, or set `DS_CONFIG.brand.name`), `logoLetter: string | null = null` (the mark's glyph; derived from `brand` when unset), `rail: boolean = true` (whether an active item draws its edge marker — turn it off here rather than painting `--ds-sidenav-item-rail` transparent), `brandRoute: string | readonly unknown[] | null = null`, `brandLinkLabel: string | null = null`
|
|
7
|
-
Content: default slot for groups/items + custom brand/footer rows
|
|
8
|
-
**The brand row leads home only if you say so.** `brandRoute` turns the mark + wordmark into one link; unset, the row stays a plain block. A logo that goes nowhere should not be a link, and whether a mark is a way home is an app's decision, not the DS's — so this is opt-in, like every other new capability here. The link announces itself as `"<brand>, home"` because a wordmark alone does not say where it goes; `brandLinkLabel` overrides that. Router targets only, and `RouterLink` is instantiated only inside the `@if`, so an app with no router provided still renders the sidenav. A collapse toggle projected into the row stays OUTSIDE the link — one control never nests inside another.
|
|
9
|
-
Tokens: `--ds-sidenav-bg-color`, `--ds-sidenav-border`, `--ds-sidenav-width`, `--ds-sidenav-width-collapsed`, `--ds-sidenav-mark-bg-color`, `--ds-sidenav-mark-label-color`
|
|
10
|
-
|
|
11
|
-
<!-- inputs:ds-sidenav -->
|
|
12
|
-
All inputs: `collapsed: boolean = false`, `rail: boolean = true`, `brand: string | null = null`, `logoLetter: string | null = null`, `brandRoute: string | readonly unknown[] | null = null`, `brandLinkLabel: string | null = null`
|
|
13
|
-
<!-- /inputs -->
|