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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/README.md +26 -6
  2. package/custom-elements.json +18265 -0
  3. package/dist/components/accordion/accordion.component.d.ts +9 -5
  4. package/dist/components/accordion/accordion.component.js +22 -19
  5. package/dist/components/accordion/accordion.d.ts +1 -1
  6. package/dist/components/accordion/accordion.styles.js +3 -3
  7. package/dist/components/alert/alert.component.d.ts +7 -4
  8. package/dist/components/alert/alert.component.js +21 -19
  9. package/dist/components/alert/alert.styles.js +50 -47
  10. package/dist/components/button/button.component.d.ts +24 -0
  11. package/dist/components/button/button.component.js +80 -56
  12. package/dist/components/button/button.styles.js +2 -1
  13. package/dist/components/card/card.component.d.ts +3 -3
  14. package/dist/components/card/card.component.js +16 -19
  15. package/dist/components/card/card.styles.js +11 -3
  16. package/dist/components/checkbox/checkbox.component.d.ts +17 -15
  17. package/dist/components/checkbox/checkbox.component.js +95 -89
  18. package/dist/components/checkbox/checkbox.styles.js +7 -2
  19. package/dist/components/checkbox/checkbox.test.d.ts +1 -0
  20. package/dist/components/collapse/collapse.component.d.ts +9 -6
  21. package/dist/components/collapse/collapse.component.js +39 -36
  22. package/dist/components/collapse/collapse.styles.js +3 -3
  23. package/dist/components/collapse/collapse.test.d.ts +1 -0
  24. package/dist/components/divider/divider.component.d.ts +13 -10
  25. package/dist/components/divider/divider.component.js +34 -29
  26. package/dist/components/divider/divider.styles.js +1 -5
  27. package/dist/components/heading/heading.component.d.ts +12 -2
  28. package/dist/components/heading/heading.component.js +14 -14
  29. package/dist/components/heading/heading.styles.js +1 -1
  30. package/dist/components/icon/icon.component.d.ts +14 -8
  31. package/dist/components/icon/icon.component.js +6 -6
  32. package/dist/components/icon/icon.styles.js +56 -54
  33. package/dist/components/input/input.component.d.ts +44 -29
  34. package/dist/components/input/input.component.js +118 -111
  35. package/dist/components/link/link.component.d.ts +15 -12
  36. package/dist/components/link/link.component.js +7 -7
  37. package/dist/components/link/link.styles.js +1 -1
  38. package/dist/components/loader/loader.component.d.ts +7 -7
  39. package/dist/components/loader/loader.component.js +35 -61
  40. package/dist/components/loader/loader.styles.js +42 -10
  41. package/dist/components/logo/logo.component.d.ts +5 -3
  42. package/dist/components/logo/logo.component.js +8 -8
  43. package/dist/components/logo/logo.styles.js +2 -2
  44. package/dist/components/progress/progress.component.d.ts +22 -0
  45. package/dist/components/progress/progress.component.js +40 -0
  46. package/dist/components/progress/progress.d.ts +8 -0
  47. package/dist/components/progress/progress.js +6 -0
  48. package/dist/components/progress/progress.styles.d.ts +1 -0
  49. package/dist/components/progress/progress.styles.js +47 -0
  50. package/dist/components/radio/radio.component.d.ts +18 -18
  51. package/dist/components/radio/radio.component.js +94 -78
  52. package/dist/components/radio/radio.styles.js +6 -1
  53. package/dist/components/select/select.component.d.ts +140 -0
  54. package/dist/components/select/select.component.js +327 -0
  55. package/dist/components/select/select.controllers.d.ts +59 -0
  56. package/dist/components/select/select.controllers.js +172 -0
  57. package/dist/components/select/select.d.ts +8 -0
  58. package/dist/components/select/select.js +6 -0
  59. package/dist/components/select/select.styles.d.ts +1 -0
  60. package/dist/components/select/select.styles.js +131 -0
  61. package/dist/components/select-option/select-option.component.d.ts +77 -0
  62. package/dist/components/select-option/select-option.component.js +123 -0
  63. package/dist/components/select-option/select-option.controllers.d.ts +9 -0
  64. package/dist/components/select-option/select-option.d.ts +8 -0
  65. package/dist/components/select-option/select-option.js +6 -0
  66. package/dist/components/select-option/select-option.styles.d.ts +1 -0
  67. package/dist/components/select-option/select-option.styles.js +53 -0
  68. package/dist/components/select-option-group/select-option-group.component.d.ts +16 -0
  69. package/dist/components/select-option-group/select-option-group.component.js +31 -0
  70. package/dist/components/select-option-group/select-option-group.d.ts +8 -0
  71. package/dist/components/select-option-group/select-option-group.js +6 -0
  72. package/dist/components/select-option-group/select-option-group.style.d.ts +1 -0
  73. package/dist/components/select-option-group/select-option-group.style.js +18 -0
  74. package/dist/components/switch/switch.component.d.ts +2 -3
  75. package/dist/components/switch/switch.component.js +5 -2
  76. package/dist/components/switch/switch.styles.js +6 -1
  77. package/dist/components/switch/switch.test.d.ts +1 -0
  78. package/dist/components/tab/tab.component.d.ts +29 -0
  79. package/dist/components/tab/tab.component.js +57 -0
  80. package/dist/components/tab/tab.d.ts +8 -0
  81. package/dist/components/tab/tab.js +6 -0
  82. package/dist/components/tab/tab.styles.d.ts +1 -0
  83. package/dist/components/tab/tab.styles.js +123 -0
  84. package/dist/components/tab-group/tab-group.component.d.ts +43 -0
  85. package/dist/components/tab-group/tab-group.component.js +98 -0
  86. package/dist/components/tab-group/tab-group.d.ts +8 -0
  87. package/dist/components/tab-group/tab-group.js +6 -0
  88. package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
  89. package/dist/components/tab-group/tab-group.styles.js +75 -0
  90. package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
  91. package/dist/components/tab-panel/tab-panel.component.js +36 -0
  92. package/dist/components/tab-panel/tab-panel.d.ts +8 -0
  93. package/dist/components/tab-panel/tab-panel.js +6 -0
  94. package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
  95. package/dist/components/tab-panel/tab-panel.styles.js +13 -0
  96. package/dist/components/tag/tag.component.d.ts +25 -4
  97. package/dist/components/tag/tag.component.js +66 -29
  98. package/dist/components/tag/tag.styles.js +6 -5
  99. package/dist/components/textarea/textarea.component.d.ts +26 -23
  100. package/dist/components/textarea/textarea.component.js +20 -17
  101. package/dist/components/toast/toast.component.d.ts +35 -0
  102. package/dist/components/toast/toast.component.js +52 -0
  103. package/dist/components/toast/toast.d.ts +8 -0
  104. package/dist/components/toast/toast.js +6 -0
  105. package/dist/components/toast/toast.singleton.d.ts +26 -0
  106. package/dist/components/toast/toast.singleton.js +53 -0
  107. package/dist/components/toast/toast.styles.d.ts +1 -0
  108. package/dist/components/toast/toast.styles.js +9 -0
  109. package/dist/components/toast-item/toast-item.component.d.ts +21 -0
  110. package/dist/components/toast-item/toast-item.component.js +65 -0
  111. package/dist/components/toast-item/toast-item.d.ts +6 -0
  112. package/dist/components/toast-item/toast-item.js +2 -0
  113. package/dist/components/toast-item/toast-item.styles.d.ts +2 -0
  114. package/dist/components/toast-item/toast-item.styles.js +16 -0
  115. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
  116. package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
  117. package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
  118. package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
  119. package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
  120. package/dist/components/toast-wrapper/toast-wrapper.styles.js +20 -0
  121. package/dist/custom-elements.json +2146 -616
  122. package/dist/index.d.ts +8 -0
  123. package/dist/index.js +60 -36
  124. package/dist/internal/components/formBase.d.ts +19 -1
  125. package/dist/internal/components/formBase.js +29 -17
  126. package/dist/internal/components/hint/hint.component.js +12 -10
  127. package/dist/internal/components/hint/hint.styles.js +26 -10
  128. package/dist/internal/components/skf-element.d.ts +4 -4
  129. package/dist/internal/components/skf-element.js +15 -19
  130. package/dist/internal/helpers/array.d.ts +4 -0
  131. package/dist/internal/helpers/findMatchingTags.d.ts +2 -0
  132. package/dist/internal/helpers/findMatchingTags.js +12 -0
  133. package/dist/internal/helpers/hintSeverity.d.ts +2 -0
  134. package/dist/internal/helpers/hintSeverity.js +6 -0
  135. package/dist/internal/helpers/raiseError.d.ts +28 -0
  136. package/dist/internal/helpers/raiseError.js +29 -0
  137. package/dist/internal/helpers/watch.d.ts +27 -0
  138. package/dist/internal/helpers/watch.js +28 -0
  139. package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -6
  140. package/dist/react/index.d.ts +9 -0
  141. package/dist/react/index.js +9 -0
  142. package/dist/react/skf-button/index.d.ts +7 -1
  143. package/dist/react/skf-button/index.js +5 -1
  144. package/dist/react/skf-progress/index.d.ts +3 -0
  145. package/dist/react/skf-progress/index.js +13 -0
  146. package/dist/react/skf-select/index.d.ts +21 -0
  147. package/dist/react/skf-select/index.js +21 -0
  148. package/dist/react/skf-select-option/index.d.ts +9 -0
  149. package/dist/react/skf-select-option/index.js +17 -0
  150. package/dist/react/skf-select-option-group/index.d.ts +3 -0
  151. package/dist/react/skf-select-option-group/index.js +13 -0
  152. package/dist/react/skf-tab/index.d.ts +12 -0
  153. package/dist/react/skf-tab/index.js +18 -0
  154. package/dist/react/skf-tab-group/index.d.ts +3 -0
  155. package/dist/react/skf-tab-group/index.js +13 -0
  156. package/dist/react/skf-tab-panel/index.d.ts +3 -0
  157. package/dist/react/skf-tab-panel/index.js +13 -0
  158. package/dist/react/skf-toast/index.d.ts +3 -0
  159. package/dist/react/skf-toast/index.js +13 -0
  160. package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
  161. package/dist/react/skf-toast-wrapper/index.js +13 -0
  162. package/dist/styles/form-field.styles.js +11 -7
  163. package/dist/types/jsx/custom-element-jsx.d.ts +166 -995
  164. package/dist/types/vue/index.d.ts +368 -94
  165. package/dist/vscode.html-custom-data.json +408 -106
  166. package/dist/web-types.json +932 -281
  167. package/package.json +39 -35
