@ids-group-ltd/ids-design-system 1.0.0 → 1.0.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 (97) hide show
  1. package/CHANGELOG.md +108 -23
  2. package/agent/forms/ds-autocomplete.md +1 -1
  3. package/agent/forms/ds-button.md +3 -3
  4. package/agent/forms/ds-checkbox.md +1 -1
  5. package/agent/forms/ds-color-picker.md +1 -1
  6. package/agent/forms/ds-date-picker.md +1 -1
  7. package/agent/forms/ds-icon-button.md +1 -1
  8. package/agent/forms/ds-input.md +1 -1
  9. package/agent/forms/ds-multi-select.md +1 -1
  10. package/agent/forms/ds-otp-input.md +1 -1
  11. package/agent/forms/ds-radio-group.md +1 -1
  12. package/agent/forms/ds-radio.md +1 -1
  13. package/agent/forms/ds-search.md +1 -1
  14. package/agent/forms/ds-segmented.md +1 -1
  15. package/agent/forms/ds-select.md +1 -1
  16. package/agent/forms/ds-slider.md +1 -1
  17. package/agent/forms/ds-switch.md +1 -1
  18. package/agent/forms/ds-textarea.md +1 -1
  19. package/agent/forms/ds-time-picker.md +1 -1
  20. package/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
  21. package/components.md +22 -22
  22. package/design-system.md +24 -0
  23. package/eslint/deprecated-api.json +7 -210
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -0
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +22 -3
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +4 -3
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -0
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -0
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +27 -19
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +8 -4
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -0
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +4 -4
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +4 -2
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -0
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +4 -13
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +62 -5
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +3 -0
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -0
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -0
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -0
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -0
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +10 -7
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -0
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +58 -8
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +53 -43
  75. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system.mjs +2 -3
  77. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  78. package/migrations/0.15.1.json +4 -2
  79. package/migrations/0.15.3.json +14 -4
  80. package/migrations/1.0.0.json +0 -333
  81. package/migrations/1.0.1.json +36 -0
  82. package/migrations/1.0.2.json +70 -0
  83. package/package.json +5 -9
  84. package/schematics/check-overrides/surface.json +4 -1
  85. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +11 -4
  86. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +1 -1
  87. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +2 -1
  88. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +6 -1
  89. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
  90. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +26 -2
  91. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +0 -1
  92. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +7 -0
  93. package/types/ids-group-ltd-ids-design-system-components.d.ts +25 -21
  94. package/types/ids-group-ltd-ids-design-system.d.ts +3 -4
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs +0 -52
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs.map +0 -1
  97. package/types/ids-group-ltd-ids-design-system-components-submitted.d.ts +0 -27
