@ids-group-ltd/ids-design-system 0.13.0 → 0.13.1

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 (87) hide show
  1. package/CHANGELOG.md +295 -3
  2. package/components.md +15 -6
  3. package/docs/agent/INDEX.md +1 -0
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-column-chart.md +1 -1
  6. package/docs/agent/charts/ds-config.md +12 -0
  7. package/docs/agent/charts/ds-donut-chart.md +2 -2
  8. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  11. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  12. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  13. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  14. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +9 -4
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +30 -14
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +21 -6
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -4
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +39 -16
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +9 -4
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +33 -21
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +37 -15
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +62 -21
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +9 -4
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +9 -4
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +9 -4
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +56 -8
  61. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  64. package/migrations/0.13.1.json +236 -0
  65. package/package.json +1 -1
  66. package/styles/_chart-frame.scss +15 -0
  67. package/styles/_chart-interactive.scss +17 -6
  68. package/styles/_chart-motion.scss +61 -18
  69. package/styles/_dropdown-overlay.scss +9 -3
  70. package/styles/_focus.scss +10 -1
  71. package/styles/_overlay-motion.scss +10 -1
  72. package/styles/_tokens-charts.scss +5 -0
  73. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
  74. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -9
  75. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +7 -1
  76. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -1
  77. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -9
  78. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +6 -1
  79. package/types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts +27 -13
  80. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +29 -10
  81. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +36 -9
  82. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
  83. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
  84. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +6 -1
  85. package/types/ids-group-ltd-ids-design-system-components.d.ts +18 -2
  86. package/types/ids-group-ltd-ids-design-system-core.d.ts +24 -1
  87. package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
@@ -3,43 +3,86 @@
3
3
  // The enter is DELAYED by the exit duration, and that delay is what stages the three phases:
4
4
  // removals finish before additions start, so a vanishing mark and an arriving one are never on
5
5
  // screen together. Angular's `animate.enter` / `animate.leave` own the classes; this file owns
6
- // what they mean.
6
+ // what they mean. `--_chart-mark-stagger` is set per mark by the component and adds to the delay.
7
+ //
8
+ // A mark ARRIVES BY GROWING FROM ITS OWN BASELINE, never by scaling about its centre: a uniform
9
+ // scale reads as the whole chart zooming, and it moves the mark's baseline, which is the one line
10
+ // on a chart that must not move. A mark with no baseline to grow from — a ring arc, a funnel band,
11
+ // a line — fades instead, for the same reason.
7
12
  //
8
13
  // `prefers-reduced-motion` is handled globally in `_tokens.scss` — nothing here re-handles it.
9
14
 
10
- @keyframes ds-chart-mark-enter {
15
+ @keyframes ds-chart-mark-grow-y {
16
+ from {
17
+ opacity: 0;
18
+ transform: scaleY(0);
19
+ }
20
+ }
21
+
22
+ @keyframes ds-chart-mark-grow-x {
23
+ from {
24
+ opacity: 0;
25
+ transform: scaleX(0);
26
+ }
27
+ }
28
+
29
+ @keyframes ds-chart-mark-fade-in {
11
30
  from {
12
31
  opacity: 0;
13
- transform: scale(0.94);
14
32
  }
15
33
  }
16
34
 
17
35
  @keyframes ds-chart-mark-exit {
18
36
  to {
19
37
  opacity: 0;
20
- transform: scale(0.94);
21
38
  }
22
39
  }
23
40
 
24
- @mixin staged($mark) {
25
- #{$mark} {
26
- // An SVG shape's transform box is the whole viewBox, so without this a mark scales about the
27
- // chart's origin and flies in from the corner instead of growing in place.
28
- transform-box: fill-box;
29
- transform-origin: center;
41
+ @mixin leaves($mark) {
42
+ #{$mark}.mark-leave {
43
+ animation: ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration)
44
+ var(--ds-motion-chart-mark-exit-easing) both;
30
45
  }
46
+ }
31
47
 
