@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
@@ -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": [
@@ -160,7 +162,7 @@
160
162
  },
161
163
  {
162
164
  "name": "skf-button",
163
- "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
165
+ "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",
164
166
  "doc-url": "",
165
167
  "attributes": [
166
168
  {
@@ -193,6 +195,10 @@
193
195
  "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
194
196
  "value": { "type": "boolean", "default": "false" }
195
197
  },
198
+ {
199
+ "name": "no-validate",
200
+ "value": { "type": "boolean", "default": "false" }
201
+ },
196
202
  {
197
203
  "name": "size",
198
204
  "description": "If provided, displays an alternative size",
@@ -216,7 +222,12 @@
216
222
  }
217
223
  ],
218
224
  "slots": [{ "name": "", "description": "The Primary content" }],
219
- "events": [],
225
+ "events": [
226
+ {
227
+ "name": "click",
228
+ "description": "Fires when the button is clicked"
229
+ }
230
+ ],
220
231
  "js": {
221
232
  "properties": [
222
233
  {
@@ -244,6 +255,7 @@
244
255
  "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
245
256
  "type": "boolean"
246
257
  },
258
+ { "name": "noValidate", "type": "boolean" },
247
259
  {
248
260
  "name": "size",
249
261
  "description": "If provided, displays an alternative size",
@@ -260,7 +272,12 @@
260
272
  "type": "'primary' | 'secondary'"
261
273
  }
262
274
  ],
263
- "events": []
275
+ "events": [
276
+ {
277
+ "name": "click",
278
+ "description": "Fires when the button is clicked"
279
+ }
280
+ ]
264
281
  }
265
282
  },
266
283
  {
@@ -271,17 +288,17 @@
271
288
  {
272
289
  "name": "no-border",
273
290
  "description": "If true, removes border",
274
- "value": { "type": "boolean", "default": "false" }
291
+ "value": { "type": "boolean | undefined" }
275
292
  },
276
293
  {
277
294
  "name": "no-padding",
278
295
  "description": "If true, removes padding",
279
- "value": { "type": "boolean", "default": "false" }
296
+ "value": { "type": "boolean | undefined" }
280
297
  },
281
298
  {
282
299
  "name": "stretch",
283
300
  "description": "If true, the Card fills the parent element height",
284
- "value": { "type": "boolean", "default": "false" }
301
+ "value": { "type": "boolean | undefined" }
285
302
  }
286
303
  ],
287
304
  "slots": [{ "name": "", "description": "The card's main content" }],
@@ -291,17 +308,17 @@
291
308
  {
292
309
  "name": "noBorder",
293
310
  "description": "If true, removes border",
294
- "type": "boolean"
311
+ "type": "boolean | undefined"
295
312
  },
296
313
  {
297
314
  "name": "noPadding",
298
315
  "description": "If true, removes padding",
299
- "type": "boolean"
316
+ "type": "boolean | undefined"
300
317
  },
301
318
  {
302
319
  "name": "stretch",
303
320
  "description": "If true, the Card fills the parent element height",
304
- "type": "boolean"
321
+ "type": "boolean | undefined"
305
322
  }
306
323
  ],
307
324
  "events": []
@@ -309,7 +326,7 @@
309
326
  },
