@skf-design-system/ui-components 1.0.0-alpha.34 → 1.0.0-alpha.35

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 (349) hide show
  1. package/README.md +20 -27
  2. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  3. package/dist/components/accordion/accordion-item.component.js +98 -0
  4. package/dist/components/accordion/accordion-item.d.ts +3 -3
  5. package/dist/components/accordion/accordion-item.js +4 -5
  6. package/dist/components/accordion/accordion-item.styles.js +77 -0
  7. package/dist/components/accordion/accordion.component.d.ts +9 -13
  8. package/dist/components/accordion/accordion.component.js +8 -9
  9. package/dist/components/accordion/accordion.d.ts +0 -1
  10. package/dist/components/accordion/accordion.js +0 -2
  11. package/dist/components/alert/alert.component.d.ts +12 -12
  12. package/dist/components/alert/alert.component.js +57 -55
  13. package/dist/components/alert/alert.styles.js +50 -51
  14. package/dist/components/breadcrumb/breadcrumb-item.component.js +60 -0
  15. package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +2 -2
  16. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  17. package/dist/components/breadcrumb/breadcrumb-item.styles.js +63 -0
  18. package/dist/components/breadcrumb/breadcrumb.component.d.ts +7 -4
  19. package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
  20. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
  21. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  22. package/dist/components/breadcrumb/breadcrumb.styles.js +25 -0
  23. package/dist/components/button/button.component.d.ts +17 -14
  24. package/dist/components/button/button.component.js +73 -61
  25. package/dist/components/button/button.styles.d.ts +1 -2
  26. package/dist/components/button/button.styles.js +13 -3
  27. package/dist/components/card/card.component.d.ts +4 -1
  28. package/dist/components/card/card.component.js +46 -36
  29. package/dist/components/card/card.styles.js +36 -23
  30. package/dist/components/checkbox/checkbox.component.d.ts +17 -13
  31. package/dist/components/checkbox/checkbox.component.js +74 -61
  32. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  33. package/dist/components/checkbox/checkbox.styles.js +1 -5
  34. package/dist/components/datepicker/datepicker-calendar.component.d.ts +80 -0
  35. package/dist/components/datepicker/datepicker-calendar.component.js +415 -0
  36. package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
  37. package/dist/components/datepicker/datepicker-calendar.js +6 -0
  38. package/dist/components/datepicker/datepicker-calendar.styles.js +202 -0
  39. package/dist/components/datepicker/datepicker-popup.component.d.ts +64 -0
  40. package/dist/components/datepicker/datepicker-popup.component.js +261 -0
  41. package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
  42. package/dist/components/datepicker/datepicker-popup.helpers.d.ts +41 -0
  43. package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
  44. package/dist/components/datepicker/datepicker-popup.js +6 -0
  45. package/dist/components/datepicker/datepicker-popup.styles.js +87 -0
  46. package/dist/components/datepicker/datepicker.component.d.ts +121 -0
  47. package/dist/components/datepicker/datepicker.component.js +455 -0
  48. package/dist/components/datepicker/datepicker.d.ts +8 -0
  49. package/dist/components/datepicker/datepicker.helpers.d.ts +38 -0
  50. package/dist/components/datepicker/datepicker.helpers.js +31 -0
  51. package/dist/components/datepicker/datepicker.js +6 -0
  52. package/dist/components/datepicker/datepicker.styles.d.ts +1 -0
  53. package/dist/components/datepicker/datepicker.styles.js +18 -0
  54. package/dist/components/dialog/dialog.component.d.ts +20 -29
  55. package/dist/components/dialog/dialog.component.js +85 -75
  56. package/dist/components/dialog/dialog.d.ts +2 -2
  57. package/dist/components/dialog/dialog.styles.js +4 -4
  58. package/dist/components/divider/divider.component.d.ts +4 -8
  59. package/dist/components/divider/divider.component.js +24 -46
  60. package/dist/components/divider/divider.styles.js +34 -30
  61. package/dist/components/drawer/drawer.component.d.ts +61 -0
  62. package/dist/components/drawer/drawer.component.js +125 -0
  63. package/dist/components/drawer/drawer.d.ts +8 -0
  64. package/dist/components/drawer/drawer.js +6 -0
  65. package/dist/components/drawer/drawer.styles.js +71 -0
  66. package/dist/components/header/header.component.d.ts +46 -0
  67. package/dist/components/header/header.component.js +116 -0
  68. package/dist/components/header/header.d.ts +8 -0
  69. package/dist/components/header/header.js +6 -0
  70. package/dist/components/header/header.styles.js +68 -0
  71. package/dist/components/heading/heading.component.d.ts +8 -12
  72. package/dist/components/heading/heading.component.js +52 -24
  73. package/dist/components/heading/heading.styles.d.ts +1 -2
  74. package/dist/components/heading/heading.styles.js +35 -37
  75. package/dist/components/icon/icon.component.d.ts +19 -18
  76. package/dist/components/icon/icon.component.js +64 -43
  77. package/dist/components/icon/icon.styles.d.ts +1 -2
  78. package/dist/components/icon/icon.styles.js +61 -60
  79. package/dist/components/input/input.component.d.ts +31 -31
  80. package/dist/components/input/input.component.js +166 -146
  81. package/dist/components/input/input.controllers.d.ts +20 -6
  82. package/dist/components/input/input.controllers.js +14 -10
  83. package/dist/components/link/link.component.d.ts +12 -14
  84. package/dist/components/link/link.component.js +35 -34
  85. package/dist/components/link/link.styles.d.ts +1 -2
  86. package/dist/components/link/link.styles.js +24 -20
  87. package/dist/components/loader/loader.component.d.ts +1 -1
  88. package/dist/components/loader/loader.component.js +36 -40
  89. package/dist/components/loader/loader.styles.d.ts +1 -2
  90. package/dist/components/loader/loader.styles.js +40 -32
  91. package/dist/components/logo/logo.component.d.ts +8 -6
  92. package/dist/components/logo/logo.component.js +55 -51
  93. package/dist/components/logo/logo.styles.js +26 -16
  94. package/dist/components/menu/menu-item.component.d.ts +13 -0
  95. package/dist/components/{menu-item → menu}/menu-item.component.js +3 -3
  96. package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
  97. package/dist/components/menu/menu.component.d.ts +10 -8
  98. package/dist/components/menu/menu.component.js +8 -10
  99. package/dist/components/menu/menu.d.ts +2 -2
  100. package/dist/components/nav/nav-item.component.d.ts +18 -0
  101. package/dist/components/nav/nav-item.component.js +38 -0
  102. package/dist/components/nav/nav-item.d.ts +8 -0
  103. package/dist/components/nav/nav-item.js +6 -0
  104. package/dist/components/nav/nav-item.styles.js +39 -0
  105. package/dist/components/nav/nav.component.d.ts +17 -0
  106. package/dist/components/nav/nav.component.js +34 -0
  107. package/dist/components/nav/nav.d.ts +8 -0
  108. package/dist/components/nav/nav.js +6 -0
  109. package/dist/components/nav/nav.styles.js +17 -0
  110. package/dist/components/popover/popover.component.d.ts +11 -8
  111. package/dist/components/popover/popover.component.js +24 -26
  112. package/dist/components/popover/popover.d.ts +2 -2
  113. package/dist/components/progress/progress.component.d.ts +2 -2
  114. package/dist/components/progress/progress.component.js +31 -37
  115. package/dist/components/progress/progress.d.ts +2 -2
  116. package/dist/components/progress/progress.styles.js +42 -35
  117. package/dist/components/radio/radio.component.d.ts +19 -13
  118. package/dist/components/radio/radio.component.js +12 -12
  119. package/dist/components/radio/radio.styles.d.ts +1 -2
  120. package/dist/components/radio/radio.styles.js +1 -1
  121. package/dist/components/segmented-button/segmented-button-item.component.d.ts +36 -0
  122. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  123. package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
  124. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  125. package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
  126. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  127. package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
  128. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  129. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  130. package/dist/components/segmented-button/segmented-button.js +6 -0
  131. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  132. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  133. package/dist/components/{select-option-group → select}/select-option-group.component.js +1 -1
  134. package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
  135. package/dist/components/select/select-option-group.style.d.ts +1 -0
  136. package/dist/components/{select-option → select}/select-option.component.d.ts +9 -10
  137. package/dist/components/{select-option → select}/select-option.component.js +23 -23
  138. package/dist/components/select/select-option.controllers.d.ts +15 -0
  139. package/dist/components/select/select-option.styles.d.ts +1 -0
  140. package/dist/components/select/select.component.d.ts +18 -17
  141. package/dist/components/select/select.component.js +22 -23
  142. package/dist/components/select/select.controllers.d.ts +21 -10
  143. package/dist/components/select/select.controllers.js +27 -22
  144. package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
  145. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +48 -48
  146. package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
  147. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  148. package/dist/components/stepper/stepper.component.d.ts +4 -3
  149. package/dist/components/stepper/stepper.component.js +15 -15
  150. package/dist/components/stepper/stepper.d.ts +2 -2
  151. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  152. package/dist/components/switch/switch.component.d.ts +7 -6
  153. package/dist/components/switch/switch.component.js +21 -21
  154. package/dist/components/switch/switch.d.ts +2 -2
  155. package/dist/components/{tab-panel → tabs}/tab-panel.component.js +1 -1
  156. package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
  157. package/dist/components/tabs/tab-panel.styles.d.ts +1 -0
  158. package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
  159. package/dist/components/{tab → tabs}/tab.component.js +1 -1
  160. package/dist/components/{tab → tabs}/tab.d.ts +2 -2
  161. package/dist/components/tabs/tab.styles.d.ts +1 -0
  162. package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
  163. package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +36 -37
  164. package/dist/components/tabs/tabs.d.ts +8 -0
  165. package/dist/components/tabs/tabs.js +6 -0
  166. package/dist/components/tabs/tabs.styles.d.ts +1 -0
  167. package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
  168. package/dist/components/tag/tag.component.d.ts +20 -17
  169. package/dist/components/tag/tag.component.js +68 -67
  170. package/dist/components/tag/tag.d.ts +2 -2
  171. package/dist/components/tag/tag.styles.js +63 -50
  172. package/dist/components/textarea/textarea.component.d.ts +10 -11
  173. package/dist/components/textarea/textarea.component.js +65 -67
  174. package/dist/components/{toast-item → toast}/toast-item.component.js +15 -15
  175. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  176. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  177. package/dist/components/toast/toast-item.styles.js +18 -0
  178. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  179. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  180. package/dist/components/toast/toast.component.d.ts +9 -5
  181. package/dist/components/toast/toast.component.js +32 -28
  182. package/dist/components/toast/toast.singleton.d.ts +6 -11
  183. package/dist/components/toast/toast.singleton.js +23 -23
  184. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  185. package/dist/components/tooltip/tooltip.component.js +16 -11
  186. package/dist/components/tooltip/tooltip.d.ts +2 -2
  187. package/dist/custom-elements.json +4091 -2539
  188. package/dist/index.d.ts +22 -9
  189. package/dist/index.js +111 -74
  190. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  191. package/dist/internal/base-classes/popover/popover.base.js +138 -77
  192. package/dist/internal/base-classes/popover/popover.styles.js +14 -1
  193. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  194. package/dist/internal/components/hint/hint.component.js +2 -2
  195. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  196. package/dist/internal/components/hint/hint.styles.js +1 -1
  197. package/dist/internal/components/skf-element.d.ts +1 -3
  198. package/dist/internal/components/skf-element.js +4 -9
  199. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  200. package/dist/internal/constants/iconSeverity.js +2 -3
  201. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  202. package/dist/internal/controllers/popover.controller.d.ts +12 -6
  203. package/dist/internal/controllers/popover.controller.js +9 -14
  204. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  205. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  206. package/dist/internal/helpers/hintSeverity.js +1 -1
  207. package/dist/internal/helpers/stateMap.d.ts +14 -0
  208. package/dist/internal/helpers/stateMap.js +68 -0
  209. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  210. package/dist/internal/helpers/uuid.d.ts +15 -0
  211. package/dist/internal/helpers/uuid.js +14 -0
  212. package/dist/internal/helpers/watch.d.ts +1 -1
  213. package/dist/internal/helpers/watch.js +12 -12
  214. package/dist/internal/storybook/styles.d.ts +1 -0
  215. package/dist/internal/types/formField.d.ts +1 -1
  216. package/dist/internal/types.d.ts +18 -0
  217. package/dist/styles/component.styles.d.ts +1 -2
  218. package/dist/styles/component.styles.js +38 -37
  219. package/dist/styles/form-field.styles.js +11 -6
  220. package/dist/styles/global-alt.css +1 -0
  221. package/dist/styles/global.css +1 -1
  222. package/dist/types/jsx/custom-element-jsx.d.ts +740 -1294
  223. package/dist/types/vue/index.d.ts +543 -322
  224. package/dist/vscode.html-custom-data.json +526 -1076
  225. package/dist/web-types.json +1237 -761
  226. package/package.json +45 -61
  227. package/dist/components/accordion/accordion.test.d.ts +0 -1
  228. package/dist/components/checkbox/checkbox.test.d.ts +0 -1
  229. package/dist/components/collapse/collapse.component.d.ts +0 -40
  230. package/dist/components/collapse/collapse.component.js +0 -86
  231. package/dist/components/collapse/collapse.d.ts +0 -8
  232. package/dist/components/collapse/collapse.js +0 -6
  233. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  234. package/dist/components/collapse/collapse.styles.js +0 -77
  235. package/dist/components/collapse/collapse.test.d.ts +0 -1
  236. package/dist/components/input/input.test.d.ts +0 -1
  237. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  238. package/dist/components/radio/radio.test.d.ts +0 -1
  239. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  240. package/dist/components/switch/switch.test.d.ts +0 -1
  241. package/dist/components/tab-group/tab-group.d.ts +0 -8
  242. package/dist/components/tab-group/tab-group.js +0 -6
  243. package/dist/components/toast-item/toast-item.styles.js +0 -16
  244. package/dist/internal/constants/heading.d.ts +0 -2
  245. package/dist/internal/playwright/index.d.ts +0 -1
  246. package/dist/react/index.d.ts +0 -35
  247. package/dist/react/index.js +0 -35
  248. package/dist/react/skf-accordion/index.d.ts +0 -3
  249. package/dist/react/skf-accordion/index.js +0 -13
  250. package/dist/react/skf-alert/index.d.ts +0 -9
  251. package/dist/react/skf-alert/index.js +0 -17
  252. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  253. package/dist/react/skf-breadcrumb/index.js +0 -17
  254. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  255. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  256. package/dist/react/skf-button/index.d.ts +0 -9
  257. package/dist/react/skf-button/index.js +0 -17
  258. package/dist/react/skf-card/index.d.ts +0 -3
  259. package/dist/react/skf-card/index.js +0 -13
  260. package/dist/react/skf-checkbox/index.d.ts +0 -9
  261. package/dist/react/skf-checkbox/index.js +0 -17
  262. package/dist/react/skf-collapse/index.d.ts +0 -9
  263. package/dist/react/skf-collapse/index.js +0 -17
  264. package/dist/react/skf-dialog/index.d.ts +0 -15
  265. package/dist/react/skf-dialog/index.js +0 -19
  266. package/dist/react/skf-divider/index.d.ts +0 -3
  267. package/dist/react/skf-divider/index.js +0 -13
  268. package/dist/react/skf-heading/index.d.ts +0 -3
  269. package/dist/react/skf-heading/index.js +0 -13
  270. package/dist/react/skf-icon/index.d.ts +0 -3
  271. package/dist/react/skf-icon/index.js +0 -13
  272. package/dist/react/skf-input/index.d.ts +0 -12
  273. package/dist/react/skf-input/index.js +0 -18
  274. package/dist/react/skf-link/index.d.ts +0 -3
  275. package/dist/react/skf-link/index.js +0 -13
  276. package/dist/react/skf-loader/index.d.ts +0 -3
  277. package/dist/react/skf-loader/index.js +0 -13
  278. package/dist/react/skf-logo/index.d.ts +0 -3
  279. package/dist/react/skf-logo/index.js +0 -13
  280. package/dist/react/skf-menu/index.d.ts +0 -12
  281. package/dist/react/skf-menu/index.js +0 -18
  282. package/dist/react/skf-menu-item/index.d.ts +0 -27
  283. package/dist/react/skf-menu-item/index.js +0 -23
  284. package/dist/react/skf-popover/index.d.ts +0 -12
  285. package/dist/react/skf-popover/index.js +0 -18
  286. package/dist/react/skf-progress/index.d.ts +0 -3
  287. package/dist/react/skf-progress/index.js +0 -13
  288. package/dist/react/skf-radio/index.d.ts +0 -9
  289. package/dist/react/skf-radio/index.js +0 -17
  290. package/dist/react/skf-select/index.d.ts +0 -21
  291. package/dist/react/skf-select/index.js +0 -21
  292. package/dist/react/skf-select-option/index.d.ts +0 -9
  293. package/dist/react/skf-select-option/index.js +0 -17
  294. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  295. package/dist/react/skf-select-option-group/index.js +0 -13
  296. package/dist/react/skf-stepper/index.d.ts +0 -9
  297. package/dist/react/skf-stepper/index.js +0 -17
  298. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  299. package/dist/react/skf-stepper-item/index.js +0 -17
  300. package/dist/react/skf-switch/index.d.ts +0 -3
  301. package/dist/react/skf-switch/index.js +0 -13
  302. package/dist/react/skf-tab/index.d.ts +0 -12
  303. package/dist/react/skf-tab/index.js +0 -18
  304. package/dist/react/skf-tab-group/index.d.ts +0 -3
  305. package/dist/react/skf-tab-group/index.js +0 -13
  306. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  307. package/dist/react/skf-tab-panel/index.js +0 -13
  308. package/dist/react/skf-tag/index.d.ts +0 -3
  309. package/dist/react/skf-tag/index.js +0 -13
  310. package/dist/react/skf-textarea/index.d.ts +0 -12
  311. package/dist/react/skf-textarea/index.js +0 -18
  312. package/dist/react/skf-toast/index.d.ts +0 -3
  313. package/dist/react/skf-toast/index.js +0 -13
  314. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  315. package/dist/react/skf-toast-wrapper/index.js +0 -13
  316. package/dist/react/skf-tooltip/index.d.ts +0 -12
  317. package/dist/react/skf-tooltip/index.js +0 -18
  318. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  319. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  320. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  321. /package/dist/components/{select-option-group/select-option-group.style.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
  322. /package/dist/components/{select-option/select-option.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
  323. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → drawer/drawer.styles.d.ts} +0 -0
  324. /package/dist/components/{tab-group/tab-group.styles.d.ts → header/header.styles.d.ts} +0 -0
  325. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  326. /package/dist/components/{tab-panel/tab-panel.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  327. /package/dist/components/{menu-item → menu}/menu-item.styles.js +0 -0
  328. /package/dist/components/{tab/tab.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  329. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav.styles.d.ts} +0 -0
  330. /package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +0 -0
  331. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  332. /package/dist/components/{select-option-group → select}/select-option-group.style.js +0 -0
  333. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  334. /package/dist/components/{select-option → select}/select-option.js +0 -0
  335. /package/dist/components/{select-option → select}/select-option.styles.js +0 -0
  336. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  337. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  338. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  339. /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
  340. /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
  341. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
  342. /package/dist/components/{tab → tabs}/tab.js +0 -0
  343. /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
  344. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  345. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  346. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  347. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  348. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  349. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -1,41 +1,81 @@
1
1
  import type { DefineComponent } from "vue";
2
2
 
3
+ import type { SkfIcon } from "../../components/icon/icon.component.js";
4
+ import type { SkfAccordionItem, CustomEvent } from "../../components/accordion-item/accordion-item.component.js";
3
5
  import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
4
- import type { SkfAlert } from "../../components/alert/alert.component.js";
5
- import type { SkfBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
6
+ import type { SkfAlert, CustomEvent } from "../../components/alert/alert.component.js";
6
7
  import type { SkfBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
7
- import type { SkfButton } from "../../components/button/button.component.js";
8
+ import type { SkfBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
9
+ import type { SkfLoader } from "../../components/loader/loader.component.js";
10
+ import type { SkfButton, CustomEvent } from "../../components/button/button.component.js";
8
11
  import type { SkfCard } from "../../components/card/card.component.js";
9
- import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
10
- import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
11
- import type { SkfDialog } from "../../components/dialog/dialog.component.js";
12
- import type { SkfDivider } from "../../components/divider/divider.component.js";
12
+ import type { SkfCheckbox, Event } from "../../components/checkbox/checkbox.component.js";
13
+ import type { SkfDatepickerCalendar } from "../../components/datepicker-calendar/datepicker-calendar.component.js";
14
+ import type { SkfDatepicker } from "../../components/datepicker/datepicker.component.js";
13
15
  import type { SkfHeading } from "../../components/heading/heading.component.js";
14
- import type { SkfIcon } from "../../components/icon/icon.component.js";
15
- import type { SkfInput } from "../../components/input/input.component.js";
16
- import type { SkfLink } from "../../components/link/link.component.js";
17
- import type { SkfLoader } from "../../components/loader/loader.component.js";
16
+ import type { SkfDialog, CustomEvent } from "../../components/dialog/dialog.component.js";
17
+ import type { SkfDivider } from "../../components/divider/divider.component.js";
18
+ import type { SkfDrawer, CustomEvent } from "../../components/drawer/drawer.component.js";
18
19
  import type { SkfLogo } from "../../components/logo/logo.component.js";
19
- import type { SkfMenu } from "../../components/menu/menu.component.js";
20
- import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
21
- import type { SkfPopover } from "../../components/popover/popover.component.js";
20
+ import type { SkfNav } from "../../components/nav/nav.component.js";
21
+ import type { SkfHeader } from "../../components/header/header.component.js";
22
+ import type { SkfInput, CustomEvent } from "../../components/input/input.component.js";
23
+ import type { SkfLink } from "../../components/link/link.component.js";
24
+ import type { SkfMenuItem } from "../../components/menu-item/menu-item.component.js";
25
+ import type { SkfMenu, CustomEvent } from "../../components/menu/menu.component.js";
26
+ import type { SkfNavItem } from "../../components/nav-item/nav-item.component.js";
27
+ import type { SkfPopover, CustomEvent } from "../../components/popover/popover.component.js";
22
28
  import type { SkfProgress } from "../../components/progress/progress.component.js";
23
- import type { SkfRadio } from "../../components/radio/radio.component.js";
24
- import type { SkfSelect } from "../../components/select/select.component.js";
25
- import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
29
+ import type { SkfRadio, Event } from "../../components/radio/radio.component.js";
30
+ import type {
31
+ SkfSegmentedButtonItem,
32
+ CustomEvent,
33
+ } from "../../components/segmented-button-item/segmented-button-item.component.js";
34
+ import type { SkfSegmentedButton } from "../../components/segmented-button/segmented-button.component.js";
26
35
  import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
27
- import type { SkfStepper } from "../../components/stepper/stepper.component.js";
36
+ import type { SkfTag } from "../../components/tag/tag.component.js";
37
+ import type { SkfSelect, Event, CustomEvent } from "../../components/select/select.component.js";
38
+ import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
28
39
  import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
40
+ import type { SkfStepper, CustomEvent } from "../../components/stepper/stepper.component.js";
29
41
  import type { SkfSwitch } from "../../components/switch/switch.component.js";
30
- import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
31
- import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
32
42
  import type { SkfTabPanel } from "../../components/tab-panel/tab-panel.component.js";
33
- import type { SkfTag } from "../../components/tag/tag.component.js";
43
+ import type { SkfTabs } from "../../components/tabs/tabs.component.js";
44
+ import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
34
45
  import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
35
- import type { SkfToast } from "../../components/toast/toast.component.js";
36
46
  import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
47
+ import type { SkfToast } from "../../components/toast/toast.component.js";
37
48
  import type { SkfTooltip } from "../../components/tooltip/tooltip.component.js";
38
49
 
50
+ type SkfIconProps = {
51
+ /** Sets the color of the icon */
52
+ color?: SkfIcon["color"];
53
+ /** If defined, adds an alternate description to use for assistive devices */
54
+ label?: SkfIcon["label"];
55
+ /** Name of the icon to display */
56
+ name?: SkfIcon["name"];
57
+ /** Size of the icon */
58
+ size?: SkfIcon["size"];
59
+ };
60
+
61
+ type SkfAccordionItemProps = {
62
+ /** If true, will animate the expand/accordion-item state */
63
+ animated?: SkfAccordionItem["animated"];
64
+ /** If true, will set the accordion-item to be expanded by default */
65
+ expanded?: SkfAccordionItem["expanded"];
66
+ /** Heading for the accordion-item */
67
+ heading?: SkfAccordionItem["heading"];
68
+ /** Defines which heading element will be rendered */
69
+ "heading-as"?: SkfAccordionItem["headingAs"];
70
+ /** If true, renders the small version */
71
+ small?: SkfAccordionItem["small"];
72
+ /** If true, will truncate the heading in accordion-item state */
73
+ truncate?: SkfAccordionItem["truncate"];
74
+
75
+ /** Event emitted when toggled */
76
+ "onskf-accordion-item-toggle"?: (e: CustomEvent<CustomEvent>) => void;
77
+ };
78
+
39
79
  type SkfAccordionProps = {
40
80
  /** If true, will animate the expand/collapse state */
41
81
  animated?: SkfAccordion["animated"];
@@ -52,34 +92,43 @@ type SkfAccordionProps = {
52
92
  };
53
93
 
54
94
  type SkfAlertProps = {
55
- /** If true, alert is being used as a toast (alertdialog) with an close button */
56
- closeable?: SkfAlert["closeable"];
57
95
  /** Close button aria-label */
58
96
  "button-label"?: SkfAlert["buttonLabel"];
59
97
  /** If defined, displays leading icon */
60
98
  icon?: SkfAlert["icon"];
99
+ /** If true, renders with an close button and sets aria-role to `status` */
100
+ persistent?: SkfAlert["persistent"];
61
101
  /** If defined, gives the supplied appearance */
62
102
  severity?: SkfAlert["severity"];
63
103
 
64
104
  /** Fires when the close button is clicked */
65
- "onskf-alert-close"?: (e: CustomEvent<never>) => void;
105
+ "onskf-alert-close"?: (e: CustomEvent<CustomEvent>) => void;
106
+ };
107
+
108
+ type SkfBreadcrumbItemProps = {
109
+ /** If defined, loads url on click */
110
+ href?: SkfBreadcrumbItem["href"];
111
+ /** If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined. */
112
+ onClick?: SkfBreadcrumbItem["onClick"];
66
113
  };
67
114
 
68
115
  type SkfBreadcrumbProps = {
69
116
  /** aria-label for the breadcrumb control */
70
117
  label?: SkfBreadcrumb["label"];
71
- /** Displays an alternative size */
72
- size?: SkfBreadcrumb["size"];
118
+ /** If true, renders a smaller version */
119
+ small?: SkfBreadcrumb["small"];
73
120
 
74
121
  /** Fired when the item is clicked */
75
122
  onclick?: (e: CustomEvent<never>) => void;
76
123
  };
77
124
 
78
- type SkfBreadcrumbItemProps = {
79
- /** If defined, loads url on click */
80
- href?: SkfBreadcrumbItem["href"];
81
- /** If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined. */
82
- onClick?: SkfBreadcrumbItem["onClick"];
125
+ type SkfLoaderProps = {
126
+ /** Defines the aria-label */
127
+ "aria-label"?: SkfLoader["ariaLabel"];
128
+ /** If true, inverts the color (to be used on colored backgrounds) */
129
+ invert?: SkfLoader["invert"];
130
+ /** Defines the size of the loader */
131
+ size?: SkfLoader["size"];
83
132
  };
84
133
 
85
134
  type SkfButtonProps = {
@@ -89,9 +138,9 @@ type SkfButtonProps = {
89
138
  disabled?: SkfButton["disabled"];
90
139
  /** If provided, renders an icon before or after the text */
91
140
  icon?: SkfButton["icon"];
92
- /** If true, removes border */
93
- iconOnly?: SkfButton["iconOnly"];
94
- /** If provided, determines the positioning of the icon in relation to the text */
141
+ /** If true, button will take a square shape */
142
+ "icon-only"?: SkfButton["iconOnly"];
143
+ /** Determines the positioning of the icon in relation to the text */
95
144
  "icon-position"?: SkfButton["iconPosition"];
96
145
  /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
97
146
  loading?: SkfButton["loading"];
@@ -105,7 +154,7 @@ type SkfButtonProps = {
105
154
  variant?: SkfButton["variant"];
106
155
 
107
156
  /** Fires when the button is clicked */
108
- onclick?: (e: CustomEvent<never>) => void;
157
+ onclick?: (e: CustomEvent<CustomEvent>) => void;
109
158
  };
110
159
 
111
160
  type SkfCardProps = {
@@ -145,26 +194,81 @@ type SkfCheckboxProps = {
145
194
  /** The current value of the input field */
146
195
  value?: SkfCheckbox["value"];
147
196
 
148
- /** {object} - When the value of the input changes */
149
- onchange?: (e: CustomEvent<never>) => void;
197
+ /** When the value of the input changes */
198
+ onchange?: (e: CustomEvent<Event>) => void;
150
199
  };
151
200
 
152
- type SkfCollapseProps = {
153
- /** If true, will animate the expand/collapse state */
154
- animated?: SkfCollapse["animated"];
155
- /** If true, will set the collapse to be expanded by default */
156
- expanded?: SkfCollapse["expanded"];
157
- /** Heading for the collapse */
158
- heading?: SkfCollapse["heading"];
159
- /** Defines which heading element will be rendered */
160
- "heading-as"?: SkfCollapse["headingAs"];
161
- /** If true, renders the small version */
162
- small?: SkfCollapse["small"];
163
- /** If true, will truncate the heading in collapsed state */
164
- truncate?: SkfCollapse["truncate"];
201
+ type SkfDatepickerCalendarProps = {
202
+ /** */
203
+ eventid?: SkfDatepickerCalendar["eventid"];
204
+ /** */
205
+ firstDayOfWeek?: SkfDatepickerCalendar["firstDayOfWeek"];
206
+ /** A comma-separated list of dates (yyyy-mm-dd format) that are not selectable. */
207
+ "invalid-dates"?: SkfDatepickerCalendar["invalidDates"];
208
+ /** */
209
+ locale?: SkfDatepickerCalendar["locale"];
210
+ /** */
211
+ range?: SkfDatepickerCalendar["range"];
212
+ /** Earliest selectable date. (yyyy-mm-dd format) */
213
+ "selectable-from"?: SkfDatepickerCalendar["selectableFrom"];
214
+ /** Latest selectable date. (yyyy-mm-dd format) */
215
+ "selectable-to"?: SkfDatepickerCalendar["selectableTo"];
216
+ /** */
217
+ "selected-date"?: SkfDatepickerCalendar["selectedDate"];
218
+ /** */
219
+ selectedDateRange?: SkfDatepickerCalendar["selectedDateRange"];
220
+ /** */
221
+ _listenToKeyboard?: SkfDatepickerCalendar["_listenToKeyboard"];
222
+ /** */
223
+ _handleKeyDown?: SkfDatepickerCalendar["_handleKeyDown"];
224
+ /** */
225
+ dateSelectable?: SkfDatepickerCalendar["dateSelectable"];
226
+ };
165
227
 
166
- /** Event emitted when toggled */
167
- "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
228
+ type SkfDatepickerProps = {
229
+ /** If defined, forces component to invalid state until removed. Its value is used as hint text. */
230
+ "custom-invalid"?: SkfDatepicker["customInvalid"];
231
+ /** */
232
+ id?: SkfDatepicker["id"];
233
+ /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
234
+ label?: SkfDatepicker["label"];
235
+ /** If true, hides the label visually */
236
+ "hide-label"?: SkfDatepicker["hideLabel"];
237
+ /** If defined, displays informational text below the field */
238
+ hint?: SkfDatepicker["hint"];
239
+ /** A comma-separated list of dates (yyyy-mm-dd format) that are not selectable. */
240
+ "invalid-dates"?: SkfDatepicker["invalidDates"];
241
+ /** If defined, adds name to the input-element */
242
+ name?: SkfDatepicker["name"];
243
+ /** */
244
+ placeholder?: SkfDatepicker["placeholder"];
245
+ /** */
246
+ range?: SkfDatepicker["range"];
247
+ /** If true, makes the element not mutable, meaning the user can not edit the control */
248
+ readonly?: SkfDatepicker["readonly"];
249
+ /** If defined, renders an alternative A11y text for the asterisk */
250
+ "required-label"?: SkfDatepicker["requiredLabel"];
251
+ /** Earliest selectable date. (yyyy-mm-dd format) */
252
+ "selectable-from"?: SkfDatepicker["selectableFrom"];
253
+ /** Latest selectable date. (yyyy-mm-dd format) */
254
+ "selectable-to"?: SkfDatepicker["selectableTo"];
255
+ /** If defined, displays provided severity state */
256
+ severity?: SkfDatepicker["severity"];
257
+ /** Size of the input */
258
+ size?: SkfDatepicker["size"];
259
+ /** Sets validation start */
260
+ "validate-on"?: SkfDatepicker["validateOn"];
261
+ /** The current value of the input field */
262
+ value?: SkfDatepicker["value"];
263
+ /** */
264
+ focusTimeoutId?: SkfDatepicker["focusTimeoutId"];
265
+ };
266
+
267
+ type SkfHeadingProps = {
268
+ /** Controls which heading element will be rendered. Should not be used to affect appearance */
269
+ as?: SkfHeading["as"];
270
+ /** If defined, changes the appearance of the heading */
271
+ "styled-as"?: SkfHeading["styledAs"];
168
272
  };
169
273
 
170
274
  type SkfDialogProps = {
@@ -178,20 +282,15 @@ type SkfDialogProps = {
178
282
  "no-close-button"?: SkfDialog["noCloseButton"];
179
283
  /** If defined, removes the inner padding */
180
284
  "no-padding"?: SkfDialog["noPadding"];
181
- /** */
285
+ /** If true, indicates that the dialog is active and is available for interaction */
182
286
  open?: SkfDialog["open"];
183
- /** If provided, will run function on dialog close */
184
- onClose?: SkfDialog["onClose"];
185
- /** Method that opens the dialog in modal state */
186
- showModal?: SkfDialog["showModal"];
187
- /** Method that closes the dialog */
188
- close?: SkfDialog["close"];
287
+
189
288
  /** Fires when the dialog is opened (after transitioned in) */
190
- "onskf-dialog-open"?: (e: CustomEvent<never>) => void;
191
- /** Fires when the dialog is closed (before transitioned out) */
192
- "onskf-dialog-close"?: (e: CustomEvent<never>) => void;
289
+ "onskf-dialog-opened"?: (e: CustomEvent<CustomEvent>) => void;
290
+ /** Fires when the dialog is closing (before transitioned out) */
291
+ "onskf-dialog-closing"?: (e: CustomEvent<CustomEvent>) => void;
193
292
  /** Fires when the dialog is closed (after transitioned out) */
194
- onclose?: (e: CustomEvent<never>) => void;
293
+ "onskf-dialog-closed"?: (e: CustomEvent<CustomEvent>) => void;
195
294
  };
196
295
 
197
296
  type SkfDividerProps = {
@@ -203,22 +302,47 @@ type SkfDividerProps = {
203
302
  vertical?: SkfDivider["vertical"];
204
303
  };
205
304
 
206
- type SkfHeadingProps = {
207
- /** Controls which heading element will be rendered. Should not be used to affect appearance */
208
- as?: SkfHeading["as"];
209
- /** If provided, changes the appearance of the heading */
210
- "styled-as"?: SkfHeading["styledAs"];
305
+ type SkfDrawerProps = {
306
+ /** If defined, sets the aria-label for the close button */
307
+ "close-button-aria-label"?: SkfDrawer["closeButtonAriaLabel"];
308
+ /** Heading for the Drawer */
309
+ heading?: SkfDrawer["heading"];
310
+ /** Sets the max-width */
311
+ size?: SkfDrawer["size"];
312
+ /** If true, Drawer is open */
313
+ open?: SkfDrawer["open"];
314
+ /** Placement of the Drawer */
315
+ placement?: SkfDrawer["placement"];
316
+
317
+ /** Fires when the drawer is opened (after transitioned in) */
318
+ "onskf-drawer-opened"?: (e: CustomEvent<CustomEvent>) => void;
319
+ /** Fires when the drawer is closing (before transitioned out) */
320
+ "onskf-drawer-closing"?: (e: CustomEvent<CustomEvent>) => void;
321
+ /** Fires when the drawer is closed (after transitioned out) */
322
+ "onskf-drawer-closed"?: (e: CustomEvent<CustomEvent>) => void;
211
323
  };
212
324
 
213
- type SkfIconProps = {
214
- /** Sets the color of the icon */
215
- color?: SkfIcon["color"];
216
- /** If defined, adds an alternate description to use for assistive devices */
217
- label?: SkfIcon["label"];
218
- /** Name of the icon to display */
219
- name?: SkfIcon["name"];
220
- /** Size of the icon */
221
- size?: SkfIcon["size"];
325
+ type SkfLogoProps = {
326
+ /** Defines the title of the logo */
327
+ title?: SkfLogo["title"];
328
+ /** Defines the color of the logo */
329
+ color?: SkfLogo["color"];
330
+ };
331
+
332
+ type SkfNavProps = {
333
+ /** */
334
+ vertical?: SkfNav["vertical"];
335
+ };
336
+
337
+ type SkfHeaderProps = {
338
+ /** If true, sets header to display in compact mode only (hanburger menu and drawer) */
339
+ compact?: SkfHeader["compact"];
340
+ /** If defined, sets the aria-label for the hamburger button */
341
+ "hamburger-aria-label"?: SkfHeader["hamburgerAriaLabel"];
342
+ /** If defined, sets the app or site's name */
343
+ "site-name"?: SkfHeader["siteName"];
344
+ /** If defined, sets the site's base-url for the "logo-link" */
345
+ "site-url"?: SkfHeader["siteUrl"];
222
346
  };
223
347
 
224
348
  type SkfInputProps = {
@@ -226,7 +350,8 @@ type SkfInputProps = {
226
350
  disabled?: SkfInput["undefined"];
227
351
  /** If true, value is required or must be checked for the form to be submittable */
228
352
  required?: SkfInput["undefined"];
229
- /** -m } */
353
+ /** Indicates whether the value of the control can be automatically completed by the browser. See
354
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details. */
230
355
  autocomplete?: SkfInput["autocomplete"];
231
356
  /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
232
357
  "button-aria-label-clear"?: SkfInput["buttonAriaLabelClear"];
@@ -242,7 +367,8 @@ type SkfInputProps = {
242
367
  "hide-label"?: SkfInput["hideLabel"];
243
368
  /** If defined, displays informational text below the field */
244
369
  hint?: SkfInput["hint"];
245
- /** Tells what keyboard to use if applicable */
370
+ /** Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See
371
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details. */
246
372
  inputmode?: SkfInput["inputmode"];
247
373
  /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
248
374
  label?: SkfInput["label"];
@@ -274,7 +400,7 @@ type SkfInputProps = {
274
400
  size?: SkfInput["size"];
275
401
  /** If defined, displays a suffix/adornment after the input-element */
276
402
  trailing?: SkfInput["trailing"];
277
- /** Type of input control */
403
+ /** Type of input */
278
404
  type?: SkfInput["type"];
279
405
  /** Sets validation start */
280
406
  "validate-on"?: SkfInput["validateOn"];
@@ -282,9 +408,9 @@ type SkfInputProps = {
282
408
  value?: SkfInput["value"];
283
409
 
284
410
  /** Fires when the value of the input changes */
285
- onchange?: (e: CustomEvent<never>) => void;
411
+ onchange?: (e: CustomEvent<CustomEvent>) => void;
286
412
  /** Fires when the input is invalid */
287
- oninvalid?: (e: CustomEvent<never>) => void;
413
+ oninvalid?: (e: CustomEvent<CustomEvent>) => void;
288
414
  };
289
415
 
290
416
  type SkfLinkProps = {
@@ -312,43 +438,10 @@ type SkfLinkProps = {
312
438
  target?: SkfLink["target"];
313
439
  /** Defines the type of button */
314
440
  type?: SkfLink["type"];
315
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
441
+ /** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
316
442
  onClick?: SkfLink["onClick"];
317
443
  };
318
444
 
319
- type SkfLoaderProps = {
320
- /** Defines the aria-label */
321
- "aria-label"?: SkfLoader["ariaLabel"];
322
- /** If true, inverts the color (to be used on colored backgrounds) */
323
- invert?: SkfLoader["invert"];
324
- /** Defines the size of the loader */
325
- size?: SkfLoader["size"];
326
- /** */
327
- role?: SkfLoader["role"];
328
- /** */
329
- ariaLive?: SkfLoader["ariaLive"];
330
- };
331
-
332
- type SkfLogoProps = {
333
- /** Defines the title of the logo */
334
- title?: SkfLogo["title"];
335
- /** Defines the color of the logo */
336
- color?: SkfLogo["color"];
337
- };
338
-
339
- type SkfMenuProps = {
340
- /** The placement of the menu */
341
- placement?: SkfMenu["placement"];
342
- /** Whether the menu is open */
343
- isOpen?: SkfMenu["isOpen"];
344
- /** The id of the element the menu will be anchored to */
345
- anchor?: SkfMenu["anchor"];
346
- /** Fired when the menu is opened */
347
- onopen?: (e: CustomEvent<never>) => void;
348
- /** Fired when the menu is closed */
349
- onclose?: (e: CustomEvent<never>) => void;
350
- };
351
-
352
445
  type SkfMenuItemProps = {
353
446
  /** Defines the semantic element to render */
354
447
  as?: SkfMenuItem["as"];
@@ -374,41 +467,45 @@ type SkfMenuItemProps = {
374
467
  target?: SkfMenuItem["target"];
375
468
  /** Defines the type of button */
376
469
  type?: SkfMenuItem["type"];
377
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
470
+ /** */
471
+ role?: SkfMenuItem["role"];
472
+ /** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
378
473
  onClick?: SkfMenuItem["onClick"];
379
- /** Fired when something happens */
380
- "onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
381
- /** Fired when the component is clicked */
382
- onclick?: (e: CustomEvent<never>) => void;
383
- /** Fired when the mouse is over the component */
384
- onmouseover?: (e: CustomEvent<never>) => void;
385
- /** Fired when the mouse is out of the component */
386
- onmouseout?: (e: CustomEvent<never>) => void;
387
- /** Fired when the component is focused */
388
- onfocus?: (e: CustomEvent<never>) => void;
389
- /** Fired when the component is blurred */
390
- onblur?: (e: CustomEvent<never>) => void;
391
- /** Fired when the component's value changes */
392
- onchange?: (e: CustomEvent<never>) => void;
474
+ };
475
+
476
+ type SkfMenuProps = {
477
+ /** The placement of the menu */
478
+ placement?: SkfMenu["undefined"];
479
+ /** The id of the element the menu will be anchored to */
480
+ anchor?: SkfMenu["undefined"];
481
+
482
+ /** Fired when the menu is opened */
483
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
484
+ /** Fired when the menu is closed */
485
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
486
+ };
487
+
488
+ type SkfNavItemProps = {
489
+ /** */
490
+ href?: SkfNavItem["href"];
491
+ /** */
492
+ icon?: SkfNavItem["icon"];
393
493
  };
394
494
 
395
495
  type SkfPopoverProps = {
496
+ /** The placement of the popover */
497
+ placement?: SkfPopover["undefined"];
498
+ /** The id of the element the menu will be anchored to */
499
+ anchor?: SkfPopover["undefined"];
396
500
  /** If defined, sets a custom offset for the popover */
397
501
  offset?: SkfPopover["offset"];
398
502
  /** If true, hides the arrow */
399
503
  hideArrow?: SkfPopover["hideArrow"];
400
- /** */
401
- arrow?: SkfPopover["arrow"];
402
- /** The placement of the menu */
403
- placement?: SkfPopover["placement"];
404
- /** Whether the menu is open */
405
- isOpen?: SkfPopover["isOpen"];
406
- /** The id of the element the menu will be anchored to */
407
- anchor?: SkfPopover["anchor"];
504
+
408
505
  /** Fired when the menu is opened */
409
- onopen?: (e: CustomEvent<never>) => void;
506
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
410
507
  /** Fired when the menu is closed */
411
- onclose?: (e: CustomEvent<never>) => void;
508
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
412
509
  };
413
510
 
414
511
  type SkfProgressProps = {
@@ -446,13 +543,52 @@ type SkfRadioProps = {
446
543
  /** The current value of the input field */
447
544
  value?: SkfRadio["value"];
448
545
 
449
- /** {object} - When the value of the input changes */
450
- onchange?: (e: CustomEvent<never>) => void;
546
+ /** When the value of the input changes */
547
+ onchange?: (e: CustomEvent<Event>) => void;
548
+ };
549
+
550
+ type SkfSegmentedButtonItemProps = {
551
+ /** If true, items is marked as disabled */
552
+ disabled?: SkfSegmentedButtonItem["disabled"];
553
+ /** If true, items is marked as selected */
554
+ selected?: SkfSegmentedButtonItem["selected"];
555
+ /** Sets the item value */
556
+ value?: SkfSegmentedButtonItem["value"];
557
+
558
+ /** Fired when selected */
559
+ "onskf-segmented-button-item-select"?: (e: CustomEvent<CustomEvent>) => void;
560
+ };
561
+
562
+ type SkfSegmentedButtonProps = {
563
+ /** If true, allowes multiple items to be selected */
564
+ multiple?: SkfSegmentedButton["multiple"];
565
+ };
566
+
567
+ type SkfSelectOptionGroupProps = {
568
+ /** */
569
+ label?: SkfSelectOptionGroup["label"];
570
+ };
571
+
572
+ type SkfTagProps = {
573
+ /** Specifies Tag size */
574
+ size?: SkfTag["size"];
575
+ /** If defined, displays leading/provided icon */
576
+ icon?: SkfTag["icon"];
577
+ /** If defined, gives the supplied appearance */
578
+ color?: SkfTag["color"];
579
+ /** If true, adds trailing button to remove tag */
580
+ removable?: SkfTag["removable"];
581
+ /** If defined, accepts a function that runs on click */
582
+ onClick?: SkfTag["onClick"];
583
+ /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
584
+ onRemove?: SkfTag["onRemove"];
451
585
  };
452
586
 
453
587
  type SkfSelectProps = {
454
- /** If true, the select is disabled `default: false` */
588
+ /** If true, the select is disabled */
455
589
  disabled?: SkfSelect["undefined"];
590
+ /** If true, the select is required */
591
+ required?: SkfSelect["undefined"];
456
592
  /** Sets the first visible text on the component */
457
593
  "button-label"?: SkfSelect["buttonLabel"];
458
594
  /** If defined, forces component to invalid state until removed */
@@ -490,15 +626,15 @@ type SkfSelectProps = {
490
626
  /** */
491
627
  _selectedOptions?: SkfSelect["_selectedOptions"];
492
628
  /** Fired when the selected option(s) changes */
493
- onchange?: (e: CustomEvent<never>) => void;
629
+ onchange?: (e: CustomEvent<Event>) => void;
494
630
  /** Fired when the select is invalid */
495
- oninvalid?: (e: CustomEvent<never>) => void;
631
+ oninvalid?: (e: CustomEvent<Event>) => void;
496
632
  /** Fired when the form is reset */
497
- onreset?: (e: CustomEvent<never>) => void;
633
+ onreset?: (e: CustomEvent<Event>) => void;
498
634
  /** {detail: {expanded: boolean}} Fired when the select dropdown is toggled */
499
- "onskf-select:dropdown"?: (e: CustomEvent<never>) => void;
635
+ "onskf-select-dropdown"?: (e: CustomEvent<CustomEvent>) => void;
500
636
  /** {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled */
501
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
637
+ "onskf-select-option-select"?: (e: CustomEvent<CustomEvent>) => void;
502
638
  };
503
639
 
504
640
  type SkfSelectOptionProps = {
@@ -523,22 +659,7 @@ type SkfSelectOptionProps = {
523
659
  /** */
524
660
  _shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
525
661
  /** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
526
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
527
- };
528
-
529
- type SkfSelectOptionGroupProps = {
530
- /** */
531
- label?: SkfSelectOptionGroup["label"];
532
- };
533
-
534
- type SkfStepperProps = {
535
- /** Sets the active item */
536
- activeIndex?: SkfStepper["activeIndex"];
537
- /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
538
- linear?: SkfStepper["linear"];
539
-
540
- /** Dispatched when the stepper item is selected */
541
- "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
662
+ "onskf-select-option-select"?: (e: CustomEvent<never>) => void;
542
663
  };
543
664
 
544
665
  type SkfStepperItemProps = {
@@ -554,6 +675,16 @@ type SkfStepperItemProps = {
554
675
  "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
555
676
  };
556
677
 
678
+ type SkfStepperProps = {
679
+ /** Sets the active item */
680
+ "active-index"?: SkfStepper["activeIndex"];
681
+ /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
682
+ linear?: SkfStepper["linear"];
683
+
684
+ /** Dispatched when the stepper item is selected */
685
+ "onskf-stepper-item-select"?: (e: CustomEvent<CustomEvent>) => void;
686
+ };
687
+
557
688
  type SkfSwitchProps = {
558
689
  /** If true, sets disabled state */
559
690
  disabled?: SkfSwitch["undefined"];
@@ -577,56 +708,41 @@ type SkfSwitchProps = {
577
708
  value?: SkfSwitch["value"];
578
709
  };
579
710
 
580
- type SkfTabProps = {
581
- /** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
582
- panel?: SkfTab["panel"];
583
- /** */
584
- selected?: SkfTab["selected"];
711
+ type SkfTabPanelProps = {
712
+ /** The tab panel's name. */
713
+ name?: SkfTabPanel["name"];
585
714
  /** */
586
- variant?: SkfTab["variant"];
715
+ active?: SkfTabPanel["active"];
587
716
  /** */
588
- role?: SkfTab["role"];
589
- /** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
590
- "onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
591
- /** Fired when the component is clicked */
592
- onclick?: (e: CustomEvent<never>) => void;
717
+ role?: SkfTabPanel["role"];
593
718
  };
594
719
 
595
- type SkfTabGroupProps = {
720
+ type SkfTabsProps = {
596
721
  /** Sets the default selected tab */
597
- "default-selected"?: SkfTabGroup["defaultSelected"];
722
+ "default-selected"?: SkfTabs["defaultSelected"];
598
723
  /** If true, removes border */
599
- "no-border"?: SkfTabGroup["noBorder"];
724
+ "no-border"?: SkfTabs["noBorder"];
600
725
  /** If true, removes padding */
601
- "no-padding"?: SkfTabGroup["noPadding"];
726
+ "no-padding"?: SkfTabs["noPadding"];
602
727
  /** If true, component fills the parent element height */
603
- stretch?: SkfTabGroup["stretch"];
728
+ stretch?: SkfTabs["stretch"];
604
729
  /** Sets the appearance of the tabs */
605
- variant?: SkfTabGroup["variant"];
730
+ variant?: SkfTabs["variant"];
606
731
  };
607
732
 
608
- type SkfTabPanelProps = {
609
- /** The tab panel's name. */
610
- name?: SkfTabPanel["name"];
733
+ type SkfTabProps = {
734
+ /** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
735
+ panel?: SkfTab["panel"];
611
736
  /** */
612
- active?: SkfTabPanel["active"];
737
+ selected?: SkfTab["selected"];
613
738
  /** */
614
- role?: SkfTabPanel["role"];
615
- };
616
-
617
- type SkfTagProps = {
618
- /** Specifies Tag size */
619
- size?: SkfTag["size"];
620
- /** If defined, displays leading/provided icon */
621
- icon?: SkfTag["icon"];
622
- /** If defined, gives the supplied appearance */
623
- color?: SkfTag["color"];
624
- /** If true, adds trailing button to remove tag */
625
- removable?: SkfTag["removable"];
626
- /** If defined, accepts a function that runs on click */
627
- onClick?: SkfTag["onClick"];
628
- /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
629
- onRemove?: SkfTag["onRemove"];
739
+ variant?: SkfTab["variant"];
740
+ /** */
741
+ role?: SkfTab["role"];
742
+ /** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
743
+ "onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
744
+ /** Fired when the component is clicked */
745
+ onclick?: (e: CustomEvent<never>) => void;
630
746
  };
631
747
 
632
748
  type SkfTextAreaProps = {
@@ -677,12 +793,19 @@ type SkfTextAreaProps = {
677
793
  oninvalid?: (e: CustomEvent<never>) => void;
678
794
  };
679
795
 
796
+ type SkfToastWrapperProps = {
797
+ /** */
798
+ debug?: SkfToastWrapper["debug"];
799
+ };
800
+
680
801
  type SkfToastProps = {
681
- /** If provided, adds a close button to the toast and will not disapear until user actively dismisses it. */
682
- closeable?: SkfToast["closeable"];
683
802
  /** */
684
803
  debug?: SkfToast["debug"];
685
- /** Severity of the toast. */
804
+ /** If defined, displays leading icon */
805
+ icon?: SkfToast["icon"];
806
+ /** If true, renders with an close button and sets aria-role to `status` */
807
+ persistent?: SkfToast["persistent"];
808
+ /** If defined, gives the supplied appearance */
686
809
  severity?: SkfToast["severity"];
687
810
  /** Time in seconds before the toast disappears. */
688
811
  timer?: SkfToast["timer"];
@@ -690,31 +813,54 @@ type SkfToastProps = {
690
813
  topOffset?: SkfToast["topOffset"];
691
814
  };
692
815
 
693
- type SkfToastWrapperProps = {
694
- /** */
695
- debug?: SkfToastWrapper["debug"];
696
- };
697
-
698
816
  type SkfTooltipProps = {
817
+ /** The placement of the dropdown */
818
+ placement?: SkfTooltip["undefined"];
819
+ /** The id of the element the dropdown will be anchored to */
820
+ anchor?: SkfTooltip["undefined"];
821
+ /** */
822
+ role?: SkfTooltip["role"];
699
823
  /** */
700
824
  offset?: SkfTooltip["offset"];
701
- /** The placement of the dropdown */
825
+ /** */
702
826
  placement?: SkfTooltip["placement"];
703
- /** Whether the dropdown is open */
704
- isOpen?: SkfTooltip["isOpen"];
705
- /** The id of the element the dropdown will be anchored to */
706
- anchor?: SkfTooltip["anchor"];
827
+ /** */
828
+ variant?: SkfTooltip["variant"];
707
829
  /** Fired when the dropdown is opened */
708
- onopen?: (e: CustomEvent<never>) => void;
830
+ "onskf-opened"?: (e: CustomEvent<never>) => void;
709
831
  /** Fired when the dropdown is closed */
710
- onclose?: (e: CustomEvent<never>) => void;
832
+ "onskf-closed"?: (e: CustomEvent<never>) => void;
711
833
  };
712
834
 
713
835
  export type CustomElements = {
714
836
  /**
715
- * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
837
+ * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.
838
+ * ---
839
+ *
840
+ */
841
+ "skf-icon": DefineComponent<SkfIconProps>;
842
+
843
+ /**
844
+ * The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component
845
+ * ---
846
+ *
847
+ *
848
+ * ### **Events:**
849
+ * - **skf-accordion-item-toggle** - Event emitted when toggled
850
+ *
851
+ * ### **Methods:**
852
+ * - **setClose()** - Class method as alternative to manipulate attribute
853
+ * - **setOpen()** - Class method as alternative to manipulate attribute
854
+ *
855
+ * ### **Slots:**
856
+ * - _default_ - Main content
857
+ */
858
+ "skf-accordion-item": DefineComponent<SkfAccordionItemProps>;
859
+
860
+ /**
861
+ * The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together
716
862
  *
717
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
863
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles
718
864
  * ---
719
865
  *
720
866
  *
@@ -725,6 +871,8 @@ export type CustomElements = {
725
871
 
726
872
  /**
727
873
  * The `<skf-alert>` is a type of notification that appears in-line
874
+ *
875
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles
728
876
  * ---
729
877
  *
730
878
  *
@@ -737,8 +885,20 @@ export type CustomElements = {
737
885
  */
738
886
  "skf-alert": DefineComponent<SkfAlertProps>;
739
887
 
888
+ /**
889
+ * The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
890
+ * ---
891
+ *
892
+ *
893
+ * ### **Slots:**
894
+ * - _default_ - Label of the breadcrumb item
895
+ */
896
+ "skf-breadcrumb-item": DefineComponent<SkfBreadcrumbItemProps>;
897
+
740
898
  /**
741
899
  * The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.
900
+ *
901
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.
742
902
  * ---
743
903
  *
744
904
  *
@@ -751,17 +911,16 @@ export type CustomElements = {
751
911
  "skf-breadcrumb": DefineComponent<SkfBreadcrumbProps>;
752
912
 
753
913
  /**
754
- * The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
914
+ * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
755
915
  * ---
756
916
  *
757
- *
758
- * ### **Slots:**
759
- * - _default_ - Label of the breadcrumb item
760
917
  */
761
- "skf-breadcrumb-item": DefineComponent<SkfBreadcrumbItemProps>;
918
+ "skf-loader": DefineComponent<SkfLoaderProps>;
762
919
 
763
920
  /**
764
921
  * Component to be used in forms or for interactivity
922
+ *
923
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles
765
924
  * ---
766
925
  *
767
926
  *
@@ -778,6 +937,8 @@ export type CustomElements = {
778
937
 
779
938
  /**
780
939
  * The `<skf-card>` can be used to group related subjects in a container
940
+ *
941
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles
781
942
  * ---
782
943
  *
783
944
  *
@@ -792,7 +953,7 @@ export type CustomElements = {
792
953
  *
793
954
  *
794
955
  * ### **Events:**
795
- * - **change** - {object} - When the value of the input changes
956
+ * - **change** - When the value of the input changes
796
957
  *
797
958
  * ### **Slots:**
798
959
  * - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
@@ -800,33 +961,46 @@ export type CustomElements = {
800
961
  "skf-checkbox": DefineComponent<SkfCheckboxProps>;
801
962
 
802
963
  /**
803
- * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
804
964
  *
805
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
806
965
  * ---
807
966
  *
967
+ */
968
+ "skf-datepicker-calendar": DefineComponent<SkfDatepickerCalendarProps>;
969
+
970
+ /**
971
+ *
972
+ * ---
808
973
  *
809
- * ### **Events:**
810
- * - **skf-collapse-toggle** - Event emitted when toggled
811
974
  *
812
975
  * ### **Methods:**
813
- * - **setClose()** - Class method as alternative to manipulate attribute
814
- * - **setOpen()** - Class method as alternative to manipulate attribute
976
+ * - **clear()** - Clears the input field
977
+ */
978
+ "skf-datepicker": DefineComponent<SkfDatepickerProps>;
979
+
980
+ /**
981
+ * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
982
+ * It extends the interface of native html `<h1>` to `<h4>` elements.
983
+ * ---
984
+ *
815
985
  *
816
986
  * ### **Slots:**
817
- * - _default_ - Main content
987
+ * - _default_ - The headings content
818
988
  */
819
- "skf-collapse": DefineComponent<SkfCollapseProps>;
989
+ "skf-heading": DefineComponent<SkfHeadingProps>;
820
990
 
821
991
  /**
822
- * The `<skf-dialog>` is a component that open up a dialog with the content provided
992
+ * 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)
823
993
  * ---
824
994
  *
825
995
  *
826
996
  * ### **Events:**
827
- * - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
828
- * - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
829
- * - **close** - Fires when the dialog is closed (after transitioned out)
997
+ * - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)
998
+ * - **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)
999
+ * - **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)
1000
+ *
1001
+ * ### **Methods:**
1002
+ * - **showModal()** - Method that opens the dialog in modal state
1003
+ * - **close()** - Method that closes the dialog
830
1004
  *
831
1005
  * ### **Slots:**
832
1006
  * - _default_ - The dialog component's content
@@ -850,25 +1024,54 @@ export type CustomElements = {
850
1024
  "skf-divider": DefineComponent<SkfDividerProps>;
851
1025
 
852
1026
  /**
853
- * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
854
- * It extends the interface of native html `<h1>` to `<h4>` elements.
1027
+ * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
855
1028
  * ---
856
1029
  *
857
1030
  *
1031
+ * ### **Events:**
1032
+ * - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)
1033
+ * - **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)
1034
+ * - **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)
1035
+ *
858
1036
  * ### **Slots:**
859
- * - _default_ - The headings content
1037
+ * - _default_ - The Drawer's main content
860
1038
  */
861
- "skf-heading": DefineComponent<SkfHeadingProps>;
1039
+ "skf-drawer": DefineComponent<SkfDrawerProps>;
862
1040
 
863
1041
  /**
864
- * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text
1042
+ * The `<skf-logo>` component is used to display the SKF logo.
865
1043
  * ---
866
1044
  *
1045
+ *
1046
+ * ### **CSS Properties:**
1047
+ * - **--mod-logo-height** - The height of the logo _(default: undefined)_
867
1048
  */
868
- "skf-icon": DefineComponent<SkfIconProps>;
1049
+ "skf-logo": DefineComponent<SkfLogoProps>;
1050
+
1051
+ /**
1052
+ * The `<skf-nav>` is a component that displays a list of <nav-items>.
1053
+ * ---
1054
+ *
1055
+ *
1056
+ * ### **Slots:**
1057
+ * - _default_ - The component's main content
1058
+ */
1059
+ "skf-nav": DefineComponent<SkfNavProps>;
1060
+
1061
+ /**
1062
+ * The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.
1063
+ * ---
1064
+ *
1065
+ *
1066
+ * ### **Slots:**
1067
+ * - _default_ - Navigation items
1068
+ */
1069
+ "skf-header": DefineComponent<SkfHeaderProps>;
869
1070
 
870
1071
  /**
871
- * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.
1072
+ * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
1073
+ *
1074
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles
872
1075
  * ---
873
1076
  *
874
1077
  *
@@ -892,30 +1095,25 @@ export type CustomElements = {
892
1095
  "skf-link": DefineComponent<SkfLinkProps>;
893
1096
 
894
1097
  /**
895
- * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
896
- * ---
897
- *
898
- */
899
- "skf-loader": DefineComponent<SkfLoaderProps>;
900
-
901
- /**
902
- * The `<skf-logo>` component is used to display the SKF logo.
1098
+ * The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component
903
1099
  * ---
904
1100
  *
905
1101
  *
906
- * ### **CSS Properties:**
907
- * - **--skf-logo-height** - The height of the logo _(default: undefined)_
1102
+ * ### **Slots:**
1103
+ * - _default_ - The component's main content
908
1104
  */
909
- "skf-logo": DefineComponent<SkfLogoProps>;
1105
+ "skf-menu-item": DefineComponent<SkfMenuItemProps>;
910
1106
 
911
1107
  /**
912
- * The `<skf-menu>` is a component that displays a list of actions or options.
1108
+ * The `<skf-menu>` is a component that displays a list of actions or options
1109
+ *
1110
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
913
1111
  * ---
914
1112
  *
915
1113
  *
916
1114
  * ### **Events:**
917
- * - **open** - Fired when the menu is opened
918
- * - **close** - Fired when the menu is closed
1115
+ * - **skf-opened** - Fired when the menu is opened
1116
+ * - **skf-closed** - Fired when the menu is closed
919
1117
  *
920
1118
  * ### **Slots:**
921
1119
  * - _default_ - The menu popover content
@@ -923,33 +1121,25 @@ export type CustomElements = {
923
1121
  "skf-menu": DefineComponent<SkfMenuProps>;
924
1122
 
925
1123
  /**
926
- * The `<skf-menu-item>` is a component that displays a list of actions or options.
1124
+ * The `<skf-nav>` is a component that displays a list of <nav-items>.
927
1125
  * ---
928
1126
  *
929
1127
  *
930
- * ### **Events:**
931
- * - **my-tag-my-event** - Fired when something happens
932
- * - **click** - Fired when the component is clicked
933
- * - **mouseover** - Fired when the mouse is over the component
934
- * - **mouseout** - Fired when the mouse is out of the component
935
- * - **focus** - Fired when the component is focused
936
- * - **blur** - Fired when the component is blurred
937
- * - **change** - Fired when the component's value changes
938
- *
939
1128
  * ### **Slots:**
940
1129
  * - _default_ - The component's main content
941
- * - **my-named-slot** - A named slot of the component
942
1130
  */
943
- "skf-menu-item": DefineComponent<SkfMenuItemProps>;
1131
+ "skf-nav-item": DefineComponent<SkfNavItemProps>;
944
1132
 
945
1133
  /**
946
- * The `<skf-popover>` is a general purpose component that displays the slot content.
1134
+ * The `<skf-popover>` is a general purpose component that displays the slot content in a popover.
1135
+ *
1136
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
947
1137
  * ---
948
1138
  *
949
1139
  *
950
1140
  * ### **Events:**
951
- * - **open** - Fired when the menu is opened
952
- * - **close** - Fired when the menu is closed
1141
+ * - **skf-opened** - Fired when the menu is opened
1142
+ * - **skf-closed** - Fired when the menu is closed
953
1143
  *
954
1144
  * ### **Slots:**
955
1145
  * - _default_ - The popover content
@@ -965,11 +1155,13 @@ export type CustomElements = {
965
1155
 
966
1156
  /**
967
1157
  * The `<skf-radio>` component is used to create a radio input
1158
+ *
1159
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles
968
1160
  * ---
969
1161
  *
970
1162
  *
971
1163
  * ### **Events:**
972
- * - **change** - {object} - When the value of the input changes
1164
+ * - **change** - When the value of the input changes
973
1165
  *
974
1166
  * ### **Slots:**
975
1167
  * - _default_ - The radios label. Alternatively, you can use the `label` attribute.
@@ -977,35 +1169,29 @@ export type CustomElements = {
977
1169
  "skf-radio": DefineComponent<SkfRadioProps>;
978
1170
 
979
1171
  /**
980
- * 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.
1172
+ * The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component
981
1173
  * ---
982
1174
  *
983
1175
  *
984
1176
  * ### **Events:**
985
- * - **change** - Fired when the selected option(s) changes
986
- * - **invalid** - Fired when the select is invalid
987
- * - **reset** - Fired when the form is reset
988
- * - **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
989
- * - **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
1177
+ * - **skf-segmented-button-item-select** - Fired when selected
990
1178
  *
991
1179
  * ### **Slots:**
992
- * - _default_ - The select's placeholder content
1180
+ * - _default_ - Label for the button
993
1181
  */
994
- "skf-select": DefineComponent<SkfSelectProps>;
1182
+ "skf-segmented-button-item": DefineComponent<SkfSegmentedButtonItemProps>;
995
1183
 
996
1184
  /**
997
- * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
998
- * ---
1185
+ * The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.
999
1186
  *
1187
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles
1188
+ * ---
1000
1189
  *
1001
- * ### **Events:**
1002
- * - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1003
1190
  *
1004
1191
  * ### **Slots:**
1005
- * - _default_ - The option's text content
1006
- * - **icon** - The option's slot for icon or custom meta information (svg).
1192
+ * - _default_ - One or more `<skf-segmented-button-item>`
1007
1193
  */
1008
- "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1194
+ "skf-segmented-button": DefineComponent<SkfSegmentedButtonProps>;
1009
1195
 
1010
1196
  /**
1011
1197
  * The `<skf-select-option-group>` is a component that groups select-options
@@ -1018,65 +1204,85 @@ export type CustomElements = {
1018
1204
  "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
1019
1205
 
1020
1206
  /**
1021
- * The `<skf-stepper>` is a component that displays a list of actions or options.
1207
+ * The `<skf-tag>` is a component that displays a list of actions or options
1208
+ * ---
1209
+ *
1210
+ *
1211
+ * ### **Slots:**
1212
+ * - _default_ - The component's placeholder content
1213
+ */
1214
+ "skf-tag": DefineComponent<SkfTagProps>;
1215
+
1216
+ /**
1217
+ * 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.
1218
+ *
1219
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles
1022
1220
  * ---
1023
1221
  *
1024
1222
  *
1025
1223
  * ### **Events:**
1026
- * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1224
+ * - **change** - Fired when the selected option(s) changes
1225
+ * - **invalid** - Fired when the select is invalid
1226
+ * - **reset** - Fired when the form is reset
1227
+ * - **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
1228
+ * - **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
1027
1229
  *
1028
1230
  * ### **Slots:**
1029
- * - _default_ - One or more `<skf-stepper-item>`
1231
+ * - _default_ - The select's placeholder content
1030
1232
  */
1031
- "skf-stepper": DefineComponent<SkfStepperProps>;
1233
+ "skf-select": DefineComponent<SkfSelectProps>;
1032
1234
 
1033
1235
  /**
1034
- * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
1236
+ * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
1035
1237
  * ---
1036
1238
  *
1037
1239
  *
1038
1240
  * ### **Events:**
1039
- * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1241
+ * - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1040
1242
  *
1041
1243
  * ### **Slots:**
1042
- * - _default_ - Label of the stepper item
1244
+ * - _default_ - The option's text content
1245
+ * - **icon** - The option's slot for icon or custom meta information (svg).
1043
1246
  */
1044
- "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1247
+ "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1045
1248
 
1046
1249
  /**
1047
- * The `<skf-switch>` is a component that displays a list of actions or options
1250
+ * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
1048
1251
  * ---
1049
1252
  *
1050
1253
  *
1254
+ * ### **Events:**
1255
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1256
+ *
1051
1257
  * ### **Slots:**
1052
- * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1258
+ * - _default_ - Label of the stepper item
1053
1259
  */
1054
- "skf-switch": DefineComponent<SkfSwitchProps>;
1260
+ "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1055
1261
 
1056
1262
  /**
1057
- * The `<skf-tab>` is a component that displays a list of actions or options
1263
+ * The `<skf-stepper>` is a component that displays a list of actions or options.
1058
1264
  * ---
1059
1265
  *
1060
1266
  *
1061
1267
  * ### **Events:**
1062
- * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1063
- * - **click** - Fired when the component is clicked
1268
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1064
1269
  *
1065
1270
  * ### **Slots:**
1066
- * - _default_ - The tab's label
1271
+ * - _default_ - One or more `<skf-stepper-item>`
1067
1272
  */
1068
- "skf-tab": DefineComponent<SkfTabProps>;
1273
+ "skf-stepper": DefineComponent<SkfStepperProps>;
1069
1274
 
1070
1275
  /**
1071
- * The `<skf-tab-group>` is a component that displays a list of actions or options.
1276
+ * The `<skf-switch>` is a component that displays a list of actions or options
1277
+ *
1278
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle
1072
1279
  * ---
1073
1280
  *
1074
1281
  *
1075
1282
  * ### **Slots:**
1076
- * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
1077
- * - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
1283
+ * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1078
1284
  */
1079
- "skf-tab-group": DefineComponent<SkfTabGroupProps>;
1285
+ "skf-switch": DefineComponent<SkfSwitchProps>;
1080
1286
 
1081
1287
  /**
1082
1288
  * The `<skf-tab-panel>` is a component that displays a list of actions or options.
@@ -1089,14 +1295,29 @@ export type CustomElements = {
1089
1295
  "skf-tab-panel": DefineComponent<SkfTabPanelProps>;
1090
1296
 
1091
1297
  /**
1092
- * The `<skf-tag>` is a component that displays a list of actions or options
1298
+ * The `<skf-tabs>` is a component that displays a list of actions or options
1093
1299
  * ---
1094
1300
  *
1095
1301
  *
1096
1302
  * ### **Slots:**
1097
- * - _default_ - The component's placeholder content
1303
+ * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
1304
+ * - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
1098
1305
  */
1099
- "skf-tag": DefineComponent<SkfTagProps>;
1306
+ "skf-tabs": DefineComponent<SkfTabsProps>;
1307
+
1308
+ /**
1309
+ * The `<skf-tab>` is a component that displays a list of actions or options
1310
+ * ---
1311
+ *
1312
+ *
1313
+ * ### **Events:**
1314
+ * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1315
+ * - **click** - Fired when the component is clicked
1316
+ *
1317
+ * ### **Slots:**
1318
+ * - _default_ - The tab's label
1319
+ */
1320
+ "skf-tab": DefineComponent<SkfTabProps>;
1100
1321
 
1101
1322
  /**
1102
1323
  * The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.
@@ -1113,33 +1334,33 @@ export type CustomElements = {
1113
1334
  "skf-textarea": DefineComponent<SkfTextAreaProps>;
1114
1335
 
1115
1336
  /**
1116
- * A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.
1337
+ * The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.
1117
1338
  * ---
1118
1339
  *
1119
1340
  *
1120
1341
  * ### **Slots:**
1121
- * - _default_ - The component's placeholder content
1342
+ * - _default_ - The alert components that the toast creates will render here.
1122
1343
  */
1123
- "skf-toast": DefineComponent<SkfToastProps>;
1344
+ "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1124
1345
 
1125
1346
  /**
1126
- * The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.
1347
+ * A simple toast component that displays a message to the user. Invoke a toast message by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant. A transient toast will disappear after a set amount of time. Once toast is dismissed it will be removed from the DOM.
1127
1348
  * ---
1128
1349
  *
1129
1350
  *
1130
1351
  * ### **Slots:**
1131
- * - _default_ - The alert components that the toast creates will render here.
1352
+ * - _default_ - The component's placeholder content
1132
1353
  */
1133
- "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1354
+ "skf-toast": DefineComponent<SkfToastProps>;
1134
1355
 
1135
1356
  /**
1136
- * The `<skf-tooltip>` is a component that displays a list of actions or options.
1357
+ * The `<skf-tooltip>` is a component that displays a tooltip.
1137
1358
  * ---
1138
1359
  *
1139
1360
  *
1140
1361
  * ### **Events:**
1141
- * - **open** - Fired when the dropdown is opened
1142
- * - **close** - Fired when the dropdown is closed
1362
+ * - **skf-opened** - Fired when the dropdown is opened
1363
+ * - **skf-closed** - Fired when the dropdown is closed
1143
1364
  *
1144
1365
  * ### **Slots:**
1145
1366
  * - _default_ - The tooltip popover content