@skf-design-system/ui-components 1.0.0-alpha.37 → 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 +8 -8
- 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 +22 -20
- package/dist/components/select/select.styles.js +8 -2
- 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 +29 -9
- package/dist/internal/base-classes/popover/popover.base.js +79 -76
- 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
@@ -107,16 +107,16 @@
|
|
107
107
|
"name": "skf-alert",
|
108
108
|
"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",
|
109
109
|
"attributes": [
|
110
|
-
{
|
111
|
-
"name": "button-label",
|
112
|
-
"description": "Close button aria-label",
|
113
|
-
"values": []
|
114
|
-
},
|
115
110
|
{
|
116
111
|
"name": "icon",
|
117
112
|
"description": "If defined, displays leading icon",
|
118
113
|
"values": [{ "name": "Icon" }]
|
119
114
|
},
|
115
|
+
{
|
116
|
+
"name": "lang",
|
117
|
+
"description": "Sets the internal language of the component",
|
118
|
+
"values": [{ "name": "Language" }]
|
119
|
+
},
|
120
120
|
{
|
121
121
|
"name": "persistent",
|
122
122
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
@@ -163,11 +163,6 @@
|
|
163
163
|
"name": "skf-loader",
|
164
164
|
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
165
165
|
"attributes": [
|
166
|
-
{
|
167
|
-
"name": "aria-label",
|
168
|
-
"description": "Defines the aria-label",
|
169
|
-
"values": []
|
170
|
-
},
|
171
166
|
{
|
172
167
|
"name": "invert",
|
173
168
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -300,13 +295,13 @@
|
|
300
295
|
"values": []
|
301
296
|
},
|
302
297
|
{
|
303
|
-
"name": "
|
304
|
-
"description": "
|
305
|
-
"values": []
|
298
|
+
"name": "lang",
|
299
|
+
"description": "Sets the internal language of the component",
|
300
|
+
"values": [{ "name": "Language" }]
|
306
301
|
},
|
307
302
|
{
|
308
|
-
"name": "
|
309
|
-
"description": "If defined,
|
303
|
+
"name": "name",
|
304
|
+
"description": "If defined, adds name to the input-element",
|
310
305
|
"values": []
|
311
306
|
},
|
312
307
|
{
|
@@ -382,6 +377,11 @@
|
|
382
377
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
383
378
|
"values": []
|
384
379
|
},
|
380
|
+
{
|
381
|
+
"name": "lang",
|
382
|
+
"description": "Sets the internal language of the component",
|
383
|
+
"values": [{ "name": "Language" }]
|
384
|
+
},
|
385
385
|
{
|
386
386
|
"name": "hide-label",
|
387
387
|
"description": "If true, hides the label visually",
|
@@ -409,11 +409,6 @@
|
|
409
409
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
410
410
|
"values": []
|
411
411
|
},
|
412
|
-
{
|
413
|
-
"name": "required-label",
|
414
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
415
|
-
"values": []
|
416
|
-
},
|
417
412
|
{
|
418
413
|
"name": "selectable-from",
|
419
414
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -477,11 +472,6 @@
|
|
477
472
|
"name": "skf-dialog",
|
478
473
|
"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)_",
|
479
474
|
"attributes": [
|
480
|
-
{
|
481
|
-
"name": "close-button-aria-label",
|
482
|
-
"description": "If defined, sets the aria-label for the close button",
|
483
|
-
"values": []
|
484
|
-
},
|
485
475
|
{
|
486
476
|
"name": "heading",
|
487
477
|
"description": "Title for the modal/dialog",
|
@@ -492,6 +482,11 @@
|
|
492
482
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
493
483
|
"values": []
|
494
484
|
},
|
485
|
+
{
|
486
|
+
"name": "lang",
|
487
|
+
"description": "Sets the internal language of the component",
|
488
|
+
"values": [{ "name": "Language" }]
|
489
|
+
},
|
495
490
|
{
|
496
491
|
"name": "no-close-button",
|
497
492
|
"description": "If true, removes the close button",
|
@@ -536,20 +531,20 @@
|
|
536
531
|
"name": "skf-drawer",
|
537
532
|
"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",
|
538
533
|
"attributes": [
|
539
|
-
{
|
540
|
-
"name": "close-button-aria-label",
|
541
|
-
"description": "If defined, sets the aria-label for the close button",
|
542
|
-
"values": []
|
543
|
-
},
|
544
534
|
{
|
545
535
|
"name": "heading",
|
546
536
|
"description": "Heading for the Drawer",
|
547
537
|
"values": []
|
548
538
|
},
|
539
|
+
{
|
540
|
+
"name": "lang",
|
541
|
+
"description": "Sets the internal language of the component",
|
542
|
+
"values": [{ "name": "Language" }]
|
543
|
+
},
|
549
544
|
{
|
550
545
|
"name": "size",
|
551
546
|
"description": "Sets the max-width",
|
552
|
-
"values": [{ "name": "
|
547
|
+
"values": [{ "name": "Size" }]
|
553
548
|
},
|
554
549
|
{
|
555
550
|
"name": "open",
|
@@ -559,7 +554,7 @@
|
|
559
554
|
{
|
560
555
|
"name": "placement",
|
561
556
|
"description": "Placement of the Drawer",
|
562
|
-
"values": [{ "name": "
|
557
|
+
"values": [{ "name": "Placement" }]
|
563
558
|
}
|
564
559
|
],
|
565
560
|
"references": []
|
@@ -661,6 +656,11 @@
|
|
661
656
|
"name": "skf-nav",
|
662
657
|
"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",
|
663
658
|
"attributes": [
|
659
|
+
{
|
660
|
+
"name": "lang",
|
661
|
+
"description": "Sets the internal language of the component",
|
662
|
+
"values": [{ "name": "Language" }]
|
663
|
+
},
|
664
664
|
{
|
665
665
|
"name": "vertical",
|
666
666
|
"description": "If true, the navigation will be displayed vertically",
|
@@ -679,9 +679,9 @@
|
|
679
679
|
"values": []
|
680
680
|
},
|
681
681
|
{
|
682
|
-
"name": "
|
683
|
-
"description": "
|
684
|
-
"values": []
|
682
|
+
"name": "lang",
|
683
|
+
"description": "Sets the internal language of the component",
|
684
|
+
"values": [{ "name": "Language" }]
|
685
685
|
},
|
686
686
|
{
|
687
687
|
"name": "site-name",
|
@@ -698,7 +698,7 @@
|
|
698
698
|
},
|
699
699
|
{
|
700
700
|
"name": "skf-input",
|
701
|
-
"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.",
|
701
|
+
"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.",
|
702
702
|
"attributes": [
|
703
703
|
{
|
704
704
|
"name": "disabled",
|
@@ -715,21 +715,7 @@
|
|
715
715
|
"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.",
|
716
716
|
"values": [{ "name": "HTMLInputElement['autocomplete']" }]
|
717
717
|
},
|
718
|
-
{
|
719
|
-
"name": "button-aria-label-clear",
|
720
|
-
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
721
|
-
"values": []
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"name": "button-aria-label-hide",
|
725
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
726
|
-
"values": []
|
727
|
-
},
|
728
|
-
{
|
729
|
-
"name": "button-aria-label-show",
|
730
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
731
|
-
"values": []
|
732
|
-
},
|
718
|
+
{ "name": "autofocus", "values": [] },
|
733
719
|
{
|
734
720
|
"name": "custom-invalid",
|
735
721
|
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
|
@@ -760,6 +746,11 @@
|
|
760
746
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
761
747
|
"values": []
|
762
748
|
},
|
749
|
+
{
|
750
|
+
"name": "lang",
|
751
|
+
"description": "Sets the internal language of the component",
|
752
|
+
"values": [{ "name": "Language" }]
|
753
|
+
},
|
763
754
|
{
|
764
755
|
"name": "leading",
|
765
756
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -805,11 +796,6 @@
|
|
805
796
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
806
797
|
"values": []
|
807
798
|
},
|
808
|
-
{
|
809
|
-
"name": "required-label",
|
810
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
811
|
-
"values": []
|
812
|
-
},
|
813
799
|
{
|
814
800
|
"name": "severity",
|
815
801
|
"description": "If defined, displays provided severity state",
|
@@ -929,7 +915,7 @@
|
|
929
915
|
},
|
930
916
|
{
|
931
917
|
"name": "skf-menu",
|
932
|
-
"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
|
918
|
+
"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",
|
933
919
|
"attributes": [
|
934
920
|
{
|
935
921
|
"name": "placement",
|
@@ -959,7 +945,7 @@
|
|
959
945
|
},
|
960
946
|
{
|
961
947
|
"name": "skf-popover",
|
962
|
-
"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
|
948
|
+
"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",
|
963
949
|
"attributes": [
|
964
950
|
{
|
965
951
|
"name": "placement",
|
@@ -981,7 +967,7 @@
|
|
981
967
|
},
|
982
968
|
{
|
983
969
|
"name": "anchor",
|
984
|
-
"description": "The id of the element the
|
970
|
+
"description": "The id of the element the popover will be anchored to",
|
985
971
|
"values": []
|
986
972
|
},
|
987
973
|
{
|
@@ -1054,13 +1040,13 @@
|
|
1054
1040
|
"values": []
|
1055
1041
|
},
|
1056
1042
|
{
|
1057
|
-
"name": "
|
1058
|
-
"description": "
|
1059
|
-
"values": []
|
1043
|
+
"name": "lang",
|
1044
|
+
"description": "Sets the internal language of the component",
|
1045
|
+
"values": [{ "name": "Language" }]
|
1060
1046
|
},
|
1061
1047
|
{
|
1062
|
-
"name": "
|
1063
|
-
"description": "If defined,
|
1048
|
+
"name": "name",
|
1049
|
+
"description": "If defined, adds name to the input-element",
|
1064
1050
|
"values": []
|
1065
1051
|
},
|
1066
1052
|
{
|
@@ -1141,6 +1127,11 @@
|
|
1141
1127
|
"description": "If defined, gives the supplied appearance",
|
1142
1128
|
"values": [{ "name": "Severity" }]
|
1143
1129
|
},
|
1130
|
+
{
|
1131
|
+
"name": "lang",
|
1132
|
+
"description": "Sets the internal language of the component",
|
1133
|
+
"values": [{ "name": "Language" }]
|
1134
|
+
},
|
1144
1135
|
{
|
1145
1136
|
"name": "removable",
|
1146
1137
|
"description": "If true, adds trailing button to remove tag",
|
@@ -1151,7 +1142,7 @@
|
|
1151
1142
|
},
|
1152
1143
|
{
|
1153
1144
|
"name": "skf-select",
|
1154
|
-
"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",
|
1145
|
+
"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",
|
1155
1146
|
"attributes": [
|
1156
1147
|
{
|
1157
1148
|
"name": "disabled",
|
@@ -1193,11 +1184,17 @@
|
|
1193
1184
|
"description": "If defined, displays provided label",
|
1194
1185
|
"values": []
|
1195
1186
|
},
|
1187
|
+
{
|
1188
|
+
"name": "lang",
|
1189
|
+
"description": "Sets the internal language of the component",
|
1190
|
+
"values": [{ "name": "Language" }]
|
1191
|
+
},
|
1196
1192
|
{
|
1197
1193
|
"name": "max",
|
1198
1194
|
"description": "If defined, limits the number of selectable options",
|
1199
1195
|
"values": []
|
1200
1196
|
},
|
1197
|
+
{ "name": "max-visible-items", "values": [] },
|
1201
1198
|
{
|
1202
1199
|
"name": "min",
|
1203
1200
|
"description": "If defined, sets the minimum number of required options",
|
@@ -1213,11 +1210,6 @@
|
|
1213
1210
|
"description": "If defined, set name of the component",
|
1214
1211
|
"values": []
|
1215
1212
|
},
|
1216
|
-
{
|
1217
|
-
"name": "required-label",
|
1218
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1219
|
-
"values": []
|
1220
|
-
},
|
1221
1213
|
{
|
1222
1214
|
"name": "severity",
|
1223
1215
|
"description": "If defined, displays provided severity state",
|
@@ -1238,7 +1230,7 @@
|
|
1238
1230
|
},
|
1239
1231
|
{
|
1240
1232
|
"name": "skf-select-option",
|
1241
|
-
"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).",
|
1233
|
+
"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).",
|
1242
1234
|
"attributes": [
|
1243
1235
|
{
|
1244
1236
|
"name": "disabled",
|
@@ -1267,7 +1259,7 @@
|
|
1267
1259
|
},
|
1268
1260
|
{
|
1269
1261
|
"name": "value",
|
1270
|
-
"description": "Returns or sets the
|
1262
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text.",
|
1271
1263
|
"values": []
|
1272
1264
|
}
|
1273
1265
|
],
|
@@ -1345,13 +1337,13 @@
|
|
1345
1337
|
"values": []
|
1346
1338
|
},
|
1347
1339
|
{
|
1348
|
-
"name": "
|
1349
|
-
"description": "
|
1350
|
-
"values": []
|
1340
|
+
"name": "lang",
|
1341
|
+
"description": "Sets the internal language of the component",
|
1342
|
+
"values": [{ "name": "Language" }]
|
1351
1343
|
},
|
1352
1344
|
{
|
1353
|
-
"name": "
|
1354
|
-
"description": "If defined,
|
1345
|
+
"name": "name",
|
1346
|
+
"description": "If defined, adds name to the input-element",
|
1355
1347
|
"values": []
|
1356
1348
|
},
|
1357
1349
|
{
|
@@ -1463,6 +1455,11 @@
|
|
1463
1455
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
1464
1456
|
"values": []
|
1465
1457
|
},
|
1458
|
+
{
|
1459
|
+
"name": "lang",
|
1460
|
+
"description": "Sets the internal language of the component",
|
1461
|
+
"values": [{ "name": "Language" }]
|
1462
|
+
},
|
1466
1463
|
{
|
1467
1464
|
"name": "name",
|
1468
1465
|
"description": "If defined, adds name to the input-element",
|
@@ -1488,11 +1485,6 @@
|
|
1488
1485
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1489
1486
|
"values": []
|
1490
1487
|
},
|
1491
|
-
{
|
1492
|
-
"name": "required-label",
|
1493
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1494
|
-
"values": []
|
1495
|
-
},
|
1496
1488
|
{
|
1497
1489
|
"name": "rows",
|
1498
1490
|
"description": "If defined, sets the rows of the textarea",
|
@@ -1571,7 +1563,7 @@
|
|
1571
1563
|
},
|
1572
1564
|
{
|
1573
1565
|
"name": "skf-tooltip",
|
1574
|
-
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the
|
1566
|
+
"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",
|
1575
1567
|
"attributes": [
|
1576
1568
|
{
|
1577
1569
|
"name": "placement",
|