@@ -0,0 +1,70 @@
1
+ {
2
+ "version": "1.0.2",
3
+ "items": [
4
+ {
5
+ "id": "button-loading-spinner-in-icon-slot",
6
+ "kind": "behavior",
7
+ "old": "ds-button[loading]",
8
+ "new": null,
9
+ "surface": "template",
10
+ "searchHints": [
11
+ "loading",
12
+ "icon="
13
+ ],
14
+ "action": "None, unless a loading button with an `icon` must keep hiding its label behind a centred spinner: bind `loadingMode=\"replace\"` on that button.",
15
+ "appliesWhen": "A `ds-button` that sets both `icon` and `loading`. A button without `icon` renders as before, and `ds-icon-button` has no loading state.",
16
+ "restore": "<ds-button icon=\"save\" [loading]=\"saving()\" loadingMode=\"replace\">Save</ds-button>",
17
+ "verify": "A loading `ds-button` with an `icon` shows its label with a spinner in the icon's place, unless it binds `loadingMode=\"replace\"`."
18
+ },
19
+ {
20
+ "id": "date-picker-input-combobox-role",
21
+ "kind": "behavior",
22
+ "old": "ds-date-picker",
23
+ "new": null,
24
+ "surface": "template",
25
+ "searchHints": [
26
+ "ds-date-picker",
27
+ "role=\"textbox\"",
28
+ "getByRole('textbox')"
29
+ ],
30
+ "action": "None, unless a test or a selector finds the date input by the `textbox` role: query the `combobox` role instead.",
31
+ "appliesWhen": "A test, a selector or a template that targets the text input of a `ds-date-picker` by role.",
32
+ "restore": "screen.getByRole('combobox', { name: 'Start date' })",
33
+ "verify": "The `ds-date-picker` text input reports `role=\"combobox\"` and still parses a typed date."
34
+ },
35
+ {
36
+ "id": "menu-gap-default-zero",
37
+ "kind": "behavior",
38
+ "old": "--ds-menu-gap",
39
+ "new": null,
40
+ "surface": "style",
41
+ "searchHints": [
42
+ "--ds-menu-gap",
43
+ "ds-menu"
44
+ ],
45
+ "action": "None, unless a layout relied on the gap between menu rows (the default was `var(--space-0-5)`, now `0px`): set `--ds-menu-gap: var(--space-0-5)` on that menu.",
46
+ "appliesWhen": "A `ds-menu` that does not set `--ds-menu-gap`. A menu that sets it keeps its value, and the strip between rows where the pointer hovers no row.",
47
+ "restore": "ds-menu { --ds-menu-gap: var(--space-0-5); }",
48
+ "verify": "A `ds-menu` without `--ds-menu-gap` renders its rows touching, and one that sets `--ds-menu-gap: var(--space-0-5)` shows the gap between rows again."
49
+ }
50
+ ],
51
+ "informational": [
52
+ {
53
+ "text": "New `[dsPopoverTrigger]` directive (`DsPopoverTrigger`, exported with `PopoverComponent`) opens a `ds-popover` from a button and sets `aria-haspopup`, `aria-expanded` and `aria-controls` on its inner `<button>`.",
54
+ "verify": "A `ds-icon-button` with `[dsPopoverTrigger]` around a `ds-menu` popover: Enter opens the menu, the inner button reads aria-haspopup=\"menu\" and aria-expanded=\"true\", and Escape closes it and returns focus to the button."
55
+ },
56
+ {
57
+ "text": "Now in a single `ds-time-picker` picks the current time and closes the panel; a range panel stays open until Done. A single panel used to stay open after Now.",
58
+ "verify": "Open a single `ds-time-picker` and press Now: the current time is set and the panel closes. In a range picker the panel stays open after Now."
59
+ },
60
+ {
61
+ "text": "A looping hour or minute column of `ds-time-picker` marks only the copy of the selected value nearest the column's centre with `is-selected`, so a test that counts `.is-selected` cells inside its internal `ds-time-columns` element sees fewer than before.",
62
+ "verify": "Scroll a minute column with a 15-minute step and `loop=\"always\"`: one cell carries `is-selected` at a time."
63
+ },
64
+ {
65
+ "text": "The trigger `<button>` of `ds-time-picker` holds its shown time in an inner `<span>` beside hidden `.time-value-sizer` spans (`aria-hidden=\"true\"`) that reserve its width, so the text content of the trigger also contains their text.",
66
+ "verify": "A `ds-time-picker` set to 09:30 shows `09:30` and keeps the same width when cleared; a query by role and accessible name still finds the trigger."
67
+ }
68
+ ],
69
+ "deleteList": []
70
+ }
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "IDS Group Angular design system: components, tokens, themes",
5
5
  "license": "MIT",
6
6
  "homepage": "https://ids-ds.proto.ids-group.co.uk/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/ids-group/ids-design-system.git"
10
+ },
7
11
  "keywords": [
8
12
  "angular",
9
13
  "design-system",
@@ -315,10 +319,6 @@
315
319
  "types": "./types/ids-group-ltd-ids-design-system-components-stepper.d.ts",
316
320
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs"
317
321
  },
318
- "./components/submitted": {
319
- "types": "./types/ids-group-ltd-ids-design-system-components-submitted.d.ts",
320
- "default": "./fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs"
321
- },
322
322
  "./components/switch": {
323
323
  "types": "./types/ids-group-ltd-ids-design-system-components-switch.d.ts",
324
324
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs"
@@ -687,10 +687,6 @@
687
687
  "types": "./types/ids-group-ltd-ids-design-system-components-stepper.d.ts",
688
688
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs"
689
689
  },
690
- "./submitted": {
691
- "types": "./types/ids-group-ltd-ids-design-system-components-submitted.d.ts",
692
- "default": "./fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs"
693
- },
694
690
  "./switch": {
695
691
  "types": "./types/ids-group-ltd-ids-design-system-components-switch.d.ts",
696
692
  "default": "./fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.0.2",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -1314,6 +1314,8 @@
1314
1314
  "label",
1315
1315
  "lg",
1316
1316
  "loading",
1317
+ "loading-replace",
1318
+ "loading-spinner",
1317
1319
  "md",
1318
1320
  "reason",
1319
1321
  "sm",
@@ -2398,6 +2400,7 @@
2398
2400
  "time-panel",
2399
2401
  "time-static",
2400
2402
  "time-value",
2403
+ "time-value-sizer",
2401
2404
  "trigger",
2402
2405
  "trigger-wrap"
2403
2406
  ],
@@ -9,6 +9,7 @@ type ButtonColor = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'error' |
9
9
  type ButtonVariant = 'solid' | 'tonal' | 'ghost' | 'outline' | 'text';
10
10
  type ButtonType = 'button' | 'submit' | 'reset';
11
11
  type ButtonAlign = 'center' | 'between';
