@skf-design-system/ui-components 0.0.1-beta.4 → 1.0.0-alpha.27

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 (104) hide show
  1. package/dist/components/accordion/accordion.component.d.ts +9 -5
  2. package/dist/components/accordion/accordion.component.js +22 -19
  3. package/dist/components/accordion/accordion.d.ts +1 -1
  4. package/dist/components/accordion/accordion.styles.js +3 -3
  5. package/dist/components/alert/alert.component.d.ts +7 -4
  6. package/dist/components/alert/alert.component.js +1 -1
  7. package/dist/components/alert/alert.styles.js +1 -1
  8. package/dist/components/button/button.component.js +1 -1
  9. package/dist/components/button/button.styles.js +1 -1
  10. package/dist/components/card/card.component.d.ts +3 -3
  11. package/dist/components/card/card.component.js +16 -19
  12. package/dist/components/card/card.styles.js +11 -3
  13. package/dist/components/checkbox/checkbox.component.d.ts +16 -9
  14. package/dist/components/checkbox/checkbox.component.js +32 -31
  15. package/dist/components/checkbox/checkbox.styles.js +7 -2
  16. package/dist/components/checkbox/checkbox.test.d.ts +1 -0
  17. package/dist/components/collapse/collapse.component.d.ts +9 -6
  18. package/dist/components/collapse/collapse.component.js +39 -36
  19. package/dist/components/collapse/collapse.styles.js +3 -3
  20. package/dist/components/collapse/collapse.test.d.ts +1 -0
  21. package/dist/components/divider/divider.component.d.ts +13 -10
  22. package/dist/components/divider/divider.component.js +34 -29
  23. package/dist/components/divider/divider.styles.js +1 -5
  24. package/dist/components/heading/heading.component.d.ts +12 -2
  25. package/dist/components/heading/heading.component.js +14 -14
  26. package/dist/components/heading/heading.styles.js +1 -1
  27. package/dist/components/icon/icon.component.d.ts +14 -8
  28. package/dist/components/icon/icon.component.js +6 -6
  29. package/dist/components/icon/icon.styles.js +56 -54
  30. package/dist/components/input/input.component.d.ts +34 -29
  31. package/dist/components/input/input.component.js +43 -43
  32. package/dist/components/link/link.component.d.ts +15 -12
  33. package/dist/components/link/link.component.js +7 -7
  34. package/dist/components/link/link.styles.js +1 -1
  35. package/dist/components/loader/loader.component.d.ts +7 -7
  36. package/dist/components/loader/loader.component.js +35 -61
  37. package/dist/components/loader/loader.styles.js +42 -10
  38. package/dist/components/logo/logo.component.d.ts +5 -3
  39. package/dist/components/logo/logo.component.js +8 -8
  40. package/dist/components/logo/logo.styles.js +2 -2
  41. package/dist/components/radio/radio.component.d.ts +15 -13
  42. package/dist/components/radio/radio.component.js +3 -3
  43. package/dist/components/radio/radio.styles.js +6 -1
  44. package/dist/components/select/select.component.d.ts +137 -0
  45. package/dist/components/select/select.component.js +312 -0
  46. package/dist/components/select/select.controllers.d.ts +59 -0
  47. package/dist/components/select/select.controllers.js +169 -0
  48. package/dist/components/select/select.d.ts +8 -0
  49. package/dist/components/select/select.js +6 -0
  50. package/dist/components/select/select.styles.d.ts +1 -0
  51. package/dist/components/select/select.styles.js +131 -0
  52. package/dist/components/select-option/select-option.component.d.ts +77 -0
  53. package/dist/components/select-option/select-option.component.js +123 -0
  54. package/dist/components/select-option/select-option.controllers.d.ts +9 -0
  55. package/dist/components/select-option/select-option.d.ts +8 -0
  56. package/dist/components/select-option/select-option.js +6 -0
  57. package/dist/components/select-option/select-option.styles.d.ts +1 -0
  58. package/dist/components/select-option/select-option.styles.js +53 -0
  59. package/dist/components/select-option-group/select-option-group.component.d.ts +16 -0
  60. package/dist/components/select-option-group/select-option-group.component.js +31 -0
  61. package/dist/components/select-option-group/select-option-group.d.ts +8 -0
  62. package/dist/components/select-option-group/select-option-group.js +6 -0
  63. package/dist/components/select-option-group/select-option-group.style.d.ts +1 -0
  64. package/dist/components/select-option-group/select-option-group.style.js +18 -0
  65. package/dist/components/switch/switch.component.d.ts +2 -3
  66. package/dist/components/switch/switch.component.js +1 -1
  67. package/dist/components/switch/switch.styles.js +6 -1
  68. package/dist/components/switch/switch.test.d.ts +1 -0
  69. package/dist/components/tag/tag.component.d.ts +25 -4
  70. package/dist/components/tag/tag.component.js +66 -29
  71. package/dist/components/tag/tag.styles.js +6 -5
  72. package/dist/components/textarea/textarea.component.d.ts +26 -23
  73. package/dist/components/textarea/textarea.component.js +15 -12
  74. package/dist/custom-elements.json +969 -295
  75. package/dist/index.d.ts +3 -0
  76. package/dist/index.js +39 -30
  77. package/dist/internal/components/formBase.d.ts +18 -1
  78. package/dist/internal/components/formBase.js +25 -13
  79. package/dist/internal/components/hint/hint.component.js +12 -10
  80. package/dist/internal/components/hint/hint.styles.js +26 -10
  81. package/dist/internal/components/skf-element.d.ts +4 -4
  82. package/dist/internal/components/skf-element.js +15 -19
  83. package/dist/internal/helpers/array.d.ts +4 -0
  84. package/dist/internal/helpers/findMatchingTags.d.ts +2 -0
  85. package/dist/internal/helpers/findMatchingTags.js +12 -0
  86. package/dist/internal/helpers/hintSeverity.d.ts +2 -0
  87. package/dist/internal/helpers/hintSeverity.js +6 -0
  88. package/dist/internal/helpers/raiseError.d.ts +28 -0
  89. package/dist/internal/helpers/raiseError.js +29 -0
  90. package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -6
  91. package/dist/react/index.d.ts +3 -0
  92. package/dist/react/index.js +3 -0
  93. package/dist/react/skf-select/index.d.ts +21 -0
  94. package/dist/react/skf-select/index.js +21 -0
  95. package/dist/react/skf-select-option/index.d.ts +9 -0
  96. package/dist/react/skf-select-option/index.js +17 -0
  97. package/dist/react/skf-select-option-group/index.d.ts +3 -0
  98. package/dist/react/skf-select-option-group/index.js +13 -0
  99. package/dist/styles/form-field.styles.js +11 -7
  100. package/dist/types/jsx/custom-element-jsx.d.ts +292 -140
  101. package/dist/types/vue/index.d.ts +225 -90
  102. package/dist/vscode.html-custom-data.json +299 -97
  103. package/dist/web-types.json +624 -242
  104. package/package.json +34 -30
