@ids-group-ltd/ids-design-system 0.14.2 → 0.14.4

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.
Files changed (111) hide show
  1. package/CHANGELOG.md +212 -0
  2. package/components.md +26 -26
  3. package/docs/agent/charts/column-series-component.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  8. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/docs/agent/charts/ds-pie-chart.md +1 -1
  11. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  12. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  13. package/docs/agent/charts/line-series-component.md +1 -1
  14. package/docs/agent/forms/ds-color-picker.md +1 -1
  15. package/docs/agent/forms/ds-date-picker.md +1 -1
  16. package/docs/agent/forms/ds-select.md +1 -1
  17. package/docs/agent/forms/ds-textarea.md +1 -1
  18. package/docs/agent/forms/ds-time-picker.md +1 -1
  19. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  20. package/docs/agent/foundations/tokens.md +1 -1
  21. package/docs/agent/navigation/ds-tabs.md +1 -1
  22. package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
  23. package/docs/agent/overlays/ds-drawer.md +1 -1
  24. package/docs/agent/overlays/ds-modal.md +1 -1
  25. package/docs/agent/overlays/ds-popover.md +1 -1
  26. package/docs/agent/overlays/ds-tooltip.md +3 -3
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +10 -11
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +16 -4
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +69 -11
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +27 -26
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +25 -10
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +10 -11
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +28 -11
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +13 -4
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +10 -11
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +9 -6
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +15 -13
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +3 -3
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +10 -11
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +48 -16
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +3 -4
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +147 -0
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -0
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +31 -9
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +16 -5
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +74 -18
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +6 -3
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +13 -5
  78. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  81. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  82. package/migrations/0.14.3.json +71 -0
  83. package/migrations/0.14.4.json +231 -0
  84. package/package.json +9 -1
  85. package/schematics/check-overrides/surface.json +19 -1
  86. package/styles/_chart-frame.scss +4 -6
  87. package/styles/_toast-overlay.scss +9 -0
  88. package/styles/_tokens.scss +6 -0
  89. package/themes/_semantic.scss +1 -0
  90. package/themes/dark/_theme.scss +1 -0
  91. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +9 -9
  92. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +4 -1
  93. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +5 -1
  94. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +15 -8
  95. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +4 -2
  96. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
  97. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +4 -2
  98. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +4 -1
  99. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +9 -9
  100. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +7 -3
  101. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +11 -11
  102. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +9 -9
  103. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +9 -3
  104. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +54 -0
  105. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +11 -3
  106. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -2
  107. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
  108. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
  109. package/types/ids-group-ltd-ids-design-system-components.d.ts +11 -2
  110. package/types/ids-group-ltd-ids-design-system-core.d.ts +6 -4
  111. package/types/ids-group-ltd-ids-design-system.d.ts +1 -0
