@ids-group-ltd/ids-design-system 0.12.3 → 0.13.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 +603 -6
- package/components.md +85 -2
- package/docs/agent/INDEX.md +11 -1
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +9 -0
- package/docs/agent/charts/chart-frame-the-box-a-chart-draws-around-itself.md +12 -0
- package/docs/agent/charts/ds-bar-chart.md +15 -0
- package/docs/agent/charts/ds-column-chart.md +14 -0
- package/docs/agent/charts/ds-donut-chart.md +17 -0
- package/docs/agent/charts/ds-funnel-chart.md +16 -0
- package/docs/agent/charts/ds-line-chart.md +15 -0
- package/docs/agent/forms/ds-button.md +4 -2
- package/docs/agent/forms/ds-number-stepper.md +1 -0
- package/docs/agent/navigation/ds-sidenav-item.md +1 -0
- 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-autocomplete.mjs +16 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +161 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -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.mjs +58 -8
- 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 +43 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +197 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +1 -0
- 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 +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +173 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +299 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- 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 +2 -2
- 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 +69 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +366 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +10 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +631 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +1 -1
- 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 +1 -0
- 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 +1 -0
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +1 -0
- 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 +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +18 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +30 -71
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.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 +1 -0
- 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 +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +31 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +393 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +17 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +3 -0
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +10 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.13.0.json +530 -0
- package/package.json +57 -1
- package/styles/_chart-data-table.scss +95 -0
- package/styles/_chart-frame.scss +53 -0
- package/styles/_chart-interactive.scss +40 -0
- package/styles/_chart-motion.scss +45 -0
- package/styles/_focus.scss +1 -1
- package/styles/_tokens-charts.scss +149 -39
- package/styles/_tokens.scss +17 -4
- package/themes/dark/_theme.scss +37 -29
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +11 -9
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +104 -0
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +37 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +34 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +78 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +105 -0
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts +113 -0
- package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +52 -11
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +109 -0
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +5 -7
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +241 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +16 -4
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +13 -28
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +11 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +154 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +12 -1
- package/types/ids-group-ltd-ids-design-system.d.ts +9 -2
|
@@ -5,6 +5,7 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
|
|
|
5
5
|
import { DsOptionItem, DsOption, DsOptionGroup, DsControlWidth, DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
6
6
|
import * as _angular_core from '@angular/core';
|
|
7
7
|
import { OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
|
8
|
+
import { describedByIds } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
8
9
|
|
|
9
10
|
interface SelectOption extends DsOption<string> {
|
|
10
11
|
}
|
|
@@ -59,8 +60,8 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
59
60
|
/** Prevents opening the dropdown while still allowing focus. */
|
|
60
61
|
readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
61
62
|
/**
|
|
62
|
-
* The contract spelling of `readOnly
|
|
63
|
-
*
|
|
63
|
+
* The contract spelling of `readOnly`: signal forms binds by NAME, so a
|
|
64
|
+
* `readonly()` rule reaches nothing without it.
|
|
64
65
|
*/
|
|
65
66
|
readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
66
67
|
protected readonly isReadOnly: _angular_core.Signal<boolean>;
|
|
@@ -90,6 +91,8 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
90
91
|
private readonly fieldMessage;
|
|
91
92
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
92
93
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
94
|
+
protected readonly groupMessage: _angular_core.Signal<string | null>;
|
|
95
|
+
protected readonly describedByIds: typeof describedByIds;
|
|
93
96
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
94
97
|
protected optionId(flatIndex: number): string;
|
|
95
98
|
/** Active option for `aria-activedescendant` (combobox keeps DOM focus). */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { DsRouterLink, DsAriaCurrent } from '@ids-group-ltd/ids-design-system/components';
|
|
3
4
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -78,14 +79,19 @@ declare class SidenavGroupComponent {
|
|
|
78
79
|
* and the caret becomes a separate control, because one control cannot both go somewhere and
|
|
79
80
|
* stay to open something. Unset (the default) the whole header only expands — a heading that
|
|
80
81
|
* navigates closes the page being read the moment someone reaches for the group beneath it. */
|
|
81
|
-
readonly routerLink: _angular_core.InputSignal<
|
|
82
|
+
readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
|
|
83
|
+
/** Overrides what the group header announces when it is itself a destination. Unset, the page
|
|
84
|
+
* the reader is on announces `page` and the section containing it announces `true`. */
|
|
85
|
+
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
82
86
|
/** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
|
|
83
87
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
84
88
|
/** A header that navigates hands the caret its own button; one that does not is the button. */
|
|
89
|
+
private readonly noModifiers;
|
|
90
|
+
protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
|
|
85
91
|
protected readonly headerNavigates: _angular_core.Signal<boolean>;
|
|
86
92
|
protected toggle(): void;
|
|
87
93
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavGroupComponent, never>;
|
|
88
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
|
|
94
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
declare class SidenavItemComponent {
|
|
@@ -96,9 +102,13 @@ declare class SidenavItemComponent {
|
|
|
96
102
|
/** Plain `href` target, used when `routerLink` is not set. */
|
|
97
103
|
readonly href: _angular_core.InputSignal<string>;
|
|
98
104
|
/** Angular `RouterLink` target — string or array form for dynamic segments. */
|
|
99
|
-
readonly routerLink: _angular_core.InputSignal<
|
|
105
|
+
readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
|
|
100
106
|
/** Applies the active style; also drives `aria-current` when not using `routerLink`. */
|
|
101
107
|
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
108
|
+
/** Overrides what an active item announces. Unset, an exact match announces `page` and a prefix
|
|
109
|
+
* match announces `true` — in a sidenav the prefix case is "you are in this section", which is
|
|
110
|
+
* exactly what `true` means. */
|
|
111
|
+
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
102
112
|
/** Numeric count shown at the end of the item. */
|
|
103
113
|
readonly badge: _angular_core.InputSignal<number | null>;
|
|
104
114
|
/** Shows an alert dot alongside the badge. */
|
|
@@ -115,6 +125,8 @@ declare class SidenavItemComponent {
|
|
|
115
125
|
* of the library, so a sidenav-wide `[rail]="false"` is not fought per item. */
|
|
116
126
|
readonly rail: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
117
127
|
private readonly sidenav;
|
|
128
|
+
private readonly noModifiers;
|
|
129
|
+
protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
|
|
118
130
|
protected readonly railResolved: _angular_core.Signal<boolean>;
|
|
119
131
|
protected onActivate(event: MouseEvent): void;
|
|
120
132
|
/** Tooltip text shown when collapsed; empty string suppresses the tooltip when expanded. */
|
|
@@ -122,7 +134,7 @@ declare class SidenavItemComponent {
|
|
|
122
134
|
protected readonly collapsedAriaLabel: _angular_core.Signal<string | null>;
|
|
123
135
|
protected readonly linkClasses: _angular_core.Signal<string>;
|
|
124
136
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavItemComponent, never>;
|
|
125
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavItemComponent, "ds-sidenav-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "hasAlert": { "alias": "hasAlert"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; }, { "activate": "activate"; }, never, ["[icon]", "[trailing]"], true, never>;
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavItemComponent, "ds-sidenav-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "hasAlert": { "alias": "hasAlert"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; }, { "activate": "activate"; }, never, ["[icon]", "[trailing]"], true, never>;
|
|
126
138
|
}
|
|
127
139
|
|
|
128
140
|
interface SidenavItemModel {
|
|
@@ -115,9 +115,8 @@ interface TableColumn<T = unknown> {
|
|
|
115
115
|
/** Adds a header filter menu. `'set'` lists the column's distinct values as
|
|
116
116
|
* a searchable checkbox list; a row passes when its value stays checked. */
|
|
117
117
|
filter?: 'set';
|
|
118
|
-
/** Ellipsis-clip long cell text at `width` (240px when unset)
|
|
119
|
-
*
|
|
120
|
-
* Text cells only — template cells own their overflow. */
|
|
118
|
+
/** Ellipsis-clip long cell text at `width` (240px when unset); the full value
|
|
119
|
+
* reaches a tooltip on hover and focus. */
|
|
121
120
|
truncate?: boolean;
|
|
122
121
|
/** Column width in px — also the clip width for `truncate`.
|
|
123
122
|
*
|
|
@@ -183,10 +182,16 @@ interface SortChangeEvent {
|
|
|
183
182
|
interface TableRowAction<T = unknown> {
|
|
184
183
|
/** Stable identifier — use it to branch in `rowActionSelected`. */
|
|
185
184
|
id: string;
|
|
186
|
-
|
|
185
|
+
/** Per-row where one action reads two ways: Deactivate on a live row and
|
|
186
|
+
* Reactivate on a suspended one. It is ONE action — the same `id` reaches
|
|
187
|
+
* `rowActionSelected` either way. */
|
|
188
|
+
label: string | ((row: T) => string);
|
|
187
189
|
icon?: IconName;
|
|
188
190
|
/** Renders the item in the destructive style. */
|
|
189
191
|
error?: boolean;
|
|
192
|
+
/** Draws a divider ABOVE this item. For the destructive tail, where colour
|
|
193
|
+
* alone is the only thing separating Delete from the actions above it. */
|
|
194
|
+
divider?: boolean;
|
|
190
195
|
/** Per-row predicate — return true to disable the item for that row. */
|
|
191
196
|
disabled?: (row: T) => boolean;
|
|
192
197
|
/** Per-row predicate — return true to leave the item OUT for that row. Use it
|
|
@@ -372,8 +377,6 @@ declare class TableComponent<T extends object> {
|
|
|
372
377
|
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
373
378
|
/** Opt-in outer border + radius. Off by default so tables flush inside a
|
|
374
379
|
* `<ds-card padding="none">` don't double-border.
|
|
375
|
-
* When `true`, the scroll-wrap gets a `var(--border-default)` outline and
|
|
376
|
-
* `var(--radius-md)` radius — useful when the table stands alone in a padded card.
|
|
377
380
|
* Unset falls back to `DS_CONFIG.table.bordered`, then `false`. */
|
|
378
381
|
readonly bordered: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
379
382
|
/** false — no loading state.
|
|
@@ -447,8 +450,8 @@ declare class TableComponent<T extends object> {
|
|
|
447
450
|
/** Accessible name for the table (rendered as a visually-hidden caption).
|
|
448
451
|
* Without it, screen-reader users get an unlabelled table. */
|
|
449
452
|
readonly caption: _angular_core.InputSignal<string>;
|
|
450
|
-
/** When true, each row becomes a keyboard-operable control (
|
|
451
|
-
*
|
|
453
|
+
/** When true, each row becomes a keyboard-operable control (tabindex,
|
|
454
|
+
* Enter/Space → rowClicked) with an accessible name from the first
|
|
452
455
|
* column. Off by default so non-navigating tables don't advertise a false
|
|
453
456
|
* click affordance. Also the gate for the hover/pressed row tints. */
|
|
454
457
|
readonly rowInteractive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -630,7 +633,6 @@ declare class TableComponent<T extends object> {
|
|
|
630
633
|
* what a list uses on every read after the first, so suppressing only under
|
|
631
634
|
* `skeleton` paints "No rows yet" under the spinner on a zero-row reload. */
|
|
632
635
|
protected readonly showsEmptyRow: _angular_core.Signal<boolean>;
|
|
633
|
-
/** Loading, nothing to show yet, and not the skeleton mode which draws its own rows. */
|
|
634
636
|
protected readonly showsLoadingSpace: _angular_core.Signal<boolean>;
|
|
635
637
|
protected readonly layout: DsTableLayout<T>;
|
|
636
638
|
private readonly toolbarAnchor;
|
|
@@ -645,7 +647,6 @@ declare class TableComponent<T extends object> {
|
|
|
645
647
|
protected fitsContent(col: TableColumn<T>): boolean;
|
|
646
648
|
protected readonly hasUtilityColumn: _angular_core.Signal<boolean>;
|
|
647
649
|
private readonly columnFilterPopover;
|
|
648
|
-
/** The column whose filter menu is open — drives the distinct-value list. */
|
|
649
650
|
protected readonly hasAnyColumnFilter: _angular_core.Signal<boolean>;
|
|
650
651
|
protected readonly filterColumn: _angular_core.WritableSignal<TableColumn<T> | null>;
|
|
651
652
|
protected readonly filterSearch: _angular_core.WritableSignal<string>;
|
|
@@ -704,10 +705,7 @@ declare class TableComponent<T extends object> {
|
|
|
704
705
|
private readonly expansionMessage;
|
|
705
706
|
private readonly sortMessage;
|
|
706
707
|
private readonly rangeMessage;
|
|
707
|
-
/** Virtual mode needs a bounded scroller to window against. */
|
|
708
708
|
protected readonly virtualizing: _angular_core.Signal<boolean>;
|
|
709
|
-
/** Drives the CSS row height from the same number the arithmetic uses, so the
|
|
710
|
-
* two cannot drift — which would make every offset progressively wrong. */
|
|
711
709
|
protected readonly virtualRowHeight: _angular_core.Signal<string>;
|
|
712
710
|
/** How many rows the scroller spans. Lazy counts the rows that EXIST, not the
|
|
713
711
|
* ones that have arrived — otherwise the spacers shrink to the loaded slice
|
|
@@ -725,8 +723,7 @@ declare class TableComponent<T extends object> {
|
|
|
725
723
|
*
|
|
726
724
|
* Absolute rather than loop-relative because everything downstream needs it —
|
|
727
725
|
* striping parity, the skeleton's width seed, and the range `(lazyLoad)` asks
|
|
728
|
-
* for.
|
|
729
|
-
* row buys uniformity for the ~25 rows windowing keeps in the DOM.
|
|
726
|
+
* for.
|
|
730
727
|
*/
|
|
731
728
|
protected readonly rowSlots: _angular_core.Signal<readonly {
|
|
732
729
|
row: T | null;
|
|
@@ -750,19 +747,6 @@ declare class TableComponent<T extends object> {
|
|
|
750
747
|
private readonly rowMenuPopover;
|
|
751
748
|
private readonly columnPickerPopover;
|
|
752
749
|
protected readonly hasTruncate: _angular_core.Signal<boolean>;
|
|
753
|
-
private readonly cellTextPopover;
|
|
754
|
-
protected readonly cellPopoverText: _angular_core.WritableSignal<string>;
|
|
755
|
-
protected onCellClipClick(row: T, col: TableColumn<T>, event: Event): void;
|
|
756
|
-
/** Clipped horizontally — itself or anything it renders. A `dsCellTemplate`
|
|
757
|
-
* puts the ellipsis on a descendant, so testing only the wrapper misses it. */
|
|
758
|
-
private static isClipped;
|
|
759
|
-
/**
|
|
760
|
-
* A header narrowed by resizing clips its own label, and the label is the only
|
|
761
|
-
* thing naming the column — so the full text has to stay reachable. Set on
|
|
762
|
-
* enter rather than always, because a `title` on every header would fire a
|
|
763
|
-
* tooltip on hover for text that is perfectly readable.
|
|
764
|
-
*/
|
|
765
|
-
protected onHeaderEnter(event: Event, col: TableColumn<T>): void;
|
|
766
750
|
private readonly scrollWrap;
|
|
767
751
|
private readonly hscrollProxy;
|
|
768
752
|
private readonly tableHead;
|
|
@@ -784,6 +768,7 @@ declare class TableComponent<T extends object> {
|
|
|
784
768
|
protected actionsFor(row: T): readonly TableRowAction<T>[];
|
|
785
769
|
protected hasActionsFor(row: T): boolean;
|
|
786
770
|
protected readonly visibleRowActions: _angular_core.Signal<readonly TableRowAction<T>[]>;
|
|
771
|
+
protected actionLabel(action: TableRowAction<T>): string;
|
|
787
772
|
/** Empty unless the item is actually disabled for this row: a reason on a live
|
|
788
773
|
* item would read as a caveat on something that works. */
|
|
789
774
|
protected actionReason(action: TableRowAction<T>): string;
|
|
@@ -16,6 +16,16 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
16
16
|
/** Milliseconds before the tip appears. Hiding is immediate — this delay only ever
|
|
17
17
|
* suppresses a tip the pointer passed over on its way somewhere else. */
|
|
18
18
|
readonly dsTooltipDelay: _angular_core.InputSignal<number>;
|
|
19
|
+
/** Show the tip only while the host is actually showing less text than it holds. For a label
|
|
20
|
+
* that already reads in full, a tip repeating it is noise. Re-tested on every open, so a tip
|
|
21
|
+
* appears and stops appearing as the column, panel or window is resized, with no observer to
|
|
22
|
+
* run.
|
|
23
|
+
*
|
|
24
|
+
* With this on, `dsTooltip` may be left empty and the host's own text is disclosed. That is
|
|
25
|
+
* what makes it usable on projected content, where the component holding the tip cannot know
|
|
26
|
+
* what it was handed. */
|
|
27
|
+
readonly dsTooltipWhenClipped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
private tipText;
|
|
19
29
|
private ref;
|
|
20
30
|
private timer;
|
|
21
31
|
private readonly tipId;
|
|
@@ -48,7 +58,7 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
48
58
|
private positionFor;
|
|
49
59
|
ngOnDestroy(): void;
|
|
50
60
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
51
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; "dsTooltipWhenClipped": { "alias": "dsTooltipWhenClipped"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
62
|
}
|
|
53
63
|
|
|
54
64
|
declare class TooltipPanelComponent {
|
|
@@ -3,6 +3,7 @@ import { Signal, ElementRef, TemplateRef, ModelSignal, WritableSignal } from '@a
|
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
5
5
|
import { FieldMessageState } from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
6
|
+
import { Params, QueryParamsHandling, UrlTree } from '@angular/router';
|
|
6
7
|
import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig } from '@angular/cdk/overlay';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -17,6 +18,113 @@ import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig }
|
|
|
17
18
|
*/
|
|
18
19
|
declare function resolveBrandValue(value: Signal<string | null>, key: 'name' | 'logoLetter' | 'tagline'): Signal<string>;
|
|
19
20
|
|
|
21
|
+
/** @internal Exported for the chart entry points that import it across the boundary;
|
|
22
|
+
* not part of the package surface. */
|
|
23
|
+
declare const chartColors: {
|
|
24
|
+
readonly series1: "var(--ds-chart-series-1-color)";
|
|
25
|
+
readonly series2: "var(--ds-chart-series-2-color)";
|
|
26
|
+
readonly series3: "var(--ds-chart-series-3-color)";
|
|
27
|
+
readonly series4: "var(--ds-chart-series-4-color)";
|
|
28
|
+
readonly series5: "var(--ds-chart-series-5-color)";
|
|
29
|
+
readonly series6: "var(--ds-chart-series-6-color)";
|
|
30
|
+
readonly series7: "var(--ds-chart-series-7-color)";
|
|
31
|
+
readonly series8: "var(--ds-chart-series-8-color)";
|
|
32
|
+
readonly seriesDefault: "var(--ds-chart-series-default-color)";
|
|
33
|
+
readonly seriesAccent: "var(--ds-chart-series-accent-color)";
|
|
34
|
+
readonly ramp1: "var(--ds-chart-ramp-1-color)";
|
|
35
|
+
readonly ramp2: "var(--ds-chart-ramp-2-color)";
|
|
36
|
+
readonly ramp3: "var(--ds-chart-ramp-3-color)";
|
|
37
|
+
readonly ramp4: "var(--ds-chart-ramp-4-color)";
|
|
38
|
+
readonly ramp5: "var(--ds-chart-ramp-5-color)";
|
|
39
|
+
readonly ramp6: "var(--ds-chart-ramp-6-color)";
|
|
40
|
+
readonly ramp7: "var(--ds-chart-ramp-7-color)";
|
|
41
|
+
readonly ramp8: "var(--ds-chart-ramp-8-color)";
|
|
42
|
+
};
|
|
43
|
+
/** @internal See chartColors. */
|
|
44
|
+
declare const CHART_SERIES_COLORS: readonly string[];
|
|
45
|
+
/** @internal See chartColors. */
|
|
46
|
+
declare const CHART_RAMP_COLORS: readonly string[];
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
declare function formatValue(value: number, locale?: string): string;
|
|
50
|
+
/** @internal */
|
|
51
|
+
declare function formatPercent(value: number, total: number): string;
|
|
52
|
+
/** Whole percentages that sum to exactly 100. Rounding each share on its own
|
|
53
|
+
* gives 33/33/33 for three equal parts, and a legend that visibly loses 1%.
|
|
54
|
+
*
|
|
55
|
+
* @internal Exported for the chart entry points; not part of the package surface. */
|
|
56
|
+
declare function largestRemainder(values: readonly number[]): number[];
|
|
57
|
+
/** @internal */
|
|
58
|
+
declare function formatTick(value: number, step: number): string;
|
|
59
|
+
|
|
60
|
+
/** Container width as a signal. It is 0 under SSR, while the container is
|
|
61
|
+
* `display: none`, and before the first observation.
|
|
62
|
+
*
|
|
63
|
+
* @internal */
|
|
64
|
+
declare function elementWidth(host: ElementRef<HTMLElement>): Signal<number>;
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
declare function tickValues(domainMax: number, targetCount: number): number[];
|
|
68
|
+
/** @internal */
|
|
69
|
+
declare function niceMax(domainMax: number, targetCount: number): number;
|
|
70
|
+
/** Distance between two ticks, which `formatTick` needs to pick a precision. A
|
|
71
|
+
* degenerate series yields a single tick and therefore no step.
|
|
72
|
+
*
|
|
73
|
+
* @internal */
|
|
74
|
+
declare function tickStep(ticks: readonly number[]): number;
|
|
75
|
+
/** @internal */
|
|
76
|
+
declare function linearScale(domainMax: number, rangeSize: number): (value: number) => number;
|
|
77
|
+
/** @internal */
|
|
78
|
+
interface BandScale {
|
|
79
|
+
readonly bandWidth: number;
|
|
80
|
+
/** Centre to centre, so it exceeds `bandWidth` by the padding. */
|
|
81
|
+
readonly step: number;
|
|
82
|
+
readonly count: number;
|
|
83
|
+
position(index: number): number;
|
|
84
|
+
/** The band an offset falls in, clamped at both ends so a pointer leaving the plot
|
|
85
|
+
* keeps the band it left from. `-1` when there are no bands, which is the one case
|
|
86
|
+
* a caller branches on rather than clamps. */
|
|
87
|
+
indexAt(offset: number): number;
|
|
88
|
+
}
|
|
89
|
+
/** @internal */
|
|
90
|
+
declare function bandScale(count: number, rangeSize: number, paddingRatio: number): BandScale;
|
|
91
|
+
|
|
92
|
+
/** Entrance delay for the mark at `index`, in milliseconds. `stepMs` of `0` is the default and
|
|
93
|
+
* means no stagger at all.
|
|
94
|
+
*
|
|
95
|
+
* @internal */
|
|
96
|
+
declare function staggerDelay(index: number, stepMs: number): number;
|
|
97
|
+
|
|
98
|
+
/** Where a roving tabindex lands after `key`, or `null` when the key does not traverse.
|
|
99
|
+
*
|
|
100
|
+
* The ends wrap, as they do in `ds-radio-group`: a chart's marks are a closed set, and Home and
|
|
101
|
+
* End are the direct way to either extreme.
|
|
102
|
+
*
|
|
103
|
+
* @internal */
|
|
104
|
+
declare function nextRovingIndex(key: string, current: number, count: number): number | null;
|
|
105
|
+
/** Moves DOM focus to the mark `index` within `scope`, which is what makes the roving tabindex a
|
|
106
|
+
* traversal rather than a state change nobody can see. `within` narrows the search for a chart
|
|
107
|
+
* whose marks repeat the same index once per series.
|
|
108
|
+
*
|
|
109
|
+
* @internal */
|
|
110
|
+
declare function focusMark(scope: Element | null, index: number, within?: string): void;
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
interface SummaryPoint {
|
|
114
|
+
readonly label: string;
|
|
115
|
+
readonly value: number;
|
|
116
|
+
}
|
|
117
|
+
/** The sentence a screen reader gets as the chart's accessible name. Generated rather than
|
|
118
|
+
* required, because a required one is a field that gets left at the component's default and then
|
|
119
|
+
* lies.
|
|
120
|
+
*
|
|
121
|
+
* The ORDER is the contract: what the chart is and its scale, then the trend, then the extremes,
|
|
122
|
+
* then where the numbers are. Blind readers rank a recital of the encoding lowest of the four
|
|
123
|
+
* levels of chart description, and the encoding is the one thing a screen-reader user cannot use.
|
|
124
|
+
*
|
|
125
|
+
* @internal */
|
|
126
|
+
declare function describeSeries(label: string, points: readonly SummaryPoint[], format?: (value: number) => string, tableFollows?: boolean): string;
|
|
127
|
+
|
|
20
128
|
/** @internal */
|
|
21
129
|
declare function chipFit(count: Signal<number>, chipRow: Signal<ElementRef<HTMLElement> | undefined>, enabled: Signal<boolean>,
|
|
22
130
|
/** The whole selection, which `count` may already cap. */
|
|
@@ -106,6 +214,13 @@ interface DsFieldMessageSources {
|
|
|
106
214
|
error: Signal<string>;
|
|
107
215
|
errors: Signal<readonly DsFieldError[]>;
|
|
108
216
|
invalid: Signal<boolean>;
|
|
217
|
+
/** The control's own disabled state. A disabled control is neither submitted nor validated, so
|
|
218
|
+
* it is not announced as invalid — the same reasoning `_field-state.scss` uses to keep the error
|
|
219
|
+
* paint off it. Optional only because a host without a disabled state has nothing to pass.
|
|
220
|
+
* A plain getter rather than a `Signal` so a caller can hand it over before its own
|
|
221
|
+
* `isDisabled` field is initialised — this resolver is usually assigned near the top of a
|
|
222
|
+
* component and the disabled computed near the bottom. */
|
|
223
|
+
disabled?: () => boolean;
|
|
109
224
|
success?: Signal<string>;
|
|
110
225
|
/** The field's own touched state, if it tracks one (CVA blur). */
|
|
111
226
|
touchedSelf?: Signal<boolean>;
|
|
@@ -113,7 +228,6 @@ interface DsFieldMessageSources {
|
|
|
113
228
|
touched?: Signal<boolean>;
|
|
114
229
|
}
|
|
115
230
|
interface DsFieldMessageResolution {
|
|
116
|
-
/** Text + state for `ds-field-message`. */
|
|
117
231
|
readonly message: Signal<DsFieldMessage>;
|
|
118
232
|
/** `invalid` folded together with whatever the control reports. */
|
|
119
233
|
readonly invalid: Signal<boolean>;
|
|
@@ -301,6 +415,20 @@ declare class DsCreateTemplateDirective {
|
|
|
301
415
|
}
|
|
302
416
|
|
|
303
417
|
type DsDestination = 'routerLink' | 'href' | 'button';
|
|
418
|
+
/** What a `routerLink` input accepts. A `UrlTree` carries the fragment, query and relative base
|
|
419
|
+
* the string and command-array forms cannot, so a caller that needs them can build one with
|
|
420
|
+
* `Router.createUrlTree` instead of reaching for more inputs. */
|
|
421
|
+
type DsRouterLink = string | readonly unknown[] | UrlTree | null;
|
|
422
|
+
/** The values `aria-current` is allowed to take, plus `null` for "say nothing". `true` rather than
|
|
423
|
+
* `'true'` so it drops straight into `RouterLinkActive.ariaCurrentWhenActive`, which is the only
|
|
424
|
+
* writer of this attribute on a routed link. */
|
|
425
|
+
type DsAriaCurrent = 'page' | 'step' | 'location' | 'date' | 'time' | true;
|
|
426
|
+
/** The `UrlCreationOptions` a navigating control forwards. */
|
|
427
|
+
interface DsLinkModifiers {
|
|
428
|
+
fragment?: string;
|
|
429
|
+
queryParams?: Params | null;
|
|
430
|
+
queryParamsHandling?: QueryParamsHandling | null;
|
|
431
|
+
}
|
|
304
432
|
/**
|
|
305
433
|
* No destination is a `<button>`, never an `<a href="#">`: a `#` href navigates, rewriting the URL
|
|
306
434
|
* and discarding the scroll position. Only the decision is shared — each control keeps its own
|
|
@@ -308,7 +436,29 @@ type DsDestination = 'routerLink' | 'href' | 'button';
|
|
|
308
436
|
*
|
|
309
437
|
* @internal
|
|
310
438
|
*/
|
|
311
|
-
declare function dsDestination(routerLink: Signal<
|
|
439
|
+
declare function dsDestination(routerLink: Signal<DsRouterLink>, href: Signal<string>): Signal<DsDestination>;
|
|
440
|
+
/**
|
|
441
|
+
* What a navigating control should announce, distinguishing the two things `routerLinkActive`
|
|
442
|
+
* cannot tell apart.
|
|
443
|
+
*
|
|
444
|
+
* `routerLinkActive` matches by PREFIX, so deriving `aria-current="page"` from it makes a
|
|
445
|
+
* "back to the section" link claim to be the page the reader is already on. ARIA separates the
|
|
446
|
+
* two: `page` is the page you are on, `true` is the current section or an ancestor of it. So an
|
|
447
|
+
* exact match announces `page`, a prefix match announces `true`, and anything else stays silent —
|
|
448
|
+
* which is correct for a button and for a sidenav item without a branch between them.
|
|
449
|
+
*
|
|
450
|
+
* Feed the result to `RouterLinkActive.ariaCurrentWhenActive`, never to `[attr.aria-current]`: the
|
|
451
|
+
* directive removes that attribute from its host in a microtask whenever its own input is unset,
|
|
452
|
+
* so a template binding is written and then silently wiped. Consequence worth knowing — a narrowed
|
|
453
|
+
* `routerLinkActiveOptions` narrows the announcement with it, because the directive writes nothing
|
|
454
|
+
* while it considers the link inactive.
|
|
455
|
+
*
|
|
456
|
+
* Must be called from an injection context. Outside a router it returns the override or `null`,
|
|
457
|
+
* so a control can render with no router present.
|
|
458
|
+
*
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
declare function dsAriaCurrent(routerLink: Signal<DsRouterLink>, modifiers: Signal<DsLinkModifiers>, override: Signal<DsAriaCurrent | null | undefined>): Signal<DsAriaCurrent | undefined>;
|
|
312
462
|
|
|
313
463
|
/**
|
|
314
464
|
* Replaces a picker panel's "no matches" row — an icon, a sentence in the app's
|
|
@@ -635,5 +785,5 @@ interface DsTypeAhead {
|
|
|
635
785
|
/** @internal */
|
|
636
786
|
declare function createTypeAhead(): DsTypeAhead;
|
|
637
787
|
|
|
638
|
-
export { DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, disposeWithLeave, dropdownOverlay, dsDestination, focusIsInside, forwardOverlayTokens, nextControlId, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, trimmedText, valueControlBridge };
|
|
639
|
-
export type { DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsOverlayCloseCause };
|
|
788
|
+
export { CHART_RAMP_COLORS, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, bandScale, chartColors, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, describeSeries, disposeWithLeave, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, forwardOverlayTokens, largestRemainder, linearScale, nextControlId, nextRovingIndex, niceMax, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
789
|
+
export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, SummaryPoint };
|
|
@@ -327,6 +327,17 @@ declare function boundOr(fallback: number): (value: number | undefined) => numbe
|
|
|
327
327
|
*/
|
|
328
328
|
declare function isTextEntryTarget(event: Event): boolean;
|
|
329
329
|
|
|
330
|
+
/** True when `element` is showing less text than it holds, horizontally.
|
|
331
|
+
*
|
|
332
|
+
* Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the
|
|
333
|
+
* wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house
|
|
334
|
+
* `single-line-ellipsis` mixin earn a disclosure.
|
|
335
|
+
*
|
|
336
|
+
* Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its
|
|
337
|
+
* `clientWidth`, so a caller that clamps has to compare line counts instead.
|
|
338
|
+
*/
|
|
339
|
+
declare function isTextClipped(element: HTMLElement): boolean;
|
|
340
|
+
|
|
330
341
|
/**
|
|
331
342
|
* Index arithmetic for a keyboard cursor over a list of options.
|
|
332
343
|
*
|
|
@@ -437,5 +448,5 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
|
|
|
437
448
|
*/
|
|
438
449
|
type DsControlWidth = 'fill' | 'content';
|
|
439
450
|
|
|
440
|
-
export { DS_CONFIG, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, resolveWithConfig };
|
|
451
|
+
export { DS_CONFIG, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, resolveWithConfig };
|
|
441
452
|
export type { CardElevation, CardPadding, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DS_FIELD_WARNING_KIND, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
1
|
+
export { DS_FIELD_WARNING_KIND, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
2
2
|
export { ACCORDION, AccordionComponent, AccordionContract, AccordionItemComponent, AccordionItemRef } from '@ids-group-ltd/ids-design-system/components/accordion';
|
|
3
3
|
export { AlertComponent, AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';
|
|
4
4
|
export { AppLayoutComponent, DsScrollReset, LayoutNavigationService, LayoutScrollService, RailTriggerDirective } from '@ids-group-ltd/ids-design-system/components/app-layout';
|
|
@@ -8,24 +8,31 @@ export { AvatarComponent, AvatarSize, AvatarStatus, AvatarTintOptions, avatarTin
|
|
|
8
8
|
export { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';
|
|
9
9
|
export { 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
|
+
export { BarChartComponent, BarChartRow } from '@ids-group-ltd/ids-design-system/components/bar-chart';
|
|
11
12
|
export { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';
|
|
12
13
|
export { BreadcrumbItem, BreadcrumbsComponent, BreadcrumbsService } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';
|
|
13
14
|
export { ButtonColor, ButtonComponent, ButtonType, ButtonVariant } from '@ids-group-ltd/ids-design-system/components/button';
|
|
14
15
|
export { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';
|
|
15
16
|
export { CardComponent, CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/components/card';
|
|
17
|
+
export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
18
|
+
export { ChartActiveMark, ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
16
19
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
17
20
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
21
|
+
export { ColumnChartComponent, ColumnChartPoint } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
18
22
|
export { DatePickerComponent, DatePickerMode, DatePickerPreset, DatePickerValue, DateValue, RangeValue } from '@ids-group-ltd/ids-design-system/components/date-picker';
|
|
19
23
|
export { DescriptionItemComponent, DescriptionListComponent, DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';
|
|
20
24
|
export { DividerComponent, DividerSpacing, DividerVariant } from '@ids-group-ltd/ids-design-system/components/divider';
|
|
25
|
+
export { DonutChartComponent, DonutChartSlice } from '@ids-group-ltd/ids-design-system/components/donut-chart';
|
|
21
26
|
export { DrawerComponent, DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';
|
|
22
27
|
export { DropzoneComponent, DropzoneFile, DropzoneFileState } from '@ids-group-ltd/ids-design-system/components/dropzone';
|
|
23
28
|
export { EmptyStateComponent, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
24
29
|
export { DS_FIELD_GROUP, DsFieldGroupContext, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
25
30
|
export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
|
|
31
|
+
export { FunnelChartComponent, FunnelChartShape, FunnelChartStage } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
|
|
26
32
|
export { IconButtonComponent, IconButtonType, IconButtonVariant } from '@ids-group-ltd/ids-design-system/components/icon-button';
|
|
27
33
|
export { InputComponent, InputType } from '@ids-group-ltd/ids-design-system/components/input';
|
|
28
34
|
export { ContainerComponent, ContainerSize, InlineComponent, LayoutAlign, LayoutGap, LayoutJustify, StackComponent } from '@ids-group-ltd/ids-design-system/components/layout';
|
|
35
|
+
export { LineChartAxisMode, LineChartComponent, LineChartGaps, LineChartPoint, LineChartSeries } from '@ids-group-ltd/ids-design-system/components/line-chart';
|
|
29
36
|
export { ListComponent, ListItemComponent } from '@ids-group-ltd/ids-design-system/components/list';
|
|
30
37
|
export { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';
|
|
31
38
|
export { MenuComponent, MenuDividerComponent, MenuItemComponent } from '@ids-group-ltd/ids-design-system/components/menu';
|
|
@@ -69,7 +76,7 @@ export { TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-
|
|
|
69
76
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
70
77
|
export { TreeComponent, TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
71
78
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
72
|
-
export { DS_CONFIG, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
79
|
+
export { DS_CONFIG, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
73
80
|
export { DS_ICON_REGISTRY, DsIconRegistry, IconComponent, provideDsIcons } from '@ids-group-ltd/ids-design-system/icons';
|
|
74
81
|
export { BodyScrollLockService, DsOverlayCloseRef } from '@ids-group-ltd/ids-design-system/overlay';
|
|
75
82
|
export { DsThemeOptions, provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';
|