@ids-group-ltd/ids-design-system 0.14.6-beta.0 → 0.14.7

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 (187) hide show
  1. package/CHANGELOG.md +236 -4
  2. package/components.md +25 -22
  3. package/design-system.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -0
  5. package/docs/agent/charts/ds-column-chart.md +1 -0
  6. package/docs/agent/charts/ds-line-chart.md +1 -1
  7. package/docs/agent/forms/ds-autocomplete.md +1 -1
  8. package/docs/agent/forms/ds-button.md +2 -2
  9. package/docs/agent/forms/ds-input.md +1 -1
  10. package/docs/agent/forms/ds-multi-select.md +1 -1
  11. package/docs/agent/forms/ds-select.md +1 -1
  12. package/docs/agent/forms/ds-textarea.md +1 -1
  13. package/docs/agent/forms/filter-item-directive.md +1 -1
  14. package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  15. package/docs/agent/foundations/global-helper-classes.md +2 -2
  16. package/docs/agent/foundations/grid.md +8 -8
  17. package/docs/agent/overlays/ds-drawer.md +1 -1
  18. package/docs/agent/overlays/ds-modal-card.md +1 -1
  19. package/docs/agent/overlays/ds-modal.md +1 -1
  20. package/docs/agent/platform/toast-service.md +1 -0
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +10 -8
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +16 -9
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +18 -9
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -3
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +170 -4
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +327 -24
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +3 -3
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +16 -13
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +15 -5
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +5 -3
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -3
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +4 -3
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +22 -19
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +65 -13
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -3
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +9 -11
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +3 -3
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +98 -6
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +4 -3
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +7 -7
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +4 -4
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +7 -7
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +16 -3
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +16 -3
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +4 -4
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -2
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -9
  144. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +128 -9
  146. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +17 -6
  148. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +5 -2
  150. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
  152. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  153. package/migrations/0.14.6.json +176 -0
  154. package/migrations/0.14.7.json +140 -0
  155. package/migrations/0.4.0.json +3 -1
  156. package/package.json +1 -1
  157. package/schematics/check-overrides/surface.json +34 -25
  158. package/styles/_chart-frame.scss +1 -50
  159. package/styles/_field-state.scss +13 -1
  160. package/styles/_focus.scss +45 -33
  161. package/styles/_link.scss +12 -0
  162. package/styles/_press.scss +1 -1
  163. package/styles/_tokens-charts.scss +1 -1
  164. package/styles/_tokens.scss +2 -0
  165. package/styles/ds.scss +2 -0
  166. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +4 -2
  167. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +4 -2
  168. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -1
  169. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +65 -4
  170. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +54 -6
  171. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +1 -1
  172. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +2 -3
  173. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -1
  174. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +1 -1
  175. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +4 -4
  176. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +21 -4
  177. package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +1 -1
  178. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +21 -2
  179. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +1 -1
  180. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +1 -1
  181. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +2 -1
  182. package/types/ids-group-ltd-ids-design-system-components.d.ts +12 -2
  183. package/types/ids-group-ltd-ids-design-system-core.d.ts +35 -3
  184. package/types/ids-group-ltd-ids-design-system-icons.d.ts +3 -1
  185. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -2
  186. package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
  187. package/migrations/0.14.6-beta.0.json +0 -9
@@ -1,6 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { TemplateRef, Signal } from '@angular/core';
2
+ import { TemplateRef, Signal, InjectionToken } from '@angular/core';
3
3
  import { SafeHtml } from '@angular/platform-browser';
4
+ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
4
5
 
5
6
  /** Which mark a chart's tooltip answers for. `'item'` is the mark under the pointer;
6
7
  * `'axis'` is every series at the category under the pointer (line charts). */
