@haiilo/catalyst 5.2.3 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/catalyst/catalyst.css +56 -39
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.cdn.js +1 -0
  5. package/dist/catalyst/index.esm.js +2 -2
  6. package/dist/catalyst/index.esm.js.map +1 -1
  7. package/dist/catalyst/p-34e0cbba.entry.js +10 -0
  8. package/dist/catalyst/p-34e0cbba.entry.js.map +1 -0
  9. package/dist/catalyst/{p-d1fb9d96.js → p-ce6a1db2.js} +1 -1
  10. package/dist/catalyst/p-ce6a1db2.js.map +1 -0
  11. package/dist/catalyst/p-cf32399c.js +2 -0
  12. package/dist/catalyst/p-cf32399c.js.map +1 -0
  13. package/dist/catalyst/scss/_snippets/_checkbox-hint.scss +20 -0
  14. package/dist/catalyst/scss/_snippets/_form-label.scss +2 -1
  15. package/dist/catalyst/scss/utils/_border.scss +14 -0
  16. package/dist/catalyst/scss/utils/_media.mixins.scss +0 -1
  17. package/dist/catalyst/scss/utils/_typography.mixins.scss +1 -0
  18. package/dist/cjs/{cat-alert_24.cjs.entry.js → cat-alert_27.cjs.entry.js} +3777 -192
  19. package/dist/cjs/cat-alert_27.cjs.entry.js.map +1 -0
  20. package/dist/cjs/{cat-icon-registry-671af264.js → cat-icon-registry-228164a1.js} +43 -2
  21. package/dist/cjs/cat-icon-registry-228164a1.js.map +1 -0
  22. package/dist/cjs/catalyst.cjs.js +3 -3
  23. package/dist/cjs/catalyst.cjs.js.map +1 -1
  24. package/dist/cjs/{index-01312a2e.js → index-4258b31e.js} +8 -1
  25. package/dist/{catalyst/p-d1fb9d96.js.map → cjs/index-4258b31e.js.map} +1 -1
  26. package/dist/cjs/index.cjs.js +2 -2
  27. package/dist/cjs/index.cjs.js.map +1 -1
  28. package/dist/cjs/loader.cjs.js +3 -3
  29. package/dist/cjs/loader.cjs.js.map +1 -1
  30. package/dist/collection/collection-manifest.json +5 -2
  31. package/dist/collection/components/cat-alert/cat-alert.js +5 -5
  32. package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
  33. package/dist/collection/components/cat-button/cat-button.css +27 -9
  34. package/dist/collection/components/cat-button/cat-button.js +27 -25
  35. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  36. package/dist/collection/components/cat-button-group/cat-button-group.css +15 -0
  37. package/dist/collection/components/cat-button-group/cat-button-group.js +51 -0
  38. package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -0
  39. package/dist/collection/components/cat-checkbox/cat-checkbox.css +24 -1
  40. package/dist/collection/components/cat-checkbox/cat-checkbox.js +8 -4
  41. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  42. package/dist/collection/components/cat-datepicker/cat-datepicker.css +381 -0
  43. package/dist/collection/components/cat-datepicker/cat-datepicker.js +873 -0
  44. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -0
  45. package/dist/collection/components/cat-datepicker/datepicker-type.js +8 -0
  46. package/dist/collection/components/cat-datepicker/datepicker-type.js.map +1 -0
  47. package/dist/collection/components/cat-datepicker/dayjs.config.js +8 -0
  48. package/dist/collection/components/cat-datepicker/dayjs.config.js.map +1 -0
  49. package/dist/collection/components/cat-datepicker/vanillajs-datepicker.config.js +46 -0
  50. package/dist/collection/components/cat-datepicker/vanillajs-datepicker.config.js.map +1 -0
  51. package/dist/collection/components/cat-dropdown/cat-dropdown.css +1 -0
  52. package/dist/collection/components/cat-dropdown/cat-dropdown.js +26 -7
  53. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  54. package/dist/collection/components/cat-form-group/cat-form-group.js +29 -1
  55. package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
  56. package/dist/collection/components/cat-icon/cat-icon-registry.js +29 -1
  57. package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
  58. package/dist/collection/components/cat-input/cat-input.css +392 -15
  59. package/dist/collection/components/cat-input/cat-input.js +8 -4
  60. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  61. package/dist/collection/components/cat-label/cat-label.js +19 -0
  62. package/dist/collection/components/cat-label/cat-label.js.map +1 -1
  63. package/dist/collection/components/cat-notification/cat-notification.js +1 -1
  64. package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
  65. package/dist/collection/components/cat-pagination/cat-pagination.js +28 -6
  66. package/dist/collection/components/cat-pagination/cat-pagination.js.map +1 -1
  67. package/dist/collection/components/cat-radio/cat-radio.css +24 -1
  68. package/dist/collection/components/cat-radio/cat-radio.js +8 -4
  69. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  70. package/dist/collection/components/cat-radio-group/cat-radio-group.js +7 -3
  71. package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
  72. package/dist/collection/components/cat-scrollable/cat-scrollable.css +1 -4
  73. package/dist/collection/components/cat-select/cat-select.css +98 -11
  74. package/dist/collection/components/cat-select/cat-select.js +73 -23
  75. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  76. package/dist/collection/components/cat-skeleton/cat-skeleton.css +1 -1
  77. package/dist/collection/components/cat-textarea/cat-textarea.css +17 -16
  78. package/dist/collection/components/cat-textarea/cat-textarea.js +8 -4
  79. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  80. package/dist/collection/components/cat-timepicker/cat-timepicker.css +5 -0
  81. package/dist/collection/components/cat-timepicker/cat-timepicker.js +668 -0
  82. package/dist/collection/components/cat-timepicker/cat-timepicker.js.map +1 -0
  83. package/dist/collection/components/cat-toggle/cat-toggle.css +24 -1
  84. package/dist/collection/components/cat-toggle/cat-toggle.js +8 -4
  85. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  86. package/dist/collection/components/cat-tooltip/cat-tooltip.css +1 -8
  87. package/dist/collection/components/cat-tooltip/cat-tooltip.js +22 -18
  88. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  89. package/dist/collection/index.cdn.js +1 -0
  90. package/dist/collection/scss/_snippets/_checkbox-hint.scss +20 -0
  91. package/dist/collection/scss/_snippets/_form-label.scss +2 -1
  92. package/dist/collection/scss/utils/_border.scss +14 -0
  93. package/dist/collection/scss/utils/_media.mixins.scss +0 -1
  94. package/dist/collection/scss/utils/_typography.mixins.scss +1 -0
  95. package/dist/components/cat-alert.js +5 -5
  96. package/dist/components/cat-alert.js.map +1 -1
  97. package/dist/components/cat-button-group.d.ts +11 -0
  98. package/dist/components/cat-button-group.js +46 -0
  99. package/dist/components/cat-button-group.js.map +1 -0
  100. package/dist/components/cat-button2.js +12 -10
  101. package/dist/components/cat-button2.js.map +1 -1
  102. package/dist/components/cat-checkbox2.js +2 -2
  103. package/dist/components/cat-checkbox2.js.map +1 -1
  104. package/dist/components/cat-datepicker.d.ts +11 -0
  105. package/dist/components/cat-datepicker.js +3210 -0
  106. package/dist/components/cat-datepicker.js.map +1 -0
  107. package/dist/components/cat-dropdown2.js +640 -43
  108. package/dist/components/cat-dropdown2.js.map +1 -1
  109. package/dist/components/cat-form-group.js +11 -2
  110. package/dist/components/cat-form-group.js.map +1 -1
  111. package/dist/components/cat-icon-registry.js +42 -1
  112. package/dist/components/cat-icon-registry.js.map +1 -1
  113. package/dist/components/cat-input.js +1 -226
  114. package/dist/components/cat-input.js.map +1 -1
  115. package/dist/components/cat-input2.js +230 -0
  116. package/dist/components/cat-input2.js.map +1 -0
  117. package/dist/components/cat-label.js +2 -0
  118. package/dist/components/cat-label.js.map +1 -1
  119. package/dist/components/cat-pagination.js +10 -5
  120. package/dist/components/cat-pagination.js.map +1 -1
  121. package/dist/components/cat-radio-group.js.map +1 -1
  122. package/dist/components/cat-radio.js +2 -2
  123. package/dist/components/cat-radio.js.map +1 -1
  124. package/dist/components/cat-scrollable2.js +7 -5
  125. package/dist/components/cat-scrollable2.js.map +1 -1
  126. package/dist/components/cat-select-demo.js +2 -2
  127. package/dist/components/cat-select-demo.js.map +1 -1
  128. package/dist/components/cat-select2.js +46 -17
  129. package/dist/components/cat-select2.js.map +1 -1
  130. package/dist/components/cat-skeleton2.js +1 -1
  131. package/dist/components/cat-skeleton2.js.map +1 -1
  132. package/dist/components/cat-textarea.js +3 -3
  133. package/dist/components/cat-textarea.js.map +1 -1
  134. package/dist/components/cat-timepicker.d.ts +11 -0
  135. package/dist/components/cat-timepicker.js +258 -0
  136. package/dist/components/cat-timepicker.js.map +1 -0
  137. package/dist/components/cat-toggle.js +2 -2
  138. package/dist/components/cat-toggle.js.map +1 -1
  139. package/dist/components/cat-tooltip.js +24 -20
  140. package/dist/components/cat-tooltip.js.map +1 -1
  141. package/dist/components/floating-ui.dom.esm.js +142 -56
  142. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  143. package/dist/components/index.js +1 -1
  144. package/dist/components/index.js.map +1 -1
  145. package/dist/esm/{cat-alert_24.entry.js → cat-alert_27.entry.js} +3775 -193
  146. package/dist/esm/cat-alert_27.entry.js.map +1 -0
  147. package/dist/esm/{cat-icon-registry-d6b80490.js → cat-icon-registry-4bd597f4.js} +43 -2
  148. package/dist/esm/cat-icon-registry-4bd597f4.js.map +1 -0
  149. package/dist/esm/catalyst.js +4 -4
  150. package/dist/esm/catalyst.js.map +1 -1
  151. package/dist/esm/{index-fc2f91a4.js → index-636ce8d6.js} +8 -1
  152. package/dist/esm/index-636ce8d6.js.map +1 -0
  153. package/dist/esm/index.js +3 -3
  154. package/dist/esm/index.js.map +1 -1
  155. package/dist/esm/loader.js +4 -4
  156. package/dist/esm/loader.js.map +1 -1
  157. package/dist/types/components/cat-button/cat-button.d.ts +4 -5
  158. package/dist/types/components/cat-button-group/cat-button-group.d.ts +11 -0
  159. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +1 -1
  160. package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +187 -0
  161. package/dist/types/components/cat-datepicker/datepicker-type.d.ts +7 -0
  162. package/dist/types/components/cat-datepicker/datepicker.d.ts +1 -0
  163. package/dist/types/components/cat-datepicker/dayjs.config.d.ts +3 -0
  164. package/dist/types/components/cat-datepicker/vanillajs-datepicker.config.d.ts +4 -0
  165. package/dist/types/components/cat-form-group/cat-form-group.d.ts +5 -0
  166. package/dist/types/components/cat-input/cat-input.d.ts +1 -1
  167. package/dist/types/components/cat-label/cat-label.d.ts +4 -0
  168. package/dist/types/components/cat-pagination/cat-pagination.d.ts +6 -0
  169. package/dist/types/components/cat-radio/cat-radio.d.ts +1 -1
  170. package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +1 -1
  171. package/dist/types/components/cat-select/cat-select.d.ts +10 -1
  172. package/dist/types/components/cat-textarea/cat-textarea.d.ts +1 -1
  173. package/dist/types/components/cat-timepicker/cat-timepicker.d.ts +158 -0
  174. package/dist/types/components/cat-toggle/cat-toggle.d.ts +1 -1
  175. package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +2 -2
  176. package/dist/types/components.d.ts +585 -17
  177. package/package.json +22 -18
  178. package/dist/catalyst/p-ccfebe33.js +0 -2
  179. package/dist/catalyst/p-ccfebe33.js.map +0 -1
  180. package/dist/catalyst/p-d135d677.entry.js +0 -10
  181. package/dist/catalyst/p-d135d677.entry.js.map +0 -1
  182. package/dist/cjs/cat-alert_24.cjs.entry.js.map +0 -1
  183. package/dist/cjs/cat-icon-registry-671af264.js.map +0 -1
  184. package/dist/cjs/index-01312a2e.js.map +0 -1
  185. package/dist/components/first-tabbable.js +0 -464
  186. package/dist/components/first-tabbable.js.map +0 -1
  187. package/dist/esm/cat-alert_24.entry.js.map +0 -1
  188. package/dist/esm/cat-icon-registry-d6b80490.js.map +0 -1
  189. package/dist/esm/index-fc2f91a4.js.map +0 -1
