@skf-design-system/ui-components 1.0.2-beta.2 → 1.0.2-beta.3

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 (107) hide show
  1. package/README.md +7 -1
  2. package/dist/components/accordion/accordion-item.component.js +49 -38
  3. package/dist/components/accordion/accordion.component.d.ts +1 -1
  4. package/dist/components/accordion/accordion.component.js +10 -10
  5. package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -2
  6. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
  7. package/dist/components/card/card.component.js +3 -3
  8. package/dist/components/card/card.styles.js +29 -13
  9. package/dist/components/{date-picker/datepicker.calendar.component.d.ts → datepicker/datepicker-calendar.component.d.ts} +4 -1
  10. package/dist/components/{date-picker/datepicker.calendar.component.js → datepicker/datepicker-calendar.component.js} +7 -7
  11. package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
  12. package/dist/components/datepicker/datepicker-calendar.js +6 -0
  13. package/dist/components/{date-picker/datepicker.component.d.ts → datepicker/datepicker-popup.component.d.ts} +5 -20
  14. package/dist/components/{date-picker/datepicker.component.js → datepicker/datepicker-popup.component.js} +12 -12
  15. package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
  16. package/dist/components/{date-picker/datepicker.helpers.d.ts → datepicker/datepicker-popup.helpers.d.ts} +3 -3
  17. package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
  18. package/dist/components/datepicker/datepicker-popup.js +6 -0
  19. package/dist/components/{date-picker/datepicker.styles.js → datepicker/datepicker-popup.styles.js} +3 -3
  20. package/dist/components/{date-picker-input/datepicker-input.component.d.ts → datepicker/datepicker.component.d.ts} +17 -12
  21. package/dist/components/{date-picker-input/datepicker-input.component.js → datepicker/datepicker.component.js} +110 -97
  22. package/dist/components/datepicker/datepicker.d.ts +8 -0
  23. package/dist/components/datepicker/datepicker.js +6 -0
  24. package/dist/components/dialog/dialog.component.js +1 -1
  25. package/dist/components/dialog/dialog.d.ts +2 -2
  26. package/dist/components/drawer/drawer.d.ts +2 -2
  27. package/dist/components/header/header.d.ts +2 -2
  28. package/dist/components/heading/heading.component.js +36 -22
  29. package/dist/components/input/input.component.js +26 -26
  30. package/dist/components/menu/menu-item.d.ts +2 -2
  31. package/dist/components/menu/menu.d.ts +2 -2
  32. package/dist/components/nav/nav-item.component.d.ts +2 -2
  33. package/dist/components/nav/nav.d.ts +2 -2
  34. package/dist/components/popover/popover.component.js +1 -1
  35. package/dist/components/popover/popover.d.ts +2 -2
  36. package/dist/components/progress/progress.d.ts +2 -2
  37. package/dist/components/progress/progress.styles.js +8 -6
  38. package/dist/components/segmented-button/segmented-button-item.d.ts +2 -2
  39. package/dist/components/segmented-button/segmented-button.d.ts +2 -2
  40. package/dist/components/select/select-option-group.d.ts +2 -2
  41. package/dist/components/select/select-option.component.d.ts +2 -2
  42. package/dist/components/select/select-option.component.js +1 -1
  43. package/dist/components/select/select.component.d.ts +2 -2
  44. package/dist/components/select/select.component.js +2 -2
  45. package/dist/components/select/select.controllers.js +11 -14
  46. package/dist/components/stepper/stepper-item.component.js +47 -47
  47. package/dist/components/stepper/stepper-item.d.ts +2 -2
  48. package/dist/components/stepper/stepper.d.ts +2 -2
  49. package/dist/components/switch/switch.d.ts +2 -2
  50. package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
  51. package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
  52. package/dist/components/{tab → tabs}/tab.d.ts +2 -2
  53. package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
  54. package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +35 -36
  55. package/dist/components/tabs/tabs.d.ts +8 -0
  56. package/dist/components/tabs/tabs.js +6 -0
  57. package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
  58. package/dist/components/tag/tag.component.d.ts +1 -1
  59. package/dist/components/tag/tag.component.js +23 -40
  60. package/dist/components/tag/tag.d.ts +2 -2
  61. package/dist/components/tag/tag.styles.js +63 -50
  62. package/dist/components/tooltip/tooltip.d.ts +2 -2
  63. package/dist/custom-elements.json +60 -93
  64. package/dist/index.d.ts +6 -5
  65. package/dist/index.js +96 -93
  66. package/dist/internal/base-classes/popover/popover.base.js +1 -1
  67. package/dist/internal/components/skf-element.d.ts +1 -3
  68. package/dist/internal/components/skf-element.js +4 -9
  69. package/dist/styles/{global-without-fonts.css → global-alt.css} +1 -1
  70. package/dist/styles/global.css +1 -1
  71. package/dist/types/jsx/custom-element-jsx.d.ts +78 -39
  72. package/dist/types/vue/index.d.ts +78 -39
  73. package/dist/vscode.html-custom-data.json +97 -11
  74. package/dist/web-types.json +196 -45
  75. package/package.json +9 -15
  76. package/dist/components/accordion/accordion-item.test.d.ts +0 -1
  77. package/dist/components/accordion/accordion.test.d.ts +0 -1
  78. package/dist/components/checkbox/checkbox.test.d.ts +0 -1
  79. package/dist/components/date-picker/datepicker.d.ts +0 -10
  80. package/dist/components/date-picker/datepicker.helpers.js +0 -76
  81. package/dist/components/date-picker/datepicker.js +0 -8
  82. package/dist/components/date-picker-input/datepicker-input.d.ts +0 -8
  83. package/dist/components/date-picker-input/datepicker-input.js +0 -6
  84. package/dist/components/input/input.test.d.ts +0 -1
  85. package/dist/components/radio/radio.test.d.ts +0 -1
  86. package/dist/components/switch/switch.test.d.ts +0 -1
  87. package/dist/components/tab-group/tab-group.d.ts +0 -8
  88. package/dist/components/tab-group/tab-group.js +0 -6
  89. package/dist/internal/playwright/index.d.ts +0 -1
  90. /package/dist/components/{date-picker/datepicker.calendar.styles.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
  91. /package/dist/components/{date-picker/datepicker.calendar.styles.js → datepicker/datepicker-calendar.styles.js} +0 -0
  92. /package/dist/components/{date-picker/datepicker.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
  93. /package/dist/components/{date-picker-input/datepicker-input.helpers.d.ts → datepicker/datepicker.helpers.d.ts} +0 -0
  94. /package/dist/components/{date-picker-input/datepicker-input.helpers.js → datepicker/datepicker.helpers.js} +0 -0
  95. /package/dist/components/{date-picker-input/datepicker-input.styles.d.ts → datepicker/datepicker.styles.d.ts} +0 -0
  96. /package/dist/components/{date-picker-input/datepicker-input.styles.js → datepicker/datepicker.styles.js} +0 -0
  97. /package/dist/components/select/{select.stories.icons.d.ts → stories/select.stories.icons.d.ts} +0 -0
  98. /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
  99. /package/dist/components/{tab-panel → tabs}/tab-panel.component.js +0 -0
  100. /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
  101. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.d.ts +0 -0
  102. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
  103. /package/dist/components/{tab → tabs}/tab.component.js +0 -0
  104. /package/dist/components/{tab → tabs}/tab.js +0 -0
  105. /package/dist/components/{tab → tabs}/tab.styles.d.ts +0 -0
  106. /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
  107. /package/dist/components/{tab-group/tab-group.styles.d.ts → tabs/tabs.styles.d.ts} +0 -0
@@ -1488,12 +1488,12 @@
1488
1488
  },
1489
1489
  {
1490
1490
  "kind": "javascript-module",
1491
- "path": "src/components/date-picker/datepicker.calendar.component.ts",
1491
+ "path": "components/datepicker/datepicker-calendar.js",
1492
1492
  "declarations": [
1493
1493
  {
1494
1494
  "kind": "class",
1495
1495
  "description": "",
1496
- "name": "SkfDatePickerCalendar",
1496
+ "name": "SkfDatepickerCalendar",
1497
1497
  "members": [
1498
1498
  {
1499
1499
  "kind": "field",
@@ -1715,40 +1715,31 @@
1715
1715
  "superclass": {
1716
1716
  "name": "SkfElement",
1717
1717
  "package": "@internal/components/skf-element.js"
1718
- }
1718
+ },
1719
+ "tagName": "skf-datepicker-calendar",
1720
+ "customElement": true
1719
1721
  }
1720
1722
  ],
1721
1723
  "exports": [
1722
1724
  {
1723
1725
  "kind": "js",
1724
- "name": "SkfDatePickerCalendar",
1726
+ "name": "SkfDatepickerCalendar",
1725
1727
  "declaration": {
1726
- "name": "SkfDatePickerCalendar",
1727
- "module": "src/components/date-picker/datepicker.calendar.component.ts"
1728
+ "name": "SkfDatepickerCalendar",
1729
+ "module": "src/components/datepicker/datepicker-calendar.component.ts"
1728
1730
  }
1729
1731
  }
1730
- ]
1732
+ ],
1733
+ "typeDefinitionPath": "components/datepicker/datepicker-calendar.d.ts"
1731
1734
  },
1732
1735
  {
1733
1736
  "kind": "javascript-module",
1734
- "path": "components/date-picker/datepicker.js",
1737
+ "path": "src/components/datepicker/datepicker-popup.component.ts",
1735
1738
  "declarations": [
1736
1739
  {
1737
1740
  "kind": "class",
1738
- "description": "A date picker component that allows users to select a date or a range of dates.",
1739
- "name": "SkfDatePicker",
1740
- "cssProperties": [
1741
- {
1742
- "description": "The maximum width of the date picker",
1743
- "name": "--max-width"
1744
- }
1745
- ],
1746
- "slots": [
1747
- {
1748
- "description": "Default hint content placed inside the date picker",
1749
- "name": ""
1750
- }
1751
- ],
1741
+ "description": "",
1742
+ "name": "SkfDatepickerPopup",
1752
1743
  "members": [
1753
1744
  {
1754
1745
  "kind": "field",
@@ -1757,17 +1748,12 @@
1757
1748
  "text": "string"
1758
1749
  },
1759
1750
  "default": "'en-CA'",
1760
- "description": "The locale to use for formatting the date",
1761
1751
  "attribute": "locale",
1762
1752
  "reflects": true
1763
1753
  },
1764
1754
  {
1765
1755
  "kind": "field",
1766
1756
  "name": "date",
1767
- "type": {
1768
- "text": "string"
1769
- },
1770
- "description": "The date to display in the date picker",
1771
1757
  "attribute": "date",
1772
1758
  "reflects": true
1773
1759
  },
@@ -1796,7 +1782,6 @@
1796
1782
  "text": "boolean"
1797
1783
  },
1798
1784
  "default": "false",
1799
- "description": "If true, the date picker will allow the selection of a range of dates",
1800
1785
  "attribute": "range"
1801
1786
  },
1802
1787
  {
@@ -1829,7 +1814,7 @@
1829
1814
  "kind": "field",
1830
1815
  "name": "selectedDateRange",
1831
1816
  "type": {
1832
- "text": "SkfDatePickerDateRange"
1817
+ "text": "SkfDatepickerPopupDateRange"
1833
1818
  },
1834
1819
  "default": "{ start: null, end: null, }"
1835
1820
  },
@@ -1852,16 +1837,6 @@
1852
1837
  "description": "Navigates to the given date."
1853
1838
  }
1854
1839
  ],
