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

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 (102) 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 +9 -6
  14. package/dist/components/checkbox/checkbox.component.js +8 -8
  15. package/dist/components/checkbox/checkbox.styles.js +1 -1
  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 +1 -1
  30. package/dist/components/input/input.component.d.ts +34 -29
  31. package/dist/components/input/input.component.js +36 -36
  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 +3 -3
  44. package/dist/components/select/select.component.d.ts +137 -0
  45. package/dist/components/select/select.component.js +311 -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 +116 -0
  52. package/dist/components/select-option/select-option.component.d.ts +77 -0
  53. package/dist/components/select-option/select-option.component.js +117 -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 +1 -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 +960 -305
  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/skf-element.d.ts +4 -4
  80. package/dist/internal/components/skf-element.js +15 -19
  81. package/dist/internal/helpers/array.d.ts +4 -0
  82. package/dist/internal/helpers/findMatchingTags.d.ts +2 -0
  83. package/dist/internal/helpers/findMatchingTags.js +12 -0
  84. package/dist/internal/helpers/hintSeverity.d.ts +2 -0
  85. package/dist/internal/helpers/hintSeverity.js +6 -0
  86. package/dist/internal/helpers/raiseError.d.ts +28 -0
  87. package/dist/internal/helpers/raiseError.js +29 -0
  88. package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -6
  89. package/dist/react/index.d.ts +3 -0
  90. package/dist/react/index.js +3 -0
  91. package/dist/react/skf-select/index.d.ts +21 -0
  92. package/dist/react/skf-select/index.js +21 -0
  93. package/dist/react/skf-select-option/index.d.ts +9 -0
  94. package/dist/react/skf-select-option/index.js +17 -0
  95. package/dist/react/skf-select-option-group/index.d.ts +3 -0
  96. package/dist/react/skf-select-option-group/index.js +13 -0
  97. package/dist/styles/form-field.styles.js +7 -7
  98. package/dist/types/jsx/custom-element-jsx.d.ts +290 -140
  99. package/dist/types/vue/index.d.ts +223 -90
  100. package/dist/vscode.html-custom-data.json +294 -97
  101. package/dist/web-types.json +614 -242
  102. 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
  {
@@ -362,21 +364,23 @@
362
364
  "description": "If defined, renders an alternative A11y text for the asterisk",
363
365
  "value": { "type": "string | undefined" }
364
366
  },
365
- {
366
- "name": "size",
367
- "description": "Size of the checkbox",
368
- "value": { "type": "'sm' | 'md'", "default": "'md'" }
369
- },
370
367
  {
371
368
  "name": "severity",
372
369
  "description": "If defined, styles checkbox using provided severity",
373
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
370
+ "value": {
371
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
372
+ }
374
373
  },
375
374
  {
376
375
  "name": "show-valid",
377
- "description": "If defined, displays valid state after interaction",
376
+ "description": "If true, displays valid state after interaction",
378
377
  "value": { "type": "boolean | undefined" }
379
378
  },
379
+ {
380
+ "name": "size",
381
+ "description": "Size of the checkbox",
382
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
383
+ },
380
384
  {
381
385
  "name": "value",
382
386
  "description": "The current value of the input field",
@@ -385,8 +389,8 @@
385
389
  ],
386
390
  "slots": [
387
391
  {
388
- "name": "Default",
389
- "description": "Alternatively, you can use the `label` attribute"
392
+ "name": "",
393
+ "description": "The Radios label. Alternatively, you can use the `label` attribute."
390
394
  }
391
395
  ],
392
396
  "events": [
@@ -437,21 +441,21 @@
437
441
  "description": "If defined, renders an alternative A11y text for the asterisk",
438
442
  "type": "string | undefined"
439
443
  },
440
- {
441
- "name": "size",
442
- "description": "Size of the checkbox",
443
- "type": "'sm' | 'md'"
444
- },
445
444
  {
446
445
  "name": "severity",
447
446
  "description": "If defined, styles checkbox using provided severity",
448
- "type": "FormFieldBaseProps['severity'] | undefined"
447
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
449
448
  },
450
449
  {
451
450
  "name": "showValid",
452
- "description": "If defined, displays valid state after interaction",
451
+ "description": "If true, displays valid state after interaction",
453
452
  "type": "boolean | undefined"
454
453
  },
454
+ {
455
+ "name": "size",
456
+ "description": "Size of the checkbox",
457
+ "type": "'sm' | 'md'"
458
+ },
455
459
  {
456
460
  "name": "value",
457
461
  "description": "The current value of the input field",
@@ -468,18 +472,18 @@
468
472
  },
469
473
  {
470
474
  "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",
475
+ "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
476
  "doc-url": "",
473
477
  "attributes": [
474
478
  {
475
479
  "name": "animated",
476
480
  "description": "If true, will animate the expand/collapse state",
477
- "value": { "type": "boolean", "default": "false" }
481
+ "value": { "type": "boolean | undefined" }
478
482
  },
479
483
  {
480
484
  "name": "expanded",
481
485
  "description": "If true, will set the collapse to be expanded by default",
482
- "value": { "type": "boolean", "default": "false" }
486
+ "value": { "type": "boolean | undefined" }
483
487
  },
484
488
  {
485
489
  "name": "heading",
@@ -488,21 +492,21 @@
488
492
  },
489
493
  {
490
494
  "name": "heading-as",
491
- "description": "Controls which heading element will be rendered",
495
+ "description": "Defines which heading element will be rendered",
492
496
  "value": {
493
- "type": "Exclude<HeadingType, 'h1'>",
497
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
494
498
  "default": "'h2'"
495
499
  }
496
500
  },
497
501
  {
498
502
  "name": "small",
499
503
  "description": "If true, renders the small version",
500
- "value": { "type": "boolean", "default": "false" }
504
+ "value": { "type": "boolean | undefined" }
501
505
  },
502
506
  {
503
507
  "name": "truncate",
504
508
  "description": "If true, will truncate the heading in collapsed state",
505
- "value": { "type": "boolean", "default": "false" }
509
+ "value": { "type": "boolean | undefined" }
506
510
  }
507
511
  ],
508
512
  "slots": [{ "name": "", "description": "Main content" }],
@@ -518,12 +522,12 @@
518
522
  {
519
523
  "name": "animated",
520
524
  "description": "If true, will animate the expand/collapse state",
521
- "type": "boolean"
525
+ "type": "boolean | undefined"
522
526
  },
523
527
  {
524
528
  "name": "expanded",
525
529
  "description": "If true, will set the collapse to be expanded by default",
526
- "type": "boolean"
530
+ "type": "boolean | undefined"
527
531
  },
528
532
  {
529
533
  "name": "heading",
@@ -532,18 +536,18 @@
532
536
  },
533
537
  {
534
538
  "name": "headingAs",
535
- "description": "Controls which heading element will be rendered",
536
- "type": "Exclude<HeadingType, 'h1'>"
539
+ "description": "Defines which heading element will be rendered",
540
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
537
541
  },
538
542
  {
539
543
  "name": "small",
540
544
  "description": "If true, renders the small version",
541
- "type": "boolean"
545
+ "type": "boolean | undefined"
542
546
  },
543
547
  {
544
548
  "name": "truncate",
545
549
  "description": "If true, will truncate the heading in collapsed state",
546
- "type": "boolean"
550
+ "type": "boolean | undefined"
547
551
  }
548
552
  ],
549
553
  "events": [
@@ -557,12 +561,12 @@
557
561
  },
