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

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