@skf-design-system/ui-components 1.0.0-beta.4 → 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 (159) hide show
  1. package/README.md +26 -6
  2. package/dist/components/accordion/accordion-item.d.ts +1 -1
  3. package/dist/components/accordion/accordion.component.d.ts +13 -9
  4. package/dist/components/accordion/accordion.component.js +34 -30
  5. package/dist/components/accordion/accordion.d.ts +1 -1
  6. package/dist/components/accordion/accordion.styles.d.ts +1 -2
  7. package/dist/components/accordion/accordion.styles.js +5 -4
  8. package/dist/components/alert/alert.component.d.ts +10 -7
  9. package/dist/components/alert/alert.component.js +50 -37
  10. package/dist/components/alert/alert.styles.d.ts +1 -2
  11. package/dist/components/alert/alert.styles.js +42 -34
  12. package/dist/components/button/button.component.d.ts +28 -4
  13. package/dist/components/button/button.component.js +80 -56
  14. package/dist/components/button/button.styles.js +2 -1
  15. package/dist/components/card/card.component.d.ts +1 -1
  16. package/dist/components/card/card.component.js +29 -21
  17. package/dist/components/card/card.styles.d.ts +1 -2
  18. package/dist/components/card/card.styles.js +22 -12
  19. package/dist/components/checkbox/checkbox.component.d.ts +20 -18
  20. package/dist/components/checkbox/checkbox.component.js +95 -89
  21. package/dist/components/checkbox/checkbox.styles.js +7 -2
  22. package/dist/components/checkbox/checkbox.test.d.ts +1 -0
  23. package/dist/components/collapse/collapse.component.d.ts +8 -5
  24. package/dist/components/collapse/collapse.component.js +50 -39
  25. package/dist/components/collapse/collapse.styles.js +13 -12
  26. package/dist/components/collapse/collapse.test.d.ts +1 -0
  27. package/dist/components/dialog/dialog.component.d.ts +75 -0
  28. package/dist/components/dialog/dialog.component.js +189 -0
  29. package/dist/components/dialog/dialog.d.ts +8 -0
  30. package/dist/components/dialog/dialog.js +6 -0
  31. package/dist/components/dialog/dialog.styles.d.ts +1 -0
  32. package/dist/components/dialog/dialog.styles.js +91 -0
  33. package/dist/components/divider/divider.component.d.ts +14 -11
  34. package/dist/components/divider/divider.component.js +46 -29
  35. package/dist/components/divider/divider.styles.d.ts +1 -2
  36. package/dist/components/divider/divider.styles.js +26 -30
  37. package/dist/components/heading/heading.component.d.ts +14 -4
  38. package/dist/components/heading/heading.component.js +14 -14
  39. package/dist/components/heading/heading.styles.js +1 -1
  40. package/dist/components/icon/icon.component.d.ts +15 -9
  41. package/dist/components/icon/icon.component.js +6 -6
  42. package/dist/components/icon/icon.styles.js +56 -54
  43. package/dist/components/input/input.component.d.ts +48 -33
  44. package/dist/components/input/input.component.js +108 -99
  45. package/dist/components/link/link.component.d.ts +20 -17
  46. package/dist/components/link/link.component.js +20 -14
  47. package/dist/components/link/link.styles.js +36 -40
  48. package/dist/components/loader/loader.component.d.ts +7 -7
  49. package/dist/components/loader/loader.component.js +42 -61
  50. package/dist/components/loader/loader.styles.js +44 -11
  51. package/dist/components/logo/logo.component.d.ts +7 -5
  52. package/dist/components/logo/logo.component.js +25 -14
  53. package/dist/components/logo/logo.styles.d.ts +1 -2
  54. package/dist/components/logo/logo.styles.js +12 -10
  55. package/dist/components/progress/progress.component.d.ts +22 -0
  56. package/dist/components/progress/progress.component.js +49 -0
  57. package/dist/components/progress/progress.d.ts +8 -0
  58. package/dist/components/progress/progress.js +6 -0
  59. package/dist/components/progress/progress.styles.d.ts +1 -0
  60. package/dist/components/progress/progress.styles.js +48 -0
  61. package/dist/components/radio/radio.component.d.ts +21 -21
  62. package/dist/components/radio/radio.component.js +94 -78
  63. package/dist/components/radio/radio.styles.js +6 -1
  64. package/dist/components/select/select.component.d.ts +14 -12
  65. package/dist/components/select/select.component.js +119 -103
  66. package/dist/components/select/select.controllers.d.ts +1 -1
  67. package/dist/components/select/select.controllers.js +5 -2
  68. package/dist/components/select/select.styles.js +18 -3
  69. package/dist/components/select-option/select-option.component.d.ts +3 -3
  70. package/dist/components/select-option/select-option.component.js +16 -10
  71. package/dist/components/select-option/select-option.controllers.d.ts +1 -1
  72. package/dist/components/select-option-group/select-option-group.component.d.ts +1 -1
  73. package/dist/components/switch/switch.component.d.ts +4 -5
  74. package/dist/components/switch/switch.component.js +17 -7
  75. package/dist/components/switch/switch.styles.js +19 -11
  76. package/dist/components/switch/switch.test.d.ts +1 -0
  77. package/dist/components/tab/tab.component.d.ts +29 -0
  78. package/dist/components/tab/tab.component.js +57 -0
  79. package/dist/components/tab/tab.d.ts +8 -0
  80. package/dist/components/tab/tab.js +6 -0
  81. package/dist/components/tab/tab.styles.d.ts +1 -0
  82. package/dist/components/tab/tab.styles.js +123 -0
  83. package/dist/components/tab-group/tab-group.component.d.ts +43 -0
  84. package/dist/components/tab-group/tab-group.component.js +98 -0
  85. package/dist/components/tab-group/tab-group.d.ts +8 -0
  86. package/dist/components/tab-group/tab-group.js +6 -0
  87. package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
  88. package/dist/components/tab-group/tab-group.styles.js +75 -0
  89. package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
  90. package/dist/components/tab-panel/tab-panel.component.js +36 -0
  91. package/dist/components/tab-panel/tab-panel.d.ts +8 -0
  92. package/dist/components/tab-panel/tab-panel.js +6 -0
  93. package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
  94. package/dist/components/tab-panel/tab-panel.styles.js +13 -0
  95. package/dist/components/tag/tag.component.d.ts +14 -9
  96. package/dist/components/tag/tag.component.js +63 -47
  97. package/dist/components/tag/tag.styles.js +35 -28
  98. package/dist/components/textarea/textarea.component.d.ts +30 -27
  99. package/dist/components/textarea/textarea.component.js +20 -17
  100. package/dist/components/toast/toast.component.d.ts +35 -0
  101. package/dist/components/toast/toast.component.js +52 -0
  102. package/dist/components/toast/toast.d.ts +8 -0
  103. package/dist/components/toast/toast.js +6 -0
  104. package/dist/components/toast/toast.singleton.d.ts +26 -0
  105. package/dist/components/toast/toast.singleton.js +53 -0
  106. package/dist/components/toast/toast.styles.d.ts +1 -0
  107. package/dist/components/toast/toast.styles.js +9 -0
  108. package/dist/components/toast-item/toast-item.component.d.ts +21 -0
  109. package/dist/components/toast-item/toast-item.component.js +65 -0
  110. package/dist/components/toast-item/toast-item.d.ts +6 -0
  111. package/dist/components/toast-item/toast-item.js +2 -0
  112. package/dist/components/toast-item/toast-item.styles.d.ts +2 -0
  113. package/dist/components/toast-item/toast-item.styles.js +16 -0
  114. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
  115. package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
  116. package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
  117. package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
  118. package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
  119. package/dist/components/toast-wrapper/toast-wrapper.styles.js +20 -0
  120. package/dist/custom-elements.json +3090 -1993
  121. package/dist/index.d.ts +6 -0
  122. package/dist/index.js +60 -42
  123. package/dist/internal/components/formBase.d.ts +1 -0
  124. package/dist/internal/components/formBase.js +11 -11
  125. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  126. package/dist/internal/components/hint/hint.component.js +12 -10
  127. package/dist/internal/components/hint/hint.styles.js +26 -10
  128. package/dist/internal/components/skf-element.js +26 -25
  129. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  130. package/dist/internal/helpers/watch.d.ts +27 -0
  131. package/dist/internal/helpers/watch.js +28 -0
  132. package/dist/internal/storybook/shadowRootTraverser.d.ts +16 -8
  133. package/dist/internal/templates/asterisk.d.ts +1 -1
  134. package/dist/internal/templates/asterisk.js +7 -6
  135. package/dist/react/index.d.ts +10 -3
  136. package/dist/react/index.js +10 -3
  137. package/dist/react/skf-button/index.d.ts +7 -1
  138. package/dist/react/skf-button/index.js +5 -1
  139. package/dist/react/skf-dialog/index.d.ts +15 -0
  140. package/dist/react/skf-dialog/index.js +19 -0
  141. package/dist/react/skf-progress/index.d.ts +3 -0
  142. package/dist/react/skf-progress/index.js +13 -0
  143. package/dist/react/skf-tab/index.d.ts +12 -0
  144. package/dist/react/skf-tab/index.js +18 -0
  145. package/dist/react/skf-tab-group/index.d.ts +3 -0
  146. package/dist/react/skf-tab-group/index.js +13 -0
  147. package/dist/react/skf-tab-panel/index.d.ts +3 -0
  148. package/dist/react/skf-tab-panel/index.js +13 -0
  149. package/dist/react/skf-toast/index.d.ts +3 -0
  150. package/dist/react/skf-toast/index.js +13 -0
  151. package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
  152. package/dist/react/skf-toast-wrapper/index.js +13 -0
  153. package/dist/styles/component.styles.js +15 -2
  154. package/dist/styles/form-field.styles.js +5 -1
  155. package/dist/types/jsx/custom-element-jsx.d.ts +300 -117
  156. package/dist/types/vue/index.d.ts +266 -76
  157. package/dist/vscode.html-custom-data.json +349 -216
  158. package/dist/web-types.json +686 -292
  159. package/package.json +33 -32
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@skf-design-system/ui-components",
4
- "version": "0.0.0",
4
+ "version": "1.0.0-beta.7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -27,7 +27,7 @@
27
27
  {
28
28
  "name": "gap",
29
29
  "description": "If true, adds a gap between each item",
30
- "value": { "type": "boolean | undefined" }
30
+ "value": { "type": "boolean", "default": "false" }
31
31
  },
