@haiilo/catalyst 13.5.1-beta.1 → 14.0.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 (161) hide show
  1. package/dist/catalyst/catalyst.css +257 -192
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +2 -2
  5. package/dist/catalyst/loader.esm.js.map +1 -1
  6. package/dist/catalyst/p--__C9zxv.js +3 -0
  7. package/dist/catalyst/p--__C9zxv.js.map +1 -0
  8. package/dist/catalyst/{p-8e3e3018.entry.js → p-4f7d069a.entry.js} +4 -4
  9. package/dist/catalyst/p-4f7d069a.entry.js.map +1 -0
  10. package/dist/catalyst/{p-D80xhZLG.js → p-Db1nOa1D.js} +2 -2
  11. package/dist/catalyst/{p-D80xhZLG.js.map → p-Db1nOa1D.js.map} +1 -1
  12. package/dist/catalyst/scss/index.scss +3 -3
  13. package/dist/cjs/cat-alert_30.cjs.entry.js +122 -124
  14. package/dist/cjs/catalyst.cjs.js +4 -7
  15. package/dist/cjs/catalyst.cjs.js.map +1 -1
  16. package/dist/cjs/{index-B6viy7Jl.js → index-CgyHmlOr.js} +736 -736
  17. package/dist/cjs/{index-B6viy7Jl.js.map → index-CgyHmlOr.js.map} +1 -1
  18. package/dist/cjs/index-Cl5qCbJO.js +1755 -0
  19. package/dist/cjs/index-Cl5qCbJO.js.map +1 -0
  20. package/dist/cjs/index.cjs.js +1 -3
  21. package/dist/cjs/loader.cjs.js +3 -6
  22. package/dist/cjs/loader.cjs.js.map +1 -1
  23. package/dist/collection/collection-manifest.json +2 -2
  24. package/dist/collection/components/cat-alert/cat-alert.js +4 -4
  25. package/dist/collection/components/cat-avatar/cat-avatar.js +13 -13
  26. package/dist/collection/components/cat-badge/cat-badge.js +9 -9
  27. package/dist/collection/components/cat-button/cat-button.js +31 -33
  28. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  29. package/dist/collection/components/cat-button-group/cat-button-group.js +2 -2
  30. package/dist/collection/components/cat-checkbox/cat-checkbox.js +22 -23
  31. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  32. package/dist/collection/components/cat-date/cat-date.js +39 -40
  33. package/dist/collection/components/cat-date/cat-date.js.map +1 -1
  34. package/dist/collection/components/cat-date-inline/cat-date-inline.js +19 -19
  35. package/dist/collection/components/cat-datepicker/cat-datepicker.js +41 -43
  36. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
  37. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +10 -11
  38. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -1
  39. package/dist/collection/components/cat-dropdown/cat-dropdown.js +11 -11
  40. package/dist/collection/components/cat-form-group/cat-form-group.js +4 -4
  41. package/dist/collection/components/cat-icon/cat-icon.js +7 -7
  42. package/dist/collection/components/cat-input/cat-input.js +51 -54
  43. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  44. package/dist/collection/components/cat-pagination/cat-pagination.js +10 -10
  45. package/dist/collection/components/cat-radio/cat-radio.js +16 -17
  46. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  47. package/dist/collection/components/cat-radio-group/cat-radio-group.js +8 -8
  48. package/dist/collection/components/cat-scrollable/cat-scrollable.js +7 -7
  49. package/dist/collection/components/cat-select/cat-select.js +33 -34
  50. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  51. package/dist/collection/components/cat-skeleton/cat-skeleton.js +5 -5
  52. package/dist/collection/components/cat-spinner/cat-spinner.js +4 -4
  53. package/dist/collection/components/cat-tab/cat-tab.js +15 -16
  54. package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
  55. package/dist/collection/components/cat-tabs/cat-tabs.js +4 -4
  56. package/dist/collection/components/cat-tag/cat-tag.js +20 -23
  57. package/dist/collection/components/cat-tag/cat-tag.js.map +1 -1
  58. package/dist/collection/components/cat-textarea/cat-textarea.js +32 -33
  59. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  60. package/dist/collection/components/cat-time/cat-time.js +40 -41
  61. package/dist/collection/components/cat-time/cat-time.js.map +1 -1
  62. package/dist/collection/components/cat-toggle/cat-toggle.js +20 -21
  63. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  64. package/dist/collection/components/cat-tooltip/cat-tooltip.js +8 -8
  65. package/dist/collection/scss/_variables.tokens.scss +2 -2
  66. package/dist/collection/scss/index.scss +3 -3
  67. package/dist/components/cat-alert.js +5 -3
  68. package/dist/components/cat-alert.js.map +1 -1
  69. package/dist/components/cat-avatar2.js +5 -3
  70. package/dist/components/cat-avatar2.js.map +1 -1
  71. package/dist/components/cat-badge.js +5 -3
  72. package/dist/components/cat-badge.js.map +1 -1
  73. package/dist/components/cat-button-group.js +5 -3
  74. package/dist/components/cat-button-group.js.map +1 -1
  75. package/dist/components/cat-button2.js +7 -5
  76. package/dist/components/cat-button2.js.map +1 -1
  77. package/dist/components/cat-card.js +5 -3
  78. package/dist/components/cat-card.js.map +1 -1
  79. package/dist/components/cat-checkbox2.js +6 -4
  80. package/dist/components/cat-checkbox2.js.map +1 -1
  81. package/dist/components/cat-date-inline2.js +5 -3
  82. package/dist/components/cat-date-inline2.js.map +1 -1
  83. package/dist/components/cat-date.js +6 -4
  84. package/dist/components/cat-date.js.map +1 -1
  85. package/dist/components/cat-datepicker-inline.js +6 -4
  86. package/dist/components/cat-datepicker-inline.js.map +1 -1
  87. package/dist/components/cat-datepicker.js +7 -5
  88. package/dist/components/cat-datepicker.js.map +1 -1
  89. package/dist/components/cat-dropdown2.js +5 -3
  90. package/dist/components/cat-dropdown2.js.map +1 -1
  91. package/dist/components/cat-form-group.js +5 -3
  92. package/dist/components/cat-form-group.js.map +1 -1
  93. package/dist/components/cat-form-hint.js.map +1 -1
  94. package/dist/components/cat-i18n-registry.js.map +1 -1
  95. package/dist/components/cat-icon-registry.js.map +1 -1
  96. package/dist/components/cat-icon2.js +5 -3
  97. package/dist/components/cat-icon2.js.map +1 -1
  98. package/dist/components/cat-input2.js +8 -6
  99. package/dist/components/cat-input2.js.map +1 -1
  100. package/dist/components/cat-pagination.js +5 -3
  101. package/dist/components/cat-pagination.js.map +1 -1
  102. package/dist/components/cat-radio-group.js +5 -3
  103. package/dist/components/cat-radio-group.js.map +1 -1
  104. package/dist/components/cat-radio.js +6 -4
  105. package/dist/components/cat-radio.js.map +1 -1
  106. package/dist/components/cat-scrollable2.js +123 -121
  107. package/dist/components/cat-scrollable2.js.map +1 -1
  108. package/dist/components/cat-select-demo.js +5 -3
  109. package/dist/components/cat-select-demo.js.map +1 -1
  110. package/dist/components/cat-select2.js +6 -4
  111. package/dist/components/cat-select2.js.map +1 -1
  112. package/dist/components/cat-skeleton2.js +5 -3
  113. package/dist/components/cat-skeleton2.js.map +1 -1
  114. package/dist/components/cat-spinner2.js +5 -3
  115. package/dist/components/cat-spinner2.js.map +1 -1
  116. package/dist/components/cat-tab.js +6 -4
  117. package/dist/components/cat-tab.js.map +1 -1
  118. package/dist/components/cat-tabs.js +5 -3
  119. package/dist/components/cat-tabs.js.map +1 -1
  120. package/dist/components/cat-tag.js +7 -5
  121. package/dist/components/cat-tag.js.map +1 -1
  122. package/dist/components/cat-textarea.js +6 -4
  123. package/dist/components/cat-textarea.js.map +1 -1
  124. package/dist/components/cat-time.js +6 -4
  125. package/dist/components/cat-time.js.map +1 -1
  126. package/dist/components/cat-toggle.js +6 -4
  127. package/dist/components/cat-toggle.js.map +1 -1
  128. package/dist/components/cat-tooltip.js +5 -3
  129. package/dist/components/cat-tooltip.js.map +1 -1
  130. package/dist/components/index2.js +735 -735
  131. package/dist/components/index2.js.map +1 -1
  132. package/dist/components/media-matcher.js +3 -3
  133. package/dist/components/media-matcher.js.map +1 -1
  134. package/dist/esm/cat-alert_30.entry.js +122 -124
  135. package/dist/esm/catalyst.js +4 -7
  136. package/dist/esm/catalyst.js.map +1 -1
  137. package/dist/esm/index--__C9zxv.js +1727 -0
  138. package/dist/esm/index--__C9zxv.js.map +1 -0
  139. package/dist/esm/{index-D80xhZLG.js → index-Db1nOa1D.js} +737 -737
  140. package/dist/esm/{index-D80xhZLG.js.map → index-Db1nOa1D.js.map} +1 -1
  141. package/dist/esm/index.js +2 -4
  142. package/dist/esm/loader.js +3 -6
  143. package/dist/esm/loader.js.map +1 -1
  144. package/dist/types/components.d.ts +388 -0
  145. package/dist/types/stencil-public-runtime.d.ts +62 -8
  146. package/package.json +24 -24
  147. package/dist/catalyst/p-8e3e3018.entry.js.map +0 -1
  148. package/dist/catalyst/p-CzxFlAEB.js +0 -3
  149. package/dist/catalyst/p-CzxFlAEB.js.map +0 -1
  150. package/dist/catalyst/p-DQuL1Twl.js +0 -2
  151. package/dist/catalyst/p-DQuL1Twl.js.map +0 -1
  152. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  153. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  154. package/dist/cjs/cat-alert_30.cjs.entry.js.map +0 -1
  155. package/dist/cjs/index-Bp_C-J2p.js +0 -1597
  156. package/dist/cjs/index-Bp_C-J2p.js.map +0 -1
  157. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  158. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  159. package/dist/esm/cat-alert_30.entry.js.map +0 -1
  160. package/dist/esm/index-CzxFlAEB.js +0 -1588
  161. package/dist/esm/index-CzxFlAEB.js.map +0 -1
