@skf-design-system/ui-components 1.0.0-alpha.38 → 1.0.0-alpha.39
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 +18 -0
- package/dist/components/alert/alert.component.d.ts +3 -2
- package/dist/components/alert/alert.component.js +39 -33
- package/dist/components/breadcrumb/breadcrumb-item.component.js +11 -12
- package/dist/components/button/button.component.js +32 -36
- package/dist/components/button/button.styles.js +3 -3
- package/dist/components/checkbox/checkbox.component.d.ts +6 -5
- package/dist/components/checkbox/checkbox.component.js +67 -69
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/datepicker/datepicker-calendar.component.d.ts +1 -0
- package/dist/components/datepicker/datepicker-calendar.component.js +107 -116
- package/dist/components/datepicker/datepicker-popup.component.d.ts +4 -0
- package/dist/components/datepicker/datepicker-popup.component.js +112 -100
- package/dist/components/datepicker/datepicker-popup.helpers.js +1 -1
- package/dist/components/datepicker/datepicker.component.d.ts +4 -2
- package/dist/components/datepicker/datepicker.component.js +159 -160
- package/dist/components/dialog/dialog.component.d.ts +3 -2
- package/dist/components/dialog/dialog.component.js +48 -48
- package/dist/components/divider/divider.component.d.ts +3 -0
- package/dist/components/divider/divider.component.js +43 -22
- package/dist/components/divider/divider.styles.js +9 -9
- package/dist/components/drawer/drawer.component.d.ts +12 -4
- package/dist/components/drawer/drawer.component.js +84 -61
- package/dist/components/drawer/drawer.styles.js +47 -40
- package/dist/components/header/header.component.d.ts +4 -2
- package/dist/components/header/header.component.js +64 -57
- package/dist/components/header/header.styles.js +2 -2
- package/dist/components/icon/icon.component.js +26 -16
- package/dist/components/icon/icon.styles.js +4 -4
- package/dist/components/input/input.component.d.ts +11 -10
- package/dist/components/input/input.component.js +115 -111
- package/dist/components/input/input.controllers.d.ts +0 -1
- package/dist/components/input/input.controllers.js +14 -19
- package/dist/components/link/link.component.d.ts +1 -0
- package/dist/components/link/link.component.js +86 -74
- package/dist/components/link/link.styles.js +7 -3
- package/dist/components/loader/loader.component.d.ts +0 -2
- package/dist/components/loader/loader.component.js +27 -30
- package/dist/components/loader/loader.styles.js +1 -1
- package/dist/components/menu/menu-item.styles.js +8 -7
- package/dist/components/menu/menu.component.d.ts +5 -2
- package/dist/components/menu/menu.component.js +7 -7
- package/dist/components/nav/nav.component.d.ts +3 -0
- package/dist/components/nav/nav.component.js +38 -33
- package/dist/components/popover/popover.component.d.ts +6 -7
- package/dist/components/popover/popover.component.js +23 -31
- package/dist/components/progress/progress.styles.js +3 -3
- package/dist/components/radio/radio.component.d.ts +4 -2
- package/dist/components/radio/radio.component.js +96 -91
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/segmented-button/segmented-button-item.component.js +1 -1
- package/dist/components/segmented-button/segmented-button-item.styles.js +1 -1
- package/dist/components/segmented-button/segmented-button.component.js +22 -24
- package/dist/components/select/select-option.component.d.ts +2 -1
- package/dist/components/select/select-option.component.js +31 -36
- package/dist/components/select/select.component.d.ts +20 -10
- package/dist/components/select/select.component.js +139 -104
- package/dist/components/select/select.controllers.js +14 -17
- package/dist/components/select/select.styles.js +8 -3
- package/dist/components/stepper/stepper-item.component.d.ts +1 -1
- package/dist/components/stepper/stepper-item.component.js +26 -23
- package/dist/components/stepper/stepper-item.styles.js +4 -4
- package/dist/components/stepper/stepper.component.js +2 -3
- package/dist/components/stepper/stepper.helpers.js +6 -7
- package/dist/components/switch/switch.component.d.ts +4 -2
- package/dist/components/switch/switch.component.js +64 -58
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tabs/tab-panel.component.d.ts +1 -1
- package/dist/components/tabs/tab-panel.component.js +19 -16
- package/dist/components/tabs/tab.component.d.ts +1 -1
- package/dist/components/tabs/tab.component.js +17 -14
- package/dist/components/tabs/tab.styles.js +2 -2
- package/dist/components/tabs/tabs.component.js +6 -6
- package/dist/components/tag/tag.component.d.ts +9 -6
- package/dist/components/tag/tag.component.js +78 -72
- package/dist/components/tag/tag.styles.js +5 -0
- package/dist/components/textarea/textarea.component.d.ts +4 -2
- package/dist/components/textarea/textarea.component.js +101 -95
- package/dist/components/toast/toast-item.styles.js +13 -10
- package/dist/components/toast/toast.singleton.js +6 -7
- package/dist/components/tooltip/tooltip.component.d.ts +7 -4
- package/dist/components/tooltip/tooltip.component.js +22 -14
- package/dist/custom-elements.json +835 -422
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -20
- package/dist/internal/base-classes/popover/popover.base.d.ts +28 -8
- package/dist/internal/base-classes/popover/popover.base.js +78 -74
- package/dist/internal/components/formBase.d.ts +1 -0
- package/dist/internal/components/formBase.js +11 -19
- package/dist/internal/controllers/popover.controller.d.ts +2 -0
- package/dist/internal/controllers/popover.controller.js +11 -14
- package/dist/internal/helpers/stateMap.js +3 -3
- package/dist/internal/helpers/uuid.d.ts +8 -10
- package/dist/internal/helpers/uuid.js +4 -11
- package/dist/internal/helpers/watch.d.ts +1 -1
- package/dist/internal/templates/asterisk.d.ts +1 -1
- package/dist/internal/templates/asterisk.js +4 -4
- package/dist/internal/types.d.ts +4 -0
- package/dist/styles/global-alt.css +1 -1
- package/dist/styles/global.css +1 -1
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +27 -0
- package/dist/translations/es.d.ts +3 -0
- package/dist/translations/es.js +27 -0
- package/dist/translations/index.d.ts +4 -0
- package/dist/translations/pt.d.ts +3 -0
- package/dist/translations/pt.js +27 -0
- package/dist/translations/sv.d.ts +3 -0
- package/dist/translations/sv.js +27 -0
- package/dist/types/jsx/custom-element-jsx.d.ts +1840 -858
- package/dist/types/vue/index.d.ts +69 -64
- package/dist/utilities/localize.d.ts +28 -0
- package/dist/utilities/localize.js +13 -0
- package/dist/vscode.html-custom-data.json +75 -83
- package/dist/web-types.json +229 -190
- package/package.json +29 -35
- package/custom-elements.json +0 -25490
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": "1.0.
|
4
|
+
"version": "1.0.2-beta",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
@@ -235,16 +235,16 @@
|
|
235
235
|
"description": "The `<skf-alert>` is a type of notification that appears in-line\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles\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",
|
236
236
|
"doc-url": "",
|
237
237
|
"attributes": [
|
238
|
-
{
|
239
|
-
"name": "button-label",
|
240
|
-
"description": "Close button aria-label",
|
241
|
-
"value": { "type": "string", "default": "'Close'" }
|
242
|
-
},
|
243
238
|
{
|
244
239
|
"name": "icon",
|
245
240
|
"description": "If defined, displays leading icon",
|
246
241
|
"value": { "type": "Icon | undefined" }
|
247
242
|
},
|
243
|
+
{
|
244
|
+
"name": "lang",
|
245
|
+
"description": "Sets the internal language of the component",
|
246
|
+
"value": { "type": "Language", "default": "'en'" }
|
247
|
+
},
|
248
248
|
{
|
249
249
|
"name": "persistent",
|
250
250
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
@@ -272,16 +272,16 @@
|
|
272
272
|
],
|
273
273
|
"js": {
|
274
274
|
"properties": [
|
275
|
-
{
|
276
|
-
"name": "buttonLabel",
|
277
|
-
"description": "Close button aria-label",
|
278
|
-
"type": "string"
|
279
|
-
},
|
280
275
|
{
|
281
276
|
"name": "icon",
|
282
277
|
"description": "If defined, displays leading icon",
|
283
278
|
"type": "Icon | undefined"
|
284
279
|
},
|
280
|
+
{
|
281
|
+
"name": "lang",
|
282
|
+
"description": "Sets the internal language of the component",
|
283
|
+
"type": "Language"
|
284
|
+
},
|
285
285
|
{
|
286
286
|
"name": "persistent",
|
287
287
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
@@ -380,11 +380,6 @@
|
|
380
380
|
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
381
381
|
"doc-url": "",
|
382
382
|
"attributes": [
|
383
|
-
{
|
384
|
-
"name": "aria-label",
|
385
|
-
"description": "Defines the aria-label",
|
386
|
-
"value": { "type": "string", "default": "'Loading...'" }
|
387
|
-
},
|
388
383
|
{
|
389
384
|
"name": "invert",
|
390
385
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -399,11 +394,6 @@
|
|
399
394
|
"events": [],
|
400
395
|
"js": {
|
401
396
|
"properties": [
|
402
|
-
{
|
403
|
-
"name": "ariaLabel",
|
404
|
-
"description": "Defines the aria-label",
|
405
|
-
"type": "string"
|
406
|
-
},
|
407
397
|
{
|
408
398
|
"name": "invert",
|
409
399
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -612,7 +602,7 @@
|
|
612
602
|
{
|
613
603
|
"name": "checked",
|
614
604
|
"description": "If true, outputs helping hints in console",
|
615
|
-
"value": { "type": "
|
605
|
+
"value": { "type": "boolean", "default": "false" }
|
616
606
|
},
|
617
607
|
{
|
618
608
|
"name": "custom-invalid",
|
@@ -630,13 +620,13 @@
|
|
630
620
|
"value": { "type": "string | undefined" }
|
631
621
|
},
|
632
622
|
{
|
633
|
-
"name": "
|
634
|
-
"description": "
|
635
|
-
"value": { "type": "
|
623
|
+
"name": "lang",
|
624
|
+
"description": "Sets the internal language of the component",
|
625
|
+
"value": { "type": "Language", "default": "'en'" }
|
636
626
|
},
|
637
627
|
{
|
638
|
-
"name": "
|
639
|
-
"description": "If defined,
|
628
|
+
"name": "name",
|
629
|
+
"description": "If defined, adds name to the input-element",
|
640
630
|
"value": { "type": "string | undefined" }
|
641
631
|
},
|
642
632
|
{
|
@@ -682,7 +672,8 @@
|
|
682
672
|
},
|
683
673
|
{
|
684
674
|
"name": "checked",
|
685
|
-
"description": "If true, outputs helping hints in console"
|
675
|
+
"description": "If true, outputs helping hints in console",
|
676
|
+
"type": "boolean"
|
686
677
|
},
|
687
678
|
{
|
688
679
|
"name": "customInvalid",
|
@@ -700,13 +691,13 @@
|
|
700
691
|
"type": "string | undefined"
|
701
692
|
},
|
702
693
|
{
|
703
|
-
"name": "
|
704
|
-
"description": "
|
705
|
-
"type": "
|
694
|
+
"name": "lang",
|
695
|
+
"description": "Sets the internal language of the component",
|
696
|
+
"type": "Language"
|
706
697
|
},
|
707
698
|
{
|
708
|
-
"name": "
|
709
|
-
"description": "If defined,
|
699
|
+
"name": "name",
|
700
|
+
"description": "If defined, adds name to the input-element",
|
710
701
|
"type": "string | undefined"
|
711
702
|
},
|
712
703
|
{
|
@@ -837,6 +828,11 @@
|
|
837
828
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
838
829
|
"value": { "type": "string | undefined" }
|
839
830
|
},
|
831
|
+
{
|
832
|
+
"name": "lang",
|
833
|
+
"description": "Sets the internal language of the component",
|
834
|
+
"value": { "type": "Language", "default": "'en'" }
|
835
|
+
},
|
840
836
|
{
|
841
837
|
"name": "hide-label",
|
842
838
|
"description": "If true, hides the label visually",
|
@@ -870,11 +866,6 @@
|
|
870
866
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
871
867
|
"value": { "type": "boolean | undefined" }
|
872
868
|
},
|
873
|
-
{
|
874
|
-
"name": "required-label",
|
875
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
876
|
-
"value": { "type": "string | undefined" }
|
877
|
-
},
|
878
869
|
{
|
879
870
|
"name": "selectable-from",
|
880
871
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -928,6 +919,11 @@
|
|
928
919
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
929
920
|
"type": "string | undefined"
|
930
921
|
},
|
922
|
+
{
|
923
|
+
"name": "lang",
|
924
|
+
"description": "Sets the internal language of the component",
|
925
|
+
"type": "Language"
|
926
|
+
},
|
931
927
|
{
|
932
928
|
"name": "hideLabel",
|
933
929
|
"description": "If true, hides the label visually",
|
@@ -955,11 +951,6 @@
|
|
955
951
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
956
952
|
"type": "boolean | undefined"
|
957
953
|
},
|
958
|
-
{
|
959
|
-
"name": "requiredLabel",
|
960
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
961
|
-
"type": "string | undefined"
|
962
|
-
},
|
963
954
|
{
|
964
955
|
"name": "selectableFrom",
|
965
956
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -1033,11 +1024,6 @@
|
|
1033
1024
|
"description": "The `<skf-dialog>` is a component that open up a dialog of type modal with the content provided. (MDN refrains from opening the dialog using the `open` attribute, however skf-dialog does not have that limitation)\n---\n\n\n### **Events:**\n - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)\n- **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)\n\n### **Methods:**\n - **showModal()** - Method that opens the dialog in modal state\n- **close()** - Method that closes the dialog\n\n### **Slots:**\n - _default_ - The dialog component's content\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)_",
|
1034
1025
|
"doc-url": "",
|
1035
1026
|
"attributes": [
|
1036
|
-
{
|
1037
|
-
"name": "close-button-aria-label",
|
1038
|
-
"description": "If defined, sets the aria-label for the close button",
|
1039
|
-
"value": { "type": "string | undefined" }
|
1040
|
-
},
|
1041
1027
|
{
|
1042
1028
|
"name": "heading",
|
1043
1029
|
"description": "Title for the modal/dialog",
|
@@ -1048,6 +1034,11 @@
|
|
1048
1034
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
1049
1035
|
"value": { "type": "boolean", "default": "false" }
|
1050
1036
|
},
|
1037
|
+
{
|
1038
|
+
"name": "lang",
|
1039
|
+
"description": "Sets the internal language of the component",
|
1040
|
+
"value": { "type": "Language", "default": "'en'" }
|
1041
|
+
},
|
1051
1042
|
{
|
1052
1043
|
"name": "no-close-button",
|
1053
1044
|
"description": "If true, removes the close button",
|
@@ -1090,11 +1081,6 @@
|
|
1090
1081
|
],
|
1091
1082
|
"js": {
|
1092
1083
|
"properties": [
|
1093
|
-
{
|
1094
|
-
"name": "closeButtonAriaLabel",
|
1095
|
-
"description": "If defined, sets the aria-label for the close button",
|
1096
|
-
"type": "string | undefined"
|
1097
|
-
},
|
1098
1084
|
{
|
1099
1085
|
"name": "heading",
|
1100
1086
|
"description": "Title for the modal/dialog",
|
@@ -1105,6 +1091,11 @@
|
|
1105
1091
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
1106
1092
|
"type": "boolean"
|
1107
1093
|
},
|
1094
|
+
{
|
1095
|
+
"name": "lang",
|
1096
|
+
"description": "Sets the internal language of the component",
|
1097
|
+
"type": "Language"
|
1098
|
+
},
|
1108
1099
|
{
|
1109
1100
|
"name": "noCloseButton",
|
1110
1101
|
"description": "If true, removes the close button",
|
@@ -1188,20 +1179,20 @@
|
|
1188
1179
|
"description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
|
1189
1180
|
"doc-url": "",
|
1190
1181
|
"attributes": [
|
1191
|
-
{
|
1192
|
-
"name": "close-button-aria-label",
|
1193
|
-
"description": "If defined, sets the aria-label for the close button",
|
1194
|
-
"value": { "type": "string", "default": "'Close dialog'" }
|
1195
|
-
},
|
1196
1182
|
{
|
1197
1183
|
"name": "heading",
|
1198
1184
|
"description": "Heading for the Drawer",
|
1199
1185
|
"value": { "type": "string | undefined" }
|
1200
1186
|
},
|
1187
|
+
{
|
1188
|
+
"name": "lang",
|
1189
|
+
"description": "Sets the internal language of the component",
|
1190
|
+
"value": { "type": "Language", "default": "'en'" }
|
1191
|
+
},
|
1201
1192
|
{
|
1202
1193
|
"name": "size",
|
1203
1194
|
"description": "Sets the max-width",
|
1204
|
-
"value": { "type": "
|
1195
|
+
"value": { "type": "Size", "default": "'md'" }
|
1205
1196
|
},
|
1206
1197
|
{
|
1207
1198
|
"name": "open",
|
@@ -1211,7 +1202,7 @@
|
|
1211
1202
|
{
|
1212
1203
|
"name": "placement",
|
1213
1204
|
"description": "Placement of the Drawer",
|
1214
|
-
"value": { "type": "
|
1205
|
+
"value": { "type": "Placement", "default": "'right'" }
|
1215
1206
|
}
|
1216
1207
|
],
|
1217
1208
|
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
@@ -1234,20 +1225,20 @@
|
|
1234
1225
|
],
|
1235
1226
|
"js": {
|
1236
1227
|
"properties": [
|
1237
|
-
{
|
1238
|
-
"name": "closeButtonAriaLabel",
|
1239
|
-
"description": "If defined, sets the aria-label for the close button",
|
1240
|
-
"type": "string"
|
1241
|
-
},
|
1242
1228
|
{
|
1243
1229
|
"name": "heading",
|
1244
1230
|
"description": "Heading for the Drawer",
|
1245
1231
|
"type": "string | undefined"
|
1246
1232
|
},
|
1233
|
+
{
|
1234
|
+
"name": "lang",
|
1235
|
+
"description": "Sets the internal language of the component",
|
1236
|
+
"type": "Language"
|
1237
|
+
},
|
1247
1238
|
{
|
1248
1239
|
"name": "size",
|
1249
1240
|
"description": "Sets the max-width",
|
1250
|
-
"type": "
|
1241
|
+
"type": "Size"
|
1251
1242
|
},
|
1252
1243
|
{
|
1253
1244
|
"name": "open",
|
@@ -1257,7 +1248,7 @@
|
|
1257
1248
|
{
|
1258
1249
|
"name": "placement",
|
1259
1250
|
"description": "Placement of the Drawer",
|
1260
|
-
"type": "
|
1251
|
+
"type": "Placement"
|
1261
1252
|
}
|
1262
1253
|
],
|
1263
1254
|
"events": [
|
@@ -1476,6 +1467,11 @@
|
|
1476
1467
|
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1477
1468
|
"doc-url": "",
|
1478
1469
|
"attributes": [
|
1470
|
+
{
|
1471
|
+
"name": "lang",
|
1472
|
+
"description": "Sets the internal language of the component",
|
1473
|
+
"value": { "type": "Language", "default": "'en'" }
|
1474
|
+
},
|
1479
1475
|
{
|
1480
1476
|
"name": "vertical",
|
1481
1477
|
"description": "If true, the navigation will be displayed vertically",
|
@@ -1488,6 +1484,11 @@
|
|
1488
1484
|
"events": [],
|
1489
1485
|
"js": {
|
1490
1486
|
"properties": [
|
1487
|
+
{
|
1488
|
+
"name": "lang",
|
1489
|
+
"description": "Sets the internal language of the component",
|
1490
|
+
"type": "Language"
|
1491
|
+
},
|
1491
1492
|
{
|
1492
1493
|
"name": "vertical",
|
1493
1494
|
"description": "If true, the navigation will be displayed vertically",
|
@@ -1508,9 +1509,9 @@
|
|
1508
1509
|
"value": { "type": "string" }
|
1509
1510
|
},
|
1510
1511
|
{
|
1511
|
-
"name": "
|
1512
|
-
"description": "
|
1513
|
-
"value": { "type": "
|
1512
|
+
"name": "lang",
|
1513
|
+
"description": "Sets the internal language of the component",
|
1514
|
+
"value": { "type": "Language", "default": "'en'" }
|
1514
1515
|
},
|
1515
1516
|
{
|
1516
1517
|
"name": "site-name",
|
@@ -1532,9 +1533,9 @@
|
|
1532
1533
|
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1533
1534
|
},
|
1534
1535
|
{
|
1535
|
-
"name": "
|
1536
|
-
"description": "
|
1537
|
-
"type": "
|
1536
|
+
"name": "lang",
|
1537
|
+
"description": "Sets the internal language of the component",
|
1538
|
+
"type": "Language"
|
1538
1539
|
},
|
1539
1540
|
{
|
1540
1541
|
"name": "siteName",
|
@@ -1552,7 +1553,7 @@
|
|
1552
1553
|
},
|
1553
1554
|
{
|
1554
1555
|
"name": "skf-input",
|
1555
|
-
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
|
1556
|
+
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n- **skf-cleared** - Fires when the input is cleared\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
|
1556
1557
|
"doc-url": "",
|
1557
1558
|
"attributes": [
|
1558
1559
|
{
|
@@ -1573,19 +1574,8 @@
|
|
1573
1574
|
}
|
1574
1575
|
},
|
1575
1576
|
{
|
1576
|
-
"name": "
|
1577
|
-
"
|
1578
|
-
"value": { "type": "string", "default": "'Clear input'" }
|
1579
|
-
},
|
1580
|
-
{
|
1581
|
-
"name": "button-aria-label-hide",
|
1582
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
1583
|
-
"value": { "type": "string", "default": "'Hide password'" }
|
1584
|
-
},
|
1585
|
-
{
|
1586
|
-
"name": "button-aria-label-show",
|
1587
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
1588
|
-
"value": { "type": "string", "default": "'Show password'" }
|
1577
|
+
"name": "autofocus",
|
1578
|
+
"value": { "type": "boolean", "default": "false" }
|
1589
1579
|
},
|
1590
1580
|
{
|
1591
1581
|
"name": "custom-invalid",
|
@@ -1620,6 +1610,11 @@
|
|
1620
1610
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1621
1611
|
"value": { "type": "string | undefined" }
|
1622
1612
|
},
|
1613
|
+
{
|
1614
|
+
"name": "lang",
|
1615
|
+
"description": "Sets the internal language of the component",
|
1616
|
+
"value": { "type": "Language", "default": "'en'" }
|
1617
|
+
},
|
1623
1618
|
{
|
1624
1619
|
"name": "leading",
|
1625
1620
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -1665,11 +1660,6 @@
|
|
1665
1660
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1666
1661
|
"value": { "type": "boolean", "default": "false" }
|
1667
1662
|
},
|
1668
|
-
{
|
1669
|
-
"name": "required-label",
|
1670
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1671
|
-
"value": { "type": "string | undefined" }
|
1672
|
-
},
|
1673
1663
|
{
|
1674
1664
|
"name": "severity",
|
1675
1665
|
"description": "If defined, displays provided severity state",
|
@@ -1721,13 +1711,18 @@
|
|
1721
1711
|
"events": [
|
1722
1712
|
{
|
1723
1713
|
"name": "change",
|
1724
|
-
"type": "
|
1714
|
+
"type": "Event",
|
1725
1715
|
"description": "Fires when the value of the input changes"
|
1726
1716
|
},
|
1727
1717
|
{
|
1728
1718
|
"name": "invalid",
|
1729
|
-
"type": "
|
1719
|
+
"type": "Event",
|
1730
1720
|
"description": "Fires when the input is invalid"
|
1721
|
+
},
|
1722
|
+
{
|
1723
|
+
"name": "skf-cleared",
|
1724
|
+
"type": "CustomEvent",
|
1725
|
+
"description": "Fires when the input is cleared"
|
1731
1726
|
}
|
1732
1727
|
],
|
1733
1728
|
"js": {
|
@@ -1737,21 +1732,7 @@
|
|
1737
1732
|
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1738
1733
|
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1739
1734
|
},
|
1740
|
-
{
|
1741
|
-
"name": "buttonAriaLabelClear",
|
1742
|
-
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
1743
|
-
"type": "string"
|
1744
|
-
},
|
1745
|
-
{
|
1746
|
-
"name": "buttonAriaLabelHide",
|
1747
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
1748
|
-
"type": "string"
|
1749
|
-
},
|
1750
|
-
{
|
1751
|
-
"name": "buttonAriaLabelShow",
|
1752
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
1753
|
-
"type": "string"
|
1754
|
-
},
|
1735
|
+
{ "name": "autofocus", "type": "boolean" },
|
1755
1736
|
{
|
1756
1737
|
"name": "customInvalid",
|
1757
1738
|
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
@@ -1781,6 +1762,11 @@
|
|
1781
1762
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1782
1763
|
"type": "string | undefined"
|
1783
1764
|
},
|
1765
|
+
{
|
1766
|
+
"name": "lang",
|
1767
|
+
"description": "Sets the internal language of the component",
|
1768
|
+
"type": "Language"
|
1769
|
+
},
|
1784
1770
|
{
|
1785
1771
|
"name": "leading",
|
1786
1772
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -1826,11 +1812,6 @@
|
|
1826
1812
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1827
1813
|
"type": "boolean"
|
1828
1814
|
},
|
1829
|
-
{
|
1830
|
-
"name": "requiredLabel",
|
1831
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1832
|
-
"type": "string | undefined"
|
1833
|
-
},
|
1834
1815
|
{
|
1835
1816
|
"name": "severity",
|
1836
1817
|
"description": "If defined, displays provided severity state",
|
@@ -1869,13 +1850,18 @@
|
|
1869
1850
|
"events": [
|
1870
1851
|
{
|
1871
1852
|
"name": "change",
|
1872
|
-
"type": "
|
1853
|
+
"type": "Event",
|
1873
1854
|
"description": "Fires when the value of the input changes"
|
1874
1855
|
},
|
1875
1856
|
{
|
1876
1857
|
"name": "invalid",
|
1877
|
-
"type": "
|
1858
|
+
"type": "Event",
|
1878
1859
|
"description": "Fires when the input is invalid"
|
1860
|
+
},
|
1861
|
+
{
|
1862
|
+
"name": "skf-cleared",
|
1863
|
+
"type": "CustomEvent",
|
1864
|
+
"description": "Fires when the input is cleared"
|
1879
1865
|
}
|
1880
1866
|
]
|
1881
1867
|
}
|
@@ -2022,7 +2008,7 @@
|
|
2022
2008
|
},
|
2023
2009
|
{
|
2024
2010
|
"name": "skf-menu",
|
2025
|
-
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu
|
2011
|
+
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu content",
|
2026
2012
|
"doc-url": "",
|
2027
2013
|
"attributes": [
|
2028
2014
|
{
|
@@ -2039,7 +2025,7 @@
|
|
2039
2025
|
"value": { "type": "string" }
|
2040
2026
|
}
|
2041
2027
|
],
|
2042
|
-
"slots": [{ "name": "", "description": "The menu
|
2028
|
+
"slots": [{ "name": "", "description": "The menu content" }],
|
2043
2029
|
"events": [
|
2044
2030
|
{
|
2045
2031
|
"name": "skf-opened",
|
@@ -2053,7 +2039,18 @@
|
|
2053
2039
|
}
|
2054
2040
|
],
|
2055
2041
|
"js": {
|
2056
|
-
"properties": [
|
2042
|
+
"properties": [
|
2043
|
+
{
|
2044
|
+
"name": "open()",
|
2045
|
+
"description": "Method that opens the menu",
|
2046
|
+
"type": "(void) => void"
|
2047
|
+
},
|
2048
|
+
{
|
2049
|
+
"name": "close()",
|
2050
|
+
"description": "Method that closes the menu",
|
2051
|
+
"type": "(void) => void"
|
2052
|
+
}
|
2053
|
+
],
|
2057
2054
|
"events": [
|
2058
2055
|
{
|
2059
2056
|
"name": "skf-opened",
|
@@ -2070,7 +2067,7 @@
|
|
2070
2067
|
},
|
2071
2068
|
{
|
2072
2069
|
"name": "skf-popover",
|
2073
|
-
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the
|
2070
|
+
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the popover is opened\n- **skf-closed** - Fired when the popover is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
2074
2071
|
"doc-url": "",
|
2075
2072
|
"attributes": [
|
2076
2073
|
{
|
@@ -2083,7 +2080,7 @@
|
|
2083
2080
|
},
|
2084
2081
|
{
|
2085
2082
|
"name": "anchor",
|
2086
|
-
"description": "The id of the element the
|
2083
|
+
"description": "The id of the element the popover will be anchored to",
|
2087
2084
|
"value": { "type": "string" }
|
2088
2085
|
},
|
2089
2086
|
{
|
@@ -2102,12 +2099,12 @@
|
|
2102
2099
|
{
|
2103
2100
|
"name": "skf-opened",
|
2104
2101
|
"type": "CustomEvent",
|
2105
|
-
"description": "Fired when the
|
2102
|
+
"description": "Fired when the popover is opened"
|
2106
2103
|
},
|
2107
2104
|
{
|
2108
2105
|
"name": "skf-closed",
|
2109
2106
|
"type": "CustomEvent",
|
2110
|
-
"description": "Fired when the
|
2107
|
+
"description": "Fired when the popover is closed"
|
2111
2108
|
}
|
2112
2109
|
],
|
2113
2110
|
"js": {
|
@@ -2121,18 +2118,28 @@
|
|
2121
2118
|
"name": "hideArrow",
|
2122
2119
|
"description": "If true, hides the arrow",
|
2123
2120
|
"type": "boolean"
|
2121
|
+
},
|
2122
|
+
{
|
2123
|
+
"name": "open()",
|
2124
|
+
"description": "Method that opens the popover",
|
2125
|
+
"type": "(void) => void"
|
2126
|
+
},
|
2127
|
+
{
|
2128
|
+
"name": "close()",
|
2129
|
+
"description": "Method that closes the popover",
|
2130
|
+
"type": "(void) => void"
|
2124
2131
|
}
|
2125
2132
|
],
|
2126
2133
|
"events": [
|
2127
2134
|
{
|
2128
2135
|
"name": "skf-opened",
|
2129
2136
|
"type": "CustomEvent",
|
2130
|
-
"description": "Fired when the
|
2137
|
+
"description": "Fired when the popover is opened"
|
2131
2138
|
},
|
2132
2139
|
{
|
2133
2140
|
"name": "skf-closed",
|
2134
2141
|
"type": "CustomEvent",
|
2135
|
-
"description": "Fired when the
|
2142
|
+
"description": "Fired when the popover is closed"
|
2136
2143
|
}
|
2137
2144
|
]
|
2138
2145
|
}
|
@@ -2216,13 +2223,13 @@
|
|
2216
2223
|
"value": { "type": "string | undefined" }
|
2217
2224
|
},
|
2218
2225
|
{
|
2219
|
-
"name": "
|
2220
|
-
"description": "
|
2221
|
-
"value": { "type": "
|
2226
|
+
"name": "lang",
|
2227
|
+
"description": "Sets the internal language of the component",
|
2228
|
+
"value": { "type": "Language", "default": "'en'" }
|
2222
2229
|
},
|
2223
2230
|
{
|
2224
|
-
"name": "
|
2225
|
-
"description": "If defined,
|
2231
|
+
"name": "name",
|
2232
|
+
"description": "If defined, adds name to the input-element",
|
2226
2233
|
"value": { "type": "string | undefined" }
|
2227
2234
|
},
|
2228
2235
|
{
|
@@ -2282,13 +2289,13 @@
|
|
2282
2289
|
"type": "string | undefined"
|
2283
2290
|
},
|
2284
2291
|
{
|
2285
|
-
"name": "
|
2286
|
-
"description": "
|
2287
|
-
"type": "
|
2292
|
+
"name": "lang",
|
2293
|
+
"description": "Sets the internal language of the component",
|
2294
|
+
"type": "Language"
|
2288
2295
|
},
|
2289
2296
|
{
|
2290
|
-
"name": "
|
2291
|
-
"description": "If defined,
|
2297
|
+
"name": "name",
|
2298
|
+
"description": "If defined, adds name to the input-element",
|
2292
2299
|
"type": "string | undefined"
|
2293
2300
|
},
|
2294
2301
|
{
|
@@ -2448,6 +2455,11 @@
|
|
2448
2455
|
"description": "If defined, gives the supplied appearance",
|
2449
2456
|
"value": { "type": "Severity | undefined" }
|
2450
2457
|
},
|
2458
|
+
{
|
2459
|
+
"name": "lang",
|
2460
|
+
"description": "Sets the internal language of the component",
|
2461
|
+
"value": { "type": "Language", "default": "'en'" }
|
2462
|
+
},
|
2451
2463
|
{
|
2452
2464
|
"name": "removable",
|
2453
2465
|
"description": "If true, adds trailing button to remove tag",
|
@@ -2476,11 +2488,16 @@
|
|
2476
2488
|
"type": "Severity | undefined"
|
2477
2489
|
},
|
2478
2490
|
{
|
2479
|
-
"name": "
|
2491
|
+
"name": "lang",
|
2492
|
+
"description": "Sets the internal language of the component",
|
2493
|
+
"type": "Language"
|
2494
|
+
},
|
2495
|
+
{
|
2496
|
+
"name": "clickCallback",
|
2480
2497
|
"description": "If defined, accepts a function that runs on click"
|
2481
2498
|
},
|
2482
2499
|
{
|
2483
|
-
"name": "
|
2500
|
+
"name": "preRemoveCallback",
|
2484
2501
|
"description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
|
2485
2502
|
},
|
2486
2503
|
{
|
@@ -2494,7 +2511,7 @@
|
|
2494
2511
|
},
|
2495
2512
|
{
|
2496
2513
|
"name": "skf-select",
|
2497
|
-
"description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
2514
|
+
"description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n- **skf-select-connected** - Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
2498
2515
|
"doc-url": "",
|
2499
2516
|
"attributes": [
|
2500
2517
|
{
|
@@ -2510,7 +2527,7 @@
|
|
2510
2527
|
{
|
2511
2528
|
"name": "button-label",
|
2512
2529
|
"description": "Sets the first visible text on the component",
|
2513
|
-
"value": { "type": "string"
|
2530
|
+
"value": { "type": "string" }
|
2514
2531
|
},
|
2515
2532
|
{
|
2516
2533
|
"name": "custom-invalid",
|
@@ -2537,11 +2554,20 @@
|
|
2537
2554
|
"description": "If defined, displays provided label",
|
2538
2555
|
"value": { "type": "string | undefined" }
|
2539
2556
|
},
|
2557
|
+
{
|
2558
|
+
"name": "lang",
|
2559
|
+
"description": "Sets the internal language of the component",
|
2560
|
+
"value": { "type": "Language", "default": "'en'" }
|
2561
|
+
},
|
2540
2562
|
{
|
2541
2563
|
"name": "max",
|
2542
2564
|
"description": "If defined, limits the number of selectable options",
|
2543
2565
|
"value": { "type": "number | undefined" }
|
2544
2566
|
},
|
2567
|
+
{
|
2568
|
+
"name": "max-visible-items",
|
2569
|
+
"value": { "type": "number | undefined" }
|
2570
|
+
},
|
2545
2571
|
{
|
2546
2572
|
"name": "min",
|
2547
2573
|
"description": "If defined, sets the minimum number of required options",
|
@@ -2557,11 +2583,6 @@
|
|
2557
2583
|
"description": "If defined, set name of the component",
|
2558
2584
|
"value": { "type": "string | undefined" }
|
2559
2585
|
},
|
2560
|
-
{
|
2561
|
-
"name": "required-label",
|
2562
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2563
|
-
"value": { "type": "string | undefined" }
|
2564
|
-
},
|
2565
2586
|
{
|
2566
2587
|
"name": "severity",
|
2567
2588
|
"description": "If defined, displays provided severity state",
|
@@ -2606,14 +2627,18 @@
|
|
2606
2627
|
"name": "skf-select-option-select",
|
2607
2628
|
"type": "CustomEvent",
|
2608
2629
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2630
|
+
},
|
2631
|
+
{
|
2632
|
+
"name": "skf-select-connected",
|
2633
|
+
"type": "CustomEvent",
|
2634
|
+
"description": "Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';"
|
2609
2635
|
}
|
2610
2636
|
],
|
2611
2637
|
"js": {
|
2612
2638
|
"properties": [
|
2613
2639
|
{
|
2614
2640
|
"name": "buttonLabel",
|
2615
|
-
"description": "Sets the first visible text on the component"
|
2616
|
-
"type": "string"
|
2641
|
+
"description": "Sets the first visible text on the component"
|
2617
2642
|
},
|
2618
2643
|
{
|
2619
2644
|
"name": "customInvalid",
|
@@ -2648,11 +2673,17 @@
|
|
2648
2673
|
"description": "If defined, displays provided label",
|
2649
2674
|
"type": "string | undefined"
|
2650
2675
|
},
|
2676
|
+
{
|
2677
|
+
"name": "lang",
|
2678
|
+
"description": "Sets the internal language of the component",
|
2679
|
+
"type": "Language"
|
2680
|
+
},
|
2651
2681
|
{
|
2652
2682
|
"name": "max",
|
2653
2683
|
"description": "If defined, limits the number of selectable options",
|
2654
2684
|
"type": "number | undefined"
|
2655
2685
|
},
|
2686
|
+
{ "name": "maxVisibleItems", "type": "number | undefined" },
|
2656
2687
|
{
|
2657
2688
|
"name": "min",
|
2658
2689
|
"description": "If defined, sets the minimum number of required options",
|
@@ -2668,11 +2699,6 @@
|
|
2668
2699
|
"description": "If defined, set name of the component",
|
2669
2700
|
"type": "string | undefined"
|
2670
2701
|
},
|
2671
|
-
{
|
2672
|
-
"name": "requiredLabel",
|
2673
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2674
|
-
"type": "string | undefined"
|
2675
|
-
},
|
2676
2702
|
{
|
2677
2703
|
"name": "severity",
|
2678
2704
|
"description": "If defined, displays provided severity state",
|
@@ -2690,7 +2716,7 @@
|
|
2690
2716
|
},
|
2691
2717
|
{
|
2692
2718
|
"name": "value",
|
2693
|
-
"description": "
|
2719
|
+
"description": "Returns the selected value. (if multiple: in a comma separated string). If set will default set corresponding option."
|
2694
2720
|
},
|
2695
2721
|
{ "name": "_selectedOptions", "type": "array" }
|
2696
2722
|
],
|
@@ -2719,13 +2745,18 @@
|
|
2719
2745
|
"name": "skf-select-option-select",
|
2720
2746
|
"type": "CustomEvent",
|
2721
2747
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2748
|
+
},
|
2749
|
+
{
|
2750
|
+
"name": "skf-select-connected",
|
2751
|
+
"type": "CustomEvent",
|
2752
|
+
"description": "Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';"
|
2722
2753
|
}
|
2723
2754
|
]
|
2724
2755
|
}
|
2725
2756
|
},
|
2726
2757
|
{
|
2727
2758
|
"name": "skf-select-option",
|
2728
|
-
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2759
|
+
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\nIt represents an individual option in a select dropdown.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2729
2760
|
"doc-url": "",
|
2730
2761
|
"attributes": [
|
2731
2762
|
{
|
@@ -2755,7 +2786,7 @@
|
|
2755
2786
|
},
|
2756
2787
|
{
|
2757
2788
|
"name": "value",
|
2758
|
-
"description": "Returns or sets the
|
2789
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text.",
|
2759
2790
|
"value": { "type": "string" }
|
2760
2791
|
}
|
2761
2792
|
],
|
@@ -2805,11 +2836,9 @@
|
|
2805
2836
|
},
|
2806
2837
|
{
|
2807
2838
|
"name": "value",
|
2808
|
-
"description": "Returns or sets the
|
2839
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text."
|
2809
2840
|
},
|
2810
2841
|
{ "name": "small", "type": "boolean" },
|
2811
|
-
{ "name": "role", "type": "string" },
|
2812
|
-
{ "name": "_parent" },
|
2813
2842
|
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2814
2843
|
],
|
2815
2844
|
"events": [
|
@@ -2857,8 +2886,7 @@
|
|
2857
2886
|
"description": "If true, item marked as completed",
|
2858
2887
|
"type": "boolean"
|
2859
2888
|
},
|
2860
|
-
{ "name": "_setInternalState" }
|
2861
|
-
{ "name": "role", "type": "string" }
|
2889
|
+
{ "name": "_setInternalState" }
|
2862
2890
|
],
|
2863
2891
|
"events": [
|
2864
2892
|
{
|
@@ -2952,13 +2980,13 @@
|
|
2952
2980
|
"value": { "type": "string | undefined" }
|
2953
2981
|
},
|
2954
2982
|
{
|
2955
|
-
"name": "
|
2956
|
-
"description": "
|
2957
|
-
"value": { "type": "
|
2983
|
+
"name": "lang",
|
2984
|
+
"description": "Sets the internal language of the component",
|
2985
|
+
"value": { "type": "Language", "default": "'en'" }
|
2958
2986
|
},
|
2959
2987
|
{
|
2960
|
-
"name": "
|
2961
|
-
"description": "If defined,
|
2988
|
+
"name": "name",
|
2989
|
+
"description": "If defined, adds name to the input-element",
|
2962
2990
|
"value": { "type": "string | undefined" }
|
2963
2991
|
},
|
2964
2992
|
{
|
@@ -3002,13 +3030,13 @@
|
|
3002
3030
|
"type": "string | undefined"
|
3003
3031
|
},
|
3004
3032
|
{
|
3005
|
-
"name": "
|
3006
|
-
"description": "
|
3007
|
-
"type": "
|
3033
|
+
"name": "lang",
|
3034
|
+
"description": "Sets the internal language of the component",
|
3035
|
+
"type": "Language"
|
3008
3036
|
},
|
3009
3037
|
{
|
3010
|
-
"name": "
|
3011
|
-
"description": "If defined,
|
3038
|
+
"name": "name",
|
3039
|
+
"description": "If defined, adds name to the input-element",
|
3012
3040
|
"type": "string | undefined"
|
3013
3041
|
},
|
3014
3042
|
{
|
@@ -3045,8 +3073,7 @@
|
|
3045
3073
|
"description": "The tab panel's name.",
|
3046
3074
|
"type": "string"
|
3047
3075
|
},
|
3048
|
-
{ "name": "active", "type": "boolean" }
|
3049
|
-
{ "name": "role", "type": "string" }
|
3076
|
+
{ "name": "active", "type": "boolean" }
|
3050
3077
|
],
|
3051
3078
|
"events": []
|
3052
3079
|
}
|
@@ -3158,8 +3185,7 @@
|
|
3158
3185
|
"type": "string"
|
3159
3186
|
},
|
3160
3187
|
{ "name": "selected", "type": "boolean" },
|
3161
|
-
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3162
|
-
{ "name": "role", "type": "string" }
|
3188
|
+
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3163
3189
|
],
|
3164
3190
|
"events": [
|
3165
3191
|
{
|
@@ -3219,6 +3245,11 @@
|
|
3219
3245
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3220
3246
|
"value": { "type": "string | undefined" }
|
3221
3247
|
},
|
3248
|
+
{
|
3249
|
+
"name": "lang",
|
3250
|
+
"description": "Sets the internal language of the component",
|
3251
|
+
"value": { "type": "Language", "default": "'en'" }
|
3252
|
+
},
|
3222
3253
|
{
|
3223
3254
|
"name": "name",
|
3224
3255
|
"description": "If defined, adds name to the input-element",
|
@@ -3244,11 +3275,6 @@
|
|
3244
3275
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3245
3276
|
"value": { "type": "boolean", "default": "false" }
|
3246
3277
|
},
|
3247
|
-
{
|
3248
|
-
"name": "required-label",
|
3249
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3250
|
-
"value": { "type": "string | undefined" }
|
3251
|
-
},
|
3252
3278
|
{
|
3253
3279
|
"name": "rows",
|
3254
3280
|
"description": "If defined, sets the rows of the textarea",
|
@@ -3330,6 +3356,11 @@
|
|
3330
3356
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3331
3357
|
"type": "string | undefined"
|
3332
3358
|
},
|
3359
|
+
{
|
3360
|
+
"name": "lang",
|
3361
|
+
"description": "Sets the internal language of the component",
|
3362
|
+
"type": "Language"
|
3363
|
+
},
|
3333
3364
|
{
|
3334
3365
|
"name": "name",
|
3335
3366
|
"description": "If defined, adds name to the input-element",
|
@@ -3355,11 +3386,6 @@
|
|
3355
3386
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3356
3387
|
"type": "boolean"
|
3357
3388
|
},
|
3358
|
-
{
|
3359
|
-
"name": "requiredLabel",
|
3360
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3361
|
-
"type": "string | undefined"
|
3362
|
-
},
|
3363
3389
|
{
|
3364
3390
|
"name": "rows",
|
3365
3391
|
"description": "If defined, sets the rows of the textarea",
|
@@ -3498,7 +3524,7 @@
|
|
3498
3524
|
},
|
3499
3525
|
{
|
3500
3526
|
"name": "skf-tooltip",
|
3501
|
-
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the
|
3527
|
+
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the tooltip is opened\n- **skf-closed** - Fired when the tooltip is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
|
3502
3528
|
"doc-url": "",
|
3503
3529
|
"attributes": [
|
3504
3530
|
{
|
@@ -3521,28 +3547,41 @@
|
|
3521
3547
|
"events": [
|
3522
3548
|
{
|
3523
3549
|
"name": "skf-opened",
|
3524
|
-
"
|
3550
|
+
"type": "CustomEvent",
|
3551
|
+
"description": "Fired when the tooltip is opened"
|
3525
3552
|
},
|
3526
3553
|
{
|
3527
3554
|
"name": "skf-closed",
|
3528
|
-
"
|
3555
|
+
"type": "CustomEvent",
|
3556
|
+
"description": "Fired when the tooltip is closed"
|
3529
3557
|
}
|
3530
3558
|
],
|
3531
3559
|
"js": {
|
3532
3560
|
"properties": [
|
3533
|
-
{ "name": "role", "type": "string" },
|
3534
3561
|
{ "name": "offset", "type": "number" },
|
3535
3562
|
{ "name": "placement", "type": "string" },
|
3536
|
-
{ "name": "variant", "type": "string" }
|
3563
|
+
{ "name": "variant", "type": "string" },
|
3564
|
+
{
|
3565
|
+
"name": "open()",
|
3566
|
+
"description": "Method that opens the tooltip",
|
3567
|
+
"type": "(void) => void"
|
3568
|
+
},
|
3569
|
+
{
|
3570
|
+
"name": "close()",
|
3571
|
+
"description": "Method that closes the tooltip",
|
3572
|
+
"type": "(void) => void"
|
3573
|
+
}
|
3537
3574
|
],
|
3538
3575
|
"events": [
|
3539
3576
|
{
|
3540
3577
|
"name": "skf-opened",
|
3541
|
-
"
|
3578
|
+
"type": "CustomEvent",
|
3579
|
+
"description": "Fired when the tooltip is opened"
|
3542
3580
|
},
|
3543
3581
|
{
|
3544
3582
|
"name": "skf-closed",
|
3545
|
-
"
|
3583
|
+
"type": "CustomEvent",
|
3584
|
+
"description": "Fired when the tooltip is closed"
|
3546
3585
|
}
|
3547
3586
|
]
|
3548
3587
|
}
|