@skf-design-system/ui-components 1.0.2-beta.5 → 1.0.2-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +18 -0
  2. package/dist/components/accordion/accordion.component.d.ts +1 -1
  3. package/dist/components/accordion/accordion.component.js +2 -2
  4. package/dist/components/alert/alert.component.d.ts +3 -2
  5. package/dist/components/alert/alert.component.js +39 -33
  6. package/dist/components/button/button.styles.js +3 -3
  7. package/dist/components/checkbox/checkbox.component.d.ts +4 -2
  8. package/dist/components/checkbox/checkbox.component.js +73 -65
  9. package/dist/components/checkbox/checkbox.styles.js +1 -1
  10. package/dist/components/datepicker/datepicker-calendar.component.d.ts +4 -0
  11. package/dist/components/datepicker/datepicker-calendar.component.js +134 -127
  12. package/dist/components/datepicker/datepicker-popup.component.d.ts +4 -0
  13. package/dist/components/datepicker/datepicker-popup.component.js +100 -88
  14. package/dist/components/datepicker/datepicker.component.d.ts +4 -2
  15. package/dist/components/datepicker/datepicker.component.js +151 -140
  16. package/dist/components/dialog/dialog.component.d.ts +3 -2
  17. package/dist/components/dialog/dialog.component.js +39 -37
  18. package/dist/components/divider/divider.component.d.ts +3 -0
  19. package/dist/components/divider/divider.component.js +43 -22
  20. package/dist/components/divider/divider.styles.js +9 -9
  21. package/dist/components/drawer/drawer.component.d.ts +11 -4
  22. package/dist/components/drawer/drawer.component.js +77 -55
  23. package/dist/components/drawer/drawer.styles.js +47 -40
  24. package/dist/components/header/header.component.d.ts +4 -2
  25. package/dist/components/header/header.component.js +66 -57
  26. package/dist/components/header/header.styles.js +2 -2
  27. package/dist/components/icon/icon.component.js +7 -7
  28. package/dist/components/icon/icon.styles.js +2 -2
  29. package/dist/components/input/input.component.d.ts +4 -8
  30. package/dist/components/input/input.component.js +147 -147
  31. package/dist/components/input/input.controllers.d.ts +0 -1
  32. package/dist/components/input/input.controllers.js +12 -12
  33. package/dist/components/link/link.component.d.ts +15 -18
  34. package/dist/components/link/link.component.js +105 -107
  35. package/dist/components/link/link.styles.js +53 -45
  36. package/dist/components/loader/loader.component.d.ts +5 -3
  37. package/dist/components/loader/loader.component.js +39 -28
  38. package/dist/components/loader/loader.styles.js +6 -10
  39. package/dist/components/menu/menu-item.component.d.ts +1 -1
  40. package/dist/components/menu/menu-item.component.js +8 -8
  41. package/dist/components/menu/menu-item.styles.js +13 -9
  42. package/dist/components/menu/menu.component.d.ts +5 -2
  43. package/dist/components/menu/menu.component.js +8 -8
  44. package/dist/components/nav/nav-item.component.d.ts +4 -0
  45. package/dist/components/nav/nav-item.component.js +44 -25
  46. package/dist/components/nav/nav-item.styles.js +29 -25
  47. package/dist/components/nav/nav.component.d.ts +9 -0
  48. package/dist/components/nav/nav.component.js +47 -21
  49. package/dist/components/nav/nav.styles.js +15 -9
  50. package/dist/components/popover/popover.component.d.ts +10 -3
  51. package/dist/components/popover/popover.component.js +30 -22
  52. package/dist/components/progress/progress.component.d.ts +2 -0
  53. package/dist/components/progress/progress.component.js +38 -29
  54. package/dist/components/progress/progress.styles.js +4 -4
  55. package/dist/components/radio/radio.component.d.ts +4 -2
  56. package/dist/components/radio/radio.component.js +91 -83
  57. package/dist/components/radio/radio.styles.js +1 -1
  58. package/dist/components/segmented-button/segmented-button-item.component.js +1 -1
  59. package/dist/components/segmented-button/segmented-button-item.styles.js +1 -1
  60. package/dist/components/select/select-option-group.component.d.ts +4 -0
  61. package/dist/components/select/select-option-group.component.js +37 -18
  62. package/dist/components/select/select-option-group.style.js +12 -6
  63. package/dist/components/select/select-option.component.d.ts +7 -2
  64. package/dist/components/select/select-option.component.js +70 -53
  65. package/dist/components/select/select-option.styles.js +43 -31
  66. package/dist/components/select/select.component.d.ts +18 -10
  67. package/dist/components/select/select.component.js +175 -132
  68. package/dist/components/select/select.controllers.js +2 -1
  69. package/dist/components/select/select.styles.js +8 -2
  70. package/dist/components/stepper/stepper-item.component.d.ts +1 -1
  71. package/dist/components/stepper/stepper-item.component.js +26 -23
  72. package/dist/components/stepper/stepper-item.styles.js +4 -4
  73. package/dist/components/switch/switch.component.d.ts +4 -2
  74. package/dist/components/switch/switch.component.js +64 -56
  75. package/dist/components/switch/switch.styles.js +1 -1
  76. package/dist/components/tabs/tab-panel.component.d.ts +1 -1
  77. package/dist/components/tabs/tab-panel.component.js +19 -16
  78. package/dist/components/tabs/tab.component.d.ts +1 -1
  79. package/dist/components/tabs/tab.component.js +17 -14
  80. package/dist/components/tabs/tab.styles.js +2 -2
  81. package/dist/components/tag/tag.component.d.ts +3 -0
  82. package/dist/components/tag/tag.component.js +50 -41
  83. package/dist/components/textarea/textarea.component.d.ts +4 -2
  84. package/dist/components/textarea/textarea.component.js +127 -118
  85. package/dist/components/toast/toast-item.styles.js +13 -10
  86. package/dist/components/toast/toast.component.js +9 -9
  87. package/dist/components/toast/toast.singleton.d.ts +1 -1
  88. package/dist/components/toast/toast.singleton.js +18 -18
  89. package/dist/components/tooltip/tooltip.component.d.ts +9 -2
  90. package/dist/components/tooltip/tooltip.component.js +13 -7
  91. package/dist/custom-elements.json +1305 -946
  92. package/dist/index.d.ts +2 -2
  93. package/dist/index.js +20 -20
  94. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -5
  95. package/dist/internal/base-classes/popover/popover.base.js +28 -29
  96. package/dist/internal/base-classes/popover/popover.styles.js +4 -5
  97. package/dist/internal/components/hint/hint.component.d.ts +4 -0
  98. package/dist/internal/components/hint/hint.component.js +47 -20
  99. package/dist/internal/components/hint/hint.styles.js +29 -25
  100. package/dist/internal/controllers/popover.controller.d.ts +2 -0
  101. package/dist/internal/helpers/uuid.d.ts +8 -10
  102. package/dist/internal/helpers/uuid.js +4 -11
  103. package/dist/internal/helpers/watch.d.ts +1 -1
  104. package/dist/internal/templates/asterisk.d.ts +1 -1
  105. package/dist/internal/templates/asterisk.js +4 -4
  106. package/dist/internal/types.d.ts +4 -0
  107. package/dist/styles/global-alt.css +1 -1
  108. package/dist/styles/global.css +1 -1
  109. package/dist/translations/en.d.ts +3 -0
  110. package/dist/translations/en.js +27 -0
  111. package/dist/translations/es.d.ts +3 -0
  112. package/dist/translations/es.js +27 -0
  113. package/dist/translations/index.d.ts +4 -0
  114. package/dist/translations/pt.d.ts +3 -0
  115. package/dist/translations/pt.js +27 -0
  116. package/dist/translations/sv.d.ts +3 -0
  117. package/dist/translations/sv.js +27 -0
  118. package/dist/types/jsx/custom-element-jsx.d.ts +243 -128
  119. package/dist/types/vue/index.d.ts +136 -127
  120. package/dist/utilities/localize.d.ts +28 -0
  121. package/dist/utilities/localize.js +13 -0
  122. package/dist/vscode.html-custom-data.json +168 -177
  123. package/dist/web-types.json +411 -381
  124. package/package.json +34 -41