@@ -33,6 +33,7 @@ export namespace Components {
33
33
  interface CatAlert {
34
34
  /**
35
35
  * The color palette of the alert.
36
+ * @default 'primary'
36
37
  */
37
38
  "color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
38
39
  /**
@@ -41,6 +42,7 @@ export namespace Components {
41
42
  "icon"?: string;
42
43
  /**
43
44
  * Whether the icon of the alert is deactivated.
45
+ * @default false
44
46
  */
45
47
  "noIcon": boolean;
46
48
  }
@@ -58,14 +60,17 @@ export namespace Components {
58
60
  "initials"?: string;
59
61
  /**
60
62
  * The label of the avatar.
63
+ * @default ''
61
64
  */
62
65
  "label": string;
63
66
  /**
64
67
  * Use round avatar edges.
68
+ * @default false
65
69
  */
66
70
  "round": boolean;
67
71
  /**
68
72
  * The size of the avatar.
73
+ * @default 'm'
69
74
  */
70
75
  "size": 'xs' | 's' | 'm' | 'l' | 'xl';
71
76
  /**
@@ -88,6 +93,7 @@ export namespace Components {
88
93
  interface CatBadge {
89
94
  /**
90
95
  * The color palette of the badge.
96
+ * @default 'primary'
91
97
  */
92
98
  "color": 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
93
99
  /**
@@ -96,26 +102,32 @@ export namespace Components {
96
102
  "icon"?: string;
97
103
  /**
98
104
  * Hide the actual button content and only display the icon.
105
+ * @default false
99
106
  */
100
107
  "iconOnly": boolean | Breakpoint;
101
108
  /**
102
109
  * Display the icon on the right.
110
+ * @default false
103
111
  */
104
112
  "iconRight": boolean;
105
113
  /**
106
114
  * Draw attention to the badge with a subtle animation.
115
+ * @default false
107
116
  */
108
117
  "pulse": boolean;
109
118
  /**
110
119
  * Use round badge edges.
120
+ * @default false
111
121
  */
112
122
  "round": boolean;
113
123
  /**
114
124
  * The size of the badge.
125
+ * @default 'm'
115
126
  */
116
127
  "size": 'xs' | 's' | 'm' | 'l' | 'xl';
117
128
  /**
118
129
  * The rendering style of the badge.
130
+ * @default 'filled'
119
131
  */
120
132
  "variant": 'filled' | 'outlined';
121
133
  }
@@ -134,6 +146,7 @@ export namespace Components {
134
146
  "a11yLabel"?: string;
135
147
  /**
136
148
  * Set the button into an active state.
149
+ * @default false
137
150
  */
138
151
  "active": boolean;
139
152
  /**
@@ -146,10 +159,12 @@ export namespace Components {
146
159
  "buttonId"?: string;
147
160
  /**
148
161
  * The color palette of the button.
162
+ * @default 'secondary'
149
163
  */
150
164
  "color": 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
151
165
  /**
152
166
  * Specifies that the button should be disabled. A disabled button is unusable and un-clickable. Corresponds with the native HTML disabled attribute.
167
+ * @default false
153
168
  */
154
169
  "disabled": boolean;
155
170
  /**
@@ -171,14 +186,17 @@ export namespace Components {
171
186
  "icon"?: string;
172
187
  /**
173
188
  * Hide the actual button content and only display the icon.
189
+ * @default false
174
190
  */
175
191
  "iconOnly": boolean | Breakpoint;
176
192
  /**
177
193
  * Display the icon on the right.
194
+ * @default false
178
195
  */
179
196
  "iconRight": boolean;
180
197
  /**
181
198
  * 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.
199
+ * @default false
182
200
  */
183
201
  "loading": boolean;
184
202
  /**
@@ -195,18 +213,22 @@ export namespace Components {
195
213
  "nativeContentAttributes"?: { [key: string]: string };
196
214
  /**
197
215
  * Disables ellipse overflowing button content.
216
+ * @default false
198
217
  */
199
218
  "noEllipsis": boolean;
200
219
  /**
201
220
  * Use round button edges.
221
+ * @default false
202
222
  */
203
223
  "round": boolean;
204
224
  /**
205
225
  * The size of the button.
226
+ * @default 'm'
206
227
  */
207
228
  "size": 'xs' | 's' | 'm' | 'l' | 'xl';
208
229
  /**
209
230
  * Allows the button to submit a form.
231
+ * @default false
210
232
  */
211
233
  "submit": boolean;
212
234
  /**
@@ -227,6 +249,7 @@ export namespace Components {
227
249
  "value"?: string;
228
250
  /**
229
251
  * The rendering style of the button.
252
+ * @default 'outlined'
230
253
  */
231
254
  "variant": 'filled' | 'outlined' | 'text' | 'link';
232
255
  }
@@ -253,14 +276,17 @@ export namespace Components {
253
276
  interface CatCheckbox {
254
277
  /**
255
278
  * The alignment of the checkbox.
279
+ * @default 'top'
256
280
  */
257
281
  "alignment": 'center' | 'top' | 'bottom';
258
282
  /**
259
283
  * Checked state of the checkbox
284
+ * @default false
260
285
  */
261
286
  "checked": boolean;
262
287
  /**
263
288
  * Disabled state of the checkbox
289
+ * @default false
264
290
  */
265
291
  "disabled": boolean;
266
292
  /**
@@ -282,18 +308,22 @@ export namespace Components {
282
308
  "identifier"?: string;
283
309
  /**
284
310
  * Indeterminate state of the checkbox
311
+ * @default false
285
312
  */
286
313
  "indeterminate": boolean;
287
314
  /**
288
315
  * Label of the checkbox which is presented in the UI
316
+ * @default ''
289
317
  */
290
318
  "label": string;
291
319
  /**
292
320
  * Visually hide the label, but still show it to assistive technologies like screen readers.
321
+ * @default false
293
322
  */
294
323
  "labelHidden": boolean;
295
324
  /**
296
325
  * Whether the label should appear to the left of the checkbox.
326
+ * @default false
297
327
  */
298
328
  "labelLeft": boolean;
299
329
  /**
@@ -310,14 +340,17 @@ export namespace Components {
310
340
  "noValue"?: any;
311
341
  /**
312
342
  * Required state of the checkbox.
343
+ * @default false
313
344
  */
314
345
  "required": boolean;
315
346
  /**
316
347
  * Whether the label need a marker to shown if the input is required or optional.
348
+ * @default 'none'
317
349
  */
318
350
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
319
351
  /**
320
352
  * The resolved value of the checkbox, based on the checked state and value.
353
+ * @default null
321
354
  */
322
355
  "resolvedValue": any;
323
356
  /**
@@ -335,6 +368,7 @@ export namespace Components {
335
368
  interface CatDate {
336
369
  /**
337
370
  * Hint for form autofill feature.
371
+ * @default 'off'
338
372
  */
339
373
  "autoComplete": string;
340
374
  /**
@@ -343,10 +377,12 @@ export namespace Components {
343
377
  "clear": () => Promise<void>;
344
378
  /**
345
379
  * Whether the input should show a clear button.
380
+ * @default false
346
381
  */
347
382
  "clearable": boolean;
348
383
  /**
349
384
  * Whether the input is disabled.
385
+ * @default false
350
386
  */
351
387
  "disabled": boolean;
352
388
  /**
@@ -360,6 +396,7 @@ export namespace Components {
360
396
  "doFocus": (options?: FocusOptions) => Promise<void>;
361
397
  /**
362
398
  * 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 change with the given delay in milliseconds or immediately on blur.
399
+ * @default 0
363
400
  */
364
401
  "errorUpdate": boolean | number;
365
402
  /**
@@ -384,6 +421,7 @@ export namespace Components {
384
421
  "icon"?: string;
385
422
  /**
386
423
  * Display the icon on the right.
424
+ * @default false
387
425
  */
388
426
  "iconRight": boolean;
389
427
  /**
@@ -392,10 +430,12 @@ export namespace Components {
392
430
  "identifier"?: string;
393
431
  /**
394
432
  * The label for the input.
433
+ * @default ''
395
434
  */
396
435
  "label": string;
397
436
  /**
398
437
  * Visually hide the label, but still show it to assistive technologies like screen readers.
438
+ * @default false
399
439
  */
400
440
  "labelHidden": boolean;
401
441
  /**
@@ -420,18 +460,22 @@ export namespace Components {
420
460
  "placeholder"?: string;
421
461
  /**
422
462
  * The placement of the dropdown.
463
+ * @default 'bottom-end'
423
464
  */
424
465
  "placement": Placement;
425
466
  /**
426
467
  * The value is not editable.
468
+ * @default false
427
469
  */
428
470
  "readonly": boolean;
429
471
  /**
430
472
  * A value is required or must be check for the form to be submittable.
473
+ * @default false
431
474
  */
432
475
  "required": boolean;
433
476
  /**
434
477
  * Whether the label need a marker to shown if the input is required or optional.
478
+ * @default 'optional'
435
479
  */
436
480
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
437
481
  /**
@@ -470,6 +514,7 @@ export namespace Components {
470
514
  "doFocus": (options?: FocusOptions) => Promise<void>;
471
515
  /**
472
516
  * Shows an arrow keys navigation hint.
517
+ * @default false
473
518
  */
474
519
  "hint": boolean;
475
520
  /**
@@ -478,10 +523,12 @@ export namespace Components {
478
523
  "identifier"?: string;
479
524
  /**
480
525
  * The label for the input.
526
+ * @default ''
481
527
  */
482
528
  "label": string;
483
529
  /**
484
530
  * Visually hide the label, but still show it to assistive technologies like screen readers.
531
+ * @default false
485
532
  */
486
533
  "labelHidden": boolean;
487
534
  /**
@@ -494,22 +541,27 @@ export namespace Components {
494
541
  "min"?: string;
495
542
  /**
496
543
  * Hides the clear button.
544
+ * @default false
497
545
  */
498
546
  "noClear": boolean;
499
547
  /**
500
548
  * Hides the today button.
549
+ * @default false
501
550
  */
502
551
  "noToday": boolean;
503
552
  /**
504
553
  * Allow the selection of a range of dates, i.e. start and end date.
554
+ * @default false
505
555
  */
506
556
  "range": boolean;
507
557
  /**
508
558
  * A value is required or must be check for the form to be submittable.
559
+ * @default false
509
560
  */
510
561
  "required": boolean;
511
562
  /**
512
563
  * Whether the label need a marker to shown if the input is required or optional.
564
+ * @default 'optional'
513
565
  */
514
566
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
515
567
  /**
@@ -527,24 +579,29 @@ export namespace Components {
527
579
  "value"?: string;
528
580
  /**
529
581
  * Show week numbers.
582
+ * @default false
530
583
  */
531
584
  "weeks": boolean;
532
585
  }
533
586
  interface CatDatepicker {
534
587
  /**
535
588
  * Instead of body, appends the calendar to the cat-datepicker element instead
589
+ * @default false
536
590
  */
537
591
  "attachToElement": boolean;
538
592
  /**
539
593
  * Hint for form autofill feature.
594
+ * @default 'off'
540
595
  */
541
596
  "autoComplete": string;
542
597
  /**
543
598
  * Whether the input should show a clear button.
599
+ * @default false
544
600
  */
545
601
  "clearable": boolean;
546
602
  /**
547
603
  * Whether the input is disabled.
604
+ * @default false
548
605
  */
549
606
  "disabled": boolean;
550
607
  /**
@@ -558,6 +615,7 @@ export namespace Components {
558
615
  "doFocus": (options?: FocusOptions) => Promise<void>;
559
616
  /**
560
617
  * 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 change with the given delay in milliseconds or immediately on blur.
618
+ * @default 0
561
619
  */
562
620
  "errorUpdate": boolean | number;
563
621
  /**
@@ -582,6 +640,7 @@ export namespace Components {
582
640
  "icon"?: string;
583
641
  /**
584
642
  * Display the icon on the right.
643
+ * @default false
585
644
  */
586
645
  "iconRight": boolean;
587
646
  /**
@@ -590,10 +649,12 @@ export namespace Components {
590
649
  "identifier"?: string;
591
650
  /**
592
651
  * The label for the input.
652
+ * @default ''
593
653
  */
594
654
  "label": string;
595
655
  /**
596
656
  * Visually hide the label, but still show it to assistive technologies like screen readers.
657
+ * @default false
597
658
  */
598
659
  "labelHidden": boolean;
599
660
  /**
@@ -606,6 +667,7 @@ export namespace Components {
606
667
  "min"?: string;
607
668
  /**
608
669
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
670
+ * @default 'date'
609
671
  */
610
672
  "mode": CatDatepickerMode;
611
673
  /**
@@ -631,18 +693,22 @@ export namespace Components {
631
693
  "position"?: BaseOptions['position'] | Placement;
632
694
  /**
633
695
  * The value is not editable.
696
+ * @default false
634
697
  */
635
698
  "readonly": boolean;
636
699
  /**
637
700
  * A value is required or must be check for the form to be submittable.
701
+ * @default false
638
702
  */
639
703
  "required": boolean;
640
704
  /**
641
705
  * Whether the label need a marker to shown if the input is required or optional.
706
+ * @default 'optional'
642
707
  */
643
708
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
644
709
  /**
645
710
  * The step size to use when changing the time.
711
+ * @default 5
646
712
  */
647
713
  "step": number;
648
714
  /**
@@ -661,6 +727,7 @@ export namespace Components {
661
727
  interface CatDatepickerInline {
662
728
  /**
663
729
  * Whether the input is disabled.
730
+ * @default false
664
731
  */
665
732
  "disabled": boolean;
666
733
  /**
@@ -673,6 +740,7 @@ export namespace Components {
673
740
  "min"?: string;
674
741
  /**
675
742
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
743
+ * @default 'date'
676
744
  */
677
745
  "mode": CatDatepickerMode;
678
746
  /**
@@ -681,10 +749,12 @@ export namespace Components {
681
749
  "nativePickerAttributes"?: { [key: string]: string };
682
750
  /**
683
751
  * The value is not editable.
752
+ * @default false
684
753
  */
685
754
  "readonly": boolean;
686
755
  /**
687
756
  * The step size to use when changing the time.
757
+ * @default 5
688
758
  */
689
759
  "step": number;
690
760
  /**
@@ -699,6 +769,7 @@ export namespace Components {
699
769
  interface CatDropdown {
700
770
  /**
701
771
  * Do not navigate focus inside the dropdown via vertical arrow keys.
772
+ * @default 'vertical'
702
773
  */
703
774
  "arrowNavigation": 'horizontal' | 'vertical' | 'none';
704
775
  /**
@@ -707,6 +778,7 @@ export namespace Components {
707
778
  "close": () => Promise<void>;
708
779
  /**
709
780
  * Whether the dropdown trigger should be initialized only before first opening. Can be useful when trigger is rendered dynamically.
781
+ * @default false
710
782
  */
711
783
  "delayedTriggerInit": boolean;
712
784
  /**
@@ -716,23 +788,28 @@ export namespace Components {
716
788
  "isOpen": boolean;
717
789
  /**
718
790
  * Make the dropdown match the width of the reference regardless of its contents. Note that this only applies to the minimum width of the dropdown. The maximum width is still limited by the viewport.
791
+ * @default false
719
792
  */
720
793
  "justify": boolean;
721
794
  /**
722
795
  * Do not close the dropdown on outside clicks.
796
+ * @default false
723
797
  */
724
798
  "noAutoClose": boolean;
725
799
  /**
726
800
  * No element in dropdown will receive focus when dropdown is open. By default, the first element in tab order will receive a focus.
727
801
  * @deprecated Using noInitialFocus property would be a bad practice from a11y perspective. We always want visible focus to jump inside the dropdown when user uses keyboard and noInitialFocus allows to turn it off which might introduce a bug. hasInitialFocus should resolve the cause of the original problem instead.
802
+ * @default false
728
803
  */
729
804
  "noInitialFocus": boolean;
730
805
  /**
731
806
  * Do not change the size of the dropdown to ensure it isn’t too big to fit in the viewport (or more specifically, its clipping context).
807
+ * @default false
732
808
  */
733
809
  "noResize": boolean;
734
810
  /**
735
811
  * Trigger element will not receive focus when dropdown is closed.
812
+ * @default false
736
813
  */
737
814
  "noReturnFocus": boolean;
738
815
  /**
@@ -742,10 +819,12 @@ export namespace Components {
742
819
  "open": (isFocusVisible?: boolean) => Promise<void>;
743
820
  /**
744
821
  * Allow overflow when dropdown is open.
822
+ * @default false
745
823
  */
746
824
  "overflow": boolean;
747
825
  /**
748
826
  * The placement of the dropdown.
827
+ * @default 'bottom-start'
749
828
  */
750
829
  "placement": Placement;
751
830
  /**
@@ -759,6 +838,7 @@ export namespace Components {
759
838
  interface CatFormGroup {
760
839
  /**
761
840
  * Whether the label is on top or left.
841
+ * @default false
762
842
  */
763
843
  "horizontal": boolean;
764
844
  /**
@@ -767,6 +847,7 @@ export namespace Components {
767
847
  "labelSize"?: string;
768
848
  /**
769
849
  * Whether the labels need a marker to shown if the forms fields are required or optional.<br /><br /> By default, it is set to auto, it will display the mark depending on the number of required and optional fields: <br /> - If there are more required, the optional will be marked.<br /> - If there are less required, it will mark the required.<br /><br /> If a form field had "!", the requiredMarked of the field would not change.
850
+ * @default 'auto'
770
851
  */
771
852
  "requiredMarker": 'none' | 'required' | 'optional' | 'auto';
772
853
  }
@@ -789,6 +870,7 @@ export namespace Components {
789
870
  "iconSrc"?: string;
790
871
  /**
791
872
  * The size of the icon.
873
+ * @default 'm'
792
874
  */
793
875
  "size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
794
876
  }
@@ -812,6 +894,7 @@ export namespace Components {
812
894
  "clear": () => Promise<void>;
813
895
  /**
814
896
  * Whether the input should show a clear button.
897
+ * @default false
815
898
  */
816
899
  "clearable": boolean;
817
900
  /**
@@ -820,6 +903,7 @@ export namespace Components {
820
903
  "dateMaskOptions"?: FormatDateMaskOptions;
821
904
  /**
822
905
  * Whether the input is disabled.
906
+ * @default false
823
907
  */
824
908
  "disabled": boolean;
825
909
  /**
@@ -833,6 +917,7 @@ export namespace Components {
833
917
  "doFocus": (options?: FocusOptions) => Promise<void>;
834
918
  /**
835
919
  * 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 change with the given delay in milliseconds or immediately on blur.
920
+ * @default 0
836
921
  */
837
922
  "errorUpdate": boolean | number;
838
923
  /**
@@ -857,6 +942,7 @@ export namespace Components {
857
942
  "icon"?: string;
858
943
  /**
859
944
  * Display the icon on the right.
945
+ * @default false
860
946
  */
861
947
  "iconRight": boolean;
862
948
  /**
@@ -865,14 +951,17 @@ export namespace Components {
865
951
  "identifier"?: string;
866
952
  /**
867
953
  * The label for the input.
954
+ * @default ''
868
955
  */
869
956
  "label": string;
870
957
  /**
871
958
  * Visually hide the label, but still show it to assistive technologies like screen readers.
959
+ * @default false
872
960
  */
873
961
  "labelHidden": boolean;
874
962
  /**
875
963
  * Displays the input in a loading state with a spinner.
964
+ * @default false
876
965
  */
877
966
  "loading": boolean;
878
967
  /**
@@ -909,18 +998,22 @@ export namespace Components {
909
998
  "placeholder"?: string;
910
999
  /**
911
1000
  * The value is not editable.
1001
+ * @default false
912
1002
  */
913
1003
  "readonly": boolean;
914
1004
  /**
915
1005
  * A value is required or must be check for the form to be submittable.
1006
+ * @default false
916
1007
  */
917
1008
  "required": boolean;
918
1009
  /**
919
1010
  * Whether the label need a marker to shown if the input is required or optional.
1011
+ * @default 'optional'
920
1012
  */
921
1013
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
922
1014
  /**
923
1015
  * Use round input edges.
1016
+ * @default false
924
1017
  */
925
1018
  "round": boolean;
926
1019
  /**
@@ -941,10 +1034,12 @@ export namespace Components {
941
1034
  "timeMaskOptions"?: FormatTimeMaskOptions;
942
1035
  /**
943
1036
  * Whether the input should show a password toggle button for password inputs.
1037
+ * @default false
944
1038
  */
945
1039
  "togglePassword": boolean;
946
1040
  /**
947
1041
  * Type of form control.
1042
+ * @default 'text'
948
1043
  */
949
1044
  "type": InputType;
950
1045
  /**
@@ -962,42 +1057,52 @@ export namespace Components {
962
1057
  interface CatPagination {
963
1058
  /**
964
1059
  * The number of pages to be shown around the current page.
1060
+ * @default 1
965
1061
  */
966
1062
  "activePadding": number;
967
1063
  /**
968
1064
  * Use compact pagination mode.
1065
+ * @default false
969
1066
  */
970
1067
  "compact": boolean;
971
1068
  /**
972
1069
  * The icon of the "next" button.
1070
+ * @default '$cat:pagination-right'
973
1071
  */
974
1072
  "iconNext": string;
975
1073
  /**
976
1074
  * The icon of the "previous" button.
1075
+ * @default '$cat:pagination-left'
977
1076
  */
978
1077
  "iconPrev": string;
979
1078
  /**
980
1079
  * The current page.
1080
+ * @default 0
981
1081
  */
982
1082
  "page": number;
983
1083
  /**
984
1084
  * The total number of pages.
1085
+ * @default 1
985
1086
  */
986
1087
  "pageCount": number;
987
1088
  /**
988
1089
  * Use round button edges.
1090
+ * @default false
989
1091
  */
990
1092
  "round": boolean;
991
1093
  /**
992
1094
  * The number of pages to be shown at the edges.
1095
+ * @default 1
993
1096
  */
994
1097
  "sidePadding": number;
995
1098
  /**
996
1099
  * The size of the buttons.
1100
+ * @default 'm'
997
1101
  */
998
1102
  "size": 'xs' | 's' | 'm' | 'l' | 'xl';
999
1103
  /**
1000
1104
  * The rendering style of the buttons.
1105
+ * @default 'text'
1001
1106
  */
1002
1107
  "variant": 'filled' | 'outlined' | 'text';
1003
1108
  }
@@ -1008,14 +1113,17 @@ export namespace Components {
1008
1113
  interface CatRadio {
1009
1114
  /**
1010
1115
  * The alignment of the checkbox.
1116
+ * @default 'top'
1011
1117
  */
1012
1118
  "alignment": 'center' | 'top' | 'bottom';
1013
1119
  /**
1014
1120
  * Whether this radio is checked.
1121
+ * @default false
1015
1122
  */
1016
1123
  "checked": boolean;
1017
1124
  /**
1018
1125
  * Whether this radio is disabled.
1126
+ * @default false
1019
1127
  */
1020
1128
  "disabled": boolean;
1021
1129
  /**
@@ -1037,14 +1145,17 @@ export namespace Components {
1037
1145
  "identifier"?: string;
1038
1146
  /**
1039
1147
  * The label of the radio that is visible.
1148
+ * @default ''
1040
1149
  */
1041
1150
  "label": string;
1042
1151
  /**
1043
1152
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1153
+ * @default false
1044
1154
  */
1045
1155
  "labelHidden": boolean;
1046
1156
  /**
1047
1157
  * Whether the label should appear to the left of the radio component.
1158
+ * @default false
1048
1159
  */
1049
1160
  "labelLeft": boolean;
1050
1161
  /**
@@ -1057,6 +1168,7 @@ export namespace Components {
1057
1168
  "nativeAttributes"?: { [key: string]: string };
1058
1169
  /**
1059
1170
  * Whether the radio is required.
1171
+ * @default false
1060
1172
  */
1061
1173
  "required": boolean;
1062
1174
  /**
@@ -1065,6 +1177,7 @@ export namespace Components {
1065
1177
  "testId"?: string;
1066
1178
  /**
1067
1179
  * The value of the radio component.
1180
+ * @default ''
1068
1181
  */
1069
1182
  "value": any;
1070
1183
  }
@@ -1078,10 +1191,12 @@ export namespace Components {
1078
1191
  "a11yLabel"?: string;
1079
1192
  /**
1080
1193
  * Whether this radio group is disabled.
1194
+ * @default false
1081
1195
  */
1082
1196
  "disabled": boolean;
1083
1197
  /**
1084
1198
  * Whether the label of the radios should appear to the left of them.
1199
+ * @default false
1085
1200
  */
1086
1201
  "labelLeft": boolean;
1087
1202
  /**
@@ -1099,30 +1214,37 @@ export namespace Components {
1099
1214
  interface CatScrollable {
1100
1215
  /**
1101
1216
  * Flags to disable/enable overflowX.
1217
+ * @default false
1102
1218
  */
1103
1219
  "noOverflowX": boolean;
1104
1220
  /**
1105
1221
  * Flags to disable/enable overflowY.
1222
+ * @default false
1106
1223
  */
1107
1224
  "noOverflowY": boolean;
1108
1225
  /**
1109
1226
  * Flag to disable/enable overscroll behavior.
1227
+ * @default false
1110
1228
  */
1111
1229
  "noOverscroll": boolean;
1112
1230
  /**
1113
1231
  * Flag to not fire an initial event after content initialization.
1232
+ * @default false
1114
1233
  */
1115
1234
  "noScrolledInit": boolean;
1116
1235
  /**
1117
1236
  * Flags to disable/enable scroll shadowX.
1237
+ * @default false
1118
1238
  */
1119
1239
  "noShadowX": boolean;
1120
1240
  /**
1121
1241
  * Flags to disable/enable scroll shadowY.
1242
+ * @default false
1122
1243
  */
1123
1244
  "noShadowY": boolean;
1124
1245
  /**
1125
1246
  * Buffer to be used to calculate the scroll distance.
1247
+ * @default 0
1126
1248
  */
1127
1249
  "scrolledBuffer": number;
1128
1250
  }
@@ -1137,6 +1259,7 @@ export namespace Components {
1137
1259
  "clear": () => Promise<void>;
1138
1260
  /**
1139
1261
  * Whether the select should show a clear button.
1262
+ * @default false
1140
1263
  */
1141
1264
  "clearable": boolean;
1142
1265
  /**
@@ -1146,10 +1269,12 @@ export namespace Components {
1146
1269
  "connect": (connector: CatSelectConnector) => Promise<void>;
1147
1270
  /**
1148
1271
  * The debounce time for the search.
1272
+ * @default 250
1149
1273
  */
1150
1274
  "debounce": number;
1151
1275
  /**
1152
1276
  * Whether the select is disabled.
1277
+ * @default false
1153
1278
  */
1154
1279
  "disabled": boolean;
1155
1280
  /**
@@ -1163,6 +1288,7 @@ export namespace Components {
1163
1288
  "doFocus": (options?: FocusOptions) => Promise<void>;
1164
1289
  /**
1165
1290
  * 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 change with the given delay in milliseconds or immediately on blur.
1291
+ * @default 0
1166
1292
  */
1167
1293
  "errorUpdate": boolean | number;
1168
1294
  /**
@@ -1187,14 +1313,17 @@ export namespace Components {
1187
1313
  "identifier"?: string;
1188
1314
  /**
1189
1315
  * The label for the select.
1316
+ * @default ''
1190
1317
  */
1191
1318
  "label": string;
1192
1319
  /**
1193
1320
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1321
+ * @default false
1194
1322
  */
1195
1323
  "labelHidden": boolean;
1196
1324
  /**
1197
1325
  * Enable multiple selection.
1326
+ * @default false
1198
1327
  */
1199
1328
  "multiple": boolean;
1200
1329
  /**
@@ -1215,14 +1344,17 @@ export namespace Components {
1215
1344
  "placeholder"?: string;
1216
1345
  /**
1217
1346
  * The placement of the select.
1347
+ * @default 'bottom-start'
1218
1348
  */
1219
1349
  "placement": Placement;
1220
1350
  /**
1221
1351
  * A value is required or must be checked for the form to be submittable.
1352
+ * @default false
1222
1353
  */
1223
1354
  "required": boolean;
1224
1355
  /**
1225
1356
  * Whether the label need a marker to shown if the select is required or optional.
1357
+ * @default 'optional'
1226
1358
  */
1227
1359
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1228
1360
  /**
@@ -1231,6 +1363,7 @@ export namespace Components {
1231
1363
  "tagHint"?: string;
1232
1364
  /**
1233
1365
  * Whether the select should add new items.
1366
+ * @default false
1234
1367
  */
1235
1368
  "tags": boolean;
1236
1369
  /**
@@ -1250,6 +1383,7 @@ export namespace Components {
1250
1383
  interface CatSkeleton {
1251
1384
  /**
1252
1385
  * The animation style of the skeleton.
1386
+ * @default 'sheen'
1253
1387
  */
1254
1388
  "effect": 'plain' | 'sheen' | 'pulse';
1255
1389
  /**
@@ -1258,10 +1392,12 @@ export namespace Components {
1258
1392
  "lines"?: number;
1259
1393
  /**
1260
1394
  * The size of the skeleton. If the variant is set to "head", the size values "xs" to "xl" translate to the head levels `h1` to `h5`.
1395
+ * @default 'm'
1261
1396
  */
1262
1397
  "size": 'xs' | 's' | 'm' | 'l' | 'xl';
1263
1398
  /**
1264
1399
  * The rendering style of the skeleton.
1400
+ * @default 'rectangle'
1265
1401
  */
1266
1402
  "variant": 'rectangle' | 'square' | 'circle' | 'head' | 'body';
1267
1403
  }
@@ -1275,10 +1411,12 @@ export namespace Components {
1275
1411
  "a11yLabel"?: string;
1276
1412
  /**
1277
1413
  * The size of the spinner.
1414
+ * @default 'm'
1278
1415
  */
1279
1416
  "size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
1280
1417
  /**
1281
1418
  * Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow.
1419
+ * @default 0
1282
1420
  */
1283
1421
  "value": number;
1284
1422
  }
@@ -1288,10 +1426,12 @@ export namespace Components {
1288
1426
  interface CatTab {
1289
1427
  /**
1290
1428
  * Specifies that the tab should be deactivated.
1429
+ * @default false
1291
1430
  */
1292
1431
  "deactivated": boolean;
1293
1432
  /**
1294
1433
  * Specifies that the tab content pane contains an error. This will color the tab in an error state and also switch to an error icon if an icon is specified.
1434
+ * @default false
1295
1435
  */
1296
1436
  "error": boolean;
1297
1437
  /**
@@ -1300,14 +1440,17 @@ export namespace Components {
1300
1440
  "icon"?: string;
1301
1441
  /**
1302
1442
  * Hide the actual button content and only display the tab.
1443
+ * @default false
1303
1444
  */
1304
1445
  "iconOnly": boolean | Breakpoint;
1305
1446
  /**
1306
1447
  * Display the icon on the right.
1448
+ * @default false
1307
1449
  */
1308
1450
  "iconRight": boolean;
1309
1451
  /**
1310
1452
  * The label of the tab.
1453
+ * @default ''
1311
1454
  */
1312
1455
  "label": string;
1313
1456
  /**
@@ -1316,10 +1459,12 @@ export namespace Components {
1316
1459
  "nativeAttributes"?: { [key: string]: string };
1317
1460
  /**
1318
1461
  * Specifies that the tab does not have an active state and thus cannot be activated. This does not mean, that the tab is deactivated. The tab can still be clicked and emit the `catClick` event. This is helpful if a tab should only trigger a click action (such as opening a modal).
1462
+ * @default false
1319
1463
  */
1320
1464
  "noActive": boolean;
1321
1465
  /**
1322
1466
  * Specifies that the tab is always visible in adaptive mode. Only the first sticky tab will be taken into account. Sticky has advantage on activeTabAlwaysVisible if there is no space to show both.
1467
+ * @default false
1323
1468
  */
1324
1469
  "sticky": boolean;
1325
1470
  /**
@@ -1342,14 +1487,17 @@ export namespace Components {
1342
1487
  interface CatTabs {
1343
1488
  /**
1344
1489
  * The ID of the active tab.
1490
+ * @default ''
1345
1491
  */
1346
1492
  "activeTab": string;
1347
1493
  /**
1348
1494
  * Whether the active tab should always be visible. Applied when adaptive is enabled. Has less priority than sticky if there is no space to show both.
1495
+ * @default false
1349
1496
  */
1350
1497
  "activeTabAlwaysVisible": boolean;
1351
1498
  /**
1352
1499
  * Whether the visible items change according to the available space. A 'More' button is used to reveal hidden items.
1500
+ * @default false
1353
1501
  */
1354
1502
  "adaptive": boolean;
1355
1503
  /**
@@ -1364,6 +1512,7 @@ export namespace Components {
1364
1512
  "setActiveIndex": (index: number) => Promise<void>;
1365
1513
  /**
1366
1514
  * The alignment of the tabs.
1515
+ * @default 'left'
1367
1516
  */
1368
1517
  "tabsAlign": 'left' | 'center' | 'right' | 'justify';
1369
1518
  /**
@@ -1377,18 +1526,22 @@ export namespace Components {
1377
1526
  interface CatTag {
1378
1527
  /**
1379
1528
  * Whether new tag is added when the input is blurred.
1529
+ * @default false
1380
1530
  */
1381
1531
  "addOnBlur": boolean;
1382
1532
  /**
1383
1533
  * Whether the input should show a clear button.
1534
+ * @default false
1384
1535
  */
1385
1536
  "clearable": boolean;
1386
1537
  /**
1387
1538
  * Whether the select is disabled.
1539
+ * @default false
1388
1540
  */
1389
1541
  "disabled": boolean;
1390
1542
  /**
1391
1543
  * 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 change with the given delay in milliseconds or immediately on blur.
1544
+ * @default 0
1392
1545
  */
1393
1546
  "errorUpdate": boolean | number;
1394
1547
  /**
@@ -1405,10 +1558,12 @@ export namespace Components {
1405
1558
  "identifier"?: string;
1406
1559
  /**
1407
1560
  * The label for the select.
1561
+ * @default ''
1408
1562
  */
1409
1563
  "label": string;
1410
1564
  /**
1411
1565
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1566
+ * @default false
1412
1567
  */
1413
1568
  "labelHidden": boolean;
1414
1569
  /**
@@ -1425,14 +1580,17 @@ export namespace Components {
1425
1580
  "placeholder"?: string;
1426
1581
  /**
1427
1582
  * A value is required or must be checked for the form to be submittable.
1583
+ * @default false
1428
1584
  */
1429
1585
  "required": boolean;
1430
1586
  /**
1431
1587
  * Whether the label need a marker to shown if the select is required or optional.
1588
+ * @default 'optional'
1432
1589
  */
1433
1590
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1434
1591
  /**
1435
1592
  * List of characters that should create a new tag. This need to be comparable to `keydownEvent.key`. Pasted values will also be split by those chars. Defaults to `[' ']`.
1593
+ * @default [' ']
1436
1594
  */
1437
1595
  "tagCreationChars": string[];
1438
1596
  /**
@@ -1460,6 +1618,7 @@ export namespace Components {
1460
1618
  "clear": () => Promise<void>;
1461
1619
  /**
1462
1620
  * Whether the textarea is disabled.
1621
+ * @default false
1463
1622
  */
1464
1623
  "disabled": boolean;
1465
1624
  /**
@@ -1473,6 +1632,7 @@ export namespace Components {
1473
1632
  "doFocus": (options?: FocusOptions) => Promise<void>;
1474
1633
  /**
1475
1634
  * 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 change with the given delay in milliseconds or immediately on blur.
1635
+ * @default 0
1476
1636
  */
1477
1637
  "errorUpdate": boolean | number;
1478
1638
  /**
@@ -1497,10 +1657,12 @@ export namespace Components {
1497
1657
  "identifier"?: string;
1498
1658
  /**
1499
1659
  * The label for the textarea.
1660
+ * @default ''
1500
1661
  */
1501
1662
  "label": string;
1502
1663
  /**
1503
1664
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1665
+ * @default false
1504
1666
  */
1505
1667
  "labelHidden": boolean;
1506
1668
  /**
@@ -1525,18 +1687,22 @@ export namespace Components {
1525
1687
  "placeholder"?: string;
1526
1688
  /**
1527
1689
  * The value is not editable.
1690
+ * @default false
1528
1691
  */
1529
1692
  "readonly": boolean;
1530
1693
  /**
1531
1694
  * A value is required or must be check for the form to be submittable.
1695
+ * @default false
1532
1696
  */
1533
1697
  "required": boolean;
1534
1698
  /**
1535
1699
  * Whether the label need a marker to shown if the textarea is required or optional.
1700
+ * @default 'optional'
1536
1701
  */
1537
1702
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1538
1703
  /**
1539
1704
  * Specifies the initial number of lines in the textarea.
1705
+ * @default 3
1540
1706
  */
1541
1707
  "rows": number;
1542
1708
  /**
@@ -1554,6 +1720,7 @@ export namespace Components {
1554
1720
  interface CatTime {
1555
1721
  /**
1556
1722
  * Hint for form autofill feature.
1723
+ * @default 'off'
1557
1724
  */
1558
1725
  "autoComplete": string;
1559
1726
  /**
@@ -1562,10 +1729,12 @@ export namespace Components {
1562
1729
  "clear": () => Promise<void>;
1563
1730
  /**
1564
1731
  * Whether the input should show a clear button.
1732
+ * @default false
1565
1733
  */
1566
1734
  "clearable": boolean;
1567
1735
  /**
1568
1736
  * Whether the input is disabled.
1737
+ * @default false
1569
1738
  */
1570
1739
  "disabled": boolean;
1571
1740
  /**
@@ -1579,6 +1748,7 @@ export namespace Components {
1579
1748
  "doFocus": (options?: FocusOptions) => Promise<void>;
1580
1749
  /**
1581
1750
  * 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 change with the given delay in milliseconds or immediately on blur.
1751
+ * @default 0
1582
1752
  */
1583
1753
  "errorUpdate": boolean | number;
1584
1754
  /**
@@ -1603,6 +1773,7 @@ export namespace Components {
1603
1773
  "icon"?: string;
1604
1774
  /**
1605
1775
  * Display the icon on the right.
1776
+ * @default false
1606
1777
  */
1607
1778
  "iconRight": boolean;
1608
1779
  /**
@@ -1611,10 +1782,12 @@ export namespace Components {
1611
1782
  "identifier"?: string;
1612
1783
  /**
1613
1784
  * The label for the input.
1785
+ * @default ''
1614
1786
  */
1615
1787
  "label": string;
1616
1788
  /**
1617
1789
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1790
+ * @default false
1618
1791
  */
1619
1792
  "labelHidden": boolean;
1620
1793
  /**
@@ -1639,18 +1812,22 @@ export namespace Components {
1639
1812
  "placeholder"?: string;
1640
1813
  /**
1641
1814
  * The placement of the dropdown.
1815
+ * @default 'bottom-end'
1642
1816
  */
1643
1817
  "placement": Placement;
1644
1818
  /**
1645
1819
  * The value is not editable.
1820
+ * @default false
1646
1821
  */
1647
1822
  "readonly": boolean;
1648
1823
  /**
1649
1824
  * A value is required or must be check for the form to be submittable.
1825
+ * @default false
1650
1826
  */
1651
1827
  "required": boolean;
1652
1828
  /**
1653
1829
  * Whether the label need a marker to shown if the input is required or optional.
1830
+ * @default 'optional'
1654
1831
  */
1655
1832
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
1656
1833
  /**
@@ -1660,6 +1837,7 @@ export namespace Components {
1660
1837
  "select": (date: Date | null) => Promise<void>;
1661
1838
  /**
1662
1839
  * The step size for times in minutes.
1840
+ * @default 30
1663
1841
  */
1664
1842
  "step": number;
1665
1843
  /**
@@ -1686,14 +1864,17 @@ export namespace Components {
1686
1864
  interface CatToggle {
1687
1865
  /**
1688
1866
  * The alignment of the checkbox.
1867
+ * @default 'top'
1689
1868
  */
1690
1869
  "alignment": 'center' | 'top' | 'bottom';
1691
1870
  /**
1692
1871
  * Checked state of the toggle.
1872
+ * @default false
1693
1873
  */
1694
1874
  "checked": boolean;
1695
1875
  /**
1696
1876
  * Disabled state of the toggle.
1877
+ * @default false
1697
1878
  */
1698
1879
  "disabled": boolean;
1699
1880
  /**
@@ -1715,14 +1896,17 @@ export namespace Components {
1715
1896
  "identifier"?: string;
1716
1897
  /**
1717
1898
  * The label of the toggle that is visible.
1899
+ * @default ''
1718
1900
  */
1719
1901
  "label": string;
1720
1902
  /**
1721
1903
  * Visually hide the label, but still show it to assistive technologies like screen readers.
1904
+ * @default false
1722
1905
  */
1723
1906
  "labelHidden": boolean;
1724
1907
  /**
1725
1908
  * Whether the label should appear to the left of the toggle.
1909
+ * @default false
1726
1910
  */
1727
1911
  "labelLeft": boolean;
1728
1912
  /**
@@ -1739,10 +1923,12 @@ export namespace Components {
1739
1923
  "noValue"?: any;
1740
1924
  /**
1741
1925
  * Required state of the toggle.
1926
+ * @default false
1742
1927
  */
1743
1928
  "required": boolean;
1744
1929
  /**
1745
1930
  * The resolved value of the toggle, based on the checked state, value and noValue.
1931
+ * @default null
1746
1932
  */
1747
1933
  "resolvedValue": any;
1748
1934
  /**
@@ -1762,34 +1948,42 @@ export namespace Components {
1762
1948
  interface CatTooltip {
1763
1949
  /**
1764
1950
  * The content of the tooltip.
1951
+ * @default ''
1765
1952
  */
1766
1953
  "content": string;
1767
1954
  /**
1768
1955
  * Specifies that the tooltip should be disabled. A disabled tooltip is unusable, and invisible. Corresponds with the native HTML disabled attribute.
1956
+ * @default false
1769
1957
  */
1770
1958
  "disabled": boolean;
1771
1959
  /**
1772
1960
  * The delay time for hiding tooltip in ms.
1961
+ * @default 0
1773
1962
  */
1774
1963
  "hideDelay": number;
1775
1964
  /**
1776
1965
  * The duration of tap to show the tooltip.
1966
+ * @default 1000
1777
1967
  */
1778
1968
  "longTouchDuration": number;
1779
1969
  /**
1780
1970
  * The placement of the tooltip.
1971
+ * @default 'top'
1781
1972
  */
1782
1973
  "placement": TooltipPlacement;
1783
1974
  /**
1784
1975
  * Use round tooltip edges.
1976
+ * @default false
1785
1977
  */
1786
1978
  "round": boolean;
1787
1979
  /**
1788
1980
  * The delay time for showing tooltip in ms.
1981
+ * @default 250
1789
1982
  */
1790
1983
  "showDelay": number;
1791
1984
  /**
1792
1985
  * The size of the tooltip.
1986
+ * @default 'm'
1793
1987
  */
1794
1988
  "size": 's' | 'm' | 'l';
1795
1989
  }
@@ -2449,6 +2643,7 @@ declare namespace LocalJSX {
2449
2643
  interface CatAlert {
2450
2644
  /**
2451
2645
  * The color palette of the alert.
2646
+ * @default 'primary'
2452
2647
  */
2453
2648
  "color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
2454
2649
  /**
@@ -2457,6 +2652,7 @@ declare namespace LocalJSX {
2457
2652
  "icon"?: string;
2458
2653
  /**
2459
2654
  * Whether the icon of the alert is deactivated.
2655
+ * @default false
2460
2656
  */
2461
2657
  "noIcon"?: boolean;
2462
2658
  }
@@ -2474,14 +2670,17 @@ declare namespace LocalJSX {
2474
2670
  "initials"?: string;
2475
2671
  /**
2476
2672
  * The label of the avatar.
2673
+ * @default ''
2477
2674
  */
2478
2675
  "label"?: string;
2479
2676
  /**
2480
2677
  * Use round avatar edges.
2678
+ * @default false
2481
2679
  */
2482
2680
  "round"?: boolean;
2483
2681
  /**
2484
2682
  * The size of the avatar.
2683
+ * @default 'm'
2485
2684
  */
2486
2685
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
2487
2686
  /**
@@ -2504,6 +2703,7 @@ declare namespace LocalJSX {
2504
2703
  interface CatBadge {
2505
2704
  /**
2506
2705
  * The color palette of the badge.
2706
+ * @default 'primary'
2507
2707
  */
2508
2708
  "color"?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
2509
2709
  /**
@@ -2512,26 +2712,32 @@ declare namespace LocalJSX {
2512
2712
  "icon"?: string;
2513
2713
  /**
2514
2714
  * Hide the actual button content and only display the icon.
2715
+ * @default false
2515
2716
  */
2516
2717
  "iconOnly"?: boolean | Breakpoint;
2517
2718
  /**
2518
2719
  * Display the icon on the right.
2720
+ * @default false
2519
2721
  */
2520
2722
  "iconRight"?: boolean;
2521
2723
  /**
2522
2724
  * Draw attention to the badge with a subtle animation.
2725
+ * @default false
2523
2726
  */
2524
2727
  "pulse"?: boolean;
2525
2728
  /**
2526
2729
  * Use round badge edges.
2730
+ * @default false
2527
2731
  */
2528
2732
  "round"?: boolean;
2529
2733
  /**
2530
2734
  * The size of the badge.
2735
+ * @default 'm'
2531
2736
  */
2532
2737
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
2533
2738
  /**
2534
2739
  * The rendering style of the badge.
2740
+ * @default 'filled'
2535
2741
  */
2536
2742
  "variant"?: 'filled' | 'outlined';
2537
2743
  }
@@ -2550,6 +2756,7 @@ declare namespace LocalJSX {
2550
2756
  "a11yLabel"?: string;
2551
2757
  /**
2552
2758
  * Set the button into an active state.
2759
+ * @default false
2553
2760
  */
2554
2761
  "active"?: boolean;
2555
2762
  /**
@@ -2562,10 +2769,12 @@ declare namespace LocalJSX {
2562
2769
  "buttonId"?: string;
2563
2770
  /**
2564
2771
  * The color palette of the button.
2772
+ * @default 'secondary'
2565
2773
  */
2566
2774
  "color"?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
2567
2775
  /**
2568
2776
  * Specifies that the button should be disabled. A disabled button is unusable and un-clickable. Corresponds with the native HTML disabled attribute.
2777
+ * @default false
2569
2778
  */
2570
2779
  "disabled"?: boolean;
2571
2780
  /**
@@ -2574,14 +2783,17 @@ declare namespace LocalJSX {
2574
2783
  "icon"?: string;
2575
2784
  /**
2576
2785
  * Hide the actual button content and only display the icon.
2786
+ * @default false
2577
2787
  */
2578
2788
  "iconOnly"?: boolean | Breakpoint;
2579
2789
  /**
2580
2790
  * Display the icon on the right.
2791
+ * @default false
2581
2792
  */
2582
2793
  "iconRight"?: boolean;
2583
2794
  /**
2584
2795
  * 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.
2796
+ * @default false
2585
2797
  */
2586
2798
  "loading"?: boolean;
2587
2799
  /**
@@ -2598,6 +2810,7 @@ declare namespace LocalJSX {
2598
2810
  "nativeContentAttributes"?: { [key: string]: string };
2599
2811
  /**
2600
2812
  * Disables ellipse overflowing button content.
2813
+ * @default false
2601
2814
  */
2602
2815
  "noEllipsis"?: boolean;
2603
2816
  /**
@@ -2614,14 +2827,17 @@ declare namespace LocalJSX {
2614
2827
  "onCatFocus"?: (event: CatButtonCustomEvent<FocusEvent>) => void;
2615
2828
  /**
2616
2829
  * Use round button edges.
2830
+ * @default false
2617
2831
  */
2618
2832
  "round"?: boolean;
2619
2833
  /**
2620
2834
  * The size of the button.
2835
+ * @default 'm'
2621
2836
  */
2622
2837
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
2623
2838
  /**
2624
2839
  * Allows the button to submit a form.
2840
+ * @default false
2625
2841
  */
2626
2842
  "submit"?: boolean;
2627
2843
  /**
@@ -2642,6 +2858,7 @@ declare namespace LocalJSX {
2642
2858
  "value"?: string;
2643
2859
  /**
2644
2860
  * The rendering style of the button.
2861
+ * @default 'outlined'
2645
2862
  */
2646
2863
  "variant"?: 'filled' | 'outlined' | 'text' | 'link';
2647
2864
  }
@@ -2672,14 +2889,17 @@ declare namespace LocalJSX {
2672
2889
  interface CatCheckbox {
2673
2890
  /**
2674
2891
  * The alignment of the checkbox.
2892
+ * @default 'top'
2675
2893
  */
2676
2894
  "alignment"?: 'center' | 'top' | 'bottom';
2677
2895
  /**
2678
2896
  * Checked state of the checkbox
2897
+ * @default false
2679
2898
  */
2680
2899
  "checked"?: boolean;
2681
2900
  /**
2682
2901
  * Disabled state of the checkbox
2902
+ * @default false
2683
2903
  */
2684
2904
  "disabled"?: boolean;
2685
2905
  /**
@@ -2692,18 +2912,22 @@ declare namespace LocalJSX {
2692
2912
  "identifier"?: string;
2693
2913
  /**
2694
2914
  * Indeterminate state of the checkbox
2915
+ * @default false
2695
2916
  */
2696
2917
  "indeterminate"?: boolean;
2697
2918
  /**
2698
2919
  * Label of the checkbox which is presented in the UI
2920
+ * @default ''
2699
2921
  */
2700
2922
  "label"?: string;
2701
2923
  /**
2702
2924
  * Visually hide the label, but still show it to assistive technologies like screen readers.
2925
+ * @default false
2703
2926
  */
2704
2927
  "labelHidden"?: boolean;
2705
2928
  /**
2706
2929
  * Whether the label should appear to the left of the checkbox.
2930
+ * @default false
2707
2931
  */
2708
2932
  "labelLeft"?: boolean;
2709
2933
  /**
@@ -2732,14 +2956,17 @@ declare namespace LocalJSX {
2732
2956
  "onCatFocus"?: (event: CatCheckboxCustomEvent<FocusEvent>) => void;
2733
2957
  /**
2734
2958
  * Required state of the checkbox.
2959
+ * @default false
2735
2960
  */
2736
2961
  "required"?: boolean;
2737
2962
  /**
2738
2963
  * Whether the label need a marker to shown if the input is required or optional.
2964
+ * @default 'none'
2739
2965
  */
2740
2966
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
2741
2967
  /**
2742
2968
  * The resolved value of the checkbox, based on the checked state and value.
2969
+ * @default null
2743
2970
  */
2744
2971
  "resolvedValue"?: any;
2745
2972
  /**
@@ -2757,18 +2984,22 @@ declare namespace LocalJSX {
2757
2984
  interface CatDate {
2758
2985
  /**
2759
2986
  * Hint for form autofill feature.
2987
+ * @default 'off'
2760
2988
  */
2761
2989
  "autoComplete"?: string;
2762
2990
  /**
2763
2991
  * Whether the input should show a clear button.
2992
+ * @default false
2764
2993
  */
2765
2994
  "clearable"?: boolean;
2766
2995
  /**
2767
2996
  * Whether the input is disabled.
2997
+ * @default false
2768
2998
  */
2769
2999
  "disabled"?: boolean;
2770
3000
  /**
2771
3001
  * 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 change with the given delay in milliseconds or immediately on blur.
3002
+ * @default 0
2772
3003
  */
2773
3004
  "errorUpdate"?: boolean | number;
2774
3005
  /**
@@ -2789,6 +3020,7 @@ declare namespace LocalJSX {
2789
3020
  "icon"?: string;
2790
3021
  /**
2791
3022
  * Display the icon on the right.
3023
+ * @default false
2792
3024
  */
2793
3025
  "iconRight"?: boolean;
2794
3026
  /**
@@ -2797,10 +3029,12 @@ declare namespace LocalJSX {
2797
3029
  "identifier"?: string;
2798
3030
  /**
2799
3031
  * The label for the input.
3032
+ * @default ''
2800
3033
  */
2801
3034
  "label"?: string;
2802
3035
  /**
2803
3036
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3037
+ * @default false
2804
3038
  */
2805
3039
  "labelHidden"?: boolean;
2806
3040
  /**
@@ -2837,18 +3071,22 @@ declare namespace LocalJSX {
2837
3071
  "placeholder"?: string;
2838
3072
  /**
2839
3073
  * The placement of the dropdown.
3074
+ * @default 'bottom-end'
2840
3075
  */
2841
3076
  "placement"?: Placement;
2842
3077
  /**
2843
3078
  * The value is not editable.
3079
+ * @default false
2844
3080
  */
2845
3081
  "readonly"?: boolean;
2846
3082
  /**
2847
3083
  * A value is required or must be check for the form to be submittable.
3084
+ * @default false
2848
3085
  */
2849
3086
  "required"?: boolean;
2850
3087
  /**
2851
3088
  * Whether the label need a marker to shown if the input is required or optional.
3089
+ * @default 'optional'
2852
3090
  */
2853
3091
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
2854
3092
  /**
@@ -2878,6 +3116,7 @@ declare namespace LocalJSX {
2878
3116
  "a11yLabel"?: string;
2879
3117
  /**
2880
3118
  * Shows an arrow keys navigation hint.
3119
+ * @default false
2881
3120
  */
2882
3121
  "hint"?: boolean;
2883
3122
  /**
@@ -2886,10 +3125,12 @@ declare namespace LocalJSX {
2886
3125
  "identifier"?: string;
2887
3126
  /**
2888
3127
  * The label for the input.
3128
+ * @default ''
2889
3129
  */
2890
3130
  "label"?: string;
2891
3131
  /**
2892
3132
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3133
+ * @default false
2893
3134
  */
2894
3135
  "labelHidden"?: boolean;
2895
3136
  /**
@@ -2902,10 +3143,12 @@ declare namespace LocalJSX {
2902
3143
  "min"?: string;
2903
3144
  /**
2904
3145
  * Hides the clear button.
3146
+ * @default false
2905
3147
  */
2906
3148
  "noClear"?: boolean;
2907
3149
  /**
2908
3150
  * Hides the today button.
3151
+ * @default false
2909
3152
  */
2910
3153
  "noToday"?: boolean;
2911
3154
  /**
@@ -2914,14 +3157,17 @@ declare namespace LocalJSX {
2914
3157
  "onCatChange"?: (event: CatDateInlineCustomEvent<string>) => void;
2915
3158
  /**
2916
3159
  * Allow the selection of a range of dates, i.e. start and end date.
3160
+ * @default false
2917
3161
  */
2918
3162
  "range"?: boolean;
2919
3163
  /**
2920
3164
  * A value is required or must be check for the form to be submittable.
3165
+ * @default false
2921
3166
  */
2922
3167
  "required"?: boolean;
2923
3168
  /**
2924
3169
  * Whether the label need a marker to shown if the input is required or optional.
3170
+ * @default 'optional'
2925
3171
  */
2926
3172
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
2927
3173
  /**
@@ -2930,28 +3176,34 @@ declare namespace LocalJSX {
2930
3176
  "value"?: string;
2931
3177
  /**
2932
3178
  * Show week numbers.
3179
+ * @default false
2933
3180
  */
2934
3181
  "weeks"?: boolean;
2935
3182
  }
2936
3183
  interface CatDatepicker {
2937
3184
  /**
2938
3185
  * Instead of body, appends the calendar to the cat-datepicker element instead
3186
+ * @default false
2939
3187
  */
2940
3188
  "attachToElement"?: boolean;
2941
3189
  /**
2942
3190
  * Hint for form autofill feature.
3191
+ * @default 'off'
2943
3192
  */
2944
3193
  "autoComplete"?: string;
2945
3194
  /**
2946
3195
  * Whether the input should show a clear button.
3196
+ * @default false
2947
3197
  */
2948
3198
  "clearable"?: boolean;
2949
3199
  /**
2950
3200
  * Whether the input is disabled.
3201
+ * @default false
2951
3202
  */
2952
3203
  "disabled"?: boolean;
2953
3204
  /**
2954
3205
  * 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 change with the given delay in milliseconds or immediately on blur.
3206
+ * @default 0
2955
3207
  */
2956
3208
  "errorUpdate"?: boolean | number;
2957
3209
  /**
@@ -2972,6 +3224,7 @@ declare namespace LocalJSX {
2972
3224
  "icon"?: string;
2973
3225
  /**
2974
3226
  * Display the icon on the right.
3227
+ * @default false
2975
3228
  */
2976
3229
  "iconRight"?: boolean;
2977
3230
  /**
@@ -2980,10 +3233,12 @@ declare namespace LocalJSX {
2980
3233
  "identifier"?: string;
2981
3234
  /**
2982
3235
  * The label for the input.
3236
+ * @default ''
2983
3237
  */
2984
3238
  "label"?: string;
2985
3239
  /**
2986
3240
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3241
+ * @default false
2987
3242
  */
2988
3243
  "labelHidden"?: boolean;
2989
3244
  /**
@@ -2996,6 +3251,7 @@ declare namespace LocalJSX {
2996
3251
  "min"?: string;
2997
3252
  /**
2998
3253
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
3254
+ * @default 'date'
2999
3255
  */
3000
3256
  "mode"?: CatDatepickerMode;
3001
3257
  /**
@@ -3033,18 +3289,22 @@ declare namespace LocalJSX {
3033
3289
  "position"?: BaseOptions['position'] | Placement;
3034
3290
  /**
3035
3291
  * The value is not editable.
3292
+ * @default false
3036
3293
  */
3037
3294
  "readonly"?: boolean;
3038
3295
  /**
3039
3296
  * A value is required or must be check for the form to be submittable.
3297
+ * @default false
3040
3298
  */
3041
3299
  "required"?: boolean;
3042
3300
  /**
3043
3301
  * Whether the label need a marker to shown if the input is required or optional.
3302
+ * @default 'optional'
3044
3303
  */
3045
3304
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
3046
3305
  /**
3047
3306
  * The step size to use when changing the time.
3307
+ * @default 5
3048
3308
  */
3049
3309
  "step"?: number;
3050
3310
  /**
@@ -3063,6 +3323,7 @@ declare namespace LocalJSX {
3063
3323
  interface CatDatepickerInline {
3064
3324
  /**
3065
3325
  * Whether the input is disabled.
3326
+ * @default false
3066
3327
  */
3067
3328
  "disabled"?: boolean;
3068
3329
  /**
@@ -3075,6 +3336,7 @@ declare namespace LocalJSX {
3075
3336
  "min"?: string;
3076
3337
  /**
3077
3338
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
3339
+ * @default 'date'
3078
3340
  */
3079
3341
  "mode"?: CatDatepickerMode;
3080
3342
  /**
@@ -3087,10 +3349,12 @@ declare namespace LocalJSX {
3087
3349
  "onCatChange"?: (event: CatDatepickerInlineCustomEvent<string>) => void;
3088
3350
  /**
3089
3351
  * The value is not editable.
3352
+ * @default false
3090
3353
  */
3091
3354
  "readonly"?: boolean;
3092
3355
  /**
3093
3356
  * The step size to use when changing the time.
3357
+ * @default 5
3094
3358
  */
3095
3359
  "step"?: number;
3096
3360
  /**
@@ -3105,10 +3369,12 @@ declare namespace LocalJSX {
3105
3369
  interface CatDropdown {
3106
3370
  /**
3107
3371
  * Do not navigate focus inside the dropdown via vertical arrow keys.
3372
+ * @default 'vertical'
3108
3373
  */
3109
3374
  "arrowNavigation"?: 'horizontal' | 'vertical' | 'none';
3110
3375
  /**
3111
3376
  * Whether the dropdown trigger should be initialized only before first opening. Can be useful when trigger is rendered dynamically.
3377
+ * @default false
3112
3378
  */
3113
3379
  "delayedTriggerInit"?: boolean;
3114
3380
  /**
@@ -3118,23 +3384,28 @@ declare namespace LocalJSX {
3118
3384
  "isOpen"?: boolean;
3119
3385
  /**
3120
3386
  * Make the dropdown match the width of the reference regardless of its contents. Note that this only applies to the minimum width of the dropdown. The maximum width is still limited by the viewport.
3387
+ * @default false
3121
3388
  */
3122
3389
  "justify"?: boolean;
3123
3390
  /**
3124
3391
  * Do not close the dropdown on outside clicks.
3392
+ * @default false
3125
3393
  */
3126
3394
  "noAutoClose"?: boolean;
3127
3395
  /**
3128
3396
  * No element in dropdown will receive focus when dropdown is open. By default, the first element in tab order will receive a focus.
3129
3397
  * @deprecated Using noInitialFocus property would be a bad practice from a11y perspective. We always want visible focus to jump inside the dropdown when user uses keyboard and noInitialFocus allows to turn it off which might introduce a bug. hasInitialFocus should resolve the cause of the original problem instead.
3398
+ * @default false
3130
3399
  */
3131
3400
  "noInitialFocus"?: boolean;
3132
3401
  /**
3133
3402
  * Do not change the size of the dropdown to ensure it isn’t too big to fit in the viewport (or more specifically, its clipping context).
3403
+ * @default false
3134
3404
  */
3135
3405
  "noResize"?: boolean;
3136
3406
  /**
3137
3407
  * Trigger element will not receive focus when dropdown is closed.
3408
+ * @default false
3138
3409
  */
3139
3410
  "noReturnFocus"?: boolean;
3140
3411
  /**
@@ -3147,10 +3418,12 @@ declare namespace LocalJSX {
3147
3418
  "onCatOpen"?: (event: CatDropdownCustomEvent<FocusEvent>) => void;
3148
3419
  /**
3149
3420
  * Allow overflow when dropdown is open.
3421
+ * @default false
3150
3422
  */
3151
3423
  "overflow"?: boolean;
3152
3424
  /**
3153
3425
  * The placement of the dropdown.
3426
+ * @default 'bottom-start'
3154
3427
  */
3155
3428
  "placement"?: Placement;
3156
3429
  }
@@ -3160,6 +3433,7 @@ declare namespace LocalJSX {
3160
3433
  interface CatFormGroup {
3161
3434
  /**
3162
3435
  * Whether the label is on top or left.
3436
+ * @default false
3163
3437
  */
3164
3438
  "horizontal"?: boolean;
3165
3439
  /**
@@ -3168,6 +3442,7 @@ declare namespace LocalJSX {
3168
3442
  "labelSize"?: string;
3169
3443
  /**
3170
3444
  * Whether the labels need a marker to shown if the forms fields are required or optional.<br /><br /> By default, it is set to auto, it will display the mark depending on the number of required and optional fields: <br /> - If there are more required, the optional will be marked.<br /> - If there are less required, it will mark the required.<br /><br /> If a form field had "!", the requiredMarked of the field would not change.
3445
+ * @default 'auto'
3171
3446
  */
3172
3447
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'auto';
3173
3448
  }
@@ -3190,6 +3465,7 @@ declare namespace LocalJSX {
3190
3465
  "iconSrc"?: string;
3191
3466
  /**
3192
3467
  * The size of the icon.
3468
+ * @default 'm'
3193
3469
  */
3194
3470
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
3195
3471
  }
@@ -3209,6 +3485,7 @@ declare namespace LocalJSX {
3209
3485
  "autoComplete"?: string;
3210
3486
  /**
3211
3487
  * Whether the input should show a clear button.
3488
+ * @default false
3212
3489
  */
3213
3490
  "clearable"?: boolean;
3214
3491
  /**
@@ -3217,10 +3494,12 @@ declare namespace LocalJSX {
3217
3494
  "dateMaskOptions"?: FormatDateMaskOptions;
3218
3495
  /**
3219
3496
  * Whether the input is disabled.
3497
+ * @default false
3220
3498
  */
3221
3499
  "disabled"?: boolean;
3222
3500
  /**
3223
3501
  * 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 change with the given delay in milliseconds or immediately on blur.
3502
+ * @default 0
3224
3503
  */
3225
3504
  "errorUpdate"?: boolean | number;
3226
3505
  /**
@@ -3241,6 +3520,7 @@ declare namespace LocalJSX {
3241
3520
  "icon"?: string;
3242
3521
  /**
3243
3522
  * Display the icon on the right.
3523
+ * @default false
3244
3524
  */
3245
3525
  "iconRight"?: boolean;
3246
3526
  /**
@@ -3249,14 +3529,17 @@ declare namespace LocalJSX {
3249
3529
  "identifier"?: string;
3250
3530
  /**
3251
3531
  * The label for the input.
3532
+ * @default ''
3252
3533
  */
3253
3534
  "label"?: string;
3254
3535
  /**
3255
3536
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3537
+ * @default false
3256
3538
  */
3257
3539
  "labelHidden"?: boolean;
3258
3540
  /**
3259
3541
  * Displays the input in a loading state with a spinner.
3542
+ * @default false
3260
3543
  */
3261
3544
  "loading"?: boolean;
3262
3545
  /**
@@ -3309,18 +3592,22 @@ declare namespace LocalJSX {
3309
3592
  "placeholder"?: string;
3310
3593
  /**
3311
3594
  * The value is not editable.
3595
+ * @default false
3312
3596
  */
3313
3597
  "readonly"?: boolean;
3314
3598
  /**
3315
3599
  * A value is required or must be check for the form to be submittable.
3600
+ * @default false
3316
3601
  */
3317
3602
  "required"?: boolean;
3318
3603
  /**
3319
3604
  * Whether the label need a marker to shown if the input is required or optional.
3605
+ * @default 'optional'
3320
3606
  */
3321
3607
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
3322
3608
  /**
3323
3609
  * Use round input edges.
3610
+ * @default false
3324
3611
  */
3325
3612
  "round"?: boolean;
3326
3613
  /**
@@ -3341,10 +3628,12 @@ declare namespace LocalJSX {
3341
3628
  "timeMaskOptions"?: FormatTimeMaskOptions;
3342
3629
  /**
3343
3630
  * Whether the input should show a password toggle button for password inputs.
3631
+ * @default false
3344
3632
  */
3345
3633
  "togglePassword"?: boolean;
3346
3634
  /**
3347
3635
  * Type of form control.
3636
+ * @default 'text'
3348
3637
  */
3349
3638
  "type"?: InputType;
3350
3639
  /**
@@ -3362,18 +3651,22 @@ declare namespace LocalJSX {
3362
3651
  interface CatPagination {
3363
3652
  /**
3364
3653
  * The number of pages to be shown around the current page.
3654
+ * @default 1
3365
3655
  */
3366
3656
  "activePadding"?: number;
3367
3657
  /**
3368
3658
  * Use compact pagination mode.
3659
+ * @default false
3369
3660
  */
3370
3661
  "compact"?: boolean;
3371
3662
  /**
3372
3663
  * The icon of the "next" button.
3664
+ * @default '$cat:pagination-right'
3373
3665
  */
3374
3666
  "iconNext"?: string;
3375
3667
  /**
3376
3668
  * The icon of the "previous" button.
3669
+ * @default '$cat:pagination-left'
3377
3670
  */
3378
3671
  "iconPrev"?: string;
3379
3672
  /**
@@ -3382,26 +3675,32 @@ declare namespace LocalJSX {
3382
3675
  "onCatChange"?: (event: CatPaginationCustomEvent<number>) => void;
3383
3676
  /**
3384
3677
  * The current page.
3678
+ * @default 0
3385
3679
  */
3386
3680
  "page"?: number;
3387
3681
  /**
3388
3682
  * The total number of pages.
3683
+ * @default 1
3389
3684
  */
3390
3685
  "pageCount"?: number;
3391
3686
  /**
3392
3687
  * Use round button edges.
3688
+ * @default false
3393
3689
  */
3394
3690
  "round"?: boolean;
3395
3691
  /**
3396
3692
  * The number of pages to be shown at the edges.
3693
+ * @default 1
3397
3694
  */
3398
3695
  "sidePadding"?: number;
3399
3696
  /**
3400
3697
  * The size of the buttons.
3698
+ * @default 'm'
3401
3699
  */
3402
3700
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
3403
3701
  /**
3404
3702
  * The rendering style of the buttons.
3703
+ * @default 'text'
3405
3704
  */
3406
3705
  "variant"?: 'filled' | 'outlined' | 'text';
3407
3706
  }
@@ -3412,14 +3711,17 @@ declare namespace LocalJSX {
3412
3711
  interface CatRadio {
3413
3712
  /**
3414
3713
  * The alignment of the checkbox.
3714
+ * @default 'top'
3415
3715
  */
3416
3716
  "alignment"?: 'center' | 'top' | 'bottom';
3417
3717
  /**
3418
3718
  * Whether this radio is checked.
3719
+ * @default false
3419
3720
  */
3420
3721
  "checked"?: boolean;
3421
3722
  /**
3422
3723
  * Whether this radio is disabled.
3724
+ * @default false
3423
3725
  */
3424
3726
  "disabled"?: boolean;
3425
3727
  /**
@@ -3432,14 +3734,17 @@ declare namespace LocalJSX {
3432
3734
  "identifier"?: string;
3433
3735
  /**
3434
3736
  * The label of the radio that is visible.
3737
+ * @default ''
3435
3738
  */
3436
3739
  "label"?: string;
3437
3740
  /**
3438
3741
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3742
+ * @default false
3439
3743
  */
3440
3744
  "labelHidden"?: boolean;
3441
3745
  /**
3442
3746
  * Whether the label should appear to the left of the radio component.
3747
+ * @default false
3443
3748
  */
3444
3749
  "labelLeft"?: boolean;
3445
3750
  /**
@@ -3464,6 +3769,7 @@ declare namespace LocalJSX {
3464
3769
  "onCatFocus"?: (event: CatRadioCustomEvent<FocusEvent>) => void;
3465
3770
  /**
3466
3771
  * Whether the radio is required.
3772
+ * @default false
3467
3773
  */
3468
3774
  "required"?: boolean;
3469
3775
  /**
@@ -3472,6 +3778,7 @@ declare namespace LocalJSX {
3472
3778
  "testId"?: string;
3473
3779
  /**
3474
3780
  * The value of the radio component.
3781
+ * @default ''
3475
3782
  */
3476
3783
  "value"?: any;
3477
3784
  }
@@ -3485,10 +3792,12 @@ declare namespace LocalJSX {
3485
3792
  "a11yLabel"?: string;
3486
3793
  /**
3487
3794
  * Whether this radio group is disabled.
3795
+ * @default false
3488
3796
  */
3489
3797
  "disabled"?: boolean;
3490
3798
  /**
3491
3799
  * Whether the label of the radios should appear to the left of them.
3800
+ * @default false
3492
3801
  */
3493
3802
  "labelLeft"?: boolean;
3494
3803
  /**
@@ -3518,26 +3827,32 @@ declare namespace LocalJSX {
3518
3827
  interface CatScrollable {
3519
3828
  /**
3520
3829
  * Flags to disable/enable overflowX.
3830
+ * @default false
3521
3831
  */
3522
3832
  "noOverflowX"?: boolean;
3523
3833
  /**
3524
3834
  * Flags to disable/enable overflowY.
3835
+ * @default false
3525
3836
  */
3526
3837
  "noOverflowY"?: boolean;
3527
3838
  /**
3528
3839
  * Flag to disable/enable overscroll behavior.
3840
+ * @default false
3529
3841
  */
3530
3842
  "noOverscroll"?: boolean;
3531
3843
  /**
3532
3844
  * Flag to not fire an initial event after content initialization.
3845
+ * @default false
3533
3846
  */
3534
3847
  "noScrolledInit"?: boolean;
3535
3848
  /**
3536
3849
  * Flags to disable/enable scroll shadowX.
3850
+ * @default false
3537
3851
  */
3538
3852
  "noShadowX"?: boolean;
3539
3853
  /**
3540
3854
  * Flags to disable/enable scroll shadowY.
3855
+ * @default false
3541
3856
  */
3542
3857
  "noShadowY"?: boolean;
3543
3858
  /**
@@ -3558,6 +3873,7 @@ declare namespace LocalJSX {
3558
3873
  "onScrolledTop"?: (event: CatScrollableCustomEvent<void>) => void;
3559
3874
  /**
3560
3875
  * Buffer to be used to calculate the scroll distance.
3876
+ * @default 0
3561
3877
  */
3562
3878
  "scrolledBuffer"?: number;
3563
3879
  }
@@ -3568,18 +3884,22 @@ declare namespace LocalJSX {
3568
3884
  interface CatSelect {
3569
3885
  /**
3570
3886
  * Whether the select should show a clear button.
3887
+ * @default false
3571
3888
  */
3572
3889
  "clearable"?: boolean;
3573
3890
  /**
3574
3891
  * The debounce time for the search.
3892
+ * @default 250
3575
3893
  */
3576
3894
  "debounce"?: number;
3577
3895
  /**
3578
3896
  * Whether the select is disabled.
3897
+ * @default false
3579
3898
  */
3580
3899
  "disabled"?: boolean;
3581
3900
  /**
3582
3901
  * 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 change with the given delay in milliseconds or immediately on blur.
3902
+ * @default 0
3583
3903
  */
3584
3904
  "errorUpdate"?: boolean | number;
3585
3905
  /**
@@ -3600,14 +3920,17 @@ declare namespace LocalJSX {
3600
3920
  "identifier"?: string;
3601
3921
  /**
3602
3922
  * The label for the select.
3923
+ * @default ''
3603
3924
  */
3604
3925
  "label"?: string;
3605
3926
  /**
3606
3927
  * Visually hide the label, but still show it to assistive technologies like screen readers.
3928
+ * @default false
3607
3929
  */
3608
3930
  "labelHidden"?: boolean;
3609
3931
  /**
3610
3932
  * Enable multiple selection.
3933
+ * @default false
3611
3934
  */
3612
3935
  "multiple"?: boolean;
3613
3936
  /**
@@ -3644,14 +3967,17 @@ declare namespace LocalJSX {
3644
3967
  "placeholder"?: string;
3645
3968
  /**
3646
3969
  * The placement of the select.
3970
+ * @default 'bottom-start'
3647
3971
  */
3648
3972
  "placement"?: Placement;
3649
3973
  /**
3650
3974
  * A value is required or must be checked for the form to be submittable.
3975
+ * @default false
3651
3976
  */
3652
3977
  "required"?: boolean;
3653
3978
  /**
3654
3979
  * Whether the label need a marker to shown if the select is required or optional.
3980
+ * @default 'optional'
3655
3981
  */
3656
3982
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
3657
3983
  /**
@@ -3660,6 +3986,7 @@ declare namespace LocalJSX {
3660
3986
  "tagHint"?: string;
3661
3987
  /**
3662
3988
  * Whether the select should add new items.
3989
+ * @default false
3663
3990
  */
3664
3991
  "tags"?: boolean;
3665
3992
  /**
@@ -3679,6 +4006,7 @@ declare namespace LocalJSX {
3679
4006
  interface CatSkeleton {
3680
4007
  /**
3681
4008
  * The animation style of the skeleton.
4009
+ * @default 'sheen'
3682
4010
  */
3683
4011
  "effect"?: 'plain' | 'sheen' | 'pulse';
3684
4012
  /**
@@ -3687,10 +4015,12 @@ declare namespace LocalJSX {
3687
4015
  "lines"?: number;
3688
4016
  /**
3689
4017
  * The size of the skeleton. If the variant is set to "head", the size values "xs" to "xl" translate to the head levels `h1` to `h5`.
4018
+ * @default 'm'
3690
4019
  */
3691
4020
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
3692
4021
  /**
3693
4022
  * The rendering style of the skeleton.
4023
+ * @default 'rectangle'
3694
4024
  */
3695
4025
  "variant"?: 'rectangle' | 'square' | 'circle' | 'head' | 'body';
3696
4026
  }
@@ -3704,10 +4034,12 @@ declare namespace LocalJSX {
3704
4034
  "a11yLabel"?: string;
3705
4035
  /**
3706
4036
  * The size of the spinner.
4037
+ * @default 'm'
3707
4038
  */
3708
4039
  "size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
3709
4040
  /**
3710
4041
  * Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow.
4042
+ * @default 0
3711
4043
  */
3712
4044
  "value"?: number;
3713
4045
  }
@@ -3717,10 +4049,12 @@ declare namespace LocalJSX {
3717
4049
  interface CatTab {
3718
4050
  /**
3719
4051
  * Specifies that the tab should be deactivated.
4052
+ * @default false
3720
4053
  */
3721
4054
  "deactivated"?: boolean;
3722
4055
  /**
3723
4056
  * Specifies that the tab content pane contains an error. This will color the tab in an error state and also switch to an error icon if an icon is specified.
4057
+ * @default false
3724
4058
  */
3725
4059
  "error"?: boolean;
3726
4060
  /**
@@ -3729,14 +4063,17 @@ declare namespace LocalJSX {
3729
4063
  "icon"?: string;
3730
4064
  /**
3731
4065
  * Hide the actual button content and only display the tab.
4066
+ * @default false
3732
4067
  */
3733
4068
  "iconOnly"?: boolean | Breakpoint;
3734
4069
  /**
3735
4070
  * Display the icon on the right.
4071
+ * @default false
3736
4072
  */
3737
4073
  "iconRight"?: boolean;
3738
4074
  /**
3739
4075
  * The label of the tab.
4076
+ * @default ''
3740
4077
  */
3741
4078
  "label"?: string;
3742
4079
  /**
@@ -3745,6 +4082,7 @@ declare namespace LocalJSX {
3745
4082
  "nativeAttributes"?: { [key: string]: string };
3746
4083
  /**
3747
4084
  * Specifies that the tab does not have an active state and thus cannot be activated. This does not mean, that the tab is deactivated. The tab can still be clicked and emit the `catClick` event. This is helpful if a tab should only trigger a click action (such as opening a modal).
4085
+ * @default false
3748
4086
  */
3749
4087
  "noActive"?: boolean;
3750
4088
  /**
@@ -3753,6 +4091,7 @@ declare namespace LocalJSX {
3753
4091
  "onCatClick"?: (event: CatTabCustomEvent<MouseEvent>) => void;
3754
4092
  /**
3755
4093
  * Specifies that the tab is always visible in adaptive mode. Only the first sticky tab will be taken into account. Sticky has advantage on activeTabAlwaysVisible if there is no space to show both.
4094
+ * @default false
3756
4095
  */
3757
4096
  "sticky"?: boolean;
3758
4097
  /**
@@ -3775,14 +4114,17 @@ declare namespace LocalJSX {
3775
4114
  interface CatTabs {
3776
4115
  /**
3777
4116
  * The ID of the active tab.
4117
+ * @default ''
3778
4118
  */
3779
4119
  "activeTab"?: string;
3780
4120
  /**
3781
4121
  * Whether the active tab should always be visible. Applied when adaptive is enabled. Has less priority than sticky if there is no space to show both.
4122
+ * @default false
3782
4123
  */
3783
4124
  "activeTabAlwaysVisible"?: boolean;
3784
4125
  /**
3785
4126
  * Whether the visible items change according to the available space. A 'More' button is used to reveal hidden items.
4127
+ * @default false
3786
4128
  */
3787
4129
  "adaptive"?: boolean;
3788
4130
  /**
@@ -3791,6 +4133,7 @@ declare namespace LocalJSX {
3791
4133
  "onCatChange"?: (event: CatTabsCustomEvent<{ id: string; index: number; fromDropdown: boolean }>) => void;
3792
4134
  /**
3793
4135
  * The alignment of the tabs.
4136
+ * @default 'left'
3794
4137
  */
3795
4138
  "tabsAlign"?: 'left' | 'center' | 'right' | 'justify';
3796
4139
  }
@@ -3800,18 +4143,22 @@ declare namespace LocalJSX {
3800
4143
  interface CatTag {
3801
4144
  /**
3802
4145
  * Whether new tag is added when the input is blurred.
4146
+ * @default false
3803
4147
  */
3804
4148
  "addOnBlur"?: boolean;
3805
4149
  /**
3806
4150
  * Whether the input should show a clear button.
4151
+ * @default false
3807
4152
  */
3808
4153
  "clearable"?: boolean;
3809
4154
  /**
3810
4155
  * Whether the select is disabled.
4156
+ * @default false
3811
4157
  */
3812
4158
  "disabled"?: boolean;
3813
4159
  /**
3814
4160
  * 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 change with the given delay in milliseconds or immediately on blur.
4161
+ * @default 0
3815
4162
  */
3816
4163
  "errorUpdate"?: boolean | number;
3817
4164
  /**
@@ -3828,10 +4175,12 @@ declare namespace LocalJSX {
3828
4175
  "identifier"?: string;
3829
4176
  /**
3830
4177
  * The label for the select.
4178
+ * @default ''
3831
4179
  */
3832
4180
  "label"?: string;
3833
4181
  /**
3834
4182
  * Visually hide the label, but still show it to assistive technologies like screen readers.
4183
+ * @default false
3835
4184
  */
3836
4185
  "labelHidden"?: boolean;
3837
4186
  /**
@@ -3860,14 +4209,17 @@ declare namespace LocalJSX {
3860
4209
  "placeholder"?: string;
3861
4210
  /**
3862
4211
  * A value is required or must be checked for the form to be submittable.
4212
+ * @default false
3863
4213
  */
3864
4214
  "required"?: boolean;
3865
4215
  /**
3866
4216
  * Whether the label need a marker to shown if the select is required or optional.
4217
+ * @default 'optional'
3867
4218
  */
3868
4219
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
3869
4220
  /**
3870
4221
  * List of characters that should create a new tag. This need to be comparable to `keydownEvent.key`. Pasted values will also be split by those chars. Defaults to `[' ']`.
4222
+ * @default [' ']
3871
4223
  */
3872
4224
  "tagCreationChars"?: string[];
3873
4225
  /**
@@ -3891,10 +4243,12 @@ declare namespace LocalJSX {
3891
4243
  "autoComplete"?: string;
3892
4244
  /**
3893
4245
  * Whether the textarea is disabled.
4246
+ * @default false
3894
4247
  */
3895
4248
  "disabled"?: boolean;
3896
4249
  /**
3897
4250
  * 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 change with the given delay in milliseconds or immediately on blur.
4251
+ * @default 0
3898
4252
  */
3899
4253
  "errorUpdate"?: boolean | number;
3900
4254
  /**
@@ -3915,10 +4269,12 @@ declare namespace LocalJSX {
3915
4269
  "identifier"?: string;
3916
4270
  /**
3917
4271
  * The label for the textarea.
4272
+ * @default ''
3918
4273
  */
3919
4274
  "label"?: string;
3920
4275
  /**
3921
4276
  * Visually hide the label, but still show it to assistive technologies like screen readers.
4277
+ * @default false
3922
4278
  */
3923
4279
  "labelHidden"?: boolean;
3924
4280
  /**
@@ -3955,18 +4311,22 @@ declare namespace LocalJSX {
3955
4311
  "placeholder"?: string;
3956
4312
  /**
3957
4313
  * The value is not editable.
4314
+ * @default false
3958
4315
  */
3959
4316
  "readonly"?: boolean;
3960
4317
  /**
3961
4318
  * A value is required or must be check for the form to be submittable.
4319
+ * @default false
3962
4320
  */
3963
4321
  "required"?: boolean;
3964
4322
  /**
3965
4323
  * Whether the label need a marker to shown if the textarea is required or optional.
4324
+ * @default 'optional'
3966
4325
  */
3967
4326
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
3968
4327
  /**
3969
4328
  * Specifies the initial number of lines in the textarea.
4329
+ * @default 3
3970
4330
  */
3971
4331
  "rows"?: number;
3972
4332
  /**
@@ -3984,18 +4344,22 @@ declare namespace LocalJSX {
3984
4344
  interface CatTime {
3985
4345
  /**
3986
4346
  * Hint for form autofill feature.
4347
+ * @default 'off'
3987
4348
  */
3988
4349
  "autoComplete"?: string;
3989
4350
  /**
3990
4351
  * Whether the input should show a clear button.
4352
+ * @default false
3991
4353
  */
3992
4354
  "clearable"?: boolean;
3993
4355
  /**
3994
4356
  * Whether the input is disabled.
4357
+ * @default false
3995
4358
  */
3996
4359
  "disabled"?: boolean;
3997
4360
  /**
3998
4361
  * 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 change with the given delay in milliseconds or immediately on blur.
4362
+ * @default 0
3999
4363
  */
4000
4364
  "errorUpdate"?: boolean | number;
4001
4365
  /**
@@ -4016,6 +4380,7 @@ declare namespace LocalJSX {
4016
4380
  "icon"?: string;
4017
4381
  /**
4018
4382
  * Display the icon on the right.
4383
+ * @default false
4019
4384
  */
4020
4385
  "iconRight"?: boolean;
4021
4386
  /**
@@ -4024,10 +4389,12 @@ declare namespace LocalJSX {
4024
4389
  "identifier"?: string;
4025
4390
  /**
4026
4391
  * The label for the input.
4392
+ * @default ''
4027
4393
  */
4028
4394
  "label"?: string;
4029
4395
  /**
4030
4396
  * Visually hide the label, but still show it to assistive technologies like screen readers.
4397
+ * @default false
4031
4398
  */
4032
4399
  "labelHidden"?: boolean;
4033
4400
  /**
@@ -4064,22 +4431,27 @@ declare namespace LocalJSX {
4064
4431
  "placeholder"?: string;
4065
4432
  /**
4066
4433
  * The placement of the dropdown.
4434
+ * @default 'bottom-end'
4067
4435
  */
4068
4436
  "placement"?: Placement;
4069
4437
  /**
4070
4438
  * The value is not editable.
4439
+ * @default false
4071
4440
  */
4072
4441
  "readonly"?: boolean;
4073
4442
  /**
4074
4443
  * A value is required or must be check for the form to be submittable.
4444
+ * @default false
4075
4445
  */
4076
4446
  "required"?: boolean;
4077
4447
  /**
4078
4448
  * Whether the label need a marker to shown if the input is required or optional.
4449
+ * @default 'optional'
4079
4450
  */
4080
4451
  "requiredMarker"?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
4081
4452
  /**
4082
4453
  * The step size for times in minutes.
4454
+ * @default 30
4083
4455
  */
4084
4456
  "step"?: number;
4085
4457
  /**
@@ -4106,14 +4478,17 @@ declare namespace LocalJSX {
4106
4478
  interface CatToggle {
4107
4479
  /**
4108
4480
  * The alignment of the checkbox.
4481
+ * @default 'top'
4109
4482
  */
4110
4483
  "alignment"?: 'center' | 'top' | 'bottom';
4111
4484
  /**
4112
4485
  * Checked state of the toggle.
4486
+ * @default false
4113
4487
  */
4114
4488
  "checked"?: boolean;
4115
4489
  /**
4116
4490
  * Disabled state of the toggle.
4491
+ * @default false
4117
4492
  */
4118
4493
  "disabled"?: boolean;
4119
4494
  /**
@@ -4126,14 +4501,17 @@ declare namespace LocalJSX {
4126
4501
  "identifier"?: string;
4127
4502
  /**
4128
4503
  * The label of the toggle that is visible.
4504
+ * @default ''
4129
4505
  */
4130
4506
  "label"?: string;
4131
4507
  /**
4132
4508
  * Visually hide the label, but still show it to assistive technologies like screen readers.
4509
+ * @default false
4133
4510
  */
4134
4511
  "labelHidden"?: boolean;
4135
4512
  /**
4136
4513
  * Whether the label should appear to the left of the toggle.
4514
+ * @default false
4137
4515
  */
4138
4516
  "labelLeft"?: boolean;
4139
4517
  /**
@@ -4162,10 +4540,12 @@ declare namespace LocalJSX {
4162
4540
  "onCatFocus"?: (event: CatToggleCustomEvent<FocusEvent>) => void;
4163
4541
  /**
4164
4542
  * Required state of the toggle.
4543
+ * @default false
4165
4544
  */
4166
4545
  "required"?: boolean;
4167
4546
  /**
4168
4547
  * The resolved value of the toggle, based on the checked state, value and noValue.
4548
+ * @default null
4169
4549
  */
4170
4550
  "resolvedValue"?: any;
4171
4551
  /**
@@ -4185,34 +4565,42 @@ declare namespace LocalJSX {
4185
4565
  interface CatTooltip {
4186
4566
  /**
4187
4567
  * The content of the tooltip.
4568
+ * @default ''
4188
4569
  */
4189
4570
  "content"?: string;
4190
4571
  /**
4191
4572
  * Specifies that the tooltip should be disabled. A disabled tooltip is unusable, and invisible. Corresponds with the native HTML disabled attribute.
4573
+ * @default false
4192
4574
  */
4193
4575
  "disabled"?: boolean;
4194
4576
  /**
4195
4577
  * The delay time for hiding tooltip in ms.
4578
+ * @default 0
4196
4579
  */
4197
4580
  "hideDelay"?: number;
4198
4581
  /**
4199
4582
  * The duration of tap to show the tooltip.
4583
+ * @default 1000
4200
4584
  */
4201
4585
  "longTouchDuration"?: number;
4202
4586
  /**
4203
4587
  * The placement of the tooltip.
4588
+ * @default 'top'
4204
4589
  */
4205
4590
  "placement"?: TooltipPlacement;
4206
4591
  /**
4207
4592
  * Use round tooltip edges.
4593
+ * @default false
4208
4594
  */
4209
4595
  "round"?: boolean;
4210
4596
  /**
4211
4597
  * The delay time for showing tooltip in ms.
4598
+ * @default 250
4212
4599
  */
4213
4600
  "showDelay"?: number;
4214
4601
  /**
4215
4602
  * The size of the tooltip.
4603
+ * @default 'm'
4216
4604
  */
4217
4605
  "size"?: 's' | 'm' | 'l';
4218
4606
  }