@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.
- package/README.md +26 -6
- package/dist/components/accordion/accordion-item.d.ts +1 -1
- package/dist/components/accordion/accordion.component.d.ts +13 -9
- package/dist/components/accordion/accordion.component.js +34 -30
- package/dist/components/accordion/accordion.d.ts +1 -1
- 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 +10 -7
- package/dist/components/alert/alert.component.js +50 -37
- package/dist/components/alert/alert.styles.d.ts +1 -2
- package/dist/components/alert/alert.styles.js +42 -34
- package/dist/components/button/button.component.d.ts +28 -4
- package/dist/components/button/button.component.js +80 -56
- package/dist/components/button/button.styles.js +2 -1
- package/dist/components/card/card.component.d.ts +1 -1
- package/dist/components/card/card.component.js +29 -21
- package/dist/components/card/card.styles.d.ts +1 -2
- package/dist/components/card/card.styles.js +22 -12
- package/dist/components/checkbox/checkbox.component.d.ts +20 -18
- package/dist/components/checkbox/checkbox.component.js +95 -89
- package/dist/components/checkbox/checkbox.styles.js +7 -2
- package/dist/components/checkbox/checkbox.test.d.ts +1 -0
- package/dist/components/collapse/collapse.component.d.ts +8 -5
- package/dist/components/collapse/collapse.component.js +50 -39
- package/dist/components/collapse/collapse.styles.js +13 -12
- package/dist/components/collapse/collapse.test.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/components/dialog/dialog.styles.js +91 -0
- package/dist/components/divider/divider.component.d.ts +14 -11
- package/dist/components/divider/divider.component.js +46 -29
- package/dist/components/divider/divider.styles.d.ts +1 -2
- package/dist/components/divider/divider.styles.js +26 -30
- package/dist/components/heading/heading.component.d.ts +14 -4
- package/dist/components/heading/heading.component.js +14 -14
- package/dist/components/heading/heading.styles.js +1 -1
- package/dist/components/icon/icon.component.d.ts +15 -9
- package/dist/components/icon/icon.component.js +6 -6
- package/dist/components/icon/icon.styles.js +56 -54
- package/dist/components/input/input.component.d.ts +48 -33
- package/dist/components/input/input.component.js +108 -99
- package/dist/components/link/link.component.d.ts +20 -17
- 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 +7 -7
- package/dist/components/loader/loader.component.js +42 -61
- package/dist/components/loader/loader.styles.js +44 -11
- package/dist/components/logo/logo.component.d.ts +7 -5
- 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 +12 -10
- 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.d.ts +1 -0
- package/dist/components/progress/progress.styles.js +48 -0
- package/dist/components/radio/radio.component.d.ts +21 -21
- package/dist/components/radio/radio.component.js +94 -78
- package/dist/components/radio/radio.styles.js +6 -1
- package/dist/components/select/select.component.d.ts +14 -12
- package/dist/components/select/select.component.js +119 -103
- package/dist/components/select/select.controllers.d.ts +1 -1
- package/dist/components/select/select.controllers.js +5 -2
- package/dist/components/select/select.styles.js +18 -3
- package/dist/components/select-option/select-option.component.d.ts +3 -3
- package/dist/components/select-option/select-option.component.js +16 -10
- 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 +4 -5
- package/dist/components/switch/switch.component.js +17 -7
- package/dist/components/switch/switch.styles.js +19 -11
- package/dist/components/switch/switch.test.d.ts +1 -0
- 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 +14 -9
- package/dist/components/tag/tag.component.js +63 -47
- package/dist/components/tag/tag.styles.js +35 -28
- package/dist/components/textarea/textarea.component.d.ts +30 -27
- package/dist/components/textarea/textarea.component.js +20 -17
- package/dist/components/toast/toast.component.d.ts +35 -0
- package/dist/components/toast/toast.component.js +52 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.js +6 -0
- package/dist/components/toast/toast.singleton.d.ts +26 -0
- package/dist/components/toast/toast.singleton.js +53 -0
- package/dist/components/toast/toast.styles.d.ts +1 -0
- package/dist/components/toast/toast.styles.js +9 -0
- package/dist/components/toast-item/toast-item.component.d.ts +21 -0
- package/dist/components/toast-item/toast-item.component.js +65 -0
- package/dist/components/toast-item/toast-item.d.ts +6 -0
- package/dist/components/toast-item/toast-item.js +2 -0
- package/dist/components/toast-item/toast-item.styles.d.ts +2 -0
- package/dist/components/toast-item/toast-item.styles.js +16 -0
- package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +24 -0
- package/dist/components/toast-wrapper/toast-wrapper.component.js +37 -0
- package/dist/components/toast-wrapper/toast-wrapper.d.ts +8 -0
- package/dist/components/toast-wrapper/toast-wrapper.js +6 -0
- package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
- package/dist/components/toast-wrapper/toast-wrapper.styles.js +20 -0
- package/dist/custom-elements.json +3090 -1993
- package/dist/index.d.ts +6 -0
- package/dist/index.js +60 -42
- 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/hint/hint.component.js +12 -10
- package/dist/internal/components/hint/hint.styles.js +26 -10
- 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/storybook/shadowRootTraverser.d.ts +16 -8
- package/dist/internal/templates/asterisk.d.ts +1 -1
- package/dist/internal/templates/asterisk.js +7 -6
- package/dist/react/index.d.ts +10 -3
- package/dist/react/index.js +10 -3
- 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/react/skf-toast/index.d.ts +3 -0
- package/dist/react/skf-toast/index.js +13 -0
- package/dist/react/skf-toast-wrapper/index.d.ts +3 -0
- package/dist/react/skf-toast-wrapper/index.js +13 -0
- package/dist/styles/component.styles.js +15 -2
- package/dist/styles/form-field.styles.js +5 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +300 -117
- package/dist/types/vue/index.d.ts +266 -76
- package/dist/vscode.html-custom-data.json +349 -216
- package/dist/web-types.json +686 -292
- package/package.json +33 -32
@@ -44,9 +44,239 @@
|
|
44
44
|
],
|
45
45
|
"references": []
|
46
46
|
},
|
47
|
+
{
|
48
|
+
"name": "skf-card",
|
49
|
+
"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",
|
50
|
+
"attributes": [
|
51
|
+
{
|
52
|
+
"name": "no-border",
|
53
|
+
"description": "If true, removes border",
|
54
|
+
"values": []
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "no-padding",
|
58
|
+
"description": "If true, removes padding",
|
59
|
+
"values": []
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"name": "stretch",
|
63
|
+
"description": "If true, the Card fills the parent element height",
|
64
|
+
"values": []
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"references": []
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "skf-checkbox",
|
71
|
+
"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.",
|
72
|
+
"attributes": [
|
73
|
+
{
|
74
|
+
"name": "disabled",
|
75
|
+
"description": "If true, sets disabled state",
|
76
|
+
"values": []
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"name": "required",
|
80
|
+
"description": "If true, value is required or must be checked for the form to be submittable",
|
81
|
+
"values": []
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "debug",
|
85
|
+
"description": "If defined, outputs helping hints in console",
|
86
|
+
"values": []
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"name": "checked",
|
90
|
+
"description": "If true, outputs helping hints in console",
|
91
|
+
"values": []
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"name": "custom-invalid",
|
95
|
+
"description": "If true, forces component to invalid state until removed",
|
96
|
+
"values": []
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"name": "indeterminate",
|
100
|
+
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
101
|
+
"values": []
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"name": "label",
|
105
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
106
|
+
"values": []
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"name": "name",
|
110
|
+
"description": "If defined, adds name to the input-element",
|
111
|
+
"values": []
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"name": "required-label",
|
115
|
+
"description": "If defined, renders an alternative A11y text for the asterisk",
|
116
|
+
"values": []
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "severity",
|
120
|
+
"description": "If defined, styles checkbox using provided severity",
|
121
|
+
"values": [
|
122
|
+
{ "name": "alert" },
|
123
|
+
{ "name": "success" },
|
124
|
+
{ "name": "info" },
|
125
|
+
{ "name": "warning" }
|
126
|
+
]
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "show-valid",
|
130
|
+
"description": "If true, displays valid state after interaction",
|
131
|
+
"values": []
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"name": "size",
|
135
|
+
"description": "Size of the checkbox",
|
136
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"name": "value",
|
140
|
+
"description": "The current value of the input field",
|
141
|
+
"values": []
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"references": []
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"name": "skf-collapse",
|
148
|
+
"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",
|
149
|
+
"attributes": [
|
150
|
+
{
|
151
|
+
"name": "animated",
|
152
|
+
"description": "If true, will animate the expand/collapse state",
|
153
|
+
"values": []
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"name": "expanded",
|
157
|
+
"description": "If true, will set the collapse to be expanded by default",
|
158
|
+
"values": []
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"name": "heading",
|
162
|
+
"description": "Heading for the collapse",
|
163
|
+
"values": []
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"name": "heading-as",
|
167
|
+
"description": "Defines which heading element will be rendered",
|
168
|
+
"values": [{ "name": "h2" }, { "name": "h3" }, { "name": "h4" }]
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "small",
|
172
|
+
"description": "If true, renders the small version",
|
173
|
+
"values": []
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"name": "truncate",
|
177
|
+
"description": "If true, will truncate the heading in collapsed state",
|
178
|
+
"values": []
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"references": []
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"name": "skf-dialog",
|
185
|
+
"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)_",
|
186
|
+
"attributes": [
|
187
|
+
{
|
188
|
+
"name": "close-button-aria-label",
|
189
|
+
"description": "If defined, sets the aria-label for the close button",
|
190
|
+
"values": []
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"name": "heading",
|
194
|
+
"description": "Title for the modal/dialog",
|
195
|
+
"values": []
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "fullscreen",
|
199
|
+
"description": "If true, makes the dialog stretch edge to edge on screen",
|
200
|
+
"values": []
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"name": "no-close-button",
|
204
|
+
"description": "If true, removes the close button",
|
205
|
+
"values": []
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"name": "no-padding",
|
209
|
+
"description": "If defined, removes the inner padding",
|
210
|
+
"values": []
|
211
|
+
},
|
212
|
+
{ "name": "open", "values": [] }
|
213
|
+
],
|
214
|
+
"references": []
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"name": "skf-alert",
|
218
|
+
"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",
|
219
|
+
"attributes": [
|
220
|
+
{
|
221
|
+
"name": "closeable",
|
222
|
+
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
223
|
+
"values": []
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"name": "button-label",
|
227
|
+
"description": "Close button aria-label",
|
228
|
+
"values": []
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"name": "icon",
|
232
|
+
"description": "If defined, displays leading icon",
|
233
|
+
"values": [{ "name": "SkfIcon['name']" }]
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"name": "severity",
|
237
|
+
"description": "If defined, gives the supplied appearance",
|
238
|
+
"values": [
|
239
|
+
{ "name": "error" },
|
240
|
+
{ "name": "info" },
|
241
|
+
{ "name": "warning" },
|
242
|
+
{ "name": "success" },
|
243
|
+
{ "name": "alert" }
|
244
|
+
]
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"references": []
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"name": "skf-divider",
|
251
|
+
"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)_",
|
252
|
+
"attributes": [
|
253
|
+
{
|
254
|
+
"name": "color",
|
255
|
+
"description": "Defines the Divider color",
|
256
|
+
"values": [
|
257
|
+
{ "name": "emphasised" },
|
258
|
+
{ "name": "primary" },
|
259
|
+
{ "name": "secondary" },
|
260
|
+
{ "name": "tertiary" },
|
261
|
+
{ "name": "inverse" }
|
262
|
+
]
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"name": "decorative",
|
266
|
+
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
267
|
+
"values": []
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"name": "vertical",
|
271
|
+
"description": "If true, renders the divider vertically",
|
272
|
+
"values": []
|
273
|
+
}
|
274
|
+
],
|
275
|
+
"references": []
|
276
|
+
},
|
47
277
|
{
|
48
278
|
"name": "skf-button",
|
49
|
-
"description": "Component to be used in forms or for interactivity\n---\n\n\n### **Slots:**\n - _default_ - The Primary content",
|
279
|
+
"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",
|
50
280
|
"attributes": [
|
51
281
|
{
|
52
282
|
"name": "destructive",
|
@@ -225,6 +455,7 @@
|
|
225
455
|
"description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
|
226
456
|
"values": []
|
227
457
|
},
|
458
|
+
{ "name": "no-validate", "values": [] },
|
228
459
|
{
|
229
460
|
"name": "size",
|
230
461
|
"description": "If provided, displays an alternative size",
|
@@ -247,213 +478,6 @@
|
|
247
478
|
],
|
248
479
|
"references": []
|
249
480
|
},
|
250
|
-
{
|
251
|
-
"name": "skf-card",
|
252
|
-
"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",
|
253
|
-
"attributes": [
|
254
|
-
{
|
255
|
-
"name": "no-border",
|
256
|
-
"description": "If true, removes border",
|
257
|
-
"values": []
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "no-padding",
|
261
|
-
"description": "If true, removes padding",
|
262
|
-
"values": []
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"name": "stretch",
|
266
|
-
"description": "If true, the Card fills the parent element height",
|
267
|
-
"values": []
|
268
|
-
}
|
269
|
-
],
|
270
|
-
"references": []
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"name": "skf-alert",
|
274
|
-
"description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
|
275
|
-
"attributes": [
|
276
|
-
{
|
277
|
-
"name": "closeable",
|
278
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
279
|
-
"values": []
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"name": "button-label",
|
283
|
-
"description": "Close button aria-label",
|
284
|
-
"values": []
|
285
|
-
},
|
286
|
-
{
|
287
|
-
"name": "icon",
|
288
|
-
"description": "If defined, displays leading icon",
|
289
|
-
"values": [{ "name": "SkfIcon['name']" }]
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"name": "severity",
|
293
|
-
"description": "If defined, gives the supplied appearance",
|
294
|
-
"values": [
|
295
|
-
{ "name": "error" },
|
296
|
-
{ "name": "info" },
|
297
|
-
{ "name": "warning" },
|
298
|
-
{ "name": "success" },
|
299
|
-
{ "name": "alert" }
|
300
|
-
]
|
301
|
-
}
|
302
|
-
],
|
303
|
-
"references": []
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"name": "skf-checkbox",
|
307
|
-
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
|
308
|
-
"attributes": [
|
309
|
-
{
|
310
|
-
"name": "disabled",
|
311
|
-
"description": "If true, sets disabled state",
|
312
|
-
"values": []
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"name": "required",
|
316
|
-
"description": "If true, value is required or must be checked for the form to be submittable",
|
317
|
-
"values": []
|
318
|
-
},
|
319
|
-
{
|
320
|
-
"name": "debug",
|
321
|
-
"description": "If defined, outputs helping hints in console",
|
322
|
-
"values": []
|
323
|
-
},
|
324
|
-
{
|
325
|
-
"name": "checked",
|
326
|
-
"description": "If true, outputs helping hints in console",
|
327
|
-
"values": []
|
328
|
-
},
|
329
|
-
{
|
330
|
-
"name": "custom-invalid",
|
331
|
-
"description": "If true, forces component to invalid state until removed",
|
332
|
-
"values": []
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"name": "hide-label",
|
336
|
-
"description": "If true, hides the label visually",
|
337
|
-
"values": []
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"name": "indeterminate",
|
341
|
-
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
342
|
-
"values": []
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"name": "label",
|
346
|
-
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
347
|
-
"values": []
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"name": "name",
|
351
|
-
"description": "If defined, adds name to the input-element",
|
352
|
-
"values": []
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"name": "required-label",
|
356
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
357
|
-
"values": []
|
358
|
-
},
|
359
|
-
{
|
360
|
-
"name": "severity",
|
361
|
-
"description": "If defined, styles checkbox using provided severity",
|
362
|
-
"values": [
|
363
|
-
{ "name": "alert" },
|
364
|
-
{ "name": "success" },
|
365
|
-
{ "name": "info" },
|
366
|
-
{ "name": "warning" }
|
367
|
-
]
|
368
|
-
},
|
369
|
-
{
|
370
|
-
"name": "show-valid",
|
371
|
-
"description": "If true, displays valid state after interaction",
|
372
|
-
"values": []
|
373
|
-
},
|
374
|
-
{
|
375
|
-
"name": "size",
|
376
|
-
"description": "Size of the checkbox",
|
377
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"name": "value",
|
381
|
-
"description": "The current value of the input field",
|
382
|
-
"values": []
|
383
|
-
}
|
384
|
-
],
|
385
|
-
"references": []
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"name": "skf-divider",
|
389
|
-
"description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
|
390
|
-
"attributes": [
|
391
|
-
{
|
392
|
-
"name": "color",
|
393
|
-
"description": "Defines the Divider color",
|
394
|
-
"values": [
|
395
|
-
{ "name": "emphasised" },
|
396
|
-
{ "name": "primary" },
|
397
|
-
{ "name": "secondary" },
|
398
|
-
{ "name": "tertiary" },
|
399
|
-
{ "name": "inverse" }
|
400
|
-
]
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"name": "decorative",
|
404
|
-
"description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
|
405
|
-
"values": []
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"name": "vertical",
|
409
|
-
"description": "If true, renders the divider vertically",
|
410
|
-
"values": []
|
411
|
-
}
|
412
|
-
],
|
413
|
-
"references": []
|
414
|
-
},
|
415
|
-
{
|
416
|
-
"name": "skf-collapse",
|
417
|
-
"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",
|
418
|
-
"attributes": [
|
419
|
-
{
|
420
|
-
"name": "animated",
|
421
|
-
"description": "If true, will animate the expand/collapse state",
|
422
|
-
"values": []
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"name": "expanded",
|
426
|
-
"description": "If true, will set the collapse to be expanded by default",
|
427
|
-
"values": []
|
428
|
-
},
|
429
|
-
{
|
430
|
-
"name": "heading",
|
431
|
-
"description": "Heading for the collapse",
|
432
|
-
"values": []
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"name": "heading-as",
|
436
|
-
"description": "Defines which heading element will be rendered",
|
437
|
-
"values": [
|
438
|
-
{ "name": "h1" },
|
439
|
-
{ "name": "h2" },
|
440
|
-
{ "name": "h3" },
|
441
|
-
{ "name": "h4" }
|
442
|
-
]
|
443
|
-
},
|
444
|
-
{
|
445
|
-
"name": "small",
|
446
|
-
"description": "If true, renders the small version",
|
447
|
-
"values": []
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"name": "truncate",
|
451
|
-
"description": "If true, will truncate the heading in collapsed state",
|
452
|
-
"values": []
|
453
|
-
}
|
454
|
-
],
|
455
|
-
"references": []
|
456
|
-
},
|
457
481
|
{
|
458
482
|
"name": "skf-heading",
|
459
483
|
"description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
|
@@ -689,6 +713,7 @@
|
|
689
713
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
690
714
|
"values": []
|
691
715
|
},
|
716
|
+
{ "name": "autocomplete", "description": "-m }", "values": [] },
|
692
717
|
{
|
693
718
|
"name": "button-aria-label-clear",
|
694
719
|
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
@@ -1054,7 +1079,7 @@
|
|
1054
1079
|
},
|
1055
1080
|
{
|
1056
1081
|
"name": "rel",
|
1057
|
-
"description": "
|
1082
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1058
1083
|
"values": []
|
1059
1084
|
},
|
1060
1085
|
{
|
@@ -1122,7 +1147,7 @@
|
|
1122
1147
|
},
|
1123
1148
|
{
|
1124
1149
|
"name": "color",
|
1125
|
-
"description": "
|
1150
|
+
"description": "Defines the color of the logo",
|
1126
1151
|
"values": [
|
1127
1152
|
{ "name": "primary" },
|
1128
1153
|
{ "name": "secondary" },
|
@@ -1132,6 +1157,28 @@
|
|
1132
1157
|
],
|
1133
1158
|
"references": []
|
1134
1159
|
},
|
1160
|
+
{
|
1161
|
+
"name": "skf-progress",
|
1162
|
+
"description": "The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar\n---\n",
|
1163
|
+
"attributes": [
|
1164
|
+
{
|
1165
|
+
"name": "animated",
|
1166
|
+
"description": "If true, the progress-bar's fill value is animated",
|
1167
|
+
"values": []
|
1168
|
+
},
|
1169
|
+
{
|
1170
|
+
"name": "max",
|
1171
|
+
"description": "Describes how much work the task indicated by the progress element requires",
|
1172
|
+
"values": []
|
1173
|
+
},
|
1174
|
+
{
|
1175
|
+
"name": "value",
|
1176
|
+
"description": "Specifies how much of the task that has been completed",
|
1177
|
+
"values": []
|
1178
|
+
}
|
1179
|
+
],
|
1180
|
+
"references": []
|
1181
|
+
},
|
1135
1182
|
{
|
1136
1183
|
"name": "skf-radio",
|
1137
1184
|
"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.",
|
@@ -1161,11 +1208,6 @@
|
|
1161
1208
|
"description": "If true, forces component to invalid state until removed",
|
1162
1209
|
"values": []
|
1163
1210
|
},
|
1164
|
-
{
|
1165
|
-
"name": "hide-label",
|
1166
|
-
"description": "If true, hides the label visually",
|
1167
|
-
"values": []
|
1168
|
-
},
|
1169
1211
|
{
|
1170
1212
|
"name": "label",
|
1171
1213
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
@@ -1308,7 +1350,7 @@
|
|
1308
1350
|
{
|
1309
1351
|
"name": "icon-color",
|
1310
1352
|
"description": "If defined, sets provided color on the icon",
|
1311
|
-
"values": [{ "name": "
|
1353
|
+
"values": [{ "name": "SeverityFgColor" }]
|
1312
1354
|
},
|
1313
1355
|
{
|
1314
1356
|
"name": "selected",
|
@@ -1391,6 +1433,58 @@
|
|
1391
1433
|
],
|
1392
1434
|
"references": []
|
1393
1435
|
},
|
1436
|
+
{
|
1437
|
+
"name": "skf-tab",
|
1438
|
+
"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",
|
1439
|
+
"attributes": [
|
1440
|
+
{
|
1441
|
+
"name": "panel",
|
1442
|
+
"description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
|
1443
|
+
"values": []
|
1444
|
+
}
|
1445
|
+
],
|
1446
|
+
"references": []
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"name": "skf-tab-group",
|
1450
|
+
"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",
|
1451
|
+
"attributes": [
|
1452
|
+
{
|
1453
|
+
"name": "default-selected",
|
1454
|
+
"description": "Sets the default selected tab",
|
1455
|
+
"values": []
|
1456
|
+
},
|
1457
|
+
{
|
1458
|
+
"name": "no-border",
|
1459
|
+
"description": "If true, removes border",
|
1460
|
+
"values": []
|
1461
|
+
},
|
1462
|
+
{
|
1463
|
+
"name": "no-padding",
|
1464
|
+
"description": "If true, removes padding",
|
1465
|
+
"values": []
|
1466
|
+
},
|
1467
|
+
{
|
1468
|
+
"name": "stretch",
|
1469
|
+
"description": "If true, component fills the parent element height",
|
1470
|
+
"values": []
|
1471
|
+
},
|
1472
|
+
{
|
1473
|
+
"name": "variant",
|
1474
|
+
"description": "Sets the appearance of the tabs",
|
1475
|
+
"values": [{ "name": "compressed" }, { "name": "expanded" }]
|
1476
|
+
}
|
1477
|
+
],
|
1478
|
+
"references": []
|
1479
|
+
},
|
1480
|
+
{
|
1481
|
+
"name": "skf-tab-panel",
|
1482
|
+
"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",
|
1483
|
+
"attributes": [
|
1484
|
+
{ "name": "name", "description": "The tab panel's name.", "values": [] }
|
1485
|
+
],
|
1486
|
+
"references": []
|
1487
|
+
},
|
1394
1488
|
{
|
1395
1489
|
"name": "skf-tag",
|
1396
1490
|
"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",
|
@@ -1691,6 +1785,45 @@
|
|
1691
1785
|
}
|
1692
1786
|
],
|
1693
1787
|
"references": []
|
1788
|
+
},
|
1789
|
+
{
|
1790
|
+
"name": "skf-toast",
|
1791
|
+
"description": "A simple toast component that displays a message to the user. Use by appending a <skf-toast> tag to the DOM. Position in DOM is irrelevant.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
|
1792
|
+
"attributes": [
|
1793
|
+
{
|
1794
|
+
"name": "closeable",
|
1795
|
+
"description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
|
1796
|
+
"values": []
|
1797
|
+
},
|
1798
|
+
{ "name": "debug", "values": [] },
|
1799
|
+
{
|
1800
|
+
"name": "severity",
|
1801
|
+
"description": "Severity of the toast.",
|
1802
|
+
"values": [
|
1803
|
+
{ "name": "info" },
|
1804
|
+
{ "name": "success" },
|
1805
|
+
{ "name": "warning" },
|
1806
|
+
{ "name": "error" }
|
1807
|
+
]
|
1808
|
+
},
|
1809
|
+
{
|
1810
|
+
"name": "timer",
|
1811
|
+
"description": "Time in seconds before the toast disappears.",
|
1812
|
+
"values": []
|
1813
|
+
},
|
1814
|
+
{
|
1815
|
+
"name": "topOffset",
|
1816
|
+
"description": "offsets where toasts emerge vertically",
|
1817
|
+
"values": []
|
1818
|
+
}
|
1819
|
+
],
|
1820
|
+
"references": []
|
1821
|
+
},
|
1822
|
+
{
|
1823
|
+
"name": "skf-toast-wrapper",
|
1824
|
+
"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.",
|
1825
|
+
"attributes": [{ "name": "debug", "values": [] }],
|
1826
|
+
"references": []
|
1694
1827
|
}
|
1695
1828
|
]
|
1696
1829
|
}
|