@ids-group-ltd/ids-design-system 0.15.0 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/CHANGELOG.md +496 -0
  2. package/components.md +69 -38
  3. package/docs/agent/INDEX.md +3 -3
  4. package/docs/agent/charts/column-series-component.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +2 -1
  7. package/docs/agent/charts/ds-heatmap-chart.md +2 -1
  8. package/docs/agent/charts/ds-line-chart.md +3 -3
  9. package/docs/agent/charts/ds-pie-chart.md +3 -2
  10. package/docs/agent/charts/ds-scatter-chart.md +2 -1
  11. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  12. package/docs/agent/charts/line-series-component.md +1 -1
  13. package/docs/agent/feedback/ds-alert.md +1 -0
  14. package/docs/agent/feedback/ds-banner.md +1 -0
  15. package/docs/agent/feedback/ds-toast.md +2 -0
  16. package/docs/agent/forms/ds-autocomplete.md +1 -1
  17. package/docs/agent/forms/ds-button.md +1 -0
  18. package/docs/agent/forms/ds-checkbox.md +1 -1
  19. package/docs/agent/forms/ds-color-picker.md +1 -1
  20. package/docs/agent/forms/ds-date-picker.md +1 -1
  21. package/docs/agent/forms/ds-icon-button.md +1 -1
  22. package/docs/agent/forms/ds-input.md +1 -1
  23. package/docs/agent/forms/ds-multi-select.md +1 -1
  24. package/docs/agent/forms/ds-otp-input.md +1 -1
  25. package/docs/agent/forms/ds-radio-group.md +1 -1
  26. package/docs/agent/forms/ds-segmented.md +1 -1
  27. package/docs/agent/forms/ds-select.md +1 -1
  28. package/docs/agent/forms/ds-slider.md +1 -1
  29. package/docs/agent/forms/ds-switch.md +1 -1
  30. package/docs/agent/forms/ds-textarea.md +1 -1
  31. package/docs/agent/forms/ds-time-picker.md +1 -1
  32. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  33. package/docs/agent/foundations/global-helper-classes.md +1 -1
  34. package/docs/agent/foundations/tokens.md +1 -1
  35. package/docs/agent/navigation/ds-pagination.md +2 -1
  36. package/docs/agent/overlays/ds-definition-term.md +1 -1
  37. package/docs/agent/overlays/ds-info-hint.md +21 -2
  38. package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
  39. package/docs/agent/overlays/ds-tooltip.md +1 -1
  40. package/docs/agent/tables/ds-table-columns.md +2 -0
  41. package/docs/agent/tables/ds-table.md +3 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -4
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +694 -77
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2190 -1234
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +44 -5
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -18
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +49 -20
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +76 -10
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +33 -44
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +50 -5
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -4
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +102 -27
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -2
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +11 -6
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +123 -23
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -4
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +3 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +32 -14
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +259 -21
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +24 -7
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +17 -2
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +32 -12
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +10 -6
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  128. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +238 -67
  129. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  130. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +9 -2
  131. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  132. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
  133. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  134. package/migrations/0.15.0.json +43 -12
  135. package/migrations/0.15.1.json +745 -0
  136. package/migrations/0.15.2.json +164 -0
  137. package/migrations/0.3.0.json +16 -9
  138. package/package.json +9 -1
  139. package/schematics/check-overrides/surface.json +48 -1
  140. package/stylelint/deprecated-tokens.json +7 -0
  141. package/styles/_chart-frame.scss +14 -0
  142. package/styles/_chart-interactive.scss +26 -1
  143. package/styles/_chart-motion.scss +47 -8
  144. package/styles/_link.scss +30 -12
  145. package/styles/_tokens.scss +3 -0
  146. package/themes/README.md +55 -0
  147. package/themes/_semantic.scss +6 -7
  148. package/themes/dark/_theme.scss +7 -7
  149. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
  150. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +2 -0
  151. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
  152. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +5 -4
  153. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
  154. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +51 -7
  155. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +201 -28
  156. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
  157. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
  158. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +27 -2
  159. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
  160. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
  161. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +0 -3
  162. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +21 -8
  163. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
  164. package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +13 -4
  165. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
  166. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +13 -7
  167. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +6 -0
  168. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +2 -0
  169. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
  170. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
  171. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +24 -7
  172. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
  173. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
  174. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +39 -7
  175. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
  176. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +2 -0
  177. package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
  178. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
  179. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
  180. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
  181. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +51 -11
  182. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
  183. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
  184. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
  185. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +8 -6
  186. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
  187. package/types/ids-group-ltd-ids-design-system-components.d.ts +110 -34
  188. package/types/ids-group-ltd-ids-design-system-core.d.ts +44 -12
  189. package/types/ids-group-ltd-ids-design-system.d.ts +3 -2