1855
- "events": [
1856
- {
1857
- "description": "When a date is selected",
1858
- "name": "selected-date-changed"
1859
- },
1860
- {
1861
- "description": "When a range of dates is selected",
1862
- "name": "selected-date-range-changed"
1863
- }
1864
- ],
1865
1840
  "attributes": [
1866
1841
  {
1867
1842
  "name": "locale",
@@ -1869,15 +1844,10 @@
1869
1844
  "text": "string"
1870
1845
  },
1871
1846
  "default": "'en-CA'",
1872
- "description": "The locale to use for formatting the date",
1873
1847
  "fieldName": "locale"
1874
1848
  },
1875
1849
  {
1876
1850
  "name": "date",
1877
- "type": {
1878
- "text": "string"
1879
- },
1880
- "description": "The date to display in the date picker",
1881
1851
  "fieldName": "date"
1882
1852
  },
1883
1853
  {
@@ -1902,7 +1872,6 @@
1902
1872
  "text": "boolean"
1903
1873
  },
1904
1874
  "default": "false",
1905
- "description": "If true, the date picker will allow the selection of a range of dates",
1906
1875
  "fieldName": "range"
1907
1876
  },
1908
1877
  {
@@ -1925,31 +1894,28 @@
1925
1894
  "superclass": {
1926
1895
  "name": "SkfElement",
1927
1896
  "package": "@internal/components/skf-element.js"
1928
- },
1929
- "tagName": "skf-datepicker",
1930
- "customElement": true
1897
+ }
1931
1898
  }