558
562
  {
559
563
  "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)_",
564
+ "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
565
  "doc-url": "",
562
566
  "attributes": [
563
567
  {
564
568
  "name": "color",
565
- "description": "If provided, alters the Divider color",
569
+ "description": "Defines the Divider color",
566
570
  "value": {
567
571
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
568
572
  "default": "'primary'"
@@ -571,12 +575,12 @@
571
575
  {
572
576
  "name": "decorative",
573
577
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
574
- "value": { "type": "boolean", "default": "false" }
578
+ "value": { "type": "boolean | undefined" }
575
579
  },
576
580
  {
577
581
  "name": "vertical",
578
582
  "description": "If true, renders the divider vertically",
579
- "value": { "type": "boolean", "default": "false" }
583
+ "value": { "type": "boolean | undefined" }
580
584
  }
581
585
  ],
582
586
  "events": [],
@@ -584,18 +588,18 @@
584
588
  "properties": [
585
589
  {
586
590
  "name": "color",
587
- "description": "If provided, alters the Divider color",
591
+ "description": "Defines the Divider color",
588
592
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
589
593
  },
590
594
  {
591
595
  "name": "decorative",
592
596
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
593
- "type": "boolean"
597
+ "type": "boolean | undefined"
594
598
  },
595
599
  {
596
600
  "name": "vertical",
597
601
  "description": "If true, renders the divider vertically",
598
- "type": "boolean"
602
+ "type": "boolean | undefined"
599
603
  }
600
604
  ],
601
605
  "events": []
@@ -603,32 +607,36 @@
603
607
  },
604
608
  {
605
609
  "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",
610
+ "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
611
  "doc-url": "",
608
612
  "attributes": [
609
613
  {
610
614
  "name": "as",
611
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
612
- "value": { "type": "HeadingType", "default": "'h1'" }
615
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
616
+ "value": {
617
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
618
+ "default": "'h1'"
619
+ }
613
620
  },
614
621
  {
615
622
  "name": "styled-as",
616
623
  "description": "If provided, changes the appearance of the heading",
617
- "value": { "type": "HeadingType | undefined" }
624
+ "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
618
625
  }
619
626
  ],
627
+ "slots": [{ "name": "", "description": "The headings content" }],
620
628
  "events": [],
621
629
  "js": {
622
630
  "properties": [
623
631
  {
624
632
  "name": "as",
625
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
626
- "type": "HeadingType"
633
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
634
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
627
635
  },
628
636
  {
629
637
  "name": "styledAs",
630
638
  "description": "If provided, changes the appearance of the heading",
631
- "type": "HeadingType | undefined"
639
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
632
640
  }
633
641
  ],
634
642
  "events": []
@@ -641,6 +649,7 @@
641
649
  "attributes": [
642
650
  {
643
651
  "name": "color",
652
+ "description": "Sets the color of the icon",
644
653
  "value": {
645
654
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
646
655
  "default": "'primary'"
@@ -648,17 +657,19 @@
648
657
  },
649
658
  {
650
659
  "name": "label",
651
- "description": "If provided, adds an alternate description to use for assistive devices",
660
+ "description": "If defined, adds an alternate description to use for assistive devices",
652
661
  "value": { "type": "string | undefined" }
653
662
  },
654
663
  {
655
664
  "name": "name",
665
+ "description": "Name of the icon to display",
656
666
  "value": {
657
667
  "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
668
  }
659
669
  },
660
670
  {
661
671
  "name": "size",
672
+ "description": "Size of the icon",
662
673
  "value": {
663
674
  "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
664
675
  "default": "'md'"
@@ -670,25 +681,31 @@
670
681
  "properties": [
671
682
  {
672
683
  "name": "color",
684
+ "description": "Sets the color of the icon",
673
685
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
674
686
  },
675
687
  {
676
688
  "name": "label",
677
- "description": "If provided, adds an alternate description to use for assistive devices",
689
+ "description": "If defined, adds an alternate description to use for assistive devices",
678
690
  "type": "string | undefined"
679
691
  },
680
692
  {
681
693
  "name": "name",
694
+ "description": "Name of the icon to display",
682
695
  "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
696
  },
684
- { "name": "size", "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"" }
697
+ {
698
+ "name": "size",
699
+ "description": "Size of the icon",
700
+ "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
701
+ }
685
702
  ],
686
703
  "events": []
687
704
  }
688
705
  },
689
706
  {
690
707
  "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",
708
+ "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
709
  "doc-url": "",
693
710
  "attributes": [
694
711
  {
@@ -703,42 +720,42 @@
703
720
  },
704
721
  {
705
722
  "name": "button-aria-label-clear",
706
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
723
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
707
724
  "value": { "type": "string", "default": "'Clear input'" }
708
725
  },
709
726
  {
710
727
  "name": "button-aria-label-hide",
711
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
728
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
712
729
  "value": { "type": "string", "default": "'Hide password'" }
713
730
  },
714
731
  {
715
732
  "name": "button-aria-label-show",
716
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
733
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
717
734
  "value": { "type": "string", "default": "'Show password'" }
718
735
  },
719
736
  {
720
737
  "name": "custom-invalid",
721
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
738
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
722
739
  "value": { "type": "string" }
723
740
  },
724
741
  {
725
742
  "name": "debug",
726
- "description": "If provided, outputs helping hints in console",
727
- "value": { "type": "boolean", "default": "false" }
743
+ "description": "If true, outputs helping hints in console",
744
+ "value": { "type": "boolean | undefined" }
728
745
  },
729
746
  {
730
747
  "name": "hide-label",
731
748
  "description": "If true, hides the label visually",
732
- "value": { "type": "boolean", "default": "false" }
749
+ "value": { "type": "boolean | undefined" }
733
750
  },
734
751
  {
735
752
  "name": "hint",
736
- "description": "If provided, displays informational text below the field",
753
+ "description": "If defined, displays informational text below the field",
737
754
  "value": { "type": "string | undefined" }
738
755
  },
739
756
  {
740
757
  "name": "inputmode",
741
- "description": "If provided, tells what keyboard to use if applicable",
758
+ "description": "Tells what keyboard to use if applicable",
742
759
  "value": {
743
760
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
744
761
  "default": "'text'"
@@ -746,47 +763,47 @@
746
763
  },
747
764
  {
748
765
  "name": "label",
749
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
766
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
750
767
  "value": { "type": "string | undefined" }
751
768
  },
752
769
  {
753
770
  "name": "leading",
754
- "description": "If provided, displays a prefix/adornment before the input-element",
771
+ "description": "If defined, displays a prefix/adornment before the input-element",
755
772
  "value": { "type": "string | undefined" }
756
773
  },
757
774
  {
758
775
  "name": "max",
759
- "description": "If provided, sets the maximum value to accept for this input",
776
+ "description": "If defined, sets the maximum value to accept for this input",
760
777
  "value": { "type": "number | string | undefined" }
761
778
  },
762
779
  {
763
780
  "name": "maxlength",
764
- "description": "If provided, sets the maximum character length to accept for this input",
781
+ "description": "If defined, sets the maximum character length to accept for this input",
765
782
  "value": { "type": "number | undefined" }
766
783
  },
767
784
  {
768
785
  "name": "min",
769
- "description": "If provided, sets the minimum value to accept for this input",
786
+ "description": "If defined, sets the minimum value to accept for this input",
770
787
  "value": { "type": "number | string | undefined" }
771
788
  },
772
789
  {
773
790
  "name": "minlength",
774
- "description": "If provided, sets the minimum character length to accept for this input",
791
+ "description": "If defined, sets the minimum character length to accept for this input",
775
792
  "value": { "type": "number | undefined" }
776
793
  },
777
794
  {
778
795
  "name": "name",
779
- "description": "If provided, adds name to the input-element",
796
+ "description": "If defined, adds name to the input-element",
780
797
  "value": { "type": "string | undefined" }
781
798
  },
782
799
  {
783
800
  "name": "pattern",
784
- "description": "If provided, adds name to the input-element",
801
+ "description": "If defined, adds name to the input-element",
785
802
  "value": { "type": "string | undefined" }
786
803
  },
787
804
  {
788
805
  "name": "placeholder",
789
- "description": "If provided, displays placeholder text",
806
+ "description": "If defined, displays placeholder text",
790
807
  "value": { "type": "string | undefined" }
791
808
  },
792
809
  {
@@ -796,42 +813,44 @@
796
813
  },
797
814
  {
798
815
  "name": "required-label",
799
- "description": "If provided, renders an alternative A11y text for the asterisk",
816
+ "description": "If defined, renders an alternative A11y text for the asterisk",
800
817
  "value": { "type": "string | undefined" }
801
818
  },
802
819
  {
803
820
  "name": "severity",
804
- "description": "If provided, displays provided severity state",
805
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
821
+ "description": "If defined, displays provided severity state",
822
+ "value": {
823
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
824
+ }
806
825
  },
807
826
  {
808
827
  "name": "show-valid",
809
- "description": "If provided, displays provided severity state",
828
+ "description": "If true, displays valid state after interaction",
810
829
  "value": { "type": "boolean | undefined" }
811
830
  },
812
831
  {
813
832
  "name": "size",
814
- "description": "If provided, displays an alternative size",
815
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
833
+ "description": "Size of the input",
834
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
816
835
  },
817
836
  {
818
837
  "name": "trailing",
819
- "description": "If provided, displays a suffix/adornment after the input-element",
838
+ "description": "If defined, displays a suffix/adornment after the input-element",
820
839
  "value": { "type": "string | undefined" }
821
840
  },
822
841
  {
823
842
  "name": "type",
824
- "description": "If provided, changes the type of form control",
843
+ "description": "Type of input control",
825
844
  "value": {
826
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined",
845
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'",
827
846
  "default": "'text'"
828
847
  }
829
848
  },
830
849
  {
831
850
  "name": "validate-on",
832
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
851
+ "description": "Sets validation start",
833
852
  "value": {
834
- "type": "'input' | 'change' | 'submit' | undefined",
853
+ "type": "'input' | 'change' | 'submit'",
835
854
  "default": "'change'"
836
855
  }
837
856
  },
@@ -843,8 +862,8 @@
843
862
  ],
844
863
  "slots": [
845
864
  {
846
- "name": "Default",
847
- "description": " Alternatively, you can use the `label` attribute"
865
+ "name": "",
866
+ "description": "The Inputs label. Alternatively, you can use the `label` attribute."
848
867
  }
849
868
  ],
850
869
  "events": [
@@ -861,86 +880,86 @@
861
880
  "properties": [
862
881
  {
863
882
  "name": "buttonAriaLabelClear",
864
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
883
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
865
884
  "type": "string"
866
885
  },
867
886
  {
868
887
  "name": "buttonAriaLabelHide",
869
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
888
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
870
889
  "type": "string"
871
890
  },
872
891
  {
873
892
  "name": "buttonAriaLabelShow",
874
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
893
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
875
894
  "type": "string"
876
895
  },
877
896
  {
878
897
  "name": "customInvalid",
879
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
898
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
880
899
  },
881
900
  {
882
901
  "name": "debug",
883
- "description": "If provided, outputs helping hints in console",
884
- "type": "boolean"
902
+ "description": "If true, outputs helping hints in console",
903
+ "type": "boolean | undefined"
885
904
  },
886
905
  {
887
906
  "name": "hideLabel",
888
907
  "description": "If true, hides the label visually",
889
- "type": "boolean"
908
+ "type": "boolean | undefined"
890
909
  },
891
910
  {
892
911
  "name": "hint",
893
- "description": "If provided, displays informational text below the field",
912
+ "description": "If defined, displays informational text below the field",
894
913
  "type": "string | undefined"
895
914
  },
896
915
  {
897
916
  "name": "inputmode",
898
- "description": "If provided, tells what keyboard to use if applicable",
917
+ "description": "Tells what keyboard to use if applicable",
899
918
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'"
900
919
  },
901
920
  {
902
921
  "name": "label",
903
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
922
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
904
923
  "type": "string | undefined"
905
924
  },
906
925
  {
907
926
  "name": "leading",
908
- "description": "If provided, displays a prefix/adornment before the input-element",
927
+ "description": "If defined, displays a prefix/adornment before the input-element",
909
928
  "type": "string | undefined"
910
929
  },
911
930
  {
912
931
  "name": "max",
913
- "description": "If provided, sets the maximum value to accept for this input",
932
+ "description": "If defined, sets the maximum value to accept for this input",
914
933
  "type": "number | string | undefined"
915
934
  },
916
935
  {
917
936
  "name": "maxLength",
918
- "description": "If provided, sets the maximum character length to accept for this input",
937
+ "description": "If defined, sets the maximum character length to accept for this input",
919
938
  "type": "number | undefined"
920
939
  },
921
940
  {
922
941
  "name": "min",
923
- "description": "If provided, sets the minimum value to accept for this input",
942
+ "description": "If defined, sets the minimum value to accept for this input",
924
943
  "type": "number | string | undefined"
925
944
  },
926
945
  {
927
946
  "name": "minLength",
928
- "description": "If provided, sets the minimum character length to accept for this input",
947
+ "description": "If defined, sets the minimum character length to accept for this input",
929
948
  "type": "number | undefined"
930
949
  },
931
950
  {
932
951
  "name": "name",
933
- "description": "If provided, adds name to the input-element",
952
+ "description": "If defined, adds name to the input-element",
934
953
  "type": "string | undefined"
935
954
  },
936
955
  {
937
956
  "name": "pattern",
938
- "description": "If provided, adds name to the input-element",
957
+ "description": "If defined, adds name to the input-element",
939
958
  "type": "string | undefined"
940
959
  },
941
960
  {
942
961
  "name": "placeholder",
943
- "description": "If provided, displays placeholder text",
962
+ "description": "If defined, displays placeholder text",
944
963
  "type": "string | undefined"
945
964
  },
946
965
  {
@@ -950,46 +969,44 @@
950
969
  },
951
970
  {
952
971
  "name": "requiredLabel",
953
- "description": "If provided, renders an alternative A11y text for the asterisk",
972
+ "description": "If defined, renders an alternative A11y text for the asterisk",
954
973
  "type": "string | undefined"
955
974
  },
956
975
  {
957
976
  "name": "severity",
958
- "description": "If provided, displays provided severity state",
959
- "type": "FormFieldBaseProps['severity'] | undefined"
977
+ "description": "If defined, displays provided severity state",
978
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
960
979
  },
961
980
  {
962
981
  "name": "showValid",
963
- "description": "If provided, displays provided severity state",
982
+ "description": "If true, displays valid state after interaction",
964
983
  "type": "boolean | undefined"
965
984
  },
966
985
  {
967
986
  "name": "size",
968
- "description": "If provided, displays an alternative size",
969
- "type": "'sm' | 'md' | undefined"
987
+ "description": "Size of the input",
988
+ "type": "'sm' | 'md'"
970
989
  },
971
990
  {
972
991
  "name": "trailing",
973
- "description": "If provided, displays a suffix/adornment after the input-element",
992
+ "description": "If defined, displays a suffix/adornment after the input-element",
974
993
  "type": "string | undefined"
975
994
  },
976
995
  {
977
996
  "name": "type",
978
- "description": "If provided, changes the type of form control",
979
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined"
997
+ "description": "Type of input control",
998
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
980
999
  },
981
1000
  {
982
1001
  "name": "validateOn",
983
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
984
- "type": "'input' | 'change' | 'submit' | undefined"
1002
+ "description": "Sets validation start",
1003
+ "type": "'input' | 'change' | 'submit'"
985
1004
  },
986
1005
  {
987
1006
  "name": "value",
988
1007
  "description": "The current value of the input field",
989
1008
  "type": "string"
990
- },
991
- { "name": "_numberController" },
992
- { "name": "_passwordController" }
1009
+ }
993
1010
  ],
994
1011
  "events": [
995
1012
  {
@@ -1010,11 +1027,12 @@
1010
1027
  "attributes": [
1011
1028
  {
1012
1029
  "name": "as",
1013
- "description": "Specifies semantic element to render -",
1030
+ "description": "Defines the semantic element to render",
1014
1031
  "value": { "type": "'button' | 'a'", "default": "'a'" }
1015
1032
  },
1016
1033
  {
1017
1034
  "name": "color",
1035
+ "description": "Defines the text-color",
1018
1036
  "value": {
1019
1037
  "type": "'primary' | 'inverse'",
1020
1038
  "default": "'primary'"
@@ -1027,34 +1045,34 @@
1027
1045
  },
1028
1046
  {
1029
1047
  "name": "download",
1030
- "description": "If provided, downloads the url",
1048
+ "description": "If defined, downloads the url",
1031
1049
  "value": { "type": "string | undefined" }
1032
1050
  },
1033
1051
  {
1034
1052
  "name": "href",
1035
- "description": "If provided, loads url on click",
1053
+ "description": "If defined, loads url on click",
1036
1054
  "value": { "type": "string | undefined" }
1037
1055
  },
1038
1056
  {
1039
1057
  "name": "icon",
1040
- "description": "If provided, renders an icon before or after the text",
1058
+ "description": "If defined, renders an icon before or after the text",
1041
1059
  "value": {
1042
1060
  "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
1061
  }
1044
1062
  },
1045
1063
  {
1046
1064
  "name": "icon-placement",
1047
- "description": "Position of the icon in relation to the text -",
1065
+ "description": "Defines the position of the icon in relation to the text",
1048
1066
  "value": { "type": "'left' | 'right'", "default": "'left'" }
1049
1067
  },
1050
1068
  {
1051
1069
  "name": "rel",
1052
- "description": "Specifies the relationship of the target object to the link object -",
1070
+ "description": "Defines the relationship of the target object to the link object",
1053
1071
  "value": { "type": "string", "default": "'noreferrer noopener'" }
1054
1072
  },
1055
1073
  {
1056
1074
  "name": "route",
1057
- "description": "If provided, used on conjunction with onClick property, second argument",
1075
+ "description": "If defined, used on conjunction with onClick property, second argument",
1058
1076
  "value": { "type": "string | undefined" }
1059
1077
  },
1060
1078
  {
@@ -1064,14 +1082,14 @@
1064
1082
  },
1065
1083
  {
1066
1084
  "name": "target",
1067
- "description": "If provided, specifies where to open the linked document",
1085
+ "description": "If defined, specifies where to open the linked document",
1068
1086
  "value": {
1069
1087
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1070
1088
  }
1071
1089
  },
1072
1090
  {
1073
1091
  "name": "type",
1074
- "description": "Type of button -",
1092
+ "description": "Defines the type of button",
1075
1093
  "value": {
1076
1094
  "type": "'button' | 'submit' | 'reset'",
1077
1095
  "default": "'button'"
@@ -1084,10 +1102,14 @@
1084
1102
  "properties": [
1085
1103
  {
1086
1104
  "name": "as",
1087
- "description": "Specifies semantic element to render -",
1105
+ "description": "Defines the semantic element to render",
1088
1106
  "type": "'button' | 'a'"
1089
1107
  },
1090
- { "name": "color", "type": "'primary' | 'inverse'" },
1108
+ {
1109
+ "name": "color",
1110
+ "description": "Defines the text-color",
1111
+ "type": "'primary' | 'inverse'"
1112
+ },
1091
1113
  {
1092
1114
  "name": "disabled",
1093
1115
  "description": "If true, disables the link",
@@ -1095,32 +1117,32 @@
1095
1117
  },
1096
1118
  {
1097
1119
  "name": "download",
1098
- "description": "If provided, downloads the url",
1120
+ "description": "If defined, downloads the url",
1099
1121
  "type": "string | undefined"
1100
1122
  },
1101
1123
  {
1102
1124
  "name": "href",
1103
- "description": "If provided, loads url on click",
1125
+ "description": "If defined, loads url on click",
1104
1126
  "type": "string | undefined"
1105
1127
  },
1106
1128
  {
1107
1129
  "name": "icon",
1108
- "description": "If provided, renders an icon before or after the text",
1130
+ "description": "If defined, renders an icon before or after the text",
1109
1131
  "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
1132
  },
1111
1133
  {
1112
1134
  "name": "iconPlacement",
1113
- "description": "Position of the icon in relation to the text -",
1135
+ "description": "Defines the position of the icon in relation to the text",
1114
1136
  "type": "'left' | 'right'"
1115
1137
  },
1116
1138
  {
1117
1139
  "name": "rel",
1118
- "description": "Specifies the relationship of the target object to the link object -",
1140
+ "description": "Defines the relationship of the target object to the link object",
1119
1141
  "type": "string"
1120
1142
  },
1121
1143
  {
1122
1144
  "name": "route",
1123
- "description": "If provided, used on conjunction with onClick property, second argument",
1145
+ "description": "If defined, used on conjunction with onClick property, second argument",
1124
1146
  "type": "string | undefined"
1125
1147
  },
1126
1148
  {
@@ -1130,12 +1152,12 @@
1130
1152
  },
1131
1153
  {
1132
1154
  "name": "target",
1133
- "description": "If provided, specifies where to open the linked document",
1155
+ "description": "If defined, specifies where to open the linked document",
1134
1156
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1135
1157
  },
1136
1158
  {
1137
1159
  "name": "type",
1138
- "description": "Type of button -",
1160
+ "description": "Defines the type of button",
1139
1161
  "type": "'button' | 'submit' | 'reset'"
1140
1162
  },
1141
1163
  {
@@ -1149,38 +1171,45 @@
1149
1171
  },
1150
1172
  {
1151
1173
  "name": "skf-loader",
1152
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities.\n---\n",
1174
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1153
1175
  "doc-url": "",
1154
1176
  "attributes": [
1155
1177
  {
1156
1178
  "name": "aria-label",
1179
+ "description": "Defines the aria-label",
1157
1180
  "value": { "type": "string", "default": "'Loading...'" }
1158
1181
  },
1159
1182
  {
1160
1183
  "name": "invert",
1161
1184
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1162
- "value": { "type": "boolean", "default": "false" }
1185
+ "value": { "type": "boolean | undefined" }
1163
1186
  },
1164
1187
  {
1165
1188
  "name": "size",
1166
- "description": "If provided, displays an alternative size",
1189
+ "description": "Defines the size of the loader",
1167
1190
  "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1168
1191
  }
1169
1192
  ],
1170
1193
  "events": [],
1171
1194
  "js": {
1172
1195
  "properties": [
1173
- { "name": "ariaLabel", "type": "string" },
1196
+ {
1197
+ "name": "ariaLabel",
1198
+ "description": "Defines the aria-label",
1199
+ "type": "string"
1200
+ },
1174
1201
  {
1175
1202
  "name": "invert",
1176
1203
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1177
- "type": "boolean"
1204
+ "type": "boolean | undefined"
1178
1205
  },
1179
1206
  {
1180
1207
  "name": "size",
1181
- "description": "If provided, displays an alternative size",
1208
+ "description": "Defines the size of the loader",
1182
1209
  "type": "'md' | 'sm' | undefined"
1183
- }
1210
+ },
1211
+ { "name": "role", "type": "string" },
1212
+ { "name": "ariaLive", "type": "string" }
1184
1213
  ],
1185
1214
  "events": []
1186
1215
  }
@@ -1192,12 +1221,12 @@
1192
1221
  "attributes": [
1193
1222
  {
1194
1223
  "name": "title",
1195
- "description": "The title of the logo",
1224
+ "description": "Defines the title of the logo",
1196
1225
  "value": { "type": "string", "default": "'SKF logotype'" }
1197
1226
  },
1198
1227
  {
1199
1228
  "name": "color",
1200
- "description": "If provided, sets color of the logo",
1229
+ "description": "If defined, sets color of the logo",
1201
1230
  "value": {
1202
1231
  "type": "\"primary\" | \"secondary\" | \"inverse\"",
1203
1232
  "default": "'primary'"
@@ -1209,12 +1238,12 @@
1209
1238
  "properties": [
1210
1239
  {
1211
1240
  "name": "title",
1212
- "description": "The title of the logo",
1241
+ "description": "Defines the title of the logo",
1213
1242
  "type": "string"
1214
1243
  },
1215
1244
  {
1216
1245
  "name": "color",
1217
- "description": "If provided, sets color of the logo",
1246
+ "description": "If defined, sets color of the logo",
1218
1247
  "type": "\"primary\" | \"secondary\" | \"inverse\""
1219
1248
  }
1220
1249
  ],
@@ -1223,7 +1252,7 @@
1223
1252
  },
1224
1253
  {
1225
1254
  "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",
1255
+ "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
1256
  "doc-url": "",
1228
1257
  "attributes": [
1229
1258
  {
@@ -1238,8 +1267,8 @@
1238
1267
  },
1239
1268
  {
1240
1269
  "name": "debug",
1241
- "description": "If provided, outputs helping hints in console",
1242
- "value": { "type": "boolean", "default": "false" }
1270
+ "description": "If true, outputs helping hints in console",
1271
+ "value": { "type": "boolean | undefined" }
1243
1272
  },
1244
1273
  {
1245
1274
  "name": "checked",
@@ -1254,36 +1283,38 @@
1254
1283
  {
1255
1284
  "name": "hide-label",
1256
1285
  "description": "If true, hides the label visually",
1257
- "value": { "type": "boolean", "default": "false" }
1286
+ "value": { "type": "boolean | undefined" }
1258
1287
  },
1259
1288
  {
1260
1289
  "name": "label",
1261
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1290
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1262
1291
  "value": { "type": "string | undefined" }
1263
1292
  },
1264
1293
  {
1265
1294
  "name": "name",
1266
- "description": "If provided, adds name to the input-element",
1295
+ "description": "If defined, adds name to the input-element",
1267
1296
  "value": { "type": "string | undefined" }
1268
1297
  },
1269
1298
  {
1270
1299
  "name": "required-label",
1271
- "description": "If provided, renders an alternative A11y text for the asterisk",
1300
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1272
1301
  "value": { "type": "string | undefined" }
1273
1302
  },
1274
1303
  {
1275
1304
  "name": "size",
1276
- "description": "If provided, displays an alternative size",
1277
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1305
+ "description": "Size of the Radio",
1306
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1278
1307
  },
1279
1308
  {
1280
1309
  "name": "severity",
1281
- "description": "If provided, displays provided severity state",
1282
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1310
+ "description": "If defined, displays provided severity state",
1311
+ "value": {
1312
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1313
+ }
1283
1314
  },
1284
1315
  {
1285
1316
  "name": "show-valid",
1286
- "description": "If provided, displays valid state after interaction",
1317
+ "description": "If true, displays valid state after interaction",
1287
1318
  "value": { "type": "boolean | undefined" }
1288
1319
  },
1289
1320
  {
@@ -1294,8 +1325,8 @@
1294
1325
  ],
1295
1326
  "slots": [
1296
1327
  {
1297
- "name": "Default",
1298
- "description": " Alternatively, you can use the `label` attribute"
1328
+ "name": "",
1329
+ "description": "The radios label. Alternatively, you can use the `label` attribute."
1299
1330
  }
1300
1331
  ],
1301
1332
  "events": [
@@ -1308,8 +1339,8 @@
1308
1339
  "properties": [
1309
1340
  {
1310
1341
  "name": "debug",
1311
- "description": "If provided, outputs helping hints in console",
1312
- "type": "boolean"
1342
+ "description": "If true, outputs helping hints in console",
1343
+ "type": "boolean | undefined"
1313
1344
  },
1314
1345
  {
1315
1346
  "name": "checked",
@@ -1324,36 +1355,36 @@
1324
1355
  {
1325
1356
  "name": "hideLabel",
1326
1357
  "description": "If true, hides the label visually",
1327
- "type": "boolean"
1358
+ "type": "boolean | undefined"
1328
1359
  },
1329
1360
  {
1330
1361
  "name": "label",
1331
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1362
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1332
1363
  "type": "string | undefined"
1333
1364
  },
1334
1365
  {
1335
1366
  "name": "name",
1336
- "description": "If provided, adds name to the input-element",
1367
+ "description": "If defined, adds name to the input-element",
1337
1368
  "type": "string | undefined"
1338
1369
  },
1339
1370
  {
1340
1371
  "name": "requiredLabel",
1341
- "description": "If provided, renders an alternative A11y text for the asterisk",
1372
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1342
1373
  "type": "string | undefined"
1343
1374
  },
1344
1375
  {
1345
1376
  "name": "size",
1346
- "description": "If provided, displays an alternative size",
1347
- "type": "'sm' | 'md' | undefined"
1377
+ "description": "Size of the Radio",
1378
+ "type": "'sm' | 'md'"
1348
1379
  },
1349
1380
  {
1350
1381
  "name": "severity",
1351
- "description": "If provided, displays provided severity state",
1352
- "type": "FormFieldBaseProps['severity'] | undefined"
1382
+ "description": "If defined, displays provided severity state",
1383
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1353
1384
  },
1354
1385
  {
1355
1386
  "name": "showValid",
1356
- "description": "If provided, displays valid state after interaction",
1387
+ "description": "If true, displays valid state after interaction",
1357
1388
  "type": "boolean | undefined"
1358
1389
  },
1359
1390
  {
@@ -1370,9 +1401,337 @@
1370
1401
  ]
1371
1402
  }
1372
1403
  },
1404
+ {
1405
+ "name": "skf-select",
1406
+ "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",
1407
+ "doc-url": "",
1408
+ "attributes": [
1409
+ {
1410
+ "name": "disabled",
1411
+ "description": "If true, the select is disabled\t`default: false`",
1412
+ "value": { "type": "boolean" }
1413
+ },
1414
+ {
1415
+ "name": "button-label",
1416
+ "description": "Sets the first visible text on the component",
1417
+ "value": { "type": "string", "default": "'Select an option'" }
1418
+ },
1419
+ {
1420
+ "name": "custom-invalid",
1421
+ "description": "If defined, forces component to invalid state until removed",
1422
+ "value": { "type": "string | undefined" }
1423
+ },
1424
+ {
1425
+ "name": "hide-label",
1426
+ "description": "If true, hides the label visually",
1427
+ "value": { "type": "boolean | undefined" }
1428
+ },
1429
+ {
1430
+ "name": "hide-tags",
1431
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1432
+ "value": { "type": "boolean | undefined" }
1433
+ },
1434
+ {
1435
+ "name": "hint",
1436
+ "description": "If defined, sets the hint text under the select component in the form",
1437
+ "value": { "type": "string | undefined" }
1438
+ },
1439
+ {
1440
+ "name": "label",
1441
+ "description": "If defined, displays provided label",
1442
+ "value": { "type": "string | undefined" }
1443
+ },
1444
+ {
1445
+ "name": "max",
1446
+ "description": "If defined, limits the number of selectable options",
1447
+ "value": { "type": "number | undefined" }
1448
+ },
1449
+ {
1450
+ "name": "min",
1451
+ "description": "If defined, sets the minimum number of required options",
1452
+ "value": { "type": "number | undefined" }
1453
+ },
1454
+ {
1455
+ "name": "multiple",
1456
+ "description": "If true, allows for multiple options to be selected",
1457
+ "value": { "type": "boolean | undefined" }
1458
+ },
1459
+ {
1460
+ "name": "name",
1461
+ "description": "If defined, set name of the component",
1462
+ "value": { "type": "string | undefined" }
1463
+ },
1464
+ {
1465
+ "name": "required-label",
1466
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1467
+ "value": { "type": "string | undefined" }
1468
+ },
1469
+ {
1470
+ "name": "severity",
1471
+ "description": "If defined, displays provided severity state",
1472
+ "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1473
+ },
1474
+ {
1475
+ "name": "show-valid",
1476
+ "description": "If true, displays valid state after interaction",
1477
+ "value": { "type": "boolean | undefined" }
1478
+ },
1479
+ {
1480
+ "name": "size",
1481
+ "description": "Size of the Select",
1482
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1483
+ }
1484
+ ],
1485
+ "slots": [
1486
+ { "name": "", "description": "The select's placeholder content" }
1487
+ ],
1488
+ "events": [
1489
+ {
1490
+ "name": "change",
1491
+ "description": "Fired when the selected option(s) changes"
1492
+ },
1493
+ {
1494
+ "name": "invalid",
1495
+ "description": "Fired when the select is invalid"
1496
+ },
1497
+ { "name": "reset", "description": "Fired when the form is reset" },
1498
+ {
1499
+ "name": "skf-select:dropdown",
1500
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1501
+ },
1502
+ {
1503
+ "name": "skf-select-option:select",
1504
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1505
+ }
1506
+ ],
1507
+ "js": {
1508
+ "properties": [
1509
+ {
1510
+ "name": "buttonLabel",
1511
+ "description": "Sets the first visible text on the component",
1512
+ "type": "string"
1513
+ },
1514
+ {
1515
+ "name": "customInvalid",
1516
+ "description": "If defined, forces component to invalid state until removed",
1517
+ "type": "string | undefined"
1518
+ },
1519
+ {
1520
+ "name": "hideLabel",
1521
+ "description": "If true, hides the label visually",
1522
+ "type": "boolean | undefined"
1523
+ },
1524
+ {
1525
+ "name": "hideTags",
1526
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1527
+ "type": "boolean | undefined"
1528
+ },
1529
+ {
1530
+ "name": "hint",
1531
+ "description": "If defined, sets the hint text under the select component in the form",
1532
+ "type": "string | undefined"
1533
+ },
1534
+ {
1535
+ "name": "getSelectedValues",
1536
+ "description": "A readonly property that returns the selected value(s) in a array"
1537
+ },
1538
+ {
1539
+ "name": "getSelectedOptionsText",
1540
+ "description": "A readonly property that returns the selected slot(s) text content in a array"
1541
+ },
1542
+ {
1543
+ "name": "label",
1544
+ "description": "If defined, displays provided label",
1545
+ "type": "string | undefined"
1546
+ },
1547
+ {
1548
+ "name": "max",
1549
+ "description": "If defined, limits the number of selectable options",
1550
+ "type": "number | undefined"
1551
+ },
1552
+ {
1553
+ "name": "min",
1554
+ "description": "If defined, sets the minimum number of required options",
1555
+ "type": "number | undefined"
1556
+ },
1557
+ {
1558
+ "name": "multiple",
1559
+ "description": "If true, allows for multiple options to be selected",
1560
+ "type": "boolean | undefined"
1561
+ },
1562
+ {
1563
+ "name": "name",
1564
+ "description": "If defined, set name of the component",
1565
+ "type": "string | undefined"
1566
+ },
1567
+ {
1568
+ "name": "requiredLabel",
1569
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1570
+ "type": "string | undefined"
1571
+ },
1572
+ {
1573
+ "name": "severity",
1574
+ "description": "If defined, displays provided severity state",
1575
+ "type": "FormFieldBaseProps['severity'] | undefined"
1576
+ },
1577
+ {
1578
+ "name": "showValid",
1579
+ "description": "If true, displays valid state after interaction",
1580
+ "type": "boolean | undefined"
1581
+ },
1582
+ {
1583
+ "name": "size",
1584
+ "description": "Size of the Select",
1585
+ "type": "'sm' | 'md'"
1586
+ },
1587
+ {
1588
+ "name": "value",
1589
+ "description": "Read only, returns the selected value. (if multiple: in a comma separated string)"
1590
+ },
1591
+ { "name": "_selectedOptions", "type": "array" }
1592
+ ],
1593
+ "events": [
1594
+ {
1595
+ "name": "change",
1596
+ "description": "Fired when the selected option(s) changes"
1597
+ },
1598
+ {
1599
+ "name": "invalid",
1600
+ "description": "Fired when the select is invalid"
1601
+ },
1602
+ {
1603
+ "name": "reset",
1604
+ "description": "Fired when the form is reset"
1605
+ },
1606
+ {
1607
+ "name": "skf-select:dropdown",
1608
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1609
+ },
1610
+ {
1611
+ "name": "skf-select-option:select",
1612
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1613
+ }
1614
+ ]
1615
+ }
1616
+ },
1617
+ {
1618
+ "name": "skf-select-option",
1619
+ "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).",
1620
+ "doc-url": "",
1621
+ "attributes": [
1622
+ {
1623
+ "name": "disabled",
1624
+ "description": "If true, prevents interaction with the option",
1625
+ "value": { "type": "boolean | undefined" }
1626
+ },
1627
+ {
1628
+ "name": "icon",
1629
+ "description": "If defined, set an icon",
1630
+ "value": { "type": "SkfIcon['name'] | undefined" }
1631
+ },
1632
+ {
1633
+ "name": "icon-color",
1634
+ "description": "If defined, sets provided color on the icon",
1635
+ "value": { "type": "IconColor | undefined" }
1636
+ },
1637
+ {
1638
+ "name": "selected",
1639
+ "description": "If true, sets the option as selected",
1640
+ "value": { "type": "boolean | undefined" }
1641
+ },
1642
+ {
1643
+ "name": "short-label",
1644
+ "description": "If defined, sets a short label",
1645
+ "value": { "type": "string | undefined" }
1646
+ },
1647
+ {
1648
+ "name": "value",
1649
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
1650
+ "value": { "type": "string" }
1651
+ }
1652
+ ],
1653
+ "slots": [
1654
+ { "name": "", "description": "The option's text content" },
1655
+ {
1656
+ "name": "icon",
1657
+ "description": "The option's slot for icon or custom meta information (svg)."
1658
+ }
1659
+ ],
1660
+ "events": [
1661
+ {
1662
+ "name": "skf-select-option:select",
1663
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1664
+ }
1665
+ ],
1666
+ "js": {
1667
+ "properties": [
1668
+ {
1669
+ "name": "disabled",
1670
+ "description": "If true, prevents interaction with the option",
1671
+ "type": "boolean | undefined"
1672
+ },
1673
+ {
1674
+ "name": "icon",
1675
+ "description": "If defined, set an icon",
1676
+ "type": "SkfIcon['name'] | undefined"
1677
+ },
1678
+ {
1679
+ "name": "iconColor",
1680
+ "description": "If defined, sets provided color on the icon",
1681
+ "type": "IconColor | undefined"
1682
+ },
1683
+ {
1684
+ "name": "selected",
1685
+ "description": "If true, sets the option as selected",
1686
+ "type": "boolean | undefined"
1687
+ },
1688
+ {
1689
+ "name": "shortLabel",
1690
+ "description": "If defined, sets a short label",
1691
+ "type": "string | undefined"
1692
+ },
1693
+ {
1694
+ "name": "text",
1695
+ "description": "The option's label text (equivalent to the tags textContent)"
1696
+ },
1697
+ {
1698
+ "name": "value",
1699
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
1700
+ },
1701
+ { "name": "role", "type": "string" },
1702
+ { "name": "_parent" },
1703
+ { "name": "_shortcutUpdate", "type": "boolean" }
1704
+ ],
1705
+ "events": [
1706
+ {
1707
+ "name": "skf-select-option:select",
1708
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1709
+ }
1710
+ ]
1711
+ }
1712
+ },
1713
+ {
1714
+ "name": "skf-select-option-group",
1715
+ "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",
1716
+ "doc-url": "",
1717
+ "attributes": [
1718
+ {
1719
+ "name": "label",
1720
+ "value": { "type": "string", "default": "'Default label'" }
1721
+ }
1722
+ ],
1723
+ "slots": [
1724
+ { "name": "", "description": "The component's placeholder content" }
1725
+ ],
1726
+ "events": [],
1727
+ "js": {
1728
+ "properties": [{ "name": "label", "type": "string" }],
1729
+ "events": []
1730
+ }
1731
+ },
1373
1732
  {
1374
1733
  "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",
1734
+ "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
1735
  "doc-url": "",
1377
1736
  "attributes": [
1378
1737
  {
@@ -1402,7 +1761,7 @@
1402
1761
  },
1403
1762
  {
1404
1763
  "name": "label",
1405
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1764
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1406
1765
  "value": { "type": "string | undefined" }
1407
1766
  },
1408
1767
  {
@@ -1427,7 +1786,10 @@
1427
1786
  }
1428
1787
  ],
1429
1788
  "slots": [
1430
- { "name": "", "description": "The component's placeholder content" }
1789
+ {
1790
+ "name": "",
1791
+ "description": "The Switchs label. Alternatively, you can use the `label` attribute."
1792
+ }
1431
1793
  ],
1432
1794
  "events": [],
1433
1795
  "js": {
@@ -1449,7 +1811,7 @@
1449
1811
  },
1450
1812
  {
1451
1813
  "name": "label",
1452
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1814
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1453
1815
  "type": "string | undefined"
1454
1816
  },
1455
1817
  {
@@ -1483,19 +1845,19 @@
1483
1845
  "attributes": [
1484
1846
  {
1485
1847
  "name": "size",
1486
- "description": "Specifies Tag size -",
1848
+ "description": "Specifies Tag size",
1487
1849
  "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1488
1850
  },
1489
1851
  {
1490
1852
  "name": "icon",
1491
- "description": "If defined, displays leading/provided icon -",
1853
+ "description": "If defined, displays leading/provided icon",
1492
1854
  "value": {
1493
1855
  "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
1856
  }
1495
1857
  },
1496
1858
  {
1497
1859
  "name": "color",
1498
- "description": "If defined, gives the supplied appearance -",
1860
+ "description": "If defined, gives the supplied appearance",
1499
1861
  "value": {
1500
1862
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1501
1863
  }
@@ -1514,19 +1876,27 @@
1514
1876
  "properties": [
1515
1877
  {
1516
1878
  "name": "size",
1517
- "description": "Specifies Tag size -",
1879
+ "description": "Specifies Tag size",
1518
1880
  "type": "'sm' | 'md' | 'lg'"
1519
1881
  },
1520
1882
  {
1521
1883
  "name": "icon",
1522
- "description": "If defined, displays leading/provided icon -",
1884
+ "description": "If defined, displays leading/provided icon",
1523
1885
  "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
1886
  },
1525
1887
  {
1526
1888
  "name": "color",
1527
- "description": "If defined, gives the supplied appearance -",
1889
+ "description": "If defined, gives the supplied appearance",
1528
1890
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1529
1891
  },
1892
+ {
1893
+ "name": "onClick",
1894
+ "description": "If defined, accepts a function that runs on click"
1895
+ },
1896
+ {
1897
+ "name": "onRemove",
1898
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
1899
+ },
1530
1900
  {
1531
1901
  "name": "removable",
1532
1902
  "description": "If true, adds trailing button to remove tag",
@@ -1538,7 +1908,7 @@
1538
1908
  },
1539
1909
  {
1540
1910
  "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.",
1911
+ "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
1912
  "doc-url": "",
1543
1913
  "attributes": [
1544
1914
  {
@@ -1553,52 +1923,52 @@
1553
1923
  },
1554
1924
  {
1555
1925
  "name": "cols",
1556
- "description": "If provided, sets the cols of the textarea",
1557
- "value": { "type": "number", "default": "20" }
1926
+ "description": "If defined, sets the cols of the textarea",
1927
+ "value": { "type": "number | undefined" }
1558
1928
  },
1559
1929
  {
1560
1930
  "name": "custom-invalid",
1561
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
1931
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
1562
1932
  "value": { "type": "string" }
1563
1933
  },
1564
1934
  {
1565
1935
  "name": "debug",
1566
- "description": "If provided, outputs helping hints in console",
1567
- "value": { "type": "boolean", "default": "false" }
1936
+ "description": "If true, outputs helping hints in console",
1937
+ "value": { "type": "boolean | undefined" }
1568
1938
  },
1569
1939
  {
1570
1940
  "name": "hide-label",
1571
- "description": "hide-label - If true, hides the label visually",
1572
- "value": { "type": "boolean", "default": "false" }
1941
+ "description": "If true, hides the label visually",
1942
+ "value": { "type": "boolean | undefined" }
1573
1943
  },
1574
1944
  {
1575
1945
  "name": "hint",
1576
- "description": "If provided, displays informational text below the field",
1946
+ "description": "If defined, displays informational text below the field",
1577
1947
  "value": { "type": "string | undefined" }
1578
1948
  },
1579
1949
  {
1580
1950
  "name": "label",
1581
- "description": "The input's label. Alternatively, you can use the component slot.",
1582
- "value": { "type": "string", "default": "'Default label'" }
1951
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1952
+ "value": { "type": "string | undefined" }
1583
1953
  },
1584
1954
  {
1585
1955
  "name": "name",
1586
- "description": "If provided, adds name to the input-element",
1956
+ "description": "If defined, adds name to the input-element",
1587
1957
  "value": { "type": "string | undefined" }
1588
1958
  },
1589
1959
  {
1590
1960
  "name": "maxlength",
1591
- "description": "If provided, sets the maximum character length to accept for this input",
1961
+ "description": "If defined, sets the maximum character length to accept for this input",
1592
1962
  "value": { "type": "number | undefined" }
1593
1963
  },
1594
1964
  {
1595
1965
  "name": "minlength",
1596
- "description": "If provided, sets the minimum character length to accept for this input",
1966
+ "description": "If defined, sets the minimum character length to accept for this input",
1597
1967
  "value": { "type": "number | undefined" }
1598
1968
  },
1599
1969
  {
1600
1970
  "name": "placeholder",
1601
- "description": "If provided, displays placeholder text",
1971
+ "description": "If defined, displays placeholder text",
1602
1972
  "value": { "type": "string | undefined" }
1603
1973
  },
1604
1974
  {
@@ -1608,18 +1978,20 @@
1608
1978
  },
1609
1979
  {
1610
1980
  "name": "required-label",
1611
- "description": "If provided, renders an alternative A11y text for the asterisk",
1981
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1612
1982
  "value": { "type": "string | undefined" }
1613
1983
  },
1614
1984
  {
1615
1985
  "name": "rows",
1616
- "description": "If provided, sets the rows of the textarea",
1617
- "value": { "type": "number", "default": "2" }
1986
+ "description": "If defined, sets the rows of the textarea",
1987
+ "value": { "type": "number | undefined" }
1618
1988
  },
1619
1989
  {
1620
1990
  "name": "severity",
1621
- "description": "If provided, displays provided severity state",
1622
- "value": { "type": "\"success\" | \"error\"" }
1991
+ "description": "If defined, displays provided severity state",
1992
+ "value": {
1993
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1994
+ }
1623
1995
  },
1624
1996
  {
1625
1997
  "name": "show-valid",
@@ -1628,14 +2000,14 @@
1628
2000
  },
1629
2001
  {
1630
2002
  "name": "size",
1631
- "description": "If provided, displays an alternative size",
2003
+ "description": "Size of the Textarea",
1632
2004
  "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1633
2005
  },
1634
2006
  {
1635
2007
  "name": "validate-on",
1636
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
2008
+ "description": "Sets validation start",
1637
2009
  "value": {
1638
- "type": "'input' | 'change' | 'submit' | undefined",
2010
+ "type": "'input' | 'change' | 'submit'",
1639
2011
  "default": "'change'"
1640
2012
  }
1641
2013
  },
@@ -1647,8 +2019,8 @@
1647
2019
  ],
1648
2020
  "slots": [
1649
2021
  {
1650
- "name": "The",
1651
- "description": "textareas label. Alternatively, you can use the `label` attribute."
2022
+ "name": "",
2023
+ "description": "The textareas label. Alternatively, you can use the `label` attribute."
1652
2024
  }
1653
2025
  ],
1654
2026
  "events": [
@@ -1665,51 +2037,51 @@
1665
2037
  "properties": [
1666
2038
  {
1667
2039
  "name": "cols",
1668
- "description": "If provided, sets the cols of the textarea",
1669
- "type": "number"
2040
+ "description": "If defined, sets the cols of the textarea",
2041
+ "type": "number | undefined"
1670
2042
  },
1671
2043
  {
1672
2044
  "name": "customInvalid",
1673
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
2045
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
1674
2046
  },
1675
2047
  {
1676
2048
  "name": "debug",
1677
- "description": "If provided, outputs helping hints in console",
1678
- "type": "boolean"
2049
+ "description": "If true, outputs helping hints in console",
2050
+ "type": "boolean | undefined"
1679
2051
  },
1680
2052
  {
1681
2053
  "name": "hideLabel",
1682
- "description": "hide-label - If true, hides the label visually",
1683
- "type": "boolean"
2054
+ "description": "If true, hides the label visually",
2055
+ "type": "boolean | undefined"
1684
2056
  },
1685
2057
  {
1686
2058
  "name": "hint",
1687
- "description": "If provided, displays informational text below the field",
2059
+ "description": "If defined, displays informational text below the field",
1688
2060
  "type": "string | undefined"
1689
2061
  },
1690
2062
  {
1691
2063
  "name": "label",
1692
- "description": "The input's label. Alternatively, you can use the component slot.",
1693
- "type": "string"
2064
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
2065
+ "type": "string | undefined"
1694
2066
  },
1695
2067
  {
1696
2068
  "name": "name",
1697
- "description": "If provided, adds name to the input-element",
2069
+ "description": "If defined, adds name to the input-element",
1698
2070
  "type": "string | undefined"
1699
2071
  },
1700
2072
  {
1701
2073
  "name": "maxLength",
1702
- "description": "If provided, sets the maximum character length to accept for this input",
2074
+ "description": "If defined, sets the maximum character length to accept for this input",
1703
2075
  "type": "number | undefined"
1704
2076
  },
1705
2077
  {
1706
2078
  "name": "minLength",
1707
- "description": "If provided, sets the minimum character length to accept for this input",
2079
+ "description": "If defined, sets the minimum character length to accept for this input",
1708
2080
  "type": "number | undefined"
1709
2081
  },
1710
2082
  {
1711
2083
  "name": "placeholder",
1712
- "description": "If provided, displays placeholder text",
2084
+ "description": "If defined, displays placeholder text",
1713
2085
  "type": "string | undefined"
1714
2086
  },
1715
2087
  {
@@ -1719,18 +2091,18 @@
1719
2091
  },
1720
2092
  {
1721
2093
  "name": "requiredLabel",
1722
- "description": "If provided, renders an alternative A11y text for the asterisk",
2094
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1723
2095
  "type": "string | undefined"
1724
2096
  },
1725
2097
  {
1726
2098
  "name": "rows",
1727
- "description": "If provided, sets the rows of the textarea",
1728
- "type": "number"
2099
+ "description": "If defined, sets the rows of the textarea",
2100
+ "type": "number | undefined"
1729
2101
  },
1730
2102
  {
1731
2103
  "name": "severity",
1732
- "description": "If provided, displays provided severity state",
1733
- "type": "\"success\" | \"error\""
2104
+ "description": "If defined, displays provided severity state",
2105
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1734
2106
  },
1735
2107
  {
1736
2108
  "name": "showValid",
@@ -1739,13 +2111,13 @@
1739
2111
  },
1740
2112
  {
1741
2113
  "name": "size",
1742
- "description": "If provided, displays an alternative size",
2114
+ "description": "Size of the Textarea",
1743
2115
  "type": "'sm' | 'md' | undefined"
1744
2116
  },
1745
2117
  {
1746
2118
  "name": "validateOn",
1747
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
1748
- "type": "'input' | 'change' | 'submit' | undefined"
2119
+ "description": "Sets validation start",
2120
+ "type": "'input' | 'change' | 'submit'"
1749
2121
  },
1750
2122
  {
1751
2123
  "name": "value",