32
- // The delay is the exit duration plus this mark's own stagger step, which the component sets
33
- // per mark. Unset, `0ms` leaves the staging and adds nothing.
34
- #{$mark}.mark-enter {
35
- animation: ds-chart-mark-enter var(--ds-motion-chart-mark-enter-duration)
48
+ @mixin enters($selector, $keyframes) {
49
+ #{$selector} {
50
+ animation: #{$keyframes} var(--ds-motion-chart-mark-enter-duration)
36
51
  var(--ds-motion-chart-mark-enter-easing)
37
- calc(var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms))
52
+ calc(
53
+ var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms)
54
+ )
38
55
  both;
39
56
  }
57
+ }
40
58
 
41
- #{$mark}.mark-leave {
42
- animation: ds-chart-mark-exit var(--ds-motion-chart-mark-exit-duration)
43
- var(--ds-motion-chart-mark-exit-easing) both;
59
+ // `animate.enter` goes on the element that ANIMATES, not on the one the `@for` creates: Angular
60
+ // drops the class when the animation on THAT element ends, and a class put on the row while the
61
+ // fill inside it animates is never taken off again. `animate.leave` still belongs on the row —
62
+ // that is what leaves.
63
+
64
+ /* A column: the fill grows up out of the category axis. */
65
+ @mixin grows-up($mark, $fill) {
66
+ #{$mark} #{$fill} {
67
+ transform-origin: bottom;
44
68
  }
69
+
70
+ @include enters('#{$fill}.mark-enter', ds-chart-mark-grow-y);
71
+ @include leaves($mark);
72
+ }
73
+
74
+ /* A bar row: the fill grows out of the value axis, which is the inline start. */
75
+ @mixin grows-across($mark, $fill) {
76
+ #{$mark} #{$fill} {
77
+ transform-origin: left;
78
+ }
79
+
80
+ @include enters('#{$fill}.mark-enter', ds-chart-mark-grow-x);
81
+ @include leaves($mark);
82
+ }
83
+
84
+ /* A mark with no baseline of its own — a ring arc, a funnel band, a line. */
85
+ @mixin fades-in($mark) {
86
+ @include enters('#{$mark}.mark-enter', ds-chart-mark-fade-in);
87
+ @include leaves($mark);
45
88
  }
@@ -26,8 +26,14 @@
26
26
  --_option-radius: var(--ds-option-radius, var(--ds-radius-inner));
27
27
  --_option-row-gap: var(--ds-option-row-gap, 2px);
28
28
  --_option-bg-color-active: var(--ds-option-bg-color-active, var(--surface-secondary));
29
+ --_option-weight: var(--ds-option-weight, var(--font-weight-medium));
30
+ --_option-font-size: var(--ds-option-font-size, var(--font-size-s));
31
+ --_option-line-height: var(--ds-option-line-height, var(--line-height-flat));
32
+ --_option-font-family: var(--ds-option-font-family, var(--font-sans));
29
33
 
30
34
  --_dropdown-panel-bg-color: var(--ds-dropdown-panel-bg-color, var(--surface-overlay));
35
+ --_dropdown-panel-border-color: var(--ds-dropdown-panel-border-color, var(--border-default));
36
+ --_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
31
37
  --_dropdown-panel-maxh: var(--ds-dropdown-panel-maxh, 320px);
32
38
 