1932
1899
  ],
1933
1900
  "exports": [
1934
1901
  {
1935
1902
  "kind": "js",
1936
- "name": "SkfDatePicker",
1903
+ "name": "SkfDatepickerPopup",
1937
1904
  "declaration": {
1938
- "name": "SkfDatePicker",
1939
- "module": "src/components/date-picker/datepicker.component.ts"
1905
+ "name": "SkfDatepickerPopup",
1906
+ "module": "src/components/datepicker/datepicker-popup.component.ts"
1940
1907
  }
1941
1908
  }
1942
- ],
1943
- "typeDefinitionPath": "components/date-picker/datepicker.d.ts"
1909
+ ]
1944
1910
  },
1945
1911
  {
1946
1912
  "kind": "javascript-module",
1947
- "path": "src/components/date-picker-input/datepicker-input.component.ts",
1913
+ "path": "components/datepicker/datepicker.js",
1948
1914
  "declarations": [
1949
1915
  {
1950
1916
  "kind": "class",
1951
1917
  "description": "",
1952
- "name": "SkfDatePickerInput",
1918
+ "name": "SkfDatepicker",
1953
1919
  "members": [
1954
1920
  {
1955
1921
  "kind": "field",
@@ -2124,16 +2090,12 @@
2124
2090
  },
2125
2091
  {
2126
2092
  "kind": "field",
2127
- "name": "abortController",
2128
- "default": "new AbortController()"
2129
- },
2130
- {
2131
- "kind": "field",
2132
- "name": "abortSignal"
2093
+ "name": "_handleSelectedDate",
2094
+ "privacy": "private"
2133
2095
  },
2134
2096
  {
2135
- "kind": "field",
2136
- "name": "_handleSelectedDate"
2097
+ "kind": "method",
2098
+ "name": "_handleValueChange"
2137
2099
  },
2138
2100
  {
2139
2101
  "kind": "field",
@@ -2141,19 +2103,15 @@
2141
2103
  "privacy": "private"
2142
2104
  },
2143
2105
  {
2144
- "kind": "field",
2106
+ "kind": "method",
2145
2107
  "name": "showPopover"
2146
2108
  },
2147
2109
  {
2148
- "kind": "field",
2110
+ "kind": "method",
2149
2111
  "name": "hidePopover"
2150
2112
  },
2151
2113
  {
2152
2114
  "kind": "method",
2153
- "name": "_handleValueChange"
2154
- },
2155
- {
2156
- "kind": "field",
2157
2115
  "name": "clear",
2158
2116
  "description": "Clears the input field"
2159
2117
  }
@@ -2298,19 +2256,22 @@
2298
2256
  "superclass": {
2299
2257
  "name": "FormBase",
2300
2258
  "package": "@internal/components/formBase.js"
2301
- }
2259
+ },
2260
+ "tagName": "skf-datepicker",
2261
+ "customElement": true
2302
2262
  }
2303
2263
  ],
2304
2264
  "exports": [
2305
2265
  {
2306
2266
  "kind": "js",
2307
- "name": "SkfDatePickerInput",
2267
+ "name": "SkfDatepicker",
2308
2268
  "declaration": {
2309
- "name": "SkfDatePickerInput",
2310
- "module": "src/components/date-picker-input/datepicker-input.component.ts"
2269
+ "name": "SkfDatepicker",
2270
+ "module": "src/components/datepicker/datepicker.component.ts"
2311
2271
  }
2312
2272
  }
2313
- ]
2273
+ ],
2274
+ "typeDefinitionPath": "components/datepicker/datepicker.d.ts"
2314
2275
  },
