@ids-group-ltd/ids-design-system 0.14.1 → 0.14.3
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 +336 -0
- package/components.md +41 -38
- 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-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-modal.md +1 -1
- package/docs/agent/overlays/ds-popover.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +4 -4
- 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-bottom-sheet.mjs +16 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.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-color-picker.mjs +25 -10
- 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 +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-date-picker.mjs +28 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.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-drawer.mjs +13 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.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 +5 -3
- 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 +5 -4
- 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 +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.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 +84 -10
- 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 +16 -5
- 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 +138 -10
- 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 +87 -11
- 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/migrations/0.14.3.json +71 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +36 -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/themes/_semantic.scss +1 -0
- package/themes/dark/_theme.scss +1 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -10
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +4 -1
- 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-color-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +4 -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 +31 -5
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +20 -2
- 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
|
@@ -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';
|