33
39
  /* minw/maxw only bite in `content` width mode, where the pane is auto-sized: in
@@ -41,9 +47,9 @@
41
47
  // child of it and shrinks to its own option content width.
42
48
  width: 100%;
43
49
  background: var(--_dropdown-panel-bg-color);
44
- border: var(--border-width-default) solid var(--border-default);
50
+ border: var(--border-width-default) solid var(--_dropdown-panel-border-color);
45
51
  border-radius: var(--_dropdown-panel-radius);
46
- box-shadow: var(--shadow-popover);
52
+ box-shadow: var(--_dropdown-panel-shadow);
47
53
  padding: var(--space-1);
48
54
  min-width: var(--_dropdown-panel-minw);
49
55
  max-width: var(--_dropdown-panel-maxw);
@@ -118,7 +124,7 @@
118
124
  padding: var(--_option-padding);
119
125
  border: 0;
120
126
  background: transparent;
121
- font: var(--font-weight-medium) var(--font-size-s) / var(--line-height-flat) var(--font-sans);
127
+ font: var(--_option-weight) var(--_option-font-size) / var(--_option-line-height) var(--_option-font-family);
122
128
  color: var(--text-primary);
123
129
  cursor: pointer;
124
130
  border-radius: var(--_option-radius);
@@ -14,7 +14,16 @@
14
14
  // border-radius of the box it is painted on, so a square-cornered shell rings square. A shell that
15
15
  // exists only to carry the ring takes `--focus-ring-radius`.
16
16
  //
17
- // Usage, inside the element's own `&:focus-visible` block: `@include focus.ring;`, or
17
+ // INSIDE the element's own `&:focus-visible` block, never on the element: this mixin PAINTS a
18
+ // ring, it does not decide when one is shown. Put it on the rule itself and every instance is
19
+ // ringed at all times, which reads as a styling choice rather than a bug and is caught by
20
+ // `tools/check-focus-rings.mjs` for exactly that reason.
21
+ //
22
+ // Usually the answer is to include nothing at all: `:where(:focus-visible)` below already rings
23
+ // anything focusable that styles nothing itself, so a control needs this only where it wants a
24
+ // different offset, or where it silences the base rule and has to put one back.
25
+ //
26
+ // Usage: `&:focus-visible { @include focus.ring; }`, or
18
27
  // `@include focus.ring(calc(-1 * var(--focus-ring-offset)))` where an ancestor clips.
19
28
  @mixin ring($offset: var(--focus-ring-offset)) {
20
29
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
@@ -16,7 +16,7 @@
16
16
  // teardown working and outranks a consumer keyframe carrying its own timing.
17
17
 
18
18
  .cdk-overlay-pane.ds-overlay-pane {
19
- --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-slide-in);
19
+ --_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-fade-in);
20
20
  --_overlay-enter-duration: var(--ds-overlay-enter-duration, var(--ds-motion-enter-panel-duration));
21
21
  --_overlay-enter-easing: var(--ds-overlay-enter-easing, var(--ds-motion-enter-panel-easing));
22
22
  --_overlay-enter-offset: var(--ds-overlay-enter-offset, 4px);
@@ -84,3 +84,12 @@
84
84
  opacity: 0;
85
85
  }
86
86
  }
87
+
88
+ /* A chart tooltip is read, never clicked, and it opens UNDER the pointer that summoned it. The CDK
89
+ pane defaults to `pointer-events: auto`, so without this the panel covers the plot, the plot
90
+ takes a `pointerleave`, the chart clears its hover, the panel closes, the pointer lands on the
91
+ plot again — and the whole thing flickers for as long as the cursor sits there. `pointer-events`
92
+ on the panel alone is not enough: the pane is a wrapper the panel cannot reach. */
93
+ .cdk-overlay-pane.ds-chart-tooltip-pane {
94
+ pointer-events: none;
95
+ }
@@ -114,6 +114,10 @@
114
114
  --chart-tooltip-border-color: var(--neutral-700);
115
115
 
116
116
  /* DIMENSIONS */
117
+
118
+ /* Soft, not a pill: the cap squashes with the body while a mark grows in, and 3px is small
119
+ enough that the squash is not readable. */
120
+ --chart-mark-cap-radius: 3px;
117
121
  --chart-bar-gap: 4px;
118
122
  --chart-line-width: 2px;
119
123
  --chart-line-width-bold: 3px;
@@ -170,6 +174,7 @@
170
174
  --ds-chart-tooltip-text-color: var(--chart-tooltip-text-color);
171
175
  --ds-chart-tooltip-border-color: var(--chart-tooltip-border-color);
172
176
 
177
+ --ds-chart-mark-cap-radius: var(--chart-mark-cap-radius);
173
178
  --ds-chart-bar-gap: var(--chart-bar-gap);
174
179
  --ds-chart-line-width: var(--chart-line-width);
175
180
  --ds-chart-line-width-bold: var(--chart-line-width-bold);
@@ -74,6 +74,11 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
74
74
  readonly compareWith: _angular_core.InputSignal<(a: T | null, b: T | null) => boolean>;
75
75
  /** Native `name` attribute forwarded to the trigger. */
76
76
  readonly name: _angular_core.InputSignal<string | null>;
77
+ /** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
78
+ * `ds-overlay-pane` and this component's own `ds-autocomplete-panel`. The panel
79
+ * is portaled out of the host, so a class on the pane is the only way a consumer
80
+ * stylesheet reaches ONE instance of it. */
81
+ readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
77
82
  /** Prevents opening the panel while still allowing focus. */