2315
2276
  {
2316
2277
  "kind": "javascript-module",
@@ -4441,9 +4402,12 @@
4441
4402
  "kind": "field",
4442
4403
  "name": "icon",
4443
4404
  "type": {
4444
- "text": "SkfLink['icon'] | undefined"
4405
+ "text": "Icon | undefined"
4445
4406
  },
4446
- "attribute": "icon"
4407
+ "attribute": "icon",
4408
+ "expandedType": {
4409
+ "text": "'addCircleOutline' | 'addCircle' | 'addPlus' | 'arrowBackIos' | 'arrowBack' | 'arrowDown' | 'arrowForwardIos' | 'arrowForward' | 'arrowLeft' | 'arrowRight' | 'arrowUpDown' | 'arrowUp' | 'article' | 'asset' | 'attachment' | 'bandCursor' | 'bands' | 'batteryEmpty' | 'batteryFull' | 'batteryLow' | 'bearingFault' | 'bluetoothDisabled' | 'bluetooth' | 'book' | 'bookmarkOutline' | 'bookmark' | 'calculator' | 'calendarBusy' | 'calendarCheck' | 'calendarEmpty' | 'calendarMonth' | 'calendarReccuring' | 'call' | 'caretDown' | 'caretUpDown' | 'caretUp' | 'chat' | 'checkCircleOutline' | 'checkCircle' | 'checkSmall' | 'check' | 'chevronDownUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUpDown' | 'chevronUp' | 'chip' | 'circleStatus' | 'closeAll' | 'closeAlt' | 'close' | 'columnGraph' | 'comment' | 'connection0' | 'connection1' | 'connection2' | 'connection3' | 'connection4' | 'contentPaste' | 'copy' | 'cpmCyclesPerMinute' | 'dangerOutline' | 'danger' | 'defectFrequenciesAlt' | 'defectFrequencies' | 'deleteOutline' | 'delete' | 'devices' | 'directions' | 'doubleChevronLeft' | 'doubleChevronRight' | 'downloadDone' | 'download' | 'draftOutline' | 'draft' | 'dragDrop' | 'drop' | 'duplicate' | 'editOutline' | 'edit' | 'emailOutline' | 'emailPdf' | 'email' | 'errorOutline' | 'error' | 'exclamation' | 'facebook' | 'filterOutline' | 'filter' | 'findReplace' | 'forbidden' | 'frequencyHz' | 'fullScreen' | 'fullscreenExit' | 'functionalGroup' | 'hamburgerMenu' | 'harmonicCursor' | 'heatmap' | 'hierarchy' | 'history' | 'homeOutline' | 'home' | 'hourglassOutline' | 'hourglass' | 'image' | 'imx' | 'infoOutline' | 'info' | 'instagram' | 'integration' | 'iosShare' | 'kebabMore' | 'language' | 'lightbulbOutline' | 'lightbulb' | 'link' | 'linkedin' | 'listGroup' | 'list' | 'locationPin' | 'lockOutline' | 'lock' | 'logOut' | 'login' | 'meatballsMoreCircle' | 'meatballsMore' | 'microphone' | 'nearMe' | 'noData' | 'notificationsBellOutline' | 'notificationsBell' | 'o' | 'offer' | 'openInNew' | 'overlaysBaseline' | 'pan360' | 'paper' | 'pause' | 'pdfOutline' | 'pdf' | 'person' | 'photoCameraOutline' | 'photoCamera' | 'pieChart' | 'pinOutline' | 'pin' | 'play' | 'powerOff' | 'printOutline' | 'print' | 'privacyPolicyOutline' | 'privacyPolicy' | 'proCollect' | 'recAction' | 'refresh' | 'removeMinus' | 'reorder' | 'reply' | 'report' | 'rewakableRoute' | 'route' | 'search' | 'sendOutline' | 'send' | 'sensorAlt' | 'sensor' | 'settingsOutline' | 'settings' | 'share' | 'shoppingCart' | 'sidebandCursor' | 'singleCursor' | 'skfBearing' | 'spectrum' | 'starOutline' | 'star' | 'stop' | 'sync' | 'time' | 'timewave' | 'translate' | 'trend' | 'trendingUp' | 'twitter' | 'undo' | 'unknownDiamondOutline' | 'unknownDiamond' | 'unknownOutline' | 'unknown' | 'unlink' | 'unlockOutline' | 'unlock' | 'unscheduledAction' | 'upload' | 'vibrationAlt' | 'vibration' | 'view3D' | 'viewFull' | 'viewHorizontal' | 'viewVertical' | 'visibilityOffOutline' | 'visibilityOff' | 'visibilityOutline' | 'visibility' | 'warningDiamondOutline' | 'warningDiamond' | 'warningOutline' | 'warning' | 'youtube' | 'zoomIn' | 'zoomOut' | undefined"
4410
+ }
4447
4411
  }
4448
4412
  ],