@@ -4,7 +4,7 @@
4
4
  "tags": [
5
5
  {
6
6
  "name": "skf-accordion",
7
- "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)",
7
+ "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)",
8
8
  "attributes": [
9
9
  {
10
10
  "name": "animated",
@@ -13,12 +13,17 @@
13
13
  },
14
14
  {
15
15
  "name": "heading-as",
16
- "description": "Controls which heading element will be rendered",
17
- "values": [{ "name": "Exclude<HeadingType" }, { "name": "'h1'>" }]
16
+ "description": "Defines which heading element will be rendered",
17
+ "values": [
18
+ { "name": "h1" },
19
+ { "name": "h2" },
20
+ { "name": "h3" },
21
+ { "name": "h4" }
22
+ ]
18
23
  },
19
24
  {
20
25
  "name": "gap",
21
- "description": "If provided, adds a gap between each item",
26
+ "description": "If true, adds a gap between each item",
22
27
  "values": []
23
28
  },
24
29
  {
@@ -41,11 +46,11 @@
41
46
  },
42
47
  {
43
48
  "name": "skf-alert",
44
- "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",
49
+ "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",
45
50
  "attributes": [
46
51
  {
47
52
  "name": "closeable",
48
- "description": "If true, alert is being used as a toast with an close button",
53
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
49
54
  "values": []
50
55
  },
51
56
  {
@@ -61,14 +66,20 @@
61
66
  {
62
67
  "name": "severity",
63
68
  "description": "If defined, gives the supplied appearance",
64
- "values": [{ "name": "SeverityFgColor" }]
69
+ "values": [
70
+ { "name": "error" },
71
+ { "name": "info" },
72
+ { "name": "warning" },
73
+ { "name": "success" },
74
+ { "name": "alert" }
75
+ ]
65
76
  }
66
77
  ],
67
78
  "references": []
68
79
  },
69
80
  {
70
81
  "name": "skf-button",
71
- "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
82
+ "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
72
83
  "attributes": [
73
84
  {
74
85
  "name": "destructive",
@@ -247,6 +258,7 @@
247
258
  "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
248
259
  "values": []
249
260
  },
261
+ { "name": "no-validate", "values": [] },
250
262
  {
251
263
  "name": "size",
252
264
  "description": "If provided, displays an alternative size",
@@ -293,7 +305,7 @@
293
305
  },
294
306
  {
295
307
  "name": "skf-checkbox",
296
- "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",
308
+ "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.",
297
309
  "attributes": [
298
310
  {
299
311
  "name": "disabled",
@@ -320,11 +332,6 @@
320
332
  "description": "If true, forces component to invalid state until removed",
321
333
  "values": []
322
334
  },
323
- {
324
- "name": "hide-label",
325
- "description": "If true, hides the label visually",
326
- "values": []
327
- },
328
335
  {
329
336
  "name": "indeterminate",
330
337
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
@@ -345,21 +352,26 @@
345
352
  "description": "If defined, renders an alternative A11y text for the asterisk",
346
353
  "values": []
347
354
  },
348
- {
349
- "name": "size",
350
- "description": "Size of the checkbox",
351
- "values": [{ "name": "sm" }, { "name": "md" }]
352
- },
353
355
  {
354
356
  "name": "severity",
355
357
  "description": "If defined, styles checkbox using provided severity",
356
- "values": [{ "name": "FormFieldBaseProps['severity']" }]
358
+ "values": [
359
+ { "name": "alert" },
360
+ { "name": "success" },
361
+ { "name": "info" },
362
+ { "name": "warning" }
363
+ ]
357
364
  },
358
365
  {
359
366
  "name": "show-valid",
360
- "description": "If defined, displays valid state after interaction",
367
+ "description": "If true, displays valid state after interaction",
361
368
  "values": []
362
369
  },
370
+ {
371
+ "name": "size",
372
+ "description": "Size of the checkbox",
373
+ "values": [{ "name": "sm" }, { "name": "md" }]
374
+ },
363
375
  {
364
376
  "name": "value",
365
377
  "description": "The current value of the input field",
@@ -370,7 +382,7 @@
370
382
  },
371
383
  {
372
384
  "name": "skf-collapse",
373
- "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",
385
+ "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",
374
386
  "attributes": [
375
387
  {
376
388
  "name": "animated",
@@ -389,8 +401,13 @@
389
401
  },
390
402
  {
391
403
  "name": "heading-as",
392
- "description": "Controls which heading element will be rendered",
393
- "values": [{ "name": "Exclude<HeadingType" }, { "name": "'h1'>" }]
404
+ "description": "Defines which heading element will be rendered",
405
+ "values": [
406
+ { "name": "h1" },
407
+ { "name": "h2" },
408
+ { "name": "h3" },
409
+ { "name": "h4" }
410
+ ]
394
411
  },
395
412
  {
396
413
  "name": "small",
@@ -407,11 +424,11 @@
407
424
  },
408
425
  {
409
426
  "name": "skf-divider",
410
- "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)_",
427
+ "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)_",
411
428
  "attributes": [
412
429
  {
413
430
  "name": "color",
414
- "description": "If provided, alters the Divider color",
431
+ "description": "Defines the Divider color",
415
432
  "values": [
416
433
  { "name": "emphasised" },
417
434
  { "name": "primary" },
@@ -435,17 +452,27 @@
435
452
  },
436
453
  {
437
454
  "name": "skf-heading",
438
- "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",
455
+ "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",
439
456
  "attributes": [
440
457
  {
441
458
  "name": "as",
442
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
443
- "values": [{ "name": "HeadingType" }]
459
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
460
+ "values": [
461
+ { "name": "h1" },
462
+ { "name": "h2" },
463
+ { "name": "h3" },
464
+ { "name": "h4" }
465
+ ]
444
466
  },
445
467
  {
446
468
  "name": "styled-as",
447
469
  "description": "If provided, changes the appearance of the heading",
448
- "values": [{ "name": "HeadingType" }]
470
+ "values": [
471
+ { "name": "h1" },
472
+ { "name": "h2" },
473
+ { "name": "h3" },
474
+ { "name": "h4" }
475
+ ]
449
476
  }
450
477
  ],
451
478
  "references": []
@@ -456,6 +483,7 @@
456
483
  "attributes": [
457
484
  {
458
485
  "name": "color",
486
+ "description": "Sets the color of the icon",
459
487
  "values": [
460
488
  { "name": "primary" },
461
489
  { "name": "inverse" },
@@ -470,11 +498,12 @@
470
498
  },
471
499
  {
472
500
  "name": "label",
473
- "description": "If provided, adds an alternate description to use for assistive devices",
501
+ "description": "If defined, adds an alternate description to use for assistive devices",
474
502
  "values": []
475
503
  },
476
504
  {
477
505
  "name": "name",
506
+ "description": "Name of the icon to display",
478
507
  "values": [
479
508
  { "name": "arrowDown" },
480
509
  { "name": "arrowDownUp" },
@@ -631,6 +660,7 @@
631
660
  },
632
661
  {
633
662
  "name": "size",
663
+ "description": "Size of the icon",
634
664
  "values": [
635
665
  { "name": "xs" },
636
666
  { "name": "sm" },
@@ -643,7 +673,7 @@
643
673
  },
644
674
  {
645
675
  "name": "skf-input",
646
- "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",
676
+ "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.",
647
677
  "attributes": [
648
678
  {
649
679
  "name": "disabled",
@@ -655,29 +685,30 @@
655
685
  "description": "If true, value is required or must be checked for the form to be submittable",
656
686
  "values": []
657
687
  },
688
+ { "name": "autocomplete", "description": "-m }", "values": [] },
658
689
  {
659
690
  "name": "button-aria-label-clear",
660
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
691
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
661
692
  "values": []
662
693
  },
663
694
  {
664
695
  "name": "button-aria-label-hide",
665
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
696
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
666
697
  "values": []
667
698
  },
668
699
  {
669
700
  "name": "button-aria-label-show",
670
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
701
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
671
702
  "values": []
672
703
  },
673
704
  {
674
705
  "name": "custom-invalid",
675
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
706
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
676
707
  "values": []
677
708
  },
678
709
  {
679
710
  "name": "debug",
680
- "description": "If provided, outputs helping hints in console",
711
+ "description": "If true, outputs helping hints in console",
681
712
  "values": []
682
713
  },
683
714
  {
@@ -687,12 +718,12 @@
687
718
  },
688
719
  {
689
720
  "name": "hint",
690
- "description": "If provided, displays informational text below the field",
721
+ "description": "If defined, displays informational text below the field",
691
722
  "values": []
692
723
  },
693
724
  {
694
725
  "name": "inputmode",
695
- "description": "If provided, tells what keyboard to use if applicable",
726
+ "description": "Tells what keyboard to use if applicable",
696
727
  "values": [
697
728
  { "name": "none" },
698
729
  { "name": "text" },
@@ -706,47 +737,47 @@
706
737
  },
707
738
  {
708
739
  "name": "label",
709
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
740
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
710
741
  "values": []
711
742
  },
712
743
  {
713
744
  "name": "leading",
714
- "description": "If provided, displays a prefix/adornment before the input-element",
745
+ "description": "If defined, displays a prefix/adornment before the input-element",
715
746
  "values": []
716
747
  },
717
748
  {
718
749
  "name": "max",
719
- "description": "If provided, sets the maximum value to accept for this input",
750
+ "description": "If defined, sets the maximum value to accept for this input",
720
751
  "values": []
721
752
  },
722
753
  {
723
754
  "name": "maxlength",
724
- "description": "If provided, sets the maximum character length to accept for this input",
755
+ "description": "If defined, sets the maximum character length to accept for this input",
725
756
  "values": []
726
757
  },
727
758
  {
728
759
  "name": "min",
729
- "description": "If provided, sets the minimum value to accept for this input",
760
+ "description": "If defined, sets the minimum value to accept for this input",
730
761
  "values": []
731
762
  },
732
763
  {
733
764
  "name": "minlength",
734
- "description": "If provided, sets the minimum character length to accept for this input",
765
+ "description": "If defined, sets the minimum character length to accept for this input",
735
766
  "values": []
736
767
  },
737
768
  {
738
769
  "name": "name",
739
- "description": "If provided, adds name to the input-element",
770
+ "description": "If defined, adds name to the input-element",
740
771
  "values": []
741
772
  },
742
773
  {
743
774
  "name": "pattern",
744
- "description": "If provided, adds name to the input-element",
775
+ "description": "If defined, adds name to the input-element",
745
776
  "values": []
746
777
  },
747
778
  {
748
779
  "name": "placeholder",
749
- "description": "If provided, displays placeholder text",
780
+ "description": "If defined, displays placeholder text",
750
781
  "values": []
751
782
  },
752
783
  {
@@ -756,40 +787,63 @@
756
787
  },
757
788
  {
758
789
  "name": "required-label",
759
- "description": "If provided, renders an alternative A11y text for the asterisk",
790
+ "description": "If defined, renders an alternative A11y text for the asterisk",
760
791
  "values": []
761
792
  },
762
793
  {
763
794
  "name": "severity",
764
- "description": "If provided, displays provided severity state",
765
- "values": [{ "name": "FormFieldBaseProps['severity']" }]
795
+ "description": "If defined, displays provided severity state",
796
+ "values": [
797
+ { "name": "alert" },
798
+ { "name": "success" },
799
+ { "name": "info" },
800
+ { "name": "warning" }
801
+ ]
766
802
  },
767
803
  {
768
804
  "name": "show-valid",
769
- "description": "If provided, displays provided severity state",
805
+ "description": "If true, displays valid state after interaction",
770
806
  "values": []
771
807
  },
772
808
  {
773
809
  "name": "size",
774
- "description": "If provided, displays an alternative size",
810
+ "description": "Size of the input",
775
811
  "values": [{ "name": "sm" }, { "name": "md" }]
776
812
  },
777
813
  {
778
814
  "name": "trailing",
779
- "description": "If provided, displays a suffix/adornment after the input-element",
815
+ "description": "If defined, displays a suffix/adornment after the input-element",
780
816
  "values": []
781
817
  },
782
818
  {
783
819
  "name": "type",
784
- "description": "If provided, changes the type of form control",
820
+ "description": "Type of input control",
785
821
  "values": [
786
- { "name": "Exclude<FormFieldBaseProps['type'], 'checkbox'" },
787
- { "name": "'radio'>" }
822
+ { "name": "button" },
823
+ { "name": "color" },
824
+ { "name": "date" },
825
+ { "name": "datetime-local" },
826
+ { "name": "email" },
827
+ { "name": "file" },
828
+ { "name": "hidden" },
829
+ { "name": "image" },
830
+ { "name": "month" },
831
+ { "name": "number" },
832
+ { "name": "password" },
833
+ { "name": "range" },
834
+ { "name": "reset" },
835
+ { "name": "search" },
836
+ { "name": "submit" },
837
+ { "name": "tel" },
838
+ { "name": "text" },
839
+ { "name": "time" },
840
+ { "name": "url" },
841
+ { "name": "week" }
788
842
  ]
789
843
  },
790
844
  {
791
845
  "name": "validate-on",
792
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
846
+ "description": "Sets validation start",
793
847
  "values": [
794
848
  { "name": "input" },
795
849
  { "name": "change" },
@@ -810,11 +864,12 @@
810
864
  "attributes": [
811
865
  {
812
866
  "name": "as",
813
- "description": "Specifies semantic element to render -",
867
+ "description": "Defines the semantic element to render",
814
868
  "values": [{ "name": "button" }, { "name": "a" }]
815
869
  },
816
870
  {
817
871
  "name": "color",
872
+ "description": "Defines the text-color",
818
873
  "values": [{ "name": "primary" }, { "name": "inverse" }]
819
874
  },
820
875
  {
@@ -824,17 +879,17 @@
824
879
  },
825
880
  {
826
881
  "name": "download",
827
- "description": "If provided, downloads the url",
882
+ "description": "If defined, downloads the url",
828
883
  "values": []
829
884
  },
830
885
  {
831
886
  "name": "href",
832
- "description": "If provided, loads url on click",
887
+ "description": "If defined, loads url on click",
833
888
  "values": []
834
889
  },
835
890
  {
836
891
  "name": "icon",
837
- "description": "If provided, renders an icon before or after the text",
892
+ "description": "If defined, renders an icon before or after the text",
838
893
  "values": [
839
894
  { "name": "arrowDown" },
840
895
  { "name": "arrowDownUp" },
@@ -991,17 +1046,17 @@
991
1046
  },
992
1047
  {
993
1048
  "name": "icon-placement",
994
- "description": "Position of the icon in relation to the text -",
1049
+ "description": "Defines the position of the icon in relation to the text",
995
1050
  "values": [{ "name": "left" }, { "name": "right" }]
996
1051
  },
997
1052
  {
998
1053
  "name": "rel",
999
- "description": "Specifies the relationship of the target object to the link object -",
1054
+ "description": "Defines the relationship of the target object to the link object",
1000
1055
  "values": []
1001
1056
  },
1002
1057
  {
1003
1058
  "name": "route",
1004
- "description": "If provided, used on conjunction with onClick property, second argument",
1059
+ "description": "If defined, used on conjunction with onClick property, second argument",
1005
1060
  "values": []
1006
1061
  },
1007
1062
  {
@@ -1011,7 +1066,7 @@
1011
1066
  },
1012
1067
  {
1013
1068
  "name": "target",
1014
- "description": "If provided, specifies where to open the linked document",
1069
+ "description": "If defined, specifies where to open the linked document",
1015
1070
  "values": [
1016
1071
  { "name": "_blank" },
1017
1072
  { "name": "_parent" },
@@ -1021,7 +1076,7 @@
1021
1076
  },
1022
1077
  {
1023
1078
  "name": "type",
1024
- "description": "Type of button -",
1079
+ "description": "Defines the type of button",
1025
1080
  "values": [
1026
1081
  { "name": "button" },
1027
1082
  { "name": "submit" },
@@ -1033,9 +1088,13 @@
1033
1088
  },
1034
1089
  {
1035
1090
  "name": "skf-loader",
1036
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities.\n---\n",
1091
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1037
1092
  "attributes": [
1038
- { "name": "aria-label", "values": [] },
1093
+ {
1094
+ "name": "aria-label",
1095
+ "description": "Defines the aria-label",
1096
+ "values": []
1097
+ },
1039
1098
  {
1040
1099
  "name": "invert",
1041
1100
  "description": "If true, inverts the color (to be used on colored backgrounds)",
@@ -1043,7 +1102,7 @@
1043
1102
  },
1044
1103
  {
1045
1104
  "name": "size",
1046
- "description": "If provided, displays an alternative size",
1105
+ "description": "Defines the size of the loader",
1047
1106
  "values": [{ "name": "md" }, { "name": "sm" }]
1048
1107
  }
1049
1108
  ],
@@ -1055,12 +1114,12 @@
1055
1114
  "attributes": [
1056
1115
  {
1057
1116
  "name": "title",
1058
- "description": "The title of the logo",
1117
+ "description": "Defines the title of the logo",
1059
1118
  "values": []
1060
1119
  },
1061
1120
  {
1062
1121
  "name": "color",
1063
- "description": "If provided, sets color of the logo",
1122
+ "description": "If defined, sets color of the logo",
1064
1123
  "values": [
1065
1124
  { "name": "primary" },
1066
1125
  { "name": "secondary" },
@@ -1070,9 +1129,31 @@
1070
1129
  ],
1071
1130
  "references": []
1072
1131
  },
1132
+ {
1133
+ "name": "skf-progress",
1134
+ "description": "The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar\n---\n",
1135
+ "attributes": [
1136
+ {
1137
+ "name": "animated",
1138
+ "description": "If true, the progress-bar's fill value is animated",
1139
+ "values": []
1140
+ },
1141
+ {
1142
+ "name": "max",
1143
+ "description": "Describes how much work the task indicated by the progress element requires",
1144
+ "values": []
1145
+ },
1146
+ {
1147
+ "name": "value",
1148
+ "description": "Specifies how much of the task that has been completed",
1149
+ "values": []
1150
+ }
1151
+ ],
1152
+ "references": []
1153
+ },
1073
1154
  {
1074
1155
  "name": "skf-radio",
1075
- "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",
1156
+ "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.",
1076
1157
  "attributes": [
1077
1158
  {
1078
1159
  "name": "disabled",
@@ -1086,7 +1167,7 @@
1086
1167
  },
1087
1168
  {
1088
1169
  "name": "debug",
1089
- "description": "If provided, outputs helping hints in console",
1170
+ "description": "If true, outputs helping hints in console",
1090
1171
  "values": []
1091
1172
  },
1092
1173
  {
@@ -1099,52 +1180,177 @@
1099
1180
  "description": "If true, forces component to invalid state until removed",
1100
1181
  "values": []
1101
1182
  },
1183
+ {
1184
+ "name": "label",
1185
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1186
+ "values": []
1187
+ },
1188
+ {
1189
+ "name": "name",
1190
+ "description": "If defined, adds name to the input-element",
1191
+ "values": []
1192
+ },
1193
+ {
1194
+ "name": "required-label",
1195
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1196
+ "values": []
1197
+ },
1198
+ {
1199
+ "name": "size",
1200
+ "description": "Size of the Radio",
1201
+ "values": [{ "name": "sm" }, { "name": "md" }]
1202
+ },
1203
+ {
1204
+ "name": "severity",
1205
+ "description": "If defined, displays provided severity state",
1206
+ "values": [
1207
+ { "name": "success" },
1208
+ { "name": "info" },
1209
+ { "name": "warning" },
1210
+ { "name": "alert" }
1211
+ ]
1212
+ },
1213
+ {
1214
+ "name": "show-valid",
1215
+ "description": "If true, displays valid state after interaction",
1216
+ "values": []
1217
+ },
1218
+ {
1219
+ "name": "value",
1220
+ "description": "The current value of the input field",
1221
+ "values": []
1222
+ }
1223
+ ],
1224
+ "references": []
1225
+ },
1226
+ {
1227
+ "name": "skf-select",
1228
+ "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",
1229
+ "attributes": [
1230
+ {
1231
+ "name": "disabled",
1232
+ "description": "If true, the select is disabled\t`default: false`",
1233
+ "values": []
1234
+ },
1235
+ {
1236
+ "name": "button-label",
1237
+ "description": "Sets the first visible text on the component",
1238
+ "values": []
1239
+ },
1240
+ {
1241
+ "name": "custom-invalid",
1242
+ "description": "If defined, forces component to invalid state until removed",
1243
+ "values": []
1244
+ },
1102
1245
  {
1103
1246
  "name": "hide-label",
1104
1247
  "description": "If true, hides the label visually",
1105
1248
  "values": []
1106
1249
  },
1250
+ {
1251
+ "name": "hide-tags",
1252
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1253
+ "values": []
1254
+ },
1255
+ {
1256
+ "name": "hint",
1257
+ "description": "If defined, sets the hint text under the select component in the form",
1258
+ "values": []
1259
+ },
1107
1260
  {
1108
1261
  "name": "label",
1109
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1262
+ "description": "If defined, displays provided label",
1263
+ "values": []
1264
+ },
1265
+ {
1266
+ "name": "max",
1267
+ "description": "If defined, limits the number of selectable options",
1268
+ "values": []
1269
+ },
1270
+ {
1271
+ "name": "min",
1272
+ "description": "If defined, sets the minimum number of required options",
1273
+ "values": []
1274
+ },
1275
+ {
1276
+ "name": "multiple",
1277
+ "description": "If true, allows for multiple options to be selected",
1110
1278
  "values": []
1111
1279
  },
1112
1280
  {
1113
1281
  "name": "name",
1114
- "description": "If provided, adds name to the input-element",
1282
+ "description": "If defined, set name of the component",
1115
1283
  "values": []
1116
1284
  },
1117
1285
  {
1118
1286
  "name": "required-label",
1119
- "description": "If provided, renders an alternative A11y text for the asterisk",
1287
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1288
+ "values": []
1289
+ },
1290
+ {
1291
+ "name": "severity",
1292
+ "description": "If defined, displays provided severity state",
1293
+ "values": [{ "name": "FormFieldBaseProps['severity']" }]
1294
+ },
1295
+ {
1296
+ "name": "show-valid",
1297
+ "description": "If true, displays valid state after interaction",
1120
1298
  "values": []
1121
1299
  },
1122
1300
  {
1123
1301
  "name": "size",
1124
- "description": "If provided, displays an alternative size",
1302
+ "description": "Size of the Select",
1125
1303
  "values": [{ "name": "sm" }, { "name": "md" }]
1304
+ }
1305
+ ],
1306
+ "references": []
1307
+ },
1308
+ {
1309
+ "name": "skf-select-option",
1310
+ "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).",
1311
+ "attributes": [
1312
+ {
1313
+ "name": "disabled",
1314
+ "description": "If true, prevents interaction with the option",
1315
+ "values": []
1126
1316
  },
1127
1317
  {
1128
- "name": "severity",
1129
- "description": "If provided, displays provided severity state",
1130
- "values": [{ "name": "FormFieldBaseProps['severity']" }]
1318
+ "name": "icon",
1319
+ "description": "If defined, set an icon",
1320
+ "values": [{ "name": "SkfIcon['name']" }]
1131
1321
  },
1132
1322
  {
1133
- "name": "show-valid",
1134
- "description": "If provided, displays valid state after interaction",
1323
+ "name": "icon-color",
1324
+ "description": "If defined, sets provided color on the icon",
1325
+ "values": [{ "name": "SeverityFgColor" }]
1326
+ },
1327
+ {
1328
+ "name": "selected",
1329
+ "description": "If true, sets the option as selected",
1330
+ "values": []
1331
+ },
1332
+ {
1333
+ "name": "short-label",
1334
+ "description": "If defined, sets a short label",
1135
1335
  "values": []
1136
1336
  },
1137
1337
  {
1138
1338
  "name": "value",
1139
- "description": "The current value of the input field",
1339
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
1140
1340
  "values": []
1141
1341
  }
1142
1342
  ],
1143
1343
  "references": []
1144
1344
  },
1345
+ {
1346
+ "name": "skf-select-option-group",
1347
+ "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",
1348
+ "attributes": [{ "name": "label", "values": [] }],
1349
+ "references": []
1350
+ },
1145
1351
  {
1146
1352
  "name": "skf-switch",
1147
- "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",
1353
+ "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.",
1148
1354
  "attributes": [
1149
1355
  {
1150
1356
  "name": "disabled",
@@ -1173,7 +1379,7 @@
1173
1379
  },
1174
1380
  {
1175
1381
  "name": "label",
1176
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1382
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1177
1383
  "values": []
1178
1384
  },
1179
1385
  {
@@ -1199,18 +1405,70 @@
1199
1405
  ],
1200
1406
  "references": []
1201
1407
  },
1408
+ {
1409
+ "name": "skf-tab",
1410
+ "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
1411
+ "attributes": [
1412
+ {
1413
+ "name": "panel",
1414
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
1415
+ "values": []
1416
+ }
1417
+ ],
1418
+ "references": []
1419
+ },
1420
+ {
1421
+ "name": "skf-tab-group",
1422
+ "description": "The `<skf-tab-group>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
1423
+ "attributes": [
1424
+ {
1425
+ "name": "default-selected",
1426
+ "description": "Sets the default selected tab",
1427
+ "values": []
1428
+ },
1429
+ {
1430
+ "name": "no-border",
1431
+ "description": "If true, removes border",
1432
+ "values": []
1433
+ },
1434
+ {
1435
+ "name": "no-padding",
1436
+ "description": "If true, removes padding",
1437
+ "values": []
1438
+ },
1439
+ {
1440
+ "name": "stretch",
1441
+ "description": "If true, component fills the parent element height",
1442
+ "values": []
1443
+ },
1444
+ {
1445
+ "name": "variant",
1446
+ "description": "Sets the appearance of the tabs",
1447
+ "values": [{ "name": "compressed" }, { "name": "expanded" }]
1448
+ }
1449
+ ],
1450
+ "references": []
1451
+ },
1452
+ {
1453
+ "name": "skf-tab-panel",
1454
+ "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
1455
+ "attributes": [
1456
+ { "name": "name", "description": "The tab panel's name.", "values": [] }
1457
+ ],
1458
+ "references": []
1459
+ },
1202
1460
  {
1203
1461
  "name": "skf-tag",
1204
1462
  "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1205
1463
  "attributes": [
1206
1464
  {
1207
1465
  "name": "size",
1208
- "description": "Specifies Tag size -",
1466
+ "description": "Specifies Tag size",
1209
1467
  "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
1210
1468
  },
1211
1469
  {
1212
1470
  "name": "icon",
1213
- "description": "If defined, displays leading/provided icon -",
1471
+ "description": "If defined, displays leading/provided icon",
1214
1472
  "values": [
1215
1473
  { "name": "arrowDown" },
1216
1474
  { "name": "arrowDownUp" },
@@ -1367,7 +1625,7 @@
1367
1625
  },
1368
1626
  {
1369
1627
  "name": "color",
1370
- "description": "If defined, gives the supplied appearance -",
1628
+ "description": "If defined, gives the supplied appearance",
1371
1629
  "values": [
1372
1630
  { "name": "warning" },
1373
1631
  { "name": "success" },
@@ -1386,7 +1644,7 @@
1386
1644
  },
1387
1645
  {
1388
1646
  "name": "skf-textarea",
1389
- "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.",
1647
+ "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.",
1390
1648
  "attributes": [
1391
1649
  {
1392
1650
  "name": "disabled",
@@ -1400,52 +1658,52 @@
1400
1658
  },
1401
1659
  {
1402
1660
  "name": "cols",
1403
- "description": "If provided, sets the cols of the textarea",
1661
+ "description": "If defined, sets the cols of the textarea",
1404
1662
  "values": []
1405
1663
  },
1406
1664
  {
1407
1665
  "name": "custom-invalid",
1408
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
1666
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
1409
1667
  "values": []
1410
1668
  },
1411
1669
  {
1412
1670
  "name": "debug",
1413
- "description": "If provided, outputs helping hints in console",
1671
+ "description": "If true, outputs helping hints in console",
1414
1672
  "values": []
1415
1673
  },
1416
1674
  {
1417
1675
  "name": "hide-label",
1418
- "description": "hide-label - If true, hides the label visually",
1676
+ "description": "If true, hides the label visually",
1419
1677
  "values": []
1420
1678
  },
1421
1679
  {
1422
1680
  "name": "hint",
1423
- "description": "If provided, displays informational text below the field",
1681
+ "description": "If defined, displays informational text below the field",
1424
1682
  "values": []
1425
1683
  },
1426
1684
  {
1427
1685
  "name": "label",
1428
- "description": "The input's label. Alternatively, you can use the component slot.",
1686
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1429
1687
  "values": []
1430
1688
  },
1431
1689
  {
1432
1690
  "name": "name",
1433
- "description": "If provided, adds name to the input-element",
1691
+ "description": "If defined, adds name to the input-element",
1434
1692
  "values": []
1435
1693
  },
1436
1694
  {
1437
1695
  "name": "maxlength",
1438
- "description": "If provided, sets the maximum character length to accept for this input",
1696
+ "description": "If defined, sets the maximum character length to accept for this input",
1439
1697
  "values": []
1440
1698
  },
1441
1699
  {
1442
1700
  "name": "minlength",
1443
- "description": "If provided, sets the minimum character length to accept for this input",
1701
+ "description": "If defined, sets the minimum character length to accept for this input",
1444
1702
  "values": []
1445
1703
  },
1446
1704
  {
1447
1705
  "name": "placeholder",
1448
- "description": "If provided, displays placeholder text",
1706
+ "description": "If defined, displays placeholder text",
1449
1707
  "values": []
1450
1708
  },
1451
1709
  {
@@ -1455,18 +1713,23 @@
1455
1713
  },
1456
1714
  {
1457
1715
  "name": "required-label",
1458
- "description": "If provided, renders an alternative A11y text for the asterisk",
1716
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1459
1717
  "values": []
1460
1718
  },
1461
1719
  {
1462
1720
  "name": "rows",
1463
- "description": "If provided, sets the rows of the textarea",
1721
+ "description": "If defined, sets the rows of the textarea",
1464
1722
  "values": []
1465
1723
  },
1466
1724
  {
1467
1725
  "name": "severity",
1468
- "description": "If provided, displays provided severity state",
1469
- "values": [{ "name": "success" }, { "name": "error" }]
1726
+ "description": "If defined, displays provided severity state",
1727
+ "values": [
1728
+ { "name": "success" },
1729
+ { "name": "info" },
1730
+ { "name": "warning" },
1731
+ { "name": "alert" }
1732
+ ]
1470
1733
  },
1471
1734
  {
1472
1735
  "name": "show-valid",
@@ -1475,12 +1738,12 @@
1475
1738
  },
1476
1739
  {
1477
1740
  "name": "size",
1478
- "description": "If provided, displays an alternative size",
1741
+ "description": "Size of the Textarea",
1479
1742
  "values": [{ "name": "sm" }, { "name": "md" }]
1480
1743
  },
1481
1744
  {
1482
1745
  "name": "validate-on",
1483
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
1746
+ "description": "Sets validation start",
1484
1747
  "values": [
1485
1748
  { "name": "input" },
1486
1749
  { "name": "change" },
@@ -1494,6 +1757,45 @@
1494
1757
  }
1495
1758
  ],
1496
1759
  "references": []
1760
+ },
1761
+ {
1762
+ "name": "skf-toast",
1763
+ "description": "A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1764
+ "attributes": [
1765
+ {
1766
+ "name": "closeable",
1767
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
1768
+ "values": []
1769
+ },
1770
+ { "name": "debug", "values": [] },
1771
+ {
1772
+ "name": "severity",
1773
+ "description": "Severity of the toast.",
1774
+ "values": [
1775
+ { "name": "info" },
1776
+ { "name": "success" },
1777
+ { "name": "warning" },
1778
+ { "name": "error" }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "name": "timer",
1783
+ "description": "Time in seconds before the toast disappears.",
1784
+ "values": []
1785
+ },
1786
+ {
1787
+ "name": "topOffset",
1788
+ "description": "offsets where toasts emerge vertically",
1789
+ "values": []
1790
+ }
1791
+ ],
1792
+ "references": []
1793
+ },
1794
+ {
1795
+ "name": "skf-toast-wrapper",
1796
+ "description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
1797
+ "attributes": [{ "name": "debug", "values": [] }],
1798
+ "references": []
1497
1799
  }
1498
1800
  ]
1499
1801
  }