32
32
  {
33
33
  "name": "multiple",
@@ -67,7 +67,7 @@
67
67
  {
68
68
  "name": "gap",
69
69
  "description": "If true, adds a gap between each item",
70
- "type": "boolean | undefined"
70
+ "type": "boolean"
71
71
  },
72
72
  {
73
73
  "name": "multiple",
@@ -88,111 +88,6 @@
88
88
  "events": []
89
89
  }
90
90
  },
91
- {
92
- "name": "skf-button",
93
- "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
94
- "doc-url": "",
95
- "attributes": [
96
- {
97
- "name": "destructive",
98
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
99
- "value": { "type": "boolean", "default": "false" }
100
- },
101
- {
102
- "name": "disabled",
103
- "description": "If true, removes border",
104
- "value": { "type": "boolean", "default": "false" }
105
- },
106
- {
107
- "name": "icon",
108
- "description": "If provided, renders an icon before or after the text",
109
- "value": {
110
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
111
- }
112
- },
113
- {
114
- "name": "icon-position",
115
- "description": "If provided, determines the positioning of the icon in relation to the text",
116
- "value": {
117
- "type": "'left' | 'right' | undefined",
118
- "default": "'left'"
119
- }
120
- },
121
- {
122
- "name": "loading",
123
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
124
- "value": { "type": "boolean", "default": "false" }
125
- },
126
- {
127
- "name": "size",
128
- "description": "If provided, displays an alternative size",
129
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
130
- },
131
- {
132
- "name": "type",
133
- "description": "If provided, changes the button type",
134
- "value": {
135
- "type": "'button' | 'submit' | 'reset'",
136
- "default": "'button'"
137
- }
138
- },
139
- {
140
- "name": "variant",
141
- "description": "If provided, alters the appearance",
142
- "value": {
143
- "type": "'primary' | 'secondary'",
144
- "default": "'primary'"
145
- }
146
- }
147
- ],
148
- "slots": [{ "name": "", "description": "The Primary content" }],
149
- "events": [],
150
- "js": {
151
- "properties": [
152
- {
153
- "name": "destructive",
154
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
155
- "type": "boolean"
156
- },
157
- {
158
- "name": "disabled",
159
- "description": "If true, removes border",
160
- "type": "boolean"
161
- },
162
- {
163
- "name": "icon",
164
- "description": "If provided, renders an icon before or after the text",
165
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
166
- },
167
- {
168
- "name": "iconPosition",
169
- "description": "If provided, determines the positioning of the icon in relation to the text",
170
- "type": "'left' | 'right' | undefined"
171
- },
172
- {
173
- "name": "loading",
174
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
175
- "type": "boolean"
176
- },
177
- {
178
- "name": "size",
179
- "description": "If provided, displays an alternative size",
180
- "type": "'sm' | 'md' | 'lg'"
181
- },
182
- {
183
- "name": "type",
184
- "description": "If provided, changes the button type",
185
- "type": "'button' | 'submit' | 'reset'"
186
- },
187
- {
188
- "name": "variant",
189
- "description": "If provided, alters the appearance",
190
- "type": "'primary' | 'secondary'"
191
- }
192
- ],
193
- "events": []
194
- }
195
- },
196
91
  {
197
92
  "name": "skf-card",
198
93
  "description": "The `<skf-card>` can be used to group related subjects in a container\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
@@ -201,17 +96,17 @@
201
96
  {
202
97
  "name": "no-border",
203
98
  "description": "If true, removes border",
204
- "value": { "type": "boolean | undefined" }
99
+ "value": { "type": "boolean", "default": "false" }
205
100
  },
206
101
  {
207
102
  "name": "no-padding",
208
103
  "description": "If true, removes padding",
209
- "value": { "type": "boolean | undefined" }
104
+ "value": { "type": "boolean", "default": "false" }
210
105
  },
211
106
  {
212
107
  "name": "stretch",
213
108
  "description": "If true, the Card fills the parent element height",
214
- "value": { "type": "boolean | undefined" }
109
+ "value": { "type": "boolean", "default": "false" }
215
110
  }
216
111
  ],
