@ukic/canary-web-components 3.0.0-canary.27 → 3.0.0-canary.28

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 (167) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-da852478.js.map +1 -1
  3. package/dist/cjs/ic-alert.cjs.entry.js +3 -3
  4. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-checkbox-group.cjs.entry.js +8 -4
  6. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-checkbox_3.cjs.entry.js +6 -7
  8. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-date-input.cjs.entry.js +8 -4
  10. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-date-picker.cjs.entry.js +15 -10
  12. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-dialog.cjs.entry.js +35 -10
  14. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-menu.cjs.entry.js +12 -9
  16. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-step.cjs.entry.js +14 -13
  24. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-stepper.cjs.entry.js +3 -2
  26. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-time-input.cjs.entry.js +9 -5
  28. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/collection/components/ic-date-input/ic-date-input.js +34 -4
  33. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  34. package/dist/collection/components/ic-date-input/ic-date-input.stories.js +81 -0
  35. package/dist/collection/components/ic-date-input/ic-date-input.stories.js.map +1 -1
  36. package/dist/collection/components/ic-date-picker/ic-date-picker.js +41 -10
  37. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  38. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +6 -7
  39. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  40. package/dist/collection/components/ic-time-input/ic-time-input.js +35 -5
  41. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
  42. package/dist/collection/components/ic-time-input/ic-time-input.stories.js +82 -1
  43. package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -1
  44. package/dist/collection/utils/types.js.map +1 -1
  45. package/dist/components/helpers2.js.map +1 -1
  46. package/dist/components/ic-alert.js +3 -3
  47. package/dist/components/ic-alert.js.map +1 -1
  48. package/dist/components/ic-checkbox-group.js +9 -4
  49. package/dist/components/ic-checkbox-group.js.map +1 -1
  50. package/dist/components/ic-date-input2.js +9 -4
  51. package/dist/components/ic-date-input2.js.map +1 -1
  52. package/dist/components/ic-date-picker.js +16 -10
  53. package/dist/components/ic-date-picker.js.map +1 -1
  54. package/dist/components/ic-dialog.js +35 -10
  55. package/dist/components/ic-dialog.js.map +1 -1
  56. package/dist/components/ic-menu2.js +12 -9
  57. package/dist/components/ic-menu2.js.map +1 -1
  58. package/dist/components/ic-navigation-item.js +1 -1
  59. package/dist/components/ic-navigation-item.js.map +1 -1
  60. package/dist/components/ic-page-header.js +1 -1
  61. package/dist/components/ic-page-header.js.map +1 -1
  62. package/dist/components/ic-pagination-bar2.js +6 -7
  63. package/dist/components/ic-pagination-bar2.js.map +1 -1
  64. package/dist/components/ic-status-tag.js +1 -1
  65. package/dist/components/ic-status-tag.js.map +1 -1
  66. package/dist/components/ic-step.js +14 -13
  67. package/dist/components/ic-step.js.map +1 -1
  68. package/dist/components/ic-stepper.js +3 -2
  69. package/dist/components/ic-stepper.js.map +1 -1
  70. package/dist/components/ic-time-input.js +10 -5
  71. package/dist/components/ic-time-input.js.map +1 -1
  72. package/dist/components/ic-top-navigation.js +1 -1
  73. package/dist/components/ic-top-navigation.js.map +1 -1
  74. package/dist/core/core.css +6 -6
  75. package/dist/core/core.esm.js +1 -1
  76. package/dist/core/core.esm.js.map +1 -1
  77. package/dist/core/p-0f22f41e.js.map +1 -1
  78. package/dist/core/p-1131db25.entry.js +2 -0
  79. package/dist/core/p-1131db25.entry.js.map +1 -0
  80. package/dist/core/{p-f7b1d6bf.entry.js → p-154bb0fb.entry.js} +2 -2
  81. package/dist/core/{p-f7b1d6bf.entry.js.map → p-154bb0fb.entry.js.map} +1 -1
  82. package/dist/core/p-4c5af5f7.entry.js +2 -0
  83. package/dist/core/p-4c5af5f7.entry.js.map +1 -0
  84. package/dist/core/p-5bc54721.entry.js +2 -0
  85. package/dist/core/p-5bc54721.entry.js.map +1 -0
  86. package/dist/core/p-62ad6ce5.entry.js +2 -0
  87. package/dist/core/p-62ad6ce5.entry.js.map +1 -0
  88. package/dist/core/{p-5d6290bb.entry.js → p-66f45822.entry.js} +2 -2
  89. package/dist/core/p-66f45822.entry.js.map +1 -0
  90. package/dist/core/{p-c9953122.entry.js → p-74439163.entry.js} +2 -2
  91. package/dist/core/p-74439163.entry.js.map +1 -0
  92. package/dist/core/p-760a57e7.entry.js +2 -0
  93. package/dist/core/p-760a57e7.entry.js.map +1 -0
  94. package/dist/core/p-76ab72ef.entry.js +2 -0
  95. package/dist/core/p-76ab72ef.entry.js.map +1 -0
  96. package/dist/core/p-8b0abe0f.entry.js +2 -0
  97. package/dist/core/p-8b0abe0f.entry.js.map +1 -0
  98. package/dist/core/p-8b8df1da.entry.js +2 -0
  99. package/dist/core/p-8b8df1da.entry.js.map +1 -0
  100. package/dist/core/{p-e0abd214.entry.js → p-a4184f39.entry.js} +2 -2
  101. package/dist/core/p-a4184f39.entry.js.map +1 -0
  102. package/dist/core/p-bc58e37e.entry.js +2 -0
  103. package/dist/core/p-bc58e37e.entry.js.map +1 -0
  104. package/dist/core/{p-0ec0be8d.entry.js → p-c5d03c65.entry.js} +2 -2
  105. package/dist/core/{p-0ec0be8d.entry.js.map → p-c5d03c65.entry.js.map} +1 -1
  106. package/dist/esm/core.js +1 -1
  107. package/dist/esm/helpers-89cb996d.js.map +1 -1
  108. package/dist/esm/ic-alert.entry.js +3 -3
  109. package/dist/esm/ic-alert.entry.js.map +1 -1
  110. package/dist/esm/ic-checkbox-group.entry.js +8 -4
  111. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  112. package/dist/esm/ic-checkbox_3.entry.js +6 -7
  113. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  114. package/dist/esm/ic-date-input.entry.js +8 -4
  115. package/dist/esm/ic-date-input.entry.js.map +1 -1
  116. package/dist/esm/ic-date-picker.entry.js +15 -10
  117. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  118. package/dist/esm/ic-dialog.entry.js +35 -10
  119. package/dist/esm/ic-dialog.entry.js.map +1 -1
  120. package/dist/esm/ic-menu.entry.js +12 -9
  121. package/dist/esm/ic-menu.entry.js.map +1 -1
  122. package/dist/esm/ic-navigation-item.entry.js +1 -1
  123. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  124. package/dist/esm/ic-page-header.entry.js +1 -1
  125. package/dist/esm/ic-page-header.entry.js.map +1 -1
  126. package/dist/esm/ic-status-tag.entry.js +1 -1
  127. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  128. package/dist/esm/ic-step.entry.js +14 -13
  129. package/dist/esm/ic-step.entry.js.map +1 -1
  130. package/dist/esm/ic-stepper.entry.js +3 -2
  131. package/dist/esm/ic-stepper.entry.js.map +1 -1
  132. package/dist/esm/ic-time-input.entry.js +9 -5
  133. package/dist/esm/ic-time-input.entry.js.map +1 -1
  134. package/dist/esm/ic-top-navigation.entry.js +1 -1
  135. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  136. package/dist/esm/loader.js +1 -1
  137. package/dist/types/components/ic-date-input/ic-date-input.d.ts +5 -1
  138. package/dist/types/components/ic-date-input/ic-date-input.stories.d.ts +15 -9
  139. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +5 -1
  140. package/dist/types/components/ic-time-input/ic-time-input.d.ts +5 -1
  141. package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +14 -8
  142. package/dist/types/components.d.ts +26 -2
  143. package/dist/types/utils/types.d.ts +6 -2
  144. package/hydrate/index.js +121 -71
  145. package/hydrate/index.mjs +121 -71
  146. package/package.json +3 -3
  147. package/dist/core/p-0e882f70.entry.js +0 -2
  148. package/dist/core/p-0e882f70.entry.js.map +0 -1
  149. package/dist/core/p-182883cb.entry.js +0 -2
  150. package/dist/core/p-182883cb.entry.js.map +0 -1
  151. package/dist/core/p-35bff926.entry.js +0 -2
  152. package/dist/core/p-35bff926.entry.js.map +0 -1
  153. package/dist/core/p-5d6290bb.entry.js.map +0 -1
  154. package/dist/core/p-7bb3531c.entry.js +0 -2
  155. package/dist/core/p-7bb3531c.entry.js.map +0 -1
  156. package/dist/core/p-816aae93.entry.js +0 -2
  157. package/dist/core/p-816aae93.entry.js.map +0 -1
  158. package/dist/core/p-8a5ae4ab.entry.js +0 -2
  159. package/dist/core/p-8a5ae4ab.entry.js.map +0 -1
  160. package/dist/core/p-ac2f8cc8.entry.js +0 -2
  161. package/dist/core/p-ac2f8cc8.entry.js.map +0 -1
  162. package/dist/core/p-b10f5992.entry.js +0 -2
  163. package/dist/core/p-b10f5992.entry.js.map +0 -1
  164. package/dist/core/p-b2b5d4fa.entry.js +0 -2
  165. package/dist/core/p-b2b5d4fa.entry.js.map +0 -1
  166. package/dist/core/p-c9953122.entry.js.map +0 -1
  167. package/dist/core/p-e0abd214.entry.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