@@ -8,7 +8,7 @@
8
8
  "elements": [
9
9
  {
10
10
  "name": "skf-accordion",
11
- "description": "The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.\n\nSee [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/asset/6256cb1b44eba592d319d92e) for design principles.\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
11
+ "description": "The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
@@ -18,15 +18,15 @@
18
18
  },
19
19
  {
20
20
  "name": "heading-as",
21
- "description": "Controls which heading element will be rendered",
21
+ "description": "Defines which heading element will be rendered",
22
22
  "value": {
23
- "type": "Exclude<HeadingType, 'h1'>",
23
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
24
24
  "default": "'h2'"
25
25
  }
26
26
  },
27
27
  {
28
28
  "name": "gap",
29
- "description": "If provided, adds a gap between each item",
29
+ "description": "If true, adds a gap between each item",
30
30
  "value": { "type": "boolean | undefined" }
31
31
  },
32
32
  {
@@ -61,12 +61,12 @@
61
61
  },
62
62
  {
63
63
  "name": "headingAs",
64
- "description": "Controls which heading element will be rendered",
65
- "type": "Exclude<HeadingType, 'h1'>"
64
+ "description": "Defines which heading element will be rendered",
65
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
66
66
  },
67
67
  {
68
68
  "name": "gap",
69
- "description": "If provided, adds a gap between each item",
69
+ "description": "If true, adds a gap between each item",
70
70
  "type": "boolean | undefined"
71
71
  },
72
72
  {
@@ -90,12 +90,12 @@
90
90
  },
91
91
  {
92
92
  "name": "skf-alert",
93
- "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - lodjvodjvodjo",
93
+ "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
94
94
  "doc-url": "",
95
95
  "attributes": [
96
96
  {
97
97
  "name": "closeable",
98
- "description": "If true, alert is being used as a toast with an close button",
98
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
99
99
  "value": { "type": "boolean | undefined" }
100
100
  },
101
101
  {
@@ -111,7 +111,9 @@
111
111
  {
112
112
  "name": "severity",
113
113
  "description": "If defined, gives the supplied appearance",
114
- "value": { "type": "SeverityFgColor | undefined" }
114
+ "value": {
115
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
116
+ }
115
117
  }
116
118
  ],
117
119
  "slots": [
@@ -119,7 +121,7 @@
119
121
  "name": "",
120
122
  "description": "Alert message. **Notice!** See design principles for approved content"
121
123
  },
122
- { "name": "link", "description": "lodjvodjvodjo" }
124
+ { "name": "link", "description": "Slot for the link" }
123
125
  ],
124
126
  "events": [
125
127
  {
@@ -131,7 +133,7 @@
131
133
  "properties": [
132
134
  {
133
135
  "name": "closeable",
134
- "description": "If true, alert is being used as a toast with an close button",
136
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
135
137
  "type": "boolean | undefined"
136
138
  },
137
139
  {
@@ -147,7 +149,7 @@
147
149
  {
148
150
  "name": "severity",
149
151
  "description": "If defined, gives the supplied appearance",
150
- "type": "SeverityFgColor | undefined"
152
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
151
153
  }
152
154
  ],
153
155
  "events": [
@@ -271,17 +273,17 @@
271
273
  {
272
274
  "name": "no-border",
273
275
  "description": "If true, removes border",
274
- "value": { "type": "boolean", "default": "false" }
276
+ "value": { "type": "boolean | undefined" }
275
277
  },
276
278
  {
277
279
  "name": "no-padding",
278
280
  "description": "If true, removes padding",
279
- "value": { "type": "boolean", "default": "false" }
281
+ "value": { "type": "boolean | undefined" }
280
282
  },
281
283
  {
282
284
  "name": "stretch",
283
285
  "description": "If true, the Card fills the parent element height",
284
- "value": { "type": "boolean", "default": "false" }
286
+ "value": { "type": "boolean | undefined" }
285
287
  }
286
288
  ],
287
289
  "slots": [{ "name": "", "description": "The card's main content" }],
@@ -291,17 +293,17 @@
291
293
  {
292
294
  "name": "noBorder",
293
295
  "description": "If true, removes border",
294
- "type": "boolean"
296
+ "type": "boolean | undefined"
295
297
  },
296
298
  {
297
299
  "name": "noPadding",
298
300
  "description": "If true, removes padding",
299
- "type": "boolean"
301
+ "type": "boolean | undefined"
300
302
  },
301
303
  {
302
304
  "name": "stretch",
303
305
  "description": "If true, the Card fills the parent element height",
304
- "type": "boolean"
306
+ "type": "boolean | undefined"
305
307
  }
306
308
  ],
307
309
  "events": []
@@ -309,7 +311,7 @@
309
311
  },
310
312
  {
311
313
  "name": "skf-checkbox",
312
- "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - **Default** - Alternatively, you can use the `label` attribute",
314
+ "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
313
315
  "doc-url": "",
314
316
  "attributes": [
315
317
  {
@@ -347,6 +349,11 @@
347
349
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
348
350
  "value": { "type": "boolean | undefined" }
349
351
  },
352
+ {
353
+ "name": "invalid",
354
+ "description": "Read only indicator of the local state. Use custom-invalid to set it to invalid state.",
355
+ "value": { "type": "boolean | undefined" }
356
+ },
350
357
  {
351
358
  "name": "label",
352
359
  "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
@@ -362,21 +369,23 @@
362
369
  "description": "If defined, renders an alternative A11y text for the asterisk",
363
370
  "value": { "type": "string | undefined" }
364
371
  },
365
- {
366
- "name": "size",
367
- "description": "Size of the checkbox",
368
- "value": { "type": "'sm' | 'md'", "default": "'md'" }
369
- },
370
372
  {
371
373
  "name": "severity",
372
374
  "description": "If defined, styles checkbox using provided severity",
373
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
375
+ "value": {
376
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
377
+ }
374
378
  },
375
379
  {
376
380
  "name": "show-valid",
377
- "description": "If defined, displays valid state after interaction",
381
+ "description": "If true, displays valid state after interaction",
378
382
  "value": { "type": "boolean | undefined" }
379
383
  },
384
+ {
385
+ "name": "size",
386
+ "description": "Size of the checkbox",
387
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
388
+ },
380
389
  {
381
390
  "name": "value",
382
391
  "description": "The current value of the input field",
@@ -385,8 +394,8 @@
385
394
  ],
386
395
  "slots": [
387
396
  {
388
- "name": "Default",
389
- "description": "Alternatively, you can use the `label` attribute"
397
+ "name": "",
398
+ "description": "The Radios label. Alternatively, you can use the `label` attribute."
390
399
  }
391
400
  ],
392
401
  "events": [
@@ -422,6 +431,11 @@
422
431
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
423
432
  "type": "boolean | undefined"
424
433
  },
434
+ {
435
+ "name": "invalid",
436
+ "description": "Read only indicator of the local state. Use custom-invalid to set it to invalid state.",
437
+ "type": "boolean | undefined"
438
+ },
425
439
  {
426
440
  "name": "label",
427
441
  "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
@@ -437,21 +451,21 @@
437
451
  "description": "If defined, renders an alternative A11y text for the asterisk",
438
452
  "type": "string | undefined"
439
453
  },
440
- {
441
- "name": "size",
442
- "description": "Size of the checkbox",
443
- "type": "'sm' | 'md'"
444
- },
445
454
  {
446
455
  "name": "severity",
447
456
  "description": "If defined, styles checkbox using provided severity",
448
- "type": "FormFieldBaseProps['severity'] | undefined"
457
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
449
458
  },
450
459
  {
451
460
  "name": "showValid",
452
- "description": "If defined, displays valid state after interaction",
461
+ "description": "If true, displays valid state after interaction",
453
462
  "type": "boolean | undefined"
454
463
  },
464
+ {
465
+ "name": "size",
466
+ "description": "Size of the checkbox",
467
+ "type": "'sm' | 'md'"
468
+ },
455
469
  {
456
470
  "name": "value",
457
471
  "description": "The current value of the input field",
@@ -468,18 +482,18 @@
468
482
  },
469
483
  {
470
484
  "name": "skf-collapse",
471
- "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/asset/6229e2eb8a8dacf366dc3243) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
485
+ "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
472
486
  "doc-url": "",
473
487
  "attributes": [
474
488
  {
475
489
  "name": "animated",
476
490
  "description": "If true, will animate the expand/collapse state",
477
- "value": { "type": "boolean", "default": "false" }
491
+ "value": { "type": "boolean | undefined" }
478
492
  },
479
493
  {
480
494
  "name": "expanded",
481
495
  "description": "If true, will set the collapse to be expanded by default",
482
- "value": { "type": "boolean", "default": "false" }
496
+ "value": { "type": "boolean | undefined" }
483
497
  },
484
498
  {
485
499
  "name": "heading",
@@ -488,21 +502,21 @@
488
502
  },
489
503
  {
490
504
  "name": "heading-as",
491
- "description": "Controls which heading element will be rendered",
505
+ "description": "Defines which heading element will be rendered",
492
506
  "value": {
493
- "type": "Exclude<HeadingType, 'h1'>",
507
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
494
508
  "default": "'h2'"
495
509
  }
496
510
  },
497
511
  {
498
512
  "name": "small",
499
513
  "description": "If true, renders the small version",
500
- "value": { "type": "boolean", "default": "false" }
514
+ "value": { "type": "boolean | undefined" }
501
515
  },
502
516
  {
503
517
  "name": "truncate",
504
518
  "description": "If true, will truncate the heading in collapsed state",
505
- "value": { "type": "boolean", "default": "false" }
519
+ "value": { "type": "boolean | undefined" }
506
520
  }
507
521
  ],
508
522
  "slots": [{ "name": "", "description": "Main content" }],
@@ -518,12 +532,12 @@
518
532
  {
519
533
  "name": "animated",
520
534
  "description": "If true, will animate the expand/collapse state",
521
- "type": "boolean"
535
+ "type": "boolean | undefined"
522
536
  },
523
537
  {
524
538
  "name": "expanded",
525
539
  "description": "If true, will set the collapse to be expanded by default",
526
- "type": "boolean"
540
+ "type": "boolean | undefined"
527
541
  },
528
542
  {
529
543
  "name": "heading",
@@ -532,18 +546,18 @@
532
546
  },
533
547
  {
534
548
  "name": "headingAs",
535
- "description": "Controls which heading element will be rendered",
536
- "type": "Exclude<HeadingType, 'h1'>"
549
+ "description": "Defines which heading element will be rendered",
550
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
537
551
  },
538
552
  {
539
553
  "name": "small",
540
554
  "description": "If true, renders the small version",
541
- "type": "boolean"
555
+ "type": "boolean | undefined"
542
556
  },
543
557
  {
544
558
  "name": "truncate",
545
559
  "description": "If true, will truncate the heading in collapsed state",
546
- "type": "boolean"
560
+ "type": "boolean | undefined"
547
561
  }
548
562
  ],
549
563
  "events": [
@@ -557,12 +571,12 @@
557
571
  },
558
572
  {
559
573
  "name": "skf-divider",
560
- "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information.\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
574
+ "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
561
575
  "doc-url": "",
562
576
  "attributes": [
563
577
  {
564
578
  "name": "color",
565
- "description": "If provided, alters the Divider color",
579
+ "description": "Defines the Divider color",
566
580
  "value": {
567
581
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
568
582
  "default": "'primary'"
@@ -571,12 +585,12 @@
571
585
  {
572
586
  "name": "decorative",
573
587
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
574
- "value": { "type": "boolean", "default": "false" }
588
+ "value": { "type": "boolean | undefined" }
575
589
  },
576
590
  {
577
591
  "name": "vertical",
578
592
  "description": "If true, renders the divider vertically",
579
- "value": { "type": "boolean", "default": "false" }
593
+ "value": { "type": "boolean | undefined" }
580
594
  }
581
595
  ],
582
596
  "events": [],
@@ -584,18 +598,18 @@
584
598
  "properties": [
585
599
  {
586
600
  "name": "color",
587
- "description": "If provided, alters the Divider color",
601
+ "description": "Defines the Divider color",
588
602
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
589
603
  },
590
604
  {
591
605
  "name": "decorative",
592
606
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
593
- "type": "boolean"
607
+ "type": "boolean | undefined"
594
608
  },
595
609
  {
596
610
  "name": "vertical",
597
611
  "description": "If true, renders the divider vertically",
598
- "type": "boolean"
612
+ "type": "boolean | undefined"
599
613
  }
600
614
  ],
601
615
  "events": []
@@ -603,32 +617,36 @@
603
617
  },
604
618
  {
605
619
  "name": "skf-heading",
606
- "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n",
620
+ "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
607
621
  "doc-url": "",
608
622
  "attributes": [
609
623
  {
610
624
  "name": "as",
611
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
612
- "value": { "type": "HeadingType", "default": "'h1'" }
625
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
626
+ "value": {
627
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
628
+ "default": "'h1'"
629
+ }
613
630
  },
614
631
  {
615
632
  "name": "styled-as",
616
633
  "description": "If provided, changes the appearance of the heading",
617
- "value": { "type": "HeadingType | undefined" }
634
+ "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
618
635
  }
619
636
  ],
637
+ "slots": [{ "name": "", "description": "The headings content" }],
620
638
  "events": [],
621
639
  "js": {
622
640
  "properties": [
623
641
  {
624
642
  "name": "as",
625
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
626
- "type": "HeadingType"
643
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
644
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
627
645
  },
628
646
  {
629
647
  "name": "styledAs",
630
648
  "description": "If provided, changes the appearance of the heading",
631
- "type": "HeadingType | undefined"
649
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
632
650
  }
633
651
  ],
634
652
  "events": []
@@ -641,6 +659,7 @@
641
659
  "attributes": [
642
660
  {
643
661
  "name": "color",
662
+ "description": "Sets the color of the icon",
644
663
  "value": {
645
664
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
646
665
  "default": "'primary'"
@@ -648,17 +667,19 @@
648
667
  },
649
668
  {
650
669
  "name": "label",
651
- "description": "If provided, adds an alternate description to use for assistive devices",
670
+ "description": "If defined, adds an alternate description to use for assistive devices",
652
671
  "value": { "type": "string | undefined" }
653
672
  },
654
673
  {
655
674
  "name": "name",
675
+ "description": "Name of the icon to display",
656
676
  "value": {
657
677
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
658
678
  }
659
679
  },
660
680
  {
661
681
  "name": "size",
682
+ "description": "Size of the icon",
662
683
  "value": {
663
684
  "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
664
685
  "default": "'md'"
@@ -670,25 +691,31 @@
670
691
  "properties": [
671
692
  {
672
693
  "name": "color",
694
+ "description": "Sets the color of the icon",
673
695
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
674
696
  },
675
697
  {
676
698
  "name": "label",
677
- "description": "If provided, adds an alternate description to use for assistive devices",
699
+ "description": "If defined, adds an alternate description to use for assistive devices",
678
700
  "type": "string | undefined"
679
701
  },
680
702
  {
681
703
  "name": "name",
704
+ "description": "Name of the icon to display",
682
705
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
683
706
  },
684
- { "name": "size", "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"" }
707
+ {
708
+ "name": "size",
709
+ "description": "Size of the icon",
710
+ "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
711
+ }
685
712
  ],
686
713
  "events": []
687
714
  }
688
715
  },
689
716
  {
690
717
  "name": "skf-input",
691
- "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - **Default** - Alternatively, you can use the `label` attribute",
718
+ "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
692
719
  "doc-url": "",
693
720
  "attributes": [
694
721
  {
@@ -703,42 +730,42 @@
703
730
  },
704
731
  {
705
732
  "name": "button-aria-label-clear",
706
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
733
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
707
734
  "value": { "type": "string", "default": "'Clear input'" }
708
735
  },
709
736
  {
710
737
  "name": "button-aria-label-hide",
711
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
738
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
712
739
  "value": { "type": "string", "default": "'Hide password'" }
713
740
  },
714
741
  {
715
742
  "name": "button-aria-label-show",
716
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
743
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
717
744
  "value": { "type": "string", "default": "'Show password'" }
718
745
  },
719
746
  {
720
747
  "name": "custom-invalid",
721
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
748
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
722
749
  "value": { "type": "string" }
723
750
  },
724
751
  {
725
752
  "name": "debug",
726
- "description": "If provided, outputs helping hints in console",
727
- "value": { "type": "boolean", "default": "false" }
753
+ "description": "If true, outputs helping hints in console",
754
+ "value": { "type": "boolean | undefined" }
728
755
  },
729
756
  {
730
757
  "name": "hide-label",
731
758
  "description": "If true, hides the label visually",
732
- "value": { "type": "boolean", "default": "false" }
759
+ "value": { "type": "boolean | undefined" }
733
760
  },
734
761
  {
735
762
  "name": "hint",
736
- "description": "If provided, displays informational text below the field",
763
+ "description": "If defined, displays informational text below the field",
737
764
  "value": { "type": "string | undefined" }
738
765
  },
739
766
  {
740
767
  "name": "inputmode",
741
- "description": "If provided, tells what keyboard to use if applicable",
768
+ "description": "Tells what keyboard to use if applicable",
742
769
  "value": {
743
770
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
744
771
  "default": "'text'"
@@ -746,47 +773,47 @@
746
773
  },
747
774
  {
748
775
  "name": "label",
749
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
776
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
750
777
  "value": { "type": "string | undefined" }
751
778
  },
752
779
  {
753
780
  "name": "leading",
754
- "description": "If provided, displays a prefix/adornment before the input-element",
781
+ "description": "If defined, displays a prefix/adornment before the input-element",
755
782
  "value": { "type": "string | undefined" }
756
783
  },
757
784
  {
758
785
  "name": "max",
759
- "description": "If provided, sets the maximum value to accept for this input",
786
+ "description": "If defined, sets the maximum value to accept for this input",
760
787
  "value": { "type": "number | string | undefined" }
761
788
  },
762
789
  {
763
790
  "name": "maxlength",
764
- "description": "If provided, sets the maximum character length to accept for this input",
791
+ "description": "If defined, sets the maximum character length to accept for this input",
765
792
  "value": { "type": "number | undefined" }
766
793
  },
767
794
  {
768
795
  "name": "min",
769
- "description": "If provided, sets the minimum value to accept for this input",
796
+ "description": "If defined, sets the minimum value to accept for this input",
770
797
  "value": { "type": "number | string | undefined" }
771
798
  },
772
799
  {
773
800
  "name": "minlength",
774
- "description": "If provided, sets the minimum character length to accept for this input",
801
+ "description": "If defined, sets the minimum character length to accept for this input",
775
802
  "value": { "type": "number | undefined" }
776
803
  },
777
804
  {
778
805
  "name": "name",
779
- "description": "If provided, adds name to the input-element",
806
+ "description": "If defined, adds name to the input-element",
780
807
  "value": { "type": "string | undefined" }
781
808
  },
782
809
  {
783
810
  "name": "pattern",
784
- "description": "If provided, adds name to the input-element",
811
+ "description": "If defined, adds name to the input-element",
785
812
  "value": { "type": "string | undefined" }
786
813
  },
787
814
  {
788
815
  "name": "placeholder",
789
- "description": "If provided, displays placeholder text",
816
+ "description": "If defined, displays placeholder text",
790
817
  "value": { "type": "string | undefined" }
791
818
  },
792
819
  {
@@ -796,42 +823,44 @@
796
823
  },
797
824
  {
798
825
  "name": "required-label",
799
- "description": "If provided, renders an alternative A11y text for the asterisk",
826
+ "description": "If defined, renders an alternative A11y text for the asterisk",
800
827
  "value": { "type": "string | undefined" }
801
828
  },
802
829
  {
803
830
  "name": "severity",
804
- "description": "If provided, displays provided severity state",
805
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
831
+ "description": "If defined, displays provided severity state",
832
+ "value": {
833
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
834
+ }
806
835
  },
807
836
  {
808
837
  "name": "show-valid",
809
- "description": "If provided, displays provided severity state",
838
+ "description": "If true, displays valid state after interaction",
810
839
  "value": { "type": "boolean | undefined" }
811
840
  },
812
841
  {
813
842
  "name": "size",
814
- "description": "If provided, displays an alternative size",
815
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
843
+ "description": "Size of the input",
844
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
816
845
  },
817
846
  {
818
847
  "name": "trailing",
819
- "description": "If provided, displays a suffix/adornment after the input-element",
848
+ "description": "If defined, displays a suffix/adornment after the input-element",
820
849
  "value": { "type": "string | undefined" }
821
850
  },
822
851
  {
823
852
  "name": "type",
824
- "description": "If provided, changes the type of form control",
853
+ "description": "Type of input control",
825
854
  "value": {
826
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined",
855
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'",
827
856
  "default": "'text'"
828
857
  }
829
858
  },
830
859
  {
831
860
  "name": "validate-on",
832
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
861
+ "description": "Sets validation start",
833
862
  "value": {
834
- "type": "'input' | 'change' | 'submit' | undefined",
863
+ "type": "'input' | 'change' | 'submit'",
835
864
  "default": "'change'"
836
865
  }
837
866
  },
@@ -843,8 +872,8 @@
843
872
  ],
844
873
  "slots": [
845
874
  {
846
- "name": "Default",
847
- "description": " Alternatively, you can use the `label` attribute"
875
+ "name": "",
876
+ "description": "The Inputs label. Alternatively, you can use the `label` attribute."
848
877
  }
849
878
  ],
850
879
  "events": [
@@ -861,86 +890,86 @@
861
890
  "properties": [
862
891
  {
863
892
  "name": "buttonAriaLabelClear",
864
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
893
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
865
894
  "type": "string"
866
895
  },
867
896
  {
868
897
  "name": "buttonAriaLabelHide",
869
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
898
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
870
899
  "type": "string"
871
900
  },
872
901
  {
873
902
  "name": "buttonAriaLabelShow",
874
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
903
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
875
904
  "type": "string"
876
905
  },
877
906
  {
878
907
  "name": "customInvalid",
879
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
908
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
880
909
  },
881
910
  {
882
911
  "name": "debug",
883
- "description": "If provided, outputs helping hints in console",
884
- "type": "boolean"
912
+ "description": "If true, outputs helping hints in console",
913
+ "type": "boolean | undefined"
885
914
  },
886
915
  {
887
916
  "name": "hideLabel",
888
917
  "description": "If true, hides the label visually",
889
- "type": "boolean"
918
+ "type": "boolean | undefined"
890
919
  },
891
920
  {
892
921
  "name": "hint",
893
- "description": "If provided, displays informational text below the field",
922
+ "description": "If defined, displays informational text below the field",
894
923
  "type": "string | undefined"
895
924
  },
896
925
  {
897
926
  "name": "inputmode",
898
- "description": "If provided, tells what keyboard to use if applicable",
927
+ "description": "Tells what keyboard to use if applicable",
899
928
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'"
900
929
  },
901
930
  {
902
931
  "name": "label",
903
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
932
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
904
933
  "type": "string | undefined"
905
934
  },
906
935
  {
907
936
  "name": "leading",
908
- "description": "If provided, displays a prefix/adornment before the input-element",
937
+ "description": "If defined, displays a prefix/adornment before the input-element",
909
938
  "type": "string | undefined"
910
939
  },
911
940
  {
912
941
  "name": "max",
913
- "description": "If provided, sets the maximum value to accept for this input",
942
+ "description": "If defined, sets the maximum value to accept for this input",
914
943
  "type": "number | string | undefined"
915
944
  },
916
945
  {
917
946
  "name": "maxLength",
918
- "description": "If provided, sets the maximum character length to accept for this input",
947
+ "description": "If defined, sets the maximum character length to accept for this input",
919
948
  "type": "number | undefined"
920
949
  },
921
950
  {
922
951
  "name": "min",
923
- "description": "If provided, sets the minimum value to accept for this input",
952
+ "description": "If defined, sets the minimum value to accept for this input",
924
953
  "type": "number | string | undefined"
925
954
  },
926
955
  {
927
956
  "name": "minLength",
928
- "description": "If provided, sets the minimum character length to accept for this input",
957
+ "description": "If defined, sets the minimum character length to accept for this input",
929
958
  "type": "number | undefined"
930
959
  },
931
960
  {
932
961
  "name": "name",
933
- "description": "If provided, adds name to the input-element",
962
+ "description": "If defined, adds name to the input-element",
934
963
  "type": "string | undefined"
935
964
  },
936
965
  {
937
966
  "name": "pattern",
938
- "description": "If provided, adds name to the input-element",
967
+ "description": "If defined, adds name to the input-element",
939
968
  "type": "string | undefined"
940
969
  },
941
970
  {
942
971
  "name": "placeholder",
943
- "description": "If provided, displays placeholder text",
972
+ "description": "If defined, displays placeholder text",
944
973
  "type": "string | undefined"
945
974
  },
946
975
  {
@@ -950,46 +979,44 @@
950
979
  },
951
980
  {
952
981
  "name": "requiredLabel",
953
- "description": "If provided, renders an alternative A11y text for the asterisk",
982
+ "description": "If defined, renders an alternative A11y text for the asterisk",
954
983
  "type": "string | undefined"
955
984
  },
956
985
  {
957
986
  "name": "severity",
958
- "description": "If provided, displays provided severity state",
959
- "type": "FormFieldBaseProps['severity'] | undefined"
987
+ "description": "If defined, displays provided severity state",
988
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
960
989
  },
961
990
  {
962
991
  "name": "showValid",
963
- "description": "If provided, displays provided severity state",
992
+ "description": "If true, displays valid state after interaction",
964
993
  "type": "boolean | undefined"
965
994
  },
966
995
  {
967
996
  "name": "size",
968
- "description": "If provided, displays an alternative size",
969
- "type": "'sm' | 'md' | undefined"
997
+ "description": "Size of the input",
998
+ "type": "'sm' | 'md'"
970
999
  },
971
1000
  {
972
1001
  "name": "trailing",
973
- "description": "If provided, displays a suffix/adornment after the input-element",
1002
+ "description": "If defined, displays a suffix/adornment after the input-element",
974
1003
  "type": "string | undefined"
975
1004
  },
976
1005
  {
977
1006
  "name": "type",
978
- "description": "If provided, changes the type of form control",
979
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined"
1007
+ "description": "Type of input control",
1008
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
980
1009
  },
981
1010
  {
982
1011
  "name": "validateOn",
983
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
984
- "type": "'input' | 'change' | 'submit' | undefined"
1012
+ "description": "Sets validation start",
1013
+ "type": "'input' | 'change' | 'submit'"
985
1014
  },
986
1015
  {
987
1016
  "name": "value",
988
1017
  "description": "The current value of the input field",
989
1018
  "type": "string"
990
- },
991
- { "name": "_numberController" },
992
- { "name": "_passwordController" }
1019
+ }
993
1020
  ],
994
1021
  "events": [
995
1022
  {
@@ -1010,11 +1037,12 @@
1010
1037
  "attributes": [
1011
1038
  {
1012
1039
  "name": "as",
1013
- "description": "Specifies semantic element to render -",
1040
+ "description": "Defines the semantic element to render",
1014
1041
  "value": { "type": "'button' | 'a'", "default": "'a'" }
1015
1042
  },
1016
1043
  {
1017
1044
  "name": "color",
1045
+ "description": "Defines the text-color",
1018
1046
  "value": {
1019
1047
  "type": "'primary' | 'inverse'",
1020
1048
  "default": "'primary'"
@@ -1027,34 +1055,34 @@
1027
1055
  },
1028
1056
  {
1029
1057
  "name": "download",
1030
- "description": "If provided, downloads the url",
1058
+ "description": "If defined, downloads the url",
1031
1059
  "value": { "type": "string | undefined" }
1032
1060
  },
1033
1061
  {
1034
1062
  "name": "href",
1035
- "description": "If provided, loads url on click",
1063
+ "description": "If defined, loads url on click",
1036
1064
  "value": { "type": "string | undefined" }
1037
1065
  },
1038
1066
  {
1039
1067
  "name": "icon",
1040
- "description": "If provided, renders an icon before or after the text",
1068
+ "description": "If defined, renders an icon before or after the text",
1041
1069
  "value": {
1042
1070
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1043
1071
  }
1044
1072
  },
1045
1073
  {
1046
1074
  "name": "icon-placement",
1047
- "description": "Position of the icon in relation to the text -",
1075
+ "description": "Defines the position of the icon in relation to the text",
1048
1076
  "value": { "type": "'left' | 'right'", "default": "'left'" }
1049
1077
  },
1050
1078
  {
1051
1079
  "name": "rel",
1052
- "description": "Specifies the relationship of the target object to the link object -",
1080
+ "description": "Defines the relationship of the target object to the link object",
1053
1081
  "value": { "type": "string", "default": "'noreferrer noopener'" }
1054
1082
  },
1055
1083
  {
1056
1084
  "name": "route",
1057
- "description": "If provided, used on conjunction with onClick property, second argument",
1085
+ "description": "If defined, used on conjunction with onClick property, second argument",
1058
1086
  "value": { "type": "string | undefined" }
1059
1087
  },
1060
1088
  {
@@ -1064,14 +1092,14 @@
1064
1092
  },
1065
1093
  {
1066
1094
  "name": "target",
1067
- "description": "If provided, specifies where to open the linked document",
1095
+ "description": "If defined, specifies where to open the linked document",
1068
1096
  "value": {
1069
1097
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1070
1098
  }
1071
1099
  },
1072
1100
  {
1073
1101
  "name": "type",
1074
- "description": "Type of button -",
1102
+ "description": "Defines the type of button",
1075
1103
  "value": {
1076
1104
  "type": "'button' | 'submit' | 'reset'",
1077
1105
  "default": "'button'"
@@ -1084,10 +1112,14 @@
1084
1112
  "properties": [
1085
1113
  {
1086
1114
  "name": "as",
1087
- "description": "Specifies semantic element to render -",
1115
+ "description": "Defines the semantic element to render",
1088
1116
  "type": "'button' | 'a'"
1089
1117
  },
1090
- { "name": "color", "type": "'primary' | 'inverse'" },
1118
+ {
1119
+ "name": "color",
1120
+ "description": "Defines the text-color",
1121
+ "type": "'primary' | 'inverse'"
1122
+ },
1091
1123
  {
1092
1124
  "name": "disabled",
1093
1125
  "description": "If true, disables the link",
@@ -1095,32 +1127,32 @@
1095
1127
  },
1096
1128
  {
1097
1129
  "name": "download",
1098
- "description": "If provided, downloads the url",
1130
+ "description": "If defined, downloads the url",
1099
1131
  "type": "string | undefined"
1100
1132
  },
1101
1133
  {
1102
1134
  "name": "href",
1103
- "description": "If provided, loads url on click",
1135
+ "description": "If defined, loads url on click",
1104
1136
  "type": "string | undefined"
1105
1137
  },
1106
1138
  {
1107
1139
  "name": "icon",
1108
- "description": "If provided, renders an icon before or after the text",
1140
+ "description": "If defined, renders an icon before or after the text",
1109
1141
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1110
1142
  },
1111
1143
  {
1112
1144
  "name": "iconPlacement",
1113
- "description": "Position of the icon in relation to the text -",
1145
+ "description": "Defines the position of the icon in relation to the text",
1114
1146
  "type": "'left' | 'right'"
1115
1147
  },
1116
1148
  {
1117
1149
  "name": "rel",
1118
- "description": "Specifies the relationship of the target object to the link object -",
1150
+ "description": "Defines the relationship of the target object to the link object",
1119
1151
  "type": "string"
1120
1152
  },
1121
1153
  {
1122
1154
  "name": "route",
1123
- "description": "If provided, used on conjunction with onClick property, second argument",
1155
+ "description": "If defined, used on conjunction with onClick property, second argument",
1124
1156
  "type": "string | undefined"
1125
1157
  },
1126
1158
  {
@@ -1130,12 +1162,12 @@
1130
1162
  },
1131
1163
  {
1132
1164
  "name": "target",
1133
- "description": "If provided, specifies where to open the linked document",
1165
+ "description": "If defined, specifies where to open the linked document",
1134
1166
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1135
1167
  },
1136
1168
  {
1137
1169
  "name": "type",
1138
- "description": "Type of button -",
1170
+ "description": "Defines the type of button",
1139
1171
  "type": "'button' | 'submit' | 'reset'"
1140
1172
  },
1141
1173
  {
@@ -1149,38 +1181,45 @@
1149
1181
  },
1150
1182
  {
1151
1183
  "name": "skf-loader",
1152
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities.\n---\n",
1184
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1153
1185
  "doc-url": "",
1154
1186
  "attributes": [
1155
1187
  {
1156
1188
  "name": "aria-label",
1189
+ "description": "Defines the aria-label",
1157
1190
  "value": { "type": "string", "default": "'Loading...'" }
1158
1191
  },
1159
1192
  {
1160
1193
  "name": "invert",
1161
1194
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1162
- "value": { "type": "boolean", "default": "false" }
1195
+ "value": { "type": "boolean | undefined" }
1163
1196
  },
1164
1197
  {
1165
1198
  "name": "size",
1166
- "description": "If provided, displays an alternative size",
1199
+ "description": "Defines the size of the loader",
1167
1200
  "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1168
1201
  }
1169
1202
  ],
1170
1203
  "events": [],
1171
1204
  "js": {
1172
1205
  "properties": [
1173
- { "name": "ariaLabel", "type": "string" },
1206
+ {
1207
+ "name": "ariaLabel",
1208
+ "description": "Defines the aria-label",
1209
+ "type": "string"
1210
+ },
1174
1211
  {
1175
1212
  "name": "invert",
1176
1213
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1177
- "type": "boolean"
1214
+ "type": "boolean | undefined"
1178
1215
  },
1179
1216
  {
1180
1217
  "name": "size",
1181
- "description": "If provided, displays an alternative size",
1218
+ "description": "Defines the size of the loader",
1182
1219
  "type": "'md' | 'sm' | undefined"
1183
- }
1220
+ },
1221
+ { "name": "role", "type": "string" },
1222
+ { "name": "ariaLive", "type": "string" }
1184
1223
  ],
1185
1224
  "events": []
1186
1225
  }
@@ -1192,12 +1231,12 @@
1192
1231
  "attributes": [
1193
1232
  {
1194
1233
  "name": "title",
1195
- "description": "The title of the logo",
1234
+ "description": "Defines the title of the logo",
1196
1235
  "value": { "type": "string", "default": "'SKF logotype'" }
1197
1236
  },
1198
1237
  {
1199
1238
  "name": "color",
1200
- "description": "If provided, sets color of the logo",
1239
+ "description": "If defined, sets color of the logo",
1201
1240
  "value": {
1202
1241
  "type": "\"primary\" | \"secondary\" | \"inverse\"",
1203
1242
  "default": "'primary'"
@@ -1209,12 +1248,12 @@
1209
1248
  "properties": [
1210
1249
  {
1211
1250
  "name": "title",
1212
- "description": "The title of the logo",
1251
+ "description": "Defines the title of the logo",
1213
1252
  "type": "string"
1214
1253
  },
1215
1254
  {
1216
1255
  "name": "color",
1217
- "description": "If provided, sets color of the logo",
1256
+ "description": "If defined, sets color of the logo",
1218
1257
  "type": "\"primary\" | \"secondary\" | \"inverse\""
1219
1258
  }
1220
1259
  ],
@@ -1223,7 +1262,7 @@
1223
1262
  },
1224
1263
  {
1225
1264
  "name": "skf-radio",
1226
- "description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - **Default** - Alternatively, you can use the `label` attribute",
1265
+ "description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
1227
1266
  "doc-url": "",
1228
1267
  "attributes": [
1229
1268
  {
@@ -1238,8 +1277,8 @@
1238
1277
  },
1239
1278
  {
1240
1279
  "name": "debug",
1241
- "description": "If provided, outputs helping hints in console",
1242
- "value": { "type": "boolean", "default": "false" }
1280
+ "description": "If true, outputs helping hints in console",
1281
+ "value": { "type": "boolean | undefined" }
1243
1282
  },
1244
1283
  {
1245
1284
  "name": "checked",
@@ -1254,36 +1293,38 @@
1254
1293
  {
1255
1294
  "name": "hide-label",
1256
1295
  "description": "If true, hides the label visually",
1257
- "value": { "type": "boolean", "default": "false" }
1296
+ "value": { "type": "boolean | undefined" }
1258
1297
  },
1259
1298
  {
1260
1299
  "name": "label",
1261
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1300
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1262
1301
  "value": { "type": "string | undefined" }
1263
1302
  },
1264
1303
  {
1265
1304
  "name": "name",
1266
- "description": "If provided, adds name to the input-element",
1305
+ "description": "If defined, adds name to the input-element",
1267
1306
  "value": { "type": "string | undefined" }
1268
1307
  },
1269
1308
  {
1270
1309
  "name": "required-label",
1271
- "description": "If provided, renders an alternative A11y text for the asterisk",
1310
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1272
1311
  "value": { "type": "string | undefined" }
1273
1312
  },
1274
1313
  {
1275
1314
  "name": "size",
1276
- "description": "If provided, displays an alternative size",
1277
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1315
+ "description": "Size of the Radio",
1316
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1278
1317
  },
1279
1318
  {
1280
1319
  "name": "severity",
1281
- "description": "If provided, displays provided severity state",
1282
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1320
+ "description": "If defined, displays provided severity state",
1321
+ "value": {
1322
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1323
+ }
1283
1324
  },
1284
1325
  {
1285
1326
  "name": "show-valid",
1286
- "description": "If provided, displays valid state after interaction",
1327
+ "description": "If true, displays valid state after interaction",
1287
1328
  "value": { "type": "boolean | undefined" }
1288
1329
  },
1289
1330
  {
@@ -1294,8 +1335,8 @@
1294
1335
  ],
1295
1336
  "slots": [
1296
1337
  {
1297
- "name": "Default",
1298
- "description": " Alternatively, you can use the `label` attribute"
1338
+ "name": "",
1339
+ "description": "The radios label. Alternatively, you can use the `label` attribute."
1299
1340
  }
1300
1341
  ],
1301
1342
  "events": [
@@ -1308,8 +1349,8 @@
1308
1349
  "properties": [
1309
1350
  {
1310
1351
  "name": "debug",
1311
- "description": "If provided, outputs helping hints in console",
1312
- "type": "boolean"
1352
+ "description": "If true, outputs helping hints in console",
1353
+ "type": "boolean | undefined"
1313
1354
  },
1314
1355
  {
1315
1356
  "name": "checked",
@@ -1324,36 +1365,36 @@
1324
1365
  {
1325
1366
  "name": "hideLabel",
1326
1367
  "description": "If true, hides the label visually",
1327
- "type": "boolean"
1368
+ "type": "boolean | undefined"
1328
1369
  },
1329
1370
  {
1330
1371
  "name": "label",
1331
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1372
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1332
1373
  "type": "string | undefined"
1333
1374
  },
1334
1375
  {
1335
1376
  "name": "name",
1336
- "description": "If provided, adds name to the input-element",
1377
+ "description": "If defined, adds name to the input-element",
1337
1378
  "type": "string | undefined"
1338
1379
  },
1339
1380
  {
1340
1381
  "name": "requiredLabel",
1341
- "description": "If provided, renders an alternative A11y text for the asterisk",
1382
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1342
1383
  "type": "string | undefined"
1343
1384
  },
1344
1385
  {
1345
1386
  "name": "size",
1346
- "description": "If provided, displays an alternative size",
1347
- "type": "'sm' | 'md' | undefined"
1387
+ "description": "Size of the Radio",
1388
+ "type": "'sm' | 'md'"
1348
1389
  },
1349
1390
  {
1350
1391
  "name": "severity",
1351
- "description": "If provided, displays provided severity state",
1352
- "type": "FormFieldBaseProps['severity'] | undefined"
1392
+ "description": "If defined, displays provided severity state",
1393
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1353
1394
  },
1354
1395
  {
1355
1396
  "name": "showValid",
1356
- "description": "If provided, displays valid state after interaction",
1397
+ "description": "If true, displays valid state after interaction",
1357
1398
  "type": "boolean | undefined"
1358
1399
  },
1359
1400
  {
@@ -1370,9 +1411,337 @@
1370
1411
  ]
1371
1412
  }
1372
1413
  },
1414
+ {
1415
+ "name": "skf-select",
1416
+ "description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
1417
+ "doc-url": "",
1418
+ "attributes": [
1419
+ {
1420
+ "name": "disabled",
1421
+ "description": "If true, the select is disabled\t`default: false`",
1422
+ "value": { "type": "boolean" }
1423
+ },
1424
+ {
1425
+ "name": "button-label",
1426
+ "description": "Sets the first visible text on the component",
1427
+ "value": { "type": "string", "default": "'Select an option'" }
1428
+ },
1429
+ {
1430
+ "name": "custom-invalid",
1431
+ "description": "If defined, forces component to invalid state until removed",
1432
+ "value": { "type": "string | undefined" }
1433
+ },
1434
+ {
1435
+ "name": "hide-label",
1436
+ "description": "If true, hides the label visually",
1437
+ "value": { "type": "boolean | undefined" }
1438
+ },
1439
+ {
1440
+ "name": "hide-tags",
1441
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1442
+ "value": { "type": "boolean | undefined" }
1443
+ },
1444
+ {
1445
+ "name": "hint",
1446
+ "description": "If defined, sets the hint text under the select component in the form",
1447
+ "value": { "type": "string | undefined" }
1448
+ },
1449
+ {
1450
+ "name": "label",
1451
+ "description": "If defined, displays provided label",
1452
+ "value": { "type": "string | undefined" }
1453
+ },
1454
+ {
1455
+ "name": "max",
1456
+ "description": "If defined, limits the number of selectable options",
1457
+ "value": { "type": "number | undefined" }
1458
+ },
1459
+ {
1460
+ "name": "min",
1461
+ "description": "If defined, sets the minimum number of required options",
1462
+ "value": { "type": "number | undefined" }
1463
+ },
1464
+ {
1465
+ "name": "multiple",
1466
+ "description": "If true, allows for multiple options to be selected",
1467
+ "value": { "type": "boolean | undefined" }
1468
+ },
1469
+ {
1470
+ "name": "name",
1471
+ "description": "If defined, set name of the component",
1472
+ "value": { "type": "string | undefined" }
1473
+ },
1474
+ {
1475
+ "name": "required-label",
1476
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1477
+ "value": { "type": "string | undefined" }
1478
+ },
1479
+ {
1480
+ "name": "severity",
1481
+ "description": "If defined, displays provided severity state",
1482
+ "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1483
+ },
1484
+ {
1485
+ "name": "show-valid",
1486
+ "description": "If true, displays valid state after interaction",
1487
+ "value": { "type": "boolean | undefined" }
1488
+ },
1489
+ {
1490
+ "name": "size",
1491
+ "description": "Size of the Select",
1492
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1493
+ }
1494
+ ],
1495
+ "slots": [
1496
+ { "name": "", "description": "The select's placeholder content" }
1497
+ ],
1498
+ "events": [
1499
+ {
1500
+ "name": "change",
1501
+ "description": "Fired when the selected option(s) changes"
1502
+ },
1503
+ {
1504
+ "name": "invalid",
1505
+ "description": "Fired when the select is invalid"
1506
+ },
1507
+ { "name": "reset", "description": "Fired when the form is reset" },
1508
+ {
1509
+ "name": "skf-select:dropdown",
1510
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1511
+ },
1512
+ {
1513
+ "name": "skf-select-option:select",
1514
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1515
+ }
1516
+ ],
1517
+ "js": {
1518
+ "properties": [
1519
+ {
1520
+ "name": "buttonLabel",
1521
+ "description": "Sets the first visible text on the component",
1522
+ "type": "string"
1523
+ },
1524
+ {
1525
+ "name": "customInvalid",
1526
+ "description": "If defined, forces component to invalid state until removed",
1527
+ "type": "string | undefined"
1528
+ },
1529
+ {
1530
+ "name": "hideLabel",
1531
+ "description": "If true, hides the label visually",
1532
+ "type": "boolean | undefined"
1533
+ },
1534
+ {
1535
+ "name": "hideTags",
1536
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1537
+ "type": "boolean | undefined"
1538
+ },
1539
+ {
1540
+ "name": "hint",
1541
+ "description": "If defined, sets the hint text under the select component in the form",
1542
+ "type": "string | undefined"
1543
+ },
1544
+ {
1545
+ "name": "getSelectedValues",
1546
+ "description": "A readonly property that returns the selected value(s) in a array"
1547
+ },
1548
+ {
1549
+ "name": "getSelectedOptionsText",
1550
+ "description": "A readonly property that returns the selected slot(s) text content in a array"
1551
+ },
1552
+ {
1553
+ "name": "label",
1554
+ "description": "If defined, displays provided label",
1555
+ "type": "string | undefined"
1556
+ },
1557
+ {
1558
+ "name": "max",
1559
+ "description": "If defined, limits the number of selectable options",
1560
+ "type": "number | undefined"
1561
+ },
1562
+ {
1563
+ "name": "min",
1564
+ "description": "If defined, sets the minimum number of required options",
1565
+ "type": "number | undefined"
1566
+ },
1567
+ {
1568
+ "name": "multiple",
1569
+ "description": "If true, allows for multiple options to be selected",
1570
+ "type": "boolean | undefined"
1571
+ },
1572
+ {
1573
+ "name": "name",
1574
+ "description": "If defined, set name of the component",
1575
+ "type": "string | undefined"
1576
+ },
1577
+ {
1578
+ "name": "requiredLabel",
1579
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1580
+ "type": "string | undefined"
1581
+ },
1582
+ {
1583
+ "name": "severity",
1584
+ "description": "If defined, displays provided severity state",
1585
+ "type": "FormFieldBaseProps['severity'] | undefined"
1586
+ },
1587
+ {
1588
+ "name": "showValid",
1589
+ "description": "If true, displays valid state after interaction",
1590
+ "type": "boolean | undefined"
1591
+ },
1592
+ {
1593
+ "name": "size",
1594
+ "description": "Size of the Select",
1595
+ "type": "'sm' | 'md'"
1596
+ },
1597
+ {
1598
+ "name": "value",
1599
+ "description": "Read only, returns the selected value. (if multiple: in a comma separated string)"
1600
+ },
1601
+ { "name": "_selectedOptions", "type": "array" }
1602
+ ],
1603
+ "events": [
1604
+ {
1605
+ "name": "change",
1606
+ "description": "Fired when the selected option(s) changes"
1607
+ },
1608
+ {
1609
+ "name": "invalid",
1610
+ "description": "Fired when the select is invalid"
1611
+ },
1612
+ {
1613
+ "name": "reset",
1614
+ "description": "Fired when the form is reset"
1615
+ },
1616
+ {
1617
+ "name": "skf-select:dropdown",
1618
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1619
+ },
1620
+ {
1621
+ "name": "skf-select-option:select",
1622
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1623
+ }
1624
+ ]
1625
+ }
1626
+ },
1627
+ {
1628
+ "name": "skf-select-option",
1629
+ "description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
1630
+ "doc-url": "",
1631
+ "attributes": [
1632
+ {
1633
+ "name": "disabled",
1634
+ "description": "If true, prevents interaction with the option",
1635
+ "value": { "type": "boolean | undefined" }
1636
+ },
1637
+ {
1638
+ "name": "icon",
1639
+ "description": "If defined, set an icon",
1640
+ "value": { "type": "SkfIcon['name'] | undefined" }
1641
+ },
1642
+ {
1643
+ "name": "icon-color",
1644
+ "description": "If defined, sets provided color on the icon",
1645
+ "value": { "type": "SeverityFgColor | undefined" }
1646
+ },
1647
+ {
1648
+ "name": "selected",
1649
+ "description": "If true, sets the option as selected",
1650
+ "value": { "type": "boolean | undefined" }
1651
+ },
1652
+ {
1653
+ "name": "short-label",
1654
+ "description": "If defined, sets a short label",
1655
+ "value": { "type": "string | undefined" }
1656
+ },
1657
+ {
1658
+ "name": "value",
1659
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
1660
+ "value": { "type": "string" }
1661
+ }
1662
+ ],
1663
+ "slots": [
1664
+ { "name": "", "description": "The option's text content" },
1665
+ {
1666
+ "name": "icon",
1667
+ "description": "The option's slot for icon or custom meta information (svg)."
1668
+ }
1669
+ ],
1670
+ "events": [
1671
+ {
1672
+ "name": "skf-select-option:select",
1673
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1674
+ }
1675
+ ],
1676
+ "js": {
1677
+ "properties": [
1678
+ {
1679
+ "name": "disabled",
1680
+ "description": "If true, prevents interaction with the option",
1681
+ "type": "boolean | undefined"
1682
+ },
1683
+ {
1684
+ "name": "icon",
1685
+ "description": "If defined, set an icon",
1686
+ "type": "SkfIcon['name'] | undefined"
1687
+ },
1688
+ {
1689
+ "name": "iconColor",
1690
+ "description": "If defined, sets provided color on the icon",
1691
+ "type": "SeverityFgColor | undefined"
1692
+ },
1693
+ {
1694
+ "name": "selected",
1695
+ "description": "If true, sets the option as selected",
1696
+ "type": "boolean | undefined"
1697
+ },
1698
+ {
1699
+ "name": "shortLabel",
1700
+ "description": "If defined, sets a short label",
1701
+ "type": "string | undefined"
1702
+ },
1703
+ {
1704
+ "name": "text",
1705
+ "description": "The option's label text (equivalent to the tags textContent)"
1706
+ },
1707
+ {
1708
+ "name": "value",
1709
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
1710
+ },
1711
+ { "name": "role", "type": "string" },
1712
+ { "name": "_parent" },
1713
+ { "name": "_shortcutUpdate", "type": "boolean" }
1714
+ ],
1715
+ "events": [
1716
+ {
1717
+ "name": "skf-select-option:select",
1718
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1719
+ }
1720
+ ]
1721
+ }
1722
+ },
1723
+ {
1724
+ "name": "skf-select-option-group",
1725
+ "description": "The `<skf-select-option-group>` is a component that groups select-options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1726
+ "doc-url": "",
1727
+ "attributes": [
1728
+ {
1729
+ "name": "label",
1730
+ "value": { "type": "string", "default": "'Default label'" }
1731
+ }
1732
+ ],
1733
+ "slots": [
1734
+ { "name": "", "description": "The component's placeholder content" }
1735
+ ],
1736
+ "events": [],
1737
+ "js": {
1738
+ "properties": [{ "name": "label", "type": "string" }],
1739
+ "events": []
1740
+ }
1741
+ },
1373
1742
  {
1374
1743
  "name": "skf-switch",
1375
- "description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1744
+ "description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
1376
1745
  "doc-url": "",
1377
1746
  "attributes": [
1378
1747
  {
@@ -1402,7 +1771,7 @@
1402
1771
  },
1403
1772
  {
1404
1773
  "name": "label",
1405
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1774
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1406
1775
  "value": { "type": "string | undefined" }
1407
1776
  },
1408
1777
  {
@@ -1427,7 +1796,10 @@
1427
1796
  }
1428
1797
  ],
1429
1798
  "slots": [
1430
- { "name": "", "description": "The component's placeholder content" }
1799
+ {
1800
+ "name": "",
1801
+ "description": "The Switchs label. Alternatively, you can use the `label` attribute."
1802
+ }
1431
1803
  ],
1432
1804
  "events": [],
1433
1805
  "js": {
@@ -1449,7 +1821,7 @@
1449
1821
  },
1450
1822
  {
1451
1823
  "name": "label",
1452
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1824
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1453
1825
  "type": "string | undefined"
1454
1826
  },
1455
1827
  {
@@ -1483,19 +1855,19 @@
1483
1855
  "attributes": [
1484
1856
  {
1485
1857
  "name": "size",
1486
- "description": "Specifies Tag size -",
1858
+ "description": "Specifies Tag size",
1487
1859
  "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1488
1860
  },
1489
1861
  {
1490
1862
  "name": "icon",
1491
- "description": "If defined, displays leading/provided icon -",
1863
+ "description": "If defined, displays leading/provided icon",
1492
1864
  "value": {
1493
1865
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1494
1866
  }
1495
1867
  },
1496
1868
  {
1497
1869
  "name": "color",
1498
- "description": "If defined, gives the supplied appearance -",
1870
+ "description": "If defined, gives the supplied appearance",
1499
1871
  "value": {
1500
1872
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1501
1873
  }
@@ -1514,19 +1886,27 @@
1514
1886
  "properties": [
1515
1887
  {
1516
1888
  "name": "size",
1517
- "description": "Specifies Tag size -",
1889
+ "description": "Specifies Tag size",
1518
1890
  "type": "'sm' | 'md' | 'lg'"
1519
1891
  },
1520
1892
  {
1521
1893
  "name": "icon",
1522
- "description": "If defined, displays leading/provided icon -",
1894
+ "description": "If defined, displays leading/provided icon",
1523
1895
  "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1524
1896
  },
1525
1897
  {
1526
1898
  "name": "color",
1527
- "description": "If defined, gives the supplied appearance -",
1899
+ "description": "If defined, gives the supplied appearance",
1528
1900
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1529
1901
  },
1902
+ {
1903
+ "name": "onClick",
1904
+ "description": "If defined, accepts a function that runs on click"
1905
+ },
1906
+ {
1907
+ "name": "onRemove",
1908
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
1909
+ },
1530
1910
  {
1531
1911
  "name": "removable",
1532
1912
  "description": "If true, adds trailing button to remove tag",
@@ -1538,7 +1918,7 @@
1538
1918
  },
1539
1919
  {
1540
1920
  "name": "skf-textarea",
1541
- "description": "The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - **The** - textareas label. Alternatively, you can use the `label` attribute.",
1921
+ "description": "The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The textareas label. Alternatively, you can use the `label` attribute.",
1542
1922
  "doc-url": "",
1543
1923
  "attributes": [
1544
1924
  {
@@ -1553,52 +1933,52 @@
1553
1933
  },
1554
1934
  {
1555
1935
  "name": "cols",
1556
- "description": "If provided, sets the cols of the textarea",
1557
- "value": { "type": "number", "default": "20" }
1936
+ "description": "If defined, sets the cols of the textarea",
1937
+ "value": { "type": "number | undefined" }
1558
1938
  },
1559
1939
  {
1560
1940
  "name": "custom-invalid",
1561
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
1941
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
1562
1942
  "value": { "type": "string" }
1563
1943
  },
1564
1944
  {
1565
1945
  "name": "debug",
1566
- "description": "If provided, outputs helping hints in console",
1567
- "value": { "type": "boolean", "default": "false" }
1946
+ "description": "If true, outputs helping hints in console",
1947
+ "value": { "type": "boolean | undefined" }
1568
1948
  },
1569
1949
  {
1570
1950
  "name": "hide-label",
1571
- "description": "hide-label - If true, hides the label visually",
1572
- "value": { "type": "boolean", "default": "false" }
1951
+ "description": "If true, hides the label visually",
1952
+ "value": { "type": "boolean | undefined" }
1573
1953
  },
1574
1954
  {
1575
1955
  "name": "hint",
1576
- "description": "If provided, displays informational text below the field",
1956
+ "description": "If defined, displays informational text below the field",
1577
1957
  "value": { "type": "string | undefined" }
1578
1958
  },
1579
1959
  {
1580
1960
  "name": "label",
1581
- "description": "The input's label. Alternatively, you can use the component slot.",
1582
- "value": { "type": "string", "default": "'Default label'" }
1961
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1962
+ "value": { "type": "string | undefined" }
1583
1963
  },
1584
1964
  {
1585
1965
  "name": "name",
1586
- "description": "If provided, adds name to the input-element",
1966
+ "description": "If defined, adds name to the input-element",
1587
1967
  "value": { "type": "string | undefined" }
1588
1968
  },
1589
1969
  {
1590
1970
  "name": "maxlength",
1591
- "description": "If provided, sets the maximum character length to accept for this input",
1971
+ "description": "If defined, sets the maximum character length to accept for this input",
1592
1972
  "value": { "type": "number | undefined" }
1593
1973
  },
1594
1974
  {
1595
1975
  "name": "minlength",
1596
- "description": "If provided, sets the minimum character length to accept for this input",
1976
+ "description": "If defined, sets the minimum character length to accept for this input",
1597
1977
  "value": { "type": "number | undefined" }
1598
1978
  },
1599
1979
  {
1600
1980
  "name": "placeholder",
1601
- "description": "If provided, displays placeholder text",
1981
+ "description": "If defined, displays placeholder text",
1602
1982
  "value": { "type": "string | undefined" }
1603
1983
  },
1604
1984
  {
@@ -1608,18 +1988,20 @@
1608
1988
  },
1609
1989
  {
1610
1990
  "name": "required-label",
1611
- "description": "If provided, renders an alternative A11y text for the asterisk",
1991
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1612
1992
  "value": { "type": "string | undefined" }
1613
1993
  },
1614
1994
  {
1615
1995
  "name": "rows",
1616
- "description": "If provided, sets the rows of the textarea",
1617
- "value": { "type": "number", "default": "2" }
1996
+ "description": "If defined, sets the rows of the textarea",
1997
+ "value": { "type": "number | undefined" }
1618
1998
  },
1619
1999
  {
1620
2000
  "name": "severity",
1621
- "description": "If provided, displays provided severity state",
1622
- "value": { "type": "\"success\" | \"error\"" }
2001
+ "description": "If defined, displays provided severity state",
2002
+ "value": {
2003
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2004
+ }
1623
2005
  },
1624
2006
  {
1625
2007
  "name": "show-valid",
@@ -1628,14 +2010,14 @@
1628
2010
  },
1629
2011
  {
1630
2012
  "name": "size",
1631
- "description": "If provided, displays an alternative size",
2013
+ "description": "Size of the Textarea",
1632
2014
  "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1633
2015
  },
1634
2016
  {
1635
2017
  "name": "validate-on",
1636
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
2018
+ "description": "Sets validation start",
1637
2019
  "value": {
1638
- "type": "'input' | 'change' | 'submit' | undefined",
2020
+ "type": "'input' | 'change' | 'submit'",
1639
2021
  "default": "'change'"
1640
2022
  }
1641
2023
  },
@@ -1647,8 +2029,8 @@
1647
2029
  ],
1648
2030
  "slots": [
1649
2031
  {
1650
- "name": "The",
1651
- "description": "textareas label. Alternatively, you can use the `label` attribute."
2032
+ "name": "",
2033
+ "description": "The textareas label. Alternatively, you can use the `label` attribute."
1652
2034
  }
1653
2035
  ],
1654
2036
  "events": [
@@ -1665,51 +2047,51 @@
1665
2047
  "properties": [
1666
2048
  {
1667
2049
  "name": "cols",
1668
- "description": "If provided, sets the cols of the textarea",
1669
- "type": "number"
2050
+ "description": "If defined, sets the cols of the textarea",
2051
+ "type": "number | undefined"
1670
2052
  },
1671
2053
  {
1672
2054
  "name": "customInvalid",
1673
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
2055
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
1674
2056
  },
1675
2057
  {
1676
2058
  "name": "debug",
1677
- "description": "If provided, outputs helping hints in console",
1678
- "type": "boolean"
2059
+ "description": "If true, outputs helping hints in console",
2060
+ "type": "boolean | undefined"
1679
2061
  },
1680
2062
  {
1681
2063
  "name": "hideLabel",
1682
- "description": "hide-label - If true, hides the label visually",
1683
- "type": "boolean"
2064
+ "description": "If true, hides the label visually",
2065
+ "type": "boolean | undefined"
1684
2066
  },
1685
2067
  {
1686
2068
  "name": "hint",
1687
- "description": "If provided, displays informational text below the field",
2069
+ "description": "If defined, displays informational text below the field",
1688
2070
  "type": "string | undefined"
1689
2071
  },
1690
2072
  {
1691
2073
  "name": "label",
1692
- "description": "The input's label. Alternatively, you can use the component slot.",
1693
- "type": "string"
2074
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
2075
+ "type": "string | undefined"
1694
2076
  },
1695
2077
  {
1696
2078
  "name": "name",
1697
- "description": "If provided, adds name to the input-element",
2079
+ "description": "If defined, adds name to the input-element",
1698
2080
  "type": "string | undefined"
1699
2081
  },
1700
2082
  {
1701
2083
  "name": "maxLength",
1702
- "description": "If provided, sets the maximum character length to accept for this input",
2084
+ "description": "If defined, sets the maximum character length to accept for this input",
1703
2085
  "type": "number | undefined"
1704
2086
  },
1705
2087
  {
1706
2088
  "name": "minLength",
1707
- "description": "If provided, sets the minimum character length to accept for this input",
2089
+ "description": "If defined, sets the minimum character length to accept for this input",
1708
2090
  "type": "number | undefined"
1709
2091
  },
1710
2092
  {
1711
2093
  "name": "placeholder",
1712
- "description": "If provided, displays placeholder text",
2094
+ "description": "If defined, displays placeholder text",
1713
2095
  "type": "string | undefined"
1714
2096
  },
1715
2097
  {
@@ -1719,18 +2101,18 @@
1719
2101
  },
1720
2102
  {
1721
2103
  "name": "requiredLabel",
1722
- "description": "If provided, renders an alternative A11y text for the asterisk",
2104
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1723
2105
  "type": "string | undefined"
1724
2106
  },
1725
2107
  {
1726
2108
  "name": "rows",
1727
- "description": "If provided, sets the rows of the textarea",
1728
- "type": "number"
2109
+ "description": "If defined, sets the rows of the textarea",
2110
+ "type": "number | undefined"
1729
2111
  },
1730
2112
  {
1731
2113
  "name": "severity",
1732
- "description": "If provided, displays provided severity state",
1733
- "type": "\"success\" | \"error\""
2114
+ "description": "If defined, displays provided severity state",
2115
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1734
2116
  },
1735
2117
  {
1736
2118
  "name": "showValid",
@@ -1739,13 +2121,13 @@
1739
2121
  },
1740
2122
  {
1741
2123
  "name": "size",
1742
- "description": "If provided, displays an alternative size",
2124
+ "description": "Size of the Textarea",
1743
2125
  "type": "'sm' | 'md' | undefined"
1744
2126
  },
1745
2127
  {
1746
2128
  "name": "validateOn",
1747
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
1748
- "type": "'input' | 'change' | 'submit' | undefined"
2129
+ "description": "Sets validation start",
2130
+ "type": "'input' | 'change' | 'submit'"
1749
2131
  },
1750
2132
  {
1751
2133
  "name": "value",