@@ -6,17 +6,21 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { Breakpoint } from "./utils/breakpoints";
9
+ import { DatepickerType } from "./components/cat-datepicker/datepicker-type";
10
+ import { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
9
11
  import { Placement } from "@floating-ui/dom";
10
12
  import { InputType } from "./components/cat-input/input-type";
11
- import { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
12
13
  import { CatSelectConnector, CatSelectMultipleTaggingValue, CatSelectTaggingValue, Item } from "./components/cat-select/cat-select";
13
14
  import { Observable } from "rxjs";
15
+ import { CatSelectMultipleTaggingValue as CatSelectMultipleTaggingValue1, CatSelectTaggingValue as CatSelectTaggingValue1 } from "./components/cat-select/cat-select";
14
16
  export { Breakpoint } from "./utils/breakpoints";
17
+ export { DatepickerType } from "./components/cat-datepicker/datepicker-type";
18
+ export { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
15
19
  export { Placement } from "@floating-ui/dom";
16
20
  export { InputType } from "./components/cat-input/input-type";
17
- export { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
18
21
  export { CatSelectConnector, CatSelectMultipleTaggingValue, CatSelectTaggingValue, Item } from "./components/cat-select/cat-select";
19
22
  export { Observable } from "rxjs";
23
+ export { CatSelectMultipleTaggingValue as CatSelectMultipleTaggingValue1, CatSelectTaggingValue as CatSelectTaggingValue1 } from "./components/cat-select/cat-select";
20
24
  export namespace Components {
21
25
  /**
22
26
  * Informs user about important changes or conditions in the interface. Use this
@@ -116,6 +120,10 @@ export namespace Components {
116
120
  * Set the button into an active state.
117
121
  */
118
122
  "active": boolean;
123
+ /**
124
+ * The index of a button that is used inside a cat-button-group component
125
+ */
126
+ "buttonGroupPosition"?: 'first' | 'last' | 'middle';
119
127
  /**
120
128
  * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
121
129
  */
@@ -153,10 +161,6 @@ export namespace Components {
153
161
  * Display the icon on the right.
154
162
  */
155
163
  "iconRight": boolean;
156
- /**
157
- * The SVG source of an icon to be displayed in the button. This takes precenedence over the `icon` name.
158
- */
159
- "iconSrc"?: string;
160
164
  /**
161
165
  * Displays the button in a loading state with a spinner. Just like a disabled button, an inactive button is unusable and un-clickable. However, it retains the current focus state.
162
166
  */
@@ -202,6 +206,12 @@ export namespace Components {
202
206
  */
203
207
  "variant": 'filled' | 'outlined' | 'text';
204
208
  }
209
+ interface CatButtonGroup {
210
+ /**
211
+ * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
212
+ */
213
+ "a11yLabel"?: string;
214
+ }
205
215
  /**
206
216
  * Cards are surfaces that display content and actions on a single topic. They
207
217
  * should be easy to scan for relevant and actionable information.
@@ -275,6 +285,138 @@ export namespace Components {
275
285
  */
276
286
  "value"?: string | boolean;
277
287
  }
288
+ /**
289
+ * Inputs are used to allow users to provide text input when the expected input
290
+ * is short. As well as plain text, Input supports various types of text,
291
+ * including passwords and numbers.
292
+ */
293
+ interface CatDatepicker {
294
+ /**
295
+ * Hint for form autofill feature.
296
+ */
297
+ "autoComplete"?: string;
298
+ /**
299
+ * Clear the input.
300
+ */
301
+ "clear": () => Promise<void>;
302
+ /**
303
+ * Whether the input should show a clear button.
304
+ */
305
+ "clearable": boolean;
306
+ /**
307
+ * Dates that should be disabled inside the picker
308
+ */
309
+ "datesDisabled": Array<Date> | Array<string>;
310
+ /**
311
+ * Whether the input is disabled.
312
+ */
313
+ "disabled": boolean;
314
+ /**
315
+ * Programmatically remove focus from the input. Use this method instead of `input.blur()`.
316
+ */
317
+ "doBlur": () => Promise<void>;
318
+ /**
319
+ * Programmatically simulate a click on the input.
320
+ */
321
+ "doClick": () => Promise<void>;
322
+ /**
323
+ * Programmatically move focus to the input. Use this method instead of `input.focus()`.
324
+ * @param options An optional object providing options to control aspects of the focusing process.
325
+ */
326
+ "doFocus": (options?: FocusOptions) => Promise<void>;
327
+ /**
328
+ * Fine-grained control over when the errors are shown. Can be `false` to never show errors, `true` to show errors on blur, or a number to show errors on change with the given delay in milliseconds.
329
+ */
330
+ "errorUpdate": boolean | number;
331
+ /**
332
+ * The validation errors for this input. Will render a hint under the input with the translated error message(s) `error.${key}`. If an object is passed, the keys will be used as error keys and the values translation parameters. If the value is `true`, the input will be marked as invalid without any hints under the input.
333
+ */
334
+ "errors"?: boolean | string[] | ErrorMap;
335
+ /**
336
+ * The date format after picker selection.
337
+ */
338
+ "format": string;
339
+ /**
340
+ * Optional hint text(s) to be displayed with the input.
341
+ */
342
+ "hint"?: string | string[];
343
+ /**
344
+ * Whether the label is on top or left.
345
+ */
346
+ "horizontal": boolean;
347
+ /**
348
+ * The name of an icon to be displayed in the input.
349
+ */
350
+ "icon"?: string;
351
+ /**
352
+ * Display the icon on the left.
353
+ */
354
+ "iconLeft": boolean;
355
+ /**
356
+ * A unique identifier for the input.
357
+ */
358
+ "identifier"?: string;
359
+ /**
360
+ * The label for the input.
361
+ */
362
+ "label": string;
363
+ /**
364
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
365
+ */
366
+ "labelHidden": boolean;
367
+ /**
368
+ * A maximum value for date, time and numeric values.
369
+ */
370
+ "max"?: number | string;
371
+ /**
372
+ * A minimum value for date, time and numeric values.
373
+ */
374
+ "min"?: number | string;
375
+ /**
376
+ * The name of the form control. Submitted with the form as part of a name/value pair.
377
+ */
378
+ "name"?: string;
379
+ /**
380
+ * Attributes that will be added to the native HTML input element.
381
+ */
382
+ "nativeAttributes"?: { [key: string]: string };
383
+ /**
384
+ * The placeholder text to display within the input.
385
+ */
386
+ "placeholder"?: string;
387
+ /**
388
+ * The value is not editable.
389
+ */
390
+ "readonly": boolean;
391
+ /**
392
+ * A value is required or must be check for the form to be submittable.
393
+ */
394
+ "required": boolean;
395
+ /**
396
+ * Whether the label need a marker to shown if the input is required or optional.
397
+ */
398
+ "requiredMarker": 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
399
+ /**
400
+ * A textual prefix to be displayed in the input.
401
+ */
402
+ "textPrefix"?: string;
403
+ /**
404
+ * A textual suffix to be displayed in the input.
405
+ */
406
+ "textSuffix"?: string;
407
+ /**
408
+ * Type of datepicker ('date', 'week', 'month', 'year').
409
+ */
410
+ "type": DatepickerType;
411
+ /**
412
+ * The value of the control.
413
+ */
414
+ "value"?: string;
415
+ /**
416
+ * Whether the picker should show the week numbers.
417
+ */
418
+ "weekNumbers": boolean;
419
+ }
278
420
  interface CatDropdown {
279
421
  /**
280
422
  * Closes the dropdown.
@@ -294,6 +436,10 @@ export namespace Components {
294
436
  "placement": Placement;
295
437
  }
296
438
  interface CatFormGroup {
439
+ /**
440
+ * Whether the label is on top or left.
441
+ */
442
+ "horizontal": boolean;
297
443
  /**
298
444
  * The space allocated to the input label
299
445
  */
@@ -466,6 +612,10 @@ export namespace Components {
466
612
  * The unique identifier for a referenced input.
467
613
  */
468
614
  "for"?: string;
615
+ /**
616
+ * Whether the label is on top or left.
617
+ */
618
+ "horizontal": boolean;
469
619
  /**
470
620
  * A value is required or must be check for the form to be submittable.
471
621
  */
@@ -680,6 +830,10 @@ export namespace Components {
680
830
  * Optional hint text(s) to be displayed with the select.
681
831
  */
682
832
  "hint"?: string | string[];
833
+ /**
834
+ * Whether the label is on top or left.
835
+ */
836
+ "horizontal": boolean;
683
837
  /**
684
838
  * A unique identifier for the input.
685
839
  */
@@ -912,6 +1066,101 @@ export namespace Components {
912
1066
  */
913
1067
  "value"?: string | number;
914
1068
  }
1069
+ /**
1070
+ * Inputs are used to allow users to provide text input when the expected input
1071
+ * is short. As well as plain text, Input supports various types of text,
1072
+ * including passwords and numbers.
1073
+ */
1074
+ interface CatTimepicker {
1075
+ /**
1076
+ * Whether the select should show a clear button.
1077
+ */
1078
+ "clearable": boolean;
1079
+ /**
1080
+ * Whether the input is disabled.
1081
+ */
1082
+ "disabled": boolean;
1083
+ /**
1084
+ * Fine-grained control over when the errors are shown. Can be `false` to never show errors, `true` to show errors on blur, or a number to show errors on change with the given delay in milliseconds.
1085
+ */
1086
+ "errorUpdate": boolean | number;
1087
+ /**
1088
+ * The validation errors for this input. Will render a hint under the input with the translated error message(s) `error.${key}`. If an object is passed, the keys will be used as error keys and the values translation parameters. If the value is `true`, the input will be marked as invalid without any hints under the input.
1089
+ */
1090
+ "errors"?: boolean | string[] | ErrorMap;
1091
+ /**
1092
+ * Optional hint text(s) to be displayed with the input.
1093
+ */
1094
+ "hint"?: string | string[];
1095
+ /**
1096
+ * Whether the label is on top or left.
1097
+ */
1098
+ "horizontal": boolean;
1099
+ /**
1100
+ * Attributes that will be added to the native HTML input element.
1101
+ */
1102
+ "hourShort": boolean;
1103
+ /**
1104
+ * A unique identifier for the input.
1105
+ */
1106
+ "identifier"?: string;
1107
+ /**
1108
+ * The label for the input.
1109
+ */
1110
+ "label": string;
1111
+ /**
1112
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
1113
+ */
1114
+ "labelHidden": boolean;
1115
+ /**
1116
+ * A maximum value for date, time and numeric values.
1117
+ */
1118
+ "max"?: string;
1119
+ /**
1120
+ * A minimum value for date, time and numeric values.
1121
+ */
1122
+ "min"?: string;
1123
+ /**
1124
+ * Attributes that will be added to the native HTML input element.
1125
+ */
1126
+ "minutesStep": number;
1127
+ /**
1128
+ * Enable multiple selection.
1129
+ */
1130
+ "multiple": boolean;
1131
+ /**
1132
+ * The name of the form control. Submitted with the form as part of a name/value pair.
1133
+ */
1134
+ "name"?: string;
1135
+ /**
1136
+ * Attributes that will be added to the native HTML input element.
1137
+ */
1138
+ "nativeAttributes"?: { [key: string]: string };
1139
+ /**
1140
+ * The text to display in the dropdown if no results are found.
1141
+ */
1142
+ "noItems"?: string;
1143
+ /**
1144
+ * The placeholder text to display within the select.
1145
+ */
1146
+ "placeholder"?: string;
1147
+ /**
1148
+ * The placement of the select.
1149
+ */
1150
+ "placement": Placement;
1151
+ /**
1152
+ * A value is required or must be checked for the form to be submittable.
1153
+ */
1154
+ "required": boolean;
1155
+ /**
1156
+ * Whether the label need a marker to shown if the input is required or optional.
1157
+ */
1158
+ "requiredMarker": 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1159
+ /**
1160
+ * The value of the select. <br /> <br /> The value of the select depends on whether it is allowed to choose a single item or several items. <br /> When only one item can be selected, the value is the id of the item, in case several items can be selected, the value is an array of ids of the selected items. <br /> <br /> In case the user can add new items to the select (tags activated), the value in the single select is an object (CatSelectTaggingValue) with the id of the item or the name of the created item, in the case of multiple select, it is an object (CatSelectMultipleTaggingValue) with the array of the ids of the items selected and the array of the names of the items created
1161
+ */
1162
+ "value"?: string | string[] | CatSelectTaggingValue1 | CatSelectMultipleTaggingValue1;
1163
+ }
915
1164
  /**
916
1165
  * Toggles are graphical interface switches that give user control over a
917
1166
  * feature or option that can be turned on or off.
@@ -1018,6 +1267,10 @@ export interface CatCheckboxCustomEvent<T> extends CustomEvent<T> {
1018
1267
  detail: T;
1019
1268
  target: HTMLCatCheckboxElement;
1020
1269
  }
1270
+ export interface CatDatepickerCustomEvent<T> extends CustomEvent<T> {
1271
+ detail: T;
1272
+ target: HTMLCatDatepickerElement;
1273
+ }
1021
1274
  export interface CatDropdownCustomEvent<T> extends CustomEvent<T> {
1022
1275
  detail: T;
1023
1276
  target: HTMLCatDropdownElement;
@@ -1026,6 +1279,10 @@ export interface CatInputCustomEvent<T> extends CustomEvent<T> {
1026
1279
  detail: T;
1027
1280
  target: HTMLCatInputElement;
1028
1281
  }
1282
+ export interface CatPaginationCustomEvent<T> extends CustomEvent<T> {
1283
+ detail: T;
1284
+ target: HTMLCatPaginationElement;
1285
+ }
1029
1286
  export interface CatRadioCustomEvent<T> extends CustomEvent<T> {
1030
1287
  detail: T;
1031
1288
  target: HTMLCatRadioElement;
@@ -1050,6 +1307,10 @@ export interface CatTextareaCustomEvent<T> extends CustomEvent<T> {
1050
1307
  detail: T;
1051
1308
  target: HTMLCatTextareaElement;
1052
1309
  }
1310
+ export interface CatTimepickerCustomEvent<T> extends CustomEvent<T> {
1311
+ detail: T;
1312
+ target: HTMLCatTimepickerElement;
1313
+ }
1053
1314
  export interface CatToggleCustomEvent<T> extends CustomEvent<T> {
1054
1315
  detail: T;
1055
1316
  target: HTMLCatToggleElement;
@@ -1094,6 +1355,12 @@ declare global {
1094
1355
  prototype: HTMLCatButtonElement;
1095
1356
  new (): HTMLCatButtonElement;
1096
1357
  };
1358
+ interface HTMLCatButtonGroupElement extends Components.CatButtonGroup, HTMLStencilElement {
1359
+ }
1360
+ var HTMLCatButtonGroupElement: {
1361
+ prototype: HTMLCatButtonGroupElement;
1362
+ new (): HTMLCatButtonGroupElement;
1363
+ };
1097
1364
  /**
1098
1365
  * Cards are surfaces that display content and actions on a single topic. They
1099
1366
  * should be easy to scan for relevant and actionable information.
@@ -1114,6 +1381,17 @@ declare global {
1114
1381
  prototype: HTMLCatCheckboxElement;
1115
1382
  new (): HTMLCatCheckboxElement;
1116
1383
  };
1384
+ /**
1385
+ * Inputs are used to allow users to provide text input when the expected input
1386
+ * is short. As well as plain text, Input supports various types of text,
1387
+ * including passwords and numbers.
1388
+ */
1389
+ interface HTMLCatDatepickerElement extends Components.CatDatepicker, HTMLStencilElement {
1390
+ }
1391
+ var HTMLCatDatepickerElement: {
1392
+ prototype: HTMLCatDatepickerElement;
1393
+ new (): HTMLCatDatepickerElement;
1394
+ };
1117
1395
  interface HTMLCatDropdownElement extends Components.CatDropdown, HTMLStencilElement {
1118
1396
  }
1119
1397
  var HTMLCatDropdownElement: {
@@ -1263,6 +1541,17 @@ declare global {
1263
1541
  prototype: HTMLCatTextareaElement;
1264
1542
  new (): HTMLCatTextareaElement;
1265
1543
  };
1544
+ /**
1545
+ * Inputs are used to allow users to provide text input when the expected input
1546
+ * is short. As well as plain text, Input supports various types of text,
1547
+ * including passwords and numbers.
1548
+ */
1549
+ interface HTMLCatTimepickerElement extends Components.CatTimepicker, HTMLStencilElement {
1550
+ }
1551
+ var HTMLCatTimepickerElement: {
1552
+ prototype: HTMLCatTimepickerElement;
1553
+ new (): HTMLCatTimepickerElement;
1554
+ };
1266
1555
  /**
1267
1556
  * Toggles are graphical interface switches that give user control over a
1268
1557
  * feature or option that can be turned on or off.
@@ -1284,8 +1573,10 @@ declare global {
1284
1573
  "cat-avatar": HTMLCatAvatarElement;
1285
1574
  "cat-badge": HTMLCatBadgeElement;
1286
1575
  "cat-button": HTMLCatButtonElement;
1576
+ "cat-button-group": HTMLCatButtonGroupElement;
1287
1577
  "cat-card": HTMLCatCardElement;
1288
1578
  "cat-checkbox": HTMLCatCheckboxElement;
1579
+ "cat-datepicker": HTMLCatDatepickerElement;
1289
1580
  "cat-dropdown": HTMLCatDropdownElement;
1290
1581
  "cat-form-group": HTMLCatFormGroupElement;
1291
1582
  "cat-icon": HTMLCatIconElement;
@@ -1302,6 +1593,7 @@ declare global {
1302
1593
  "cat-tab": HTMLCatTabElement;
1303
1594
  "cat-tabs": HTMLCatTabsElement;
1304
1595
  "cat-textarea": HTMLCatTextareaElement;
1596
+ "cat-timepicker": HTMLCatTimepickerElement;
1305
1597
  "cat-toggle": HTMLCatToggleElement;
1306
1598
  "cat-tooltip": HTMLCatTooltipElement;
1307
1599
  }
@@ -1405,6 +1697,10 @@ declare namespace LocalJSX {
1405
1697
  * Set the button into an active state.
1406
1698
  */
1407
1699
  "active"?: boolean;
1700
+ /**
1701
+ * The index of a button that is used inside a cat-button-group component
1702
+ */
1703
+ "buttonGroupPosition"?: 'first' | 'last' | 'middle';
1408
1704
  /**
1409
1705
  * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
1410
1706
  */
@@ -1429,10 +1725,6 @@ declare namespace LocalJSX {
1429
1725
  * Display the icon on the right.
1430
1726
  */
1431
1727
  "iconRight"?: boolean;
1432
- /**
1433
- * The SVG source of an icon to be displayed in the button. This takes precenedence over the `icon` name.
1434
- */
1435
- "iconSrc"?: string;
1436
1728
  /**
1437
1729
  * Displays the button in a loading state with a spinner. Just like a disabled button, an inactive button is unusable and un-clickable. However, it retains the current focus state.
1438
1730
  */
@@ -1490,6 +1782,12 @@ declare namespace LocalJSX {
1490
1782
  */
1491
1783
  "variant"?: 'filled' | 'outlined' | 'text';
1492
1784
  }
1785
+ interface CatButtonGroup {
1786
+ /**
1787
+ * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
1788
+ */
1789
+ "a11yLabel"?: string;
1790
+ }
1493
1791
  /**
1494
1792
  * Cards are surfaces that display content and actions on a single topic. They
1495
1793
  * should be easy to scan for relevant and actionable information.
@@ -1548,7 +1846,7 @@ declare namespace LocalJSX {
1548
1846
  /**
1549
1847
  * Emitted when the checked status of the checkbox is changed.
1550
1848
  */
1551
- "onCatChange"?: (event: CatCheckboxCustomEvent<any>) => void;
1849
+ "onCatChange"?: (event: CatCheckboxCustomEvent<InputEvent>) => void;
1552
1850
  /**
1553
1851
  * Emitted when the checkbox received focus.
1554
1852
  */
@@ -1562,6 +1860,133 @@ declare namespace LocalJSX {
1562
1860
  */
1563
1861
  "value"?: string | boolean;
1564
1862
  }
1863
+ /**
1864
+ * Inputs are used to allow users to provide text input when the expected input
1865
+ * is short. As well as plain text, Input supports various types of text,
1866
+ * including passwords and numbers.
1867
+ */
1868
+ interface CatDatepicker {
1869
+ /**
1870
+ * Hint for form autofill feature.
1871
+ */
1872
+ "autoComplete"?: string;
1873
+ /**
1874
+ * Whether the input should show a clear button.
1875
+ */
1876
+ "clearable"?: boolean;
1877
+ /**
1878
+ * Dates that should be disabled inside the picker
1879
+ */
1880
+ "datesDisabled": Array<Date> | Array<string>;
1881
+ /**
1882
+ * Whether the input is disabled.
1883
+ */
1884
+ "disabled"?: boolean;
1885
+ /**
1886
+ * Fine-grained control over when the errors are shown. Can be `false` to never show errors, `true` to show errors on blur, or a number to show errors on change with the given delay in milliseconds.
1887
+ */
1888
+ "errorUpdate"?: boolean | number;
1889
+ /**
1890
+ * The validation errors for this input. Will render a hint under the input with the translated error message(s) `error.${key}`. If an object is passed, the keys will be used as error keys and the values translation parameters. If the value is `true`, the input will be marked as invalid without any hints under the input.
1891
+ */
1892
+ "errors"?: boolean | string[] | ErrorMap;
1893
+ /**
1894
+ * The date format after picker selection.
1895
+ */
1896
+ "format"?: string;
1897
+ /**
1898
+ * Optional hint text(s) to be displayed with the input.
1899
+ */
1900
+ "hint"?: string | string[];
1901
+ /**
1902
+ * Whether the label is on top or left.
1903
+ */
1904
+ "horizontal"?: boolean;
1905
+ /**
1906
+ * The name of an icon to be displayed in the input.
1907
+ */
1908
+ "icon"?: string;
1909
+ /**
1910
+ * Display the icon on the left.
1911
+ */
1912
+ "iconLeft"?: boolean;
1913
+ /**
1914
+ * A unique identifier for the input.
1915
+ */
1916
+ "identifier"?: string;
1917
+ /**
1918
+ * The label for the input.
1919
+ */
1920
+ "label"?: string;
1921
+ /**
1922
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
1923
+ */
1924
+ "labelHidden"?: boolean;
1925
+ /**
1926
+ * A maximum value for date, time and numeric values.
1927
+ */
1928
+ "max"?: number | string;
1929
+ /**
1930
+ * A minimum value for date, time and numeric values.
1931
+ */
1932
+ "min"?: number | string;
1933
+ /**
1934
+ * The name of the form control. Submitted with the form as part of a name/value pair.
1935
+ */
1936
+ "name"?: string;
1937
+ /**
1938
+ * Attributes that will be added to the native HTML input element.
1939
+ */
1940
+ "nativeAttributes"?: { [key: string]: string };
1941
+ /**
1942
+ * Emitted when the input loses focus.
1943
+ */
1944
+ "onCatBlur"?: (event: CatDatepickerCustomEvent<FocusEvent>) => void;
1945
+ /**
1946
+ * Emitted when the value is changed.
1947
+ */
1948
+ "onCatChange"?: (event: CatDatepickerCustomEvent<InputEvent>) => void;
1949
+ /**
1950
+ * Emitted when the input received focus.
1951
+ */
1952
+ "onCatFocus"?: (event: CatDatepickerCustomEvent<FocusEvent>) => void;
1953
+ /**
1954
+ * The placeholder text to display within the input.
1955
+ */
1956
+ "placeholder"?: string;
1957
+ /**
1958
+ * The value is not editable.
1959
+ */
1960
+ "readonly"?: boolean;
1961
+ /**
1962
+ * A value is required or must be check for the form to be submittable.
1963
+ */
1964
+ "required"?: boolean;
1965
+ /**
1966
+ * Whether the label need a marker to shown if the input is required or optional.
1967
+ */
1968
+ "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1969
+ /**
1970
+ * A textual prefix to be displayed in the input.
1971
+ */
1972
+ "textPrefix"?: string;
1973
+ /**
1974
+ * A textual suffix to be displayed in the input.
1975
+ */
1976
+ "textSuffix"?: string;
1977
+ /**
1978
+ * Type of datepicker ('date', 'week', 'month', 'year').
1979
+ */
1980
+ "type"?: DatepickerType;
1981
+ /**
1982
+ * The value of the control.
1983
+ */
1984
+ "value"?: string;
1985
+ /**
1986
+ * Whether the picker should show the week numbers.
1987
+ */
1988
+ "weekNumbers"?: boolean;
1989
+ }
1565
1990
  interface CatDropdown {
1566
1991
  /**
1567
1992
  * Do not close the dropdown on outside clicks.
@@ -1585,6 +2010,10 @@ declare namespace LocalJSX {
1585
2010
  "placement"?: Placement;
1586
2011
  }
1587
2012
  interface CatFormGroup {
2013
+ /**
2014
+ * Whether the label is on top or left.
2015
+ */
2016
+ "horizontal"?: boolean;
1588
2017
  /**
1589
2018
  * The space allocated to the input label
1590
2019
  */
@@ -1701,7 +2130,7 @@ declare namespace LocalJSX {
1701
2130
  /**
1702
2131
  * Emitted when the value is changed.
1703
2132
  */
1704
- "onCatChange"?: (event: CatInputCustomEvent<any>) => void;
2133
+ "onCatChange"?: (event: CatInputCustomEvent<InputEvent>) => void;
1705
2134
  /**
1706
2135
  * Emitted when the input received focus.
1707
2136
  */
@@ -1752,6 +2181,10 @@ declare namespace LocalJSX {
1752
2181
  * The unique identifier for a referenced input.
1753
2182
  */
1754
2183
  "for"?: string;
2184
+ /**
2185
+ * Whether the label is on top or left.
2186
+ */
2187
+ "horizontal"?: boolean;
1755
2188
  /**
1756
2189
  * A value is required or must be check for the form to be submittable.
1757
2190
  */
@@ -1785,6 +2218,10 @@ declare namespace LocalJSX {
1785
2218
  * The icon of the "previous" button.
1786
2219
  */
1787
2220
  "iconPrev"?: string;
2221
+ /**
2222
+ * Emitted when the page of the pagination has changed.
2223
+ */
2224
+ "onCatChange"?: (event: CatPaginationCustomEvent<any>) => void;
1788
2225
  /**
1789
2226
  * The current page.
1790
2227
  */
@@ -1858,7 +2295,7 @@ declare namespace LocalJSX {
1858
2295
  /**
1859
2296
  * Emitted when the radio is changed.
1860
2297
  */
1861
- "onCatChange"?: (event: CatRadioCustomEvent<any>) => void;
2298
+ "onCatChange"?: (event: CatRadioCustomEvent<InputEvent>) => void;
1862
2299
  /**
1863
2300
  * Emitted when the radio received focus.
1864
2301
  */
@@ -1899,7 +2336,7 @@ declare namespace LocalJSX {
1899
2336
  /**
1900
2337
  * Emitted when the value is changed.
1901
2338
  */
1902
- "onCatChange"?: (event: CatRadioGroupCustomEvent<any>) => void;
2339
+ "onCatChange"?: (event: CatRadioGroupCustomEvent<InputEvent>) => void;
1903
2340
  /**
1904
2341
  * The value of the radio group.
1905
2342
  */
@@ -1984,6 +2421,10 @@ declare namespace LocalJSX {
1984
2421
  * Optional hint text(s) to be displayed with the select.
1985
2422
  */
1986
2423
  "hint"?: string | string[];
2424
+ /**
2425
+ * Whether the label is on top or left.
2426
+ */
2427
+ "horizontal"?: boolean;
1987
2428
  /**
1988
2429
  * A unique identifier for the input.
1989
2430
  */
@@ -2019,7 +2460,7 @@ declare namespace LocalJSX {
2019
2460
  /**
2020
2461
  * Emitted when the value is changed.
2021
2462
  */
2022
- "onCatChange"?: (event: CatSelectCustomEvent<any>) => void;
2463
+ "onCatChange"?: (event: CatSelectCustomEvent<InputEvent>) => void;
2023
2464
  /**
2024
2465
  * Emitted when the select dropdown is closed.
2025
2466
  */
@@ -2205,7 +2646,7 @@ declare namespace LocalJSX {
2205
2646
  /**
2206
2647
  * Emitted when the value is changed.
2207
2648
  */
2208
- "onCatChange"?: (event: CatTextareaCustomEvent<any>) => void;
2649
+ "onCatChange"?: (event: CatTextareaCustomEvent<InputEvent>) => void;
2209
2650
  /**
2210
2651
  * Emitted when the textarea received focus.
2211
2652
  */
@@ -2235,6 +2676,117 @@ declare namespace LocalJSX {
2235
2676
  */
2236
2677
  "value"?: string | number;
2237
2678
  }
2679
+ /**
2680
+ * Inputs are used to allow users to provide text input when the expected input
2681
+ * is short. As well as plain text, Input supports various types of text,
2682
+ * including passwords and numbers.
2683
+ */
2684
+ interface CatTimepicker {
2685
+ /**
2686
+ * Whether the select should show a clear button.
2687
+ */
2688
+ "clearable"?: boolean;
2689
+ /**
2690
+ * Whether the input is disabled.
2691
+ */
2692
+ "disabled"?: boolean;
2693
+ /**
2694
+ * Fine-grained control over when the errors are shown. Can be `false` to never show errors, `true` to show errors on blur, or a number to show errors on change with the given delay in milliseconds.
2695
+ */
2696
+ "errorUpdate"?: boolean | number;
2697
+ /**
2698
+ * The validation errors for this input. Will render a hint under the input with the translated error message(s) `error.${key}`. If an object is passed, the keys will be used as error keys and the values translation parameters. If the value is `true`, the input will be marked as invalid without any hints under the input.
2699
+ */
2700
+ "errors"?: boolean | string[] | ErrorMap;
2701
+ /**
2702
+ * Optional hint text(s) to be displayed with the input.
2703
+ */
2704
+ "hint"?: string | string[];
2705
+ /**
2706
+ * Whether the label is on top or left.
2707
+ */
2708
+ "horizontal"?: boolean;
2709
+ /**
2710
+ * Attributes that will be added to the native HTML input element.
2711
+ */
2712
+ "hourShort"?: boolean;
2713
+ /**
2714
+ * A unique identifier for the input.
2715
+ */
2716
+ "identifier"?: string;
2717
+ /**
2718
+ * The label for the input.
2719
+ */
2720
+ "label"?: string;
2721
+ /**
2722
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
2723
+ */
2724
+ "labelHidden"?: boolean;
2725
+ /**
2726
+ * A maximum value for date, time and numeric values.
2727
+ */
2728
+ "max"?: string;
2729
+ /**
2730
+ * A minimum value for date, time and numeric values.
2731
+ */
2732
+ "min"?: string;
2733
+ /**
2734
+ * Attributes that will be added to the native HTML input element.
2735
+ */
2736
+ "minutesStep"?: number;
2737
+ /**
2738
+ * Enable multiple selection.
2739
+ */
2740
+ "multiple"?: boolean;
2741
+ /**
2742
+ * The name of the form control. Submitted with the form as part of a name/value pair.
2743
+ */
2744
+ "name"?: string;
2745
+ /**
2746
+ * Attributes that will be added to the native HTML input element.
2747
+ */
2748
+ "nativeAttributes"?: { [key: string]: string };
2749
+ /**
2750
+ * The text to display in the dropdown if no results are found.
2751
+ */
2752
+ "noItems"?: string;
2753
+ /**
2754
+ * Emitted when the select loses the focus.
2755
+ */
2756
+ "onCatBlur"?: (event: CatTimepickerCustomEvent<FocusEvent>) => void;
2757
+ /**
2758
+ * Emitted when the value is changed.
2759
+ */
2760
+ "onCatChange"?: (event: CatTimepickerCustomEvent<any>) => void;
2761
+ /**
2762
+ * Emitted when the select dropdown is closed.
2763
+ */
2764
+ "onCatClose"?: (event: CatTimepickerCustomEvent<FocusEvent>) => void;
2765
+ /**
2766
+ * Emitted when the select dropdown is opened.
2767
+ */
2768
+ "onCatOpen"?: (event: CatTimepickerCustomEvent<FocusEvent>) => void;
2769
+ /**
2770
+ * The placeholder text to display within the select.
2771
+ */
2772
+ "placeholder"?: string;
2773
+ /**
2774
+ * The placement of the select.
2775
+ */
2776
+ "placement"?: Placement;
2777
+ /**
2778
+ * A value is required or must be checked for the form to be submittable.
2779
+ */
2780
+ "required"?: boolean;
2781
+ /**
2782
+ * Whether the label need a marker to shown if the input is required or optional.
2783
+ */
2784
+ "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
2785
+ /**
2786
+ * The value of the select. <br /> <br /> The value of the select depends on whether it is allowed to choose a single item or several items. <br /> When only one item can be selected, the value is the id of the item, in case several items can be selected, the value is an array of ids of the selected items. <br /> <br /> In case the user can add new items to the select (tags activated), the value in the single select is an object (CatSelectTaggingValue) with the id of the item or the name of the created item, in the case of multiple select, it is an object (CatSelectMultipleTaggingValue) with the array of the ids of the items selected and the array of the names of the items created
2787
+ */
2788
+ "value"?: string | string[] | CatSelectTaggingValue1 | CatSelectMultipleTaggingValue1;
2789
+ }
2238
2790
  /**
2239
2791
  * Toggles are graphical interface switches that give user control over a
2240
2792
  * feature or option that can be turned on or off.
@@ -2283,7 +2835,7 @@ declare namespace LocalJSX {
2283
2835
  /**
2284
2836
  * Emitted when the checked status of the toggle is changed.
2285
2837
  */
2286
- "onCatChange"?: (event: CatToggleCustomEvent<any>) => void;
2838
+ "onCatChange"?: (event: CatToggleCustomEvent<InputEvent>) => void;
2287
2839
  /**
2288
2840
  * Emitted when the toggle received focus.
2289
2841
  */
@@ -2336,8 +2888,10 @@ declare namespace LocalJSX {
2336
2888
  "cat-avatar": CatAvatar;
2337
2889
  "cat-badge": CatBadge;
2338
2890
  "cat-button": CatButton;
2891
+ "cat-button-group": CatButtonGroup;
2339
2892
  "cat-card": CatCard;
2340
2893
  "cat-checkbox": CatCheckbox;
2894
+ "cat-datepicker": CatDatepicker;
2341
2895
  "cat-dropdown": CatDropdown;
2342
2896
  "cat-form-group": CatFormGroup;
2343
2897
  "cat-icon": CatIcon;
@@ -2354,6 +2908,7 @@ declare namespace LocalJSX {
2354
2908
  "cat-tab": CatTab;
2355
2909
  "cat-tabs": CatTabs;
2356
2910
  "cat-textarea": CatTextarea;
2911
+ "cat-timepicker": CatTimepicker;
2357
2912
  "cat-toggle": CatToggle;
2358
2913
  "cat-tooltip": CatTooltip;
2359
2914
  }
@@ -2381,6 +2936,7 @@ declare module "@stencil/core" {
2381
2936
  * once per view for main call-to-action.
2382
2937
  */
2383
2938
  "cat-button": LocalJSX.CatButton & JSXBase.HTMLAttributes<HTMLCatButtonElement>;
2939
+ "cat-button-group": LocalJSX.CatButtonGroup & JSXBase.HTMLAttributes<HTMLCatButtonGroupElement>;
2384
2940
  /**
2385
2941
  * Cards are surfaces that display content and actions on a single topic. They
2386
2942
  * should be easy to scan for relevant and actionable information.
@@ -2391,6 +2947,12 @@ declare module "@stencil/core" {
2391
2947
  * number of options.
2392
2948
  */
2393
2949
  "cat-checkbox": LocalJSX.CatCheckbox & JSXBase.HTMLAttributes<HTMLCatCheckboxElement>;
2950
+ /**
2951
+ * Inputs are used to allow users to provide text input when the expected input
2952
+ * is short. As well as plain text, Input supports various types of text,
2953
+ * including passwords and numbers.
2954
+ */
2955
+ "cat-datepicker": LocalJSX.CatDatepicker & JSXBase.HTMLAttributes<HTMLCatDatepickerElement>;
2394
2956
  "cat-dropdown": LocalJSX.CatDropdown & JSXBase.HTMLAttributes<HTMLCatDropdownElement>;
2395
2957
  "cat-form-group": LocalJSX.CatFormGroup & JSXBase.HTMLAttributes<HTMLCatFormGroupElement>;
2396
2958
  /**
@@ -2460,6 +3022,12 @@ declare module "@stencil/core" {
2460
3022
  * input component.
2461
3023
  */
2462
3024
  "cat-textarea": LocalJSX.CatTextarea & JSXBase.HTMLAttributes<HTMLCatTextareaElement>;
3025
+ /**
3026
+ * Inputs are used to allow users to provide text input when the expected input
3027
+ * is short. As well as plain text, Input supports various types of text,
3028
+ * including passwords and numbers.
3029
+ */
3030
+ "cat-timepicker": LocalJSX.CatTimepicker & JSXBase.HTMLAttributes<HTMLCatTimepickerElement>;
2463
3031
  /**
2464
3032
  * Toggles are graphical interface switches that give user control over a
2465
3033
  * feature or option that can be turned on or off.