@@ -52,6 +53,7 @@ declare class ChartTooltipDirective {
52
53
  private panelRef;
53
54
  private detachScrollReposition;
54
55
  private detachEscape;
56
+ private detachOffscreen;
55
57
  private glide;
56
58
  constructor();
57
59
  private open;
@@ -102,7 +104,7 @@ declare const CHART_PIN_RADIUS = 11;
102
104
  /** Gap between a disc and the top edge of what it holds.
103
105
  *
104
106
  * @internal */
105
- declare const CHART_PIN_GAP = 4;
107
+ declare const CHART_PIN_GAP = 8;
106
108
  /**
107
109
  * The disc an SVG chart draws on the mark or category it holds. Drawn, not composed:
108
110
  * `ds-icon`'s host is an element SVG does not know, which renders nothing inside a canvas.
@@ -119,5 +121,64 @@ declare class ChartPinMarkerComponent {
119
121
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartPinMarkerComponent, "g[dsChartPinMarker]", never, {}, {}, never, never, true, never>;
120
122
  }
121
123
 
122
- export { CHART_PIN_GAP, CHART_PIN_RADIUS, ChartPinMarkerComponent, ChartTooltipDirective, chartActiveMark };
123
- export type { ChartActiveMark, ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
124
+ /**
125
+ * Provided by a chart that wraps `ds-chart` and draws the Unpin control for its cursor itself,
126
+ * on its own caption line; the wrapped `ds-chart` then draws none.
127
+ *
128
+ * @internal
129
+ */
130
+ declare const CHART_UNPIN_DRAWN_BY_HOST: InjectionToken<true>;
131
+ /**
132
+ * The control that releases a held mark or category, at the top end of the chart. Every chart
133
+ * draws this one; the chart's own stylesheet makes room for it through `chart-frame.pin-reset`.
134
+ *
135
+ * @internal
136
+ */
137
+ declare class ChartUnpinComponent {
138
+ readonly pinned: _angular_core.InputSignal<boolean>;
139
+ readonly release: _angular_core.OutputEmitterRef<void>;
140
+ protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
141
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartUnpinComponent, never>;
142
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartUnpinComponent, "ds-chart-unpin", never, { "pinned": { "alias": "pinned"; "required": true; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
143
+ }
144
+
145
+ /**
146
+ * Context of a chart's own `message` template: the text, and whether it reports an error.
147
+ *
148
+ * @internal
149
+ */
150
+ interface ChartStatesMessageContext {
151
+ readonly $implicit: string;
152
+ readonly error: boolean;
153
+ }
154
+ /**
155
+ * The Unpin control, caption and error / loading / empty states every chart draws, then `body`.
156
+ * It sits on the chart's own `<figure>` so the caption stays the figure's direct child, which is
157
+ * what names the figure. `skeleton`, `body` and `message` are declared in the chart's template
158
+ * and keep its styles; the message box takes its height from an inherited
159
+ * `--_chart-message-height`.
160
+ *
161
+ * @internal
162
+ */
163
+ declare class ChartStatesComponent {
164
+ readonly unpin: _angular_core.InputSignalWithTransform<boolean, unknown>;
165
+ readonly pinned: _angular_core.InputSignal<boolean>;
166
+ readonly release: _angular_core.OutputEmitterRef<void>;
167
+ readonly caption: _angular_core.InputSignal<string | null>;
168
+ readonly error: _angular_core.InputSignal<boolean>;
169
+ readonly errorText: _angular_core.InputSignal<string>;
170
+ readonly pending: _angular_core.InputSignal<boolean>;
171
+ readonly empty: _angular_core.InputSignal<boolean>;
172
+ readonly emptyText: _angular_core.InputSignal<string>;
173
+ /** Draws the axis L along the message box's start and bottom edges. */
174
+ readonly messageAxes: _angular_core.InputSignalWithTransform<boolean, unknown>;
175
+ readonly skeleton: _angular_core.InputSignal<TemplateRef<unknown>>;
176
+ readonly body: _angular_core.InputSignal<TemplateRef<unknown>>;
177
+ /** Replaces the default error and empty paragraph. */
178
+ readonly message: _angular_core.InputSignal<TemplateRef<ChartStatesMessageContext> | null>;
179
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartStatesComponent, never>;
180
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartStatesComponent, "figure[dsChartStates]", never, { "unpin": { "alias": "unpin"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "messageAxes": { "alias": "messageAxes"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
181
+ }
182
+
183
+ export { CHART_PIN_GAP, CHART_PIN_RADIUS, CHART_UNPIN_DRAWN_BY_HOST, ChartPinMarkerComponent, ChartStatesComponent, ChartTooltipDirective, ChartUnpinComponent, chartActiveMark };
184
+ export type { ChartActiveMark, ChartItemTooltipTrigger, ChartStatesMessageContext, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
@@ -28,6 +28,8 @@ interface ChartTooltipSource {
28
28
  readonly axisOrigin?: Signal<Element | null>;
29
29
  /** What this mark reads at the cursor's category, whatever its own tooltip setting. */
30
30
  readonly axisEntries?: Signal<readonly ChartAxisEntry[]>;
31
+ /** The drawn element of each `axisEntries` reading, same order; the keyboard focuses it. */
32
+ readonly axisPointElements?: Signal<readonly (Element | null)[]>;
31
33
  }
32
34
  /** The drawable rectangle inside `ds-chart`, in CSS pixels; one `viewBox` user unit is one pixel. */
33
35
  interface ChartPlot {
@@ -241,8 +243,12 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
241
243
  readonly cursorOn: Signal<boolean>;
242
244
  /** The tooltip context to show, if any; at most one mark has one at a time. */
243
245
  private readonly activeTooltip;
246
+ private readonly pickedKey;
247
+ private readonly pickedReading;
244
248
  protected readonly tooltipContext: Signal<ChartTooltipContext | null>;
249
+ private readonly categoryContext;
245
250
  protected readonly tooltipOrigin: Signal<_ids_group_ltd_ids_design_system_components_chart_tooltip.ChartTooltipOrigin | null>;
251
+ private readonly categoryOrigin;
246
252
  protected readonly tooltipPinned: Signal<boolean>;
247
253
  /** Compared by value: a mark that reports and reads `yPosition()` in one effect would otherwise loop forever. */
248
254
  protected readonly domain: Signal<_ids_group_ltd_ids_design_system_components.NiceDomain>;
@@ -257,7 +263,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
257
263
  /** Second gridlines only where the scales do not share rows; an aligned axis would double every stroke. */
258
264
  protected readonly showSecondaryGridlines: Signal<boolean>;
259
265
  protected readonly secondaryLabelX: Signal<number>;
260
- protected readonly secondaryLabelAnchor: Signal<"start" | "end">;
266
+ protected readonly secondaryLabelAnchor: Signal<"end" | "start">;
261
267
  protected readonly secondaryPlotBottom: Signal<number>;
262
268
  /** No tint on a single-scale plot. */
263
269
  protected readonly axisLabelFill: Signal<string | null>;
@@ -267,20 +273,32 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
267
273
  readonly xPosition: Signal<(index: number) => number>;
268
274
  readonly yPosition: Signal<(value: number) => number>;
269
275
  readonly zeroOffset: Signal<number>;
276
+ private bandAt;
277
+ /** The band the panel reads from, drawn invisible as its fallback anchor. */
270
278
  protected readonly cursorBand: Signal<{
271
279
  x: number;
272
280
  width: number;
273
281
  top: number;
274
282
  bottom: number;
275
283
  } | null>;
284
+ protected readonly highlightBand: Signal<{
285
+ x: number;
286
+ width: number;
287
+ top: number;
288
+ bottom: number;
289
+ } | null>;
276
290
  /** The same state machine the element marks run on; here the index counts categories. */
277
291
  private readonly cursorState;
278
292
  readonly activeIndex: Signal<number>;
279
293
  private readonly pointerAt;
280
294
  private readonly pointerInBand;
281
- protected bandPinY(band: {
282
- readonly bottom: number;
283
- }): number;
295
+ private readonly hoveredCategory;
296
+ /** Under the panel: it opens over the tallest reading, so the disc sits at that reading's head -
297
+ * inside a column, below a marker, and over a column too short to hold it. */
298
+ protected readonly bandPinY: Signal<number>;
299
+ /** How far a held pin sits above the panel's anchor; the panel rises by as much to stay over it. */
300
+ private readonly pinRise;
301
+ protected readonly tooltipGap: Signal<number>;
284
302
  protected readonly bandPins: Signal<boolean>;
285
303
  readonly cursorPointer: Signal<{
286
304
  x: number;
@@ -288,6 +306,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
288
306
  } | null>;
289
307
  /** Whether the cursor is held. */
290
308
  readonly cursorPinned: Signal<boolean>;
309
+ protected readonly drawsUnpin: boolean;
291
310
  releaseCursor(): void;
292
311
  private readonly canvasElement;
293
312
  private canvasRect;
@@ -296,6 +315,29 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
296
315
  private listenForCursor;
297
316
  private readonly bandElement;
298
317
  readonly cursorOrigin: Signal<Element | null>;
318
+ protected readonly keyboardStops: Signal<boolean>;
319
+ private readonly roving;
320
+ private refocusStop;
321
+ readonly focusedCategory: Signal<number>;
322
+ protected readonly categoryStops: Signal<{
323
+ index: number;
324
+ category: string;
325
+ x: number;
326
+ width: number;
327
+ }[]>;
328
+ protected stopLabel(index: number): string;
329
+ protected onStopFocus(index: number, event: FocusEvent): void;
330
+ private leavesChart;
331
+ protected onStopBlur(event: FocusEvent): void;
332
+ protected onChartFocusOut(event: FocusEvent): void;
333
+ private focusStop;
334
+ private keyboardFocusInside;
335
+ private readonly stepBackOnEscape;
336
+ private listenForEscapeFromMarker;
337
+ private pinFromKeyboard;
338
+ private readingsTopDown;
339
+ protected onChartKey(event: KeyboardEvent): void;
340
+ protected onStopKey(event: KeyboardEvent): void;
299
341
  setActiveIndex(index: number): void;
300
342
  private clampIndex;
301
343
  protected readonly plotRight: Signal<number>;
@@ -347,7 +389,8 @@ interface ColumnSeriesPoint {
347
389
  */
348
390
  declare class ColumnSeriesComponent implements OnDestroy {
349
391
  protected readonly leaveMark: typeof leaveMark;
350
- private readonly scales;
392
+ protected readonly scales: _ids_group_ltd_ids_design_system_components_chart.ChartScales;
393
+ private readonly host;
351
394
  private readonly locale;
352
395
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
353
396
  /** Not `input.required`: the preset reads `tooltipContext()` from a binding on this same element,
@@ -447,6 +490,9 @@ declare class ColumnSeriesComponent implements OnDestroy {
447
490
  color: string;
448
491
  hatched: boolean;
449
492
  }[]>;
493
+ /** Inside the column's top when it holds the disc - the panel opens there - and over the column
494
+ * and its printed value when it is too short, so the disc never crosses the baseline. */
495
+ private pinYOf;
450
496
  protected markStagger(index: number): string;
451
497
  private readonly tooltipMark;
452
498
  protected onMarkClick(event: MouseEvent): void;
@@ -461,6 +507,7 @@ declare class ColumnSeriesComponent implements OnDestroy {
461
507
  }): string;
462
508
  /** This series' reading at the cursor's category, filled whatever `tooltip` says; feeds only the container's category panel. */
463
509
  readonly axisEntries: _angular_core.Signal<readonly ChartAxisEntry[]>;
510
+ readonly axisPointElements: _angular_core.Signal<readonly (Element | null)[]>;
464
511
  private shareDetail;
465
512
  readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
466
513
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnSeriesComponent, never>;
@@ -491,7 +538,7 @@ interface LineSeriesData {
491
538
  */
492
539
  declare class LineSeriesComponent implements OnDestroy {
493
540
  protected readonly leaveMark: typeof leaveMark;
494
- private readonly scales;
541
+ protected readonly scales: _ids_group_ltd_ids_design_system_components_chart.ChartScales;
495
542
  /** Not `input.required`: the preset reads `tooltipContext()` from a binding on this element (NG0950). */
496
543
  readonly data: _angular_core.InputSignal<readonly LineSeriesData[]>;
497
544
  /** Draws a round marker at every reading; reads better off past roughly twenty points. */
@@ -609,6 +656,7 @@ declare class LineSeriesComponent implements OnDestroy {
609
656
  private readonly readingsAtCursor;
610
657
  readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
611
658
  private readonly markerElements;
659
+ readonly axisPointElements: _angular_core.Signal<readonly (Element | null)[]>;
612
660
  /** The topmost reading at the active category, as an element; the cursor band spans the plot and would open an `'axis'` panel at the top. */
613
661
  private readonly topReadingElement;
614
662
  readonly tooltipOrigin: _angular_core.Signal<ChartTooltipOrigin | null>;
@@ -22,7 +22,7 @@ declare class CheckboxComponent extends DsBooleanControlValueAccessor {
22
22
  readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
23
  /** Label beside the box, wired via for/id. Omit to bring your own <label>. */
24
24
  readonly label: _angular_core.InputSignal<string>;
25
- /** Accessible name for a control with no visible label; overrides `label` when both are set. */
25
+ /** Accessible name when no `label` is set; ignored when `label` is set. */
26
26
  readonly ariaLabel: _angular_core.InputSignal<string | null>;
27
27
  protected readonly isDisabled: _angular_core.Signal<boolean>;
28
28
  protected readonly uid: string;
@@ -81,9 +81,9 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
81
81
  /** Where the tooltip anchors: `'mark'` (default) is the column; `'cell'` is the full-height category cell. */
82
82
  readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
83
83
  /** Keeps the panel clear of the value printed above the column. */
84
- protected readonly valueClearance: _angular_core.Signal<18 | 0>;
84
+ protected readonly valueClearance: _angular_core.Signal<0 | 18>;
85
85
  protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
86
- protected readonly geometry: _angular_core.WritableSignal<{
86
+ protected readonly geometry: _angular_core.Signal<{
87
87
  plotHeight: number;
88
88
  axisGutter: number;
89
89
  valueSpace: number;
@@ -114,7 +114,6 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
114
114
  protected readonly accessibleName: _angular_core.Signal<string>;
115
115
  protected readonly isEmpty: _angular_core.Signal<boolean>;
116
116
  protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
117
- constructor();
118
117
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
119
118
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "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; }; "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>;
120
119
  }
@@ -27,6 +27,7 @@ declare class DrawerComponent implements OnDestroy {
27
27
  private wasOpen;
28
28
  private closeFallbackTimer;
29
29
  protected readonly classes: _angular_core.Signal<string>;
30
+ private readonly unslotted;
30
31
  constructor();
31
32
  ngOnDestroy(): void;
32
33
  protected onClose(): void;
@@ -34,7 +35,7 @@ declare class DrawerComponent implements OnDestroy {
34
35
  private finishClose;
35
36
  protected onEscape(): void;
36
37
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
37
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body]", "[drawer-footer]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
38
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body], [body]", "*", "[drawer-footer], [actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
38
39
  }
39
40
 
40
41
  export { DrawerComponent };
@@ -41,7 +41,7 @@ declare class FilterItemDirective {
41
41
  * </ng-template>
42
42
  *
43
43
  * <ds-search dsFilterBarTrailing … />
44
- * <ds-button dsFilterBarTrailing variant="text">Clear</ds-button>
44
+ * <button dsFilterBarTrailing type="button" class="link">Clear</button>
45
45
  * </ds-filter-bar>
46
46
  * ```
47
47
  */
@@ -136,8 +136,9 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
136
136
  protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
137
137
  $implicit: ChartTooltipContext;
138
138
  }> | undefined>;
139
- /** Where the tooltip anchors. `'reading'` (default) is the highest reading in the category, so
140
- * the panel stays put within one band; `'pointer'` follows the cursor. */
139
+ /** Where the tooltip anchors while `tooltip` is `'axis'` (default); with `'item'` the panel
140
+ * hangs on the marker and this does nothing. `'reading'` (default) is the highest reading in the
141
+ * category, so the panel stays put within one band; `'pointer'` follows the cursor. */
141
142
  readonly tooltipAnchor: _angular_core.InputSignal<"reading" | "pointer">;
142
143
  protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
143
144
  protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
@@ -158,14 +159,13 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
158
159
  protected readonly axisMax: _angular_core.Signal<number | null>;
159
160
  protected readonly axisMaxSecondary: _angular_core.Signal<number | null>;
160
161
  private ceilingOf;
161
- protected readonly plotHeight: _angular_core.WritableSignal<number>;
162
+ protected readonly plotHeight: _angular_core.Signal<number>;
162
163
  protected readonly viewHeightPx: _angular_core.Signal<string>;
163
164
  protected onPointClicked(reading: {
164
165
  series: LineSeriesData;
165
166
  categoryIndex: number;
166
167
  value: number;
167
168
  }): void;
168
- constructor();
169
169
  protected readonly isEmpty: _angular_core.Signal<boolean>;
170
170
  protected readonly showLegend: _angular_core.Signal<boolean>;
171
171
  protected readonly noVisibleSeries: _angular_core.Signal<boolean>;
@@ -23,7 +23,7 @@ declare class ModalComponent implements OnDestroy {
23
23
  readonly subtitle: _angular_core.InputSignal<string | null>;
24
24
  /** Fires once the close (leave) animation finishes. */
25
25
  readonly closed: _angular_core.OutputEmitterRef<void>;
26
- /** Emit this yourself from a confirm action in the projected content; the modal never fires it. */
26
+ /** Fires when the projected `dsModalConfirm` action is pressed. The modal stays open. */
27
27
  readonly confirmed: _angular_core.OutputEmitterRef<void>;
28
28
  /** Draws the rules under the header and over the actions; off also tightens the vertical padding.
29
29
  * Unset falls back to `DS_CONFIG.modal.dividers`, then `true`. */
@@ -38,6 +38,7 @@ declare class ModalComponent implements OnDestroy {
38
38
  protected readonly closing: _angular_core.WritableSignal<boolean>;
39
39
  private wasOpen;
40
40
  private closeFallbackTimer;
41
+ private readonly unslotted;
41
42
  constructor();
42
43
  ngOnDestroy(): void;
43
44
  protected onClose(): void;
@@ -50,7 +51,7 @@ declare class ModalComponent implements OnDestroy {
50
51
  protected onBackdropRelease(event: PointerEvent): void;
51
52
  protected onEscape(): void;
52
53
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
53
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ds-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "persistent": { "alias": "persistent"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; "confirmed": "confirmed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "[impact]", "[actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
54
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ds-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "persistent": { "alias": "persistent"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; "confirmed": "confirmed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "*", "[impact]", "[actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
54
55
  }
55
56
 
56
57
  declare class ModalCardComponent {
@@ -80,6 +81,7 @@ declare class ModalCardComponent {
80
81
  protected readonly titleId: string;
81
82
  private readonly header;
82
83
  private readonly actionsRow;
84
+ private readonly unslotted;
83
85
  constructor();
84
86
  private stackOverflowingActions;
85
87
  protected readonly resolvedIcon: _angular_core.Signal<IconName | null>;
@@ -87,7 +89,22 @@ declare class ModalCardComponent {
87
89
  protected readonly classes: _angular_core.Signal<string>;
88
90
  protected onClose(): void;
89
91
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalCardComponent, never>;
90
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalCardComponent, "ds-modal-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dialogRole": { "alias": "dialogRole"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "[impact]", "[actions]"], true, never>;
92
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalCardComponent, "ds-modal-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dialogRole": { "alias": "dialogRole"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "*", "[impact]", "[actions]"], true, never>;
93
+ }
94
+
95
+ /**
96
+ * Marks the confirm action inside a `ds-modal`; pressing it fires the modal's `confirmed`.
97
+ * On a `ds-button` it follows `pressed`, so a disabled or loading button never confirms; on any
98
+ * other element it follows `click` and skips `aria-disabled="true"`. The modal stays open:
99
+ * close it from the `confirmed` handler once the work is done.
100
+ */
101
+ declare class ModalConfirmActionDirective {
102
+ private readonly modal;
103
+ private readonly button;
104
+ constructor();
105
+ protected onClick(event: MouseEvent): void;
106
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalConfirmActionDirective, never>;
107
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ModalConfirmActionDirective, "[dsModalConfirm]", never, {}, {}, never, never, true, never>;
91
108
  }
92
109
 
93
110
  type ModalConfirmTone = 'default' | 'error';
@@ -113,5 +130,5 @@ declare class ModalService {
113
130
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
114
131
  }
115
132
 
116
- export { ModalCardComponent, ModalComponent, ModalService };
133
+ export { ModalCardComponent, ModalComponent, ModalConfirmActionDirective, ModalService };
117
134
  export type { ModalConfirmOptions, ModalConfirmTone, ModalSize };
@@ -11,7 +11,7 @@ declare class PageHeaderComponent {
11
11
  readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
12
12
  /** Shows a rule under the whole header. */
13
13
  readonly divider: _angular_core.InputSignalWithTransform<boolean, unknown>;
14
- /** Shows a rule under the meta row only. */
14
+ /** Draws a rule above the meta row. */
15
15
  readonly metaDivider: _angular_core.InputSignalWithTransform<boolean, unknown>;
16
16
  protected readonly classes: _angular_core.Signal<string>;
17
17
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
@@ -14,6 +14,8 @@ interface PieChartSlice {
14
14
  /** 1-based palette slot; left off, the colour follows the index. */
15
15
  slot?: number;
16
16
  }
17
+ /** Where `ds-pie-chart` prints its centre value. */
18
+ type PieChartCenterPlacement = 'inside' | 'below';
17
19
 
18
20
  declare class PieChartComponent extends DsChartBase implements ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger {
19
21
  protected readonly renderReady: _angular_core.Signal<boolean>;
@@ -23,6 +25,12 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
23
25
  readonly centerValue: _angular_core.InputSignal<string | null>;
24
26
  /** Caption under the centre value. */
25
27
  readonly centerLabel: _angular_core.InputSignal<string | null>;
28
+ /** When the sum does not fit the hole even at `--ds-pie-chart-center-value-min-font-size`, prints
29
+ * it in the `'tick'` form of `valueFormat` (`32.4K`). A `centerValue` string is never shortened. */
30
+ readonly centerCompact: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
+ /** `'below'` prints the value and its caption under the ring at full size, never shrunk or
32
+ * shortened. */
33
+ readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
26
34
  /** Legend placement, logical so it flips in right-to-left. */
27
35
  readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
28
36
  /** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
@@ -88,8 +96,19 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
88
96
  };
89
97
  } | null>;
90
98
  protected readonly resolvedCenterValue: _angular_core.Signal<string>;
99
+ private readonly compactCenterValue;
100
+ private readonly ringElement;
101
+ private readonly centerValueElement;
102
+ private readonly centerFit;
103
+ protected readonly centerText: _angular_core.Signal<string>;
104
+ protected readonly centerFontSize: _angular_core.Signal<number | null>;
105
+ private readonly ringWidth;
106
+ private readonly fitsInside;
107
+ private fitCenter;
91
108
  protected readonly accessibleName: _angular_core.Signal<string>;
92
109
  protected readonly hole: _angular_core.Signal<number>;
110
+ private readonly watchRing;
111
+ private readonly refit;
93
112
  protected entryLabel(entry: {
94
113
  slice: PieChartSlice;
95
114
  formattedValue: string;
@@ -101,8 +120,8 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
101
120
  /** Placeholder legend rows while loading. */
102
121
  protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
103
122
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
104
- 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; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "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>;
123
+ 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; }; "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>;
105
124
  }
106
125
 
107
126
  export { PieChartComponent };
108
- export type { PieChartSlice };
127
+ export type { PieChartCenterPlacement, PieChartSlice };
@@ -62,7 +62,7 @@ declare class SidenavGroupComponent {
62
62
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
63
63
  /** Group heading text. */
64
64
  readonly label: _angular_core.InputSignal<string>;
65
- /** Optional group icon; omit to project custom content via the `[icon]` slot instead. */
65
+ /** Optional group icon; omit to project custom content via the `[ds-group-icon]` slot instead. */
66
66
  readonly icon: _angular_core.InputSignal<IconName | null>;
67
67
  /** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
68
68
  readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -28,7 +28,7 @@ declare class TabsComponent {
28
28
  readonly selectedIndex: _angular_core.ModelSignal<number>;
29
29
  /** Visual style of the tab strip. */
30
30
  readonly variant: _angular_core.InputSignal<TabsVariant>;
31
- /** When true, a tab's content is instantiated on first activation and kept alive. Default renders all panels eagerly. */
31
+ /** When true, a tab's content is instantiated on first activation and kept alive. Default renders only the active panel. */
32
32
  readonly lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
33
  /** When true, a horizontal strip scrolls inside its own box with previous/next arrows
34
34
  while tabs lie beyond its edges, and the active tab is scrolled into view.
@@ -19,9 +19,10 @@ declare class TagComponent {
19
19
  readonly closeLabelResolved: _angular_core.Signal<string>;
20
20
  /** Fires when the close button is clicked. */
21
21
  readonly closed: _angular_core.OutputEmitterRef<void>;
22
- /** Fires on click when `interactive`. */
22
+ /** Fires on a click, Enter or Space when `interactive`. */
23
23
  readonly toggled: _angular_core.OutputEmitterRef<void>;
24
24
  protected onClick(): void;
25
+ protected onKeyActivate(event: Event): void;
25
26
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
26
27
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ds-tag", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "toggled": "toggled"; }, never, ["*"], true, never>;
27
28
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Signal, ElementRef, InjectionToken, AnimationCallbackEvent, TemplateRef, ModelSignal, WritableSignal } from '@angular/core';
2
+ import { Signal, ElementRef, WritableSignal, InjectionToken, AnimationCallbackEvent, TemplateRef, ModelSignal } from '@angular/core';
3
3
  import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
4
4
  import { ChartValueFormat, ChartCurve, DsIntl, ChartThreshold, IconName, ChartDataTable, ChartFrame } from '@ids-group-ltd/ids-design-system/core';
5
5
  import { ControlValueAccessor } from '@angular/forms';
@@ -84,6 +84,16 @@ declare function describeShare(values: readonly number[], index: number, locale:
84
84
  *
85
85
  * @internal */
86
86
  declare function elementWidth(host: ElementRef<HTMLElement>): Signal<number>;
87
+ /** Writes `element`'s rounded content width into `width` on every change, through the one observer
88
+ * every chart shares. Returns the call that stops it.
89
+ *
90
+ * @internal */
91
+ declare function watchElementWidth(element: Element, width: WritableSignal<number>): () => void;
92
+ /** `read(host)` as a signal, re-read whenever the host's width changes, so a geometry token re-pointed
93
+ * at a breakpoint reaches the chart. `initial` until the host is laid out, and under SSR.
94
+ *
95
+ * @internal */
96
+ declare function readOnHostResize<T>(host: ElementRef<HTMLElement>, read: (element: HTMLElement) => T, initial: T, equal: (previous: T, next: T) => boolean): Signal<T>;
87
97
 
88
98
  /** Provided by a chart that has already waited for the viewport, so its `ds-chart` builds at once.
89
99
  *
@@ -918,5 +928,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
918
928
  tooltipSwatches: Signal<boolean | "auto">;
919
929
  };
920
930
 
921
- export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDwell, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
931
+ export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDwell, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge, watchElementWidth };
922
932
  export type { BandScale, ChartDimmable, ChartDwell, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };
@@ -263,6 +263,10 @@ interface DsConfig {
263
263
  maxVisible?: number;
264
264
  /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */
265
265
  showQueueCount?: boolean;
266
+ /** In dev mode, also show each library warning from the console as a warning toast, once the
267
+ * app has injected `ToastService`; warnings raised earlier show when it is. Never in a
268
+ * production build. Default `true`. */
269
+ mirrorDevWarnings?: boolean;
266
270
  };
267
271
  picker?: {
268
272
  /** Default for `ds-multi-select`'s `searchable`. `true` always shows the panel's filter row,
@@ -367,8 +371,24 @@ declare function inheritDsConfig(config: DsConfig): DsConfig;
367
371
  declare function resolveWithConfig<T>(value: Signal<T | null>, pick: (config: DsConfig) => T | undefined, fallback: T): Signal<T>;
368
372
 
369
373
  /**
370
- * Warns once per distinct message: the effect re-runs whenever a signal the condition reads
371
- * changes, so a static misconfiguration would otherwise log on every keystroke.
374
+ * The one exit for every dev-mode warning of the library: logs `message` with `console.warn` once
375
+ * per page, however many instances raise it, and hands it to each sink (`ToastService` registers
376
+ * one). Messages raised before any sink exists are kept, up to 50, for the first one.
377
+ *
378
+ * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`, so the message text
379
+ * folds out of a production build.
380
+ * @internal
381
+ */
382
+ declare function reportDevWarning(message: string): void;
383
+ /**
384
+ * Receives every dev warning from now on, plus the ones raised before the first sink existed.
385
+ * Returns the unregister function.
386
+ * @internal
387
+ */
388
+ declare function addDevWarningSink(sink: (message: string) => void): () => void;
389
+ /**
390
+ * Reports `message()` through `reportDevWarning` each time it yields a text: the effect re-runs
391
+ * whenever a signal the condition reads changes, and `reportDevWarning` drops a repeat.
372
392
  *
373
393
  * Must be called from an injection context.
374
394
  *
@@ -396,6 +416,16 @@ interface AnnounceState {
396
416
  */
397
417
  declare function warnAnnounceOversight(tag: 'ds-banner' | 'ds-alert', section: 'banner' | 'alert', state: () => AnnounceState): void;
398
418
 
419
+ /**
420
+ * Warns when content reaches an overlay's default slot: it renders in the body, but it carries no
421
+ * slot attribute, or one the overlay does not have. `container` is the element wrapping the
422
+ * default `<ng-content />`; content that appears later (an `@if` resolving) is caught by a
423
+ * MutationObserver. Reported through `reportDevWarning`, dev mode only; the caller wraps the call in the
424
+ * `typeof ngDevMode` guard (see `devWarn`). Must be called from an injection context.
425
+ * @internal
426
+ */
427
+ declare function warnUnslottedContent(tag: string, bodySlot: string, slots: readonly string[], container: () => HTMLElement | undefined): void;
428
+
399
429
  type DsIntlStepState = 'error' | 'completed' | 'current' | 'upcoming';
400
430
  type DsIntlSortDirection = 'asc' | 'desc' | null;
401
431
  /** Every string the library invents, grouped by the component that renders it. A function member
@@ -447,6 +477,8 @@ interface DsIntl {
447
477
  readonly selectYear: string;
448
478
  readonly previousYears: string;
449
479
  readonly nextYears: string;
480
+ readonly previousMonth: string;
481
+ readonly nextMonth: string;
450
482
  readonly invalidDate: (mask: string) => string;
451
483
  };
452
484
  readonly timePicker: {
@@ -856,5 +888,5 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
856
888
  */
857
889
  type DsControlWidth = 'fill' | 'content';
858
890
 
859
- export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, resolveWithConfig, warnAnnounceOversight };
891
+ export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, addDevWarningSink, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, reportDevWarning, resolveWithConfig, warnAnnounceOversight, warnUnslottedContent };
860
892
  export type { AnnounceState, CardElevation, CardPadding, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName, PaginationLayout };