217
112
  "slots": [{ "name": "", "description": "The card's main content" }],
@@ -221,94 +116,22 @@
221
116
  {
222
117
  "name": "noBorder",
223
118
  "description": "If true, removes border",
224
- "type": "boolean | undefined"
119
+ "type": "boolean"
225
120
  },
226
121
  {
227
122
  "name": "noPadding",
228
123
  "description": "If true, removes padding",
229
- "type": "boolean | undefined"
124
+ "type": "boolean"
230
125
  },
231
126
  {
232
127
  "name": "stretch",
233
128
  "description": "If true, the Card fills the parent element height",
234
- "type": "boolean | undefined"
129
+ "type": "boolean"
235
130
  }
236
131
  ],
237
132
  "events": []
238
133
  }
239
134
  },
240
- {
241
- "name": "skf-alert",
242
- "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
243
- "doc-url": "",
244
- "attributes": [
245
- {
246
- "name": "closeable",
247
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
248
- "value": { "type": "boolean | undefined" }
249
- },
250
- {
251
- "name": "button-label",
252
- "description": "Close button aria-label",
253
- "value": { "type": "string", "default": "'Close'" }
254
- },
255
- {
256
- "name": "icon",
257
- "description": "If defined, displays leading icon",
258
- "value": { "type": "SkfIcon['name'] | undefined" }
259
- },
260
- {
261
- "name": "severity",
262
- "description": "If defined, gives the supplied appearance",
263
- "value": {
264
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
265
- }
266
- }
267
- ],
268
- "slots": [
269
- {
270
- "name": "",
271
- "description": "Alert message. **Notice!** See design principles for approved content"
272
- },
273
- { "name": "link", "description": "Slot for the link" }
274
- ],
275
- "events": [
276
- {
277
- "name": "skf-alert-close",
278
- "description": "Fires when the close button is clicked"
279
- }
280
- ],
281
- "js": {
282
- "properties": [
283
- {
284
- "name": "closeable",
285
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
286
- "type": "boolean | undefined"
287
- },
288
- {
289
- "name": "buttonLabel",
290
- "description": "Close button aria-label",
291
- "type": "string"
292
- },
293
- {
294
- "name": "icon",
295
- "description": "If defined, displays leading icon",
296
- "type": "SkfIcon['name'] | undefined"
297
- },
298
- {
299
- "name": "severity",
300
- "description": "If defined, gives the supplied appearance",
301
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
302
- }
303
- ],
304
- "events": [
305
- {
306
- "name": "skf-alert-close",
307
- "description": "Fires when the close button is clicked"
308
- }
309
- ]
310
- }
311
- },
312
135
  {
313
136
  "name": "skf-checkbox",
314
137
  "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.",
@@ -339,11 +162,6 @@
339
162
  "description": "If true, forces component to invalid state until removed",
340
163
  "value": { "type": "boolean | undefined" }
341
164
  },
342
- {
343
- "name": "hide-label",
344
- "description": "If true, hides the label visually",
345
- "value": { "type": "boolean | undefined" }
346
- },
347
165
  {
348
166
  "name": "indeterminate",
349
167
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
@@ -416,11 +234,6 @@
416
234
  "description": "If true, forces component to invalid state until removed",
417
235
  "type": "boolean | undefined"
418
236
  },
419
- {
420
- "name": "hideLabel",
421
- "description": "If true, hides the label visually",
422
- "type": "boolean | undefined"
423
- },
424
237
  {
425
238
  "name": "indeterminate",
426
239
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
@@ -470,52 +283,6 @@
470
283
  ]
