@skf-design-system/ui-components 1.0.0-alpha.27 → 1.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +26 -6
  2. package/custom-elements.json +18265 -0
  3. package/dist/components/alert/alert.component.js +20 -18
  4. package/dist/components/alert/alert.styles.js +50 -47
  5. package/dist/components/button/button.component.d.ts +24 -0
  6. package/dist/components/button/button.component.js +79 -55
  7. package/dist/components/button/button.styles.js +1 -0
  8. package/dist/components/checkbox/checkbox.component.d.ts +3 -8
  9. package/dist/components/checkbox/checkbox.component.js +95 -90
  10. package/dist/components/checkbox/checkbox.styles.js +2 -2
  11. package/dist/components/input/input.component.d.ts +10 -0
  12. package/dist/components/input/input.component.js +89 -82
  13. package/dist/components/progress/progress.component.d.ts +22 -0
  14. package/dist/components/progress/progress.component.js +40 -0
  15. package/dist/components/progress/progress.d.ts +8 -0
  16. package/dist/components/progress/progress.js +6 -0
  17. package/dist/components/progress/progress.styles.d.ts +1 -0
  18. package/dist/components/progress/progress.styles.js +47 -0
  19. package/dist/components/radio/radio.component.d.ts +4 -6
  20. package/dist/components/radio/radio.component.js +93 -77
  21. package/dist/components/select/select.component.d.ts +5 -2
  22. package/dist/components/select/select.component.js +103 -88
  23. package/dist/components/select/select.controllers.js +5 -2
  24. package/dist/components/switch/switch.component.js +4 -1
  25. package/dist/components/tab/tab.component.d.ts +29 -0
  26. package/dist/components/tab/tab.component.js +57 -0
  27. package/dist/components/tab/tab.d.ts +8 -0
  28. package/dist/components/tab/tab.js +6 -0
  29. package/dist/components/tab/tab.styles.d.ts +1 -0
  30. package/dist/components/tab/tab.styles.js +123 -0
  31. package/dist/components/tab-group/tab-group.component.d.ts +43 -0
  32. package/dist/components/tab-group/tab-group.component.js +98 -0
  33. package/dist/components/tab-group/tab-group.d.ts +8 -0
  34. package/dist/components/tab-group/tab-group.js +6 -0
  35. package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
  36. package/dist/components/tab-group/tab-group.styles.js +75 -0
  37. package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
  38. package/dist/components/tab-panel/tab-panel.component.js +36 -0
  39. package/dist/components/tab-panel/tab-panel.d.ts +8 -0
  40. package/dist/components/tab-panel/tab-panel.js +6 -0
  41. package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
  42. package/dist/components/tab-panel/tab-panel.styles.js +13 -0
  43. package/dist/components/textarea/textarea.component.js +5 -5
  44. package/dist/components/toast/toast.component.d.ts +35 -0
  45. package/dist/components/toast/toast.component.js +52 -0
  46. package/dist/components/toast/toast.d.ts +8 -0
  47. package/dist/components/toast/toast.js +6 -0
  48. package/dist/components/toast/toast.singleton.d.ts +26 -0
  49. package/dist/components/toast/toast.singleton.js +53 -0
  50. package/dist/components/toast/toast.styles.d.ts +1 -0
  51. package/dist/components/toast/toast.styles.js +9 -0
  52. package/dist/components/toast-item/toast-item.component.d.ts +21 -0
  53. package/dist/components/toast-item/toast-item.component.js +65 -0
  54. package/dist/components/toast-item/toast-item.d.ts +6 -0
  55. package/dist/components/toast-item/toast-item.js +2 -0
  56. package/dist/components/toast-item/toast-item.styles.d.ts +2 -0
  57. package/dist/components/toast-item/toast-item.styles.js +16 -0
  58. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
  59. package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
  60. package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
  61. package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
  62. package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
  63. package/dist/components/toast-wrapper/toast-wrapper.styles.js +20 -0
  64. package/dist/custom-elements.json +1167 -311
  65. package/dist/index.d.ts +5 -0
  66. package/dist/index.js +57 -42
  67. package/dist/internal/components/formBase.d.ts +1 -0
  68. package/dist/internal/components/formBase.js +11 -11
  69. package/dist/internal/helpers/watch.d.ts +27 -0
  70. package/dist/internal/helpers/watch.js +28 -0
  71. package/dist/react/index.d.ts +6 -0
  72. package/dist/react/index.js +6 -0
  73. package/dist/react/skf-button/index.d.ts +7 -1
  74. package/dist/react/skf-button/index.js +5 -1
  75. package/dist/react/skf-progress/index.d.ts +3 -0
  76. package/dist/react/skf-progress/index.js +13 -0
  77. package/dist/react/skf-tab/index.d.ts +12 -0
  78. package/dist/react/skf-tab/index.js +18 -0
  79. package/dist/react/skf-tab-group/index.d.ts +3 -0
  80. package/dist/react/skf-tab-group/index.js +13 -0
  81. package/dist/react/skf-tab-panel/index.d.ts +3 -0
  82. package/dist/react/skf-tab-panel/index.js +13 -0
  83. package/dist/react/skf-toast/index.d.ts +3 -0
  84. package/dist/react/skf-toast/index.js +13 -0
  85. package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
  86. package/dist/react/skf-toast-wrapper/index.js +13 -0
  87. package/dist/types/jsx/custom-element-jsx.d.ts +115 -1096
  88. package/dist/types/vue/index.d.ts +147 -8
  89. package/dist/vscode.html-custom-data.json +116 -16
  90. package/dist/web-types.json +304 -35
  91. package/package.json +27 -27