12
+ type ButtonLoadingMode = 'auto' | 'icon' | 'replace';
12
13
 
13
14
  declare class ButtonComponent extends DsMessageBase {
14
15
  protected readonly reserveFollowsFieldDefault = false;
@@ -45,9 +46,9 @@ declare class ButtonComponent extends DsMessageBase {
45
46
  /** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
46
47
  * announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
47
48
  * Pass `ariaCurrent` alongside to keep one. */
48
- readonly routerLinkActiveOptions: _angular_core.InputSignal<{
49
+ readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
49
50
  exact: boolean;
50
- } | IsActiveMatchOptions>;
51
+ }>;
51
52
  /** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
52
53
  * `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
53
54
  readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
@@ -60,6 +61,11 @@ declare class ButtonComponent extends DsMessageBase {
60
61
  * focusable so focus stays on it while the work runs. Button-only; ignored on an anchor with a
61
62
  * dev warning. */
62
63
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
64
+ /** Where the `loading` spinner draws. `'icon'` puts it in the leading icon's box (the trailing
65
+ * icon's when there is no leading one) and keeps the label visible; `'replace'` hides the
66
+ * contents behind one spinner centred on the button; `'auto'` is `'icon'` when `icon` is set,
67
+ * else `'replace'`. Neither moves the label or resizes the button. */
68
+ readonly loadingMode: _angular_core.InputSignal<ButtonLoadingMode>;
63
69
  /** Fills the container: the host becomes block-level and 100% wide. */
64
70
  readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
65
71
  /** Accessible name, forwarded as `aria-label`. For an icon-only or non-descriptive label. */
@@ -90,6 +96,7 @@ declare class ButtonComponent extends DsMessageBase {
90
96
  protected readonly linkModifiers: _angular_core.Signal<DsLinkModifiers>;
91
97
  protected readonly ariaCurrentResolved: _angular_core.Signal<DsAriaCurrent | undefined>;
92
98
  protected readonly classes: _angular_core.Signal<string>;
99
+ protected readonly loadingIconSlot: _angular_core.Signal<"leading" | "trailing" | null>;
93
100
  protected readonly softDisabled: _angular_core.Signal<boolean>;
94
101
  private readonly uid;
95
102
  protected readonly reasonId: string;
@@ -101,8 +108,8 @@ declare class ButtonComponent extends DsMessageBase {
101
108
  constructor();
102
109
  protected onClick(event: MouseEvent): void;
103
110
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
104
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
111
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingMode": { "alias": "loadingMode"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
105
112
  }
106
113
 
107
114
  export { ButtonComponent };
108
- export type { ButtonAlign, ButtonColor, ButtonType, ButtonVariant };
115
+ export type { ButtonAlign, ButtonColor, ButtonLoadingMode, ButtonType, ButtonVariant };
@@ -320,7 +320,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
320
320
  /** Second gridlines only where the scales do not share rows; an aligned axis would double every stroke. */
321
321
  protected readonly showSecondaryGridlines: Signal<boolean>;
322
322
  protected readonly secondaryLabelX: Signal<number>;
323
- protected readonly secondaryLabelAnchor: Signal<"start" | "end">;
323
+ protected readonly secondaryLabelAnchor: Signal<"end" | "start">;
324
324
  protected readonly secondaryPlotBottom: Signal<number>;
325
325
  /** No tint on a single-scale plot. */
326
326
  protected readonly axisLabelFill: Signal<string | null>;
@@ -113,7 +113,8 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
113
113
  readonly allowInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
114
114
  protected readonly isDisabled: _angular_core.Signal<boolean>;
115
115
  protected readonly hintId: _angular_core.Signal<string | null>;
116
- private readonly parseErrors;
116
+ private readonly localError;
117
+ private readonly dateInvalid;
117
118
  private readonly fieldMessage;
118
119
  protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
119
120
  protected readonly pendingShown: _angular_core.Signal<boolean>;
@@ -1,4 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
2
3
  import { IconName, DsSize } from '@ids-group-ltd/ids-design-system/core';
3
4
  import { ButtonColor } from '@ids-group-ltd/ids-design-system/components/button';
4
5
 
@@ -31,6 +32,8 @@ declare class IconButtonComponent {
31
32
  /** Toggle state: renders the pressed look and sets `aria-pressed`, `"false"` when bound off.
32
33
  * Unbound, the button is no toggle and carries no `aria-pressed`. */
33
34
  readonly selected: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
35
+ /** `aria-haspopup` on the inner `<button>`; set when this button triggers an overlay. */
36
+ readonly ariaHasPopup: _angular_core.InputSignal<"menu" | "grid" | "true" | "listbox" | "tree" | "dialog" | null>;
34
37
  /** `aria-expanded` on the inner `<button>`; bind to the open state. On the host it would land
35
38
  * on a non-focusable wrapper. */
36
39
  readonly ariaExpanded: _angular_core.InputSignal<boolean | null>;
@@ -38,11 +41,13 @@ declare class IconButtonComponent {
38
41
  readonly ariaControls: _angular_core.InputSignal<string | null>;
39
42
  /** Fires on click unless disabled. */
40
43
  readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
44
+ /** The inner control, for an overlay to position against and restore focus to. */
45
+ readonly controlRef: _angular_core.Signal<ElementRef<HTMLElement>>;
41
46
  protected readonly classes: _angular_core.Signal<string>;
42
47
  protected readonly iconSize: _angular_core.Signal<16 | 24 | 20>;
43
48
  protected onClick(event: MouseEvent): void;
44
49
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconButtonComponent, never>;
45
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconButtonComponent, "ds-icon-button", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, never, true, never>;
50
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconButtonComponent, "ds-icon-button", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, never, true, never>;
46
51
  }
47
52
 
48
53
  export { IconButtonComponent };
@@ -35,7 +35,7 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
35
35
  * `centerValue` and `centerLabel`. */
36
36
  readonly showHoverCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
37
37
  /** Legend placement, logical so it flips in right-to-left. */
38
- readonly legend: _angular_core.InputSignal<"none" | "end" | "bottom">;
38
+ readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
39
39
  /** How many slices, and legend rows, the loading skeleton draws before the data is known. */
40
40
  readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
41
41
  /** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
@@ -34,14 +34,38 @@ declare class PopoverComponent implements OnDestroy, DsOverlayCloseRef {
34
34
  readonly panelLabel: _angular_core.InputSignal<string | null>;
35
35
  /** Open/closed state, for callers binding `aria-expanded` on the trigger. */
36
36
  readonly opened: _angular_core.WritableSignal<boolean>;
37
+ /** Id of the open panel, for `aria-controls` on the trigger. */
38
+ readonly panelId: string;
39
+ private readonly menu;
40
+ /** Whether the projected content holds a `ds-menu`, which makes the trigger `aria-haspopup="menu"`. */
41
+ readonly holdsMenu: _angular_core.Signal<boolean>;
37
42
  /** Resolved placement after the overlay positions; drives the arrow direction. */
38
43
  readonly resolvedPlacement: _angular_core.WritableSignal<PopoverPlacement>;
39
44
  toggle(trigger: HTMLElement): void;
40
45
  close(cause?: DsOverlayCloseCause): void;
41
46
  ngOnDestroy(): void;
42
47
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverComponent, never>;
43
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PopoverComponent, "ds-popover", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; "panelRole": { "alias": "panelRole"; "required": false; "isSignal": true; }; "panelLabel": { "alias": "panelLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PopoverComponent, "ds-popover", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; "panelRole": { "alias": "panelRole"; "required": false; "isSignal": true; }; "panelLabel": { "alias": "panelLabel"; "required": false; "isSignal": true; }; }, {}, ["menu"], ["*"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
44
49
  }
45
50
 
46
- export { PopoverComponent };
51
+ /**
52
+ * Opens a `ds-popover` from the element it sits on and keeps the trigger's ARIA in step:
53
+ * `aria-haspopup` (`menu` when the popover holds a `ds-menu`, `dialog` otherwise), `aria-expanded`
54
+ * and, while open, `aria-controls`. On `ds-button` and `ds-icon-button` these land on the inner
55
+ * `<button>`, the element a screen reader focuses; the overlay anchors to it too.
56
+ *
57
+ * Writes the attributes itself, so leave `ariaHasPopup`, `ariaExpanded` and `ariaControls` unbound
58
+ * on the same button: a bound value would overwrite them on its next change.
59
+ */
60
+ declare class DsPopoverTrigger {
61
+ readonly popover: _angular_core.InputSignal<PopoverComponent>;
62
+ private readonly host;
63
+ constructor();
64
+ protected toggle(): void;
65
+ private control;
66
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsPopoverTrigger, never>;
67
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsPopoverTrigger, "[dsPopoverTrigger]", never, { "popover": { "alias": "dsPopoverTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
68
+ }
69
+
70
+ export { DsPopoverTrigger, PopoverComponent };
47
71
  export type { PopoverAlign, PopoverPlacement };
@@ -33,7 +33,6 @@ declare class DsTableResize<T extends object> {
33
33
  private onResizeEnd;
34
34
  private placeGuide;
35
35
  private onResizeFocus;
36
- /** Computed only while the separator holds focus: measuring on every change detection forces layout per column. */
37
36
  private resizeRange;
38
37
  private resolvedColumnWidth;
39
38
  private onResizeKey;
@@ -72,6 +72,10 @@ declare class TimeColumnsComponent {
72
72
  private readonly smoothScrolls;
73
73
  protected readonly hoursLoop: _angular_core.Signal<boolean>;
74
74
  protected readonly minutesLoop: _angular_core.Signal<boolean>;
75
+ private readonly hoursCentredRow;
76
+ private readonly minutesCentredRow;
77
+ protected readonly hoursSelectedCopy: _angular_core.Signal<number>;
78
+ protected readonly minutesSelectedCopy: _angular_core.Signal<number>;
75
79
  protected readonly pickHour: (cell: Cell<number>) => void;
76
80
  protected readonly pickMinute: (cell: Cell<number>) => void;
77
81
  constructor();
@@ -81,6 +85,8 @@ declare class TimeColumnsComponent {
81
85
  private loops;
82
86
  private overflows;
83
87
  protected onScroll(event: Event, column: TimeColumnId, count: number): void;
88
+ private trackCentredRow;
89
+ private selectedCopy;
84
90
  /** Keeps a looping column inside its middle set, so a copy is always beyond either edge. */
85
91
  private wrapScroll;
86
92
  protected onUserScroll(event: Event): void;
@@ -198,6 +204,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
198
204
  protected readonly rangeValue: _angular_core.Signal<TimeRangeValue>;
199
205
  protected readonly hasValue: _angular_core.Signal<boolean>;
200
206
  protected readonly displayValue: _angular_core.Signal<string>;
207
+ protected readonly widestValues: _angular_core.Signal<string[]>;
201
208
  protected readonly triggerClasses: _angular_core.Signal<string>;
202
209
  protected readonly panelValue: _angular_core.Signal<string | null>;
203
210
  /** The end segment cannot precede the chosen start. */
@@ -94,6 +94,12 @@ declare function watchElementWidth(element: Element, width: WritableSignal<numbe
94
94
  *
95
95
  * @internal */
96
96
  declare function readOnHostResize<T>(host: ElementRef<HTMLElement>, read: (element: HTMLElement) => T, initial: T, equal: (previous: T, next: T) => boolean): Signal<T>;
97
+ /** `true` once the page's web fonts have loaded, for an effect that measures rendered text: reading
98
+ * it re-runs the measure taken against the fallback face. The wait starts on the first call, so
99
+ * call it in the browser, after the text it measures has rendered.
100
+ *
101
+ * @internal */
102
+ declare function fontsLoaded(): boolean;
97
103
 
98
104
  /** Provided by a chart that has already waited for the viewport, so its `ds-chart` builds at once.
99
105
  *
@@ -415,11 +421,6 @@ type DsFieldErrorsInput = string | DsFieldError | readonly DsFieldError[] | null
415
421
  * warning state and does NOT make the control invalid.
416
422
  */
417
423
  declare const DS_FIELD_WARNING_KIND = "warning";
418
- /**
419
- * The submit flag `[dsSubmitted]` provides to the fields inside it: validation errors show only
420
- * while it reads `true`.
421
- */
422
- declare const DS_SUBMITTED: InjectionToken<Signal<boolean>>;
423
424
  /** @internal */
424
425
  declare function trimmedText(value: string | null | undefined): string;
425
426
  /** The single line a field shows below itself, already resolved.
@@ -434,13 +435,15 @@ interface DsFieldMessageSources {
434
435
  warning: Signal<string>;
435
436
  error: Signal<string>;
436
437
  errors: Signal<readonly DsFieldError[]>;
437
- /** Errors the control raises itself (an unparseable date), shown on the same terms as `errors`. */
438
- ownErrors?: Signal<readonly DsFieldError[]>;
439
438
  invalid: Signal<boolean>;
440
439
  /** The control's own disabled state (a disabled control is not announced as invalid). A getter,
441
440
  * not a `Signal`, so a caller can hand it over before its own `isDisabled` is initialised. */
442
441
  disabled?: () => boolean;
443
442
  success?: Signal<string>;
443
+ /** The field's own touched state, if it tracks one (CVA blur). */
444
+ touchedSelf?: Signal<boolean>;
445
+ /** Bound by signal forms as part of the `FormUiControl` contract. */
446
+ touched?: Signal<boolean>;
444
447
  /** Bound by signal forms; an async validator is running. */
445
448
  pending?: Signal<boolean>;
446
449
  /** Bound by signal forms; the user changed the value. */
@@ -464,17 +467,15 @@ interface DsFieldMessageResolution {
464
467
  * Precedence, highest first:
465
468
  *
466
469
  * 1. `error` - an explicit string. Shown immediately: the consumer decided.
467
- * 2. `errors` - validation errors. Shown once the form is submitted: `[dsSubmitted]` reads
468
- * `true`, or the parent `NgForm` / `FormGroupDirective` was submitted. Never on blur.
470
+ * 2. `errors` - validation errors. Shown once the user has interacted, so a
471
+ * `required` error does not greet an untouched form.
469
472
  * 3. `warning` - advisory, not blocking.
470
473
  * 4. `errors` whose kind is `DS_FIELD_WARNING_KIND` - the same, raised by the form model.
471
474
  * 5. `success` - confirmation.
472
475
  * 6. `hint` - helper text.
473
476
  *
474
- * Signal forms binds `errors` and `invalid` by input name (`FormUiControl`); reactive and
475
- * template-driven forms expose the same through `NgControl`, read here. `invalid` with errors
476
- * behind it waits for the submit like them; `invalid` alone was set by the consumer and paints
477
- * immediately.
477
+ * Signal forms binds `errors` and `touched` by input name (`FormUiControl`); reactive and
478
+ * template-driven forms expose the same through `NgControl`, read here.
478
479
  *
479
480
  * Every rung carries its OWN text; `hint` is never recoloured into another state. `invalid` has
480
481
  * no text: it paints the control and sets `aria-invalid`.
@@ -490,19 +491,19 @@ declare function resolveFieldMessage(sources: DsFieldMessageSources): DsFieldMes
490
491
  * @internal
491
492
  */
492
493
  declare abstract class DsFieldBase extends DsMessageBase {
493
- /** Validation errors, shown once the form is submitted (`[dsSubmitted]`, or `ngSubmit` of a
494
- * reactive or template-driven form). Bound by signal forms; reactive and template-driven
495
- * forms are read through `NgControl`. */
494
+ /** Validation errors, shown once the user has interacted. Bound by signal forms;
495
+ * reactive and template-driven forms are read through `NgControl`. */
496
496
  readonly errors: i0.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
497
- /** Paints the error state and sets `aria-invalid` WITHOUT a message; use `error` to show text.
498
- * Signal forms binds it alongside `errors`, and then it waits for the submit like them. */
497
+ /** Paints the error state and sets `aria-invalid` WITHOUT a message; use `error` to show text. */
499
498
  readonly invalid: i0.InputSignalWithTransform<boolean, unknown>;
499
+ /** Whether the user has interacted with the field. Bound by signal forms; gates `errors`. */
500
+ readonly touched: i0.InputSignalWithTransform<boolean, unknown>;
500
501
  static ɵfac: i0.ɵɵFactoryDeclaration<DsFieldBase, never>;
501
- static ɵdir: i0.ɵɵDirectiveDeclaration<DsFieldBase, never, never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
502
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DsFieldBase, never, never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
502
503
  }
503
504
  /**
504
505
  * The form-state inputs of a DS value control: what signal forms binds by name beyond `errors`
505
- * and `invalid`. Reactive and template-driven forms are read through `NgControl` instead.
506
+ * and `touched`. Reactive and template-driven forms are read through `NgControl` instead.
506
507
  * @internal
507
508
  */
508
509
  declare abstract class DsFormControlBase extends DsFieldBase {
@@ -529,6 +530,7 @@ declare abstract class DsFormControlBase extends DsFieldBase {
529
530
  */
530
531
  declare function valueControlBridge<T>(model: () => ModelSignal<T>): {
531
532
  readonly formDisabled: WritableSignal<boolean>;
533
+ readonly touchedSelf: WritableSignal<boolean>;
532
534
  markTouched(): void;
533
535
  writeValue(next: T): void;
534
536
  registerOnChange(fn: (next: T) => void): void;
@@ -553,6 +555,7 @@ declare abstract class DsControlValueAccessor<T> extends DsFormControlBase imple
553
555
  blur(): void;
554
556
  private readonly bridge;
555
557
  protected readonly formDisabled: WritableSignal<boolean>;
558
+ protected readonly touchedSelf: WritableSignal<boolean>;
556
559
  protected markTouched(): void;
557
560
  writeValue(value: T): void;
558
561
  registerOnChange(fn: (value: T) => void): void;
@@ -577,6 +580,7 @@ declare abstract class DsBooleanControlValueAccessor extends DsFormControlBase i
577
580
  /** See `DsControlValueAccessor.blur`. */
578
581
  blur(): void;
579
582
  protected readonly formDisabled: WritableSignal<boolean>;
583
+ protected readonly touchedSelf: WritableSignal<boolean>;
580
584
  private onChange;
581
585
  private onTouched;
582
586
  private synced;
@@ -1043,5 +1047,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
1043
1047
  tooltipSwatches: Signal<boolean | "auto">;
1044
1048
  };
1045
1049
 
1046
- export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DS_SUBMITTED, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
1050
+ export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, fontsLoaded, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
1047
1051
  export type { BandScale, ChartDimmable, ChartDwell, ChartMotionDelay, ChartMotionTiming, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, RovingMarks, SummaryPoint };
@@ -1,4 +1,4 @@
1
- export { DS_FIELD_WARNING_KIND, DS_SUBMITTED, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
1
+ export { DS_FIELD_WARNING_KIND, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
2
2
  export { ACCORDION, AccordionChevron, AccordionComponent, AccordionContract, AccordionItemComponent, AccordionItemRef } from '@ids-group-ltd/ids-design-system/components/accordion';
3
3
  export { AlertComponent, AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';
4
4
  export { AppLayoutComponent, AppLayoutNavigationService, AppLayoutScrollService, DsAppLayoutScrollReset, RailTriggerDirective } from '@ids-group-ltd/ids-design-system/components/app-layout';
@@ -12,7 +12,7 @@ export { BarComponent, BarSemantics, BarVariant } from '@ids-group-ltd/ids-desig
12
12
  export { BarChartComponent, BarChartLabelPosition, BarChartRow, BarChartSegment, BarChartValue } from '@ids-group-ltd/ids-design-system/components/bar-chart';
13
13
  export { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';
14
14
  export { BreadcrumbItem, BreadcrumbsComponent, BreadcrumbsService } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';
15
- export { ButtonAlign, ButtonColor, ButtonComponent, ButtonType, ButtonVariant } from '@ids-group-ltd/ids-design-system/components/button';
15
+ export { ButtonAlign, ButtonColor, ButtonComponent, ButtonLoadingMode, ButtonType, ButtonVariant } from '@ids-group-ltd/ids-design-system/components/button';
16
16
  export { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';
17
17
  export { CardComponent, CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/components/card';
18
18
  export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartAnnotation, ChartCategoryRange, ChartComponent, ChartPlot, ChartScales, ChartStackOffset, ColumnSeriesComponent, ColumnSeriesPoint, LineSeriesComponent, LineSeriesData, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';
@@ -50,7 +50,7 @@ export { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components
50
50
  export { PaginationComponent, PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';
51
51
  export { DsPasswordRule, DsPasswordRuleState, PasswordRulesComponent, passwordRulesMet } from '@ids-group-ltd/ids-design-system/components/password-rules';
52
52
  export { PieChartCenterPlacement, PieChartComponent, PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';
53
- export { PopoverAlign, PopoverComponent, PopoverPlacement } from '@ids-group-ltd/ids-design-system/components/popover';
53
+ export { DsPopoverTrigger, PopoverAlign, PopoverComponent, PopoverPlacement } from '@ids-group-ltd/ids-design-system/components/popover';
54
54
  export { RADIO_GROUP, RadioComponent, RadioGroupChild, RadioGroupComponent, RadioGroupContract } from '@ids-group-ltd/ids-design-system/components/radio-group';
55
55
  export { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';
56
56
  export { ScatterChartComponent, ScatterChartDecimator, ScatterChartReading, ScatterChartSeries, ScatterPoint } from '@ids-group-ltd/ids-design-system/components/scatter-chart';
@@ -68,7 +68,6 @@ export { SplitButtonComponent, SplitButtonItem, SplitButtonVariant } from '@ids-
68
68
  export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';
69
69
  export { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';
70
70
  export { StepperComponent, StepperLabelPosition, StepperOrientation } from '@ids-group-ltd/ids-design-system/components/stepper';
71
- export { SubmittedDirective } from '@ids-group-ltd/ids-design-system/components/submitted';
72
71
  export { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';
73
72
  export { CellTemplateContext, CellTemplateDirective, HeaderFilterContext, HeaderFilterDirective, SortChangeEvent, SortDirection, TableCellEditEvent, TableColumn, TableColumnKind, TableComponent, TableExpandMode, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode } from '@ids-group-ltd/ids-design-system/components/table';
74
73
  export { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';
@@ -1,52 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, inject, Directive } from '@angular/core';
3
- import { DS_SUBMITTED } from '@ids-group-ltd/ids-design-system/components';
4
-
5
- /**
6
- * The form's submit flag. Every DS field declared inside the host shows its validation errors
7
- * only while the flag is `true`; the submit button reads the same flag:
8
- *
9
- * ```html
10
- * <form [dsSubmitted]="submitted()">
11
- * <ds-input label="Email" [formField]="form.email" />
12
- * <ds-button [disabled]="submitted() && form().invalid()" (pressed)="send()">Send</ds-button>
13
- * </form>
14
- * ```
15
- *
16
- * Set the flag at the start of the submit handler and back to `false` when the form resets.
17
- * Any element can host it, so fields outside a `<form>` work the same way. A reactive or
18
- * template-driven form submitted through `ngSubmit` reveals its errors without it.
19
- *
20
- * Applies to fields declared inside the host; projected content keeps the injector of the
21
- * template it was written in.
22
- */
23
- class SubmittedDirective {
24
- dsSubmitted = input.required({ ...(ngDevMode ? { debugName: "dsSubmitted" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
25
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SubmittedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: SubmittedDirective, isStandalone: true, selector: "[dsSubmitted]", inputs: { dsSubmitted: { classPropertyName: "dsSubmitted", publicName: "dsSubmitted", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
27
- {
28
- provide: DS_SUBMITTED,
29
- useFactory: () => inject(SubmittedDirective).dsSubmitted,
30
- },
31
- ], ngImport: i0 });
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SubmittedDirective, decorators: [{
34
- type: Directive,
35
- args: [{
36
- selector: '[dsSubmitted]',
37
- standalone: true,
38
- providers: [
39
- {
40
- provide: DS_SUBMITTED,
41
- useFactory: () => inject(SubmittedDirective).dsSubmitted,
42
- },
43
- ],
44
- }]
45
- }], propDecorators: { dsSubmitted: [{ type: i0.Input, args: [{ isSignal: true, alias: "dsSubmitted", required: true }] }] } });
46
-
47
- /**
48
- * Generated bundle index. Do not edit.
49
- */
50
-
51
- export { SubmittedDirective };
52
- //# sourceMappingURL=ids-group-ltd-ids-design-system-components-submitted.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-submitted.mjs","sources":["../../../src/lib/components/submitted/submitted.directive.ts","../../../src/lib/components/submitted/ids-group-ltd-ids-design-system-components-submitted.ts"],"sourcesContent":["import { Directive, booleanAttribute, inject, input } from '@angular/core';\nimport { DS_SUBMITTED } from '@ids-group-ltd/ids-design-system/components';\n\n/**\n * The form's submit flag. Every DS field declared inside the host shows its validation errors\n * only while the flag is `true`; the submit button reads the same flag:\n *\n * ```html\n * <form [dsSubmitted]=\"submitted()\">\n * <ds-input label=\"Email\" [formField]=\"form.email\" />\n * <ds-button [disabled]=\"submitted() && form().invalid()\" (pressed)=\"send()\">Send</ds-button>\n * </form>\n * ```\n *\n * Set the flag at the start of the submit handler and back to `false` when the form resets.\n * Any element can host it, so fields outside a `<form>` work the same way. A reactive or\n * template-driven form submitted through `ngSubmit` reveals its errors without it.\n *\n * Applies to fields declared inside the host; projected content keeps the injector of the\n * template it was written in.\n */\n@Directive({\n selector: '[dsSubmitted]',\n standalone: true,\n providers: [\n {\n provide: DS_SUBMITTED,\n useFactory: () => inject(SubmittedDirective).dsSubmitted,\n },\n ],\n})\nexport class SubmittedDirective {\n readonly dsSubmitted = input.required<boolean, unknown>({\n transform: booleanAttribute,\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;;;;;;;;;;;;AAiBG;MAWU,kBAAkB,CAAA;IACpB,WAAW,GAAG,KAAK,CAAC,QAAQ,kFACnC,SAAS,EAAE,gBAAgB,EAAA,CAC3B;wGAHS,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,SAAA,EAPlB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,YAAY;gBACrB,UAAU,EAAE,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,WAAW;AACzD,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAV9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,YAAY;AACrB,4BAAA,UAAU,EAAE,MAAM,MAAM,CAAA,kBAAA,CAAoB,CAAC,WAAW;AACzD,yBAAA;AACF,qBAAA;AACF,iBAAA;;;AC9BD;;AAEG;;;;"}
@@ -1,27 +0,0 @@
1
- import * as i0 from '@angular/core';
2
-
3
- /**
4
- * The form's submit flag. Every DS field declared inside the host shows its validation errors
5
- * only while the flag is `true`; the submit button reads the same flag:
6
- *
7
- * ```html
8
- * <form [dsSubmitted]="submitted()">
9
- * <ds-input label="Email" [formField]="form.email" />
10
- * <ds-button [disabled]="submitted() && form().invalid()" (pressed)="send()">Send</ds-button>
11
- * </form>
12
- * ```
13
- *
14
- * Set the flag at the start of the submit handler and back to `false` when the form resets.
15
- * Any element can host it, so fields outside a `<form>` work the same way. A reactive or
16
- * template-driven form submitted through `ngSubmit` reveals its errors without it.
17
- *
18
- * Applies to fields declared inside the host; projected content keeps the injector of the
19
- * template it was written in.
20
- */
21
- declare class SubmittedDirective {
22
- readonly dsSubmitted: i0.InputSignalWithTransform<boolean, unknown>;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<SubmittedDirective, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<SubmittedDirective, "[dsSubmitted]", never, { "dsSubmitted": { "alias": "dsSubmitted"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
25
- }
26
-
27
- export { SubmittedDirective };