78
83
  readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
79
84
  /**
@@ -221,7 +226,7 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
221
226
  protected onCreateNew(): void;
222
227
  protected remove(target: T): void;
223
228
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteComponent<any>, never>;
224
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteComponent<any>, "ds-autocomplete", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showChevron": { "alias": "showChevron"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "valueOverflow": { "alias": "valueOverflow"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "filterWith": { "alias": "filterWith"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; "opened": "opened"; "closed": "closed"; "create": "create"; }, ["optionTemplate", "chipTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate", "createTemplate"], ["[dsAutocompletePrefix]", "[dsAutocompleteSuffix]"], true, never>;
229
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteComponent<any>, "ds-autocomplete", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showChevron": { "alias": "showChevron"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "valueOverflow": { "alias": "valueOverflow"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "filterWith": { "alias": "filterWith"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; "opened": "opened"; "closed": "closed"; "create": "create"; }, ["optionTemplate", "chipTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate", "createTemplate"], ["[dsAutocompletePrefix]", "[dsAutocompleteSuffix]"], true, never>;
225
230
  }
226
231
 
227
232
  export { AutocompleteComponent };
@@ -2,6 +2,7 @@ import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids
2
2
  import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
3
3
  import * as _angular_core from '@angular/core';
4
4
  import { TemplateRef } from '@angular/core';
5
+ import { ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
5
6
 
6
7
  interface BarChartRow {
7
8
  /** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
@@ -32,24 +33,32 @@ declare class BarChartComponent {
32
33
  readonly summary: _angular_core.InputSignal<string | null>;
33
34
  /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
34
35
  * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so
35
- * `'none'` belongs only where the same data is already in a table on the page. */
36
- readonly dataTable: _angular_core.InputSignal<"toggle" | "visible" | "none">;
36
+ * `'none'` belongs only where the same data is already in a table on the page.
37
+ * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'toggle'`. */
38
+ readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
37
39
  /** Prints each row's share of `max` beside its value. */
38
40
  readonly showPercent: _angular_core.InputSignalWithTransform<boolean, unknown>;
39
41
  /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
40
42
  * when the data lands. */
41
43
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
42
- /** Shown in place of the plot when `data` is empty. */
43
- readonly emptyText: _angular_core.InputSignal<string>;
44
+ /** Shown in place of the plot when `data` is empty. Unset falls back to
45
+ * `DS_CONFIG.chart.emptyText`, then `'No data'`. */
46
+ readonly emptyText: _angular_core.InputSignal<string | null>;
44
47
  /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
45
48
  * because "the request failed" and "there is nothing to show" read the same to a reader and
46
49
  * mean opposite things. */
47
50
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
48
- /** The message the error state prints. */
49
- readonly errorText: _angular_core.InputSignal<string>;
51
+ /** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
52
+ * `'Could not load the data'`. */
53
+ readonly errorText: _angular_core.InputSignal<string | null>;
50
54
  /** Formats every value the chart prints, the annex table and the generated description
51
- * included. Defaults to the browser's locale grouping with a K/M/B suffix past four digits. */
52
- readonly valueFormat: _angular_core.InputSignal<(value: number) => string>;
55
+ * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
56
+ * grouping with a K/M/B suffix past four digits. */
57
+ readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
58
+ readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
59
+ readonly emptyTextResolved: _angular_core.Signal<string>;
60
+ readonly errorTextResolved: _angular_core.Signal<string>;
61
+ readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
53
62
  /** Turns on the click affordance — the pointer cursor and any hover tint.
54
63
  * The click output fires whether or not this is set, so a consumer that
55
64
  * binds the output and forgets the flag still receives every click. */
@@ -57,6 +66,12 @@ declare class BarChartComponent {
57
66
  /** The row that was clicked, or activated with Enter or Space. Fires whether or not
58
67
  * `interactive` is set. */
59
68
  readonly rowClicked: _angular_core.OutputEmitterRef<BarChartRow>;
69
+ /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
70
+ * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
71
+ * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
72
+ * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
73
+ * and pays for it with the rest of the chart. */
74
+ readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
60
75
  /** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
61
76
  * all; `40` is the documented non-zero step. The total is capped, so a long series does not
62
77
  * crawl in. */
@@ -97,7 +112,7 @@ declare class BarChartComponent {
97
112
  * when the data lands; falls back to three when `data` is still empty. */
98
113
  protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
99
114
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
100
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "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; }; "showPercent": { "alias": "showPercent"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
115
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "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; }; "showPercent": { "alias": "showPercent"; "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; }; "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; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
101
116
  }
102
117
 
103
118
  export { BarChartComponent };
@@ -15,6 +15,10 @@ interface ChartTooltipEntry {
15
15
  /** Already through the chart's `valueFormat`, so the panel never formats. */
16
16
  readonly formatted: string;
17
17
  readonly color: string;
18
+ /** A second line under the value, for what the chart does NOT already print beside the mark —
19
+ * its share of the total, its rank, the drop into it. A tooltip that repeats the label a
20
+ * reader is looking at has told them nothing. */
21
+ readonly detail?: string;
18
22
  }
19
23
  interface ChartTooltipContext {
20
24
  /** Empty on a chart whose marks are the categories, where the entry label says it. */
@@ -45,6 +49,7 @@ declare class ChartTooltipDirective {
45
49
  }> | null>;
46
50
  private overlayRef;
47
51
  private panelRef;
52
+ private detachScrollClose;
48
53
  constructor();
49
54
  private open;
50
55
  private strategyFor;
@@ -53,12 +58,13 @@ declare class ChartTooltipDirective {
53
58
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
54
59
  }
55
60
 
61
+ /** @internal */
56
62
  interface ChartActiveMark {
57
63
  /** Index of the mark under the pointer or holding focus; `-1` when none is. */
58
64
  readonly index: Signal<number>;
59
65
  /** The mark's own element, which is what the tooltip anchors to. */
60
66
  readonly origin: Signal<Element | null>;
61
- enter(index: number, event: Event): void;
67
+ enter(index: number, event: Event, anchorWithin?: string): void;
62
68
  leave(): void;
63
69
  }
64
70
  /**
@@ -24,6 +24,11 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
24
24
  readonly value: _angular_core.ModelSignal<string>;
25
25
  /** Swatches shown in the panel — defaults to a built-in palette. */
26
26
  readonly presets: _angular_core.InputSignal<readonly string[]>;
27
+ /** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
28
+ * `ds-overlay-pane` and this component's own `ds-color-picker-panel`. The panel
29
+ * is portaled out of the host, so a class on the pane is the only way a consumer
30
+ * stylesheet reaches ONE instance of it. */
31
+ readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
27
32
  /** Disables the trigger and blocks all interaction. */
28
33
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
34
  /** Accessible name for the trigger button and panel. */
@@ -73,7 +78,7 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
73
78
  private updateHue;
74
79
  private clampPct;
75
80
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
76
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "ds-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "ds-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
77
82
  }
78
83
 
79
84
  export { ColorPickerComponent };
@@ -2,6 +2,7 @@ import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids
2
2
  import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
3
3
  import * as _angular_core from '@angular/core';
4
4
  import { TemplateRef } from '@angular/core';
5
+ import { ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
5
6
 
6
7
  interface ColumnChartPoint {
7
8
  /** Falls back to the column's position when left out, so a reorder rewrites the DOM. */
@@ -29,22 +30,30 @@ declare class ColumnChartComponent {
29
30
  readonly summary: _angular_core.InputSignal<string | null>;
30
31
  /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
31
32
  * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so
32
- * `'none'` belongs only where the same data is already in a table on the page. */
33
- readonly dataTable: _angular_core.InputSignal<"toggle" | "visible" | "none">;
33
+ * `'none'` belongs only where the same data is already in a table on the page.
34
+ * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'toggle'`. */
35
+ readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
34
36
  /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
