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

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 (130) hide show
  1. package/dist/components/accordion/accordion-item.d.ts +1 -1
  2. package/dist/components/accordion/accordion.component.d.ts +4 -4
  3. package/dist/components/accordion/accordion.component.js +18 -17
  4. package/dist/components/accordion/accordion.styles.d.ts +1 -2
  5. package/dist/components/accordion/accordion.styles.js +5 -4
  6. package/dist/components/alert/alert.component.d.ts +3 -3
  7. package/dist/components/alert/alert.component.js +44 -33
  8. package/dist/components/alert/alert.styles.d.ts +1 -2
  9. package/dist/components/alert/alert.styles.js +29 -24
  10. package/dist/components/button/button.component.d.ts +26 -4
  11. package/dist/components/button/button.component.js +78 -54
  12. package/dist/components/button/button.styles.js +1 -0
  13. package/dist/components/card/card.component.d.ts +4 -4
  14. package/dist/components/card/card.component.js +35 -24
  15. package/dist/components/card/card.styles.d.ts +1 -2
  16. package/dist/components/card/card.styles.js +14 -12
  17. package/dist/components/checkbox/checkbox.component.d.ts +11 -12
  18. package/dist/components/checkbox/checkbox.component.js +95 -89
  19. package/dist/components/collapse/collapse.component.d.ts +8 -8
  20. package/dist/components/collapse/collapse.component.js +42 -34
  21. package/dist/components/collapse/collapse.styles.js +15 -14
  22. package/dist/components/dialog/dialog.component.d.ts +75 -0
  23. package/dist/components/dialog/dialog.component.js +189 -0
  24. package/dist/components/dialog/dialog.d.ts +8 -0
  25. package/dist/components/dialog/dialog.js +6 -0
  26. package/dist/components/dialog/dialog.styles.js +91 -0
  27. package/dist/components/divider/divider.component.d.ts +3 -3
  28. package/dist/components/divider/divider.component.js +39 -27
  29. package/dist/components/divider/divider.styles.d.ts +1 -2
  30. package/dist/components/divider/divider.styles.js +26 -26
  31. package/dist/components/heading/heading.component.d.ts +2 -2
  32. package/dist/components/icon/icon.component.d.ts +1 -1
  33. package/dist/components/input/input.component.d.ts +12 -11
  34. package/dist/components/input/input.component.js +88 -89
  35. package/dist/components/link/link.component.d.ts +6 -6
  36. package/dist/components/link/link.component.js +20 -14
  37. package/dist/components/link/link.styles.js +36 -40
  38. package/dist/components/loader/loader.component.d.ts +2 -2
  39. package/dist/components/loader/loader.component.js +32 -25
  40. package/dist/components/loader/loader.styles.js +11 -10
  41. package/dist/components/logo/logo.component.d.ts +3 -3
  42. package/dist/components/logo/logo.component.js +25 -14
  43. package/dist/components/logo/logo.styles.d.ts +1 -2
  44. package/dist/components/logo/logo.styles.js +11 -9
  45. package/dist/components/progress/progress.component.d.ts +22 -0
  46. package/dist/components/progress/progress.component.js +49 -0
  47. package/dist/components/progress/progress.d.ts +8 -0
  48. package/dist/components/progress/progress.js +6 -0
  49. package/dist/components/progress/progress.styles.js +48 -0
  50. package/dist/components/radio/radio.component.d.ts +7 -9
  51. package/dist/components/radio/radio.component.js +93 -77
  52. package/dist/components/select/select.component.d.ts +2 -2
  53. package/dist/components/select/select.component.js +16 -13
  54. package/dist/components/select/select.controllers.d.ts +1 -1
  55. package/dist/components/select-option/select-option.component.d.ts +1 -1
  56. package/dist/components/select-option/select-option.controllers.d.ts +1 -1
  57. package/dist/components/select-option-group/select-option-group.component.d.ts +1 -1
  58. package/dist/components/switch/switch.component.d.ts +2 -2
  59. package/dist/components/switch/switch.component.js +17 -7
  60. package/dist/components/switch/switch.styles.js +16 -13
  61. package/dist/components/tab/tab.component.d.ts +29 -0
  62. package/dist/components/tab/tab.component.js +57 -0
  63. package/dist/components/tab/tab.d.ts +8 -0
  64. package/dist/components/tab/tab.js +6 -0
  65. package/dist/components/tab/tab.styles.d.ts +1 -0
  66. package/dist/components/tab/tab.styles.js +123 -0
  67. package/dist/components/tab-group/tab-group.component.d.ts +43 -0
  68. package/dist/components/tab-group/tab-group.component.js +98 -0
  69. package/dist/components/tab-group/tab-group.d.ts +8 -0
  70. package/dist/components/tab-group/tab-group.js +6 -0
  71. package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
  72. package/dist/components/tab-group/tab-group.styles.js +75 -0
  73. package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
  74. package/dist/components/tab-panel/tab-panel.component.js +36 -0
  75. package/dist/components/tab-panel/tab-panel.d.ts +8 -0
  76. package/dist/components/tab-panel/tab-panel.js +6 -0
  77. package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
  78. package/dist/components/tab-panel/tab-panel.styles.js +13 -0
  79. package/dist/components/tag/tag.component.d.ts +2 -2
  80. package/dist/components/tag/tag.component.js +61 -45
  81. package/dist/components/tag/tag.styles.js +30 -28
  82. package/dist/components/textarea/textarea.component.d.ts +4 -4
  83. package/dist/components/textarea/textarea.component.js +5 -5
  84. package/dist/components/toast/toast.component.d.ts +1 -1
  85. package/dist/components/toast/toast.component.js +13 -13
  86. package/dist/components/toast/toast.singleton.d.ts +3 -3
  87. package/dist/components/toast/toast.styles.d.ts +1 -0
  88. package/dist/components/toast-item/toast-item.component.d.ts +1 -1
  89. package/dist/components/toast-item/toast-item.component.js +1 -1
  90. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +2 -2
  91. package/dist/components/toast-wrapper/toast-wrapper.component.js +1 -1
  92. package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
  93. package/dist/custom-elements.json +1170 -511
  94. package/dist/index.d.ts +5 -0
  95. package/dist/index.js +59 -44
  96. package/dist/internal/components/formBase.d.ts +1 -0
  97. package/dist/internal/components/formBase.js +11 -11
  98. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  99. package/dist/internal/components/skf-element.js +26 -25
  100. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  101. package/dist/internal/helpers/watch.d.ts +27 -0
  102. package/dist/internal/helpers/watch.js +28 -0
  103. package/dist/internal/templates/asterisk.d.ts +1 -1
  104. package/dist/internal/templates/asterisk.js +7 -6
  105. package/dist/react/index.d.ts +7 -2
  106. package/dist/react/index.js +7 -2
  107. package/dist/react/skf-button/index.d.ts +7 -1
  108. package/dist/react/skf-button/index.js +5 -1
  109. package/dist/react/skf-dialog/index.d.ts +15 -0
  110. package/dist/react/skf-dialog/index.js +19 -0
  111. package/dist/react/skf-progress/index.d.ts +3 -0
  112. package/dist/react/skf-progress/index.js +13 -0
  113. package/dist/react/skf-tab/index.d.ts +12 -0
  114. package/dist/react/skf-tab/index.js +18 -0
  115. package/dist/react/skf-tab-group/index.d.ts +3 -0
  116. package/dist/react/skf-tab-group/index.js +13 -0
  117. package/dist/react/skf-tab-panel/index.d.ts +3 -0
  118. package/dist/react/skf-tab-panel/index.js +13 -0
  119. package/dist/styles/component.styles.js +15 -2
  120. package/dist/types/jsx/custom-element-jsx.d.ts +246 -101
  121. package/dist/types/vue/index.d.ts +215 -65
  122. package/dist/vscode.html-custom-data.json +276 -182
  123. package/dist/web-types.json +556 -248
  124. package/package.json +33 -32
  125. /package/dist/components/{toast-wrapper/toast-wrapper.style.d.ts → dialog/dialog.styles.d.ts} +0 -0
  126. /package/dist/components/{toast/toast.style.d.ts → progress/progress.styles.d.ts} +0 -0
  127. /package/dist/components/toast/{toast.style.js → toast.styles.js} +0 -0
  128. /package/dist/components/toast-item/{toast-item.style.d.ts → toast-item.styles.d.ts} +0 -0
  129. /package/dist/components/toast-item/{toast-item.style.js → toast-item.styles.js} +0 -0
  130. /package/dist/components/toast-wrapper/{toast-wrapper.style.js → toast-wrapper.styles.js} +0 -0
