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

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 (98) hide show
  1. package/README.md +26 -6
  2. package/dist/components/accordion/accordion.component.d.ts +9 -5
  3. package/dist/components/accordion/accordion.component.js +22 -19
  4. package/dist/components/accordion/accordion.d.ts +1 -1
  5. package/dist/components/accordion/accordion.styles.js +3 -3
  6. package/dist/components/alert/alert.component.d.ts +7 -4
  7. package/dist/components/alert/alert.component.js +21 -19
  8. package/dist/components/alert/alert.styles.js +50 -47
  9. package/dist/components/button/button.component.d.ts +2 -0
  10. package/dist/components/button/button.component.js +6 -6
  11. package/dist/components/button/button.styles.js +1 -1
  12. package/dist/components/card/card.component.d.ts +3 -3
  13. package/dist/components/card/card.component.js +16 -19
  14. package/dist/components/card/card.styles.js +11 -3
  15. package/dist/components/checkbox/checkbox.component.d.ts +9 -6
  16. package/dist/components/checkbox/checkbox.component.js +7 -7
  17. package/dist/components/checkbox/checkbox.styles.js +7 -2
  18. package/dist/components/checkbox/checkbox.test.d.ts +1 -0
  19. package/dist/components/collapse/collapse.component.d.ts +9 -6
  20. package/dist/components/collapse/collapse.component.js +39 -36
  21. package/dist/components/collapse/collapse.styles.js +3 -3
  22. package/dist/components/collapse/collapse.test.d.ts +1 -0
  23. package/dist/components/divider/divider.component.d.ts +13 -10
  24. package/dist/components/divider/divider.component.js +34 -29
  25. package/dist/components/divider/divider.styles.js +1 -5
  26. package/dist/components/heading/heading.component.d.ts +12 -2
  27. package/dist/components/heading/heading.component.js +14 -14
  28. package/dist/components/heading/heading.styles.js +1 -1
  29. package/dist/components/icon/icon.component.d.ts +14 -8
  30. package/dist/components/icon/icon.component.js +6 -6
  31. package/dist/components/icon/icon.styles.js +56 -54
  32. package/dist/components/input/input.component.d.ts +43 -29
  33. package/dist/components/input/input.component.js +46 -36
  34. package/dist/components/link/link.component.d.ts +15 -12
  35. package/dist/components/link/link.component.js +7 -7
  36. package/dist/components/link/link.styles.js +1 -1
  37. package/dist/components/loader/loader.component.d.ts +7 -7
  38. package/dist/components/loader/loader.component.js +35 -61
  39. package/dist/components/loader/loader.styles.js +42 -10
  40. package/dist/components/logo/logo.component.d.ts +5 -3
  41. package/dist/components/logo/logo.component.js +8 -8
  42. package/dist/components/logo/logo.styles.js +2 -2
  43. package/dist/components/radio/radio.component.d.ts +15 -13
  44. package/dist/components/radio/radio.component.js +3 -3
  45. package/dist/components/radio/radio.styles.js +6 -1
  46. package/dist/components/select/select.component.d.ts +12 -10
  47. package/dist/components/select/select.component.js +113 -100
  48. package/dist/components/select/select.controllers.js +5 -2
  49. package/dist/components/select/select.styles.js +18 -3
  50. package/dist/components/select-option/select-option.component.d.ts +2 -2
  51. package/dist/components/select-option/select-option.component.js +16 -10
  52. package/dist/components/switch/switch.component.d.ts +2 -3
  53. package/dist/components/switch/switch.component.js +1 -1
  54. package/dist/components/switch/switch.styles.js +6 -1
  55. package/dist/components/switch/switch.test.d.ts +1 -0
  56. package/dist/components/tag/tag.component.d.ts +12 -7
  57. package/dist/components/tag/tag.component.js +24 -24
  58. package/dist/components/tag/tag.styles.js +6 -1
  59. package/dist/components/textarea/textarea.component.d.ts +26 -23
  60. package/dist/components/textarea/textarea.component.js +15 -12
  61. package/dist/components/toast/toast.component.d.ts +35 -0
  62. package/dist/components/toast/toast.component.js +52 -0
  63. package/dist/components/toast/toast.d.ts +8 -0
  64. package/dist/components/toast/toast.js +6 -0
  65. package/dist/components/toast/toast.singleton.d.ts +26 -0
  66. package/dist/components/toast/toast.singleton.js +53 -0
  67. package/dist/components/toast/toast.style.d.ts +1 -0
  68. package/dist/components/toast/toast.style.js +9 -0
  69. package/dist/components/toast-item/toast-item.component.d.ts +21 -0
  70. package/dist/components/toast-item/toast-item.component.js +65 -0
  71. package/dist/components/toast-item/toast-item.d.ts +6 -0
  72. package/dist/components/toast-item/toast-item.js +2 -0
  73. package/dist/components/toast-item/toast-item.style.d.ts +2 -0
  74. package/dist/components/toast-item/toast-item.style.js +16 -0
  75. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
  76. package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
  77. package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
  78. package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
  79. package/dist/components/toast-wrapper/toast-wrapper.style.d.ts +1 -0
  80. package/dist/components/toast-wrapper/toast-wrapper.style.js +20 -0
  81. package/dist/custom-elements.json +676 -238
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.js +43 -40
  84. package/dist/internal/components/hint/hint.component.js +12 -10
  85. package/dist/internal/components/hint/hint.styles.js +26 -10
  86. package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -8
  87. package/dist/react/index.d.ts +5 -3
  88. package/dist/react/index.js +5 -3
  89. package/dist/react/skf-toast/index.d.ts +3 -0
  90. package/dist/react/skf-toast/index.js +13 -0
  91. package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
  92. package/dist/react/skf-toast-wrapper/index.js +13 -0
  93. package/dist/styles/form-field.styles.js +5 -1
  94. package/dist/types/jsx/custom-element-jsx.d.ts +88 -50
  95. package/dist/types/vue/index.d.ts +91 -51
  96. package/dist/vscode.html-custom-data.json +101 -62
  97. package/dist/web-types.json +208 -122
  98. package/package.json +3 -3