35
37
  * when the data lands. */
36
38
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
37
- /** Shown in place of the plot when `data` is empty. */
38
- readonly emptyText: _angular_core.InputSignal<string>;
39
+ /** Shown in place of the plot when `data` is empty. Unset falls back to
40
+ * `DS_CONFIG.chart.emptyText`, then `'No data'`. */
41
+ readonly emptyText: _angular_core.InputSignal<string | null>;
39
42
  /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
40
43
  * because "the request failed" and "there is nothing to show" read the same to a reader and
41
44
  * mean opposite things. */
42
45
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
43
- /** The message the error state prints. */
44
- readonly errorText: _angular_core.InputSignal<string>;
46
+ /** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
47
+ * `'Could not load the data'`. */
48
+ readonly errorText: _angular_core.InputSignal<string | null>;
45
49
  /** Formats every value the chart prints, the annex table and the generated description
46
- * included. Defaults to the browser's locale grouping with a K/M/B suffix past four digits. */
47
- readonly valueFormat: _angular_core.InputSignal<(value: number) => string>;
50
+ * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
51
+ * grouping with a K/M/B suffix past four digits. */
52
+ readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
53
+ readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
54
+ readonly emptyTextResolved: _angular_core.Signal<string>;
55
+ readonly errorTextResolved: _angular_core.Signal<string>;
56
+ readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
48
57
  /** Turns on the click affordance — the pointer cursor and any hover tint.
49
58
  * The click output fires whether or not this is set, so a consumer that
50
59
  * binds the output and forgets the flag still receives every click. */