@@ -66,7 +66,7 @@ export type SkfAccordionProps = {
66
66
  /** Defines which heading element will be rendered */
67
67
  "heading-as"?: "h1" | "h2" | "h3" | "h4";
68
68
  /** If true, adds a gap between each item */
69
- gap?: boolean | undefined;
69
+ gap?: boolean;
70
70
  /** If true, allowes multiple accordion items to open */
71
71
  multiple?: boolean | undefined;
72
72
  /** If true, renders the small version */
@@ -75,6 +75,92 @@ export type SkfAccordionProps = {
75
75
  truncate?: boolean | undefined;
76
76
  };
77
77
 
78
+ export type SkfCardProps = {
79
+ /** If true, removes border */
80
+ "no-border"?: boolean;
81
+ /** If true, removes padding */
82
+ "no-padding"?: boolean;
83
+ /** If true, the Card fills the parent element height */
84
+ stretch?: boolean;
85
+ };
86
+
87
+ export type SkfCheckboxProps = {
88
+ /** If true, sets disabled state */
89
+ disabled?: boolean;
90
+ /** If true, value is required or must be checked for the form to be submittable */
91
+ required?: boolean;
92
+ /** If defined, outputs helping hints in console */
93
+ debug?: boolean | undefined;
94
+ /** If true, outputs helping hints in console */
95
+ checked?: boolean | undefined;
96
+ /** If true, forces component to invalid state until removed */
97
+ "custom-invalid"?: boolean | undefined;
98
+ /** If true and the checkbox is unchecked, the checkbox will appear indeterminate */
99
+ indeterminate?: boolean | undefined;
100
+ /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
101
+ label?: string | undefined;
102
+ /** If defined, adds name to the input-element */
103
+ name?: string | undefined;
104
+ /** If defined, renders an alternative A11y text for the asterisk */
105
+ "required-label"?: string | undefined;
106
+ /** If defined, styles checkbox using provided severity */
107
+ severity?: "alert" | "success" | "info" | "warning";
108
+ /** If true, displays valid state after interaction */
109
+ "show-valid"?: boolean | undefined;
110
+ /** Size of the checkbox */
111
+ size?: "sm" | "md";
112
+ /** The current value of the input field */
113
+ value?: string;
114
+
115
+ /** {object} - When the value of the input changes */
116
+ onchange?: (e: CustomEvent<never>) => void;
117
+ };
118
+
119
+ export type SkfCollapseProps = {
120
+ /** If true, will animate the expand/collapse state */
121
+ animated?: boolean;
122
+ /** If true, will set the collapse to be expanded by default */
123
+ expanded?: boolean;
124
+ /** Heading for the collapse */
125
+ heading?: string | undefined;
126
+ /** Defines which heading element will be rendered */
127
+ "heading-as"?: "h2" | "h3" | "h4";
128
+ /** If true, renders the small version */
129
+ small?: boolean;
130
+ /** If true, will truncate the heading in collapsed state */
131
+ truncate?: boolean;
132
+
133
+ /** Event emitted when toggled */
134
+ "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
135
+ };
136
+
137
+ export type SkfDialogProps = {
138
+ /** If defined, sets the aria-label for the close button */
139
+ "close-button-aria-label"?: string | undefined;
140
+ /** Title for the modal/dialog */
141
+ heading?: string | undefined;
142
+ /** If true, makes the dialog stretch edge to edge on screen */
143
+ fullscreen?: boolean;
144
+ /** If true, removes the close button */
145
+ "no-close-button"?: boolean;
146
+ /** If defined, removes the inner padding */
147
+ "no-padding"?: boolean;
148
+ /** */
149
+ open?: boolean | null | undefined;
150
+ /** If provided, will run function on dialog close */
151
+ onClose?: ((event: Event) => void) | null | undefined;
152
+ /** Method that opens the dialog in modal state */
153
+ showModal?: string;
154
+ /** Method that closes the dialog */
155
+ close?: string;
156
+ /** Fires when the dialog is opened (after transitioned in) */
157
+ "onskf-dialog-open"?: (e: CustomEvent<never>) => void;
158
+ /** Fires when the dialog is closed (before transitioned out) */
159
+ "onskf-dialog-close"?: (e: CustomEvent<never>) => void;
160
+ /** Fires when the dialog is closed (after transitioned out) */
161
+ onclose?: (e: CustomEvent<never>) => void;
162
+ };
163
+
78
164
  export type SkfAlertProps = {
79
165
  /** If true, alert is being used as a toast (alertdialog) with an close button */
80
166
  closeable?: boolean | undefined;
@@ -89,6 +175,15 @@ export type SkfAlertProps = {
89
175
  "onskf-alert-close"?: (e: CustomEvent<never>) => void;
90
176
  };
91
177
 
178
+ export type SkfDividerProps = {
179
+ /** Defines the Divider color */
180
+ color?: "emphasised" | "primary" | "secondary" | "tertiary" | "inverse";
181
+ /** If true, renders a div for presentational purpose instead of the semantic hr-element */
182
+ decorative?: boolean;
183
+ /** If true, renders the divider vertically */
184
+ vertical?: boolean;
185
+ };
186
+
92
187
  export type SkfButtonProps = {
93
188
  /** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
94
189
  destructive?: boolean;
@@ -251,82 +346,17 @@ export type SkfButtonProps = {
251
346
  "icon-position"?: "left" | "right" | undefined;
252
347
  /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
253
348
  loading?: boolean;
349
+ /** */
350
+ "no-validate"?: boolean;
254
351
  /** If provided, displays an alternative size */
255
352
  size?: "sm" | "md" | "lg";
256
353
  /** If provided, changes the button type */
257
354
  type?: "button" | "submit" | "reset";
258
355
  /** If provided, alters the appearance */
259
356
  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
- /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
287
- label?: string | undefined;
288
- /** If defined, adds name to the input-element */
289
- name?: string | undefined;
290
- /** If defined, renders an alternative A11y text for the asterisk */
291
- "required-label"?: string | undefined;
292
- /** If defined, styles checkbox using provided severity */
293
- severity?: "alert" | "success" | "info" | "warning";
294
- /** If true, displays valid state after interaction */
295
- "show-valid"?: boolean | undefined;
296
- /** Size of the checkbox */
297
- size?: "sm" | "md";
298
- /** The current value of the input field */
299
- value?: string;
300
-
301
- /** {object} - When the value of the input changes */
302
- onchange?: (e: CustomEvent<never>) => void;
303
- };
304
-
305
- export type SkfCollapseProps = {
306
- /** If true, will animate the expand/collapse state */
307
- animated?: boolean | undefined;
308
- /** If true, will set the collapse to be expanded by default */
309
- expanded?: boolean | undefined;
310
- /** Heading for the collapse */
311
- heading?: string | undefined;
312
- /** Defines which heading element will be rendered */
313
- "heading-as"?: "h1" | "h2" | "h3" | "h4";
314
- /** If true, renders the small version */
315
- small?: boolean | undefined;
316
- /** If true, will truncate the heading in collapsed state */
317
- truncate?: boolean | undefined;
318
-
319
- /** Event emitted when toggled */
320
- "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
321
- };
322
357
 
323
- export type SkfDividerProps = {
324
- /** Defines the Divider color */
325
- color?: "emphasised" | "primary" | "secondary" | "tertiary" | "inverse";
326
- /** If true, renders a div for presentational purpose instead of the semantic hr-element */
327
- decorative?: boolean | undefined;
328
- /** If true, renders the divider vertically */
329
- vertical?: boolean | undefined;
358
+ /** Fires when the button is clicked */
359
+ onclick?: (e: CustomEvent<never>) => void;
330
360
  };
331
361
 
332
362
  export type SkfHeadingProps = {
@@ -503,6 +533,8 @@ export type SkfInputProps = {
503
533
  disabled?: boolean;
504
534
  /** If true, value is required or must be checked for the form to be submittable */
505
535
  required?: boolean;
536
+ /** -m } */
537
+ autocomplete?: string;
506
538
  /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
507
539
  "button-aria-label-clear"?: string;
508
540
  /** Custom aria-label for the visibility button. **Notice!** Only applicable to type=password. */
@@ -748,12 +780,12 @@ export type SkfLinkProps = {
748
780
  | "zoomOut";
749
781
  /** Defines the position of the icon in relation to the text */
750
782
  "icon-placement"?: "left" | "right";
751
- /** Defines the relationship of the target object to the link object */
752
- rel?: string;
783
+ /** If defined, describes the relationship between a linked resource and the current document */
784
+ rel?: string | undefined;
753
785
  /** If defined, used on conjunction with onClick property, second argument */
754
786
  route?: string | undefined;
755
787
  /** If true, fills the parents horizontal axis */
756
- stretch?: boolean | undefined;
788
+ stretch?: boolean;
757
789
  /** If defined, specifies where to open the linked document */
758
790
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
759
791
  /** Defines the type of button */
@@ -766,7 +798,7 @@ export type SkfLoaderProps = {
766
798
  /** Defines the aria-label */
767
799
  "aria-label"?: string;
768
800
  /** If true, inverts the color (to be used on colored backgrounds) */
769
- invert?: boolean | undefined;
801
+ invert?: boolean;
770
802
  /** Defines the size of the loader */
771
803
  size?: "md" | "sm" | undefined;
772
804
  /** */
@@ -778,10 +810,19 @@ export type SkfLoaderProps = {
778
810
  export type SkfLogoProps = {
779
811
  /** Defines the title of the logo */
780
812
  title?: string;
781
- /** If defined, sets color of the logo */
813
+ /** Defines the color of the logo */
782
814
  color?: "primary" | "secondary" | "inverse";
783
815
  };
784
816
 
817
+ export type SkfProgressProps = {
818
+ /** If true, the progress-bar's fill value is animated */
819
+ animated?: boolean;
820
+ /** Describes how much work the task indicated by the progress element requires */
821
+ max?: number;
822
+ /** Specifies how much of the task that has been completed */
823
+ value?: number;
824
+ };
825
+
785
826
  export type SkfRadioProps = {
786
827
  /** If true, sets disabled state */
787
828
  disabled?: boolean;
@@ -793,8 +834,6 @@ export type SkfRadioProps = {
793
834
  checked?: boolean | undefined;
794
835
  /** If true, forces component to invalid state until removed */
795
836
  "custom-invalid"?: boolean | undefined;
796
- /** If true, hides the label visually */
797
- "hide-label"?: boolean | undefined;
798
837
  /** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
799
838
  label?: string | undefined;
800
839
  /** If defined, adds name to the input-element */
@@ -918,6 +957,43 @@ export type SkfSwitchProps = {
918
957
  value?: string;
919
958
  };
920
959
 
960
+ export type SkfTabProps = {
961
+ /** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
962
+ panel?: string;
963
+ /** */
964
+ selected?: boolean;
965
+ /** */
966
+ variant?: SkfTabGroup["variant"];
967
+ /** */
968
+ role?: string;
969
+ /** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
970
+ "onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
971
+ /** Fired when the component is clicked */
972
+ onclick?: (e: CustomEvent<never>) => void;
973
+ };
974
+
975
+ export type SkfTabGroupProps = {
976
+ /** Sets the default selected tab */
977
+ "default-selected"?: number;
978
+ /** If true, removes border */
979
+ "no-border"?: boolean;
980
+ /** If true, removes padding */
981
+ "no-padding"?: boolean;
982
+ /** If true, component fills the parent element height */
983
+ stretch?: boolean;
984
+ /** Sets the appearance of the tabs */
985
+ variant?: "compressed" | "expanded";
986
+ };
987
+
988
+ export type SkfTabPanelProps = {
989
+ /** The tab panel's name. */
990
+ name?: string;
991
+ /** */
992
+ active?: boolean;
993
+ /** */
994
+ role?: string;
995
+ };
996
+
921
997
  export type SkfTagProps = {
922
998
  /** Specifies Tag size */
923
999
  size?: "sm" | "md" | "lg";
@@ -1163,30 +1239,6 @@ export type CustomElements = {
1163
1239
  */
1164
1240
  "skf-accordion": Partial<SkfAccordionProps & BaseProps & BaseEvents>;
1165
1241
 
1166
- /**
1167
- * The `<skf-alert>` is a type of notification that appears in-line
1168
- * ---
1169
- *
1170
- *
1171
- * ### **Events:**
1172
- * - **skf-alert-close** - Fires when the close button is clicked
1173
- *
1174
- * ### **Slots:**
1175
- * - _default_ - Alert message. **Notice!** See design principles for approved content
1176
- * - **link** - Slot for the link
1177
- */
1178
- "skf-alert": Partial<SkfAlertProps & BaseProps & BaseEvents>;
1179
-
1180
- /**
1181
- * Component to be used in forms or for interactivity
1182
- * ---
1183
- *
1184
- *
1185
- * ### **Slots:**
1186
- * - _default_ - The Primary content
1187
- */
1188
- "skf-button": Partial<SkfButtonProps & BaseProps & BaseEvents>;
1189
-
1190
1242
  /**
1191
1243
  * The `<skf-card>` can be used to group related subjects in a container
1192
1244
  * ---
@@ -1229,6 +1281,41 @@ export type CustomElements = {
1229
1281
  */
1230
1282
  "skf-collapse": Partial<SkfCollapseProps & BaseProps & BaseEvents>;
1231
1283
 
1284
+ /**
1285
+ * The `<skf-dialog>` is a component that open up a dialog with the content provided
1286
+ * ---
1287
+ *
1288
+ *
1289
+ * ### **Events:**
1290
+ * - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
1291
+ * - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
1292
+ * - **close** - Fires when the dialog is closed (after transitioned out)
1293
+ *
1294
+ * ### **Slots:**
1295
+ * - _default_ - The dialog component's content
1296
+ * - **heading** - The dialog component's heading
1297
+ * - **footer** - The dialog component's buttons goes here
1298
+ *
1299
+ * ### **CSS Properties:**
1300
+ * - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_
1301
+ * - **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_
1302
+ */
1303
+ "skf-dialog": Partial<SkfDialogProps & BaseProps & BaseEvents>;
1304
+
1305
+ /**
1306
+ * The `<skf-alert>` is a type of notification that appears in-line
1307
+ * ---
1308
+ *
1309
+ *
1310
+ * ### **Events:**
1311
+ * - **skf-alert-close** - Fires when the close button is clicked
1312
+ *
1313
+ * ### **Slots:**
1314
+ * - _default_ - Alert message. **Notice!** See design principles for approved content
1315
+ * - **link** - Slot for the link
1316
+ */
1317
+ "skf-alert": Partial<SkfAlertProps & BaseProps & BaseEvents>;
1318
+
1232
1319
  /**
1233
1320
  * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
1234
1321
  * ---
@@ -1240,6 +1327,22 @@ export type CustomElements = {
1240
1327
  */
1241
1328
  "skf-divider": Partial<SkfDividerProps & BaseProps & BaseEvents>;
1242
1329
 
1330
+ /**
1331
+ * Component to be used in forms or for interactivity
1332
+ * ---
1333
+ *
1334
+ *
1335
+ * ### **Events:**
1336
+ * - **click** - Fires when the button is clicked
1337
+ *
1338
+ * ### **Methods:**
1339
+ * - **click()** - Simulates a click on the button.
1340
+ *
1341
+ * ### **Slots:**
1342
+ * - _default_ - The Primary content
1343
+ */
1344
+ "skf-button": Partial<SkfButtonProps & BaseProps & BaseEvents>;
1345
+
1243
1346
  /**
1244
1347
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
1245
1348
  * It extends the interface of native html `<h1>` to `<h4>` elements.
@@ -1299,6 +1402,13 @@ export type CustomElements = {
1299
1402
  */
1300
1403
  "skf-logo": Partial<SkfLogoProps & BaseProps & BaseEvents>;
1301
1404
 
1405
+ /**
1406
+ * The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar
1407
+ * ---
1408
+ *
1409
+ */
1410
+ "skf-progress": Partial<SkfProgressProps & BaseProps & BaseEvents>;
1411
+
1302
1412
  /**
1303
1413
  * The `<skf-radio>` component is used to create a radio input
1304
1414
  * ---
@@ -1363,6 +1473,41 @@ export type CustomElements = {
1363
1473
  */
1364
1474
  "skf-switch": Partial<SkfSwitchProps & BaseProps & BaseEvents>;
1365
1475
 
1476
+ /**
1477
+ * The `<skf-tab>` is a component that displays a list of actions or options
1478
+ * ---
1479
+ *
1480
+ *
1481
+ * ### **Events:**
1482
+ * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1483
+ * - **click** - Fired when the component is clicked
1484
+ *
1485
+ * ### **Slots:**
1486
+ * - _default_ - The tab's label
1487
+ */
1488
+ "skf-tab": Partial<SkfTabProps & BaseProps & BaseEvents>;
1489
+
1490
+ /**
1491
+ * The `<skf-tab-group>` is a component that displays a list of actions or options.
1492
+ * ---
1493
+ *
1494
+ *
1495
+ * ### **Slots:**
1496
+ * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
1497
+ * - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
1498
+ */
1499
+ "skf-tab-group": Partial<SkfTabGroupProps & BaseProps & BaseEvents>;
1500
+
1501
+ /**
1502
+ * The `<skf-tab-panel>` is a component that displays a list of actions or options.
1503
+ * ---
1504
+ *
1505
+ *
1506
+ * ### **Slots:**
1507
+ * - _default_ - The tab panel's content
1508
+ */
1509
+ "skf-tab-panel": Partial<SkfTabPanelProps & BaseProps & BaseEvents>;
1510
+
1366
1511
  /**
1367
1512
  * The `<skf-tag>` is a component that displays a list of actions or options
1368
1513
  * ---