@@ -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)",
@@ -176,7 +171,7 @@
176
171
  {
177
172
  "name": "size",
178
173
  "description": "Defines the size of the loader",
179
- "values": [{ "name": "md" }, { "name": "sm" }]
174
+ "values": [{ "name": "Size" }]
180
175
  }
181
176
  ],
182
177
  "references": []
@@ -300,13 +295,13 @@
300
295
  "values": []
301
296
  },
302
297
  {
303
- "name": "name",
304
- "description": "If defined, adds name to the input-element",
305
- "values": []
298
+ "name": "lang",
299
+ "description": "Sets the internal language of the component",
300
+ "values": [{ "name": "Language" }]
306
301
  },
307
302
  {
308
- "name": "required-label",
309
- "description": "If defined, renders an alternative A11y text for the asterisk",
303
+ "name": "name",
304
+ "description": "If defined, adds name to the input-element",
310
305
  "values": []
311
306
  },
312
307
  {
@@ -343,6 +338,11 @@
343
338
  "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
344
339
  "values": []
345
340
  },
341
+ {
342
+ "name": "lang",
343
+ "description": "Sets the internal language of the component",
344
+ "values": [{ "name": "Language" }]
345
+ },
346
346
  { "name": "locale", "values": [] },
347
347
  { "name": "range", "values": [] },