@@ -52,6 +61,12 @@ declare class ColumnChartComponent {
52
61
  /** The point that was clicked, or activated with Enter or Space. Fires whether or not
53
62
  * `interactive` is set. */
54
63
  readonly pointClicked: _angular_core.OutputEmitterRef<ColumnChartPoint>;
64
+ /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
65
+ * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
66
+ * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
67
+ * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
68
+ * and pays for it with the rest of the chart. */
69
+ readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
55
70
  /** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
56
71
  * all; `40` is the documented non-zero step. The total is capped, so a long series does not
57
72
  * crawl in. */
@@ -63,7 +78,12 @@ declare class ColumnChartComponent {
63
78
  protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
64
79
  $implicit: ChartTooltipContext;
65
80
  }> | undefined>;
81
+ /** Where the tooltip is pinned. `'mark'`, the default, is the column itself — a panel over the
82
+ * reading it describes. `'cell'` is the full-height category cell, which puts the panel at the
83
+ * top of the plot whatever the column's value. */
84
+ readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
66
85
  protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
86
+ protected onMarkEnter(index: number, event: Event): void;
67
87
  /** One tab stop per chart, not one per mark: WCAG 2.1.1's Understanding is explicit that not
68
88
  * every mouse-operable control has to be separately focusable, and that is what keeps a
69
89
  * twenty-five mark chart from being twenty-five stops in the page's tab order. */
@@ -98,7 +118,7 @@ declare class ColumnChartComponent {
98
118
  * when the data lands; falls back to three when `data` is still empty. */
99
119
  protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
100
120
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
101
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "showValues": { "alias": "showValues"; "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; }; "dataTable": { "alias": "dataTable"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
121
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "showValues": { "alias": "showValues"; "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; }; "dataTable": { "alias": "dataTable"; "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; }; "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; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
102
122
  }
103
123
 
104
124
  export { ColumnChartComponent };
@@ -86,6 +86,11 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
86
86
  readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
87
87
  /** Shows an "(optional)" marker beside the label — ignored when `required` is set. */
88
88
  readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
89
+ /** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
90
+ * `ds-overlay-pane` and this component's own `ds-date-picker-panel`. The panel
91
+ * is portaled out of the host, so a class on the pane is the only way a consumer
92
+ * stylesheet reaches ONE instance of it. */
93
+ readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
89
94
  /** Disables the picker and blocks all interaction. */
90
95
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
91
96
  /** Confirmation text, shown when there is no error or warning — and it paints
@@ -247,7 +252,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
247
252
  protected isPresetDisabled(preset: DatePickerPreset): boolean;
248
253
  protected applyPreset(preset: DatePickerPreset): void;
249
254
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatePickerComponent, never>;
250
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "ds-date-picker", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "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; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minYear": { "alias": "minYear"; "required": false; "isSignal": true; }; "maxYear": { "alias": "maxYear"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "defaultDate": { "alias": "defaultDate"; "required": false; "isSignal": true; }; "allowInput": { "alias": "allowInput"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
255
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "ds-date-picker", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "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; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minYear": { "alias": "minYear"; "required": false; "isSignal": true; }; "maxYear": { "alias": "maxYear"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "defaultDate": { "alias": "defaultDate"; "required": false; "isSignal": true; }; "allowInput": { "alias": "allowInput"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
251
256
  }
252
257
 
253
258
  export { DatePickerComponent };
@@ -2,6 +2,7 @@ import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids
2
2
  import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
3
3
  import * as _angular_core from '@angular/core';
4
4
  import { TemplateRef } from '@angular/core';
5
+ import { ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
5
6
 
6
7
  interface DonutChartSlice {
7
8
  id: string;
@@ -38,22 +39,30 @@ declare class DonutChartComponent {
38
39
  readonly summary: _angular_core.InputSignal<string | null>;
39
40
  /** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
40
41
  * `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so
41
- * `'none'` belongs only where the same data is already in a table on the page. */
42
- readonly dataTable: _angular_core.InputSignal<"none" | "toggle" | "visible">;
42
+ * `'none'` belongs only where the same data is already in a table on the page.
43
+ * Unset falls back to `DS_CONFIG.chart.dataTable`, then `'toggle'`. */
44
+ readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
43
45
  /** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
44
46
  * when the data lands. */
45
47
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
46
- /** Shown in place of the plot when `data` is empty. */
47
- readonly emptyText: _angular_core.InputSignal<string>;
48
+ /** Shown in place of the plot when `data` is empty. Unset falls back to
49
+ * `DS_CONFIG.chart.emptyText`, then `'No data'`. */
50
+ readonly emptyText: _angular_core.InputSignal<string | null>;
48
51
  /** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
49
52
  * because "the request failed" and "there is nothing to show" read the same to a reader and
50
53
  * mean opposite things. */
51
54
  readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
52
- /** The message the error state prints. */
53
- readonly errorText: _angular_core.InputSignal<string>;
55
+ /** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
56
+ * `'Could not load the data'`. */
57
+ readonly errorText: _angular_core.InputSignal<string | null>;
54
58
  /** Formats every value the chart prints, the annex table and the generated description
55
- * included. Defaults to the browser's locale grouping with a K/M/B suffix past four digits. */
56
- readonly valueFormat: _angular_core.InputSignal<(value: number) => string>;
59
+ * included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
60
+ * grouping with a K/M/B suffix past four digits. */
61
+ readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
62
+ readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
63
+ readonly emptyTextResolved: _angular_core.Signal<string>;
64
+ readonly errorTextResolved: _angular_core.Signal<string>;
65
+ readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
57
66
  /** Turns on the click affordance — the pointer cursor and any hover tint.
58
67
  * The click output fires whether or not this is set, so a consumer that
59
68
  * binds the output and forgets the flag still receives every click. */
@@ -61,11 +70,16 @@ declare class DonutChartComponent {
61
70
  /** The slice that was clicked, or activated with Enter or Space. Fires whether or not
62
71
  * `interactive` is set. */
63
72
  readonly sliceClicked: _angular_core.OutputEmitterRef<DonutChartSlice>;
64
- /** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
65
- * all; `40` is the documented non-zero step. The total is capped, so a long series does not
66
- * crawl in. */
73
+ /** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
74
+ * one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
75
+ * marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
76
+ * opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
77
+ * and pays for it with the rest of the chart. */
78
+ readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
79
+ /** Accepted for parity with the other four charts and deliberately without effect here: a ring
80
+ * arrives as ONE object, because arcs share their edges and fading them one at a time lets the
81
+ * background through every seam. There is nothing to stagger. */
67
82
  readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
68
- protected markStagger(index: number): string;
69
83
  /** Whether a hovered or focused slice opens a tooltip. `'axis'` is not offered — a ring
70
84
  * has no axis to group readings under. */
71
85
  readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
@@ -106,7 +120,7 @@ declare class DonutChartComponent {
106
120
  * is still empty. */
107
121
  protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
108
122
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DonutChartComponent, never>;
109
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DonutChartComponent, "ds-donut-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; }; "thickness": { "alias": "thickness"; "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; }; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
123
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DonutChartComponent, "ds-donut-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; }; "thickness": { "alias": "thickness"; "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; }; "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; }; "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>;
110
124
  }
111
125
 
112
126
  export { DonutChartComponent };