4449
4413
  "attributes": [
@@ -4458,9 +4422,12 @@
4458
4422
  {
4459
4423
  "name": "icon",
4460
4424
  "type": {
4461
- "text": "SkfLink['icon'] | undefined"
4425
+ "text": "Icon | undefined"
4462
4426
  },
4463
- "fieldName": "icon"
4427
+ "fieldName": "icon",
4428
+ "expandedType": {
4429
+ "text": "'addCircleOutline' | 'addCircle' | 'addPlus' | 'arrowBackIos' | 'arrowBack' | 'arrowDown' | 'arrowForwardIos' | 'arrowForward' | 'arrowLeft' | 'arrowRight' | 'arrowUpDown' | 'arrowUp' | 'article' | 'asset' | 'attachment' | 'bandCursor' | 'bands' | 'batteryEmpty' | 'batteryFull' | 'batteryLow' | 'bearingFault' | 'bluetoothDisabled' | 'bluetooth' | 'book' | 'bookmarkOutline' | 'bookmark' | 'calculator' | 'calendarBusy' | 'calendarCheck' | 'calendarEmpty' | 'calendarMonth' | 'calendarReccuring' | 'call' | 'caretDown' | 'caretUpDown' | 'caretUp' | 'chat' | 'checkCircleOutline' | 'checkCircle' | 'checkSmall' | 'check' | 'chevronDownUp' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUpDown' | 'chevronUp' | 'chip' | 'circleStatus' | 'closeAll' | 'closeAlt' | 'close' | 'columnGraph' | 'comment' | 'connection0' | 'connection1' | 'connection2' | 'connection3' | 'connection4' | 'contentPaste' | 'copy' | 'cpmCyclesPerMinute' | 'dangerOutline' | 'danger' | 'defectFrequenciesAlt' | 'defectFrequencies' | 'deleteOutline' | 'delete' | 'devices' | 'directions' | 'doubleChevronLeft' | 'doubleChevronRight' | 'downloadDone' | 'download' | 'draftOutline' | 'draft' | 'dragDrop' | 'drop' | 'duplicate' | 'editOutline' | 'edit' | 'emailOutline' | 'emailPdf' | 'email' | 'errorOutline' | 'error' | 'exclamation' | 'facebook' | 'filterOutline' | 'filter' | 'findReplace' | 'forbidden' | 'frequencyHz' | 'fullScreen' | 'fullscreenExit' | 'functionalGroup' | 'hamburgerMenu' | 'harmonicCursor' | 'heatmap' | 'hierarchy' | 'history' | 'homeOutline' | 'home' | 'hourglassOutline' | 'hourglass' | 'image' | 'imx' | 'infoOutline' | 'info' | 'instagram' | 'integration' | 'iosShare' | 'kebabMore' | 'language' | 'lightbulbOutline' | 'lightbulb' | 'link' | 'linkedin' | 'listGroup' | 'list' | 'locationPin' | 'lockOutline' | 'lock' | 'logOut' | 'login' | 'meatballsMoreCircle' | 'meatballsMore' | 'microphone' | 'nearMe' | 'noData' | 'notificationsBellOutline' | 'notificationsBell' | 'o' | 'offer' | 'openInNew' | 'overlaysBaseline' | 'pan360' | 'paper' | 'pause' | 'pdfOutline' | 'pdf' | 'person' | 'photoCameraOutline' | 'photoCamera' | 'pieChart' | 'pinOutline' | 'pin' | 'play' | 'powerOff' | 'printOutline' | 'print' | 'privacyPolicyOutline' | 'privacyPolicy' | 'proCollect' | 'recAction' | 'refresh' | 'removeMinus' | 'reorder' | 'reply' | 'report' | 'rewakableRoute' | 'route' | 'search' | 'sendOutline' | 'send' | 'sensorAlt' | 'sensor' | 'settingsOutline' | 'settings' | 'share' | 'shoppingCart' | 'sidebandCursor' | 'singleCursor' | 'skfBearing' | 'spectrum' | 'starOutline' | 'star' | 'stop' | 'sync' | 'time' | 'timewave' | 'translate' | 'trend' | 'trendingUp' | 'twitter' | 'undo' | 'unknownDiamondOutline' | 'unknownDiamond' | 'unknownOutline' | 'unknown' | 'unlink' | 'unlockOutline' | 'unlock' | 'unscheduledAction' | 'upload' | 'vibrationAlt' | 'vibration' | 'view3D' | 'viewFull' | 'viewHorizontal' | 'viewVertical' | 'visibilityOffOutline' | 'visibilityOff' | 'visibilityOutline' | 'visibility' | 'warningDiamondOutline' | 'warningDiamond' | 'warningOutline' | 'warning' | 'youtube' | 'zoomIn' | 'zoomOut' | undefined"
4430
+ }
4464
4431
  }
4465
4432
  ],
4466
4433
  "superclass": {
@@ -6278,7 +6245,7 @@
6278
6245
  },
6279
6246
  {
6280
6247
  "kind": "javascript-module",
6281
- "path": "components/tab-panel/tab-panel.js",
6248
+ "path": "components/tabs/tab-panel.js",
6282
6249
  "declarations": [
6283
6250
  {
6284
6251
  "kind": "class",
@@ -6343,20 +6310,20 @@
6343
6310
  "name": "SkfTabPanel",
6344
6311
  "declaration": {
6345
6312
  "name": "SkfTabPanel",
6346
- "module": "src/components/tab-panel/tab-panel.component.ts"
6313
+ "module": "src/components/tabs/tab-panel.component.ts"
6347
6314
  }
6348
6315
  }
6349
6316
  ],
6350
- "typeDefinitionPath": "components/tab-panel/tab-panel.d.ts"
6317
+ "typeDefinitionPath": "components/tabs/tab-panel.d.ts"
6351
6318
  },
6352
6319
  {
6353
6320
  "kind": "javascript-module",
6354
- "path": "components/tab-group/tab-group.js",
6321
+ "path": "components/tabs/tabs.js",
6355
6322
  "declarations": [
6356
6323
  {
6357
6324
  "kind": "class",
6358
- "description": "The `<skf-tab-group>` is a component that displays a list of actions or options.",
6359
- "name": "SkfTabGroup",
6325
+ "description": "The `<skf-tabs>` is a component that displays a list of actions or options",
6326
+ "name": "SkfTabs",
6360
6327
  "slots": [
6361
6328
  {
6362
6329
  "description": "Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements",
@@ -6471,25 +6438,25 @@
6471
6438
  "name": "SkfElement",
6472
6439
  "package": "@internal/components/skf-element"
6473
6440
  },
6474
- "tagName": "skf-tab-group",
6441
+ "tagName": "skf-tabs",
6475
6442
  "customElement": true
6476
6443
  }
6477
6444
  ],
6478
6445
  "exports": [
6479
6446
  {
6480
6447
  "kind": "js",
6481
- "name": "SkfTabGroup",
6448
+ "name": "SkfTabs",
6482
6449
  "declaration": {
6483
- "name": "SkfTabGroup",
6484
- "module": "src/components/tab-group/tab-group.component.ts"
6450
+ "name": "SkfTabs",
6451
+ "module": "src/components/tabs/tabs.component.ts"
6485
6452
  }
6486
6453
  }
6487
6454
  ],
6488
- "typeDefinitionPath": "components/tab-group/tab-group.d.ts"
6455
+ "typeDefinitionPath": "components/tabs/tabs.d.ts"
6489
6456
  },
6490
6457
  {
6491
6458
  "kind": "javascript-module",
6492
- "path": "components/tab/tab.js",
6459
+ "path": "components/tabs/tab.js",
6493
6460
  "declarations": [
6494
6461
  {
6495
6462
  "kind": "class",
@@ -6525,7 +6492,7 @@
6525
6492
  "kind": "field",
6526
6493
  "name": "variant",
6527
6494
  "type": {
6528
- "text": "SkfTabGroup['variant']"
6495
+ "text": "SkfTabs['variant']"
6529
6496
  },
6530
6497
  "default": "'expanded'"
6531
6498
  },
@@ -6576,11 +6543,11 @@
6576
6543
  "name": "SkfTab",
6577
6544
  "declaration": {
6578
6545
  "name": "SkfTab",
6579
- "module": "src/components/tab/tab.component.ts"
6546
+ "module": "src/components/tabs/tab.component.ts"
6580
6547
  }
6581
6548
  }
6582
6549
  ],
6583
- "typeDefinitionPath": "components/tab/tab.d.ts"
6550
+ "typeDefinitionPath": "components/tabs/tab.d.ts"
6584
6551
  },