471
284
  }
472
285
  },
473
- {
474
- "name": "skf-divider",
475
- "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
476
- "doc-url": "",
477
- "attributes": [
478
- {
479
- "name": "color",
480
- "description": "Defines the Divider color",
481
- "value": {
482
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
483
- "default": "'primary'"
484
- }
485
- },
486
- {
487
- "name": "decorative",
488
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
489
- "value": { "type": "boolean | undefined" }
490
- },
491
- {
492
- "name": "vertical",
493
- "description": "If true, renders the divider vertically",
494
- "value": { "type": "boolean | undefined" }
495
- }
496
- ],
497
- "events": [],
498
- "js": {
499
- "properties": [
500
- {
501
- "name": "color",
502
- "description": "Defines the Divider color",
503
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
504
- },
505
- {
506
- "name": "decorative",
507
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
508
- "type": "boolean | undefined"
509
- },
510
- {
511
- "name": "vertical",
512
- "description": "If true, renders the divider vertically",
513
- "type": "boolean | undefined"
514
- }
515
- ],
516
- "events": []
517
- }
518
- },
519
286
  {
520
287
  "name": "skf-collapse",
521
288
  "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",
@@ -524,12 +291,12 @@
524
291
  {
525
292
  "name": "animated",
526
293
  "description": "If true, will animate the expand/collapse state",
527
- "value": { "type": "boolean | undefined" }
294
+ "value": { "type": "boolean", "default": "false" }
528
295
  },
529
296
  {
530
297
  "name": "expanded",
531
298
  "description": "If true, will set the collapse to be expanded by default",
532
- "value": { "type": "boolean | undefined" }
299
+ "value": { "type": "boolean", "default": "false" }
533
300
  },
534
301
  {
535
302
  "name": "heading",
@@ -539,20 +306,17 @@
539
306
  {
540
307
  "name": "heading-as",
541
308
  "description": "Defines which heading element will be rendered",
542
- "value": {
543
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
544
- "default": "'h2'"
545
- }
309
+ "value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
546
310
  },
547
311
  {
548
312
  "name": "small",
549
313
  "description": "If true, renders the small version",
550
- "value": { "type": "boolean | undefined" }
314
+ "value": { "type": "boolean", "default": "false" }
551
315
  },
552
316
  {
553
317
  "name": "truncate",
554
318
  "description": "If true, will truncate the heading in collapsed state",
555
- "value": { "type": "boolean | undefined" }
319
+ "value": { "type": "boolean", "default": "false" }
556
320
  }
557
321
  ],
558
322
  "slots": [{ "name": "", "description": "Main content" }],
@@ -568,39 +332,395 @@
568
332
  {
569
333
  "name": "animated",
570
334
  "description": "If true, will animate the expand/collapse state",
335
+ "type": "boolean"
336
+ },
337
+ {
338
+ "name": "expanded",
339
+ "description": "If true, will set the collapse to be expanded by default",
340
+ "type": "boolean"
341
+ },
342
+ {
343
+ "name": "heading",
344
+ "description": "Heading for the collapse",
345
+ "type": "string | undefined"
346
+ },
347
+ {
348
+ "name": "headingAs",
349
+ "description": "Defines which heading element will be rendered",
350
+ "type": "\"h2\" | \"h3\" | \"h4\""
351
+ },
352
+ {
353
+ "name": "small",
354
+ "description": "If true, renders the small version",
355
+ "type": "boolean"
356
+ },
357
+ {
358
+ "name": "truncate",
359
+ "description": "If true, will truncate the heading in collapsed state",
360
+ "type": "boolean"
361
+ }
362
+ ],
363
+ "events": [
364
+ {
365
+ "name": "skf-collapse-toggle",
366
+ "type": "CustomEvent",
367
+ "description": "Event emitted when toggled"
368
+ }
369
+ ]
370
+ }
371
+ },
372
+ {
373
+ "name": "skf-dialog",
374
+ "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)\n- **close** - Fires when the dialog is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **heading** - The dialog component's heading\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
375
+ "doc-url": "",
376
+ "attributes": [
377
+ {
378
+ "name": "close-button-aria-label",
379
+ "description": "If defined, sets the aria-label for the close button",
380
+ "value": { "type": "string | undefined" }
381
+ },
382
+ {
383
+ "name": "heading",
384
+ "description": "Title for the modal/dialog",
385
+ "value": { "type": "string | undefined" }
386
+ },
387
+ {
388
+ "name": "fullscreen",
389
+ "description": "If true, makes the dialog stretch edge to edge on screen",
390
+ "value": { "type": "boolean", "default": "false" }
391
+ },
392
+ {
393
+ "name": "no-close-button",
394
+ "description": "If true, removes the close button",
395
+ "value": { "type": "boolean", "default": "false" }
396
+ },
397
+ {
398
+ "name": "no-padding",
399
+ "description": "If defined, removes the inner padding",
400
+ "value": { "type": "boolean", "default": "false" }
401
+ },
402
+ {
403
+ "name": "open",
404
+ "value": { "type": "boolean | null | undefined" }
405
+ }
406
+ ],
407
+ "slots": [
408
+ { "name": "", "description": "The dialog component's content" },
409
+ {
410
+ "name": "heading",
411
+ "description": "The dialog component's heading"
412
+ },
413
+ {
414
+ "name": "footer",
415
+ "description": "The dialog component's buttons goes here"
416
+ }
417
+ ],
418
+ "events": [
419
+ {
420
+ "name": "skf-dialog-open",
421
+ "description": "Fires when the dialog is opened (after transitioned in)"
422
+ },
423
+ {
424
+ "name": "skf-dialog-close",
425
+ "description": "Fires when the dialog is closed (before transitioned out)"
426
+ },
427
+ {
428
+ "name": "close",
429
+ "description": "Fires when the dialog is closed (after transitioned out)"
430
+ }
431
+ ],
432
+ "js": {
433
+ "properties": [
434
+ {
435
+ "name": "closeButtonAriaLabel",
436
+ "description": "If defined, sets the aria-label for the close button",
437
+ "type": "string | undefined"
438
+ },
439
+ {
440
+ "name": "heading",
441
+ "description": "Title for the modal/dialog",
442
+ "type": "string | undefined"
443
+ },
444
+ {
445
+ "name": "fullscreen",
446
+ "description": "If true, makes the dialog stretch edge to edge on screen",
447
+ "type": "boolean"
448
+ },
449
+ {
450
+ "name": "noCloseButton",
451
+ "description": "If true, removes the close button",
452
+ "type": "boolean"
453
+ },
454
+ {
455
+ "name": "noPadding",
456
+ "description": "If defined, removes the inner padding",
457
+ "type": "boolean"
458
+ },
459
+ { "name": "open", "type": "boolean | null | undefined" },
460
+ {
461
+ "name": "onClose",
462
+ "description": "If provided, will run function on dialog close",
463
+ "type": "((event: Event) => void) | null | undefined"
464
+ },
465
+ {
466
+ "name": "showModal",
467
+ "description": "Method that opens the dialog in modal state"
468
+ },
469
+ {
470
+ "name": "close",
471
+ "description": "Method that closes the dialog"
472
+ }
473
+ ],
474
+ "events": [
475
+ {
476
+ "name": "skf-dialog-open",
477
+ "description": "Fires when the dialog is opened (after transitioned in)"
478
+ },
479
+ {
480
+ "name": "skf-dialog-close",
481
+ "description": "Fires when the dialog is closed (before transitioned out)"
482
+ },
483
+ {
484
+ "name": "close",
485
+ "description": "Fires when the dialog is closed (after transitioned out)"
486
+ }
487
+ ]
488
+ }
489
+ },
490
+ {
491
+ "name": "skf-alert",
492
+ "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",
493
+ "doc-url": "",
494
+ "attributes": [
495
+ {
496
+ "name": "closeable",
497
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
498
+ "value": { "type": "boolean | undefined" }
499
+ },
500
+ {
501
+ "name": "button-label",
502
+ "description": "Close button aria-label",
503
+ "value": { "type": "string", "default": "'Close'" }
504
+ },
505
+ {
506
+ "name": "icon",
507
+ "description": "If defined, displays leading icon",
508
+ "value": { "type": "SkfIcon['name'] | undefined" }
509
+ },
510
+ {
511
+ "name": "severity",
512
+ "description": "If defined, gives the supplied appearance",
513
+ "value": {
514
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
515
+ }
516
+ }
517
+ ],
518
+ "slots": [
519
+ {
520
+ "name": "",
521
+ "description": "Alert message. **Notice!** See design principles for approved content"
522
+ },
523
+ { "name": "link", "description": "Slot for the link" }
524
+ ],
525
+ "events": [
526
+ {
527
+ "name": "skf-alert-close",
528
+ "description": "Fires when the close button is clicked"
529
+ }
530
+ ],
531
+ "js": {
532
+ "properties": [
533
+ {
534
+ "name": "closeable",
535
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
571
536
  "type": "boolean | undefined"
572
537
  },
573
538
  {
574
- "name": "expanded",
575
- "description": "If true, will set the collapse to be expanded by default",
576
- "type": "boolean | undefined"
539
+ "name": "buttonLabel",
540
+ "description": "Close button aria-label",
541
+ "type": "string"
542
+ },
543
+ {
544
+ "name": "icon",
545
+ "description": "If defined, displays leading icon",
546
+ "type": "SkfIcon['name'] | undefined"
547
+ },
548
+ {
549
+ "name": "severity",
550
+ "description": "If defined, gives the supplied appearance",
551
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
552
+ }
553
+ ],
554
+ "events": [
555
+ {
556
+ "name": "skf-alert-close",
557
+ "description": "Fires when the close button is clicked"
558
+ }
559
+ ]
560
+ }
561
+ },
562
+ {
563
+ "name": "skf-divider",
564
+ "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)_",
565
+ "doc-url": "",
566
+ "attributes": [
567
+ {
568
+ "name": "color",
569
+ "description": "Defines the Divider color",
570
+ "value": {
571
+ "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
572
+ "default": "'primary'"
573
+ }
574
+ },
575
+ {
576
+ "name": "decorative",
577
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
578
+ "value": { "type": "boolean", "default": "false" }
579
+ },
580
+ {
581
+ "name": "vertical",
582
+ "description": "If true, renders the divider vertically",
583
+ "value": { "type": "boolean", "default": "false" }
584
+ }
585
+ ],
586
+ "events": [],
587
+ "js": {
588
+ "properties": [
589
+ {
590
+ "name": "color",
591
+ "description": "Defines the Divider color",
592
+ "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
593
+ },
594
+ {
595
+ "name": "decorative",
596
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
597
+ "type": "boolean"
598
+ },
599
+ {
600
+ "name": "vertical",
601
+ "description": "If true, renders the divider vertically",
602
+ "type": "boolean"
603
+ }
604
+ ],
605
+ "events": []
606
+ }
607
+ },
608
+ {
609
+ "name": "skf-button",
610
+ "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
611
+ "doc-url": "",
612
+ "attributes": [
613
+ {
614
+ "name": "destructive",
615
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
616
+ "value": { "type": "boolean", "default": "false" }
617
+ },
618
+ {
619
+ "name": "disabled",
620
+ "description": "If true, removes border",
621
+ "value": { "type": "boolean", "default": "false" }
622
+ },
623
+ {
624
+ "name": "icon",
625
+ "description": "If provided, renders an icon before or after the text",
626
+ "value": {
627
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
628
+ }
629
+ },
630
+ {
631
+ "name": "icon-position",
632
+ "description": "If provided, determines the positioning of the icon in relation to the text",
633
+ "value": {
634
+ "type": "'left' | 'right' | undefined",
635
+ "default": "'left'"
636
+ }
637
+ },
638
+ {
639
+ "name": "loading",
640
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
641
+ "value": { "type": "boolean", "default": "false" }
642
+ },
643
+ {
644
+ "name": "no-validate",
645
+ "value": { "type": "boolean", "default": "false" }
646
+ },
647
+ {
648
+ "name": "size",
649
+ "description": "If provided, displays an alternative size",
650
+ "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
651
+ },
652
+ {
653
+ "name": "type",
654
+ "description": "If provided, changes the button type",
655
+ "value": {
656
+ "type": "'button' | 'submit' | 'reset'",
657
+ "default": "'button'"
658
+ }
659
+ },
660
+ {
661
+ "name": "variant",
662
+ "description": "If provided, alters the appearance",
663
+ "value": {
664
+ "type": "'primary' | 'secondary'",
665
+ "default": "'primary'"
666
+ }
667
+ }
668
+ ],
669
+ "slots": [{ "name": "", "description": "The Primary content" }],
670
+ "events": [
671
+ {
672
+ "name": "click",
673
+ "description": "Fires when the button is clicked"
674
+ }
675
+ ],
676
+ "js": {
677
+ "properties": [
678
+ {
679
+ "name": "destructive",
680
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
681
+ "type": "boolean"
682
+ },
683
+ {
684
+ "name": "disabled",
685
+ "description": "If true, removes border",
686
+ "type": "boolean"
687
+ },
688
+ {
689
+ "name": "icon",
690
+ "description": "If provided, renders an icon before or after the text",
691
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
692
+ },
693
+ {
694
+ "name": "iconPosition",
695
+ "description": "If provided, determines the positioning of the icon in relation to the text",
696
+ "type": "'left' | 'right' | undefined"
577
697
  },
578
698
  {
579
- "name": "heading",
580
- "description": "Heading for the collapse",
581
- "type": "string | undefined"
699
+ "name": "loading",
700
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
701
+ "type": "boolean"
582
702
  },
703
+ { "name": "noValidate", "type": "boolean" },
583
704
  {
584
- "name": "headingAs",
585
- "description": "Defines which heading element will be rendered",
586
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
705
+ "name": "size",
706
+ "description": "If provided, displays an alternative size",
707
+ "type": "'sm' | 'md' | 'lg'"
587
708
  },
588
709
  {
589
- "name": "small",
590
- "description": "If true, renders the small version",
591
- "type": "boolean | undefined"
710
+ "name": "type",
711
+ "description": "If provided, changes the button type",
712
+ "type": "'button' | 'submit' | 'reset'"
592
713
  },
593
714
  {
594
- "name": "truncate",
595
- "description": "If true, will truncate the heading in collapsed state",
596
- "type": "boolean | undefined"
715
+ "name": "variant",
716
+ "description": "If provided, alters the appearance",
717
+ "type": "'primary' | 'secondary'"
597
718
  }
598
719
  ],
599
720
  "events": [
600
721
  {
601
- "name": "skf-collapse-toggle",
602
- "type": "CustomEvent",
603
- "description": "Event emitted when toggled"
722
+ "name": "click",
723
+ "description": "Fires when the button is clicked"
604
724
  }
605
725
  ]
606
726
  }
@@ -718,6 +838,11 @@
718
838
  "description": "If true, value is required or must be checked for the form to be submittable",
719
839
  "value": { "type": "boolean" }
720
840
  },