@@ -1,12 +1,12 @@
1
1
  import type { DefineComponent } from "vue";
2
2
 
3
3
  import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
4
+ import type { SkfAlert } from "../../components/alert/alert.component.js";
4
5
  import type { SkfButton } from "../../components/button/button.component.js";
5
6
  import type { SkfCard } from "../../components/card/card.component.js";
6
- import type { SkfAlert } from "../../components/alert/alert.component.js";
7
7
  import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
8
- import type { SkfDivider } from "../../components/divider/divider.component.js";
9
8
  import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
9
+ import type { SkfDivider } from "../../components/divider/divider.component.js";
10
10
  import type { SkfHeading } from "../../components/heading/heading.component.js";
11
11
  import type { SkfIcon } from "../../components/icon/icon.component.js";
12
12
  import type { SkfInput } from "../../components/input/input.component.js";
@@ -20,6 +20,8 @@ import type { SkfSelectOptionGroup } from "../../components/select-option-group/
20
20
  import type { SkfSwitch } from "../../components/switch/switch.component.js";
21
21
  import type { SkfTag } from "../../components/tag/tag.component.js";
22
22
  import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
23
+ import type { SkfToast } from "../../components/toast/toast.component.js";
24
+ import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
23
25
 
24
26
  type SkfAccordionProps = {
25
27
  /** If true, will animate the expand/collapse state */
@@ -36,6 +38,20 @@ type SkfAccordionProps = {
36
38
  truncate?: SkfAccordion["truncate"];
37
39
  };
38
40
 
41
+ type SkfAlertProps = {
42
+ /** If true, alert is being used as a toast (alertdialog) with an close button */
43
+ closeable?: SkfAlert["closeable"];
44
+ /** Close button aria-label */
45
+ "button-label"?: SkfAlert["buttonLabel"];
46
+ /** If defined, displays leading icon */
47
+ icon?: SkfAlert["icon"];
48
+ /** If defined, gives the supplied appearance */
49
+ severity?: SkfAlert["severity"];
50
+
51
+ /** Fires when the close button is clicked */
52
+ "onskf-alert-close"?: (e: CustomEvent<never>) => void;
53
+ };
54
+
39
55
  type SkfButtonProps = {
40
56
  /** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
41
57
  destructive?: SkfButton["destructive"];
@@ -64,20 +80,6 @@ type SkfCardProps = {
64
80
  stretch?: SkfCard["stretch"];
65
81
  };
66
82
 
67
- type SkfAlertProps = {
68
- /** If true, alert is being used as a toast (alertdialog) with an close button */
69
- closeable?: SkfAlert["closeable"];
70
- /** Close button aria-label */
71
- "button-label"?: SkfAlert["buttonLabel"];
72
- /** If defined, displays leading icon */
73
- icon?: SkfAlert["icon"];
74
- /** If defined, gives the supplied appearance */
75
- severity?: SkfAlert["severity"];
76
-
77
- /** Fires when the close button is clicked */
78
- "onskf-alert-close"?: (e: CustomEvent<never>) => void;
79
- };
80
-
81
83
  type SkfCheckboxProps = {
82
84
  /** If true, sets disabled state */
83
85
  disabled?: SkfCheckbox["undefined"];
@@ -112,15 +114,6 @@ type SkfCheckboxProps = {
112
114
  onchange?: (e: CustomEvent<never>) => void;
113
115
  };
114
116
 
115
- type SkfDividerProps = {
116
- /** Defines the Divider color */
117
- color?: SkfDivider["color"];
118
- /** If true, renders a div for presentational purpose instead of the semantic hr-element */
119
- decorative?: SkfDivider["decorative"];
120
- /** If true, renders the divider vertically */
121
- vertical?: SkfDivider["vertical"];
122
- };
123
-
124
117
  type SkfCollapseProps = {
125
118
  /** If true, will animate the expand/collapse state */
126
119
  animated?: SkfCollapse["animated"];
@@ -139,6 +132,15 @@ type SkfCollapseProps = {
139
132
  "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
140
133
  };
141
134
 
135
+ type SkfDividerProps = {
136
+ /** Defines the Divider color */
137
+ color?: SkfDivider["color"];
138
+ /** If true, renders a div for presentational purpose instead of the semantic hr-element */
139
+ decorative?: SkfDivider["decorative"];
140
+ /** If true, renders the divider vertically */
141
+ vertical?: SkfDivider["vertical"];
142
+ };
143
+
142
144
  type SkfHeadingProps = {
143
145
  /** Controls which heading element will be rendered. Should not be used to affect appearance */
144
146
  as?: SkfHeading["as"];
@@ -334,9 +336,9 @@ type SkfSelectProps = {
334
336
  /** Size of the Select */
335
337
  size?: SkfSelect["size"];
336
338
  /** A readonly property that returns the selected value(s) in a array */
337
- getSelectedValues?: SkfSelect["getSelectedValues"];
339
+ selectedValues?: SkfSelect["selectedValues"];
338
340
  /** A readonly property that returns the selected slot(s) text content in a array */
339
- getSelectedOptionsText?: SkfSelect["getSelectedOptionsText"];
341
+ selectedOptionsText?: SkfSelect["selectedOptionsText"];
340
342
  /** Read only, returns the selected value. (if multiple: in a comma separated string) */
341
343
  value?: SkfSelect["value"];
342
344
  /** */
@@ -469,6 +471,24 @@ type SkfTextAreaProps = {
469
471
  oninvalid?: (e: CustomEvent<never>) => void;
470
472
  };
471
473
 
474
+ type SkfToastProps = {
475
+ /** If provided, adds a close button to the toast and will not disapear until user actively dismisses it. */
476
+ closeable?: SkfToast["closeable"];
477
+ /** */
478
+ debug?: SkfToast["debug"];
479
+ /** Severity of the toast. */
480
+ severity?: SkfToast["severity"];
481
+ /** Time in seconds before the toast disappears. */
482
+ timer?: SkfToast["timer"];
483
+ /** offsets where toasts emerge vertically */
484
+ topOffset?: SkfToast["topOffset"];
485
+ };
486
+
487
+ type SkfToastWrapperProps = {
488
+ /** */
489
+ debug?: SkfToastWrapper["debug"];
490
+ };
491
+
472
492
  export type CustomElements = {
473
493
  /**
474
494
  * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
@@ -483,38 +503,38 @@ export type CustomElements = {
483
503
  "skf-accordion": DefineComponent<SkfAccordionProps>;
484
504
 
485
505
  /**
486
- * Component to be used in forms or for interactivity
506
+ * The `<skf-alert>` is a type of notification that appears in-line
487
507
  * ---
488
508
  *
489
509
  *
510
+ * ### **Events:**
511
+ * - **skf-alert-close** - Fires when the close button is clicked
512
+ *
490
513
  * ### **Slots:**
491
- * - _default_ - The Primary content
514
+ * - _default_ - Alert message. **Notice!** See design principles for approved content
515
+ * - **link** - Slot for the link
492
516
  */
493
- "skf-button": DefineComponent<SkfButtonProps>;
517
+ "skf-alert": DefineComponent<SkfAlertProps>;
494
518
 
495
519
  /**
496
- * The `<skf-card>` can be used to group related subjects in a container
520
+ * Component to be used in forms or for interactivity
497
521
  * ---
498
522
  *
499
523
  *
500
524
  * ### **Slots:**
501
- * - _default_ - The card's main content
525
+ * - _default_ - The Primary content
502
526
  */
503
- "skf-card": DefineComponent<SkfCardProps>;
527
+ "skf-button": DefineComponent<SkfButtonProps>;
504
528
 
505
529
  /**
506
- * The `<skf-alert>` is a type of notification that appears in-line
530
+ * The `<skf-card>` can be used to group related subjects in a container
507
531
  * ---
508
532
  *
509
533
  *
510
- * ### **Events:**
511
- * - **skf-alert-close** - Fires when the close button is clicked
512
- *
513
534
  * ### **Slots:**
514
- * - _default_ - Alert message. **Notice!** See design principles for approved content
515
- * - **link** - Slot for the link
535
+ * - _default_ - The card's main content
516
536
  */
517
- "skf-alert": DefineComponent<SkfAlertProps>;
537
+ "skf-card": DefineComponent<SkfCardProps>;
518
538
 
519
539
  /**
520
540
  * The `<skf-checkbox>` component is used to create a checkbox input
@@ -529,17 +549,6 @@ export type CustomElements = {
529
549
  */
530
550
  "skf-checkbox": DefineComponent<SkfCheckboxProps>;
531
551
 
532
- /**
533
- * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
534
- * ---
535
- *
536
- *
537
- * ### **CSS Properties:**
538
- * - **--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)_
539
- * - **--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)_
540
- */
541
- "skf-divider": DefineComponent<SkfDividerProps>;
542
-
543
552
  /**
544
553
  * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
545
554
  *
@@ -559,6 +568,17 @@ export type CustomElements = {
559
568
  */
560
569
  "skf-collapse": DefineComponent<SkfCollapseProps>;
561
570
 
571
+ /**
572
+ * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
573
+ * ---
574
+ *
575
+ *
576
+ * ### **CSS Properties:**
577
+ * - **--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)_
578
+ * - **--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)_
579
+ */
580
+ "skf-divider": DefineComponent<SkfDividerProps>;
581
+
562
582
  /**
563
583
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
564
584
  * It extends the interface of native html `<h1>` to `<h4>` elements.
@@ -705,6 +725,26 @@ export type CustomElements = {
705
725
  * - _default_ - The textareas label. Alternatively, you can use the `label` attribute.
706
726
  */
707
727
  "skf-textarea": DefineComponent<SkfTextAreaProps>;
728
+
729
+ /**
730
+ * 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.
731
+ * ---
732
+ *
733
+ *
734
+ * ### **Slots:**
735
+ * - _default_ - The component's placeholder content
736
+ */
737
+ "skf-toast": DefineComponent<SkfToastProps>;
738
+
739
+ /**
740
+ * 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.
741
+ * ---
742
+ *
743
+ *
744
+ * ### **Slots:**
745
+ * - _default_ - The alert components that the toast creates will render here.
746
+ */
747
+ "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
708
748
  };
709
749
 
710
750
  declare module "vue" {
@@ -44,6 +44,39 @@
44
44
  ],
45
45
  "references": []
46
46
  },
47
+ {
48
+ "name": "skf-alert",
49
+ "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
50
+ "attributes": [
51
+ {
52
+ "name": "closeable",
53
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
54
+ "values": []
55
+ },
56
+ {
57
+ "name": "button-label",
58
+ "description": "Close button aria-label",
59
+ "values": []
60
+ },
61
+ {
62
+ "name": "icon",
63
+ "description": "If defined, displays leading icon",
64
+ "values": [{ "name": "SkfIcon['name']" }]
65
+ },
66
+ {
67
+ "name": "severity",
68
+ "description": "If defined, gives the supplied appearance",
69
+ "values": [
70
+ { "name": "error" },
71
+ { "name": "info" },
72
+ { "name": "warning" },
73
+ { "name": "success" },
74
+ { "name": "alert" }
75
+ ]
76
+ }
77
+ ],
78
+ "references": []
79
+ },
47
80
  {
48
81
  "name": "skf-button",
49
82
  "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
@@ -269,39 +302,6 @@
269
302
  ],
270
303
  "references": []
271
304
  },
272
- {
273
- "name": "skf-alert",
274
- "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",
275
- "attributes": [
276
- {
277
- "name": "closeable",
278
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
279
- "values": []
280
- },
281
- {
282
- "name": "button-label",
283
- "description": "Close button aria-label",
284
- "values": []
285
- },
286
- {
287
- "name": "icon",
288
- "description": "If defined, displays leading icon",
289
- "values": [{ "name": "SkfIcon['name']" }]
290
- },
291
- {
292
- "name": "severity",
293
- "description": "If defined, gives the supplied appearance",
294
- "values": [
295
- { "name": "error" },
296
- { "name": "info" },
297
- { "name": "warning" },
298
- { "name": "success" },
299
- { "name": "alert" }
300
- ]
301
- }
302
- ],
303
- "references": []
304
- },
305
305
  {
306
306
  "name": "skf-checkbox",
307
307
  "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.",
@@ -384,34 +384,6 @@
384
384
  ],
385
385
  "references": []
386
386
  },
387
- {
388
- "name": "skf-divider",
389
- "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)_",
390
- "attributes": [
391
- {
392
- "name": "color",
393
- "description": "Defines the Divider color",
394
- "values": [
395
- { "name": "emphasised" },
396
- { "name": "primary" },
397
- { "name": "secondary" },
398
- { "name": "tertiary" },
399
- { "name": "inverse" }
400
- ]
401
- },
402
- {
403
- "name": "decorative",
404
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
405
- "values": []
406
- },
407
- {
408
- "name": "vertical",
409
- "description": "If true, renders the divider vertically",
410
- "values": []
411
- }
412
- ],
413
- "references": []
414
- },
415
387
  {
416
388
  "name": "skf-collapse",
417
389
  "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",
@@ -454,6 +426,34 @@
454
426
  ],
455
427
  "references": []
456
428
  },
429
+ {
430
+ "name": "skf-divider",
431
+ "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)_",
432
+ "attributes": [
433
+ {
434
+ "name": "color",
435
+ "description": "Defines the Divider color",
436
+ "values": [
437
+ { "name": "emphasised" },
438
+ { "name": "primary" },
439
+ { "name": "secondary" },
440
+ { "name": "tertiary" },
441
+ { "name": "inverse" }
442
+ ]
443
+ },
444
+ {
445
+ "name": "decorative",
446
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
447
+ "values": []
448
+ },
449
+ {
450
+ "name": "vertical",
451
+ "description": "If true, renders the divider vertically",
452
+ "values": []
453
+ }
454
+ ],
455
+ "references": []
456
+ },
457
457
  {
458
458
  "name": "skf-heading",
459
459
  "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",
@@ -1308,7 +1308,7 @@
1308
1308
  {
1309
1309
  "name": "icon-color",
1310
1310
  "description": "If defined, sets provided color on the icon",
1311
- "values": [{ "name": "IconColor" }]
1311
+ "values": [{ "name": "SeverityFgColor" }]
1312
1312
  },
1313
1313
  {
1314
1314
  "name": "selected",
@@ -1691,6 +1691,45 @@
1691
1691
  }
1692
1692
  ],
1693
1693
  "references": []
1694
+ },
1695
+ {
1696
+ "name": "skf-toast",
1697
+ "description": "A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1698
+ "attributes": [
1699
+ {
1700
+ "name": "closeable",
1701
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
1702
+ "values": []
1703
+ },
1704
+ { "name": "debug", "values": [] },
1705
+ {
1706
+ "name": "severity",
1707
+ "description": "Severity of the toast.",
1708
+ "values": [
1709
+ { "name": "info" },
1710
+ { "name": "success" },
1711
+ { "name": "warning" },
1712
+ { "name": "error" }
1713
+ ]
1714
+ },
1715
+ {
1716
+ "name": "timer",
1717
+ "description": "Time in seconds before the toast disappears.",
1718
+ "values": []
1719
+ },
1720
+ {
1721
+ "name": "topOffset",
1722
+ "description": "offsets where toasts emerge vertically",
1723
+ "values": []
1724
+ }
1725
+ ],
1726
+ "references": []
1727
+ },
1728
+ {
1729
+ "name": "skf-toast-wrapper",
1730
+ "description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
1731
+ "attributes": [{ "name": "debug", "values": [] }],
1732
+ "references": []
1694
1733
  }
1695
1734
  ]
1696
1735
  }