@@ -1,3 +1,30 @@
1
+ import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
2
+ import type { SkfAlert } from "../../components/alert/alert.component.js";
3
+ import type { SkfButton } from "../../components/button/button.component.js";
4
+ import type { SkfCard } from "../../components/card/card.component.js";
5
+ import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
6
+ import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
7
+ import type { SkfDivider } from "../../components/divider/divider.component.js";
8
+ import type { SkfHeading } from "../../components/heading/heading.component.js";
9
+ import type { SkfIcon } from "../../components/icon/icon.component.js";
10
+ import type { SkfInput } from "../../components/input/input.component.js";
11
+ import type { SkfLink } from "../../components/link/link.component.js";
12
+ import type { SkfLoader } from "../../components/loader/loader.component.js";
13
+ import type { SkfLogo } from "../../components/logo/logo.component.js";
14
+ import type { SkfProgress } from "../../components/progress/progress.component.js";
15
+ import type { SkfRadio } from "../../components/radio/radio.component.js";
16
+ import type { SkfSelect } from "../../components/select/select.component.js";
17
+ import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
18
+ import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
19
+ import type { SkfSwitch } from "../../components/switch/switch.component.js";
20
+ import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
21
+ import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
22
+ import type { SkfTabPanel } from "../../components/tab-panel/tab-panel.component.js";
23
+ import type { SkfTag } from "../../components/tag/tag.component.js";
24
+ import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
25
+ import type { SkfToast } from "../../components/toast/toast.component.js";
26
+ import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
27
+
1
28
  /**
2
29
  * This type can be used to create scoped tags for your components.
3
30
  *
@@ -58,1082 +85,6 @@ type BaseProps = {
58
85
  translate?: "yes" | "no";
59
86
  };
60
87
 
61
- type BaseEvents = {};
62
-
63
- export type SkfAccordionProps = {
64
- /** If true, will animate the expand/collapse state */
65
- animated?: boolean | undefined;
66
- /** Defines which heading element will be rendered */
67
- "heading-as"?: "h1" | "h2" | "h3" | "h4";
68
- /** If true, adds a gap between each item */
69
- gap?: boolean | undefined;
70
- /** If true, allowes multiple accordion items to open */
71
- multiple?: boolean | undefined;
72
- /** If true, renders the small version */
73
- small?: boolean | undefined;
74
- /** If true, will truncate all headings in collapsed state */
75
- truncate?: boolean | undefined;
76
- };
77
-
78
- export type SkfAlertProps = {
79
- /** If true, alert is being used as a toast (alertdialog) with an close button */
80
- closeable?: boolean | undefined;
81
- /** Close button aria-label */
82
- "button-label"?: string;
83
- /** If defined, displays leading icon */
84
- icon?: SkfIcon["name"] | undefined;
85
- /** If defined, gives the supplied appearance */
86
- severity?: "error" | "info" | "warning" | "success" | "alert";
87
-
88
- /** Fires when the close button is clicked */
89
- "onskf-alert-close"?: (e: CustomEvent<never>) => void;
90
- };
91
-
92
- export type SkfButtonProps = {
93
- /** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
94
- destructive?: boolean;
95
- /** If true, removes border */
96
- disabled?: boolean;
97
- /** If provided, renders an icon before or after the text */
98
- icon?:
99
- | "arrowDown"
100
- | "arrowDownUp"
101
- | "arrowLeft"
102
- | "arrowRight"
103
- | "arrowUp"
104
- | "article"
105
- | "artificialIntelligence"
106
- | "asset"
107
- | "attachment"
108
- | "bandCursor"
109
- | "bands"
110
- | "batteryEmpty"
111
- | "batteryFull"
112
- | "batteryLow"
113
- | "bearingFault"
114
- | "book"
115
- | "bulb"
116
- | "burger"
117
- | "cPM"
118
- | "calendar"
119
- | "calendarBooked"
120
- | "calendarEmpty"
121
- | "calendarNotBooked"
122
- | "calendarRecurring"
123
- | "caretDown"
124
- | "caretUp"
125
- | "caretUpDown"
126
- | "chat"
127
- | "check"
128
- | "checkCircle"
129
- | "checkSmall"
130
- | "chevronDown"
131
- | "chevronLeft"
132
- | "chevronRight"
133
- | "chevronUp"
134
- | "chevronUpDown"
135
- | "close"
136
- | "closeAllFaults"
137
- | "closeFault"
138
- | "closeSmall"
139
- | "columnGraph"
140
- | "comment"
141
- | "connection1"
142
- | "connection2"
143
- | "connection3"
144
- | "connection4"
145
- | "danger"
146
- | "defectFrequencies"
147
- | "defectFrequenciesAlternative"
148
- | "doubleChevronLeft"
149
- | "doubleChevronRight"
150
- | "download"
151
- | "draft"
152
- | "draftFilled"
153
- | "draftOutlined"
154
- | "dragNDrop"
155
- | "drop"
156
- | "duplicate"
157
- | "edit"
158
- | "emailFilled"
159
- | "emailOutlined"
160
- | "exclamation"
161
- | "eye"
162
- | "eyeHidden"
163
- | "eyeVisible"
164
- | "filter"
165
- | "forbidden"
166
- | "fullScreen"
167
- | "fullScreenExit"
168
- | "functionalLocation"
169
- | "harmonicCursor"
170
- | "heatmap"
171
- | "hierarchy"
172
- | "history"
173
- | "historyAlt"
174
- | "hourglassFramedFilled"
175
- | "hourglassFramedOutlined"
176
- | "hourglassOutlined"
177
- | "hz"
178
- | "iMX"
179
- | "image"
180
- | "infoCircleFilled"
181
- | "infoCircleOutlined"
182
- | "integration"
183
- | "kebab"
184
- | "link"
185
- | "listGroup"
186
- | "listItem"
187
- | "locationPin"
188
- | "lock"
189
- | "logOut"
190
- | "meatballs"
191
- | "microphone"
192
- | "minus"
193
- | "minusSmall"
194
- | "noData"
195
- | "o"
196
- | "openInNew"
197
- | "overlayBaseline"
198
- | "pDF"
199
- | "paper"
200
- | "pause"
201
- | "pieChart"
202
- | "pin"
203
- | "play"
204
- | "plus"
205
- | "powerOff"
206
- | "printer"
207
- | "proCollect"
208
- | "recAction"
209
- | "received"
210
- | "refresh"
211
- | "reorder"
212
- | "replace"
213
- | "reply"
214
- | "rewalkableRoute"
215
- | "routes"
216
- | "search"
217
- | "send"
218
- | "sensorA"
219
- | "sensorB"
220
- | "settings"
221
- | "sidebandCursor"
222
- | "singleCursor"
223
- | "spectrum"
224
- | "starFilled"
225
- | "starOutlined"
226
- | "statusCircle"
227
- | "stop"
228
- | "structuralVibration"
229
- | "sync"
230
- | "timewave"
231
- | "trash"
232
- | "trend"
233
- | "trendingUp"
234
- | "undo"
235
- | "unknownCircle"
236
- | "unknownDiamond"
237
- | "unlink"
238
- | "unlock"
239
- | "unscheduledAction"
240
- | "upload"
241
- | "user"
242
- | "viewFull"
243
- | "viewHorizontal"
244
- | "viewVertical"
245
- | "warning"
246
- | "warningCircle"
247
- | "warningDiamond"
248
- | "zoomIn"
249
- | "zoomOut";
250
- /** If provided, determines the positioning of the icon in relation to the text */
251
- "icon-position"?: "left" | "right" | undefined;
252
- /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
253
- loading?: boolean;
254
- /** If provided, displays an alternative size */
255
- size?: "sm" | "md" | "lg";
256
- /** If provided, changes the button type */
257
- type?: "button" | "submit" | "reset";
258
- /** If provided, alters the appearance */
259
- variant?: "primary" | "secondary";
260
- };
261
-
262
- export type SkfCardProps = {
263
- /** If true, removes border */
264
- "no-border"?: boolean | undefined;
265
- /** If true, removes padding */
266
- "no-padding"?: boolean | undefined;
267
- /** If true, the Card fills the parent element height */
268
- stretch?: boolean | undefined;
269
- };
270
-
271
- export type SkfCheckboxProps = {
272
- /** If true, sets disabled state */
273
- disabled?: boolean;
274
- /** If true, value is required or must be checked for the form to be submittable */
275
- required?: boolean;
276
- /** If defined, outputs helping hints in console */
277
- debug?: boolean | undefined;
278
- /** If true, outputs helping hints in console */
279
- checked?: boolean | undefined;
280
- /** If true, forces component to invalid state until removed */
281
- "custom-invalid"?: boolean | undefined;
282
- /** If true, hides the label visually */
283
- "hide-label"?: boolean | undefined;
284
- /** If true and the checkbox is unchecked, the checkbox will appear indeterminate */
285
- indeterminate?: boolean | undefined;
286
- /** Read only indicator of the local state. Use custom-invalid to set it to invalid state. */
287
- invalid?: boolean | undefined;
288
- /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
289
- label?: string | undefined;
290
- /** If defined, adds name to the input-element */
291
- name?: string | undefined;
292
- /** If defined, renders an alternative A11y text for the asterisk */
293
- "required-label"?: string | undefined;
294
- /** If defined, styles checkbox using provided severity */
295
- severity?: "alert" | "success" | "info" | "warning";
296
- /** If true, displays valid state after interaction */
297
- "show-valid"?: boolean | undefined;
298
- /** Size of the checkbox */
299
- size?: "sm" | "md";
300
- /** The current value of the input field */
301
- value?: string;
302
-
303
- /** {object} - When the value of the input changes */
304
- onchange?: (e: CustomEvent<never>) => void;
305
- };
306
-
307
- export type SkfCollapseProps = {
308
- /** If true, will animate the expand/collapse state */
309
- animated?: boolean | undefined;
310
- /** If true, will set the collapse to be expanded by default */
311
- expanded?: boolean | undefined;
312
- /** Heading for the collapse */
313
- heading?: string | undefined;
314
- /** Defines which heading element will be rendered */
315
- "heading-as"?: "h1" | "h2" | "h3" | "h4";
316
- /** If true, renders the small version */
317
- small?: boolean | undefined;
318
- /** If true, will truncate the heading in collapsed state */
319
- truncate?: boolean | undefined;
320
-
321
- /** Event emitted when toggled */
322
- "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
323
- };
324
-
325
- export type SkfDividerProps = {
326
- /** Defines the Divider color */
327
- color?: "emphasised" | "primary" | "secondary" | "tertiary" | "inverse";
328
- /** If true, renders a div for presentational purpose instead of the semantic hr-element */
329
- decorative?: boolean | undefined;
330
- /** If true, renders the divider vertically */
331
- vertical?: boolean | undefined;
332
- };
333
-
334
- export type SkfHeadingProps = {
335
- /** Controls which heading element will be rendered. Should not be used to affect appearance */
336
- as?: "h1" | "h2" | "h3" | "h4";
337
- /** If provided, changes the appearance of the heading */
338
- "styled-as"?: "h1" | "h2" | "h3" | "h4";
339
- };
340
-
341
- export type SkfIconProps = {
342
- /** Sets the color of the icon */
343
- color?: "primary" | "inverse" | "emphasised" | "secondary" | "success" | "info" | "warning" | "error" | "alert";
344
- /** If defined, adds an alternate description to use for assistive devices */
345
- label?: string | undefined;
346
- /** Name of the icon to display */
347
- name?:
348
- | "arrowDown"
349
- | "arrowDownUp"
350
- | "arrowLeft"
351
- | "arrowRight"
352
- | "arrowUp"
353
- | "article"
354
- | "artificialIntelligence"
355
- | "asset"
356
- | "attachment"
357
- | "bandCursor"
358
- | "bands"
359
- | "batteryEmpty"
360
- | "batteryFull"
361
- | "batteryLow"
362
- | "bearingFault"
363
- | "book"
364
- | "bulb"
365
- | "burger"
366
- | "cPM"
367
- | "calendar"
368
- | "calendarBooked"
369
- | "calendarEmpty"
370
- | "calendarNotBooked"
371
- | "calendarRecurring"
372
- | "caretDown"
373
- | "caretUp"
374
- | "caretUpDown"
375
- | "chat"
376
- | "check"
377
- | "checkCircle"
378
- | "checkSmall"
379
- | "chevronDown"
380
- | "chevronLeft"
381
- | "chevronRight"
382
- | "chevronUp"
383
- | "chevronUpDown"
384
- | "close"
385
- | "closeAllFaults"
386
- | "closeFault"
387
- | "closeSmall"
388
- | "columnGraph"
389
- | "comment"
390
- | "connection1"
391
- | "connection2"
392
- | "connection3"
393
- | "connection4"
394
- | "danger"
395
- | "defectFrequencies"
396
- | "defectFrequenciesAlternative"
397
- | "doubleChevronLeft"
398
- | "doubleChevronRight"
399
- | "download"
400
- | "draft"
401
- | "draftFilled"
402
- | "draftOutlined"
403
- | "dragNDrop"
404
- | "drop"
405
- | "duplicate"
406
- | "edit"
407
- | "emailFilled"
408
- | "emailOutlined"
409
- | "exclamation"
410
- | "eye"
411
- | "eyeHidden"
412
- | "eyeVisible"
413
- | "filter"
414
- | "forbidden"
415
- | "fullScreen"
416
- | "fullScreenExit"
417
- | "functionalLocation"
418
- | "harmonicCursor"
419
- | "heatmap"
420
- | "hierarchy"
421
- | "history"
422
- | "historyAlt"
423
- | "hourglassFramedFilled"
424
- | "hourglassFramedOutlined"
425
- | "hourglassOutlined"
426
- | "hz"
427
- | "iMX"
428
- | "image"
429
- | "infoCircleFilled"
430
- | "infoCircleOutlined"
431
- | "integration"
432
- | "kebab"
433
- | "link"
434
- | "listGroup"
435
- | "listItem"
436
- | "locationPin"
437
- | "lock"
438
- | "logOut"
439
- | "meatballs"
440
- | "microphone"
441
- | "minus"
442
- | "minusSmall"
443
- | "noData"
444
- | "o"
445
- | "openInNew"
446
- | "overlayBaseline"
447
- | "pDF"
448
- | "paper"
449
- | "pause"
450
- | "pieChart"
451
- | "pin"
452
- | "play"
453
- | "plus"
454
- | "powerOff"
455
- | "printer"
456
- | "proCollect"
457
- | "recAction"
458
- | "received"
459
- | "refresh"
460
- | "reorder"
461
- | "replace"
462
- | "reply"
463
- | "rewalkableRoute"
464
- | "routes"
465
- | "search"
466
- | "send"
467
- | "sensorA"
468
- | "sensorB"
469
- | "settings"
470
- | "sidebandCursor"
471
- | "singleCursor"
472
- | "spectrum"
473
- | "starFilled"
474
- | "starOutlined"
475
- | "statusCircle"
476
- | "stop"
477
- | "structuralVibration"
478
- | "sync"
479
- | "timewave"
480
- | "trash"
481
- | "trend"
482
- | "trendingUp"
483
- | "undo"
484
- | "unknownCircle"
485
- | "unknownDiamond"
486
- | "unlink"
487
- | "unlock"
488
- | "unscheduledAction"
489
- | "upload"
490
- | "user"
491
- | "viewFull"
492
- | "viewHorizontal"
493
- | "viewVertical"
494
- | "warning"
495
- | "warningCircle"
496
- | "warningDiamond"
497
- | "zoomIn"
498
- | "zoomOut";
499
- /** Size of the icon */
500
- size?: "xs" | "sm" | "md" | "lg";
501
- };
502
-
503
- export type SkfInputProps = {
504
- /** If true, sets disabled state */
505
- disabled?: boolean;
506
- /** If true, value is required or must be checked for the form to be submittable */
507
- required?: boolean;
508
- /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
509
- "button-aria-label-clear"?: string;
510
- /** Custom aria-label for the visibility button. **Notice!** Only applicable to type=password. */
511
- "button-aria-label-hide"?: string;
512
- /** Custom aria-label for the visibility button **Notice!** Only applicable to type=password. */
513
- "button-aria-label-show"?: string;
514
- /** If defined, forces component to invalid state until removed. Its value is used as hint text. */
515
- "custom-invalid"?: string;
516
- /** If true, outputs helping hints in console */
517
- debug?: boolean | undefined;
518
- /** If true, hides the label visually */
519
- "hide-label"?: boolean | undefined;
520
- /** If defined, displays informational text below the field */
521
- hint?: string | undefined;
522
- /** Tells what keyboard to use if applicable */
523
- inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
524
- /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
525
- label?: string | undefined;
526
- /** If defined, displays a prefix/adornment before the input-element */
527
- leading?: string | undefined;
528
- /** If defined, sets the maximum value to accept for this input */
529
- max?: number | string | undefined;
530
- /** If defined, sets the maximum character length to accept for this input */
531
- maxlength?: number | undefined;
532
- /** If defined, sets the minimum value to accept for this input */
533
- min?: number | string | undefined;
534
- /** If defined, sets the minimum character length to accept for this input */
535
- minlength?: number | undefined;
536
- /** If defined, adds name to the input-element */
537
- name?: string | undefined;
538
- /** If defined, adds name to the input-element */
539
- pattern?: string | undefined;
540
- /** If defined, displays placeholder text */
541
- placeholder?: string | undefined;
542
- /** If true, makes the element not mutable, meaning the user can not edit the control */
543
- readonly?: boolean | undefined;
544
- /** If defined, renders an alternative A11y text for the asterisk */
545
- "required-label"?: string | undefined;
546
- /** If defined, displays provided severity state */
547
- severity?: "alert" | "success" | "info" | "warning";
548
- /** If true, displays valid state after interaction */
549
- "show-valid"?: boolean | undefined;
550
- /** Size of the input */
551
- size?: "sm" | "md";
552
- /** If defined, displays a suffix/adornment after the input-element */
553
- trailing?: string | undefined;
554
- /** Type of input control */
555
- type?:
556
- | "button"
557
- | "color"
558
- | "date"
559
- | "datetime-local"
560
- | "email"
561
- | "file"
562
- | "hidden"
563
- | "image"
564
- | "month"
565
- | "number"
566
- | "password"
567
- | "range"
568
- | "reset"
569
- | "search"
570
- | "submit"
571
- | "tel"
572
- | "text"
573
- | "time"
574
- | "url"
575
- | "week";
576
- /** Sets validation start */
577
- "validate-on"?: "input" | "change" | "submit";
578
- /** The current value of the input field */
579
- value?: string;
580
-
581
- /** Fires when the value of the input changes */
582
- onchange?: (e: CustomEvent<never>) => void;
583
- /** Fires when the input is invalid */
584
- oninvalid?: (e: CustomEvent<never>) => void;
585
- };
586
-
587
- export type SkfLinkProps = {
588
- /** Defines the semantic element to render */
589
- as?: "button" | "a";
590
- /** Defines the text-color */
591
- color?: "primary" | "inverse";
592
- /** If true, disables the link */
593
- disabled?: boolean | undefined;
594
- /** If defined, downloads the url */
595
- download?: string | undefined;
596
- /** If defined, loads url on click */
597
- href?: string | undefined;
598
- /** If defined, renders an icon before or after the text */
599
- icon?:
600
- | "arrowDown"
601
- | "arrowDownUp"
602
- | "arrowLeft"
603
- | "arrowRight"
604
- | "arrowUp"
605
- | "article"
606
- | "artificialIntelligence"
607
- | "asset"
608
- | "attachment"
609
- | "bandCursor"
610
- | "bands"
611
- | "batteryEmpty"
612
- | "batteryFull"
613
- | "batteryLow"
614
- | "bearingFault"
615
- | "book"
616
- | "bulb"
617
- | "burger"
618
- | "cPM"
619
- | "calendar"
620
- | "calendarBooked"
621
- | "calendarEmpty"
622
- | "calendarNotBooked"
623
- | "calendarRecurring"
624
- | "caretDown"
625
- | "caretUp"
626
- | "caretUpDown"
627
- | "chat"
628
- | "check"
629
- | "checkCircle"
630
- | "checkSmall"
631
- | "chevronDown"
632
- | "chevronLeft"
633
- | "chevronRight"
634
- | "chevronUp"
635
- | "chevronUpDown"
636
- | "close"
637
- | "closeAllFaults"
638
- | "closeFault"
639
- | "closeSmall"
640
- | "columnGraph"
641
- | "comment"
642
- | "connection1"
643
- | "connection2"
644
- | "connection3"
645
- | "connection4"
646
- | "danger"
647
- | "defectFrequencies"
648
- | "defectFrequenciesAlternative"
649
- | "doubleChevronLeft"
650
- | "doubleChevronRight"
651
- | "download"
652
- | "draft"
653
- | "draftFilled"
654
- | "draftOutlined"
655
- | "dragNDrop"
656
- | "drop"
657
- | "duplicate"
658
- | "edit"
659
- | "emailFilled"
660
- | "emailOutlined"
661
- | "exclamation"
662
- | "eye"
663
- | "eyeHidden"
664
- | "eyeVisible"
665
- | "filter"
666
- | "forbidden"
667
- | "fullScreen"
668
- | "fullScreenExit"
669
- | "functionalLocation"
670
- | "harmonicCursor"
671
- | "heatmap"
672
- | "hierarchy"
673
- | "history"
674
- | "historyAlt"
675
- | "hourglassFramedFilled"
676
- | "hourglassFramedOutlined"
677
- | "hourglassOutlined"
678
- | "hz"
679
- | "iMX"
680
- | "image"
681
- | "infoCircleFilled"
682
- | "infoCircleOutlined"
683
- | "integration"
684
- | "kebab"
685
- | "link"
686
- | "listGroup"
687
- | "listItem"
688
- | "locationPin"
689
- | "lock"
690
- | "logOut"
691
- | "meatballs"
692
- | "microphone"
693
- | "minus"
694
- | "minusSmall"
695
- | "noData"
696
- | "o"
697
- | "openInNew"
698
- | "overlayBaseline"
699
- | "pDF"
700
- | "paper"
701
- | "pause"
702
- | "pieChart"
703
- | "pin"
704
- | "play"
705
- | "plus"
706
- | "powerOff"
707
- | "printer"
708
- | "proCollect"
709
- | "recAction"
710
- | "received"
711
- | "refresh"
712
- | "reorder"
713
- | "replace"
714
- | "reply"
715
- | "rewalkableRoute"
716
- | "routes"
717
- | "search"
718
- | "send"
719
- | "sensorA"
720
- | "sensorB"
721
- | "settings"
722
- | "sidebandCursor"
723
- | "singleCursor"
724
- | "spectrum"
725
- | "starFilled"
726
- | "starOutlined"
727
- | "statusCircle"
728
- | "stop"
729
- | "structuralVibration"
730
- | "sync"
731
- | "timewave"
732
- | "trash"
733
- | "trend"
734
- | "trendingUp"
735
- | "undo"
736
- | "unknownCircle"
737
- | "unknownDiamond"
738
- | "unlink"
739
- | "unlock"
740
- | "unscheduledAction"
741
- | "upload"
742
- | "user"
743
- | "viewFull"
744
- | "viewHorizontal"
745
- | "viewVertical"
746
- | "warning"
747
- | "warningCircle"
748
- | "warningDiamond"
749
- | "zoomIn"
750
- | "zoomOut";
751
- /** Defines the position of the icon in relation to the text */
752
- "icon-placement"?: "left" | "right";
753
- /** Defines the relationship of the target object to the link object */
754
- rel?: string;
755
- /** If defined, used on conjunction with onClick property, second argument */
756
- route?: string | undefined;
757
- /** If true, fills the parents horizontal axis */
758
- stretch?: boolean | undefined;
759
- /** If defined, specifies where to open the linked document */
760
- target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
761
- /** Defines the type of button */
762
- type?: "button" | "submit" | "reset";
763
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
764
- onClick?: function;
765
- };
766
-
767
- export type SkfLoaderProps = {
768
- /** Defines the aria-label */
769
- "aria-label"?: string;
770
- /** If true, inverts the color (to be used on colored backgrounds) */
771
- invert?: boolean | undefined;
772
- /** Defines the size of the loader */
773
- size?: "md" | "sm" | undefined;
774
- /** */
775
- role?: string;
776
- /** */
777
- ariaLive?: string;
778
- };
779
-
780
- export type SkfLogoProps = {
781
- /** Defines the title of the logo */
782
- title?: string;
783
- /** If defined, sets color of the logo */
784
- color?: "primary" | "secondary" | "inverse";
785
- };
786
-
787
- export type SkfRadioProps = {
788
- /** If true, sets disabled state */
789
- disabled?: boolean;
790
- /** If true, value is required or must be checked for the form to be submittable */
791
- required?: boolean;
792
- /** If true, outputs helping hints in console */
793
- debug?: boolean | undefined;
794
- /** If true, outputs helping hints in console */
795
- checked?: boolean | undefined;
796
- /** If true, forces component to invalid state until removed */
797
- "custom-invalid"?: boolean | undefined;
798
- /** If true, hides the label visually */
799
- "hide-label"?: boolean | undefined;
800
- /** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
801
- label?: string | undefined;
802
- /** If defined, adds name to the input-element */
803
- name?: string | undefined;
804
- /** If defined, renders an alternative A11y text for the asterisk */
805
- "required-label"?: string | undefined;
806
- /** Size of the Radio */
807
- size?: "sm" | "md";
808
- /** If defined, displays provided severity state */
809
- severity?: "success" | "info" | "warning" | "alert";
810
- /** If true, displays valid state after interaction */
811
- "show-valid"?: boolean | undefined;
812
- /** The current value of the input field */
813
- value?: string;
814
-
815
- /** {object} - When the value of the input changes */
816
- onchange?: (e: CustomEvent<never>) => void;
817
- };
818
-
819
- export type SkfSelectProps = {
820
- /** If true, the select is disabled `default: false` */
821
- disabled?: boolean;
822
- /** Sets the first visible text on the component */
823
- "button-label"?: string;
824
- /** If defined, forces component to invalid state until removed */
825
- "custom-invalid"?: string | undefined;
826
- /** If true, hides the label visually */
827
- "hide-label"?: boolean | undefined;
828
- /** If true and mulltiple is true, no tags are displayed under the select */
829
- "hide-tags"?: boolean | undefined;
830
- /** If defined, sets the hint text under the select component in the form */
831
- hint?: string | undefined;
832
- /** If defined, displays provided label */
833
- label?: string | undefined;
834
- /** If defined, limits the number of selectable options */
835
- max?: number | undefined;
836
- /** If defined, sets the minimum number of required options */
837
- min?: number | undefined;
838
- /** If true, allows for multiple options to be selected */
839
- multiple?: boolean | undefined;
840
- /** If defined, set name of the component */
841
- name?: string | undefined;
842
- /** If defined, renders an alternative A11y text for the asterisk */
843
- "required-label"?: string | undefined;
844
- /** If defined, displays provided severity state */
845
- severity?: FormFieldBaseProps["severity"] | undefined;
846
- /** If true, displays valid state after interaction */
847
- "show-valid"?: boolean | undefined;
848
- /** Size of the Select */
849
- size?: "sm" | "md";
850
- /** A readonly property that returns the selected value(s) in a array */
851
- getSelectedValues?: string;
852
- /** A readonly property that returns the selected slot(s) text content in a array */
853
- getSelectedOptionsText?: string;
854
- /** Read only, returns the selected value. (if multiple: in a comma separated string) */
855
- value?: string;
856
- /** */
857
- _selectedOptions?: array;
858
- /** Fired when the selected option(s) changes */
859
- onchange?: (e: CustomEvent<never>) => void;
860
- /** Fired when the select is invalid */
861
- oninvalid?: (e: CustomEvent<never>) => void;
862
- /** Fired when the form is reset */
863
- onreset?: (e: CustomEvent<never>) => void;
864
- /** {detail: {expanded: boolean}} Fired when the select dropdown is toggled */
865
- "onskf-select:dropdown"?: (e: CustomEvent<never>) => void;
866
- /** {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled */
867
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
868
- };
869
-
870
- export type SkfSelectOptionProps = {
871
- /** If true, prevents interaction with the option */
872
- disabled?: boolean | undefined;
873
- /** If defined, set an icon */
874
- icon?: SkfIcon["name"] | undefined;
875
- /** If defined, sets provided color on the icon */
876
- "icon-color"?: SeverityFgColor | undefined;
877
- /** If true, sets the option as selected */
878
- selected?: boolean | undefined;
879
- /** If defined, sets a short label */
880
- "short-label"?: string | undefined;
881
- /** Returns or sets the tags value. If value is omitted, defaults to the tags text. */
882
- value?: string;
883
- /** The option's label text (equivalent to the tags textContent) */
884
- text?: string;
885
- /** */
886
- role?: string;
887
- /** */
888
- _parent?: string;
889
- /** */
890
- _shortcutUpdate?: boolean;
891
- /** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
892
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
893
- };
894
-
895
- export type SkfSelectOptionGroupProps = {
896
- /** */
897
- label?: string;
898
- };
899
-
900
- export type SkfSwitchProps = {
901
- /** If true, sets disabled state */
902
- disabled?: boolean;
903
- /** If true, value is required or must be checked for the form to be submittable */
904
- required?: boolean;
905
- /** If true, outputs helping hints in console */
906
- debug?: boolean | undefined;
907
- /** If true, outputs helping hints in console */
908
- checked?: boolean | undefined;
909
- /** If true, hides the label visually */
910
- "hide-label"?: boolean | undefined;
911
- /** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
912
- label?: string | undefined;
913
- /** If defined, adds name to the input-element */
914
- name?: string | undefined;
915
- /** If defined, renders an alternative A11y text for the asterisk */
916
- "required-label"?: string | undefined;
917
- /** Size of the Switch */
918
- size?: "sm" | "md";
919
- /** The current value of the input field */
920
- value?: string;
921
- };
922
-
923
- export type SkfTagProps = {
924
- /** Specifies Tag size */
925
- size?: "sm" | "md" | "lg";
926
- /** If defined, displays leading/provided icon */
927
- icon?:
928
- | "arrowDown"
929
- | "arrowDownUp"
930
- | "arrowLeft"
931
- | "arrowRight"
932
- | "arrowUp"
933
- | "article"
934
- | "artificialIntelligence"
935
- | "asset"
936
- | "attachment"
937
- | "bandCursor"
938
- | "bands"
939
- | "batteryEmpty"
940
- | "batteryFull"
941
- | "batteryLow"
942
- | "bearingFault"
943
- | "book"
944
- | "bulb"
945
- | "burger"
946
- | "cPM"
947
- | "calendar"
948
- | "calendarBooked"
949
- | "calendarEmpty"
950
- | "calendarNotBooked"
951
- | "calendarRecurring"
952
- | "caretDown"
953
- | "caretUp"
954
- | "caretUpDown"
955
- | "chat"
956
- | "check"
957
- | "checkCircle"
958
- | "checkSmall"
959
- | "chevronDown"
960
- | "chevronLeft"
961
- | "chevronRight"
962
- | "chevronUp"
963
- | "chevronUpDown"
964
- | "close"
965
- | "closeAllFaults"
966
- | "closeFault"
967
- | "closeSmall"
968
- | "columnGraph"
969
- | "comment"
970
- | "connection1"
971
- | "connection2"
972
- | "connection3"
973
- | "connection4"
974
- | "danger"
975
- | "defectFrequencies"
976
- | "defectFrequenciesAlternative"
977
- | "doubleChevronLeft"
978
- | "doubleChevronRight"
979
- | "download"
980
- | "draft"
981
- | "draftFilled"
982
- | "draftOutlined"
983
- | "dragNDrop"
984
- | "drop"
985
- | "duplicate"
986
- | "edit"
987
- | "emailFilled"
988
- | "emailOutlined"
989
- | "exclamation"
990
- | "eye"
991
- | "eyeHidden"
992
- | "eyeVisible"
993
- | "filter"
994
- | "forbidden"
995
- | "fullScreen"
996
- | "fullScreenExit"
997
- | "functionalLocation"
998
- | "harmonicCursor"
999
- | "heatmap"
1000
- | "hierarchy"
1001
- | "history"
1002
- | "historyAlt"
1003
- | "hourglassFramedFilled"
1004
- | "hourglassFramedOutlined"
1005
- | "hourglassOutlined"
1006
- | "hz"
1007
- | "iMX"
1008
- | "image"
1009
- | "infoCircleFilled"
1010
- | "infoCircleOutlined"
1011
- | "integration"
1012
- | "kebab"
1013
- | "link"
1014
- | "listGroup"
1015
- | "listItem"
1016
- | "locationPin"
1017
- | "lock"
1018
- | "logOut"
1019
- | "meatballs"
1020
- | "microphone"
1021
- | "minus"
1022
- | "minusSmall"
1023
- | "noData"
1024
- | "o"
1025
- | "openInNew"
1026
- | "overlayBaseline"
1027
- | "pDF"
1028
- | "paper"
1029
- | "pause"
1030
- | "pieChart"
1031
- | "pin"
1032
- | "play"
1033
- | "plus"
1034
- | "powerOff"
1035
- | "printer"
1036
- | "proCollect"
1037
- | "recAction"
1038
- | "received"
1039
- | "refresh"
1040
- | "reorder"
1041
- | "replace"
1042
- | "reply"
1043
- | "rewalkableRoute"
1044
- | "routes"
1045
- | "search"
1046
- | "send"
1047
- | "sensorA"
1048
- | "sensorB"
1049
- | "settings"
1050
- | "sidebandCursor"
1051
- | "singleCursor"
1052
- | "spectrum"
1053
- | "starFilled"
1054
- | "starOutlined"
1055
- | "statusCircle"
1056
- | "stop"
1057
- | "structuralVibration"
1058
- | "sync"
1059
- | "timewave"
1060
- | "trash"
1061
- | "trend"
1062
- | "trendingUp"
1063
- | "undo"
1064
- | "unknownCircle"
1065
- | "unknownDiamond"
1066
- | "unlink"
1067
- | "unlock"
1068
- | "unscheduledAction"
1069
- | "upload"
1070
- | "user"
1071
- | "viewFull"
1072
- | "viewHorizontal"
1073
- | "viewVertical"
1074
- | "warning"
1075
- | "warningCircle"
1076
- | "warningDiamond"
1077
- | "zoomIn"
1078
- | "zoomOut";
1079
- /** If defined, gives the supplied appearance */
1080
- color?: "warning" | "success" | "info" | "error" | "alert";
1081
- /** If true, adds trailing button to remove tag */
1082
- removable?: boolean | undefined;
1083
- /** If defined, accepts a function that runs on click */
1084
- onClick?: string;
1085
- /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
1086
- onRemove?: string;
1087
- };
1088
-
1089
- export type SkfTextAreaProps = {
1090
- /** If true, sets disabled state */
1091
- disabled?: boolean;
1092
- /** If true, value is required or must be checked for the form to be submittable */
1093
- required?: boolean;
1094
- /** If defined, sets the cols of the textarea */
1095
- cols?: number | undefined;
1096
- /** If defined, forces component to invalid state until removed. Its value is used as hint text. */
1097
- "custom-invalid"?: string;
1098
- /** If true, outputs helping hints in console */
1099
- debug?: boolean | undefined;
1100
- /** If true, hides the label visually */
1101
- "hide-label"?: boolean | undefined;
1102
- /** If defined, displays informational text below the field */
1103
- hint?: string | undefined;
1104
- /** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
1105
- label?: string | undefined;
1106
- /** If defined, adds name to the input-element */
1107
- name?: string | undefined;
1108
- /** If defined, sets the maximum character length to accept for this input */
1109
- maxlength?: number | undefined;
1110
- /** If defined, sets the minimum character length to accept for this input */
1111
- minlength?: number | undefined;
1112
- /** If defined, displays placeholder text */
1113
- placeholder?: string | undefined;
1114
- /** If true, makes the element not mutable, meaning the user can not edit the control */
1115
- readonly?: boolean | undefined;
1116
- /** If defined, renders an alternative A11y text for the asterisk */
1117
- "required-label"?: string | undefined;
1118
- /** If defined, sets the rows of the textarea */
1119
- rows?: number | undefined;
1120
- /** If defined, displays provided severity state */
1121
- severity?: "success" | "info" | "warning" | "alert";
1122
- /** If true, displays valid state after interaction */
1123
- "show-valid"?: boolean | undefined;
1124
- /** Size of the Textarea */
1125
- size?: "sm" | "md" | undefined;
1126
- /** Sets validation start */
1127
- "validate-on"?: "input" | "change" | "submit";
1128
- /** The current value of the text area */
1129
- value?: string;
1130
-
1131
- /** Fires when the value of the input changes */
1132
- onchange?: (e: CustomEvent<never>) => void;
1133
- /** Fires when the input is invalid */
1134
- oninvalid?: (e: CustomEvent<never>) => void;
1135
- };
1136
-
1137
88
  export type CustomElements = {
1138
89
  /**
1139
90
  * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
@@ -1145,7 +96,7 @@ export type CustomElements = {
1145
96
  * ### **Slots:**
1146
97
  * - _default_ - Expects one or more <skf-accordion-item> element(s)
1147
98
  */
1148
- "skf-accordion": Partial<SkfAccordionProps & BaseProps & BaseEvents>;
99
+ "skf-accordion": Partial<SkfAccordion & BaseProps & BaseEvents>;
1149
100
 
1150
101
  /**
1151
102
  * The `<skf-alert>` is a type of notification that appears in-line
@@ -1159,17 +110,23 @@ export type CustomElements = {
1159
110
  * - _default_ - Alert message. **Notice!** See design principles for approved content
1160
111
  * - **link** - Slot for the link
1161
112
  */
1162
- "skf-alert": Partial<SkfAlertProps & BaseProps & BaseEvents>;
113
+ "skf-alert": Partial<SkfAlert & BaseProps & BaseEvents>;
1163
114
 
1164
115
  /**
1165
116
  * Component to be used in forms or for interactivity
1166
117
  * ---
1167
118
  *
1168
119
  *
120
+ * ### **Events:**
121
+ * - **click** - Fires when the button is clicked
122
+ *
123
+ * ### **Methods:**
124
+ * - **click()** - Simulates a click on the button.
125
+ *
1169
126
  * ### **Slots:**
1170
127
  * - _default_ - The Primary content
1171
128
  */
1172
- "skf-button": Partial<SkfButtonProps & BaseProps & BaseEvents>;
129
+ "skf-button": Partial<SkfButton & BaseProps & BaseEvents>;
1173
130
 
1174
131
  /**
1175
132
  * The `<skf-card>` can be used to group related subjects in a container
@@ -1179,7 +136,7 @@ export type CustomElements = {
1179
136
  * ### **Slots:**
1180
137
  * - _default_ - The card's main content
1181
138
  */
1182
- "skf-card": Partial<SkfCardProps & BaseProps & BaseEvents>;
139
+ "skf-card": Partial<SkfCard & BaseProps & BaseEvents>;
1183
140
 
1184
141
  /**
1185
142
  * The `<skf-checkbox>` component is used to create a checkbox input
@@ -1192,7 +149,7 @@ export type CustomElements = {
1192
149
  * ### **Slots:**
1193
150
  * - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
1194
151
  */
1195
- "skf-checkbox": Partial<SkfCheckboxProps & BaseProps & BaseEvents>;
152
+ "skf-checkbox": Partial<SkfCheckbox & BaseProps & BaseEvents>;
1196
153
 
1197
154
  /**
1198
155
  * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
@@ -1211,7 +168,7 @@ export type CustomElements = {
1211
168
  * ### **Slots:**
1212
169
  * - _default_ - Main content
1213
170
  */
1214
- "skf-collapse": Partial<SkfCollapseProps & BaseProps & BaseEvents>;
171
+ "skf-collapse": Partial<SkfCollapse & BaseProps & BaseEvents>;
1215
172
 
1216
173
  /**
1217
174
  * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
@@ -1222,7 +179,7 @@ export type CustomElements = {
1222
179
  * - **--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)_
1223
180
  * - **--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)_
1224
181
  */
1225
- "skf-divider": Partial<SkfDividerProps & BaseProps & BaseEvents>;
182
+ "skf-divider": Partial<SkfDivider & BaseProps & BaseEvents>;
1226
183
 
1227
184
  /**
1228
185
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
@@ -1233,14 +190,14 @@ export type CustomElements = {
1233
190
  * ### **Slots:**
1234
191
  * - _default_ - The headings content
1235
192
  */
1236
- "skf-heading": Partial<SkfHeadingProps & BaseProps & BaseEvents>;
193
+ "skf-heading": Partial<SkfHeading & BaseProps & BaseEvents>;
1237
194
 
1238
195
  /**
1239
196
  * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text
1240
197
  * ---
1241
198
  *
1242
199
  */
1243
- "skf-icon": Partial<SkfIconProps & BaseProps & BaseEvents>;
200
+ "skf-icon": Partial<SkfIcon & BaseProps & BaseEvents>;
1244
201
 
1245
202
  /**
1246
203
  * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.
@@ -1254,7 +211,7 @@ export type CustomElements = {
1254
211
  * ### **Slots:**
1255
212
  * - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.
1256
213
  */
1257
- "skf-input": Partial<SkfInputProps & BaseProps & BaseEvents>;
214
+ "skf-input": Partial<SkfInput & BaseProps & BaseEvents>;
1258
215
 
1259
216
  /**
1260
217
  * The `<skf-link>` can be used as either a regular link or a link styled semantic button
@@ -1264,14 +221,14 @@ export type CustomElements = {
1264
221
  * ### **Slots:**
1265
222
  * - _default_ - The links' main content
1266
223
  */
1267
- "skf-link": Partial<SkfLinkProps & BaseProps & BaseEvents>;
224
+ "skf-link": Partial<SkfLink & BaseProps & BaseEvents>;
1268
225
 
1269
226
  /**
1270
227
  * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
1271
228
  * ---
1272
229
  *
1273
230
  */
1274
- "skf-loader": Partial<SkfLoaderProps & BaseProps & BaseEvents>;
231
+ "skf-loader": Partial<SkfLoader & BaseProps & BaseEvents>;
1275
232
 
1276
233
  /**
1277
234
  * The `<skf-logo>` component is used to display the SKF logo.
@@ -1281,7 +238,14 @@ export type CustomElements = {
1281
238
  * ### **CSS Properties:**
1282
239
  * - **--skf-logo-height** - The height of the logo _(default: undefined)_
1283
240
  */
1284
- "skf-logo": Partial<SkfLogoProps & BaseProps & BaseEvents>;
241
+ "skf-logo": Partial<SkfLogo & BaseProps & BaseEvents>;
242
+
243
+ /**
244
+ * The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar
245
+ * ---
246
+ *
247
+ */
248
+ "skf-progress": Partial<SkfProgress & BaseProps & BaseEvents>;
1285
249
 
1286
250
  /**
1287
251
  * The `<skf-radio>` component is used to create a radio input
@@ -1294,7 +258,7 @@ export type CustomElements = {
1294
258
  * ### **Slots:**
1295
259
  * - _default_ - The radios label. Alternatively, you can use the `label` attribute.
1296
260
  */
1297
- "skf-radio": Partial<SkfRadioProps & BaseProps & BaseEvents>;
261
+ "skf-radio": Partial<SkfRadio & BaseProps & BaseEvents>;
1298
262
 
1299
263
  /**
1300
264
  * 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.
@@ -1311,7 +275,7 @@ export type CustomElements = {
1311
275
  * ### **Slots:**
1312
276
  * - _default_ - The select's placeholder content
1313
277
  */
1314
- "skf-select": Partial<SkfSelectProps & BaseProps & BaseEvents>;
278
+ "skf-select": Partial<SkfSelect & BaseProps & BaseEvents>;
1315
279
 
1316
280
  /**
1317
281
  * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
@@ -1325,7 +289,7 @@ export type CustomElements = {
1325
289
  * - _default_ - The option's text content
1326
290
  * - **icon** - The option's slot for icon or custom meta information (svg).
1327
291
  */
1328
- "skf-select-option": Partial<SkfSelectOptionProps & BaseProps & BaseEvents>;
292
+ "skf-select-option": Partial<SkfSelectOption & BaseProps & BaseEvents>;
1329
293
 
1330
294
  /**
1331
295
  * The `<skf-select-option-group>` is a component that groups select-options
@@ -1335,7 +299,7 @@ export type CustomElements = {
1335
299
  * ### **Slots:**
1336
300
  * - _default_ - The component's placeholder content
1337
301
  */
1338
- "skf-select-option-group": Partial<SkfSelectOptionGroupProps & BaseProps & BaseEvents>;
302
+ "skf-select-option-group": Partial<SkfSelectOptionGroup & BaseProps & BaseEvents>;
1339
303
 
1340
304
  /**
1341
305
  * The `<skf-switch>` is a component that displays a list of actions or options
@@ -1345,7 +309,42 @@ export type CustomElements = {
1345
309
  * ### **Slots:**
1346
310
  * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1347
311
  */
1348
- "skf-switch": Partial<SkfSwitchProps & BaseProps & BaseEvents>;
312
+ "skf-switch": Partial<SkfSwitch & BaseProps & BaseEvents>;
313
+
314
+ /**
315
+ * The `<skf-tab>` is a component that displays a list of actions or options
316
+ * ---
317
+ *
318
+ *
319
+ * ### **Events:**
320
+ * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
321
+ * - **click** - Fired when the component is clicked
322
+ *
323
+ * ### **Slots:**
324
+ * - _default_ - The tab's label
325
+ */
326
+ "skf-tab": Partial<SkfTab & BaseProps & BaseEvents>;
327
+
328
+ /**
329
+ * The `<skf-tab-group>` is a component that displays a list of actions or options.
330
+ * ---
331
+ *
332
+ *
333
+ * ### **Slots:**
334
+ * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
335
+ * - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
336
+ */
337
+ "skf-tab-group": Partial<SkfTabGroup & BaseProps & BaseEvents>;
338
+
339
+ /**
340
+ * The `<skf-tab-panel>` is a component that displays a list of actions or options.
341
+ * ---
342
+ *
343
+ *
344
+ * ### **Slots:**
345
+ * - _default_ - The tab panel's content
346
+ */
347
+ "skf-tab-panel": Partial<SkfTabPanel & BaseProps & BaseEvents>;
1349
348
 
1350
349
  /**
1351
350
  * The `<skf-tag>` is a component that displays a list of actions or options
@@ -1355,7 +354,7 @@ export type CustomElements = {
1355
354
  * ### **Slots:**
1356
355
  * - _default_ - The component's placeholder content
1357
356
  */
1358
- "skf-tag": Partial<SkfTagProps & BaseProps & BaseEvents>;
357
+ "skf-tag": Partial<SkfTag & BaseProps & BaseEvents>;
1359
358
 
1360
359
  /**
1361
360
  * The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.
@@ -1369,5 +368,25 @@ export type CustomElements = {
1369
368
  * ### **Slots:**
1370
369
  * - _default_ - The textareas label. Alternatively, you can use the `label` attribute.
1371
370
  */
1372
- "skf-textarea": Partial<SkfTextAreaProps & BaseProps & BaseEvents>;
371
+ "skf-textarea": Partial<SkfTextArea & BaseProps & BaseEvents>;
372
+
373
+ /**
374
+ * A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.
375
+ * ---
376
+ *
377
+ *
378
+ * ### **Slots:**
379
+ * - _default_ - The component's placeholder content
380
+ */
381
+ "skf-toast": Partial<SkfToast & BaseProps & BaseEvents>;
382
+
383
+ /**
384
+ * The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.
385
+ * ---
386
+ *
387
+ *
388
+ * ### **Slots:**
389
+ * - _default_ - The alert components that the toast creates will render here.
390
+ */
391
+ "skf-toast-wrapper": Partial<SkfToastWrapper & BaseProps & BaseEvents>;
1373
392
  };