841
+ {
842
+ "name": "autocomplete",
843
+ "description": "-m }",
844
+ "value": { "type": "string" }
845
+ },
721
846
  {
722
847
  "name": "button-aria-label-clear",
723
848
  "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
@@ -878,6 +1003,7 @@
878
1003
  ],
879
1004
  "js": {
880
1005
  "properties": [
1006
+ { "name": "autocomplete", "description": "-m }", "type": "" },
881
1007
  {
882
1008
  "name": "buttonAriaLabelClear",
883
1009
  "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
@@ -1067,8 +1193,8 @@
1067
1193
  },
1068
1194
  {
1069
1195
  "name": "rel",
1070
- "description": "Defines the relationship of the target object to the link object",
1071
- "value": { "type": "string", "default": "'noreferrer noopener'" }
1196
+ "description": "If defined, describes the relationship between a linked resource and the current document",
1197
+ "value": { "type": "string | undefined" }
1072
1198
  },
1073
1199
  {
1074
1200
  "name": "route",
@@ -1078,7 +1204,7 @@
1078
1204
  {
1079
1205
  "name": "stretch",
1080
1206
  "description": "If true, fills the parents horizontal axis",
1081
- "value": { "type": "boolean | undefined" }
1207
+ "value": { "type": "boolean", "default": "false" }
1082
1208
  },
1083
1209
  {
1084
1210
  "name": "target",
@@ -1137,8 +1263,8 @@
1137
1263
  },
1138
1264
  {
1139
1265
  "name": "rel",
1140
- "description": "Defines the relationship of the target object to the link object",
1141
- "type": "string"
1266
+ "description": "If defined, describes the relationship between a linked resource and the current document",
1267
+ "type": "string | undefined"
1142
1268
  },
1143
1269
  {
1144
1270
  "name": "route",
@@ -1148,7 +1274,7 @@
1148
1274
  {
1149
1275
  "name": "stretch",
1150
1276
  "description": "If true, fills the parents horizontal axis",
1151
- "type": "boolean | undefined"
1277
+ "type": "boolean"
1152
1278
  },
1153
1279
  {
1154
1280
  "name": "target",
@@ -1182,7 +1308,7 @@
1182
1308
  {
1183
1309
  "name": "invert",
1184
1310
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1185
- "value": { "type": "boolean | undefined" }
1311
+ "value": { "type": "boolean", "default": "false" }
1186
1312
  },
1187
1313
  {
1188
1314
  "name": "size",
@@ -1201,7 +1327,7 @@
1201
1327
  {
1202
1328
  "name": "invert",
1203
1329
  "description": "If true, inverts the color (to be used on colored backgrounds)",
1204
- "type": "boolean | undefined"
1330
+ "type": "boolean"
1205
1331
  },
1206
1332
  {
1207
1333
  "name": "size",
@@ -1226,7 +1352,7 @@
1226
1352
  },
1227
1353
  {
1228
1354
  "name": "color",
1229
- "description": "If defined, sets color of the logo",
1355
+ "description": "Defines the color of the logo",
1230
1356
  "value": {
1231
1357
  "type": "\"primary\" | \"secondary\" | \"inverse\"",
1232
1358
  "default": "'primary'"
@@ -1243,13 +1369,56 @@
1243
1369
  },
1244
1370
  {
1245
1371
  "name": "color",
1246
- "description": "If defined, sets color of the logo",
1372
+ "description": "Defines the color of the logo",
1247
1373
  "type": "\"primary\" | \"secondary\" | \"inverse\""
1248
1374
  }
1249
1375
  ],
1250
1376
  "events": []
1251
1377
  }
1252
1378
  },
1379
+ {
1380
+ "name": "skf-progress",
1381
+ "description": "The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar\n---\n",
1382
+ "doc-url": "",
1383
+ "attributes": [
1384
+ {
1385
+ "name": "animated",
1386
+ "description": "If true, the progress-bar's fill value is animated",
1387
+ "value": { "type": "boolean", "default": "false" }
1388
+ },
1389
+ {
1390
+ "name": "max",
1391
+ "description": "Describes how much work the task indicated by the progress element requires",
1392
+ "value": { "type": "number", "default": "1" }
1393
+ },
1394
+ {
1395
+ "name": "value",
1396
+ "description": "Specifies how much of the task that has been completed",
1397
+ "value": { "type": "number", "default": "0" }
1398
+ }
1399
+ ],
1400
+ "events": [],
1401
+ "js": {
1402
+ "properties": [
1403
+ {
1404
+ "name": "animated",
1405
+ "description": "If true, the progress-bar's fill value is animated",
1406
+ "type": "boolean"
1407
+ },
1408
+ {
1409
+ "name": "max",
1410
+ "description": "Describes how much work the task indicated by the progress element requires",
1411
+ "type": "number"
1412
+ },
1413
+ {
1414
+ "name": "value",
1415
+ "description": "Specifies how much of the task that has been completed",
1416
+ "type": "number"
1417
+ }
1418
+ ],
1419
+ "events": []
1420
+ }
1421
+ },
1253
1422
  {
1254
1423
  "name": "skf-radio",
1255
1424
  "description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
@@ -1280,11 +1449,6 @@
1280
1449
  "description": "If true, forces component to invalid state until removed",
1281
1450
  "value": { "type": "boolean | undefined" }
1282
1451
  },
1283
- {
1284
- "name": "hide-label",
1285
- "description": "If true, hides the label visually",
1286
- "value": { "type": "boolean | undefined" }
1287
- },
1288
1452
  {
1289
1453
  "name": "label",
1290
1454
  "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
@@ -1352,11 +1516,6 @@
1352
1516
  "description": "If true, forces component to invalid state until removed",
1353
1517
  "type": "boolean | undefined"
1354
1518
  },
1355
- {
1356
- "name": "hideLabel",
1357
- "description": "If true, hides the label visually",
1358
- "type": "boolean | undefined"
1359
- },
1360
1519
  {
1361
1520
  "name": "label",
1362
1521
  "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
@@ -1532,11 +1691,11 @@
1532
1691
  "type": "string | undefined"
1533
1692
  },
1534
1693
  {
1535
- "name": "getSelectedValues",
1694
+ "name": "selectedValues",
1536
1695
  "description": "A readonly property that returns the selected value(s) in a array"
1537
1696
  },
1538
1697
  {
1539
- "name": "getSelectedOptionsText",
1698
+ "name": "selectedOptionsText",
1540
1699
  "description": "A readonly property that returns the selected slot(s) text content in a array"
1541
1700
  },
1542
1701
  {
@@ -1632,7 +1791,7 @@
1632
1791
  {
1633
1792
  "name": "icon-color",
1634
1793
  "description": "If defined, sets provided color on the icon",
1635
- "value": { "type": "IconColor | undefined" }
1794
+ "value": { "type": "SeverityFgColor | undefined" }
1636
1795
  },
1637
1796
  {
1638
1797
  "name": "selected",
@@ -1678,7 +1837,7 @@
1678
1837
  {
1679
1838
  "name": "iconColor",
1680
1839
  "description": "If defined, sets provided color on the icon",
1681
- "type": "IconColor | undefined"
1840
+ "type": "SeverityFgColor | undefined"
1682
1841
  },
1683
1842
  {
1684
1843
  "name": "selected",
@@ -1838,6 +1997,155 @@
1838
1997
  "events": []
1839
1998
  }
1840
1999
  },
2000
+ {
2001
+ "name": "skf-tab",
2002
+ "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
2003
+ "doc-url": "",
2004
+ "attributes": [
2005
+ {
2006
+ "name": "panel",
2007
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2008
+ "value": { "type": "string", "default": "''" }
2009
+ }
2010
+ ],
2011
+ "slots": [{ "name": "", "description": "The tab's label" }],
2012
+ "events": [
2013
+ {
2014
+ "name": "skf-tab-select",
2015
+ "type": "CustomEvent",
2016
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2017
+ },
2018
+ {
2019
+ "name": "click",
2020
+ "description": "Fired when the component is clicked"
2021
+ }
2022
+ ],
2023
+ "js": {
2024
+ "properties": [
2025
+ {
2026
+ "name": "panel",
2027
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2028
+ "type": "string"
2029
+ },
2030
+ { "name": "selected", "type": "boolean" },
2031
+ { "name": "variant", "type": "SkfTabGroup['variant']" },
2032
+ { "name": "role", "type": "string" }
2033
+ ],
2034
+ "events": [
2035
+ {
2036
+ "name": "skf-tab-select",
2037
+ "type": "CustomEvent",
2038
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2039
+ },
2040
+ {
2041
+ "name": "click",
2042
+ "description": "Fired when the component is clicked"
2043
+ }
2044
+ ]
2045
+ }
2046
+ },
2047
+ {
2048
+ "name": "skf-tab-group",
2049
+ "description": "The `<skf-tab-group>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
2050
+ "doc-url": "",
2051
+ "attributes": [
2052
+ {
2053
+ "name": "default-selected",
2054
+ "description": "Sets the default selected tab",
2055
+ "value": { "type": "number", "default": "0" }
2056
+ },
2057
+ {
2058
+ "name": "no-border",
2059
+ "description": "If true, removes border",
2060
+ "value": { "type": "boolean", "default": "false" }
2061
+ },
2062
+ {
2063
+ "name": "no-padding",
2064
+ "description": "If true, removes padding",
2065
+ "value": { "type": "boolean", "default": "false" }
2066
+ },
2067
+ {
2068
+ "name": "stretch",
2069
+ "description": "If true, component fills the parent element height",
2070
+ "value": { "type": "boolean", "default": "false" }
2071
+ },
2072
+ {
2073
+ "name": "variant",
2074
+ "description": "Sets the appearance of the tabs",
2075
+ "value": {
2076
+ "type": "'compressed' | 'expanded'",
2077
+ "default": "'expanded'"
2078
+ }
2079
+ }
2080
+ ],
2081
+ "slots": [
2082
+ {
2083
+ "name": "",
2084
+ "description": "Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements"
2085
+ },
2086
+ {
2087
+ "name": "tabs",
2088
+ "description": "Used for grouping tabs in the tab group. Must be <skf-tab> elements"
2089
+ }
2090
+ ],
2091
+ "events": [],
2092
+ "js": {
2093
+ "properties": [
2094
+ {
2095
+ "name": "defaultSelected",
2096
+ "description": "Sets the default selected tab",
2097
+ "type": "number"
2098
+ },
2099
+ {
2100
+ "name": "noBorder",
2101
+ "description": "If true, removes border",
2102
+ "type": "boolean"
2103
+ },
2104
+ {
2105
+ "name": "noPadding",
2106
+ "description": "If true, removes padding",
2107
+ "type": "boolean"
2108
+ },
2109
+ {
2110
+ "name": "stretch",
2111
+ "description": "If true, component fills the parent element height",
2112
+ "type": "boolean"
2113
+ },
2114
+ {
2115
+ "name": "variant",
2116
+ "description": "Sets the appearance of the tabs",
2117
+ "type": "'compressed' | 'expanded'"
2118
+ }
2119
+ ],
2120
+ "events": []
2121
+ }
2122
+ },
2123
+ {
2124
+ "name": "skf-tab-panel",
2125
+ "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
2126
+ "doc-url": "",
2127
+ "attributes": [
2128
+ {
2129
+ "name": "name",
2130
+ "description": "The tab panel's name.",
2131
+ "value": { "type": "string", "default": "''" }
2132
+ }
2133
+ ],
2134
+ "slots": [{ "name": "", "description": "The tab panel's content" }],
2135
+ "events": [],
2136
+ "js": {
2137
+ "properties": [
2138
+ {
2139
+ "name": "name",
2140
+ "description": "The tab panel's name.",
2141
+ "type": "string"
2142
+ },
2143
+ { "name": "active", "type": "boolean" },
2144
+ { "name": "role", "type": "string" }
2145
+ ],
2146
+ "events": []
2147
+ }
2148
+ },
1841
2149
  {
1842
2150
  "name": "skf-tag",
1843
2151
  "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
@@ -2136,6 +2444,92 @@
2136
2444
  }
2137
2445
  ]
2138
2446
  }
2447
+ },
2448
+ {
2449
+ "name": "skf-toast",
2450
+ "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",
2451
+ "doc-url": "",
2452
+ "attributes": [
2453
+ {
2454
+ "name": "closeable",
2455
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2456
+ "value": { "type": "boolean", "default": "false" }
2457
+ },
2458
+ {
2459
+ "name": "debug",
2460
+ "value": { "type": "boolean", "default": "false" }
2461
+ },
2462
+ {
2463
+ "name": "severity",
2464
+ "description": "Severity of the toast.",
2465
+ "value": {
2466
+ "type": "'info' | 'success' | 'warning' | 'error'",
2467
+ "default": "'info'"
2468
+ }
2469
+ },
2470
+ {
2471
+ "name": "timer",
2472
+ "description": "Time in seconds before the toast disappears.",
2473
+ "value": { "type": "number", "default": "5" }
2474
+ },
2475
+ {
2476
+ "name": "topOffset",
2477
+ "description": "offsets where toasts emerge vertically",
2478
+ "value": { "type": "number | undefined" }
2479
+ }
2480
+ ],
2481
+ "slots": [
2482
+ { "name": "", "description": "The component's placeholder content" }
2483
+ ],
2484
+ "events": [],
2485
+ "js": {
2486
+ "properties": [
2487
+ {
2488
+ "name": "closeable",
2489
+ "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2490
+ "type": "boolean"
2491
+ },
2492
+ { "name": "debug", "type": "boolean" },
2493
+ {
2494
+ "name": "severity",
2495
+ "description": "Severity of the toast.",
2496
+ "type": "'info' | 'success' | 'warning' | 'error'"
2497
+ },
2498
+ {
2499
+ "name": "timer",
2500
+ "description": "Time in seconds before the toast disappears.",
2501
+ "type": "number"
2502
+ },
2503
+ {
2504
+ "name": "topOffset",
2505
+ "description": "offsets where toasts emerge vertically",
2506
+ "type": "number | undefined"
2507
+ }
2508
+ ],
2509
+ "events": []
2510
+ }
2511
+ },
2512
+ {
2513
+ "name": "skf-toast-wrapper",
2514
+ "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.",
2515
+ "doc-url": "",
2516
+ "attributes": [
2517
+ {
2518
+ "name": "debug",
2519
+ "value": { "type": "boolean", "default": "false" }
2520
+ }
2521
+ ],
2522
+ "slots": [
2523
+ {
2524
+ "name": "",
2525
+ "description": "The alert components that the toast creates will render here."
2526
+ }
2527
+ ],
2528
+ "events": [],
2529
+ "js": {
2530
+ "properties": [{ "name": "debug", "type": "boolean" }],
2531
+ "events": []
2532
+ }
2139
2533
  }
2140
2534
  ]
2141
2535
  }