348
348
  {
@@ -382,6 +382,11 @@
382
382
  "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
383
383
  "values": []
384
384
  },
385
+ {
386
+ "name": "lang",
387
+ "description": "Sets the internal language of the component",
388
+ "values": [{ "name": "Language" }]
389
+ },
385
390
  {
386
391
  "name": "hide-label",
387
392
  "description": "If true, hides the label visually",
@@ -409,11 +414,6 @@
409
414
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
410
415
  "values": []
411
416
  },
412
- {
413
- "name": "required-label",
414
- "description": "If defined, renders an alternative A11y text for the asterisk",
415
- "values": []
416
- },
417
417
  {
418
418
  "name": "selectable-from",
419
419
  "description": "Earliest selectable date. (yyyy-mm-dd format)",
@@ -477,11 +477,6 @@
477
477
  "name": "skf-dialog",
478
478
  "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
479
  "attributes": [
480
- {
481
- "name": "close-button-aria-label",
482
- "description": "If defined, sets the aria-label for the close button",
483
- "values": []
484
- },
485
480
  {
486
481
  "name": "heading",
487
482
  "description": "Title for the modal/dialog",
@@ -492,6 +487,11 @@
492
487
  "description": "If true, makes the dialog stretch edge to edge on screen",
493
488
  "values": []
494
489
  },
490
+ {
491
+ "name": "lang",
492
+ "description": "Sets the internal language of the component",
493
+ "values": [{ "name": "Language" }]
494
+ },
495
495
  {
496
496
  "name": "no-close-button",
497
497
  "description": "If true, removes the close button",
@@ -536,20 +536,20 @@
536
536
  "name": "skf-drawer",
537
537
  "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
538
  "attributes": [
539
- {
540
- "name": "close-button-aria-label",
541
- "description": "If defined, sets the aria-label for the close button",
542
- "values": []
543
- },
544
539
  {
545
540
  "name": "heading",
546
541
  "description": "Heading for the Drawer",
547
542
  "values": []
548
543
  },
544
+ {
545
+ "name": "lang",
546
+ "description": "Sets the internal language of the component",
547
+ "values": [{ "name": "Language" }]
548
+ },
549
549
  {
550
550
  "name": "size",
551
551
  "description": "Sets the max-width",
552
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
552
+ "values": [{ "name": "Size" }]
553
553
  },
554
554
  {
555
555
  "name": "open",
@@ -559,7 +559,7 @@
559
559
  {
560
560
  "name": "placement",
561
561
  "description": "Placement of the Drawer",
562
- "values": [{ "name": "left" }, { "name": "right" }]
562
+ "values": [{ "name": "Placement" }]
563
563
  }
564
564
  ],
565
565
  "references": []
@@ -581,10 +581,97 @@
581
581
  ],
582
582
  "references": []
583
583
  },
584
+ {
585
+ "name": "skf-link",
586
+ "description": "The `<skf-link>` can be used as either a regular link or a semantic button. The button variant is\nintended to be used for triggering javascript functions, not handling forms.\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The links' main content",
587
+ "attributes": [
588
+ {
589
+ "name": "as",
590
+ "description": "Defines the semantic element to render",
591
+ "values": [{ "name": "button" }, { "name": "link" }]
592
+ },
593
+ {
594
+ "name": "color",
595
+ "description": "Defines the text-color",
596
+ "values": [{ "name": "Color" }]
597
+ },
598
+ {
599
+ "name": "disabled",
600
+ "description": "If true, disables the link",
601
+ "values": []
602
+ },
603
+ {
604
+ "name": "download",
605
+ "description": "If defined, downloads the url",
606
+ "values": []
607
+ },
608
+ {
609
+ "name": "href",
610
+ "description": "If defined, loads url on click",
611
+ "values": []
612
+ },
613
+ {
614
+ "name": "icon",
615
+ "description": "If defined, renders an icon before or after the text",
616
+ "values": [{ "name": "Icon" }]
617
+ },
618
+ {
619
+ "name": "icon-right",
620
+ "description": "If true, the icon is placed to the right in relation to the text",
621
+ "values": []
622
+ },
623
+ {
624
+ "name": "rel",
625
+ "description": "If defined, describes the relationship between a linked resource and the current document",
626
+ "values": []
627
+ },
628
+ {
629
+ "name": "route",
630
+ "description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
631
+ "values": []
632
+ },
633
+ {
634
+ "name": "stretch",
635
+ "description": "If true, fills the parents horizontal axis",
636
+ "values": []
637
+ },
638
+ {
639
+ "name": "target",
640
+ "description": "If defined, specifies where to open the linked document",
641
+ "values": [
642
+ { "name": "_blank" },
643
+ { "name": "_parent" },
644
+ { "name": "_self" },
645
+ { "name": "_top" }
646
+ ]
647
+ }
648
+ ],
649
+ "references": []
650
+ },
651
+ {
652
+ "name": "skf-nav-item",
653
+ "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",
654
+ "attributes": [
655
+ { "name": "href", "values": [] },
656
+ { "name": "icon", "values": [{ "name": "Icon" }] }
657
+ ],
658
+ "references": []
659
+ },
584
660
  {
585
661
  "name": "skf-nav",
586
662
  "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",
587
- "attributes": [{ "name": "vertical", "values": [] }],
663
+ "attributes": [
664
+ {
665
+ "name": "lang",
666
+ "description": "Sets the internal language of the component",
667
+ "values": [{ "name": "Language" }]
668
+ },
669
+ {
670
+ "name": "vertical",
671
+ "description": "If true, the navigation will be displayed vertically",
672
+ "values": []
673
+ }
674
+ ],
588
675
  "references": []
589
676
  },
590
677
  {
@@ -597,9 +684,9 @@
597
684
  "values": []
598
685
  },
599
686
  {
600
- "name": "hamburger-aria-label",
601
- "description": "If defined, sets the aria-label for the hamburger button",
602
- "values": []
687
+ "name": "lang",
688
+ "description": "Sets the internal language of the component",
689
+ "values": [{ "name": "Language" }]
603
690
  },
604
691
  {
605
692
  "name": "site-name",
@@ -633,21 +720,6 @@
633
720
  "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.",
634
721
  "values": [{ "name": "HTMLInputElement['autocomplete']" }]
635
722
  },
636
- {
637
- "name": "button-aria-label-clear",
638
- "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
639
- "values": []
640
- },
641
- {
642
- "name": "button-aria-label-hide",
643
- "description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
644
- "values": []
645
- },
646
- {
647
- "name": "button-aria-label-show",
648
- "description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
649
- "values": []
650
- },
651
723
  {
652
724
  "name": "custom-invalid",
653
725
  "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
@@ -678,6 +750,11 @@
678
750
  "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
679
751
  "values": []
680
752
  },
753
+ {
754
+ "name": "lang",
755
+ "description": "Sets the internal language of the component",
756
+ "values": [{ "name": "Language" }]
757
+ },
681
758
  {
682
759
  "name": "leading",
683
760
  "description": "If defined, displays a prefix/adornment before the input-element",
@@ -723,11 +800,6 @@
723
800
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
724
801
  "values": []
725
802
  },
726
- {
727
- "name": "required-label",
728
- "description": "If defined, renders an alternative A11y text for the asterisk",
729
- "values": []
730
- },
731
803
  {
732
804
  "name": "severity",
733
805
  "description": "If defined, displays provided severity state",
@@ -778,91 +850,19 @@
778
850
  ],
779
851
  "references": []
780
852
  },
781
- {
782
- "name": "skf-link",
783
- "description": "The `<skf-link>` can be used as either a regular link or a link styled semantic button\n---\n\n\n### **Slots:**\n - _default_ - The links' main content",
784
- "attributes": [
785
- {
786
- "name": "as",
787
- "description": "Defines the semantic element to render",
788
- "values": [{ "name": "button" }, { "name": "a" }]
789
- },
790
- {
791
- "name": "color",
792
- "description": "Defines the text-color",
793
- "values": [{ "name": "primary" }, { "name": "inverse" }]
794
- },
795
- {
796
- "name": "disabled",
797
- "description": "If true, disables the link",
798
- "values": []
799
- },
800
- {
801
- "name": "download",
802
- "description": "If defined, downloads the url",
803
- "values": []
804
- },
805
- {
806
- "name": "href",
807
- "description": "If defined, loads url on click",
808
- "values": []
809
- },
810
- {
811
- "name": "icon",
812
- "description": "If defined, renders an icon before or after the text",
813
- "values": [{ "name": "Icon" }]
814
- },
815
- {
816
- "name": "icon-placement",
817
- "description": "Defines the position of the icon in relation to the text",
818
- "values": [{ "name": "left" }, { "name": "right" }]
819
- },
820
- {
821
- "name": "rel",
822
- "description": "If defined, describes the relationship between a linked resource and the current document",
823
- "values": []
824
- },
825
- {
826
- "name": "route",
827
- "description": "If defined, used on conjunction with onClick property, second argument",
828
- "values": []
829
- },
830
- {
831
- "name": "stretch",
832
- "description": "If true, fills the parents horizontal axis",
833
- "values": []
834
- },
835
- {
836
- "name": "target",
837
- "description": "If defined, specifies where to open the linked document",
838
- "values": [
839
- { "name": "_blank" },
840
- { "name": "_parent" },
841
- { "name": "_self" },
842
- { "name": "_top" }
843
- ]
844
- },
845
- {
846
- "name": "type",
847
- "description": "Defines the type of button",
848
- "values": [{ "name": "SkfLinkType" }]
849
- }
850
- ],
851
- "references": []
852
- },
853
853
  {
854
854
  "name": "skf-menu-item",
855
- "description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
855
+ "description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The component's main content",
856
856
  "attributes": [
857
857
  {
858
858
  "name": "as",
859
859
  "description": "Defines the semantic element to render",
860
- "values": [{ "name": "button" }, { "name": "a" }]
860
+ "values": [{ "name": "button" }, { "name": "link" }]
861
861
  },
862
862
  {
863
863
  "name": "color",
864
864
  "description": "Defines the text-color",
865
- "values": [{ "name": "primary" }, { "name": "inverse" }]
865
+ "values": [{ "name": "Color" }]
866
866
  },
867
867
  {
868
868
  "name": "disabled",
@@ -885,9 +885,9 @@
885
885
  "values": [{ "name": "Icon" }]
886
886
  },
887
887
  {
888
- "name": "icon-placement",
889
- "description": "Defines the position of the icon in relation to the text",
890
- "values": [{ "name": "left" }, { "name": "right" }]
888
+ "name": "icon-right",
889
+ "description": "If true, the icon is placed to the right in relation to the text",
890
+ "values": []
891
891
  },
892
892
  {
893
893
  "name": "rel",
@@ -896,7 +896,7 @@
896
896
  },
897
897
  {
898
898
  "name": "route",
899
- "description": "If defined, used on conjunction with onClick property, second argument",
899
+ "description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
900
900
  "values": []
901
901
  },
902
902
  {
@@ -913,18 +913,13 @@
913
913
  { "name": "_self" },
914
914
  { "name": "_top" }
915
915
  ]
916
- },
917
- {
918
- "name": "type",
919
- "description": "Defines the type of button",
920
- "values": [{ "name": "SkfLinkType" }]
921
916
  }
922
917
  ],
923
918
  "references": []
924
919
  },
