@ids-group-ltd/ids-design-system 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +243 -0
- package/components.md +29 -26
- package/docs/agent/INDEX.md +3 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +3 -3
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +3 -3
- package/docs/agent/charts/ds-config.md +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +3 -3
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +2 -2
- package/docs/agent/charts/ds-pie-chart.md +2 -2
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-description-list.md +3 -0
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +1 -0
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/tables/ds-table.md +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +22 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +19 -7
- 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 +180 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +175 -93
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +10 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +32 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +47 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +11 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +4 -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-pagination.mjs +11 -5
- 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 +15 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +35 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +32 -7
- 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 +66 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +61 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +78 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +25 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +85 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.14.2.json +427 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +31 -2
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +10 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_overlay-motion.scss +6 -0
- package/styles/_tokens.scss +19 -4
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -10
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +33 -2
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +151 -103
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +23 -11
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +29 -2
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +8 -8
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +17 -7
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +20 -2
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +13 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +22 -4
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +33 -6
- package/types/ids-group-ltd-ids-design-system-core.d.ts +14 -1
- package/types/ids-group-ltd-ids-design-system.d.ts +1 -1
|
@@ -13,7 +13,8 @@ declare class PaginationComponent {
|
|
|
13
13
|
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
14
14
|
/** Preset choices offered in the page-size dropdown. */
|
|
15
15
|
readonly pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
16
|
-
/** Shows the "Showing X
|
|
16
|
+
/** Shows the range label, `DS_INTL.pagination.range`: "Showing X-Y of Z", or "Showing 0 of 0"
|
|
17
|
+
* on an empty list. */
|
|
17
18
|
readonly showLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
19
|
/** Shows the rows-per-page dropdown. Turn it off for a screen with a fixed
|
|
19
20
|
* page size — otherwise the control offers a choice the host won't honour. */
|
|
@@ -34,6 +35,7 @@ declare class PaginationComponent {
|
|
|
34
35
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
36
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
36
37
|
protected readonly navClass: _angular_core.Signal<string>;
|
|
38
|
+
protected readonly empty: _angular_core.Signal<boolean>;
|
|
37
39
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
38
40
|
protected readonly pageItems: _angular_core.Signal<(number | "ellipsis")[]>;
|
|
39
41
|
protected readonly rangeLabel: _angular_core.Signal<string>;
|
|
@@ -83,7 +83,21 @@ declare class PieChartComponent {
|
|
|
83
83
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
84
84
|
* `LOCALE_ID`. */
|
|
85
85
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
86
|
-
|
|
86
|
+
/** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,
|
|
87
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
88
|
+
* `true`. `sliceClicked` fires either way - pinning is a state, not a handler. */
|
|
89
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
90
|
+
protected readonly defaults: {
|
|
91
|
+
locale: string;
|
|
92
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
93
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
94
|
+
emptyText: _angular_core.Signal<string>;
|
|
95
|
+
errorText: _angular_core.Signal<string>;
|
|
96
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
97
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
98
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
99
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
100
|
+
};
|
|
87
101
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
88
102
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
89
103
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -97,11 +111,6 @@ declare class PieChartComponent {
|
|
|
97
111
|
/** The slice that was clicked, or activated with Enter or Space. Fires whether or not
|
|
98
112
|
* `interactive` is set. */
|
|
99
113
|
readonly sliceClicked: _angular_core.OutputEmitterRef<PieChartSlice>;
|
|
100
|
-
/** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press
|
|
101
|
-
* outside releases it. Off by default: a click is already the drill-down hook, and a mark left
|
|
102
|
-
* lit after the pointer has gone needs a reader who knows why it is lit. `sliceClicked` fires
|
|
103
|
-
* either way — pinning is a state, not a handler. */
|
|
104
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
105
114
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
106
115
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
107
116
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
@@ -124,6 +133,7 @@ declare class PieChartComponent {
|
|
|
124
133
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
125
134
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
126
135
|
private readonly legendHighlight;
|
|
136
|
+
private readonly legendDwell;
|
|
127
137
|
/** A legend item stands for its arc, so it opens the arc's tooltip over the ARC and dims the
|
|
128
138
|
* other slices — the same state hovering the arc itself produces. */
|
|
129
139
|
protected onLegendEnter(index: number, event: Event): void;
|
|
@@ -175,7 +185,7 @@ declare class PieChartComponent {
|
|
|
175
185
|
* is still empty. */
|
|
176
186
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
177
187
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
178
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "
|
|
188
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
179
189
|
}
|
|
180
190
|
|
|
181
191
|
export { PieChartComponent };
|
|
@@ -112,9 +112,23 @@ declare class ScatterChartComponent {
|
|
|
112
112
|
/** Fades every mark but the one under the pointer. Off by default: on a scatter the pile-up IS
|
|
113
113
|
* the reading, and dimming the neighbours takes exactly that away. */
|
|
114
114
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
/** Holds the hovered mark and its tooltip in place when it is clicked, until a second click,
|
|
116
|
+
* Escape or a press outside releases it. `pointClicked` fires either way. Unset falls back to
|
|
117
|
+
* `DS_CONFIG.chart.pinOnClick`, then `true`. */
|
|
118
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
115
119
|
/** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
|
|
116
120
|
readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
|
|
117
|
-
|
|
121
|
+
protected readonly defaults: {
|
|
122
|
+
locale: string;
|
|
123
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
124
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
125
|
+
emptyText: _angular_core.Signal<string>;
|
|
126
|
+
errorText: _angular_core.Signal<string>;
|
|
127
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
128
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
129
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
130
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
131
|
+
};
|
|
118
132
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
119
133
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
120
134
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -180,12 +194,16 @@ declare class ScatterChartComponent {
|
|
|
180
194
|
protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
|
|
181
195
|
constructor();
|
|
182
196
|
protected onPointOver(event: Event): void;
|
|
197
|
+
protected onPointOut(event: PointerEvent): void;
|
|
198
|
+
protected onPointPress(event: Event): void;
|
|
199
|
+
protected readonly pinnedPoint: _angular_core.Signal<PlacedPoint | null>;
|
|
200
|
+
protected readonly pinLift: number;
|
|
183
201
|
protected onPointActivate(event: Event): void;
|
|
184
202
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
185
203
|
protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
|
|
186
204
|
protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
|
|
187
205
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
188
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
206
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
189
207
|
}
|
|
190
208
|
|
|
191
209
|
export { ScatterChartComponent };
|
|
@@ -449,8 +449,10 @@ declare class TableComponent<T extends object> {
|
|
|
449
449
|
readonly sortAnnouncementResolved: _angular_core.Signal<(label: string, dir: SortDirection) => string>;
|
|
450
450
|
/**
|
|
451
451
|
* Wording for the row-range announcement, so it can be translated. Receives
|
|
452
|
-
* the 1-based first and last row on screen and the total
|
|
453
|
-
*
|
|
452
|
+
* the 1-based first and last row on screen and the total. A paged table with
|
|
453
|
+
* no rows announces its empty state's text instead, and calls this with
|
|
454
|
+
* `(0, 0, 0)` only when that state has none; return an empty string to say
|
|
455
|
+
* nothing. Unset falls back to `DS_INTL.pagination.range`.
|
|
454
456
|
*/
|
|
455
457
|
readonly rangeAnnouncement: _angular_core.InputSignal<((first: number, last: number, total: number) => string) | null>;
|
|
456
458
|
readonly rangeAnnouncementResolved: _angular_core.Signal<(first: number, last: number, total: number) => string>;
|
|
@@ -651,6 +653,8 @@ declare class TableComponent<T extends object> {
|
|
|
651
653
|
protected readonly showsLoadingSpace: _angular_core.Signal<boolean>;
|
|
652
654
|
protected readonly layout: DsTableLayout<T>;
|
|
653
655
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
656
|
+
private readonly emptyCell;
|
|
657
|
+
private readonly emptyCellText;
|
|
654
658
|
private readonly toolbarAnchor;
|
|
655
659
|
private readonly headerUtilityAnchor;
|
|
656
660
|
private readonly overlaysAnchor;
|
|
@@ -31,8 +31,11 @@ declare class TabsComponent {
|
|
|
31
31
|
/** When true, a tab's content is instantiated only on first activation and
|
|
32
32
|
kept alive thereafter. When false (default), all panels render eagerly. */
|
|
33
33
|
readonly lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
-
/** When true,
|
|
35
|
-
|
|
34
|
+
/** When true, a horizontal strip scrolls inside its own box and shows
|
|
35
|
+
previous/next arrows while tabs lie beyond its edges, each arrow hidden at
|
|
36
|
+
its own edge. The active tab is scrolled into view on selection. When
|
|
37
|
+
false, tabs keep their width and a strip too long for its container
|
|
38
|
+
overflows it. */
|
|
36
39
|
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
37
40
|
/** When true, each tab shows a close button. Clicking it emits tabClosed with
|
|
38
41
|
the tab's value (or label as fallback) and does not switch to that tab. */
|
|
@@ -73,6 +76,12 @@ declare class TabsComponent {
|
|
|
73
76
|
readonly tabClosed: _angular_core.OutputEmitterRef<string>;
|
|
74
77
|
private readonly host;
|
|
75
78
|
private readonly uid;
|
|
79
|
+
private readonly tablist;
|
|
80
|
+
protected readonly scrollsHorizontally: _angular_core.Signal<boolean>;
|
|
81
|
+
private readonly overflowing;
|
|
82
|
+
protected readonly showScrollArrows: _angular_core.Signal<boolean>;
|
|
83
|
+
protected readonly canScrollPrevious: _angular_core.WritableSignal<boolean>;
|
|
84
|
+
protected readonly canScrollNext: _angular_core.WritableSignal<boolean>;
|
|
76
85
|
protected readonly tabs: _angular_core.Signal<readonly TabComponent[]>;
|
|
77
86
|
private readonly injector;
|
|
78
87
|
private router;
|
|
@@ -107,6 +116,8 @@ declare class TabsComponent {
|
|
|
107
116
|
protected isPanelVisible(index: number): boolean;
|
|
108
117
|
protected tabClasses(index: number, disabled: boolean): string;
|
|
109
118
|
protected select(index: number, disabled: boolean): void;
|
|
119
|
+
protected updateScrollArrows(): void;
|
|
120
|
+
protected scrollPage(towardEnd: boolean): void;
|
|
110
121
|
protected onCloseClick(event: MouseEvent, index: number): void;
|
|
111
122
|
private closeTab;
|
|
112
123
|
/** Roving keyboard navigation across the tablist (APG automatic activation).
|
|
@@ -6,10 +6,12 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
|
|
|
6
6
|
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
7
7
|
|
|
8
8
|
type TextareaResize = 'none' | 'vertical' | 'horizontal' | 'both';
|
|
9
|
+
type TextareaMaxLengthMode = 'hard' | 'soft';
|
|
9
10
|
|
|
10
11
|
declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
11
12
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
12
13
|
private readonly control;
|
|
14
|
+
private readonly overflowMirror;
|
|
13
15
|
/** Text value, two-way bound. */
|
|
14
16
|
readonly value: _angular_core.ModelSignal<string>;
|
|
15
17
|
/** Field height — sm/md/lg.
|
|
@@ -51,9 +53,21 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
51
53
|
readonly resize: _angular_core.InputSignal<TextareaResize>;
|
|
52
54
|
/** Accessible name when no visible `label` is provided. */
|
|
53
55
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
+
/** Character limit - shows a live "{current}/{max}" counter below the field.
|
|
57
|
+
* `maxLengthMode` decides what happens at the limit. Counts `value.length`, the
|
|
58
|
+
* UTF-16 units the native `maxlength` counts, whitespace included. */
|
|
56
59
|
readonly maxLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
|
|
60
|
+
/** `'hard'` applies the native maxlength attribute, so typing and paste stop at
|
|
61
|
+
* `maxLength`. `'soft'` lets the text run past it: the counter turns red, the
|
|
62
|
+
* characters past the limit are highlighted, and the field reports invalid
|
|
63
|
+
* (`aria-invalid`, with the counter as its description). Blocking a save on
|
|
64
|
+
* it is the form's job. */
|
|
65
|
+
readonly maxLengthMode: _angular_core.InputSignal<TextareaMaxLengthMode>;
|
|
66
|
+
protected readonly overLimitBy: _angular_core.Signal<number>;
|
|
67
|
+
protected readonly overflowParts: _angular_core.Signal<{
|
|
68
|
+
within: string;
|
|
69
|
+
over: string;
|
|
70
|
+
}>;
|
|
57
71
|
/** Native `minlength` attribute. */
|
|
58
72
|
readonly minLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
|
|
59
73
|
/** Native `pattern` attribute — signal forms sends the schema's RegExp list. */
|
|
@@ -72,10 +86,14 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
72
86
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
73
87
|
protected readonly currentLength: _angular_core.Signal<number>;
|
|
74
88
|
protected readonly counterId: _angular_core.Signal<string | null>;
|
|
89
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
90
|
+
protected readonly nativeMaxLength: _angular_core.Signal<number | null>;
|
|
75
91
|
protected readonly wrapperClasses: _angular_core.Signal<string>;
|
|
76
92
|
protected readonly autosizeMinHeight: _angular_core.Signal<string | null>;
|
|
77
93
|
protected readonly autosizeMaxHeight: _angular_core.Signal<string | null>;
|
|
78
94
|
protected readonly effectiveResize: _angular_core.Signal<TextareaResize>;
|
|
95
|
+
constructor();
|
|
96
|
+
protected syncOverflowScroll(): void;
|
|
79
97
|
/** Move keyboard focus to the native textarea — public so a host can drive it
|
|
80
98
|
* deliberately, e.g. focusing the first invalid field on a failed submit. */
|
|
81
99
|
focus(options?: FocusOptions): void;
|
|
@@ -93,8 +111,8 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
93
111
|
/** Selects the whole text, as `HTMLTextAreaElement.select()` does. */
|
|
94
112
|
select(): void;
|
|
95
113
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
96
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
114
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "maxLengthMode": { "alias": "maxLengthMode"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
97
115
|
}
|
|
98
116
|
|
|
99
117
|
export { TextareaComponent };
|
|
100
|
-
export type { TextareaResize };
|
|
118
|
+
export type { TextareaMaxLengthMode, TextareaResize };
|
|
@@ -23,9 +23,13 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
23
23
|
*
|
|
24
24
|
* With this on, `dsTooltip` may be left empty and the host's own text is disclosed. That is
|
|
25
25
|
* what makes it usable on projected content, where the component holding the tip cannot know
|
|
26
|
-
* what it was handed.
|
|
26
|
+
* what it was handed. A tip whose text the host already contains sets no `aria-describedby`;
|
|
27
|
+
* one given a `dsTooltip` that says more than the host does describes it as usual. */
|
|
27
28
|
readonly dsTooltipWhenClipped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
29
|
private tipText;
|
|
30
|
+
/** A clipped host's full text is already in the DOM, so a screen reader has it; describing
|
|
31
|
+
* the element with it again would announce it twice. */
|
|
32
|
+
private disclosesOwnText;
|
|
29
33
|
private ref;
|
|
30
34
|
private timer;
|
|
31
35
|
private readonly tipId;
|
|
@@ -47,6 +51,11 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
47
51
|
* pointing at a panel that no longer exists.
|
|
48
52
|
*/
|
|
49
53
|
private describedElement;
|
|
54
|
+
private detachAncestor;
|
|
55
|
+
constructor();
|
|
56
|
+
/** `:focus-visible` keeps a click, which focuses the ancestor too, from opening it. Only the
|
|
57
|
+
* first clipped host of one ancestor opens, so two panels never stack. */
|
|
58
|
+
private listenToFocusableAncestor;
|
|
50
59
|
protected onPointerEnter(): void;
|
|
51
60
|
protected onFocusIn(event: FocusEvent): void;
|
|
52
61
|
protected onFocusOut(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
2
|
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
4
|
+
import { ColumnSeriesComponent, ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
5
5
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
6
|
|
|
7
7
|
/** What a bar is, which decides where it stands rather than how it is coloured.
|
|
@@ -79,6 +79,15 @@ declare class WaterfallChartComponent {
|
|
|
79
79
|
/** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.
|
|
80
80
|
* The sign a delta carries is added around it, so a formatter never has to know about one. */
|
|
81
81
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
82
|
+
/** Holds the clicked step and its tooltip in place, with a pin disc on it, until a second click,
|
|
83
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
84
|
+
* `true`. `barClicked` fires either way - pinning is a state, not a handler. */
|
|
85
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
86
|
+
/** Milliseconds between one step's entrance and the next; a long waterfall narrows the step to
|
|
87
|
+
* arrive within 260ms. `0` is no stagger. */
|
|
88
|
+
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
89
|
+
protected readonly series: _angular_core.Signal<ColumnSeriesComponent | undefined>;
|
|
90
|
+
protected readonly pinned: _angular_core.Signal<boolean>;
|
|
82
91
|
/** The clicked datum, as it was given. Fires on click and on Enter or Space. */
|
|
83
92
|
readonly barClicked: _angular_core.OutputEmitterRef<WaterfallChartBar>;
|
|
84
93
|
private readonly defaults;
|
|
@@ -111,7 +120,7 @@ declare class WaterfallChartComponent {
|
|
|
111
120
|
protected readonly skeletonBars: _angular_core.Signal<unknown[]>;
|
|
112
121
|
protected onPointClicked(point: ColumnSeriesPoint): void;
|
|
113
122
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WaterfallChartComponent, never>;
|
|
114
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WaterfallChartComponent, "ds-waterfall-chart", ["dsWaterfallChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "showConnectors": { "alias": "showConnectors"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "barClicked": "barClicked"; }, never, never, true, never>;
|
|
123
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WaterfallChartComponent, "ds-waterfall-chart", ["dsWaterfallChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "showConnectors": { "alias": "showConnectors"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "barClicked": "barClicked"; }, never, never, true, never>;
|
|
115
124
|
}
|
|
116
125
|
|
|
117
126
|
export { WaterfallChartComponent };
|
|
@@ -247,11 +247,12 @@ declare function bandScale(count: number, rangeSize: number, paddingRatio: numbe
|
|
|
247
247
|
* @internal */
|
|
248
248
|
declare function roundStepAtLeast(minimumStep: number): number;
|
|
249
249
|
|
|
250
|
-
/** Entrance delay for the mark at `index`, in milliseconds
|
|
251
|
-
*
|
|
250
|
+
/** Entrance delay for the mark at `index` of `count`, in milliseconds: `stepMs` apart, narrowed so
|
|
251
|
+
* the last mark starts within the budget. Spread evenly rather than capped, so a long series still
|
|
252
|
+
* arrives in order instead of landing all at once past the cap. `stepMs` of `0` means no stagger.
|
|
252
253
|
*
|
|
253
254
|
* @internal */
|
|
254
|
-
declare function staggerDelay(index: number, stepMs: number): number;
|
|
255
|
+
declare function staggerDelay(index: number, count: number, stepMs: number): number;
|
|
255
256
|
/** Starts a mark's exit, bound as `(animate.leave)="leaveMark($event)"`: `_chart-motion.scss`
|
|
256
257
|
* animates `.mark-leave`, and Angular removes the mark on its `animationend`. The function form,
|
|
257
258
|
* not `animate.leave="mark-leave"`: the class form calls `getAnimations()` once per leaving mark,
|
|
@@ -260,6 +261,23 @@ declare function staggerDelay(index: number, stepMs: number): number;
|
|
|
260
261
|
* @internal */
|
|
261
262
|
declare function leaveMark(event: AnimationCallbackEvent): void;
|
|
262
263
|
|
|
264
|
+
/** Delays a chart's answer to a resting pointer.
|
|
265
|
+
*
|
|
266
|
+
* @internal */
|
|
267
|
+
interface ChartDwell {
|
|
268
|
+
/** Runs `answer` once the pointer has rested on `target` for the delay. Focus, touch and a chart
|
|
269
|
+
* that has already answered the pointer run it at once. Asking again for the same `target`
|
|
270
|
+
* keeps the running wait and swaps in the newer `answer`. */
|
|
271
|
+
schedule(target: unknown, answer: () => void, event: Event): void;
|
|
272
|
+
/** Drops a wait that has not run yet. */
|
|
273
|
+
cancel(): void;
|
|
274
|
+
}
|
|
275
|
+
/** Call from anywhere; the wait is cancelled by the caller's own `leave`. `delayMs` is read at each
|
|
276
|
+
* `schedule`, so a config that changes is picked up on the next rest.
|
|
277
|
+
*
|
|
278
|
+
* @internal */
|
|
279
|
+
declare function chartDwell(delayMs: () => number): ChartDwell;
|
|
280
|
+
|
|
263
281
|
/** Where a roving tabindex lands after `key`, or `null` when the key does not traverse.
|
|
264
282
|
*
|
|
265
283
|
* The ends wrap, as they do in `ds-radio-group`: a chart's marks are a closed set, and Home and
|
|
@@ -1008,7 +1026,7 @@ interface DsTypeAhead {
|
|
|
1008
1026
|
/** @internal */
|
|
1009
1027
|
declare function createTypeAhead(): DsTypeAhead;
|
|
1010
1028
|
|
|
1011
|
-
/** The
|
|
1029
|
+
/** The inputs every chart carries for the decisions an app makes once rather than per plot.
|
|
1012
1030
|
*
|
|
1013
1031
|
* @internal */
|
|
1014
1032
|
interface ChartDefaultInputs {
|
|
@@ -1020,7 +1038,14 @@ interface ChartDefaultInputs {
|
|
|
1020
1038
|
readonly valueFormat: Signal<ChartValueFormat | null>;
|
|
1021
1039
|
/** Absent on a chart with no tooltip of its own. */
|
|
1022
1040
|
readonly tooltipLingerMs?: Signal<number | null>;
|
|
1041
|
+
/** Absent on a chart with nothing to pin. */
|
|
1042
|
+
readonly pinOnClick?: Signal<boolean | null>;
|
|
1043
|
+
readonly hoverDelayMs?: Signal<number | null>;
|
|
1023
1044
|
}
|
|
1045
|
+
/** How long a resting pointer waits before a chart answers it, when nothing sets it.
|
|
1046
|
+
*
|
|
1047
|
+
* @internal */
|
|
1048
|
+
declare const CHART_HOVER_DELAY_MS = 500;
|
|
1024
1049
|
/** Each resolved input → `DS_CONFIG.chart` → the built-in; copy resolves input → `DS_INTL.chart`.
|
|
1025
1050
|
* Call from an injection context.
|
|
1026
1051
|
*
|
|
@@ -1033,7 +1058,9 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
|
1033
1058
|
errorText: Signal<string>;
|
|
1034
1059
|
valueFormat: Signal<ChartValueFormat>;
|
|
1035
1060
|
tooltipLingerMs: Signal<number>;
|
|
1061
|
+
pinOnClick: Signal<boolean>;
|
|
1062
|
+
hoverDelayMs: Signal<number>;
|
|
1036
1063
|
};
|
|
1037
1064
|
|
|
1038
|
-
export { CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
1039
|
-
export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };
|
|
1065
|
+
export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDwell, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
1066
|
+
export type { BandScale, ChartDwell, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };
|
|
@@ -379,6 +379,15 @@ interface DsConfig {
|
|
|
379
379
|
* 1.4.13's hoverable clause — which is a property of what an app puts in its tooltips rather
|
|
380
380
|
* than of one plot. About 140 is enough to cross the gap at an ordinary pointer speed. */
|
|
381
381
|
tooltipLingerMs?: number;
|
|
382
|
+
/** Whether a click on a mark, or on a category under the category cursor, holds its tooltip
|
|
383
|
+
* and highlight in place, for every chart. Default `true`. A held mark shows a pin disc; a
|
|
384
|
+
* second click, Escape or a press elsewhere lets go. A tap holds whatever this says. */
|
|
385
|
+
pinOnClick?: boolean;
|
|
386
|
+
/** How long the pointer rests on a mark, a category or a legend entry before the chart answers
|
|
387
|
+
* it - highlight and tooltip alike - in milliseconds. Default 500. Once a chart has answered,
|
|
388
|
+
* the next mark answers at once until the pointer leaves the chart; focus, a tap and a click
|
|
389
|
+
* that pins answer at once. */
|
|
390
|
+
hoverDelayMs?: number;
|
|
382
391
|
/** How every chart formats its values, the annex table and the generated description included.
|
|
383
392
|
* Default groups digits in `locale` and abbreviates on a tick (`1.2M`). The same reason
|
|
384
393
|
* `datePicker.locale` lives here: a number reads one way in an app, and a formatter passed
|
|
@@ -489,6 +498,9 @@ interface DsIntl {
|
|
|
489
498
|
readonly showPassword: string;
|
|
490
499
|
/** `'Hide password'` - input. */
|
|
491
500
|
readonly hidePassword: string;
|
|
501
|
+
/** `'1 character over the limit'` / `` `${excess} characters over the limit` `` - textarea
|
|
502
|
+
* `maxLengthMode="soft"`. */
|
|
503
|
+
readonly overLimit: (excess: number) => string;
|
|
492
504
|
};
|
|
493
505
|
readonly picker: {
|
|
494
506
|
/** `'Select…'` - autocomplete, multi-select `placeholder` default. */
|
|
@@ -676,7 +688,8 @@ interface DsIntl {
|
|
|
676
688
|
readonly previous: string;
|
|
677
689
|
readonly next: string;
|
|
678
690
|
readonly page: (page: number) => string;
|
|
679
|
-
/** `` `Showing ${first}–${last} of ${total}`
|
|
691
|
+
/** `` `Showing ${first}–${last} of ${total}` ``, `'Showing 0 of 0'` for an empty list, which the
|
|
692
|
+
* pager passes as `(0, 0, 0)` - pager AND `ds-table` `rangeAnnouncement`. */
|
|
680
693
|
readonly range: (first: number, last: number, total: number) => string;
|
|
681
694
|
readonly perPage: (size: number) => string;
|
|
682
695
|
readonly rowsPerPage: string;
|
|
@@ -71,7 +71,7 @@ export { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table
|
|
|
71
71
|
export { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';
|
|
72
72
|
export { TabComponent, TabsComponent, TabsOrientation, TabsVariant } from '@ids-group-ltd/ids-design-system/components/tabs';
|
|
73
73
|
export { TagComponent, TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';
|
|
74
|
-
export { TextareaComponent, TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';
|
|
74
|
+
export { TextareaComponent, TextareaMaxLengthMode, TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';
|
|
75
75
|
export { TimeFormat, TimePickerComponent, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue } from '@ids-group-ltd/ids-design-system/components/time-picker';
|
|
76
76
|
export { TimelineComponent, TimelineItemComponent, TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';
|
|
77
77
|
export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, ToastAction, ToastComponent, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastRegionComponent, ToastService, ToastVariant } from '@ids-group-ltd/ids-design-system/components/toast';
|