@@ -0,0 +1,54 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ChartTooltipOrigin, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
3
+
4
+ /** `'data'` spans the readings' own min..max, which shows the shape: a dip from 99.5 to 93.1 fills
5
+ * the box. `'zero'` keeps zero on the scale, which shows the size: the same dip is a sliver at
6
+ * the top. */
7
+ type SparklineScale = 'data' | 'zero';
8
+
9
+ interface SparklinePoint {
10
+ readonly index: number;
11
+ readonly x: number;
12
+ readonly y: number;
13
+ }
14
+ interface SparklineGeometry {
15
+ readonly path: string;
16
+ readonly points: readonly SparklinePoint[];
17
+ }
18
+
19
+ /** A word-sized trend line: no axes, gridlines, legend or frame, a dot on the last reading, and a
20
+ * tooltip naming the reading under the pointer. Sized by `--ds-sparkline-width` and
21
+ * `--ds-sparkline-height`. */
22
+ declare class SparklineComponent {
23
+ /** One reading per step, oldest first. `null` breaks the line. */
24
+ readonly data: _angular_core.InputSignal<readonly (number | null)[]>;
25
+ /** What each reading is, for the tooltip. Left out, the tooltip prints the value alone. */
26
+ readonly categories: _angular_core.InputSignal<readonly string[]>;
27
+ /** Accessible name, and the series name in the tooltip. Left out, the sparkline is decorative
28
+ * and hidden from assistive technology: it is then taken to sit beside a value that says it. */
29
+ readonly label: _angular_core.InputSignal<string | null>;
30
+ readonly scale: _angular_core.InputSignal<SparklineScale>;
31
+ /** Shows the reading under the pointer, and under the keyboard where `label` makes the
32
+ * sparkline focusable: focus opens the last reading, the arrow keys, Home and End move. */
33
+ readonly tooltip: _angular_core.InputSignalWithTransform<boolean, unknown>;
34
+ /** Formats the value the tooltip prints. Unset, the locale's plain number format. */
35
+ readonly valueFormat: _angular_core.InputSignal<((value: number) => string) | null>;
36
+ private readonly locale;
37
+ private readonly canvas;
38
+ protected readonly focusable: _angular_core.Signal<boolean>;
39
+ protected readonly geometry: _angular_core.Signal<SparklineGeometry>;
40
+ protected readonly activePoint: _angular_core.WritableSignal<SparklinePoint | null>;
41
+ protected readonly shownPoint: _angular_core.Signal<SparklinePoint | null>;
42
+ protected readonly tooltipOrigin: _angular_core.WritableSignal<ChartTooltipOrigin | null>;
43
+ protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
44
+ protected onPointerMove(event: PointerEvent): void;
45
+ protected onFocus(): void;
46
+ protected onKeydown(event: KeyboardEvent): void;
47
+ protected clearActive(): void;
48
+ private activate;
49
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SparklineComponent, never>;
50
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SparklineComponent, "ds-sparkline", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
51
+ }
52
+
53
+ export { SparklineComponent };
54
+ export type { SparklineScale };
@@ -55,7 +55,8 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
55
55
  readonly ariaLabel: _angular_core.InputSignal<string | null>;
56
56
  /** Character limit - shows a live "{current}/{max}" counter below the field.
57
57
  * `maxLengthMode` decides what happens at the limit. Counts `value.length`, the
58
- * UTF-16 units the native `maxlength` counts, whitespace included. */
58
+ * UTF-16 units the native `maxlength` counts, whitespace included, unless
59
+ * `countTrimmed` is set. */
59
60
  readonly maxLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
60
61
  /** `'hard'` applies the native maxlength attribute, so typing and paste stop at
61
62
  * `maxLength`. `'soft'` lets the text run past it: the counter turns red, the
@@ -63,10 +64,18 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
63
64
  * (`aria-invalid`, with the counter as its description). Blocking a save on
64
65
  * it is the form's job. */
65
66
  readonly maxLengthMode: _angular_core.InputSignal<TextareaMaxLengthMode>;
67
+ /** Leaves whitespace at either end of the text out of the counter, the soft-limit
68
+ * state and the highlight, for a value the server stores trimmed. Whitespace
69
+ * between words still counts. The native `maxlength` of `maxLengthMode="hard"`
70
+ * counts every character regardless. */
71
+ readonly countTrimmed: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ private readonly countedRange;
73
+ protected readonly currentLength: _angular_core.Signal<number>;
66
74
  protected readonly overLimitBy: _angular_core.Signal<number>;
67
75
  protected readonly overflowParts: _angular_core.Signal<{
68
76
  within: string;
69
77
  over: string;
78
+ after: string;
70
79
  }>;
71
80
  /** Native `minlength` attribute. */
72
81
  readonly minLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
@@ -84,7 +93,6 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
84
93
  protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
85
94
  /** Effective disabled — own `disabled` input OR the reactive-forms state. */
86
95
  protected readonly isDisabled: _angular_core.Signal<boolean>;
87
- protected readonly currentLength: _angular_core.Signal<number>;
88
96
  protected readonly counterId: _angular_core.Signal<string | null>;
89
97
  protected readonly describedBy: _angular_core.Signal<string | null>;
90
98
  protected readonly nativeMaxLength: _angular_core.Signal<number | null>;
@@ -111,7 +119,7 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
111
119
  /** Selects the whole text, as `HTMLTextAreaElement.select()` does. */
