@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.
- package/dist/components/accordion/accordion-item.d.ts +1 -1
- package/dist/components/accordion/accordion.component.d.ts +4 -4
- package/dist/components/accordion/accordion.component.js +18 -17
- package/dist/components/accordion/accordion.styles.d.ts +1 -2
- package/dist/components/accordion/accordion.styles.js +5 -4
- package/dist/components/alert/alert.component.d.ts +3 -3
- package/dist/components/alert/alert.component.js +44 -33
- package/dist/components/alert/alert.styles.d.ts +1 -2
- package/dist/components/alert/alert.styles.js +29 -24
- package/dist/components/button/button.component.d.ts +26 -4
- package/dist/components/button/button.component.js +78 -54
- package/dist/components/button/button.styles.js +1 -0
- package/dist/components/card/card.component.d.ts +4 -4
- package/dist/components/card/card.component.js +35 -24
- package/dist/components/card/card.styles.d.ts +1 -2
- package/dist/components/card/card.styles.js +14 -12
- package/dist/components/checkbox/checkbox.component.d.ts +11 -12
- package/dist/components/checkbox/checkbox.component.js +95 -89
- package/dist/components/collapse/collapse.component.d.ts +8 -8
- package/dist/components/collapse/collapse.component.js +42 -34
- package/dist/components/collapse/collapse.styles.js +15 -14
- package/dist/components/dialog/dialog.component.d.ts +75 -0
- package/dist/components/dialog/dialog.component.js +189 -0
- package/dist/components/dialog/dialog.d.ts +8 -0
- package/dist/components/dialog/dialog.js +6 -0
- package/dist/components/dialog/dialog.styles.js +91 -0
- package/dist/components/divider/divider.component.d.ts +3 -3
- package/dist/components/divider/divider.component.js +39 -27
- package/dist/components/divider/divider.styles.d.ts +1 -2
- package/dist/components/divider/divider.styles.js +26 -26
- package/dist/components/heading/heading.component.d.ts +2 -2
- package/dist/components/icon/icon.component.d.ts +1 -1
- package/dist/components/input/input.component.d.ts +12 -11
- package/dist/components/input/input.component.js +88 -89
- package/dist/components/link/link.component.d.ts +6 -6
- package/dist/components/link/link.component.js +20 -14
- package/dist/components/link/link.styles.js +36 -40
- package/dist/components/loader/loader.component.d.ts +2 -2
- package/dist/components/loader/loader.component.js +32 -25
- package/dist/components/loader/loader.styles.js +11 -10
- package/dist/components/logo/logo.component.d.ts +3 -3
- package/dist/components/logo/logo.component.js +25 -14
- package/dist/components/logo/logo.styles.d.ts +1 -2
- package/dist/components/logo/logo.styles.js +11 -9
- package/dist/components/progress/progress.component.d.ts +22 -0
- package/dist/components/progress/progress.component.js +49 -0
- package/dist/components/progress/progress.d.ts +8 -0
- package/dist/components/progress/progress.js +6 -0
- package/dist/components/progress/progress.styles.js +48 -0
- package/dist/components/radio/radio.component.d.ts +7 -9
- package/dist/components/radio/radio.component.js +93 -77
- package/dist/components/select/select.component.d.ts +2 -2
- package/dist/components/select/select.component.js +16 -13
- package/dist/components/select/select.controllers.d.ts +1 -1
- package/dist/components/select-option/select-option.component.d.ts +1 -1
- package/dist/components/select-option/select-option.controllers.d.ts +1 -1
- package/dist/components/select-option-group/select-option-group.component.d.ts +1 -1
- package/dist/components/switch/switch.component.d.ts +2 -2
- package/dist/components/switch/switch.component.js +17 -7
- package/dist/components/switch/switch.styles.js +16 -13
- package/dist/components/tab/tab.component.d.ts +29 -0
- package/dist/components/tab/tab.component.js +57 -0
- package/dist/components/tab/tab.d.ts +8 -0
- package/dist/components/tab/tab.js +6 -0
- package/dist/components/tab/tab.styles.d.ts +1 -0
- package/dist/components/tab/tab.styles.js +123 -0
- package/dist/components/tab-group/tab-group.component.d.ts +43 -0
- package/dist/components/tab-group/tab-group.component.js +98 -0
- package/dist/components/tab-group/tab-group.d.ts +8 -0
- package/dist/components/tab-group/tab-group.js +6 -0
- package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
- package/dist/components/tab-group/tab-group.styles.js +75 -0
- package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
- package/dist/components/tab-panel/tab-panel.component.js +36 -0
- package/dist/components/tab-panel/tab-panel.d.ts +8 -0
- package/dist/components/tab-panel/tab-panel.js +6 -0
- package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
- package/dist/components/tab-panel/tab-panel.styles.js +13 -0
- package/dist/components/tag/tag.component.d.ts +2 -2
- package/dist/components/tag/tag.component.js +61 -45
- package/dist/components/tag/tag.styles.js +30 -28
- package/dist/components/textarea/textarea.component.d.ts +4 -4
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/toast/toast.component.d.ts +1 -1
- package/dist/components/toast/toast.component.js +13 -13
- package/dist/components/toast/toast.singleton.d.ts +3 -3
- package/dist/components/toast/toast.styles.d.ts +1 -0
- package/dist/components/toast-item/toast-item.component.d.ts +1 -1
- package/dist/components/toast-item/toast-item.component.js +1 -1
- package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +2 -2
- package/dist/components/toast-wrapper/toast-wrapper.component.js +1 -1
- package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
- package/dist/custom-elements.json +1170 -511
- package/dist/index.d.ts +5 -0
- package/dist/index.js +59 -44
- package/dist/internal/components/formBase.d.ts +1 -0
- package/dist/internal/components/formBase.js +11 -11
- package/dist/internal/components/hint/hint.component.d.ts +2 -2
- package/dist/internal/components/skf-element.js +26 -25
- package/dist/internal/helpers/hintSeverity.d.ts +1 -1
- package/dist/internal/helpers/watch.d.ts +27 -0
- package/dist/internal/helpers/watch.js +28 -0
- package/dist/internal/templates/asterisk.d.ts +1 -1
- package/dist/internal/templates/asterisk.js +7 -6
- package/dist/react/index.d.ts +7 -2
- package/dist/react/index.js +7 -2
- package/dist/react/skf-button/index.d.ts +7 -1
- package/dist/react/skf-button/index.js +5 -1
- package/dist/react/skf-dialog/index.d.ts +15 -0
- package/dist/react/skf-dialog/index.js +19 -0
- package/dist/react/skf-progress/index.d.ts +3 -0
- package/dist/react/skf-progress/index.js +13 -0
- package/dist/react/skf-tab/index.d.ts +12 -0
- package/dist/react/skf-tab/index.js +18 -0
- package/dist/react/skf-tab-group/index.d.ts +3 -0
- package/dist/react/skf-tab-group/index.js +13 -0
- package/dist/react/skf-tab-panel/index.d.ts +3 -0
- package/dist/react/skf-tab-panel/index.js +13 -0
- package/dist/styles/component.styles.js +15 -2
- package/dist/types/jsx/custom-element-jsx.d.ts +246 -101
- package/dist/types/vue/index.d.ts +215 -65
- package/dist/vscode.html-custom-data.json +276 -182
- package/dist/web-types.json +556 -248
- package/package.json +33 -32
- /package/dist/components/{toast-wrapper/toast-wrapper.style.d.ts → dialog/dialog.styles.d.ts} +0 -0
- /package/dist/components/{toast/toast.style.d.ts → progress/progress.styles.d.ts} +0 -0
- /package/dist/components/toast/{toast.style.js → toast.styles.js} +0 -0
- /package/dist/components/toast-item/{toast-item.style.d.ts → toast-item.styles.d.ts} +0 -0
- /package/dist/components/toast-item/{toast-item.style.js → toast-item.styles.js} +0 -0
- /package/dist/components/toast-wrapper/{toast-wrapper.style.js → toast-wrapper.styles.js} +0 -0
package/dist/web-types.json
CHANGED
@@ -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.
|
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
|
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
|
70
|
+
"type": "boolean"
|
71
71
|
},
|
72
72
|
{
|
73
73
|
"name": "multiple",
|
@@ -88,183 +88,6 @@
|
|
88
88
|
"events": []
|
89
89
|
}
|
90
90
|
},
|
91
|
-
{
|
92
|
-
"name": "skf-alert",
|
93
|
-
"description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
|
94
|
-
"doc-url": "",
|
95
|
-
"attributes": [
|
96
|
-
{
|
97
|
-
"name": "closeable",
|
98
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
99
|
-
"value": { "type": "boolean | undefined" }
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"name": "button-label",
|
103
|
-
"description": "Close button aria-label",
|
104
|
-
"value": { "type": "string", "default": "'Close'" }
|
105
|
-
},
|
106
|
-
{
|
107
|
-
"name": "icon",
|
108
|
-
"description": "If defined, displays leading icon",
|
109
|
-
"value": { "type": "SkfIcon['name'] | undefined" }
|
110
|
-
},
|
111
|
-
{
|
112
|
-
"name": "severity",
|
113
|
-
"description": "If defined, gives the supplied appearance",
|
114
|
-
"value": {
|
115
|
-
"type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
116
|
-
}
|
117
|
-
}
|
118
|
-
],
|
119
|
-
"slots": [
|
120
|
-
{
|
121
|
-
"name": "",
|
122
|
-
"description": "Alert message. **Notice!** See design principles for approved content"
|
123
|
-
},
|
124
|
-
{ "name": "link", "description": "Slot for the link" }
|
125
|
-
],
|
126
|
-
"events": [
|
127
|
-
{
|
128
|
-
"name": "skf-alert-close",
|
129
|
-
"description": "Fires when the close button is clicked"
|
130
|
-
}
|
131
|
-
],
|
132
|
-
"js": {
|
133
|
-
"properties": [
|
134
|
-
{
|
135
|
-
"name": "closeable",
|
136
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
137
|
-
"type": "boolean | undefined"
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"name": "buttonLabel",
|
141
|
-
"description": "Close button aria-label",
|
142
|
-
"type": "string"
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"name": "icon",
|
146
|
-
"description": "If defined, displays leading icon",
|
147
|
-
"type": "SkfIcon['name'] | undefined"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"name": "severity",
|
151
|
-
"description": "If defined, gives the supplied appearance",
|
152
|
-
"type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
153
|
-
}
|
154
|
-
],
|
155
|
-
"events": [
|
156
|
-
{
|
157
|
-
"name": "skf-alert-close",
|
158
|
-
"description": "Fires when the close button is clicked"
|
159
|
-
}
|
160
|
-
]
|
161
|
-
}
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"name": "skf-button",
|
165
|
-
"description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
|
166
|
-
"doc-url": "",
|
167
|
-
"attributes": [
|
168
|
-
{
|
169
|
-
"name": "destructive",
|
170
|
-
"description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
|
171
|
-
"value": { "type": "boolean", "default": "false" }
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"name": "disabled",
|
175
|
-
"description": "If true, removes border",
|
176
|
-
"value": { "type": "boolean", "default": "false" }
|
177
|
-
},
|
178
|
-
{
|
179
|
-
"name": "icon",
|
180
|
-
"description": "If provided, renders an icon before or after the text",
|
181
|
-
"value": {
|
182
|
-
"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\""
|
183
|
-
}
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"name": "icon-position",
|
187
|
-
"description": "If provided, determines the positioning of the icon in relation to the text",
|
188
|
-
"value": {
|
189
|
-
"type": "'left' | 'right' | undefined",
|
190
|
-
"default": "'left'"
|
191
|
-
}
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"name": "loading",
|
195
|
-
"description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
|
196
|
-
"value": { "type": "boolean", "default": "false" }
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"name": "size",
|
200
|
-
"description": "If provided, displays an alternative size",
|
201
|
-
"value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"name": "type",
|
205
|
-
"description": "If provided, changes the button type",
|
206
|
-
"value": {
|
207
|
-
"type": "'button' | 'submit' | 'reset'",
|
208
|
-
"default": "'button'"
|
209
|
-
}
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"name": "variant",
|
213
|
-
"description": "If provided, alters the appearance",
|
214
|
-
"value": {
|
215
|
-
"type": "'primary' | 'secondary'",
|
216
|
-
"default": "'primary'"
|
217
|
-
}
|
218
|
-
}
|
219
|
-
],
|
220
|
-
"slots": [{ "name": "", "description": "The Primary content" }],
|
221
|
-
"events": [],
|
222
|
-
"js": {
|
223
|
-
"properties": [
|
224
|
-
{
|
225
|
-
"name": "destructive",
|
226
|
-
"description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
|
227
|
-
"type": "boolean"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"name": "disabled",
|
231
|
-
"description": "If true, removes border",
|
232
|
-
"type": "boolean"
|
233
|
-
},
|
234
|
-
{
|
235
|
-
"name": "icon",
|
236
|
-
"description": "If provided, renders an icon before or after the text",
|
237
|
-
"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\""
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"name": "iconPosition",
|
241
|
-
"description": "If provided, determines the positioning of the icon in relation to the text",
|
242
|
-
"type": "'left' | 'right' | undefined"
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"name": "loading",
|
246
|
-
"description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
|
247
|
-
"type": "boolean"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"name": "size",
|
251
|
-
"description": "If provided, displays an alternative size",
|
252
|
-
"type": "'sm' | 'md' | 'lg'"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"name": "type",
|
256
|
-
"description": "If provided, changes the button type",
|
257
|
-
"type": "'button' | 'submit' | 'reset'"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "variant",
|
261
|
-
"description": "If provided, alters the appearance",
|
262
|
-
"type": "'primary' | 'secondary'"
|
263
|
-
}
|
264
|
-
],
|
265
|
-
"events": []
|
266
|
-
}
|
267
|
-
},
|
268
91
|
{
|
269
92
|
"name": "skf-card",
|
270
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",
|
@@ -273,17 +96,17 @@
|
|
273
96
|
{
|
274
97
|
"name": "no-border",
|
275
98
|
"description": "If true, removes border",
|
276
|
-
"value": { "type": "boolean
|
99
|
+
"value": { "type": "boolean", "default": "false" }
|
277
100
|
},
|
278
101
|
{
|
279
102
|
"name": "no-padding",
|
280
103
|
"description": "If true, removes padding",
|
281
|
-
"value": { "type": "boolean
|
104
|
+
"value": { "type": "boolean", "default": "false" }
|
282
105
|
},
|
283
106
|
{
|
284
107
|
"name": "stretch",
|
285
108
|
"description": "If true, the Card fills the parent element height",
|
286
|
-
"value": { "type": "boolean
|
109
|
+
"value": { "type": "boolean", "default": "false" }
|
287
110
|
}
|
288
111
|
],
|
289
112
|
"slots": [{ "name": "", "description": "The card's main content" }],
|
@@ -293,17 +116,17 @@
|
|
293
116
|
{
|
294
117
|
"name": "noBorder",
|
295
118
|
"description": "If true, removes border",
|
296
|
-
"type": "boolean
|
119
|
+
"type": "boolean"
|
297
120
|
},
|
298
121
|
{
|
299
122
|
"name": "noPadding",
|
300
123
|
"description": "If true, removes padding",
|
301
|
-
"type": "boolean
|
124
|
+
"type": "boolean"
|
302
125
|
},
|
303
126
|
{
|
304
127
|
"name": "stretch",
|
305
128
|
"description": "If true, the Card fills the parent element height",
|
306
|
-
"type": "boolean
|
129
|
+
"type": "boolean"
|
307
130
|
}
|
308
131
|
],
|
309
132
|
"events": []
|
@@ -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",
|
@@ -478,12 +291,12 @@
|
|
478
291
|
{
|
479
292
|
"name": "animated",
|
480
293
|
"description": "If true, will animate the expand/collapse state",
|
481
|
-
"value": { "type": "boolean
|
294
|
+
"value": { "type": "boolean", "default": "false" }
|
482
295
|
},
|
483
296
|
{
|
484
297
|
"name": "expanded",
|
485
298
|
"description": "If true, will set the collapse to be expanded by default",
|
486
|
-
"value": { "type": "boolean
|
299
|
+
"value": { "type": "boolean", "default": "false" }
|
487
300
|
},
|
488
301
|
{
|
489
302
|
"name": "heading",
|
@@ -493,20 +306,17 @@
|
|
493
306
|
{
|
494
307
|
"name": "heading-as",
|
495
308
|
"description": "Defines which heading element will be rendered",
|
496
|
-
"value": {
|
497
|
-
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
|
498
|
-
"default": "'h2'"
|
499
|
-
}
|
309
|
+
"value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
|
500
310
|
},
|
501
311
|
{
|
502
312
|
"name": "small",
|
503
313
|
"description": "If true, renders the small version",
|
504
|
-
"value": { "type": "boolean
|
314
|
+
"value": { "type": "boolean", "default": "false" }
|
505
315
|
},
|
506
316
|
{
|
507
317
|
"name": "truncate",
|
508
318
|
"description": "If true, will truncate the heading in collapsed state",
|
509
|
-
"value": { "type": "boolean
|
319
|
+
"value": { "type": "boolean", "default": "false" }
|
510
320
|
}
|
511
321
|
],
|
512
322
|
"slots": [{ "name": "", "description": "Main content" }],
|
@@ -522,12 +332,12 @@
|
|
522
332
|
{
|
523
333
|
"name": "animated",
|
524
334
|
"description": "If true, will animate the expand/collapse state",
|
525
|
-
"type": "boolean
|
335
|
+
"type": "boolean"
|
526
336
|
},
|
527
337
|
{
|
528
338
|
"name": "expanded",
|
529
339
|
"description": "If true, will set the collapse to be expanded by default",
|
530
|
-
"type": "boolean
|
340
|
+
"type": "boolean"
|
531
341
|
},
|
532
342
|
{
|
533
343
|
"name": "heading",
|
@@ -537,17 +347,17 @@
|
|
537
347
|
{
|
538
348
|
"name": "headingAs",
|
539
349
|
"description": "Defines which heading element will be rendered",
|
540
|
-
"type": "\"
|
350
|
+
"type": "\"h2\" | \"h3\" | \"h4\""
|
541
351
|
},
|
542
352
|
{
|
543
353
|
"name": "small",
|
544
354
|
"description": "If true, renders the small version",
|
545
|
-
"type": "boolean
|
355
|
+
"type": "boolean"
|
546
356
|
},
|
547
357
|
{
|
548
358
|
"name": "truncate",
|
549
359
|
"description": "If true, will truncate the heading in collapsed state",
|
550
|
-
"type": "boolean
|
360
|
+
"type": "boolean"
|
551
361
|
}
|
552
362
|
],
|
553
363
|
"events": [
|
@@ -559,6 +369,196 @@
|
|
559
369
|
]
|
560
370
|
}
|
561
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",
|
536
|
+
"type": "boolean | undefined"
|
537
|
+
},
|
538
|
+
{
|
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
562
|
{
|
563
563
|
"name": "skf-divider",
|
564
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)_",
|
@@ -568,41 +568,161 @@
|
|
568
568
|
"name": "color",
|
569
569
|
"description": "Defines the Divider color",
|
570
570
|
"value": {
|
571
|
-
"type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
|
572
|
-
"default": "'primary'"
|
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'"
|
573
636
|
}
|
574
637
|
},
|
575
638
|
{
|
576
|
-
"name": "
|
577
|
-
"description": "If true,
|
578
|
-
"value": { "type": "boolean
|
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" }
|
579
642
|
},
|
580
643
|
{
|
581
|
-
"name": "
|
582
|
-
"
|
583
|
-
|
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"
|
584
674
|
}
|
585
675
|
],
|
586
|
-
"events": [],
|
587
676
|
"js": {
|
588
677
|
"properties": [
|
589
678
|
{
|
590
|
-
"name": "
|
591
|
-
"description": "
|
592
|
-
"type": "
|
679
|
+
"name": "destructive",
|
680
|
+
"description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
|
681
|
+
"type": "boolean"
|
593
682
|
},
|
594
683
|
{
|
595
|
-
"name": "
|
596
|
-
"description": "If true,
|
597
|
-
"type": "boolean
|
684
|
+
"name": "disabled",
|
685
|
+
"description": "If true, removes border",
|
686
|
+
"type": "boolean"
|
598
687
|
},
|
599
688
|
{
|
600
|
-
"name": "
|
601
|
-
"description": "If
|
602
|
-
"type": "
|
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"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"name": "loading",
|
700
|
+
"description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
|
701
|
+
"type": "boolean"
|
702
|
+
},
|
703
|
+
{ "name": "noValidate", "type": "boolean" },
|
704
|
+
{
|
705
|
+
"name": "size",
|
706
|
+
"description": "If provided, displays an alternative size",
|
707
|
+
"type": "'sm' | 'md' | 'lg'"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"name": "type",
|
711
|
+
"description": "If provided, changes the button type",
|
712
|
+
"type": "'button' | 'submit' | 'reset'"
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"name": "variant",
|
716
|
+
"description": "If provided, alters the appearance",
|
717
|
+
"type": "'primary' | 'secondary'"
|
603
718
|
}
|
604
719
|
],
|
605
|
-
"events": [
|
720
|
+
"events": [
|
721
|
+
{
|
722
|
+
"name": "click",
|
723
|
+
"description": "Fires when the button is clicked"
|
724
|
+
}
|
725
|
+
]
|
606
726
|
}
|
607
727
|
},
|
608
728
|
{
|
@@ -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": "
|
1071
|
-
"value": { "type": "string
|
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
|
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": "
|
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
|
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
|
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
|
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": "
|
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": "
|
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.",
|
@@ -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",
|