925
920
  {
926
921
  "name": "skf-menu",
927
- "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 popover content",
922
+ "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",
928
923
  "attributes": [
929
924
  {
930
925
  "name": "placement",
@@ -952,18 +947,9 @@
952
947
  ],
953
948
  "references": []
954
949
  },
955
- {
956
- "name": "skf-nav-item",
957
- "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",
958
- "attributes": [
959
- { "name": "href", "values": [] },
960
- { "name": "icon", "values": [{ "name": "Icon" }] }
961
- ],
962
- "references": []
963
- },
964
950
  {
965
951
  "name": "skf-popover",
966
- "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 menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
952
+ "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",
967
953
  "attributes": [
968
954
  {
969
955
  "name": "placement",
@@ -985,7 +971,7 @@
985
971
  },
986
972
  {
987
973
  "name": "anchor",
988
- "description": "The id of the element the menu will be anchored to",
974
+ "description": "The id of the element the popover will be anchored to",
989
975
  "values": []
990
976
  },
991
977
  {
@@ -1058,13 +1044,13 @@
1058
1044
  "values": []
1059
1045
  },
1060
1046
  {
1061
- "name": "name",
1062
- "description": "If defined, adds name to the input-element",
1063
- "values": []
1047
+ "name": "lang",
1048
+ "description": "Sets the internal language of the component",
1049
+ "values": [{ "name": "Language" }]
1064
1050
  },
1065
1051
  {
1066
- "name": "required-label",
1067
- "description": "If defined, renders an alternative A11y text for the asterisk",
1052
+ "name": "name",
1053
+ "description": "If defined, adds name to the input-element",
1068
1054
  "values": []
1069
1055
  },
1070
1056
  {
@@ -1145,6 +1131,11 @@
1145
1131
  "description": "If defined, gives the supplied appearance",
1146
1132
  "values": [{ "name": "Severity" }]
1147
1133
  },
1134
+ {
1135
+ "name": "lang",
1136
+ "description": "Sets the internal language of the component",
1137
+ "values": [{ "name": "Language" }]
1138
+ },
1148
1139
  {
1149
1140
  "name": "removable",
1150
1141
  "description": "If true, adds trailing button to remove tag",
@@ -1155,7 +1146,7 @@
1155
1146
  },
1156
1147
  {
1157
1148
  "name": "skf-select",
1158
- "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",
1149
+ "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-update-calendar-view** - Fires when the calendar view is updated\n\n### **Slots:**\n - _default_ - The select's placeholder content",
1159
1150
  "attributes": [
1160
1151
  {
1161
1152
  "name": "disabled",
@@ -1197,6 +1188,11 @@
1197
1188
  "description": "If defined, displays provided label",
1198
1189
  "values": []
1199
1190
  },
1191
+ {
1192
+ "name": "lang",
1193
+ "description": "Sets the internal language of the component",
1194
+ "values": [{ "name": "Language" }]
1195
+ },
1200
1196
  {
1201
1197
  "name": "max",
1202
1198
  "description": "If defined, limits the number of selectable options",
@@ -1217,11 +1213,6 @@
1217
1213
  "description": "If defined, set name of the component",
1218
1214
  "values": []
1219
1215
  },
1220
- {
1221
- "name": "required-label",
1222
- "description": "If defined, renders an alternative A11y text for the asterisk",
1223
- "values": []
1224
- },
1225
1216
  {
1226
1217
  "name": "severity",
1227
1218
  "description": "If defined, displays provided severity state",
@@ -1242,7 +1233,7 @@
1242
1233
  },
1243
1234
  {
1244
1235
  "name": "skf-select-option",
1245
- "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).",
1236
+ "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).",
1246
1237
  "attributes": [
1247
1238
  {
1248
1239
  "name": "disabled",
@@ -1271,7 +1262,7 @@
1271
1262
  },
1272
1263
  {
1273
1264
  "name": "value",
1274
- "description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
1265
+ "description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text.",
1275
1266
  "values": []
1276
1267
  }
1277
1268
  ],
@@ -1349,13 +1340,13 @@
1349
1340
  "values": []
1350
1341
  },
1351
1342
  {
1352
- "name": "name",
1353
- "description": "If defined, adds name to the input-element",
1354
- "values": []
1343
+ "name": "lang",
1344
+ "description": "Sets the internal language of the component",
1345
+ "values": [{ "name": "Language" }]
1355
1346
  },
1356
1347
  {
1357
- "name": "required-label",
1358
- "description": "If defined, renders an alternative A11y text for the asterisk",
1348
+ "name": "name",
1349
+ "description": "If defined, adds name to the input-element",
1359
1350
  "values": []
1360
1351
  },
1361
1352
  {
@@ -1467,6 +1458,11 @@
1467
1458
  "description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
1468
1459
  "values": []
1469
1460
  },
1461
+ {
1462
+ "name": "lang",
1463
+ "description": "Sets the internal language of the component",
1464
+ "values": [{ "name": "Language" }]
1465
+ },
1470
1466
  {
1471
1467
  "name": "name",
1472
1468
  "description": "If defined, adds name to the input-element",
@@ -1492,11 +1488,6 @@
1492
1488
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
1493
1489
  "values": []
1494
1490
  },
1495
- {
1496
- "name": "required-label",
1497
- "description": "If defined, renders an alternative A11y text for the asterisk",
1498
- "values": []
1499
- },
1500
1491
  {
1501
1492
  "name": "rows",
1502
1493
  "description": "If defined, sets the rows of the textarea",
@@ -1575,7 +1566,7 @@
1575
1566
  },
1576
1567
  {
1577
1568
  "name": "skf-tooltip",
1578
- "description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the dropdown is opened\n- **skf-closed** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
1569
+ "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",
1579
1570
  "attributes": [
1580
1571
  {
1581
1572
  "name": "placement",