6585
6552
  {
6586
6553
  "kind": "javascript-module",
package/dist/index.d.ts CHANGED
@@ -6,8 +6,9 @@ export { default as SkfBreadcrumb } from './components/breadcrumb/breadcrumb.js'
6
6
  export { default as SkfButton } from './components/button/button.js';
7
7
  export { default as SkfCard } from './components/card/card.js';
8
8
  export { default as SkfCheckbox } from './components/checkbox/checkbox.js';
9
- export { default as SkfDatePickerInput } from './components/date-picker-input/datepicker-input.js';
10
- export { default as SkfDatePicker } from './components/date-picker/datepicker.js';
9
+ export { default as SkfDatepickerCalendar } from './components/datepicker/datepicker-calendar.js';
10
+ export { default as SkfDatepickerPopup } from './components/datepicker/datepicker-popup.js';
11
+ export { default as SkfDatepicker } from './components/datepicker/datepicker.js';
11
12
  export { default as SkfDialog } from './components/dialog/dialog.js';
12
13
  export { default as SkfDivider } from './components/divider/divider.js';
13
14
  export { default as SkfDrawer } from './components/drawer/drawer.js';
@@ -33,9 +34,9 @@ export { default as SkfSelect } from './components/select/select.js';
33
34
  export { default as SkfStepperItem } from './components/stepper/stepper-item.js';
34
35
  export { default as SkfStepper } from './components/stepper/stepper.js';
35
36
  export { default as SkfSwitch } from './components/switch/switch.js';
36
- export { default as SkfTabGoup } from './components/tab-group/tab-group.js';
37
- export { default as SkfTabPanel } from './components/tab-panel/tab-panel.js';
38
- export { default as SkfTab } from './components/tab/tab.js';
37
+ export { default as SkfTabPanel } from './components/tabs/tab-panel.js';
38
+ export { default as SkfTab } from './components/tabs/tab.js';
39
+ export { default as SkfTabs } from './components/tabs/tabs.js';
39
40
  export { default as SkfTag } from './components/tag/tag.js';
40
41
  export { default as SkfTextArea } from './components/textarea/textarea.js';
41
42
  export { default as SkfToastItem } from './components/toast/toast-item.js';
package/dist/index.js CHANGED
@@ -6,8 +6,9 @@ import "./components/breadcrumb/breadcrumb.js";
6
6
  import "./components/button/button.js";
7
7
  import "./components/card/card.js";
8
8
  import "./components/checkbox/checkbox.js";
9
- import "./components/date-picker-input/datepicker-input.js";
10
- import "./components/date-picker/datepicker.js";
9
+ import "./components/datepicker/datepicker-calendar.js";
10
+ import "./components/datepicker/datepicker-popup.js";
11
+ import "./components/datepicker/datepicker.js";
11
12
  import "./components/dialog/dialog.js";
12
13
  import "./components/divider/divider.js";
13
14
  import "./components/drawer/drawer.js";
@@ -33,102 +34,104 @@ import "./components/select/select.js";
33
34
  import "./components/stepper/stepper-item.js";
34
35
  import "./components/stepper/stepper.js";
35
36
  import "./components/switch/switch.js";
36
- import "./components/tab-group/tab-group.js";
37
- import "./components/tab-panel/tab-panel.js";
38
- import "./components/tab/tab.js";
37
+ import "./components/tabs/tab-panel.js";
38
+ import "./components/tabs/tab.js";
39
+ import "./components/tabs/tabs.js";
39
40
  import "./components/tag/tag.js";
40
41
  import "./components/textarea/textarea.js";
41
42
  import "./components/toast/toast-item.js";
42
43
  import "./components/toast/toast-wrapper.js";
43
44
  import "./components/toast/toast.js";
44
45
  import "./components/tooltip/tooltip.js";
45
- import { SkfAccordionItem as Q } from "./components/accordion/accordion-item.component.js";
46
- import { SkfAccordion as V } from "./components/accordion/accordion.component.js";
47
- import { SkfAlert as Y } from "./components/alert/alert.component.js";
48
- import { SkfBreadcrumbItem as _ } from "./components/breadcrumb/breadcrumb-item.component.js";
49
- import { SkfBreadcrumb as oo } from "./components/breadcrumb/breadcrumb.component.js";
50
- import { SkfButton as to } from "./components/button/button.component.js";
51
- import { SkfCard as mo } from "./components/card/card.component.js";
52
- import { SkfCheckbox as eo } from "./components/checkbox/checkbox.component.js";
53
- import { SkfDatePickerInput as So } from "./components/date-picker-input/datepicker-input.component.js";
54
- import { SkfDatePicker as xo } from "./components/date-picker/datepicker.component.js";
55
- import { SkfDialog as no } from "./components/dialog/dialog.component.js";
56
- import { SkfDivider as uo } from "./components/divider/divider.component.js";
57
- import { SkfDrawer as To } from "./components/drawer/drawer.component.js";
58
- import { SkfHeader as bo } from "./components/header/header.component.js";
59
- import { SkfHeading as lo } from "./components/heading/heading.component.js";
60
- import { SkfIcon as Do } from "./components/icon/icon.component.js";
61
- import { SkfInput as vo } from "./components/input/input.component.js";
62
- import { SkfLink as Go } from "./components/link/link.component.js";
63
- import { SkfLoader as Lo } from "./components/loader/loader.component.js";
64
- import { SkfLogo as wo } from "./components/logo/logo.component.js";
65
- import { SkfMenuItem as Ho } from "./components/menu/menu-item.component.js";
66
- import { SkfMenu as No } from "./components/menu/menu.component.js";
67
- import { SkfNavItem as Wo } from "./components/nav/nav-item.component.js";
68
- import { SkfNav as qo } from "./components/nav/nav.component.js";
69
- import { SkfPopover as zo } from "./components/popover/popover.component.js";
70
- import { SkfProgress as Fo } from "./components/progress/progress.component.js";
71
- import { SkfRadio as Ko } from "./components/radio/radio.component.js";
72
- import { SkfSegmentedButtonItem as Uo } from "./components/segmented-button/segmented-button-item.component.js";
73
- import { SkfSegmentedButton as Xo } from "./components/segmented-button/segmented-button.component.js";
74
- import { SkfSelectOptionGroup as Zo } from "./components/select/select-option-group.component.js";
75
- import { SkfSelectOption as $o } from "./components/select/select-option.component.js";
76
- import { SkfSelect as rr } from "./components/select/select.component.js";
77
- import { SkfStepperItem as pr } from "./components/stepper/stepper-item.component.js";
78
- import { SkfStepper as fr } from "./components/stepper/stepper.component.js";
79
- import { SkfSwitch as ir } from "./components/switch/switch.component.js";
80
- import { SkfTabGroup as kr } from "./components/tab-group/tab-group.component.js";
81
- import { SkfTabPanel as ar } from "./components/tab-panel/tab-panel.component.js";
82
- import { SkfTab as cr } from "./components/tab/tab.component.js";
83
- import { SkfTag as dr } from "./components/tag/tag.component.js";
84
- import { SkfTextArea as Tr } from "./components/textarea/textarea.component.js";
85
- import { SkfToastItem as br } from "./components/toast/toast-item.component.js";
86
- import { SkfToastWrapper as lr } from "./components/toast/toast-wrapper.component.js";
87
- import { SkfToast as Dr } from "./components/toast/toast.component.js";
88
- import { SkfTooltip as vr } from "./components/tooltip/tooltip.component.js";
46
+ import { SkfAccordionItem as U } from "./components/accordion/accordion-item.component.js";
47
+ import { SkfAccordion as X } from "./components/accordion/accordion.component.js";
48
+ import { SkfAlert as Z } from "./components/alert/alert.component.js";
49
+ import { SkfBreadcrumbItem as $ } from "./components/breadcrumb/breadcrumb-item.component.js";
50
+ import { SkfBreadcrumb as ro } from "./components/breadcrumb/breadcrumb.component.js";
51
+ import { SkfButton as po } from "./components/button/button.component.js";
52
+ import { SkfCard as eo } from "./components/card/card.component.js";
53
+ import { SkfCheckbox as io } from "./components/checkbox/checkbox.component.js";
54
+ import { SkfDatepickerCalendar as ko } from "./components/datepicker/datepicker-calendar.component.js";
55
+ import { SkfDatepickerPopup as ao } from "./components/datepicker/datepicker-popup.component.js";
56
+ import { SkfDatepicker as co } from "./components/datepicker/datepicker.component.js";
57
+ import { SkfDialog as Io } from "./components/dialog/dialog.component.js";
58
+ import { SkfDivider as lo } from "./components/divider/divider.component.js";
59
+ import { SkfDrawer as go } from "./components/drawer/drawer.component.js";
60
+ import { SkfHeader as Do } from "./components/header/header.component.js";
61
+ import { SkfHeading as vo } from "./components/heading/heading.component.js";
62
+ import { SkfIcon as Oo } from "./components/icon/icon.component.js";
63
+ import { SkfInput as Co } from "./components/input/input.component.js";
64
+ import { SkfLink as ho } from "./components/link/link.component.js";
65
+ import { SkfLoader as Go } from "./components/loader/loader.component.js";
66
+ import { SkfLogo as Mo } from "./components/logo/logo.component.js";
67
+ import { SkfMenuItem as Ro } from "./components/menu/menu-item.component.js";
68
+ import { SkfMenu as jo } from "./components/menu/menu.component.js";
69
+ import { SkfNavItem as yo } from "./components/nav/nav-item.component.js";
70
+ import { SkfNav as Eo } from "./components/nav/nav.component.js";
71
+ import { SkfPopover as Jo } from "./components/popover/popover.component.js";
72
+ import { SkfProgress as Qo } from "./components/progress/progress.component.js";
73
+ import { SkfRadio as Vo } from "./components/radio/radio.component.js";
74
+ import { SkfSegmentedButtonItem as Yo } from "./components/segmented-button/segmented-button-item.component.js";
75
+ import { SkfSegmentedButton as _o } from "./components/segmented-button/segmented-button.component.js";
76
+ import { SkfSelectOptionGroup as or } from "./components/select/select-option-group.component.js";
77
+ import { SkfSelectOption as tr } from "./components/select/select-option.component.js";
78
+ import { SkfSelect as mr } from "./components/select/select.component.js";
79
+ import { SkfStepperItem as fr } from "./components/stepper/stepper-item.component.js";
80
+ import { SkfStepper as Sr } from "./components/stepper/stepper.component.js";
81
+ import { SkfSwitch as xr } from "./components/switch/switch.component.js";
82
+ import { SkfTabPanel as nr } from "./components/tabs/tab-panel.component.js";
83
+ import { SkfTab as dr } from "./components/tabs/tab.component.js";
84
+ import { SkfTabs as Ir } from "./components/tabs/tabs.component.js";
85
+ import { SkfTag as lr } from "./components/tag/tag.component.js";
86
+ import { SkfTextArea as gr } from "./components/textarea/textarea.component.js";
87
+ import { SkfToastItem as Dr } from "./components/toast/toast-item.component.js";
88
+ import { SkfToastWrapper as vr } from "./components/toast/toast-wrapper.component.js";
89
+ import { SkfToast as Or } from "./components/toast/toast.component.js";
90
+ import { SkfTooltip as Cr } from "./components/tooltip/tooltip.component.js";
89
91
  export {
90
- V as SkfAccordion,
91
- Q as SkfAccordionItem,
92
- Y as SkfAlert,
93
- oo as SkfBreadcrumb,
94
- _ as SkfBreadcrumbItem,
95
- to as SkfButton,
96
- mo as SkfCard,
97
- eo as SkfCheckbox,
98
- xo as SkfDatePicker,
99
- So as SkfDatePickerInput,
100
- no as SkfDialog,
101
- uo as SkfDivider,
102
- To as SkfDrawer,
103
- bo as SkfHeader,
104
- lo as SkfHeading,
105
- Do as SkfIcon,
106
- vo as SkfInput,
107
- Go as SkfLink,
108
- Lo as SkfLoader,
109
- wo as SkfLogo,
110
- No as SkfMenu,
111
- Ho as SkfMenuItem,
112
- qo as SkfNav,
113
- Wo as SkfNavItem,
114
- $o as SkfOption,
115
- Zo as SkfOptionGroup,
116
- zo as SkfPopover,
117
- Fo as SkfProgress,
118
- Ko as SkfRadio,
119
- Xo as SkfSegmentedButton,
120
- Uo as SkfSegmentedButtonItem,
121
- rr as SkfSelect,
122
- fr as SkfStepper,
123
- pr as SkfStepperItem,
124
- ir as SkfSwitch,
125
- cr as SkfTab,
126
- kr as SkfTabGoup,
127
- ar as SkfTabPanel,
128
- dr as SkfTag,
129
- Tr as SkfTextArea,
130
- Dr as SkfToast,
131
- br as SkfToastItem,
132
- lr as SkfToastWrapper,
133
- vr as SkfTooltip
92
+ X as SkfAccordion,
93
+ U as SkfAccordionItem,
94
+ Z as SkfAlert,
95
+ ro as SkfBreadcrumb,
96
+ $ as SkfBreadcrumbItem,
97
+ po as SkfButton,
98
+ eo as SkfCard,
99
+ io as SkfCheckbox,
100
+ co as SkfDatepicker,
101
+ ko as SkfDatepickerCalendar,
102
+ ao as SkfDatepickerPopup,
103
+ Io as SkfDialog,
104
+ lo as SkfDivider,
105
+ go as SkfDrawer,
106
+ Do as SkfHeader,
107
+ vo as SkfHeading,
108
+ Oo as SkfIcon,
109
+ Co as SkfInput,
110
+ ho as SkfLink,
111
+ Go as SkfLoader,
112
+ Mo as SkfLogo,
113
+ jo as SkfMenu,
114
+ Ro as SkfMenuItem,
115
+ Eo as SkfNav,
116
+ yo as SkfNavItem,
117
+ tr as SkfOption,
118
+ or as SkfOptionGroup,
119
+ Jo as SkfPopover,
120
+ Qo as SkfProgress,
121
+ Vo as SkfRadio,
122
+ _o as SkfSegmentedButton,
123
+ Yo as SkfSegmentedButtonItem,
124
+ mr as SkfSelect,
125
+ Sr as SkfStepper,
126
+ fr as SkfStepperItem,
127
+ xr as SkfSwitch,
128
+ dr as SkfTab,
129
+ nr as SkfTabPanel,
130
+ Ir as SkfTabs,
131
+ lr as SkfTag,
132
+ gr as SkfTextArea,
133
+ Or as SkfToast,
134
+ Dr as SkfToastItem,
135
+ vr as SkfToastWrapper,
136
+ Cr as SkfTooltip
134
137
  };
@@ -78,7 +78,7 @@ const s = (p = class extends S {
78
78
  t && i || this.close();
79
79
  },
80
80
  { signal: this.signal }
81
- ), this.$popover.id = _(this.$anchor.id), ["popup", "menu"].includes(this.variant) && (this.$anchor.setAttribute("aria-haspopup", "true"), this.setAttribute("aria-labelledby", this.$anchor.id)), ["menu"].includes(this.variant) && this.$anchor.setAttribute("aria-controls", this.$popover.id), ["popup"].includes(this.variant) && t && (this.role = "dialog", this.setAttribute("aria-modal", "false")), ["tooltip"].includes(this.variant) && this.$anchor.addEventListener("focusin", this.open.bind(this), { signal: this.signal });
81
+ ), this.$popover.id = _(this.$anchor.id), ["popup", "menu"].includes(this.variant) && (this.$anchor.setAttribute("aria-haspopup", "true"), this.setAttribute("aria-labelledby", this.$anchor.id)), ["menu"].includes(this.variant) && this.$anchor.setAttribute("aria-controls", this.$popover.id), ["popup"].includes(this.variant) && t && (this.role = "dialog"), ["tooltip"].includes(this.variant) && this.$anchor.addEventListener("focusin", this.open.bind(this), { signal: this.signal });
82
82
  }
83
83
  open(t) {
84
84
  t.stopPropagation(), this._toggleOpen(!0), document.addEventListener("keydown", this.handleEscapeKey.bind(this), { signal: this.signal }), this.openExtended();