@@ -1,7 +1,7 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
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
- import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
4
+ import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
5
5
  import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
6
6
 
7
7
  /** One row of the matrix. `data` has one reading per column; a `null` is a cell never measured. */
@@ -38,6 +38,7 @@ interface PlacedRow {
38
38
  /** A matrix of readings, coloured by magnitude. Every cell names its reading to assistive tech and the annex table is always present. */
39
39
  declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithTooltipTrigger {
40
40
  protected readonly renderReady: _angular_core.Signal<boolean>;
41
+ protected readonly leaveMark: typeof leaveMark;
41
42
  /** The column headings, left to right; a row longer than this loses its tail. */
42
43
  readonly columns: _angular_core.InputSignal<readonly string[]>;
43
44
  /** One entry per row, one reading per column; a `null` reading is drawn as the surface. */
@@ -49,22 +50,34 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
49
50
  readonly max: _angular_core.InputSignalWithTransform<number | null, number | null>;
50
51
  /** Prints each cell's reading inside it. */
51
52
  readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
53
+ /** Marks the hovered or focused cell's reading on the colour scale. */
54
+ readonly showScaleMarker: _angular_core.InputSignalWithTransform<boolean, unknown>;
52
55
  /** Fades every cell but the one under the pointer. */
53
56
  readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
54
57
  /** Whether a hovered or focused cell opens a tooltip. */
55
58
  readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
56
- /** Milliseconds between one column's entrance and the next; `0` turns it off. The spread is capped at 260ms. */
59
+ /** Milliseconds between one diagonal's entrance and the next, from the top-left cell; `0` turns
60
+ * it off. The spread is capped at 260ms. */
57
61
  readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
58
- protected readonly columnStagger: _angular_core.Signal<string>;
62
+ protected cellStagger(rowIndex: number, columnIndex: number): string;
59
63
  /** The clicked cell, with its row and column. Never fires for an unmeasured cell. */
60
64
  readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
61
65
  protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
62
- /** The ramp step under the pointer on the scale; every cell outside it fades. */
66
+ /** The ramp step under the pointer on the scale; its cells brighten, and under `dimOthers` the rest fade. */
63
67
  protected readonly highlightedStep: _angular_core.WritableSignal<number | null>;
64
- private readonly stepDwell;
65
- protected onStepEnter(step: number, event: PointerEvent): void;
66
- protected onStepLeave(): void;
68
+ protected readonly stepHighlight: {
69
+ enter(item: number, event: Event): void;
70
+ leave(): void;
71
+ };
67
72
  protected isCellDimmed(cell: PlacedCell): boolean;
73
+ private readonly host;
74
+ private readonly scaleMarkerIndex;
75
+ private readonly settleScaleMarker;
76
+ /** Where the settled cell's reading sits along the scale, as a percentage of the ramp. */
77
+ protected readonly scaleMarker: _angular_core.Signal<{
78
+ offset: number;
79
+ label: string;
80
+ } | null>;
68
81
  protected onCellPress(cell: PlacedCell, index: number, event: Event): void;
69
82
  protected readonly isEmpty: _angular_core.Signal<boolean>;
70
83
  private readonly domain;
@@ -83,7 +96,7 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
83
96
  protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
84
97
  protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
85
98
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
86
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
99
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "showScaleMarker": { "alias": "showScaleMarker"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
87
100
  }
88
101
 
89
102
  export { HeatmapChartComponent };
@@ -28,8 +28,9 @@ declare class IconButtonComponent {
28
28
  readonly type: _angular_core.InputSignal<IconButtonType>;
29
29
  /** Disables the button and blocks `pressed`. */
30
30
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
- /** Toggle state: renders the pressed look and sets `aria-pressed`. */
32
- readonly selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
+ /** Toggle state: renders the pressed look and sets `aria-pressed`, `"false"` when bound off.
32
+ * Unbound, the button is no toggle and carries no `aria-pressed`. */
33
+ readonly selected: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
33
34
  /** `aria-expanded` on the inner `<button>`; bind to the open state. On the host it would land
34
35
  * on a non-focusable wrapper. */
35
36
  readonly ariaExpanded: _angular_core.InputSignal<boolean | null>;
@@ -1,14 +1,23 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { IconName } from '@ids-group-ltd/ids-design-system/core';
2
4
 
3
5
  declare class InfoHintComponent {
4
- /** The supplementary text, shown on hover and focus and kept open by a click. */
6
+ /** The supplementary text, shown on hover and focus and kept open by a click. `**bold**` runs render bold. */
5
7
  readonly text: _angular_core.InputSignal<string>;
8
+ /** A template shown in the panel in place of `text`. Wins over projected content and `text`. */
9
+ readonly content: _angular_core.InputSignal<TemplateRef<unknown> | null>;
6
10
  /** Accessible name of the icon button, such as "About conversion rate". */
7
11
  readonly ariaLabel: _angular_core.InputSignal<string>;
8
- /** `'help'` draws a question mark in a circle, `'info'` an "i". */
9
- readonly icon: _angular_core.InputSignal<"help" | "info">;
12
+ /** Any DS icon; `'help'` draws a question mark in a circle, `'info'` an "i". */
13
+ readonly icon: _angular_core.InputSignal<IconName>;
14
+ private readonly projected;
15
+ private readonly hasProjected;
16
+ private readonly sources;
17
+ protected readonly tip: _angular_core.Signal<string | TemplateRef<unknown>>;
18
+ constructor();
10
19
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoHintComponent, never>;
11
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
21
  }
13
22
 
14
23
  export { InfoHintComponent };
@@ -79,6 +79,8 @@ declare class InputComponent extends DsControlValueAccessor<string> {
79
79
  protected readonly describedBy: _angular_core.Signal<string | null>;
80
80
  private readonly fieldMessage;
81
81
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
82
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
83
+ protected readonly changedShown: _angular_core.Signal<boolean>;
82
84
  protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
83
85
  protected readonly groupMessage: _angular_core.Signal<string | null>;
84
86
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
@@ -99,7 +99,8 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
99
99
  protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
100
100
  /** Ids of the series the legend has switched off. */
101
101
  readonly hiddenSeries: _angular_core.ModelSignal<readonly string[]>;
102
- /** Whether hiding a series re-scales the value axis to what is left. */
102
+ /** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
103
+ * stands with every series shown. */
103
104
  readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
104
105
  /** Whether the legend switches series off. Off leaves it a plain key. */
105
106
  readonly legendFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -112,6 +113,16 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
112
113
  readonly noVisibleSeriesTextResolved: _angular_core.Signal<string>;
113
114
  /** Gives every series a dash pattern, so lines differ by shape as well as colour. */
114
115
  readonly patterns: _angular_core.InputSignalWithTransform<boolean, unknown>;
116
+ /** Lets a press dragged across categories select them: a band, the sum and mean of every reading in
117
+ * it, and the readings outside faded. Escape or a press outside clears it. Off by default. */
118
+ readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
119
+ /** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
120
+ * the value there in a pill on the axis. On by default. */
121
+ readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
122
+ /** On the hovered reading, thickens the stretches from the reading before it and to the reading
123
+ * after it, each in its own rising or falling colour and, unless it starts at zero, with its own
124
+ * change in percent; with several series, for the one singled out. */
125
+ readonly showChange: _angular_core.InputSignalWithTransform<boolean, unknown>;
115
126
  /** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows
116
127
  * so the last series still starts within the stagger budget. */
117
128
  readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
@@ -154,11 +165,6 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
154
165
  protected readonly dashPatterns: _angular_core.Signal<readonly string[]>;
155
166
  protected readonly markAnnotations: _angular_core.Signal<readonly ChartAnnotation[]>;
156
167
  protected readonly hasSecondaryAxis: _angular_core.Signal<boolean>;
157
- /** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,
158
- * it spans every series, so hiding one does not move the gridlines. */
159
- protected readonly axisMax: _angular_core.Signal<number | null>;
160
- protected readonly axisMaxSecondary: _angular_core.Signal<number | null>;
161
- private ceilingOf;
162
168
  protected readonly plotHeight: _angular_core.Signal<number>;
163
169
  protected readonly viewHeightPx: _angular_core.Signal<string>;
164
170
  protected onPointClicked(reading: {
@@ -176,7 +182,7 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
176
182
  protected readonly skeletonAxisGutter = 46;
177
183
  protected readonly skeletonSeries: _angular_core.Signal<unknown[]>;
178
184
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
179
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "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"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
185
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "showChange": { "alias": "showChange"; "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"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
180
186
  }
181
187
 
182
188
  export { LineChartComponent };
@@ -3,12 +3,16 @@ import { OnDestroy, TemplateRef } from '@angular/core';
3
3
  import { IconName } from '@ids-group-ltd/ids-design-system/core';
4
4
 
5
5
  declare class MenuComponent {
6
+ private readonly host;
7
+ private readonly closeRef;
6
8
  private readonly items;
7
9
  /** One item with an icon makes every item reserve the slot, so the labels share one axis. */
8
10
  protected readonly anyIcon: _angular_core.Signal<boolean>;
9
11
  /** Index of the roving-focus item, the single one reachable via Tab. */
10
12
  private readonly activeIndex;
11
13
  constructor();
14
+ protected onFocusIn(event: FocusEvent): void;
15
+ protected onFocusOut(event: FocusEvent): void;
12
16
  protected onKeydown(event: KeyboardEvent): void;
13
17
  private typeAhead;
14
18
  private focusItem;
@@ -24,6 +28,7 @@ declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
24
28
  private readonly closeRef;
25
29
  private readonly overlay;
26
30
  private readonly vcr;
31
+ private readonly injector;
27
32
  private readonly hostElement;
28
33
  private readonly aim;
29
34
  private readonly button;
@@ -69,6 +74,7 @@ declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
69
74
  openSubmenu(): void;
70
75
  closeSubmenu(): void;
71
76
  ngOnDestroy(): void;
77
+ private focusSubmenu;
72
78
  private clearOpenTimer;
73
79
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuItemComponent, never>;
74
80
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuItemComponent, "ds-menu-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "quiet": { "alias": "quiet"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "submenu": { "alias": "submenu"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["[icon]", "*"], true, never>;
@@ -129,6 +129,8 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
129
129
  protected readonly hintId: _angular_core.Signal<string | null>;
130
130
  private readonly fieldMessage;
131
131
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
132
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
133
+ protected readonly changedShown: _angular_core.Signal<boolean>;
132
134
  protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
133
135
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
134
136
  private enabledFiltered;
@@ -30,6 +30,8 @@ declare class OtpInputComponent extends DsControlValueAccessor<string> {
30
30
  protected readonly hintId: _angular_core.Signal<string | null>;
31
31
  private readonly fieldMessage;
32
32
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
33
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
34
+ protected readonly changedShown: _angular_core.Signal<boolean>;
33
35
  protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
34
36
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
35
37
  protected readonly isDisabled: _angular_core.Signal<boolean>;
@@ -26,10 +26,12 @@ declare class PaginationComponent {
26
26
  * then `'grouped'`. */
27
27
  readonly layout: _angular_core.InputSignal<PaginationLayout | null>;
28
28
  readonly layoutResolved: _angular_core.Signal<PaginationLayout>;
29
- /** The host is still fetching: every control disables, the range label is masked with a
30
- * `<ds-skeleton>` so a stale `total` is never quoted, and the nav reports `aria-busy`. */
29
+ /** The host is still fetching: the page buttons take `aria-disabled` and ignore presses while
30
+ * staying focusable, the size select disables, the range label is masked with a `<ds-skeleton>`
31
+ * so a stale `total` is never quoted, and the nav reports `aria-busy`. */
31
32
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
32
33
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
34
+ private readonly rescueFocus;
33
35
  protected readonly navClass: _angular_core.Signal<string>;
34
36
  protected readonly empty: _angular_core.Signal<boolean>;
35
37
  protected readonly totalPages: _angular_core.Signal<number>;
@@ -40,7 +42,7 @@ declare class PaginationComponent {
40
42
  value: string;
41
43
  }[]>;
42
44
  protected readonly pageSizeStr: _angular_core.Signal<string>;
43
- protected goTo(page: number): void;
45
+ protected goTo(page: number, nav: HTMLElement): void;
44
46
  protected onSizeChange(value: string): void;
45
47
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationComponent, never>;
46
48
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "ds-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; }, never, never, true, never>;
@@ -1,5 +1,5 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
2
- import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
2
+ import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
3
3
  import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
4
4
  import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
5
5
  import * as _angular_core from '@angular/core';
@@ -31,8 +31,11 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
31
31
  /** `'below'` prints the value and its caption under the ring at full size, never shrunk or
32
32
  * shortened. */
33
33
  readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
34
+ /** The hovered, focused or held slice prints its value and label in the centre in place of
35
+ * `centerValue` and `centerLabel`. */
36
+ readonly showHoverCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
34
37
  /** Legend placement, logical so it flips in right-to-left. */
35
- readonly legend: _angular_core.InputSignal<"none" | "end" | "bottom">;
38
+ readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
36
39
  /** How many slices, and legend rows, the loading skeleton draws before the data is known. */
37
40
  readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
38
41
  /** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
@@ -63,15 +66,12 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
63
66
  protected onMarkClick(payload: PieChartSlice, index: number, event: Event): void;
64
67
  protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
65
68
  protected onMarkFocus(index: number, event: FocusEvent): void;
66
- private readonly legendHighlight;
67
- private readonly legendDwell;
68
- /** A legend item opens the arc's tooltip and dims the other slices, as hovering the arc does. */
69
+ /** A legend item opens the arc's tooltip and slides the arc out, as hovering the arc does. */
69
70
  protected onLegendEnter(index: number, event: Event): void;
70
71
  protected onLegendLeave(): void;
71
72
  protected onLegendFocus(index: number, event: FocusEvent): void;
72
73
  protected onLegendClick(slice: PieChartSlice, index: number, event: Event): void;
73
74
  private arcAt;
74
- protected isDimmed(index: number): boolean;
75
75
  protected onMarkNavigation(event: KeyboardEvent, index: number, scope: string): void;
76
76
  protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
77
77
  protected readonly viewBox = "0 0 100 100";
@@ -79,8 +79,18 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
79
79
  protected readonly visibleSlices: _angular_core.Signal<PieChartSlice[]>;
80
80
  protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
81
81
  protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
82
+ protected readonly leaveMark: typeof leaveMark;
83
+ protected readonly sliceHoverShift = 3;
84
+ private readonly drawnArcs;
85
+ private stopArcTween;
86
+ private readonly states;
87
+ private readonly tweenArcs;
82
88
  protected readonly slices: _angular_core.Signal<{
83
89
  slice: PieChartSlice;
90
+ shift: {
91
+ x: number;
92
+ y: number;
93
+ };
84
94
  center: {
85
95
  x: number;
86
96
  y: number;
@@ -98,6 +108,13 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
98
108
  };
99
109
  } | null>;
100
110
  protected readonly resolvedCenterValue: _angular_core.Signal<string>;
111
+ private readonly centerEntry;
112
+ private readonly centerKey;
113
+ private readonly centerSwapElement;
114
+ private shownCenterKey;
115
+ private readonly fadeCenterSwap;
116
+ private readonly shownCenterValue;
117
+ protected readonly shownCenterLabel: _angular_core.Signal<string | null>;
101
118
  private readonly compactCenterValue;
102
119
  private readonly ringElement;
103
120
  private readonly centerValueElement;
@@ -122,7 +139,7 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
122
139
  protected readonly skeletonMarks: _angular_core.Signal<number>;
123
140
  protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
124
141
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
125
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
142
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "showHoverCenter": { "alias": "showHoverCenter"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
126
143
  }
127
144
 
128
145
  export { PieChartComponent };
@@ -27,7 +27,8 @@ declare class PopoverComponent implements OnDestroy, DsOverlayCloseRef {
27
27
  readonly arrow: _angular_core.InputSignalWithTransform<boolean, unknown>;
28
28
  /** ARIA role for the panel (e.g. 'dialog'). When set, the panel traps focus and captures it
29
29
  * on open; Escape or an in-panel close returns focus to the trigger, an outside click or
30
- * scroll does not (non-modal). Leave null for plain text popovers. */
30
+ * scroll does not (non-modal). Leave null for plain text popovers. A panel holding a
31
+ * `role="menu"` (a `ds-menu`) captures focus on open without it, untrapped. */
31
32
  readonly panelRole: _angular_core.InputSignal<string | null>;
32
33
  /** Accessible name for the panel; pair with `panelRole`. */
33
34
  readonly panelLabel: _angular_core.InputSignal<string | null>;
@@ -38,6 +38,8 @@ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implem
38
38
  protected readonly hintId: _angular_core.Signal<string | null>;
39
39
  private readonly fieldMessage;
40
40
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
41
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
42
+ protected readonly changedShown: _angular_core.Signal<boolean>;
41
43
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
42
44
  protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
43
45
  private readonly radios;
@@ -1,7 +1,7 @@
1
1
  import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
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
- import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
4
+ import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
5
5
  import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
6
6
  import { ChartDataTable } from '@ids-group-ltd/ids-design-system/core';
7
7
  import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
@@ -50,8 +50,9 @@ interface PlacedSeries {
50
50
  readonly points: readonly PlacedPoint[];
51
51
  }
52
52
  /** Two continuous quantities against each other. Past four times the plot's width in marks a series is decimated, and the chart says so. */
53
- declare class ScatterChartComponent extends DsChartBase implements ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger {
53
+ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger {
54
54
  protected readonly renderReady: _angular_core.Signal<boolean>;
55
+ protected readonly leaveMark: typeof leaveMark;
55
56
  /** One entry per series. */
56
57
  readonly data: _angular_core.InputSignal<readonly ScatterChartSeries[]>;
57
58
  /** Names the horizontal quantity under the plot. */
@@ -68,6 +69,17 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
68
69
  readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
69
70
  /** Fades every mark but the one under the pointer; on a scatter this hides pile-ups. */
70
71
  readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
72
+ /** Anywhere over the plot answers with the nearest point, ringed and tethered to the pointer. Off,
73
+ * a point answers only within 16 CSS pixels of its centre, without the ring and tether. */
74
+ readonly showNearestPoint: _angular_core.InputSignalWithTransform<boolean, unknown>;
75
+ /** How far the pointer may be from a point's centre, in CSS pixels and inclusive, for the point to
76
+ * answer under `showNearestPoint`; `null` sets no limit. */
77
+ readonly nearestRadius: _angular_core.InputSignalWithTransform<number | null, number | null>;
78
+ /** Milliseconds between one point's entrance and the next, left to right; `0` turns it off. The
79
+ * spread is capped at 260ms. */
80
+ readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
81
+ private readonly staggerSpread;
82
+ protected pointStagger(cx: number): string;
71
83
  /** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
72
84
  readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
73
85
  readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
@@ -100,8 +112,9 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
100
112
  label: string;
101
113
  }[]>;
102
114
  protected readonly multiSeries: _angular_core.Signal<boolean>;
103
- /** The series named in the legend under the pointer, which fades the rest. */
115
+ /** The series named in the legend under the pointer; under `dimOthers` it fades the rest. */
104
116
  protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
117
+ protected isSeriesDimmed(seriesId: string): boolean;
105
118
  protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
106
119
  protected readonly accessibleName: _angular_core.Signal<string>;
107
120
  protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
@@ -133,18 +146,37 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
133
146
  protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
134
147
  constructor();
135
148
  private hoveredIndex;
136
- protected onCanvasPointer(event: PointerEvent): void;
137
- protected onCanvasLeave(): void;
149
+ /** Whether the pointer is over the plot; the tether runs from it to the ring. */
150
+ protected readonly pointerOverPlot: _angular_core.WritableSignal<boolean>;
151
+ /** The answered point, which the ring circles. */
152
+ protected readonly ringedMark: _angular_core.Signal<PlacedPoint>;
153
+ private readonly canvasElement;
154
+ private readonly ringElement;
155
+ private readonly tetherElement;
156
+ private readonly zone;
157
+ private pointerAt;
158
+ private ringAt;
159
+ private stopRingGlide;
160
+ private readonly listenForPointer;
161
+ private readonly glideRing;
162
+ private readonly drawTether;
163
+ private placeRing;
164
+ private placeTether;
165
+ private onCanvasPointer;
166
+ private onCanvasLeave;
138
167
  private nearestMark;
139
168
  protected onPointPress(event: Event): void;
140
- protected readonly pinnedPoint: _angular_core.Signal<PlacedPoint | null>;
169
+ protected readonly pinnedPoints: _angular_core.Signal<readonly {
170
+ index: number;
171
+ value: PlacedPoint;
172
+ }[]>;
141
173
  protected readonly pinLift: number;
142
174
  protected onPointActivate(event: Event): void;
143
175
  protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
144
176
  protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
145
177
  protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
146
178
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
147
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
179
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "showNearestPoint": { "alias": "showNearestPoint"; "required": false; "isSignal": true; }; "nearestRadius": { "alias": "nearestRadius"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
148
180
  }
149
181
 
150
182
  export { ScatterChartComponent };
@@ -29,6 +29,8 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
29
29
  protected readonly hintId: _angular_core.Signal<string | null>;
30
30
  private readonly fieldMessage;
31
31
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
32
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
33
+ protected readonly changedShown: _angular_core.Signal<boolean>;
32
34
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
33
35
  private readonly buttons;
34
36
  protected readonly focusableValue: _angular_core.Signal<string | null>;
@@ -79,6 +79,8 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
79
79
  protected readonly hintId: _angular_core.Signal<string | null>;
80
80
  private readonly fieldMessage;
81
81
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
82
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
83
+ protected readonly changedShown: _angular_core.Signal<boolean>;
82
84
  protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
83
85
  protected readonly groupMessage: _angular_core.Signal<string | null>;
84
86
  protected readonly describedByIds: typeof describedByIds;
@@ -0,0 +1,29 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ /**
4
+ * Turns on `showDirty` for every DS field declared inside the host element, so a changed value
5
+ * carries a dot and a "Changed" line:
6
+ *
7
+ * ```html
8
+ * <form dsShowDirty>
9
+ * <ds-input label="Company" />
10
+ * <ds-select label="City" />
11
+ * </form>
12
+ * ```
13
+ *
14
+ * It provides `DS_CONFIG`, which merges with the config above it. A field's own `[showDirty]`
15
+ * still wins.
16
+ *
17
+ * The switch is the directive's presence, not an input: providers resolve before inputs are
18
+ * set. To turn it off for a subtree, provide the config directly:
19
+ * `provideDsConfig({ field: { showDirty: false } })`.
20
+ *
21
+ * Applies to fields declared inside the host; projected content keeps the injector of the
22
+ * template it was written in.
23
+ */
24
+ declare class ShowDirtyDirective {
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowDirtyDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShowDirtyDirective, "[dsShowDirty]", never, {}, {}, never, never, true, never>;
27
+ }
28
+
29
+ export { ShowDirtyDirective };
@@ -26,6 +26,8 @@ declare class SliderComponent extends DsControlValueAccessor<SliderValue> {
26
26
  protected readonly hintId: _angular_core.Signal<string | null>;
27
27
  private readonly fieldMessage;
28
28
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
29
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
30
+ protected readonly changedShown: _angular_core.Signal<boolean>;
29
31
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
30
32
  protected readonly isDisabled: _angular_core.Signal<boolean>;
31
33
  protected readonly thumbValues: _angular_core.Signal<number[]>;
@@ -37,6 +37,8 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
37
37
  protected readonly hintId: _angular_core.Signal<string | null>;
38
38
  private readonly fieldMessage;
39
39
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
40
+ protected readonly pendingShown: _angular_core.Signal<boolean>;
41
+ protected readonly changedShown: _angular_core.Signal<boolean>;
40
42
  protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
41
43
  protected readonly invalidResolved: _angular_core.Signal<boolean>;
42
44
  protected readonly switchClasses: _angular_core.Signal<string>;
@@ -17,6 +17,7 @@ declare class DsTableResize<T extends object> {
17
17
  /** Per-column pixel widths, keyed by column key. */
18
18
  readonly columnWidths: i0.WritableSignal<Map<string, number>>;
19
19
  private resizeState;
20
+ private readonly guide;
20
21
  private readonly resizeFocus;
21
22
  constructor();
22
23
  /** `'content'` is not a pixel value; it is carried by a class, see `fitsContent`. */
@@ -30,6 +31,7 @@ declare class DsTableResize<T extends object> {
30
31
  private lockMeasuredWidths;
31
32
  private onResizeMove;
32
33
  private onResizeEnd;
34
+ private placeGuide;
33
35
  private onResizeFocus;
34
36
  /** Computed only while the separator holds focus: measuring on every change detection forces layout per column. */
35
37
  private resizeRange;