112
120
  select(): void;
113
121
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, 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>;
122
+ 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; }; "countTrimmed": { "alias": "countTrimmed"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
115
123
  }
116
124
 
117
125
  export { TextareaComponent };
@@ -1,6 +1,6 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components_field_message from '@ids-group-ltd/ids-design-system/components/field-message';
2
2
  import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
3
- import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
3
+ import { DsControlValueAccessor, DsStaticPreview, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
4
4
  import * as _angular_core from '@angular/core';
5
5
  import { OnDestroy, ElementRef, TemplateRef } from '@angular/core';
6
6
  import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
@@ -92,6 +92,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
92
92
  constructor();
93
93
  private readonly config;
94
94
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
95
+ protected readonly preview: DsStaticPreview;
95
96
  private readonly overlay;
96
97
  private readonly vcr;
97
98
  private readonly injector;
@@ -191,7 +192,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
191
192
  private minutesOf;
192
193
  private laterOf;
193
194
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
194
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
195
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
195
196
  }
196
197
 
197
198
  export { TimePickerComponent };
@@ -26,6 +26,14 @@ declare class TooltipDirective implements OnDestroy {
26
26
  * what it was handed. A tip whose text the host already contains sets no `aria-describedby`;
27
27
  * one given a `dsTooltip` that says more than the host does describes it as usual. */
28
28
  readonly dsTooltipWhenClipped: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
+ /** A selector for the element inside the host whose clipping `dsTooltipWhenClipped` tests and
30
+ * whose text it discloses. It lets the pointer area be a whole row while the text is one part
31
+ * of it. Resolved on every open, so the element may come and go with the host's content; while
32
+ * nothing matches, no clipped tip opens. */
33
+ readonly dsTooltipTextSelector: _angular_core.InputSignal<string | null>;
34
+ get hostElement(): HTMLElement;
35
+ private textElement;
36
+ isClipped(): boolean;
29
37
  private tipText;
30
38
  /** A clipped host's full text is already in the DOM, so a screen reader has it; describing
31
39
  * the element with it again would announce it twice. */
@@ -62,12 +70,13 @@ declare class TooltipDirective implements OnDestroy {
62
70
  private scheduleShow;
63
71
  protected onClose(): void;
64
72
  private disposeRef;
73
+ protected onKeydown(): void;
65
74
  protected onEscape(): void;
66
75
  private show;
67
76
  private positionFor;
68
77
  ngOnDestroy(): void;
69
78
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipDirective, never>;
70
- 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>;
79
+ 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; }; "dsTooltipTextSelector": { "alias": "dsTooltipTextSelector"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
71
80
  }
72
81
 
73
82
  declare class TooltipPanelComponent {
@@ -62,6 +62,9 @@ declare class WaterfallChartComponent {
62
62
  /** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card
63
63
  * the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
64
64
  readonly frame: _angular_core.InputSignal<ChartFrame | null>;
65
+ /** Whether the tooltip draws a colour dot beside each reading. Unset falls back to
66
+ * `DS_CONFIG.chart.tooltipSwatches`, then draws them for up to four readings. */
67
+ readonly tooltipSwatches: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
65
68
  /** The annex table under the plot. Unset falls back to `DS_CONFIG.chart.dataTable`, then
66
69
  * `'none'`. It prints each step's direction, its own reading and the running total. */
67
70
  readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
@@ -120,7 +123,7 @@ declare class WaterfallChartComponent {
120
123
  protected readonly skeletonBars: _angular_core.Signal<unknown[]>;
121
124
  protected onPointClicked(point: ColumnSeriesPoint): void;
122
125
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<WaterfallChartComponent, 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>;
126
+ 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; }; "tooltipSwatches": { "alias": "tooltipSwatches"; "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>;
124
127
  }
125
128
 
126
129
  export { WaterfallChartComponent };
@@ -1041,11 +1041,19 @@ interface ChartDefaultInputs {
1041
1041
  /** Absent on a chart with nothing to pin. */
1042
1042
  readonly pinOnClick?: Signal<boolean | null>;
1043
1043
  readonly hoverDelayMs?: Signal<number | null>;
1044
+ /** Absent on a chart with no tooltip of its own. */
1045
+ readonly tooltipSwatches?: Signal<boolean | null>;
1044
1046
  }
1045
1047
  /** How long a resting pointer waits before a chart answers it, when nothing sets it.
1046
1048
  *
1047
1049
  * @internal */
1048
- declare const CHART_HOVER_DELAY_MS = 500;
1050
+ declare const CHART_HOVER_DELAY_MS = 0;
1051
+ /** How long a tooltip outlives the pointer leaving its mark, when nothing sets it. Long enough
1052
+ * that the pointer crossing the gap to the next mark finds the same panel and it glides there,
1053
+ * where a shorter wait closes it and opens a new one.
1054
+ *
1055
+ * @internal */
1056
+ declare const CHART_TOOLTIP_LINGER_MS = 500;
1049
1057
  /** Each resolved input → `DS_CONFIG.chart` → the built-in; copy resolves input → `DS_INTL.chart`.
1050
1058
  * Call from an injection context.
1051
1059
  *
@@ -1060,7 +1068,8 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
1060
1068
  tooltipLingerMs: Signal<number>;
1061
1069
  pinOnClick: Signal<boolean>;
1062
1070
  hoverDelayMs: Signal<number>;
1071
+ tooltipSwatches: Signal<boolean | "auto">;
1063
1072
  };
1064
1073
 
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 };
1074
+ export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_TOOLTIP_LINGER_MS, 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
1075
  export type { BandScale, ChartDwell, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };
@@ -375,19 +375,21 @@ interface DsConfig {
375
375
  * global stylesheet. */
376
376
  frame?: ChartFrame;
377
377
  /** How long every chart's tooltip stays after the pointer leaves the mark, in milliseconds.
378
- * Default 0. Raise it only where the panels carry something a reader has to reach — WCAG
379
- * 1.4.13's hoverable clause — which is a property of what an app puts in its tooltips rather
380
- * than of one plot. About 140 is enough to cross the gap at an ordinary pointer speed. */
378
+ * Default 500: the pointer crossing to the next mark finds the same panel, which glides there
379
+ * instead of closing and opening again. Zero takes it away at once. */
381
380
  tooltipLingerMs?: number;
382
381
  /** Whether a click on a mark, or on a category under the category cursor, holds its tooltip
383
382
  * and highlight in place, for every chart. Default `true`. A held mark shows a pin disc; a
384
383
  * second click, Escape or a press elsewhere lets go. A tap holds whatever this says. */
385
384
  pinOnClick?: boolean;
386
385
  /** 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,
386
+ * it - highlight and tooltip alike - in milliseconds. Default 0. Once a chart has answered,
388
387
  * the next mark answers at once until the pointer leaves the chart; focus, a tap and a click
389
388
  * that pins answer at once. */
390
389
  hoverDelayMs?: number;
390
+ /** Whether every chart's tooltip draws a colour dot beside each reading. Unset draws them for up
391
+ * to four readings and leaves them out from five, where a column of dots reads as noise. */
392
+ tooltipSwatches?: boolean;
391
393
  /** How every chart formats its values, the annex table and the generated description included.
392
394
  * Default groups digits in `locale` and abbreviates on a tick (`1.2M`). The same reason
393
395
  * `datePicker.locale` lives here: a number reads one way in an app, and a formatter passed
@@ -59,6 +59,7 @@ export { BrandNameDirective, SIDENAV, SidenavComponent, SidenavContract, Sidenav
59
59
  export { SidenavAlertItem, SidenavFooterComponent, SidenavSearchProvider, SidenavSearchResult } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';
60
60
  export { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';
61
61
  export { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';
62
+ export { SparklineComponent, SparklineScale } from '@ids-group-ltd/ids-design-system/components/sparkline';
62
63
  export { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';
63
64
  export { SplitButtonComponent, SplitButtonItem, SplitButtonVariant } from '@ids-group-ltd/ids-design-system/components/split-button';
64
65
  export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';