- import { IcInformationStatusOrEmpty, IcSizes, IcDateFormat, IcWeekDays, IcThemeMode } from "../../utils/types";
2
+ import { IcAriaLive, IcInformationStatusOrEmpty, IcSizes, IcDateFormat, IcWeekDays, IcThemeMode } from "../../utils/types";
3
3
  /**
4
4
  * @slot helper-text - Content is set as the helper text for the date input.
5
5
  */
@@ -160,6 +160,10 @@ export declare class DateInput {
160
160
  * The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
161
161
  */
162
162
  value?: string | Date | null | undefined;
163
+ /**
164
+ * The value of the `aria-live` attribute on the validation message.
165
+ */
166
+ validationAriaLive: IcAriaLive;
163
167
  /**
164
168
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
165
169
  */
@@ -88,40 +88,46 @@ export namespace Validation {
88
88
  let name_12: string;
89
89
  export { name_12 as name };
90
90
  }
91
- export namespace DisablePastDates {
92
- export function render_14(): import("lit-html").TemplateResult<1>;
91
+ export namespace AriaLiveBehaviour {
92
+ export function render_14(args: any): import("lit-html").TemplateResult<1>;
93
93
  export { render_14 as render };
94
94
  let name_13: string;
95
95
  export { name_13 as name };
96
96
  }
97
- export namespace DisableFutureDates {
97
+ export namespace DisablePastDates {
98
98
  export function render_15(): import("lit-html").TemplateResult<1>;
99
99
  export { render_15 as render };
100
100
  let name_14: string;
101
101
  export { name_14 as name };
102
102
  }
103
- export namespace MinMax {
103
+ export namespace DisableFutureDates {
104
104
  export function render_16(): import("lit-html").TemplateResult<1>;
105
105
  export { render_16 as render };
106
106
  let name_15: string;
107
107
  export { name_15 as name };
108
108
  }
109
- export namespace Form {
110
- export function render_17(): HTMLFormElement;
109
+ export namespace MinMax {
110
+ export function render_17(): import("lit-html").TemplateResult<1>;
111
111
  export { render_17 as render };
112
112
  let name_16: string;
113
113
  export { name_16 as name };
114
114
  }
115
- export namespace WithClearingValue {
116
- export function render_18(): import("lit-html").TemplateResult<1>;
115
+ export namespace Form {
116
+ export function render_18(): HTMLFormElement;
117
117
  export { render_18 as render };
118
118
  let name_17: string;
119
119
  export { name_17 as name };
120
120
  }
121
- export namespace IcChangeEmitDatePartChanges {
121
+ export namespace WithClearingValue {
122
122
  export function render_19(): import("lit-html").TemplateResult<1>;
123
123
  export { render_19 as render };
124
124
  let name_18: string;
125
125
  export { name_18 as name };
126
126
  }
127
+ export namespace IcChangeEmitDatePartChanges {
128
+ export function render_20(): import("lit-html").TemplateResult<1>;
129
+ export { render_20 as render };
130
+ let name_19: string;
131
+ export { name_19 as name };
132
+ }
127
133
  import readme from "./readme.md";
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
- import { IcWeekDays, IcDateFormat, IcSizes, IcInformationStatusOrEmpty, IcThemeMode } from "../../utils/types";
2
+ import { IcAriaLive, IcWeekDays, IcDateFormat, IcSizes, IcInformationStatusOrEmpty, IcThemeMode } from "../../utils/types";
3
3
  /**
4
4
  * @slot helper-text - Content is set as the helper text for the date picker.
5
5
  */
@@ -162,6 +162,10 @@ export declare class DatePicker {
162
162
  * Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
163
163
  */
164
164
  theme?: IcThemeMode;
165
+ /**
166
+ * The value of the `aria-live` attribute on the validation message.
167
+ */
168
+ validationAriaLive: IcAriaLive;
165
169
  /**
166
170
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
167
171
  */
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
- import { IcDisableTimeSelection, IcInformationStatusOrEmpty, IcSizes, IcThemeMode, IcTimeFormat } from "../../utils/types";
2
+ import { IcAriaLive, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcSizes, IcThemeMode, IcTimeFormat } from "../../utils/types";
3
3
  /**
4
4
  * @slot helper-text - Content is set as the helper text for the time input.
5
5
  */
@@ -129,6 +129,10 @@ export declare class TimeInput {
129
129
  * The value of the time input. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
130
130
  */
131
131
  value?: string | Date | null | undefined;
132
+ /**
133
+ * The value of the `aria-live` attribute on the validation message.
134
+ */
135
+ validationAriaLive: IcAriaLive;
132
136
  /**
133
137
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
134
138
  */
@@ -76,46 +76,52 @@ export namespace Validation {
76
76
  let name_10: string;
77
77
  export { name_10 as name };
78
78
  }
79
- export namespace IcChangeEmitTimePartChanges {
80
- export function render_12(): import("lit-html").TemplateResult<1>;
79
+ export namespace AriaLiveBehaviour {
80
+ export function render_12(args: any): import("lit-html").TemplateResult<1>;
81
81
  export { render_12 as render };
82
82
  let name_11: string;
83
83
  export { name_11 as name };
84
84
  }
85
- export namespace TimePeriod {
85
+ export namespace IcChangeEmitTimePartChanges {
86
86
  export function render_13(): import("lit-html").TemplateResult<1>;
87
87
  export { render_13 as render };
88
88
  let name_12: string;
89
89
  export { name_12 as name };
90
90
  }
91
- export namespace HHMM {
91
+ export namespace TimePeriod {
92
92
  export function render_14(): import("lit-html").TemplateResult<1>;
93
93
  export { render_14 as render };
94
94
  let name_13: string;
95
95
  export { name_13 as name };
96
96
  }
97
- export namespace MinTime {
97
+ export namespace HHMM {
98
98
  export function render_15(): import("lit-html").TemplateResult<1>;
99
99
  export { render_15 as render };
100
100
  let name_14: string;
101
101
  export { name_14 as name };
102
102
  }
103
- export namespace MaxTime {
103
+ export namespace MinTime {
104
104
  export function render_16(): import("lit-html").TemplateResult<1>;
105
105
  export { render_16 as render };
106
106
  let name_15: string;
107
107
  export { name_15 as name };
108
108
  }
109
- export namespace DisableTimes {
109
+ export namespace MaxTime {
110
110
  export function render_17(): import("lit-html").TemplateResult<1>;
111
111
  export { render_17 as render };
112
112
  let name_16: string;
113
113
  export { name_16 as name };
114
114
  }
115
- export namespace WithClearingValue {
115
+ export namespace DisableTimes {
116
116
  export function render_18(): import("lit-html").TemplateResult<1>;
117
117
  export { render_18 as render };
118
118
  let name_17: string;
119
119
  export { name_17 as name };
120
120
  }
121
+ export namespace WithClearingValue {
122
+ export function render_19(): import("lit-html").TemplateResult<1>;
123
+ export { render_19 as render };
124
+ let name_18: string;
125
+ export { name_18 as name };
126
+ }
121
127
  import readme from "./readme.md";
@@ -8,14 +8,14 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IcCardSizes } from "./components/ic-card-horizontal/ic-card-horizontal.types";
9
9
  import { IcThemeMode } from "@ukic/web-components";
10
10
  import { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
11
- import { IcDateFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode as IcThemeMode1, IcTimeFormat, IcWeekDays } from "./utils/types";
11
+ import { IcAriaLive, IcDateFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode as IcThemeMode1, IcTimeFormat, IcWeekDays } from "./utils/types";
12
12
  import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
13
13
  import { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
14
14
  import { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
15
15
  export { IcCardSizes } from "./components/ic-card-horizontal/ic-card-horizontal.types";
16
16
  export { IcThemeMode } from "@ukic/web-components";
17
17
  export { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
18
- export { IcDateFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode as IcThemeMode1, IcTimeFormat, IcWeekDays } from "./utils/types";
18
+ export { IcAriaLive, IcDateFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode as IcThemeMode1, IcTimeFormat, IcWeekDays } from "./utils/types";
19
19
  export { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
20
20
  export { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
21
21
  export { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
@@ -329,6 +329,10 @@ export namespace Components {
329
329
  */
330
330
  "theme"?: IcThemeMode1;
331
331
  "triggerIcChange": (d: Date | null) => Promise<void>;
332
+ /**
333
+ * The value of the `aria-live` attribute on the validation message.
334
+ */
335
+ "validationAriaLive": IcAriaLive;
332
336
  /**
333
337
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
334
338
  */
@@ -451,6 +455,10 @@ export namespace Components {
451
455
  * Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
452
456
  */
453
457
  "theme"?: IcThemeMode1;
458
+ /**
459
+ * The value of the `aria-live` attribute on the validation message.
460
+ */
461
+ "validationAriaLive": IcAriaLive;
454
462
  /**
455
463
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
456
464
  */
@@ -651,6 +659,10 @@ export namespace Components {
651
659
  */
652
660
  "timePeriod": "12" | "24";
653
661
  "triggerIcChange": (t: Date | null) => Promise<void>;
662
+ /**
663
+ * The value of the `aria-live` attribute on the validation message.
664
+ */
665
+ "validationAriaLive": IcAriaLive;
654
666
  /**
655
667
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
656
668
  */
@@ -1307,6 +1319,10 @@ declare namespace LocalJSX {
1307
1319
  * Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
1308
1320
  */
1309
1321
  "theme"?: IcThemeMode1;
1322
+ /**
1323
+ * The value of the `aria-live` attribute on the validation message.
1324
+ */
1325
+ "validationAriaLive"?: IcAriaLive;
1310
1326
  /**
1311
1327
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
1312
1328
  */
@@ -1433,6 +1449,10 @@ declare namespace LocalJSX {
1433
1449
  * Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
1434
1450
  */
1435
1451
  "theme"?: IcThemeMode1;
1452
+ /**
1453
+ * The value of the `aria-live` attribute on the validation message.
1454
+ */
1455
+ "validationAriaLive"?: IcAriaLive;
1436
1456
  /**
1437
1457
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
1438
1458
  */
@@ -1653,6 +1673,10 @@ declare namespace LocalJSX {
1653
1673
  * The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
1654
1674
  */
1655
1675
  "timePeriod"?: "12" | "24";
1676
+ /**
1677
+ * The value of the `aria-live` attribute on the validation message.
1678
+ */
1679
+ "validationAriaLive"?: IcAriaLive;
1656
1680
  /**
1657
1681
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
1658
1682
  */
@@ -42,8 +42,10 @@ export type IcNavParentDetails = {
42
42
  export type IcTypographyVariants = "h1" | "h2" | "h3" | "h4" | "subtitle-large" | "subtitle-small" | "body" | "label" | "label-uppercase" | "caption" | "caption-uppercase" | "code-large" | "code-small" | "code-extra-small" | "badge" | "badge-small";
43
43
  /**
44
44
  * @interface IcMenuOption
45
- * @field {string} A label field to options. Defaults to "label", but can have any custom name.
46
- * @field {string} A value field to options. Defaults to "value", but can have any custom name.
45
+ * Set "label" and "value" props to use as the option's label and value.
46
+ * Alternatively, custom names for these props can be used e.g. by setting the "labelField" and "valueField" props on the relevant component.
47
+ *
48
+ * Any props supplied to the "htmlProps" object will be spread onto the option's underlying <li> element.
47
49
  */
48
50
  export interface IcMenuOption {
49
51
  description?: string;
@@ -58,6 +60,7 @@ export interface IcMenuOption {
58
60
  ariaLabel: string;
59
61
  };
60
62
  icon?: any;
63
+ htmlProps?: Record<string, any>;
61
64
  }
62
65
  export type IcSearchMatchPositions = "start" | "anywhere";
63
66
  export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
@@ -158,4 +161,5 @@ export declare enum IcWeekDays {
158
161
  Saturday = 6
159
162
  }
160
163
  export type IcPositionTopOrRight = "top" | "right";
164
+ export type IcAriaLive = "polite" | "assertive" | "off";
161
165
  export {};