310
327
  {
311
328
  "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",
329
+ "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
330
  "doc-url": "",
314
331
  "attributes": [
315
332
  {
@@ -337,11 +354,6 @@
337
354
  "description": "If true, forces component to invalid state until removed",
338
355
  "value": { "type": "boolean | undefined" }
339
356
  },
340
- {
341
- "name": "hide-label",
342
- "description": "If true, hides the label visually",
343
- "value": { "type": "boolean | undefined" }
344
- },
345
357
  {
346
358
  "name": "indeterminate",
347
359
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
@@ -362,21 +374,23 @@
362
374
  "description": "If defined, renders an alternative A11y text for the asterisk",
363
375
  "value": { "type": "string | undefined" }
364
376
  },
365
- {
366
- "name": "size",
367
- "description": "Size of the checkbox",
368
- "value": { "type": "'sm' | 'md'", "default": "'md'" }
369
- },
370
377
  {
371
378
  "name": "severity",
372
379
  "description": "If defined, styles checkbox using provided severity",
373
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
380
+ "value": {
381
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
382
+ }
374
383
  },
375
384
  {
376
385
  "name": "show-valid",
377
- "description": "If defined, displays valid state after interaction",
386
+ "description": "If true, displays valid state after interaction",
378
387
  "value": { "type": "boolean | undefined" }
379
388
  },
389
+ {
390
+ "name": "size",
391
+ "description": "Size of the checkbox",
392
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
393
+ },
380
394
  {
381
395
  "name": "value",
382
396
  "description": "The current value of the input field",
@@ -385,8 +399,8 @@
385
399
  ],
386
400
  "slots": [
387
401
  {
388
- "name": "Default",
389
- "description": "Alternatively, you can use the `label` attribute"
402
+ "name": "",
403
+ "description": "The Radios label. Alternatively, you can use the `label` attribute."
390
404
  }
391
405
  ],
392
406
  "events": [
@@ -412,11 +426,6 @@
412
426
  "description": "If true, forces component to invalid state until removed",
413
427
  "type": "boolean | undefined"
414
428
  },
415
- {
416
- "name": "hideLabel",
417
- "description": "If true, hides the label visually",
418
- "type": "boolean | undefined"
419
- },
420
429
  {
421
430
  "name": "indeterminate",
422
431
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
@@ -437,21 +446,21 @@
437
446
  "description": "If defined, renders an alternative A11y text for the asterisk",
438
447
  "type": "string | undefined"
439
448
  },
440
- {
441
- "name": "size",
442
- "description": "Size of the checkbox",
443
- "type": "'sm' | 'md'"
444
- },
445
449
  {
446
450
  "name": "severity",
447
451
  "description": "If defined, styles checkbox using provided severity",
448
- "type": "FormFieldBaseProps['severity'] | undefined"
452
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
449
453
  },
450
454
  {
451
455
  "name": "showValid",
452
- "description": "If defined, displays valid state after interaction",
456
+ "description": "If true, displays valid state after interaction",
453
457
  "type": "boolean | undefined"
454
458
  },
459
+ {
460
+ "name": "size",
461
+ "description": "Size of the checkbox",
462
+ "type": "'sm' | 'md'"
463
+ },
455
464
  {
456
465
  "name": "value",
457
466
  "description": "The current value of the input field",
@@ -468,18 +477,18 @@
468
477
  },
469
478
  {
470
479
  "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",
480
+ "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
481
  "doc-url": "",
473
482
  "attributes": [
474
483
  {
475
484
  "name": "animated",
476
485
  "description": "If true, will animate the expand/collapse state",
477
- "value": { "type": "boolean", "default": "false" }
486
+ "value": { "type": "boolean | undefined" }
478
487
  },
479
488
  {
480
489
  "name": "expanded",
481
490
  "description": "If true, will set the collapse to be expanded by default",
482
- "value": { "type": "boolean", "default": "false" }
491
+ "value": { "type": "boolean | undefined" }
483
492
  },
484
493
  {
485
494
  "name": "heading",
@@ -488,21 +497,21 @@
488
497
  },
489
498
  {
490
499
  "name": "heading-as",
491
- "description": "Controls which heading element will be rendered",
500
+ "description": "Defines which heading element will be rendered",
492
501
  "value": {
493
- "type": "Exclude<HeadingType, 'h1'>",
502
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
494
503
  "default": "'h2'"
495
504
  }
496
505
  },
497
506
  {
498
507
  "name": "small",
499
508
  "description": "If true, renders the small version",
500
- "value": { "type": "boolean", "default": "false" }
509
+ "value": { "type": "boolean | undefined" }
501
510
  },
502
511
  {
503
512
  "name": "truncate",
504
513
  "description": "If true, will truncate the heading in collapsed state",
505
- "value": { "type": "boolean", "default": "false" }
514
+ "value": { "type": "boolean | undefined" }
506
515
  }
507
516
  ],
508
517
  "slots": [{ "name": "", "description": "Main content" }],
@@ -518,12 +527,12 @@
518
527
  {
519
528
  "name": "animated",
520
529
  "description": "If true, will animate the expand/collapse state",
521
- "type": "boolean"
530
+ "type": "boolean | undefined"
522
531
  },
523
532
  {
524
533
  "name": "expanded",
525
534
  "description": "If true, will set the collapse to be expanded by default",
526
- "type": "boolean"
535
+ "type": "boolean | undefined"
527
536
  },
528
537
  {
529
538
  "name": "heading",
@@ -532,18 +541,18 @@
532
541
  },
533
542
  {
534
543
  "name": "headingAs",
535
- "description": "Controls which heading element will be rendered",
536
- "type": "Exclude<HeadingType, 'h1'>"
544
+ "description": "Defines which heading element will be rendered",
545
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
537
546
  },
538
547
  {
539
548
  "name": "small",
540
549
  "description": "If true, renders the small version",
541
- "type": "boolean"
550
+ "type": "boolean | undefined"
542
551
  },
543
552
  {
544
553
  "name": "truncate",
545
554
  "description": "If true, will truncate the heading in collapsed state",
546
- "type": "boolean"
555
+ "type": "boolean | undefined"
547
556
  }
548
557
  ],
549
558
  "events": [
@@ -557,12 +566,12 @@
557
566
  },
558
567
  {
559
568
  "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)_",
569
+ "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
570
  "doc-url": "",
562
571
  "attributes": [
563
572
  {
564
573
  "name": "color",
565
- "description": "If provided, alters the Divider color",
574
+ "description": "Defines the Divider color",
566
575
  "value": {
567
576
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
568
577
  "default": "'primary'"
@@ -571,12 +580,12 @@
571
580
  {
572
581
  "name": "decorative",
573
582
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
574
- "value": { "type": "boolean", "default": "false" }
583
+ "value": { "type": "boolean | undefined" }
575
584
  },
576
585
  {
577
586
  "name": "vertical",
578
587
  "description": "If true, renders the divider vertically",
579
- "value": { "type": "boolean", "default": "false" }
588
+ "value": { "type": "boolean | undefined" }
580
589
  }
581
590
  ],
582
591
  "events": [],
@@ -584,18 +593,18 @@
584
593
  "properties": [
585
594
  {
586
595
  "name": "color",
587
- "description": "If provided, alters the Divider color",
596
+ "description": "Defines the Divider color",
588
597
  "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
589
598
  },
590
599
  {
591
600
  "name": "decorative",
592
601
  "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
593
- "type": "boolean"
602
+ "type": "boolean | undefined"
594
603
  },
595
604
  {
596
605
  "name": "vertical",
597
606
  "description": "If true, renders the divider vertically",
598
- "type": "boolean"
607
+ "type": "boolean | undefined"
599
608
  }
600
609
  ],
601
610
  "events": []
@@ -603,32 +612,36 @@
603
612
  },
604
613
  {
605
614
  "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",
615
+ "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
616
  "doc-url": "",
608
617
  "attributes": [
609
618
  {
610
619
  "name": "as",
611
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
612
- "value": { "type": "HeadingType", "default": "'h1'" }
620
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
621
+ "value": {
622
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
623
+ "default": "'h1'"
624
+ }
613
625
  },
614
626
  {
615
627
  "name": "styled-as",
616
628
  "description": "If provided, changes the appearance of the heading",
617
- "value": { "type": "HeadingType | undefined" }
629
+ "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
618
630
  }
619
631
  ],
632
+ "slots": [{ "name": "", "description": "The headings content" }],
620
633
  "events": [],
621
634
  "js": {
622
635
  "properties": [
623
636
  {
624
637
  "name": "as",
625
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance.",
626
- "type": "HeadingType"
638
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
639
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
627
640
  },
628
641
  {
629
642
  "name": "styledAs",
630
643
  "description": "If provided, changes the appearance of the heading",
631
- "type": "HeadingType | undefined"
644
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
632
645
  }
633
646
  ],
634
647
  "events": []
@@ -641,6 +654,7 @@
641
654
  "attributes": [
642
655
  {
643
656
  "name": "color",
657
+ "description": "Sets the color of the icon",
644
658
  "value": {
645
659
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
646
660
  "default": "'primary'"
@@ -648,17 +662,19 @@
648
662
  },
649
663
  {
650
664
  "name": "label",
651
- "description": "If provided, adds an alternate description to use for assistive devices",
665
+ "description": "If defined, adds an alternate description to use for assistive devices",
652
666
  "value": { "type": "string | undefined" }
653
667
  },
654
668
  {
655
669
  "name": "name",
670
+ "description": "Name of the icon to display",
656
671
  "value": {
657
672
  "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
673
  }
659
674
  },
660
675
  {
661
676
  "name": "size",
677
+ "description": "Size of the icon",
662
678
  "value": {
663
679
  "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
664
680
  "default": "'md'"
@@ -670,25 +686,31 @@
670
686
  "properties": [
671
687
  {
672
688
  "name": "color",
689
+ "description": "Sets the color of the icon",
673
690
  "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
674
691
  },
675
692
  {
676
693
  "name": "label",
677
- "description": "If provided, adds an alternate description to use for assistive devices",
694
+ "description": "If defined, adds an alternate description to use for assistive devices",
678
695
  "type": "string | undefined"
679
696
  },
680
697
  {
681
698
  "name": "name",
699
+ "description": "Name of the icon to display",
682
700
  "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
701
  },
684
- { "name": "size", "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"" }
702
+ {
703
+ "name": "size",
704
+ "description": "Size of the icon",
705
+ "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
706
+ }
685
707
  ],
686
708
  "events": []
687
709
  }
688
710
  },
689
711
  {
690
712
  "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",
713
+ "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
714
  "doc-url": "",
693
715
  "attributes": [
694
716
  {
@@ -701,44 +723,49 @@
701
723
  "description": "If true, value is required or must be checked for the form to be submittable",
702
724
  "value": { "type": "boolean" }
703
725
  },
726
+ {
727
+ "name": "autocomplete",
728
+ "description": "-m }",
729
+ "value": { "type": "string" }
730
+ },
704
731
  {
705
732
  "name": "button-aria-label-clear",
706
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
733
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
707
734
  "value": { "type": "string", "default": "'Clear input'" }
708
735
  },
709
736
  {
710
737
  "name": "button-aria-label-hide",
711
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
738
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
712
739
  "value": { "type": "string", "default": "'Hide password'" }
713
740
  },
714
741
  {
715
742
  "name": "button-aria-label-show",
716
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
743
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
717
744
  "value": { "type": "string", "default": "'Show password'" }
718
745
  },
719
746
  {
720
747
  "name": "custom-invalid",
721
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
748
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
722
749
  "value": { "type": "string" }
723
750
  },
724
751
  {
725
752
  "name": "debug",
726
- "description": "If provided, outputs helping hints in console",
727
- "value": { "type": "boolean", "default": "false" }
753
+ "description": "If true, outputs helping hints in console",
754
+ "value": { "type": "boolean | undefined" }
728
755
  },
729
756
  {
730
757
  "name": "hide-label",
731
758
  "description": "If true, hides the label visually",
732
- "value": { "type": "boolean", "default": "false" }
759
+ "value": { "type": "boolean | undefined" }
733
760
  },
734
761
  {
735
762
  "name": "hint",
736
- "description": "If provided, displays informational text below the field",
763
+ "description": "If defined, displays informational text below the field",
737
764
  "value": { "type": "string | undefined" }
738
765
  },
739
766
  {
740
767
  "name": "inputmode",
741
- "description": "If provided, tells what keyboard to use if applicable",
768
+ "description": "Tells what keyboard to use if applicable",
742
769
  "value": {
743
770
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
744
771
  "default": "'text'"
@@ -746,47 +773,47 @@
746
773
  },
747
774
  {
748
775
  "name": "label",
749
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
776
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
750
777
  "value": { "type": "string | undefined" }
751
778
  },
752
779
  {
753
780
  "name": "leading",
754
- "description": "If provided, displays a prefix/adornment before the input-element",
781
+ "description": "If defined, displays a prefix/adornment before the input-element",
755
782
  "value": { "type": "string | undefined" }
756
783
  },
757
784
  {
758
785
  "name": "max",
759
- "description": "If provided, sets the maximum value to accept for this input",
786
+ "description": "If defined, sets the maximum value to accept for this input",
760
787
  "value": { "type": "number | string | undefined" }
761
788
  },
762
789
  {
763
790
  "name": "maxlength",
764
- "description": "If provided, sets the maximum character length to accept for this input",
791
+ "description": "If defined, sets the maximum character length to accept for this input",
765
792
  "value": { "type": "number | undefined" }
766
793
  },
767
794
  {
768
795
  "name": "min",
769
- "description": "If provided, sets the minimum value to accept for this input",
796
+ "description": "If defined, sets the minimum value to accept for this input",
770
797
  "value": { "type": "number | string | undefined" }
771
798
  },
772
799
  {
773
800
  "name": "minlength",
774
- "description": "If provided, sets the minimum character length to accept for this input",
801
+ "description": "If defined, sets the minimum character length to accept for this input",
775
802
  "value": { "type": "number | undefined" }
776
803
  },
777
804
  {
778
805
  "name": "name",
779
- "description": "If provided, adds name to the input-element",
806
+ "description": "If defined, adds name to the input-element",
780
807
  "value": { "type": "string | undefined" }
781
808
  },
782
809
  {
783
810
  "name": "pattern",
784
- "description": "If provided, adds name to the input-element",
811
+ "description": "If defined, adds name to the input-element",
785
812
  "value": { "type": "string | undefined" }
786
813
  },
787
814
  {
788
815
  "name": "placeholder",
789
- "description": "If provided, displays placeholder text",
816
+ "description": "If defined, displays placeholder text",
790
817
  "value": { "type": "string | undefined" }
791
818
  },
792
819
  {
@@ -796,42 +823,44 @@
796
823
  },
797
824
  {
798
825
  "name": "required-label",
799
- "description": "If provided, renders an alternative A11y text for the asterisk",
826
+ "description": "If defined, renders an alternative A11y text for the asterisk",
800
827
  "value": { "type": "string | undefined" }
801
828
  },
802
829
  {
803
830
  "name": "severity",
804
- "description": "If provided, displays provided severity state",
805
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
831
+ "description": "If defined, displays provided severity state",
832
+ "value": {
833
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
834
+ }
806
835
  },
807
836
  {
808
837
  "name": "show-valid",
809
- "description": "If provided, displays provided severity state",
838
+ "description": "If true, displays valid state after interaction",
810
839
  "value": { "type": "boolean | undefined" }
811
840
  },
812
841
  {
813
842
  "name": "size",
814
- "description": "If provided, displays an alternative size",
815
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
843
+ "description": "Size of the input",
844
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
816
845
  },
817
846
  {
818
847
  "name": "trailing",
819
- "description": "If provided, displays a suffix/adornment after the input-element",
848
+ "description": "If defined, displays a suffix/adornment after the input-element",
820
849
  "value": { "type": "string | undefined" }
821
850
  },
822
851
  {
823
852
  "name": "type",
824
- "description": "If provided, changes the type of form control",
853
+ "description": "Type of input control",
825
854
  "value": {
826
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined",
855
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'",
827
856
  "default": "'text'"
828
857
  }
829
858
  },
830
859
  {
831
860
  "name": "validate-on",
832
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
861
+ "description": "Sets validation start",
833
862
  "value": {
834
- "type": "'input' | 'change' | 'submit' | undefined",
863
+ "type": "'input' | 'change' | 'submit'",
835
864
  "default": "'change'"
836
865
  }
837
866
  },
@@ -843,8 +872,8 @@
843
872
  ],
844
873
  "slots": [
845
874
  {
846
- "name": "Default",
847
- "description": " Alternatively, you can use the `label` attribute"
875
+ "name": "",
876
+ "description": "The Inputs label. Alternatively, you can use the `label` attribute."
848
877
  }
849
878
  ],
850
879
  "events": [
@@ -859,88 +888,89 @@
859
888
  ],
860
889
  "js": {
861
890
  "properties": [
891
+ { "name": "autocomplete", "description": "-m }", "type": "" },
862
892
  {
863
893
  "name": "buttonAriaLabelClear",
864
- "description": "If provided, renders a custom aria-label for the clear button **Notice!** Only applicable to type=search.",
894
+ "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
865
895
  "type": "string"
866
896
  },
867
897
  {
868
898
  "name": "buttonAriaLabelHide",
869
- "description": "If provided, renders a custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
899
+ "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
870
900
  "type": "string"
871
901
  },
872
902
  {
873
903
  "name": "buttonAriaLabelShow",
874
- "description": "If provided, renders a custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
904
+ "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
875
905
  "type": "string"
876
906
  },
877
907
  {
878
908
  "name": "customInvalid",
879
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
909
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
880
910
  },
881
911
  {
882
912
  "name": "debug",
883
- "description": "If provided, outputs helping hints in console",
884
- "type": "boolean"
913
+ "description": "If true, outputs helping hints in console",
914
+ "type": "boolean | undefined"
885
915
  },
886
916
  {
887
917
  "name": "hideLabel",
888
918
  "description": "If true, hides the label visually",
889
- "type": "boolean"
919
+ "type": "boolean | undefined"
890
920
  },
891
921
  {
892
922
  "name": "hint",
893
- "description": "If provided, displays informational text below the field",
923
+ "description": "If defined, displays informational text below the field",
894
924
  "type": "string | undefined"
895
925
  },
896
926
  {
897
927
  "name": "inputmode",
898
- "description": "If provided, tells what keyboard to use if applicable",
928
+ "description": "Tells what keyboard to use if applicable",
899
929
  "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'"
900
930
  },
901
931
  {
902
932
  "name": "label",
903
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
933
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
904
934
  "type": "string | undefined"
905
935
  },
906
936
  {
907
937
  "name": "leading",
908
- "description": "If provided, displays a prefix/adornment before the input-element",
938
+ "description": "If defined, displays a prefix/adornment before the input-element",
909
939
  "type": "string | undefined"
910
940
  },
911
941
  {
912
942
  "name": "max",
913
- "description": "If provided, sets the maximum value to accept for this input",
943
+ "description": "If defined, sets the maximum value to accept for this input",
914
944
  "type": "number | string | undefined"
915
945
  },
916
946
  {
917
947
  "name": "maxLength",
918
- "description": "If provided, sets the maximum character length to accept for this input",
948
+ "description": "If defined, sets the maximum character length to accept for this input",
919
949
  "type": "number | undefined"
920
950
  },
921
951
  {
922
952
  "name": "min",
923
- "description": "If provided, sets the minimum value to accept for this input",
953
+ "description": "If defined, sets the minimum value to accept for this input",
924
954
  "type": "number | string | undefined"
925
955
  },
926
956
  {
927
957
  "name": "minLength",
928
- "description": "If provided, sets the minimum character length to accept for this input",
958
+ "description": "If defined, sets the minimum character length to accept for this input",
929
959
  "type": "number | undefined"
930
960
  },
931
961
  {
932
962
  "name": "name",
933
- "description": "If provided, adds name to the input-element",
963
+ "description": "If defined, adds name to the input-element",
934
964
  "type": "string | undefined"
935
965
  },
936
966
  {
937
967
  "name": "pattern",
938
- "description": "If provided, adds name to the input-element",
968
+ "description": "If defined, adds name to the input-element",
939
969
  "type": "string | undefined"
940
970
  },
941
971
  {
942
972
  "name": "placeholder",
943
- "description": "If provided, displays placeholder text",
973
+ "description": "If defined, displays placeholder text",
944
974
  "type": "string | undefined"
945
975
  },
946
976
  {
@@ -950,46 +980,44 @@
950
980
  },
951
981
  {
952
982
  "name": "requiredLabel",
953
- "description": "If provided, renders an alternative A11y text for the asterisk",
983
+ "description": "If defined, renders an alternative A11y text for the asterisk",
954
984
  "type": "string | undefined"
955
985
  },
956
986
  {
957
987
  "name": "severity",
958
- "description": "If provided, displays provided severity state",
959
- "type": "FormFieldBaseProps['severity'] | undefined"
988
+ "description": "If defined, displays provided severity state",
989
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
960
990
  },
961
991
  {
962
992
  "name": "showValid",
963
- "description": "If provided, displays provided severity state",
993
+ "description": "If true, displays valid state after interaction",
964
994
  "type": "boolean | undefined"
965
995
  },
966
996
  {
967
997
  "name": "size",
968
- "description": "If provided, displays an alternative size",
969
- "type": "'sm' | 'md' | undefined"
998
+ "description": "Size of the input",
999
+ "type": "'sm' | 'md'"
970
1000
  },
971
1001
  {
972
1002
  "name": "trailing",
973
- "description": "If provided, displays a suffix/adornment after the input-element",
1003
+ "description": "If defined, displays a suffix/adornment after the input-element",
974
1004
  "type": "string | undefined"
975
1005
  },
976
1006
  {
977
1007
  "name": "type",
978
- "description": "If provided, changes the type of form control",
979
- "type": "Exclude<FormFieldBaseProps['type'], 'checkbox' | 'radio'> | undefined"
1008
+ "description": "Type of input control",
1009
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
980
1010
  },
981
1011
  {
982
1012
  "name": "validateOn",
983
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
984
- "type": "'input' | 'change' | 'submit' | undefined"
1013
+ "description": "Sets validation start",
1014
+ "type": "'input' | 'change' | 'submit'"
985
1015
  },
986
1016
  {
987
1017
  "name": "value",
988
1018
  "description": "The current value of the input field",
989
1019
  "type": "string"
990
- },
991
- { "name": "_numberController" },
992
- { "name": "_passwordController" }
1020
+ }
993
1021
  ],
994
1022
  "events": [
995
1023
  {
@@ -1010,11 +1038,12 @@
1010
1038
  "attributes": [
1011
1039
  {
1012
1040
  "name": "as",
1013
- "description": "Specifies semantic element to render -",
1041
+ "description": "Defines the semantic element to render",
1014
1042
  "value": { "type": "'button' | 'a'", "default": "'a'" }
1015
1043
  },
1016
1044
  {
1017
1045
  "name": "color",
1046
+ "description": "Defines the text-color",
1018
1047
  "value": {
1019
1048
  "type": "'primary' | 'inverse'",
1020
1049
  "default": "'primary'"
@@ -1027,34 +1056,34 @@
1027
1056
  },
1028
1057
  {
1029
1058
  "name": "download",
1030
- "description": "If provided, downloads the url",
1059
+ "description": "If defined, downloads the url",
1031
1060
  "value": { "type": "string | undefined" }
1032
1061
  },
1033
1062
  {
1034
1063
  "name": "href",
1035
- "description": "If provided, loads url on click",
1064
+ "description": "If defined, loads url on click",
1036
1065
  "value": { "type": "string | undefined" }
1037
1066
  },
1038
1067
  {
1039
1068
  "name": "icon",
1040
- "description": "If provided, renders an icon before or after the text",
1069
+ "description": "If defined, renders an icon before or after the text",
1041
1070
  "value": {
1042
1071
  "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
1072
  }
1044
1073
  },
1045
1074
  {
1046
1075
  "name": "icon-placement",
1047
- "description": "Position of the icon in relation to the text -",
1076
+ "description": "Defines the position of the icon in relation to the text",
1048
1077
  "value": { "type": "'left' | 'right'", "default": "'left'" }
1049
1078
  },
1050
1079
  {
1051
1080
  "name": "rel",
1052
- "description": "Specifies the relationship of the target object to the link object -",
1081
+ "description": "Defines the relationship of the target object to the link object",
1053
1082
  "value": { "type": "string", "default": "'noreferrer noopener'" }
1054
1083
  },
1055
1084
  {
1056
1085
  "name": "route",
1057
- "description": "If provided, used on conjunction with onClick property, second argument",
1086
+ "description": "If defined, used on conjunction with onClick property, second argument",
1058
1087
  "value": { "type": "string | undefined" }
1059
1088
  },
1060
1089
  {
@@ -1064,14 +1093,14 @@
1064
1093
  },
1065
1094
  {
1066
1095
  "name": "target",
1067
- "description": "If provided, specifies where to open the linked document",
1096
+ "description": "If defined, specifies where to open the linked document",
1068
1097
  "value": {
1069
1098
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1070
1099
  }
1071
1100
  },
1072
1101
  {
1073
1102
  "name": "type",
1074
- "description": "Type of button -",
1103
+ "description": "Defines the type of button",
1075
1104
  "value": {
1076
1105
  "type": "'button' | 'submit' | 'reset'",
1077
1106
  "default": "'button'"
@@ -1084,10 +1113,14 @@
1084
1113
  "properties": [
1085
1114
  {
1086
1115
  "name": "as",
1087
- "description": "Specifies semantic element to render -",
1116
+ "description": "Defines the semantic element to render",
1088
1117
  "type": "'button' | 'a'"
1089
1118
  },
1090
- { "name": "color", "type": "'primary' | 'inverse'" },
1119
+ {
1120
+ "name": "color",
1121
+ "description": "Defines the text-color",
1122
+ "type": "'primary' | 'inverse'"
1123
+ },
1091
1124
  {
1092
1125
  "name": "disabled",
1093
1126
  "description": "If true, disables the link",
@@ -1095,32 +1128,32 @@
1095
1128
  },
1096
1129
  {
1097
1130
  "name": "download",
1098
- "description": "If provided, downloads the url",
1131
+ "description": "If defined, downloads the url",
1099
1132
  "type": "string | undefined"
1100
1133
  },
1101
1134
  {
1102
1135
  "name": "href",
1103
- "description": "If provided, loads url on click",
1136
+ "description": "If defined, loads url on click",
1104
1137
  "type": "string | undefined"
1105
1138
  },
1106
1139
  {
1107
1140
  "name": "icon",
1108
- "description": "If provided, renders an icon before or after the text",
1141
+ "description": "If defined, renders an icon before or after the text",
1109
1142
  "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
1143
  },
1111
1144
  {
1112
1145
  "name": "iconPlacement",
1113
- "description": "Position of the icon in relation to the text -",
1146
+ "description": "Defines the position of the icon in relation to the text",
1114
1147
  "type": "'left' | 'right'"
1115
1148
  },
1116
1149
  {
1117
1150
  "name": "rel",
1118
- "description": "Specifies the relationship of the target object to the link object -",
1151
+ "description": "Defines the relationship of the target object to the link object",
1119
1152
  "type": "string"
1120
1153
  },
1121
1154
  {
1122
1155
  "name": "route",
1123
- "description": "If provided, used on conjunction with onClick property, second argument",
1156
+ "description": "If defined, used on conjunction with onClick property, second argument",
1124
1157
  "type": "string | undefined"
1125
1158
  },
1126
1159
  {
@@ -1130,12 +1163,12 @@
1130
1163
  },
1131
1164
  {
1132
1165
  "name": "target",
1133
- "description": "If provided, specifies where to open the linked document",
1166
+ "description": "If defined, specifies where to open the linked document",
1134
1167
  "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1135
1168
  },
1136
1169
  {
1137
1170
  "name": "type",
1138
- "description": "Type of button -",
1171
+ "description": "Defines the type of button",
1139
1172
  "type": "'button' | 'submit' | 'reset'"
1140
1173
  },
1141
1174
  {
@@ -1149,38 +1182,45 @@
1149
1182
  },
1150
1183
  {
1151
1184
  "name": "skf-loader",
1152
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities.\n---\n",
1185
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1153
1186
  "doc-url": "",
1154
1187
  "attributes": [
1155
1188
  {
1156
1189
  "name": "aria-label",
1190
+ "description": "Defines the aria-label",
1157
1191
  "value": { "type": "string", "default": "'Loading...'" }
1158
1192
  },
1159
1193
  {
1160
1194
  "name": "invert",
1161
1195
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1162
- "value": { "type": "boolean", "default": "false" }
1196
+ "value": { "type": "boolean | undefined" }
1163
1197
  },
1164
1198
  {
1165
1199
  "name": "size",
1166
- "description": "If provided, displays an alternative size",
1200
+ "description": "Defines the size of the loader",
1167
1201
  "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1168
1202
  }
1169
1203
  ],
1170
1204
  "events": [],
1171
1205
  "js": {
1172
1206
  "properties": [
1173
- { "name": "ariaLabel", "type": "string" },
1207
+ {
1208
+ "name": "ariaLabel",
1209
+ "description": "Defines the aria-label",
1210
+ "type": "string"
1211
+ },
1174
1212
  {
1175
1213
  "name": "invert",
1176
1214
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1177
- "type": "boolean"
1215
+ "type": "boolean | undefined"
1178
1216
  },
1179
1217
  {
1180
1218
  "name": "size",
1181
- "description": "If provided, displays an alternative size",
1219
+ "description": "Defines the size of the loader",
1182
1220
  "type": "'md' | 'sm' | undefined"
1183
- }
1221
+ },
1222
+ { "name": "role", "type": "string" },
1223
+ { "name": "ariaLive", "type": "string" }
1184
1224
  ],
1185
1225
  "events": []
1186
1226
  }
@@ -1192,12 +1232,12 @@
1192
1232
  "attributes": [
1193
1233
  {
1194
1234
  "name": "title",
1195
- "description": "The title of the logo",
1235
+ "description": "Defines the title of the logo",
1196
1236
  "value": { "type": "string", "default": "'SKF logotype'" }
1197
1237
  },
1198
1238
  {
1199
1239
  "name": "color",
1200
- "description": "If provided, sets color of the logo",
1240
+ "description": "If defined, sets color of the logo",
1201
1241
  "value": {
1202
1242
  "type": "\"primary\" | \"secondary\" | \"inverse\"",
1203
1243
  "default": "'primary'"
@@ -1209,21 +1249,64 @@
1209
1249
  "properties": [
1210
1250
  {
1211
1251
  "name": "title",
1212
- "description": "The title of the logo",
1252
+ "description": "Defines the title of the logo",
1213
1253
  "type": "string"
1214
1254
  },
1215
1255
  {
1216
1256
  "name": "color",
1217
- "description": "If provided, sets color of the logo",
1257
+ "description": "If defined, sets color of the logo",
1218
1258
  "type": "\"primary\" | \"secondary\" | \"inverse\""
1219
1259
  }
1220
1260
  ],
1221
1261
  "events": []
1222
1262
  }
1223
1263
  },
1264
+ {
1265
+ "name": "skf-progress",
1266
+ "description": "The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar\n---\n",
1267
+ "doc-url": "",
1268
+ "attributes": [
1269
+ {
1270
+ "name": "animated",
1271
+ "description": "If true, the progress-bar's fill value is animated",
1272
+ "value": { "type": "boolean | undefined" }
1273
+ },
1274
+ {
1275
+ "name": "max",
1276
+ "description": "Describes how much work the task indicated by the progress element requires",
1277
+ "value": { "type": "number", "default": "1" }
1278
+ },
1279
+ {
1280
+ "name": "value",
1281
+ "description": "Specifies how much of the task that has been completed",
1282
+ "value": { "type": "number", "default": "0" }
1283
+ }
1284
+ ],
1285
+ "events": [],
1286
+ "js": {
1287
+ "properties": [
1288
+ {
1289
+ "name": "animated",
1290
+ "description": "If true, the progress-bar's fill value is animated",
1291
+ "type": "boolean | undefined"
1292
+ },
1293
+ {
1294
+ "name": "max",
1295
+ "description": "Describes how much work the task indicated by the progress element requires",
1296
+ "type": "number"
1297
+ },
1298
+ {
1299
+ "name": "value",
1300
+ "description": "Specifies how much of the task that has been completed",
1301
+ "type": "number"
1302
+ }
1303
+ ],
1304
+ "events": []
1305
+ }
1306
+ },
1224
1307
  {
1225
1308
  "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",
1309
+ "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
1310
  "doc-url": "",
1228
1311
  "attributes": [
1229
1312
  {
@@ -1238,8 +1321,8 @@
1238
1321
  },
1239
1322
  {
1240
1323
  "name": "debug",
1241
- "description": "If provided, outputs helping hints in console",
1242
- "value": { "type": "boolean", "default": "false" }
1324
+ "description": "If true, outputs helping hints in console",
1325
+ "value": { "type": "boolean | undefined" }
1243
1326
  },
1244
1327
  {
1245
1328
  "name": "checked",
@@ -1251,39 +1334,36 @@
1251
1334
  "description": "If true, forces component to invalid state until removed",
1252
1335
  "value": { "type": "boolean | undefined" }
1253
1336
  },
1254
- {
1255
- "name": "hide-label",
1256
- "description": "If true, hides the label visually",
1257
- "value": { "type": "boolean", "default": "false" }
1258
- },
1259
1337
  {
1260
1338
  "name": "label",
1261
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1339
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1262
1340
  "value": { "type": "string | undefined" }
1263
1341
  },
1264
1342
  {
1265
1343
  "name": "name",
1266
- "description": "If provided, adds name to the input-element",
1344
+ "description": "If defined, adds name to the input-element",
1267
1345
  "value": { "type": "string | undefined" }
1268
1346
  },
1269
1347
  {
1270
1348
  "name": "required-label",
1271
- "description": "If provided, renders an alternative A11y text for the asterisk",
1349
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1272
1350
  "value": { "type": "string | undefined" }
1273
1351
  },
1274
1352
  {
1275
1353
  "name": "size",
1276
- "description": "If provided, displays an alternative size",
1277
- "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1354
+ "description": "Size of the Radio",
1355
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1278
1356
  },
1279
1357
  {
1280
1358
  "name": "severity",
1281
- "description": "If provided, displays provided severity state",
1282
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1359
+ "description": "If defined, displays provided severity state",
1360
+ "value": {
1361
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1362
+ }
1283
1363
  },
1284
1364
  {
1285
1365
  "name": "show-valid",
1286
- "description": "If provided, displays valid state after interaction",
1366
+ "description": "If true, displays valid state after interaction",
1287
1367
  "value": { "type": "boolean | undefined" }
1288
1368
  },
1289
1369
  {
@@ -1294,8 +1374,8 @@
1294
1374
  ],
1295
1375
  "slots": [
1296
1376
  {
1297
- "name": "Default",
1298
- "description": " Alternatively, you can use the `label` attribute"
1377
+ "name": "",
1378
+ "description": "The radios label. Alternatively, you can use the `label` attribute."
1299
1379
  }
1300
1380
  ],
1301
1381
  "events": [
@@ -1308,8 +1388,8 @@
1308
1388
  "properties": [
1309
1389
  {
1310
1390
  "name": "debug",
1311
- "description": "If provided, outputs helping hints in console",
1312
- "type": "boolean"
1391
+ "description": "If true, outputs helping hints in console",
1392
+ "type": "boolean | undefined"
1313
1393
  },
1314
1394
  {
1315
1395
  "name": "checked",
@@ -1321,39 +1401,34 @@
1321
1401
  "description": "If true, forces component to invalid state until removed",
1322
1402
  "type": "boolean | undefined"
1323
1403
  },
1324
- {
1325
- "name": "hideLabel",
1326
- "description": "If true, hides the label visually",
1327
- "type": "boolean"
1328
- },
1329
1404
  {
1330
1405
  "name": "label",
1331
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1406
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1332
1407
  "type": "string | undefined"
1333
1408
  },
1334
1409
  {
1335
1410
  "name": "name",
1336
- "description": "If provided, adds name to the input-element",
1411
+ "description": "If defined, adds name to the input-element",
1337
1412
  "type": "string | undefined"
1338
1413
  },
1339
1414
  {
1340
1415
  "name": "requiredLabel",
1341
- "description": "If provided, renders an alternative A11y text for the asterisk",
1416
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1342
1417
  "type": "string | undefined"
1343
1418
  },
1344
1419
  {
1345
1420
  "name": "size",
1346
- "description": "If provided, displays an alternative size",
1347
- "type": "'sm' | 'md' | undefined"
1421
+ "description": "Size of the Radio",
1422
+ "type": "'sm' | 'md'"
1348
1423
  },
1349
1424
  {
1350
1425
  "name": "severity",
1351
- "description": "If provided, displays provided severity state",
1352
- "type": "FormFieldBaseProps['severity'] | undefined"
1426
+ "description": "If defined, displays provided severity state",
1427
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1353
1428
  },
1354
1429
  {
1355
1430
  "name": "showValid",
1356
- "description": "If provided, displays valid state after interaction",
1431
+ "description": "If true, displays valid state after interaction",
1357
1432
  "type": "boolean | undefined"
1358
1433
  },
1359
1434
  {
@@ -1371,43 +1446,63 @@
1371
1446
  }
1372
1447
  },
1373
1448
  {
1374
- "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",
1449
+ "name": "skf-select",
1450
+ "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",
1376
1451
  "doc-url": "",
1377
1452
  "attributes": [
1378
1453
  {
1379
1454
  "name": "disabled",
1380
- "description": "If true, sets disabled state",
1455
+ "description": "If true, the select is disabled\t`default: false`",
1381
1456
  "value": { "type": "boolean" }
1382
1457
  },
1383
1458
  {
1384
- "name": "required",
1385
- "description": "If true, value is required or must be checked for the form to be submittable",
1386
- "value": { "type": "boolean" }
1459
+ "name": "button-label",
1460
+ "description": "Sets the first visible text on the component",
1461
+ "value": { "type": "string", "default": "'Select an option'" }
1387
1462
  },
1388
1463
  {
1389
- "name": "debug",
1390
- "description": "If true, outputs helping hints in console",
1391
- "value": { "type": "boolean | undefined" }
1464
+ "name": "custom-invalid",
1465
+ "description": "If defined, forces component to invalid state until removed",
1466
+ "value": { "type": "string | undefined" }
1392
1467
  },
1393
1468
  {
1394
- "name": "checked",
1395
- "description": "If true, outputs helping hints in console",
1469
+ "name": "hide-label",
1470
+ "description": "If true, hides the label visually",
1396
1471
  "value": { "type": "boolean | undefined" }
1397
1472
  },
1398
1473
  {
1399
- "name": "hide-label",
1400
- "description": "If true, hides the label visually",
1474
+ "name": "hide-tags",
1475
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1401
1476
  "value": { "type": "boolean | undefined" }
1402
1477
  },
1478
+ {
1479
+ "name": "hint",
1480
+ "description": "If defined, sets the hint text under the select component in the form",
1481
+ "value": { "type": "string | undefined" }
1482
+ },
1403
1483
  {
1404
1484
  "name": "label",
1405
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1485
+ "description": "If defined, displays provided label",
1406
1486
  "value": { "type": "string | undefined" }
1407
1487
  },
1488
+ {
1489
+ "name": "max",
1490
+ "description": "If defined, limits the number of selectable options",
1491
+ "value": { "type": "number | undefined" }
1492
+ },
1493
+ {
1494
+ "name": "min",
1495
+ "description": "If defined, sets the minimum number of required options",
1496
+ "value": { "type": "number | undefined" }
1497
+ },
1498
+ {
1499
+ "name": "multiple",
1500
+ "description": "If true, allows for multiple options to be selected",
1501
+ "value": { "type": "boolean | undefined" }
1502
+ },
1408
1503
  {
1409
1504
  "name": "name",
1410
- "description": "If defined, adds name to the input-element",
1505
+ "description": "If defined, set name of the component",
1411
1506
  "value": { "type": "string | undefined" }
1412
1507
  },
1413
1508
  {
@@ -1416,20 +1511,331 @@
1416
1511
  "value": { "type": "string | undefined" }
1417
1512
  },
1418
1513
  {
1419
- "name": "size",
1420
- "description": "Size of the Switch",
1421
- "value": { "type": "'sm' | 'md'", "default": "'md'" }
1514
+ "name": "severity",
1515
+ "description": "If defined, displays provided severity state",
1516
+ "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
1422
1517
  },
1423
1518
  {
1424
- "name": "value",
1425
- "description": "The current value of the input field",
1426
- "value": { "type": "string", "default": "''" }
1519
+ "name": "show-valid",
1520
+ "description": "If true, displays valid state after interaction",
1521
+ "value": { "type": "boolean | undefined" }
1522
+ },
1523
+ {
1524
+ "name": "size",
1525
+ "description": "Size of the Select",
1526
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1527
+ }
1528
+ ],
1529
+ "slots": [
1530
+ { "name": "", "description": "The select's placeholder content" }
1531
+ ],
1532
+ "events": [
1533
+ {
1534
+ "name": "change",
1535
+ "description": "Fired when the selected option(s) changes"
1536
+ },
1537
+ {
1538
+ "name": "invalid",
1539
+ "description": "Fired when the select is invalid"
1540
+ },
1541
+ { "name": "reset", "description": "Fired when the form is reset" },
1542
+ {
1543
+ "name": "skf-select:dropdown",
1544
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1545
+ },
1546
+ {
1547
+ "name": "skf-select-option:select",
1548
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1549
+ }
1550
+ ],
1551
+ "js": {
1552
+ "properties": [
1553
+ {
1554
+ "name": "buttonLabel",
1555
+ "description": "Sets the first visible text on the component",
1556
+ "type": "string"
1557
+ },
1558
+ {
1559
+ "name": "customInvalid",
1560
+ "description": "If defined, forces component to invalid state until removed",
1561
+ "type": "string | undefined"
1562
+ },
1563
+ {
1564
+ "name": "hideLabel",
1565
+ "description": "If true, hides the label visually",
1566
+ "type": "boolean | undefined"
1567
+ },
1568
+ {
1569
+ "name": "hideTags",
1570
+ "description": "If true and mulltiple is true, no tags are displayed under the select",
1571
+ "type": "boolean | undefined"
1572
+ },
1573
+ {
1574
+ "name": "hint",
1575
+ "description": "If defined, sets the hint text under the select component in the form",
1576
+ "type": "string | undefined"
1577
+ },
1578
+ {
1579
+ "name": "selectedValues",
1580
+ "description": "A readonly property that returns the selected value(s) in a array"
1581
+ },
1582
+ {
1583
+ "name": "selectedOptionsText",
1584
+ "description": "A readonly property that returns the selected slot(s) text content in a array"
1585
+ },
1586
+ {
1587
+ "name": "label",
1588
+ "description": "If defined, displays provided label",
1589
+ "type": "string | undefined"
1590
+ },
1591
+ {
1592
+ "name": "max",
1593
+ "description": "If defined, limits the number of selectable options",
1594
+ "type": "number | undefined"
1595
+ },
1596
+ {
1597
+ "name": "min",
1598
+ "description": "If defined, sets the minimum number of required options",
1599
+ "type": "number | undefined"
1600
+ },
1601
+ {
1602
+ "name": "multiple",
1603
+ "description": "If true, allows for multiple options to be selected",
1604
+ "type": "boolean | undefined"
1605
+ },
1606
+ {
1607
+ "name": "name",
1608
+ "description": "If defined, set name of the component",
1609
+ "type": "string | undefined"
1610
+ },
1611
+ {
1612
+ "name": "requiredLabel",
1613
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1614
+ "type": "string | undefined"
1615
+ },
1616
+ {
1617
+ "name": "severity",
1618
+ "description": "If defined, displays provided severity state",
1619
+ "type": "FormFieldBaseProps['severity'] | undefined"
1620
+ },
1621
+ {
1622
+ "name": "showValid",
1623
+ "description": "If true, displays valid state after interaction",
1624
+ "type": "boolean | undefined"
1625
+ },
1626
+ {
1627
+ "name": "size",
1628
+ "description": "Size of the Select",
1629
+ "type": "'sm' | 'md'"
1630
+ },
1631
+ {
1632
+ "name": "value",
1633
+ "description": "Read only, returns the selected value. (if multiple: in a comma separated string)"
1634
+ },
1635
+ { "name": "_selectedOptions", "type": "array" }
1636
+ ],
1637
+ "events": [
1638
+ {
1639
+ "name": "change",
1640
+ "description": "Fired when the selected option(s) changes"
1641
+ },
1642
+ {
1643
+ "name": "invalid",
1644
+ "description": "Fired when the select is invalid"
1645
+ },
1646
+ {
1647
+ "name": "reset",
1648
+ "description": "Fired when the form is reset"
1649
+ },
1650
+ {
1651
+ "name": "skf-select:dropdown",
1652
+ "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1653
+ },
1654
+ {
1655
+ "name": "skf-select-option:select",
1656
+ "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1657
+ }
1658
+ ]
1659
+ }
1660
+ },
1661
+ {
1662
+ "name": "skf-select-option",
1663
+ "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).",
1664
+ "doc-url": "",
1665
+ "attributes": [
1666
+ {
1667
+ "name": "disabled",
1668
+ "description": "If true, prevents interaction with the option",
1669
+ "value": { "type": "boolean | undefined" }
1670
+ },
1671
+ {
1672
+ "name": "icon",
1673
+ "description": "If defined, set an icon",
1674
+ "value": { "type": "SkfIcon['name'] | undefined" }
1675
+ },
1676
+ {
1677
+ "name": "icon-color",
1678
+ "description": "If defined, sets provided color on the icon",
1679
+ "value": { "type": "SeverityFgColor | undefined" }
1680
+ },
1681
+ {
1682
+ "name": "selected",
1683
+ "description": "If true, sets the option as selected",
1684
+ "value": { "type": "boolean | undefined" }
1685
+ },
1686
+ {
1687
+ "name": "short-label",
1688
+ "description": "If defined, sets a short label",
1689
+ "value": { "type": "string | undefined" }
1690
+ },
1691
+ {
1692
+ "name": "value",
1693
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
1694
+ "value": { "type": "string" }
1695
+ }
1696
+ ],
1697
+ "slots": [
1698
+ { "name": "", "description": "The option's text content" },
1699
+ {
1700
+ "name": "icon",
1701
+ "description": "The option's slot for icon or custom meta information (svg)."
1702
+ }
1703
+ ],
1704
+ "events": [
1705
+ {
1706
+ "name": "skf-select-option:select",
1707
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1708
+ }
1709
+ ],
1710
+ "js": {
1711
+ "properties": [
1712
+ {
1713
+ "name": "disabled",
1714
+ "description": "If true, prevents interaction with the option",
1715
+ "type": "boolean | undefined"
1716
+ },
1717
+ {
1718
+ "name": "icon",
1719
+ "description": "If defined, set an icon",
1720
+ "type": "SkfIcon['name'] | undefined"
1721
+ },
1722
+ {
1723
+ "name": "iconColor",
1724
+ "description": "If defined, sets provided color on the icon",
1725
+ "type": "SeverityFgColor | undefined"
1726
+ },
1727
+ {
1728
+ "name": "selected",
1729
+ "description": "If true, sets the option as selected",
1730
+ "type": "boolean | undefined"
1731
+ },
1732
+ {
1733
+ "name": "shortLabel",
1734
+ "description": "If defined, sets a short label",
1735
+ "type": "string | undefined"
1736
+ },
1737
+ {
1738
+ "name": "text",
1739
+ "description": "The option's label text (equivalent to the tags textContent)"
1740
+ },
1741
+ {
1742
+ "name": "value",
1743
+ "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
1744
+ },
1745
+ { "name": "role", "type": "string" },
1746
+ { "name": "_parent" },
1747
+ { "name": "_shortcutUpdate", "type": "boolean" }
1748
+ ],
1749
+ "events": [
1750
+ {
1751
+ "name": "skf-select-option:select",
1752
+ "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
1753
+ }
1754
+ ]
1755
+ }
1756
+ },
1757
+ {
1758
+ "name": "skf-select-option-group",
1759
+ "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",
1760
+ "doc-url": "",
1761
+ "attributes": [
1762
+ {
1763
+ "name": "label",
1764
+ "value": { "type": "string", "default": "'Default label'" }
1427
1765
  }
1428
1766
  ],
1429
1767
  "slots": [
1430
1768
  { "name": "", "description": "The component's placeholder content" }
1431
1769
  ],
1432
1770
  "events": [],
1771
+ "js": {
1772
+ "properties": [{ "name": "label", "type": "string" }],
1773
+ "events": []
1774
+ }
1775
+ },
1776
+ {
1777
+ "name": "skf-switch",
1778
+ "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.",
1779
+ "doc-url": "",
1780
+ "attributes": [
1781
+ {
1782
+ "name": "disabled",
1783
+ "description": "If true, sets disabled state",
1784
+ "value": { "type": "boolean" }
1785
+ },
1786
+ {
1787
+ "name": "required",
1788
+ "description": "If true, value is required or must be checked for the form to be submittable",
1789
+ "value": { "type": "boolean" }
1790
+ },
1791
+ {
1792
+ "name": "debug",
1793
+ "description": "If true, outputs helping hints in console",
1794
+ "value": { "type": "boolean | undefined" }
1795
+ },
1796
+ {
1797
+ "name": "checked",
1798
+ "description": "If true, outputs helping hints in console",
1799
+ "value": { "type": "boolean | undefined" }
1800
+ },
1801
+ {
1802
+ "name": "hide-label",
1803
+ "description": "If true, hides the label visually",
1804
+ "value": { "type": "boolean | undefined" }
1805
+ },
1806
+ {
1807
+ "name": "label",
1808
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1809
+ "value": { "type": "string | undefined" }
1810
+ },
1811
+ {
1812
+ "name": "name",
1813
+ "description": "If defined, adds name to the input-element",
1814
+ "value": { "type": "string | undefined" }
1815
+ },
1816
+ {
1817
+ "name": "required-label",
1818
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1819
+ "value": { "type": "string | undefined" }
1820
+ },
1821
+ {
1822
+ "name": "size",
1823
+ "description": "Size of the Switch",
1824
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
1825
+ },
1826
+ {
1827
+ "name": "value",
1828
+ "description": "The current value of the input field",
1829
+ "value": { "type": "string", "default": "''" }
1830
+ }
1831
+ ],
1832
+ "slots": [
1833
+ {
1834
+ "name": "",
1835
+ "description": "The Switchs label. Alternatively, you can use the `label` attribute."
1836
+ }
1837
+ ],
1838
+ "events": [],
1433
1839
  "js": {
1434
1840
  "properties": [
1435
1841
  {
@@ -1449,7 +1855,7 @@
1449
1855
  },
1450
1856
  {
1451
1857
  "name": "label",
1452
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
1858
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1453
1859
  "type": "string | undefined"
1454
1860
  },
1455
1861
  {
@@ -1476,6 +1882,155 @@
1476
1882
  "events": []
1477
1883
  }
1478
1884
  },
1885
+ {
1886
+ "name": "skf-tab",
1887
+ "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",
1888
+ "doc-url": "",
1889
+ "attributes": [
1890
+ {
1891
+ "name": "panel",
1892
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
1893
+ "value": { "type": "string", "default": "''" }
1894
+ }
1895
+ ],
1896
+ "slots": [{ "name": "", "description": "The tab's label" }],
1897
+ "events": [
1898
+ {
1899
+ "name": "skf-tab-select",
1900
+ "type": "CustomEvent",
1901
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
1902
+ },
1903
+ {
1904
+ "name": "click",
1905
+ "description": "Fired when the component is clicked"
1906
+ }
1907
+ ],
1908
+ "js": {
1909
+ "properties": [
1910
+ {
1911
+ "name": "panel",
1912
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
1913
+ "type": "string"
1914
+ },
1915
+ { "name": "selected", "type": "boolean" },
1916
+ { "name": "variant", "type": "SkfTabGroup['variant']" },
1917
+ { "name": "role", "type": "string" }
1918
+ ],
1919
+ "events": [
1920
+ {
1921
+ "name": "skf-tab-select",
1922
+ "type": "CustomEvent",
1923
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
1924
+ },
1925
+ {
1926
+ "name": "click",
1927
+ "description": "Fired when the component is clicked"
1928
+ }
1929
+ ]
1930
+ }
1931
+ },
1932
+ {
1933
+ "name": "skf-tab-group",
1934
+ "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",
1935
+ "doc-url": "",
1936
+ "attributes": [
1937
+ {
1938
+ "name": "default-selected",
1939
+ "description": "Sets the default selected tab",
1940
+ "value": { "type": "number", "default": "0" }
1941
+ },
1942
+ {
1943
+ "name": "no-border",
1944
+ "description": "If true, removes border",
1945
+ "value": { "type": "boolean", "default": "false" }
1946
+ },
1947
+ {
1948
+ "name": "no-padding",
1949
+ "description": "If true, removes padding",
1950
+ "value": { "type": "boolean", "default": "false" }
1951
+ },
1952
+ {
1953
+ "name": "stretch",
1954
+ "description": "If true, component fills the parent element height",
1955
+ "value": { "type": "boolean", "default": "false" }
1956
+ },
1957
+ {
1958
+ "name": "variant",
1959
+ "description": "Sets the appearance of the tabs",
1960
+ "value": {
1961
+ "type": "'compressed' | 'expanded'",
1962
+ "default": "'expanded'"
1963
+ }
1964
+ }
1965
+ ],
1966
+ "slots": [
1967
+ {
1968
+ "name": "",
1969
+ "description": "Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements"
1970
+ },
1971
+ {
1972
+ "name": "tabs",
1973
+ "description": "Used for grouping tabs in the tab group. Must be <skf-tab> elements"
1974
+ }
1975
+ ],
1976
+ "events": [],
1977
+ "js": {
1978
+ "properties": [
1979
+ {
1980
+ "name": "defaultSelected",
1981
+ "description": "Sets the default selected tab",
1982
+ "type": "number"
1983
+ },
1984
+ {
1985
+ "name": "noBorder",
1986
+ "description": "If true, removes border",
1987
+ "type": "boolean"
1988
+ },
1989
+ {
1990
+ "name": "noPadding",
1991
+ "description": "If true, removes padding",
1992
+ "type": "boolean"
1993
+ },
1994
+ {
1995
+ "name": "stretch",
1996
+ "description": "If true, component fills the parent element height",
1997
+ "type": "boolean"
1998
+ },
1999
+ {
2000
+ "name": "variant",
2001
+ "description": "Sets the appearance of the tabs",
2002
+ "type": "'compressed' | 'expanded'"
2003
+ }
2004
+ ],
2005
+ "events": []
2006
+ }
2007
+ },
2008
+ {
2009
+ "name": "skf-tab-panel",
2010
+ "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",
2011
+ "doc-url": "",
2012
+ "attributes": [
2013
+ {
2014
+ "name": "name",
2015
+ "description": "The tab panel's name.",
2016
+ "value": { "type": "string", "default": "''" }
2017
+ }
2018
+ ],
2019
+ "slots": [{ "name": "", "description": "The tab panel's content" }],
2020
+ "events": [],
2021
+ "js": {
2022
+ "properties": [
2023
+ {
2024
+ "name": "name",
2025
+ "description": "The tab panel's name.",
2026
+ "type": "string"
2027
+ },
2028
+ { "name": "active", "type": "boolean" },
2029
+ { "name": "role", "type": "string" }
2030
+ ],
2031
+ "events": []
2032
+ }
2033
+ },
1479
2034
  {
1480
2035
  "name": "skf-tag",
1481
2036
  "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",
@@ -1483,19 +2038,19 @@
1483
2038
  "attributes": [
1484
2039
  {
1485
2040
  "name": "size",
1486
- "description": "Specifies Tag size -",
2041
+ "description": "Specifies Tag size",
1487
2042
  "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1488
2043
  },
1489
2044
  {
1490
2045
  "name": "icon",
1491
- "description": "If defined, displays leading/provided icon -",
2046
+ "description": "If defined, displays leading/provided icon",
1492
2047
  "value": {
1493
2048
  "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
2049
  }
1495
2050
  },
1496
2051
  {
1497
2052
  "name": "color",
1498
- "description": "If defined, gives the supplied appearance -",
2053
+ "description": "If defined, gives the supplied appearance",
1499
2054
  "value": {
1500
2055
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1501
2056
  }
@@ -1514,19 +2069,27 @@
1514
2069
  "properties": [
1515
2070
  {
1516
2071
  "name": "size",
1517
- "description": "Specifies Tag size -",
2072
+ "description": "Specifies Tag size",
1518
2073
  "type": "'sm' | 'md' | 'lg'"
1519
2074
  },
1520
2075
  {
1521
2076
  "name": "icon",
1522
- "description": "If defined, displays leading/provided icon -",
2077
+ "description": "If defined, displays leading/provided icon",
1523
2078
  "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
2079
  },
1525
2080
  {
1526
2081
  "name": "color",
1527
- "description": "If defined, gives the supplied appearance -",
2082
+ "description": "If defined, gives the supplied appearance",
1528
2083
  "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
1529
2084
  },
2085
+ {
2086
+ "name": "onClick",
2087
+ "description": "If defined, accepts a function that runs on click"
2088
+ },
2089
+ {
2090
+ "name": "onRemove",
2091
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
2092
+ },
1530
2093
  {
1531
2094
  "name": "removable",
1532
2095
  "description": "If true, adds trailing button to remove tag",
@@ -1538,7 +2101,7 @@
1538
2101
  },
1539
2102
  {
1540
2103
  "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.",
2104
+ "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
2105
  "doc-url": "",
1543
2106
  "attributes": [
1544
2107
  {
@@ -1553,52 +2116,52 @@
1553
2116
  },
1554
2117
  {
1555
2118
  "name": "cols",
1556
- "description": "If provided, sets the cols of the textarea",
1557
- "value": { "type": "number", "default": "20" }
2119
+ "description": "If defined, sets the cols of the textarea",
2120
+ "value": { "type": "number | undefined" }
1558
2121
  },
1559
2122
  {
1560
2123
  "name": "custom-invalid",
1561
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text.",
2124
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
1562
2125
  "value": { "type": "string" }
1563
2126
  },
1564
2127
  {
1565
2128
  "name": "debug",
1566
- "description": "If provided, outputs helping hints in console",
1567
- "value": { "type": "boolean", "default": "false" }
2129
+ "description": "If true, outputs helping hints in console",
2130
+ "value": { "type": "boolean | undefined" }
1568
2131
  },
1569
2132
  {
1570
2133
  "name": "hide-label",
1571
- "description": "hide-label - If true, hides the label visually",
1572
- "value": { "type": "boolean", "default": "false" }
2134
+ "description": "If true, hides the label visually",
2135
+ "value": { "type": "boolean | undefined" }
1573
2136
  },
1574
2137
  {
1575
2138
  "name": "hint",
1576
- "description": "If provided, displays informational text below the field",
2139
+ "description": "If defined, displays informational text below the field",
1577
2140
  "value": { "type": "string | undefined" }
1578
2141
  },
1579
2142
  {
1580
2143
  "name": "label",
1581
- "description": "The input's label. Alternatively, you can use the component slot.",
1582
- "value": { "type": "string", "default": "'Default label'" }
2144
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
2145
+ "value": { "type": "string | undefined" }
1583
2146
  },
1584
2147
  {
1585
2148
  "name": "name",
1586
- "description": "If provided, adds name to the input-element",
2149
+ "description": "If defined, adds name to the input-element",
1587
2150
  "value": { "type": "string | undefined" }
1588
2151
  },
1589
2152
  {
1590
2153
  "name": "maxlength",
1591
- "description": "If provided, sets the maximum character length to accept for this input",
2154
+ "description": "If defined, sets the maximum character length to accept for this input",
1592
2155
  "value": { "type": "number | undefined" }
1593
2156
  },
1594
2157
  {
1595
2158
  "name": "minlength",
1596
- "description": "If provided, sets the minimum character length to accept for this input",
2159
+ "description": "If defined, sets the minimum character length to accept for this input",
1597
2160
  "value": { "type": "number | undefined" }
1598
2161
  },
1599
2162
  {
1600
2163
  "name": "placeholder",
1601
- "description": "If provided, displays placeholder text",
2164
+ "description": "If defined, displays placeholder text",
1602
2165
  "value": { "type": "string | undefined" }
1603
2166
  },
1604
2167
  {
@@ -1608,18 +2171,20 @@
1608
2171
  },
1609
2172
  {
1610
2173
  "name": "required-label",
1611
- "description": "If provided, renders an alternative A11y text for the asterisk",
2174
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1612
2175
  "value": { "type": "string | undefined" }
1613
2176
  },
1614
2177
  {
1615
2178
  "name": "rows",
1616
- "description": "If provided, sets the rows of the textarea",
1617
- "value": { "type": "number", "default": "2" }
2179
+ "description": "If defined, sets the rows of the textarea",
2180
+ "value": { "type": "number | undefined" }
1618
2181
  },
1619
2182
  {
1620
2183
  "name": "severity",
1621
- "description": "If provided, displays provided severity state",
1622
- "value": { "type": "\"success\" | \"error\"" }
2184
+ "description": "If defined, displays provided severity state",
2185
+ "value": {
2186
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2187
+ }
1623
2188
  },
1624
2189
  {
1625
2190
  "name": "show-valid",
@@ -1628,14 +2193,14 @@
1628
2193
  },
1629
2194
  {
1630
2195
  "name": "size",
1631
- "description": "If provided, displays an alternative size",
2196
+ "description": "Size of the Textarea",
1632
2197
  "value": { "type": "'sm' | 'md' | undefined", "default": "'md'" }
1633
2198
  },
1634
2199
  {
1635
2200
  "name": "validate-on",
1636
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
2201
+ "description": "Sets validation start",
1637
2202
  "value": {
1638
- "type": "'input' | 'change' | 'submit' | undefined",
2203
+ "type": "'input' | 'change' | 'submit'",
1639
2204
  "default": "'change'"
1640
2205
  }
1641
2206
  },
@@ -1647,8 +2212,8 @@
1647
2212
  ],
1648
2213
  "slots": [
1649
2214
  {
1650
- "name": "The",
1651
- "description": "textareas label. Alternatively, you can use the `label` attribute."
2215
+ "name": "",
2216
+ "description": "The textareas label. Alternatively, you can use the `label` attribute."
1652
2217
  }
1653
2218
  ],
1654
2219
  "events": [
@@ -1665,51 +2230,51 @@
1665
2230
  "properties": [
1666
2231
  {
1667
2232
  "name": "cols",
1668
- "description": "If provided, sets the cols of the textarea",
1669
- "type": "number"
2233
+ "description": "If defined, sets the cols of the textarea",
2234
+ "type": "number | undefined"
1670
2235
  },
1671
2236
  {
1672
2237
  "name": "customInvalid",
1673
- "description": "If provided, forces component to invalid state until removed. Its value is used as hint text."
2238
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
1674
2239
  },
1675
2240
  {
1676
2241
  "name": "debug",
1677
- "description": "If provided, outputs helping hints in console",
1678
- "type": "boolean"
2242
+ "description": "If true, outputs helping hints in console",
2243
+ "type": "boolean | undefined"
1679
2244
  },
1680
2245
  {
1681
2246
  "name": "hideLabel",
1682
- "description": "hide-label - If true, hides the label visually",
1683
- "type": "boolean"
2247
+ "description": "If true, hides the label visually",
2248
+ "type": "boolean | undefined"
1684
2249
  },
1685
2250
  {
1686
2251
  "name": "hint",
1687
- "description": "If provided, displays informational text below the field",
2252
+ "description": "If defined, displays informational text below the field",
1688
2253
  "type": "string | undefined"
1689
2254
  },
1690
2255
  {
1691
2256
  "name": "label",
1692
- "description": "The input's label. Alternatively, you can use the component slot.",
1693
- "type": "string"
2257
+ "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
2258
+ "type": "string | undefined"
1694
2259
  },
1695
2260
  {
1696
2261
  "name": "name",
1697
- "description": "If provided, adds name to the input-element",
2262
+ "description": "If defined, adds name to the input-element",
1698
2263
  "type": "string | undefined"
1699
2264
  },
1700
2265
  {
1701
2266
  "name": "maxLength",
1702
- "description": "If provided, sets the maximum character length to accept for this input",
2267
+ "description": "If defined, sets the maximum character length to accept for this input",
1703
2268
  "type": "number | undefined"
1704
2269
  },
1705
2270
  {
1706
2271
  "name": "minLength",
1707
- "description": "If provided, sets the minimum character length to accept for this input",
2272
+ "description": "If defined, sets the minimum character length to accept for this input",
1708
2273
  "type": "number | undefined"
1709
2274
  },
1710
2275
  {
1711
2276
  "name": "placeholder",
1712
- "description": "If provided, displays placeholder text",
2277
+ "description": "If defined, displays placeholder text",
1713
2278
  "type": "string | undefined"
1714
2279
  },
1715
2280
  {
@@ -1719,18 +2284,18 @@
1719
2284
  },
1720
2285
  {
1721
2286
  "name": "requiredLabel",
1722
- "description": "If provided, renders an alternative A11y text for the asterisk",
2287
+ "description": "If defined, renders an alternative A11y text for the asterisk",
1723
2288
  "type": "string | undefined"
1724
2289
  },
1725
2290
  {
1726
2291
  "name": "rows",
1727
- "description": "If provided, sets the rows of the textarea",
1728
- "type": "number"
2292
+ "description": "If defined, sets the rows of the textarea",
2293
+ "type": "number | undefined"
1729
2294
  },
1730
2295
  {
1731
2296
  "name": "severity",
1732
- "description": "If provided, displays provided severity state",
1733
- "type": "\"success\" | \"error\""
2297
+ "description": "If defined, displays provided severity state",
2298
+ "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1734
2299
  },
1735
2300
  {
1736
2301
  "name": "showValid",
@@ -1739,13 +2304,13 @@
1739
2304
  },
1740
2305
  {
1741
2306
  "name": "size",
1742
- "description": "If provided, displays an alternative size",
2307
+ "description": "Size of the Textarea",
1743
2308
  "type": "'sm' | 'md' | undefined"
1744
2309
  },
1745
2310
  {
1746
2311
  "name": "validateOn",
1747
- "description": "If provided, sets validation start, \"input\", \"change\" or \"submit\"",
1748
- "type": "'input' | 'change' | 'submit' | undefined"
2312
+ "description": "Sets validation start",
2313
+ "type": "'input' | 'change' | 'submit'"
1749
2314
  },
1750
2315
  {
1751
2316
  "name": "value",
@@ -1764,6 +2329,92 @@
1764
2329
  }
1765
2330
  ]
1766
2331
  }
2332
+ },
2333
+ {
2334
+ "name": "skf-toast",
2335
+ "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",
2336
+ "doc-url": "",
2337
+ "attributes": [
2338
+ {
2339
+ "name": "closeable",
2340
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2341
+ "value": { "type": "boolean", "default": "false" }
2342
+ },
2343
+ {
2344
+ "name": "debug",
2345
+ "value": { "type": "boolean", "default": "false" }
2346
+ },
2347
+ {
2348
+ "name": "severity",
2349
+ "description": "Severity of the toast.",
2350
+ "value": {
2351
+ "type": "'info' | 'success' | 'warning' | 'error'",
2352
+ "default": "'info'"
2353
+ }
2354
+ },
2355
+ {
2356
+ "name": "timer",
2357
+ "description": "Time in seconds before the toast disappears.",
2358
+ "value": { "type": "number", "default": "5" }
2359
+ },
2360
+ {
2361
+ "name": "topOffset",
2362
+ "description": "offsets where toasts emerge vertically",
2363
+ "value": { "type": "number | undefined" }
2364
+ }
2365
+ ],
2366
+ "slots": [
2367
+ { "name": "", "description": "The component's placeholder content" }
2368
+ ],
2369
+ "events": [],
2370
+ "js": {
2371
+ "properties": [
2372
+ {
2373
+ "name": "closeable",
2374
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2375
+ "type": "boolean"
2376
+ },
2377
+ { "name": "debug", "type": "boolean" },
2378
+ {
2379
+ "name": "severity",
2380
+ "description": "Severity of the toast.",
2381
+ "type": "'info' | 'success' | 'warning' | 'error'"
2382
+ },
2383
+ {
2384
+ "name": "timer",
2385
+ "description": "Time in seconds before the toast disappears.",
2386
+ "type": "number"
2387
+ },
2388
+ {
2389
+ "name": "topOffset",
2390
+ "description": "offsets where toasts emerge vertically",
2391
+ "type": "number | undefined"
2392
+ }
2393
+ ],
2394
+ "events": []
2395
+ }
2396
+ },
2397
+ {
2398
+ "name": "skf-toast-wrapper",
2399
+ "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.",
2400
+ "doc-url": "",
2401
+ "attributes": [
2402
+ {
2403
+ "name": "debug",
2404
+ "value": { "type": "boolean", "default": "false" }
2405
+ }
2406
+ ],
2407
+ "slots": [
2408
+ {
2409
+ "name": "",
2410
+ "description": "The alert components that the toast creates will render here."
2411
+ }
2412
+ ],
2413
+ "events": [],
2414
+ "js": {
2415
+ "properties": [{ "name": "debug", "type": "boolean" }],
2416
+ "events": []
2417
+ }
1767
2418
  }
1768
2419
  ]
1769
2420
  }