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

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 (355) hide show
  1. package/README.md +20 -27
  2. package/custom-elements.json +25490 -0
  3. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  4. package/dist/components/accordion/accordion-item.component.js +98 -0
  5. package/dist/components/accordion/accordion-item.d.ts +3 -3
  6. package/dist/components/accordion/accordion-item.js +4 -5
  7. package/dist/components/accordion/accordion-item.styles.js +77 -0
  8. package/dist/components/accordion/accordion.component.d.ts +10 -14
  9. package/dist/components/accordion/accordion.component.js +10 -11
  10. package/dist/components/accordion/accordion.d.ts +0 -1
  11. package/dist/components/accordion/accordion.js +0 -2
  12. package/dist/components/alert/alert.component.d.ts +12 -12
  13. package/dist/components/alert/alert.component.js +57 -55
  14. package/dist/components/alert/alert.styles.js +50 -51
  15. package/dist/components/breadcrumb/breadcrumb-item.component.js +60 -0
  16. package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +2 -2
  17. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  18. package/dist/components/breadcrumb/breadcrumb-item.styles.js +63 -0
  19. package/dist/components/breadcrumb/breadcrumb.component.d.ts +7 -4
  20. package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
  21. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
  22. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  23. package/dist/components/breadcrumb/breadcrumb.styles.js +25 -0
  24. package/dist/components/button/button.component.d.ts +17 -14
  25. package/dist/components/button/button.component.js +73 -61
  26. package/dist/components/button/button.styles.d.ts +1 -2
  27. package/dist/components/button/button.styles.js +13 -3
  28. package/dist/components/card/card.component.d.ts +6 -1
  29. package/dist/components/card/card.component.js +46 -36
  30. package/dist/components/card/card.styles.js +37 -23
  31. package/dist/components/checkbox/checkbox.component.d.ts +17 -13
  32. package/dist/components/checkbox/checkbox.component.js +74 -61
  33. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  34. package/dist/components/checkbox/checkbox.styles.js +1 -5
  35. package/dist/components/datepicker/datepicker-calendar.component.d.ts +80 -0
  36. package/dist/components/datepicker/datepicker-calendar.component.js +415 -0
  37. package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
  38. package/dist/components/datepicker/datepicker-calendar.js +6 -0
  39. package/dist/components/datepicker/datepicker-calendar.styles.js +202 -0
  40. package/dist/components/datepicker/datepicker-popup.component.d.ts +64 -0
  41. package/dist/components/datepicker/datepicker-popup.component.js +261 -0
  42. package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
  43. package/dist/components/datepicker/datepicker-popup.helpers.d.ts +41 -0
  44. package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
  45. package/dist/components/datepicker/datepicker-popup.js +6 -0
  46. package/dist/components/datepicker/datepicker-popup.styles.js +87 -0
  47. package/dist/components/datepicker/datepicker.component.d.ts +121 -0
  48. package/dist/components/datepicker/datepicker.component.js +456 -0
  49. package/dist/components/datepicker/datepicker.d.ts +8 -0
  50. package/dist/components/datepicker/datepicker.helpers.d.ts +38 -0
  51. package/dist/components/datepicker/datepicker.helpers.js +31 -0
  52. package/dist/components/datepicker/datepicker.js +6 -0
  53. package/dist/components/datepicker/datepicker.styles.d.ts +1 -0
  54. package/dist/components/datepicker/datepicker.styles.js +18 -0
  55. package/dist/components/dialog/dialog.component.d.ts +20 -29
  56. package/dist/components/dialog/dialog.component.js +85 -75
  57. package/dist/components/dialog/dialog.d.ts +2 -2
  58. package/dist/components/dialog/dialog.styles.js +4 -4
  59. package/dist/components/divider/divider.component.d.ts +4 -8
  60. package/dist/components/divider/divider.component.js +24 -46
  61. package/dist/components/divider/divider.styles.js +34 -30
  62. package/dist/components/drawer/drawer.component.d.ts +61 -0
  63. package/dist/components/drawer/drawer.component.js +125 -0
  64. package/dist/components/drawer/drawer.d.ts +8 -0
  65. package/dist/components/drawer/drawer.js +6 -0
  66. package/dist/components/drawer/drawer.styles.js +71 -0
  67. package/dist/components/header/header.component.d.ts +46 -0
  68. package/dist/components/header/header.component.js +116 -0
  69. package/dist/components/header/header.d.ts +8 -0
  70. package/dist/components/header/header.js +6 -0
  71. package/dist/components/header/header.styles.js +68 -0
  72. package/dist/components/heading/heading.component.d.ts +8 -12
  73. package/dist/components/heading/heading.component.js +52 -24
  74. package/dist/components/heading/heading.styles.d.ts +1 -2
  75. package/dist/components/heading/heading.styles.js +35 -37
  76. package/dist/components/icon/icon.component.d.ts +15 -17
  77. package/dist/components/icon/icon.component.js +52 -43
  78. package/dist/components/icon/icon.styles.d.ts +1 -2
  79. package/dist/components/icon/icon.styles.js +60 -60
  80. package/dist/components/input/input.component.d.ts +31 -31
  81. package/dist/components/input/input.component.js +167 -146
  82. package/dist/components/input/input.controllers.d.ts +20 -6
  83. package/dist/components/input/input.controllers.js +14 -10
  84. package/dist/components/link/link.component.d.ts +20 -25
  85. package/dist/components/link/link.component.js +99 -107
  86. package/dist/components/link/link.styles.d.ts +1 -2
  87. package/dist/components/link/link.styles.js +47 -43
  88. package/dist/components/loader/loader.component.d.ts +1 -1
  89. package/dist/components/loader/loader.component.js +36 -40
  90. package/dist/components/loader/loader.styles.d.ts +1 -2
  91. package/dist/components/loader/loader.styles.js +40 -32
  92. package/dist/components/logo/logo.component.d.ts +8 -6
  93. package/dist/components/logo/logo.component.js +55 -51
  94. package/dist/components/logo/logo.styles.js +26 -16
  95. package/dist/components/menu/menu-item.component.d.ts +13 -0
  96. package/dist/components/menu/menu-item.component.js +13 -0
  97. package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
  98. package/dist/components/{menu-item → menu}/menu-item.styles.js +8 -5
  99. package/dist/components/menu/menu.component.d.ts +10 -8
  100. package/dist/components/menu/menu.component.js +8 -10
  101. package/dist/components/menu/menu.d.ts +2 -2
  102. package/dist/components/nav/nav-item.component.d.ts +22 -0
  103. package/dist/components/nav/nav-item.component.js +57 -0
  104. package/dist/components/nav/nav-item.d.ts +8 -0
  105. package/dist/components/nav/nav-item.js +6 -0
  106. package/dist/components/nav/nav-item.styles.js +43 -0
  107. package/dist/components/nav/nav.component.d.ts +23 -0
  108. package/dist/components/nav/nav.component.js +55 -0
  109. package/dist/components/nav/nav.d.ts +8 -0
  110. package/dist/components/nav/nav.js +6 -0
  111. package/dist/components/nav/nav.styles.js +23 -0
  112. package/dist/components/popover/popover.component.d.ts +15 -8
  113. package/dist/components/popover/popover.component.js +29 -23
  114. package/dist/components/popover/popover.d.ts +2 -2
  115. package/dist/components/progress/progress.component.d.ts +4 -2
  116. package/dist/components/progress/progress.component.js +38 -35
  117. package/dist/components/progress/progress.d.ts +2 -2
  118. package/dist/components/progress/progress.styles.js +40 -33
  119. package/dist/components/radio/radio.component.d.ts +19 -13
  120. package/dist/components/radio/radio.component.js +12 -12
  121. package/dist/components/radio/radio.styles.d.ts +1 -2
  122. package/dist/components/radio/radio.styles.js +1 -1
  123. package/dist/components/segmented-button/segmented-button-item.component.d.ts +36 -0
  124. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  125. package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
  126. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  127. package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
  128. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  129. package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
  130. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  131. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  132. package/dist/components/segmented-button/segmented-button.js +6 -0
  133. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  134. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  135. package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +4 -0
  136. package/dist/components/select/select-option-group.component.js +50 -0
  137. package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
  138. package/dist/components/select/select-option-group.style.d.ts +1 -0
  139. package/dist/components/select/select-option-group.style.js +24 -0
  140. package/dist/components/{select-option → select}/select-option.component.d.ts +14 -11
  141. package/dist/components/select/select-option.component.js +140 -0
  142. package/dist/components/select/select-option.controllers.d.ts +15 -0
  143. package/dist/components/select/select-option.styles.d.ts +1 -0
  144. package/dist/components/select/select-option.styles.js +65 -0
  145. package/dist/components/select/select.component.d.ts +22 -17
  146. package/dist/components/select/select.component.js +62 -45
  147. package/dist/components/select/select.controllers.d.ts +21 -10
  148. package/dist/components/select/select.controllers.js +29 -23
  149. package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
  150. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +48 -48
  151. package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
  152. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  153. package/dist/components/stepper/stepper.component.d.ts +4 -3
  154. package/dist/components/stepper/stepper.component.js +15 -15
  155. package/dist/components/stepper/stepper.d.ts +2 -2
  156. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  157. package/dist/components/switch/switch.component.d.ts +7 -6
  158. package/dist/components/switch/switch.component.js +21 -21
  159. package/dist/components/switch/switch.d.ts +2 -2
  160. package/dist/components/{tab-panel → tabs}/tab-panel.component.js +1 -1
  161. package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
  162. package/dist/components/tabs/tab-panel.styles.d.ts +1 -0
  163. package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
  164. package/dist/components/{tab → tabs}/tab.component.js +1 -1
  165. package/dist/components/{tab → tabs}/tab.d.ts +2 -2
  166. package/dist/components/tabs/tab.styles.d.ts +1 -0
  167. package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
  168. package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +36 -37
  169. package/dist/components/tabs/tabs.d.ts +8 -0
  170. package/dist/components/tabs/tabs.js +6 -0
  171. package/dist/components/tabs/tabs.styles.d.ts +1 -0
  172. package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
  173. package/dist/components/tag/tag.component.d.ts +20 -17
  174. package/dist/components/tag/tag.component.js +68 -67
  175. package/dist/components/tag/tag.d.ts +2 -2
  176. package/dist/components/tag/tag.styles.js +63 -50
  177. package/dist/components/textarea/textarea.component.d.ts +10 -11
  178. package/dist/components/textarea/textarea.component.js +67 -68
  179. package/dist/components/{toast-item → toast}/toast-item.component.js +15 -15
  180. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  181. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  182. package/dist/components/toast/toast-item.styles.js +18 -0
  183. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  184. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  185. package/dist/components/toast/toast.component.d.ts +9 -5
  186. package/dist/components/toast/toast.component.js +31 -27
  187. package/dist/components/toast/toast.singleton.d.ts +7 -12
  188. package/dist/components/toast/toast.singleton.js +26 -26
  189. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  190. package/dist/components/tooltip/tooltip.component.js +16 -11
  191. package/dist/components/tooltip/tooltip.d.ts +2 -2
  192. package/dist/custom-elements.json +3980 -2348
  193. package/dist/index.d.ts +22 -9
  194. package/dist/index.js +111 -74
  195. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  196. package/dist/internal/base-classes/popover/popover.base.js +140 -79
  197. package/dist/internal/base-classes/popover/popover.styles.js +17 -5
  198. package/dist/internal/components/hint/hint.component.d.ts +6 -2
  199. package/dist/internal/components/hint/hint.component.js +47 -20
  200. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  201. package/dist/internal/components/hint/hint.styles.js +30 -26
  202. package/dist/internal/components/skf-element.d.ts +1 -3
  203. package/dist/internal/components/skf-element.js +4 -9
  204. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  205. package/dist/internal/constants/iconSeverity.js +2 -3
  206. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  207. package/dist/internal/controllers/popover.controller.d.ts +12 -6
  208. package/dist/internal/controllers/popover.controller.js +9 -14
  209. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  210. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  211. package/dist/internal/helpers/hintSeverity.js +1 -1
  212. package/dist/internal/helpers/stateMap.d.ts +14 -0
  213. package/dist/internal/helpers/stateMap.js +68 -0
  214. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  215. package/dist/internal/helpers/uuid.d.ts +15 -0
  216. package/dist/internal/helpers/uuid.js +14 -0
  217. package/dist/internal/helpers/watch.d.ts +1 -1
  218. package/dist/internal/helpers/watch.js +12 -12
  219. package/dist/internal/storybook/styles.d.ts +1 -0
  220. package/dist/internal/types/formField.d.ts +1 -1
  221. package/dist/internal/types.d.ts +18 -0
  222. package/dist/styles/component.styles.d.ts +1 -2
  223. package/dist/styles/component.styles.js +38 -37
  224. package/dist/styles/form-field.styles.js +11 -6
  225. package/dist/styles/global-alt.css +1 -0
  226. package/dist/styles/global.css +1 -1
  227. package/dist/types/jsx/custom-element-jsx.d.ts +871 -1307
  228. package/dist/types/vue/index.d.ts +593 -360
  229. package/dist/vscode.html-custom-data.json +630 -1184
  230. package/dist/web-types.json +1422 -945
  231. package/package.json +47 -63
  232. package/dist/components/accordion/accordion.test.d.ts +0 -1
  233. package/dist/components/checkbox/checkbox.test.d.ts +0 -1
  234. package/dist/components/collapse/collapse.component.d.ts +0 -40
  235. package/dist/components/collapse/collapse.component.js +0 -86
  236. package/dist/components/collapse/collapse.d.ts +0 -8
  237. package/dist/components/collapse/collapse.js +0 -6
  238. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  239. package/dist/components/collapse/collapse.styles.js +0 -77
  240. package/dist/components/collapse/collapse.test.d.ts +0 -1
  241. package/dist/components/input/input.test.d.ts +0 -1
  242. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  243. package/dist/components/menu-item/menu-item.component.js +0 -13
  244. package/dist/components/radio/radio.test.d.ts +0 -1
  245. package/dist/components/select-option/select-option.component.js +0 -123
  246. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  247. package/dist/components/select-option/select-option.styles.js +0 -53
  248. package/dist/components/select-option-group/select-option-group.component.js +0 -31
  249. package/dist/components/select-option-group/select-option-group.style.js +0 -18
  250. package/dist/components/switch/switch.test.d.ts +0 -1
  251. package/dist/components/tab-group/tab-group.d.ts +0 -8
  252. package/dist/components/tab-group/tab-group.js +0 -6
  253. package/dist/components/toast-item/toast-item.styles.js +0 -16
  254. package/dist/internal/constants/heading.d.ts +0 -2
  255. package/dist/internal/playwright/index.d.ts +0 -1
  256. package/dist/react/index.d.ts +0 -35
  257. package/dist/react/index.js +0 -35
  258. package/dist/react/skf-accordion/index.d.ts +0 -3
  259. package/dist/react/skf-accordion/index.js +0 -13
  260. package/dist/react/skf-alert/index.d.ts +0 -9
  261. package/dist/react/skf-alert/index.js +0 -17
  262. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  263. package/dist/react/skf-breadcrumb/index.js +0 -17
  264. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  265. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  266. package/dist/react/skf-button/index.d.ts +0 -9
  267. package/dist/react/skf-button/index.js +0 -17
  268. package/dist/react/skf-card/index.d.ts +0 -3
  269. package/dist/react/skf-card/index.js +0 -13
  270. package/dist/react/skf-checkbox/index.d.ts +0 -9
  271. package/dist/react/skf-checkbox/index.js +0 -17
  272. package/dist/react/skf-collapse/index.d.ts +0 -9
  273. package/dist/react/skf-collapse/index.js +0 -17
  274. package/dist/react/skf-dialog/index.d.ts +0 -15
  275. package/dist/react/skf-dialog/index.js +0 -19
  276. package/dist/react/skf-divider/index.d.ts +0 -3
  277. package/dist/react/skf-divider/index.js +0 -13
  278. package/dist/react/skf-heading/index.d.ts +0 -3
  279. package/dist/react/skf-heading/index.js +0 -13
  280. package/dist/react/skf-icon/index.d.ts +0 -3
  281. package/dist/react/skf-icon/index.js +0 -13
  282. package/dist/react/skf-input/index.d.ts +0 -12
  283. package/dist/react/skf-input/index.js +0 -18
  284. package/dist/react/skf-link/index.d.ts +0 -3
  285. package/dist/react/skf-link/index.js +0 -13
  286. package/dist/react/skf-loader/index.d.ts +0 -3
  287. package/dist/react/skf-loader/index.js +0 -13
  288. package/dist/react/skf-logo/index.d.ts +0 -3
  289. package/dist/react/skf-logo/index.js +0 -13
  290. package/dist/react/skf-menu/index.d.ts +0 -12
  291. package/dist/react/skf-menu/index.js +0 -18
  292. package/dist/react/skf-menu-item/index.d.ts +0 -27
  293. package/dist/react/skf-menu-item/index.js +0 -23
  294. package/dist/react/skf-popover/index.d.ts +0 -12
  295. package/dist/react/skf-popover/index.js +0 -18
  296. package/dist/react/skf-progress/index.d.ts +0 -3
  297. package/dist/react/skf-progress/index.js +0 -13
  298. package/dist/react/skf-radio/index.d.ts +0 -9
  299. package/dist/react/skf-radio/index.js +0 -17
  300. package/dist/react/skf-select/index.d.ts +0 -21
  301. package/dist/react/skf-select/index.js +0 -21
  302. package/dist/react/skf-select-option/index.d.ts +0 -9
  303. package/dist/react/skf-select-option/index.js +0 -17
  304. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  305. package/dist/react/skf-select-option-group/index.js +0 -13
  306. package/dist/react/skf-stepper/index.d.ts +0 -9
  307. package/dist/react/skf-stepper/index.js +0 -17
  308. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  309. package/dist/react/skf-stepper-item/index.js +0 -17
  310. package/dist/react/skf-switch/index.d.ts +0 -3
  311. package/dist/react/skf-switch/index.js +0 -13
  312. package/dist/react/skf-tab/index.d.ts +0 -12
  313. package/dist/react/skf-tab/index.js +0 -18
  314. package/dist/react/skf-tab-group/index.d.ts +0 -3
  315. package/dist/react/skf-tab-group/index.js +0 -13
  316. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  317. package/dist/react/skf-tab-panel/index.js +0 -13
  318. package/dist/react/skf-tag/index.d.ts +0 -3
  319. package/dist/react/skf-tag/index.js +0 -13
  320. package/dist/react/skf-textarea/index.d.ts +0 -12
  321. package/dist/react/skf-textarea/index.js +0 -18
  322. package/dist/react/skf-toast/index.d.ts +0 -3
  323. package/dist/react/skf-toast/index.js +0 -13
  324. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  325. package/dist/react/skf-toast-wrapper/index.js +0 -13
  326. package/dist/react/skf-tooltip/index.d.ts +0 -12
  327. package/dist/react/skf-tooltip/index.js +0 -18
  328. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  329. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  330. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  331. /package/dist/components/{select-option-group/select-option-group.style.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
  332. /package/dist/components/{select-option/select-option.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
  333. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → drawer/drawer.styles.d.ts} +0 -0
  334. /package/dist/components/{tab-group/tab-group.styles.d.ts → header/header.styles.d.ts} +0 -0
  335. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  336. /package/dist/components/{tab-panel/tab-panel.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  337. /package/dist/components/{tab/tab.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  338. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav.styles.d.ts} +0 -0
  339. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  340. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  341. /package/dist/components/{select-option → select}/select-option.js +0 -0
  342. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  343. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  344. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  345. /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
  346. /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
  347. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
  348. /package/dist/components/{tab → tabs}/tab.js +0 -0
  349. /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
  350. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  351. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  352. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  353. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  354. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  355. /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 { SkfLink, CustomEvent } from "../../components/link/link.component.js";
21
+ import type { SkfNavItem } from "../../components/nav-item/nav-item.component.js";
22
+ import type { SkfNav } from "../../components/nav/nav.component.js";
23
+ import type { SkfHeader } from "../../components/header/header.component.js";
24
+ import type { SkfInput, CustomEvent } from "../../components/input/input.component.js";
20
25
  import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
21
- import type { SkfPopover } from "../../components/popover/popover.component.js";
26
+ import type { SkfMenu, CustomEvent } from "../../components/menu/menu.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,84 @@ 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 SkfLinkProps = {
333
+ /** Defines the semantic element to render */
334
+ as?: SkfLink["as"];
335
+ /** Defines the text-color */
336
+ color?: SkfLink["color"];
337
+ /** If true, disables the link */
338
+ disabled?: SkfLink["disabled"];
339
+ /** If defined, downloads the url */
340
+ download?: SkfLink["download"];
341
+ /** If defined, loads url on click */
342
+ href?: SkfLink["href"];
343
+ /** If defined, renders an icon before or after the text */
344
+ icon?: SkfLink["icon"];
345
+ /** If true, the icon is placed to the right in relation to the text */
346
+ "icon-right"?: SkfLink["iconRight"];
347
+ /** If defined, describes the relationship between a linked resource and the current document */
348
+ rel?: SkfLink["rel"];
349
+ /** If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button. */
350
+ route?: SkfLink["route"];
351
+ /** If true, fills the parents horizontal axis */
352
+ stretch?: SkfLink["stretch"];
353
+ /** If defined, specifies where to open the linked document */
354
+ target?: SkfLink["target"];
355
+
356
+ /** Fired when the link is clicked */
357
+ "onskf-link-click"?: (e: CustomEvent<CustomEvent>) => void;
358
+ };
359
+
360
+ type SkfNavItemProps = {
361
+ /** */
362
+ href?: SkfNavItem["href"];
363
+ /** */
364
+ icon?: SkfNavItem["icon"];
365
+ /** */
366
+ vertical?: SkfNavItem["vertical"];
367
+ };
368
+
369
+ type SkfNavProps = {
370
+ /** If true, the navigation will be displayed vertically */
371
+ vertical?: SkfNav["vertical"];
372
+ };
373
+
374
+ type SkfHeaderProps = {
375
+ /** If true, sets header to display in compact mode only (hanburger menu and drawer) */
376
+ compact?: SkfHeader["compact"];
377
+ /** If defined, sets the aria-label for the hamburger button */
378
+ "hamburger-aria-label"?: SkfHeader["hamburgerAriaLabel"];
379
+ /** If defined, sets the app or site's name */
380
+ "site-name"?: SkfHeader["siteName"];
381
+ /** If defined, sets the site's base-url for the "logo-link" */
382
+ "site-url"?: SkfHeader["siteUrl"];
222
383
  };
223
384
 
224
385
  type SkfInputProps = {
@@ -226,7 +387,8 @@ type SkfInputProps = {
226
387
  disabled?: SkfInput["undefined"];
227
388
  /** If true, value is required or must be checked for the form to be submittable */
228
389
  required?: SkfInput["undefined"];
229
- /** -m } */
390
+ /** Indicates whether the value of the control can be automatically completed by the browser. See
391
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details. */
230
392
  autocomplete?: SkfInput["autocomplete"];
231
393
  /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
232
394
  "button-aria-label-clear"?: SkfInput["buttonAriaLabelClear"];
@@ -242,7 +404,8 @@ type SkfInputProps = {
242
404
  "hide-label"?: SkfInput["hideLabel"];
243
405
  /** If defined, displays informational text below the field */
244
406
  hint?: SkfInput["hint"];
245
- /** Tells what keyboard to use if applicable */
407
+ /** Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See
408
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details. */
246
409
  inputmode?: SkfInput["inputmode"];
247
410
  /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
248
411
  label?: SkfInput["label"];
@@ -274,7 +437,7 @@ type SkfInputProps = {
274
437
  size?: SkfInput["size"];
275
438
  /** If defined, displays a suffix/adornment after the input-element */
276
439
  trailing?: SkfInput["trailing"];
277
- /** Type of input control */
440
+ /** Type of input */
278
441
  type?: SkfInput["type"];
279
442
  /** Sets validation start */
280
443
  "validate-on"?: SkfInput["validateOn"];
@@ -282,71 +445,9 @@ type SkfInputProps = {
282
445
  value?: SkfInput["value"];
283
446
 
284
447
  /** Fires when the value of the input changes */
285
- onchange?: (e: CustomEvent<never>) => void;
448
+ onchange?: (e: CustomEvent<CustomEvent>) => void;
286
449
  /** Fires when the input is invalid */
287
- oninvalid?: (e: CustomEvent<never>) => void;
288
- };
289
-
290
- type SkfLinkProps = {
291
- /** Defines the semantic element to render */
292
- as?: SkfLink["as"];
293
- /** Defines the text-color */
294
- color?: SkfLink["color"];
295
- /** If true, disables the link */
296
- disabled?: SkfLink["disabled"];
297
- /** If defined, downloads the url */
298
- download?: SkfLink["download"];
299
- /** If defined, loads url on click */
300
- href?: SkfLink["href"];
301
- /** If defined, renders an icon before or after the text */
302
- icon?: SkfLink["icon"];
303
- /** Defines the position of the icon in relation to the text */
304
- "icon-placement"?: SkfLink["iconPlacement"];
305
- /** If defined, describes the relationship between a linked resource and the current document */
306
- rel?: SkfLink["rel"];
307
- /** If defined, used on conjunction with onClick property, second argument */
308
- route?: SkfLink["route"];
309
- /** If true, fills the parents horizontal axis */
310
- stretch?: SkfLink["stretch"];
311
- /** If defined, specifies where to open the linked document */
312
- target?: SkfLink["target"];
313
- /** Defines the type of button */
314
- type?: SkfLink["type"];
315
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
316
- onClick?: SkfLink["onClick"];
317
- };
318
-
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;
450
+ oninvalid?: (e: CustomEvent<CustomEvent>) => void;
350
451
  };
351
452
 
352
453
  type SkfMenuItemProps = {
@@ -362,53 +463,47 @@ type SkfMenuItemProps = {
362
463
  href?: SkfMenuItem["href"];
363
464
  /** If defined, renders an icon before or after the text */
364
465
  icon?: SkfMenuItem["icon"];
365
- /** Defines the position of the icon in relation to the text */
366
- "icon-placement"?: SkfMenuItem["iconPlacement"];
466
+ /** If true, the icon is placed to the right in relation to the text */
467
+ "icon-right"?: SkfMenuItem["iconRight"];
367
468
  /** If defined, describes the relationship between a linked resource and the current document */
368
469
  rel?: SkfMenuItem["rel"];
369
- /** If defined, used on conjunction with onClick property, second argument */
470
+ /** If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button. */
370
471
  route?: SkfMenuItem["route"];
371
472
  /** If true, fills the parents horizontal axis */
372
473
  stretch?: SkfMenuItem["stretch"];
373
474
  /** If defined, specifies where to open the linked document */
374
475
  target?: SkfMenuItem["target"];
375
- /** Defines the type of button */
376
- type?: SkfMenuItem["type"];
377
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
378
- 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;
476
+
477
+ /** Fired when the link is clicked */
478
+ "onskf-link-click"?: (e: CustomEvent<CustomEvent>) => void;
479
+ };
480
+
481
+ type SkfMenuProps = {
482
+ /** The placement of the menu */
483
+ placement?: SkfMenu["undefined"];
484
+ /** The id of the element the menu will be anchored to */
485
+ anchor?: SkfMenu["undefined"];
486
+
487
+ /** Fired when the menu is opened */
488
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
489
+ /** Fired when the menu is closed */
490
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
393
491
  };
394
492
 
395
493
  type SkfPopoverProps = {
494
+ /** The placement of the popover */
495
+ placement?: SkfPopover["undefined"];
496
+ /** The id of the element the menu will be anchored to */
497
+ anchor?: SkfPopover["undefined"];
396
498
  /** If defined, sets a custom offset for the popover */
397
499
  offset?: SkfPopover["offset"];
398
500
  /** If true, hides the arrow */
399
501
  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"];
502
+
408
503
  /** Fired when the menu is opened */
409
- onopen?: (e: CustomEvent<never>) => void;
504
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
410
505
  /** Fired when the menu is closed */
411
- onclose?: (e: CustomEvent<never>) => void;
506
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
412
507
  };
413
508
 
414
509
  type SkfProgressProps = {
@@ -446,13 +541,54 @@ type SkfRadioProps = {
446
541
  /** The current value of the input field */
447
542
  value?: SkfRadio["value"];
448
543
 
449
- /** {object} - When the value of the input changes */
450
- onchange?: (e: CustomEvent<never>) => void;
544
+ /** When the value of the input changes */
545
+ onchange?: (e: CustomEvent<Event>) => void;
546
+ };
547
+
548
+ type SkfSegmentedButtonItemProps = {
549
+ /** If true, items is marked as disabled */
550
+ disabled?: SkfSegmentedButtonItem["disabled"];
551
+ /** If true, items is marked as selected */
552
+ selected?: SkfSegmentedButtonItem["selected"];
553
+ /** Sets the item value */
554
+ value?: SkfSegmentedButtonItem["value"];
555
+
556
+ /** Fired when selected */
557
+ "onskf-segmented-button-item-select"?: (e: CustomEvent<CustomEvent>) => void;
558
+ };
559
+
560
+ type SkfSegmentedButtonProps = {
561
+ /** If true, allowes multiple items to be selected */
562
+ multiple?: SkfSegmentedButton["multiple"];
563
+ };
564
+
565
+ type SkfSelectOptionGroupProps = {
566
+ /** */
567
+ label?: SkfSelectOptionGroup["label"];
568
+ /** */
569
+ small?: SkfSelectOptionGroup["small"];
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 = {
@@ -517,28 +653,15 @@ type SkfSelectOptionProps = {
517
653
  /** The option's label text (equivalent to the tags textContent) */
518
654
  text?: SkfSelectOption["text"];
519
655
  /** */
656
+ small?: SkfSelectOption["small"];
657
+ /** */
520
658
  role?: SkfSelectOption["role"];
521
659
  /** */
522
660
  _parent?: SkfSelectOption["_parent"];
523
661
  /** */
524
662
  _shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
525
663
  /** {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;
664
+ "onskf-select-option-select"?: (e: CustomEvent<never>) => void;
542
665
  };
543
666
 
544
667
  type SkfStepperItemProps = {
@@ -554,6 +677,16 @@ type SkfStepperItemProps = {
554
677
  "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
555
678
  };
556
679
 
680
+ type SkfStepperProps = {
681
+ /** Sets the active item */
682
+ "active-index"?: SkfStepper["activeIndex"];
683
+ /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
684
+ linear?: SkfStepper["linear"];
685
+
686
+ /** Dispatched when the stepper item is selected */
687
+ "onskf-stepper-item-select"?: (e: CustomEvent<CustomEvent>) => void;
688
+ };
689
+
557
690
  type SkfSwitchProps = {
558
691
  /** If true, sets disabled state */
559
692
  disabled?: SkfSwitch["undefined"];
@@ -577,34 +710,6 @@ type SkfSwitchProps = {
577
710
  value?: SkfSwitch["value"];
578
711
  };
579
712
 
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"];
585
- /** */
586
- variant?: SkfTab["variant"];
587
- /** */
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;
593
- };
594
-
595
- type SkfTabGroupProps = {
596
- /** Sets the default selected tab */
597
- "default-selected"?: SkfTabGroup["defaultSelected"];
598
- /** If true, removes border */
599
- "no-border"?: SkfTabGroup["noBorder"];
600
- /** If true, removes padding */
601
- "no-padding"?: SkfTabGroup["noPadding"];
602
- /** If true, component fills the parent element height */
603
- stretch?: SkfTabGroup["stretch"];
604
- /** Sets the appearance of the tabs */
605
- variant?: SkfTabGroup["variant"];
606
- };
607
-
608
713
  type SkfTabPanelProps = {
609
714
  /** The tab panel's name. */
610
715
  name?: SkfTabPanel["name"];
@@ -614,19 +719,32 @@ type SkfTabPanelProps = {
614
719
  role?: SkfTabPanel["role"];
615
720
  };
616
721
 
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"];
722
+ type SkfTabsProps = {
723
+ /** Sets the default selected tab */
724
+ "default-selected"?: SkfTabs["defaultSelected"];
725
+ /** If true, removes border */
726
+ "no-border"?: SkfTabs["noBorder"];
727
+ /** If true, removes padding */
728
+ "no-padding"?: SkfTabs["noPadding"];
729
+ /** If true, component fills the parent element height */
730
+ stretch?: SkfTabs["stretch"];
731
+ /** Sets the appearance of the tabs */
732
+ variant?: SkfTabs["variant"];
733
+ };
734
+
735
+ type SkfTabProps = {
736
+ /** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
737
+ panel?: SkfTab["panel"];
738
+ /** */
739
+ selected?: SkfTab["selected"];
740
+ /** */
741
+ variant?: SkfTab["variant"];
742
+ /** */
743
+ role?: SkfTab["role"];
744
+ /** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
745
+ "onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
746
+ /** Fired when the component is clicked */
747
+ onclick?: (e: CustomEvent<never>) => void;
630
748
  };
631
749
 
632
750
  type SkfTextAreaProps = {
@@ -677,12 +795,19 @@ type SkfTextAreaProps = {
677
795
  oninvalid?: (e: CustomEvent<never>) => void;
678
796
  };
679
797
 
798
+ type SkfToastWrapperProps = {
799
+ /** */
800
+ debug?: SkfToastWrapper["debug"];
801
+ };
802
+
680
803
  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
804
  /** */
684
805
  debug?: SkfToast["debug"];
685
- /** Severity of the toast. */
806
+ /** If defined, displays leading icon */
807
+ icon?: SkfToast["icon"];
808
+ /** If true, renders with an close button and sets aria-role to `status` */
809
+ persistent?: SkfToast["persistent"];
810
+ /** If defined, gives the supplied appearance */
686
811
  severity?: SkfToast["severity"];
687
812
  /** Time in seconds before the toast disappears. */
688
813
  timer?: SkfToast["timer"];
@@ -690,31 +815,54 @@ type SkfToastProps = {
690
815
  topOffset?: SkfToast["topOffset"];
691
816
  };
692
817
 
693
- type SkfToastWrapperProps = {
694
- /** */
695
- debug?: SkfToastWrapper["debug"];
696
- };
697
-
698
818
  type SkfTooltipProps = {
819
+ /** The placement of the dropdown */
820
+ placement?: SkfTooltip["undefined"];
821
+ /** The id of the element the dropdown will be anchored to */
822
+ anchor?: SkfTooltip["undefined"];
823
+ /** */
824
+ role?: SkfTooltip["role"];
699
825
  /** */
700
826
  offset?: SkfTooltip["offset"];
701
- /** The placement of the dropdown */
827
+ /** */
702
828
  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"];
829
+ /** */
830
+ variant?: SkfTooltip["variant"];
707
831
  /** Fired when the dropdown is opened */
708
- onopen?: (e: CustomEvent<never>) => void;
832
+ "onskf-opened"?: (e: CustomEvent<never>) => void;
709
833
  /** Fired when the dropdown is closed */
710
- onclose?: (e: CustomEvent<never>) => void;
834
+ "onskf-closed"?: (e: CustomEvent<never>) => void;
711
835
  };
712
836
 
713
837
  export type CustomElements = {
714
838
  /**
715
- * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
839
+ * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.
840
+ * ---
841
+ *
842
+ */
843
+ "skf-icon": DefineComponent<SkfIconProps>;
844
+
845
+ /**
846
+ * The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component
847
+ * ---
848
+ *
849
+ *
850
+ * ### **Events:**
851
+ * - **skf-accordion-item-toggle** - Event emitted when toggled
852
+ *
853
+ * ### **Methods:**
854
+ * - **setClose()** - Class method as alternative to manipulate attribute
855
+ * - **setOpen()** - Class method as alternative to manipulate attribute
856
+ *
857
+ * ### **Slots:**
858
+ * - _default_ - Main content
859
+ */
860
+ "skf-accordion-item": DefineComponent<SkfAccordionItemProps>;
861
+
862
+ /**
863
+ * The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together
716
864
  *
717
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
865
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles
718
866
  * ---
719
867
  *
720
868
  *
@@ -725,6 +873,8 @@ export type CustomElements = {
725
873
 
726
874
  /**
727
875
  * The `<skf-alert>` is a type of notification that appears in-line
876
+ *
877
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles
728
878
  * ---
729
879
  *
730
880
  *
@@ -737,8 +887,20 @@ export type CustomElements = {
737
887
  */
738
888
  "skf-alert": DefineComponent<SkfAlertProps>;
739
889
 
890
+ /**
891
+ * The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
892
+ * ---
893
+ *
894
+ *
895
+ * ### **Slots:**
896
+ * - _default_ - Label of the breadcrumb item
897
+ */
898
+ "skf-breadcrumb-item": DefineComponent<SkfBreadcrumbItemProps>;
899
+
740
900
  /**
741
901
  * The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.
902
+ *
903
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.
742
904
  * ---
743
905
  *
744
906
  *
@@ -751,17 +913,16 @@ export type CustomElements = {
751
913
  "skf-breadcrumb": DefineComponent<SkfBreadcrumbProps>;
752
914
 
753
915
  /**
754
- * The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
916
+ * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
755
917
  * ---
756
918
  *
757
- *
758
- * ### **Slots:**
759
- * - _default_ - Label of the breadcrumb item
760
919
  */
761
- "skf-breadcrumb-item": DefineComponent<SkfBreadcrumbItemProps>;
920
+ "skf-loader": DefineComponent<SkfLoaderProps>;
762
921
 
763
922
  /**
764
923
  * Component to be used in forms or for interactivity
924
+ *
925
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles
765
926
  * ---
766
927
  *
767
928
  *
@@ -778,11 +939,16 @@ export type CustomElements = {
778
939
 
779
940
  /**
780
941
  * The `<skf-card>` can be used to group related subjects in a container
942
+ *
943
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles
781
944
  * ---
782
945
  *
783
946
  *
784
947
  * ### **Slots:**
785
948
  * - _default_ - The card's main content
949
+ *
950
+ * ### **CSS Properties:**
951
+ * - **--mod-card-bg-color** - Ability to set a custom background color _(default: undefined)_
786
952
  */
787
953
  "skf-card": DefineComponent<SkfCardProps>;
788
954
 
@@ -792,7 +958,7 @@ export type CustomElements = {
792
958
  *
793
959
  *
794
960
  * ### **Events:**
795
- * - **change** - {object} - When the value of the input changes
961
+ * - **change** - When the value of the input changes
796
962
  *
797
963
  * ### **Slots:**
798
964
  * - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
@@ -800,33 +966,46 @@ export type CustomElements = {
800
966
  "skf-checkbox": DefineComponent<SkfCheckboxProps>;
801
967
 
802
968
  /**
803
- * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
804
969
  *
805
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
806
970
  * ---
807
971
  *
972
+ */
973
+ "skf-datepicker-calendar": DefineComponent<SkfDatepickerCalendarProps>;
974
+
975
+ /**
976
+ *
977
+ * ---
808
978
  *
809
- * ### **Events:**
810
- * - **skf-collapse-toggle** - Event emitted when toggled
811
979
  *
812
980
  * ### **Methods:**
813
- * - **setClose()** - Class method as alternative to manipulate attribute
814
- * - **setOpen()** - Class method as alternative to manipulate attribute
981
+ * - **clear()** - Clears the input field
982
+ */
983
+ "skf-datepicker": DefineComponent<SkfDatepickerProps>;
984
+
985
+ /**
986
+ * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
987
+ * It extends the interface of native html `<h1>` to `<h4>` elements.
988
+ * ---
989
+ *
815
990
  *
816
991
  * ### **Slots:**
817
- * - _default_ - Main content
992
+ * - _default_ - The headings content
818
993
  */
819
- "skf-collapse": DefineComponent<SkfCollapseProps>;
994
+ "skf-heading": DefineComponent<SkfHeadingProps>;
820
995
 
821
996
  /**
822
- * The `<skf-dialog>` is a component that open up a dialog with the content provided
997
+ * 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
998
  * ---
824
999
  *
825
1000
  *
826
1001
  * ### **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)
1002
+ * - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)
1003
+ * - **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)
1004
+ * - **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)
1005
+ *
1006
+ * ### **Methods:**
1007
+ * - **showModal()** - Method that opens the dialog in modal state
1008
+ * - **close()** - Method that closes the dialog
830
1009
  *
831
1010
  * ### **Slots:**
832
1011
  * - _default_ - The dialog component's content
@@ -850,106 +1029,129 @@ export type CustomElements = {
850
1029
  "skf-divider": DefineComponent<SkfDividerProps>;
851
1030
 
852
1031
  /**
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.
1032
+ * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
855
1033
  * ---
856
1034
  *
857
1035
  *
1036
+ * ### **Events:**
1037
+ * - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)
1038
+ * - **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)
1039
+ * - **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)
1040
+ *
858
1041
  * ### **Slots:**
859
- * - _default_ - The headings content
1042
+ * - _default_ - The Drawer's main content
860
1043
  */
861
- "skf-heading": DefineComponent<SkfHeadingProps>;
1044
+ "skf-drawer": DefineComponent<SkfDrawerProps>;
862
1045
 
863
1046
  /**
864
- * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text
1047
+ * The `<skf-logo>` component is used to display the SKF logo.
865
1048
  * ---
866
1049
  *
1050
+ *
1051
+ * ### **CSS Properties:**
1052
+ * - **--mod-logo-height** - The height of the logo _(default: undefined)_
867
1053
  */
868
- "skf-icon": DefineComponent<SkfIconProps>;
1054
+ "skf-logo": DefineComponent<SkfLogoProps>;
869
1055
 
870
1056
  /**
871
- * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.
1057
+ * The `<skf-link>` can be used as either a regular link or a semantic button. The button variant is
1058
+ * intended to be used for triggering javascript functions, not handling forms.
872
1059
  * ---
873
1060
  *
874
1061
  *
875
1062
  * ### **Events:**
876
- * - **change** - Fires when the value of the input changes
877
- * - **invalid** - Fires when the input is invalid
1063
+ * - **skf-link-click** - Fired when the link is clicked
878
1064
  *
879
1065
  * ### **Slots:**
880
- * - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.
1066
+ * - _default_ - The links' main content
881
1067
  */
882
- "skf-input": DefineComponent<SkfInputProps>;
1068
+ "skf-link": DefineComponent<SkfLinkProps>;
883
1069
 
884
1070
  /**
885
- * The `<skf-link>` can be used as either a regular link or a link styled semantic button
1071
+ * The `<skf-nav>` is a component that displays a list of <nav-items>.
886
1072
  * ---
887
1073
  *
888
1074
  *
889
1075
  * ### **Slots:**
890
- * - _default_ - The links' main content
1076
+ * - _default_ - The component's main content
891
1077
  */
892
- "skf-link": DefineComponent<SkfLinkProps>;
1078
+ "skf-nav-item": DefineComponent<SkfNavItemProps>;
893
1079
 
894
1080
  /**
895
- * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
1081
+ * The `<skf-nav>` is a component that displays a list of <nav-items>.
896
1082
  * ---
897
1083
  *
1084
+ *
1085
+ * ### **Slots:**
1086
+ * - _default_ - The component's main content
898
1087
  */
899
- "skf-loader": DefineComponent<SkfLoaderProps>;
1088
+ "skf-nav": DefineComponent<SkfNavProps>;
900
1089
 
901
1090
  /**
902
- * The `<skf-logo>` component is used to display the SKF logo.
1091
+ * 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.
903
1092
  * ---
904
1093
  *
905
1094
  *
906
- * ### **CSS Properties:**
907
- * - **--skf-logo-height** - The height of the logo _(default: undefined)_
1095
+ * ### **Slots:**
1096
+ * - _default_ - Navigation items
908
1097
  */
909
- "skf-logo": DefineComponent<SkfLogoProps>;
1098
+ "skf-header": DefineComponent<SkfHeaderProps>;
910
1099
 
911
1100
  /**
912
- * The `<skf-menu>` is a component that displays a list of actions or options.
1101
+ * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
1102
+ *
1103
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles
913
1104
  * ---
914
1105
  *
915
1106
  *
916
1107
  * ### **Events:**
917
- * - **open** - Fired when the menu is opened
918
- * - **close** - Fired when the menu is closed
1108
+ * - **change** - Fires when the value of the input changes
1109
+ * - **invalid** - Fires when the input is invalid
919
1110
  *
920
1111
  * ### **Slots:**
921
- * - _default_ - The menu popover content
1112
+ * - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.
922
1113
  */
923
- "skf-menu": DefineComponent<SkfMenuProps>;
1114
+ "skf-input": DefineComponent<SkfInputProps>;
924
1115
 
925
1116
  /**
926
- * The `<skf-menu-item>` is a component that displays a list of actions or options.
1117
+ * The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component
927
1118
  * ---
928
1119
  *
929
1120
  *
930
1121
  * ### **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
1122
+ * - **skf-link-click** - Fired when the link is clicked
938
1123
  *
939
1124
  * ### **Slots:**
940
1125
  * - _default_ - The component's main content
941
- * - **my-named-slot** - A named slot of the component
942
1126
  */
943
1127
  "skf-menu-item": DefineComponent<SkfMenuItemProps>;
944
1128
 
945
1129
  /**
946
- * The `<skf-popover>` is a general purpose component that displays the slot content.
1130
+ * The `<skf-menu>` is a component that displays a list of actions or options
1131
+ *
1132
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
1133
+ * ---
1134
+ *
1135
+ *
1136
+ * ### **Events:**
1137
+ * - **skf-opened** - Fired when the menu is opened
1138
+ * - **skf-closed** - Fired when the menu is closed
1139
+ *
1140
+ * ### **Slots:**
1141
+ * - _default_ - The menu popover content
1142
+ */
1143
+ "skf-menu": DefineComponent<SkfMenuProps>;
1144
+
1145
+ /**
1146
+ * The `<skf-popover>` is a general purpose component that displays the slot content in a popover.
1147
+ *
1148
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
947
1149
  * ---
948
1150
  *
949
1151
  *
950
1152
  * ### **Events:**
951
- * - **open** - Fired when the menu is opened
952
- * - **close** - Fired when the menu is closed
1153
+ * - **skf-opened** - Fired when the menu is opened
1154
+ * - **skf-closed** - Fired when the menu is closed
953
1155
  *
954
1156
  * ### **Slots:**
955
1157
  * - _default_ - The popover content
@@ -965,11 +1167,13 @@ export type CustomElements = {
965
1167
 
966
1168
  /**
967
1169
  * The `<skf-radio>` component is used to create a radio input
1170
+ *
1171
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles
968
1172
  * ---
969
1173
  *
970
1174
  *
971
1175
  * ### **Events:**
972
- * - **change** - {object} - When the value of the input changes
1176
+ * - **change** - When the value of the input changes
973
1177
  *
974
1178
  * ### **Slots:**
975
1179
  * - _default_ - The radios label. Alternatively, you can use the `label` attribute.
@@ -977,35 +1181,29 @@ export type CustomElements = {
977
1181
  "skf-radio": DefineComponent<SkfRadioProps>;
978
1182
 
979
1183
  /**
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.
1184
+ * The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component
981
1185
  * ---
982
1186
  *
983
1187
  *
984
1188
  * ### **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
1189
+ * - **skf-segmented-button-item-select** - Fired when selected
990
1190
  *
991
1191
  * ### **Slots:**
992
- * - _default_ - The select's placeholder content
1192
+ * - _default_ - Label for the button
993
1193
  */
994
- "skf-select": DefineComponent<SkfSelectProps>;
1194
+ "skf-segmented-button-item": DefineComponent<SkfSegmentedButtonItemProps>;
995
1195
 
996
1196
  /**
997
- * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
998
- * ---
1197
+ * The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.
999
1198
  *
1199
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles
1200
+ * ---
1000
1201
  *
1001
- * ### **Events:**
1002
- * - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1003
1202
  *
1004
1203
  * ### **Slots:**
1005
- * - _default_ - The option's text content
1006
- * - **icon** - The option's slot for icon or custom meta information (svg).
1204
+ * - _default_ - One or more `<skf-segmented-button-item>`
1007
1205
  */
1008
- "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1206
+ "skf-segmented-button": DefineComponent<SkfSegmentedButtonProps>;
1009
1207
 
1010
1208
  /**
1011
1209
  * The `<skf-select-option-group>` is a component that groups select-options
@@ -1018,65 +1216,85 @@ export type CustomElements = {
1018
1216
  "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
1019
1217
 
1020
1218
  /**
1021
- * The `<skf-stepper>` is a component that displays a list of actions or options.
1219
+ * The `<skf-tag>` is a component that displays a list of actions or options
1220
+ * ---
1221
+ *
1222
+ *
1223
+ * ### **Slots:**
1224
+ * - _default_ - The component's placeholder content
1225
+ */
1226
+ "skf-tag": DefineComponent<SkfTagProps>;
1227
+
1228
+ /**
1229
+ * 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.
1230
+ *
1231
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles
1022
1232
  * ---
1023
1233
  *
1024
1234
  *
1025
1235
  * ### **Events:**
1026
- * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1236
+ * - **change** - Fired when the selected option(s) changes
1237
+ * - **invalid** - Fired when the select is invalid
1238
+ * - **reset** - Fired when the form is reset
1239
+ * - **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
1240
+ * - **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
1027
1241
  *
1028
1242
  * ### **Slots:**
1029
- * - _default_ - One or more `<skf-stepper-item>`
1243
+ * - _default_ - The select's placeholder content
1030
1244
  */
1031
- "skf-stepper": DefineComponent<SkfStepperProps>;
1245
+ "skf-select": DefineComponent<SkfSelectProps>;
1032
1246
 
1033
1247
  /**
1034
- * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
1248
+ * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
1035
1249
  * ---
1036
1250
  *
1037
1251
  *
1038
1252
  * ### **Events:**
1039
- * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1253
+ * - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1040
1254
  *
1041
1255
  * ### **Slots:**
1042
- * - _default_ - Label of the stepper item
1256
+ * - _default_ - The option's text content
1257
+ * - **icon** - The option's slot for icon or custom meta information (svg).
1043
1258
  */
1044
- "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1259
+ "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1045
1260
 
1046
1261
  /**
1047
- * The `<skf-switch>` is a component that displays a list of actions or options
1262
+ * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
1048
1263
  * ---
1049
1264
  *
1050
1265
  *
1266
+ * ### **Events:**
1267
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1268
+ *
1051
1269
  * ### **Slots:**
1052
- * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1270
+ * - _default_ - Label of the stepper item
1053
1271
  */
1054
- "skf-switch": DefineComponent<SkfSwitchProps>;
1272
+ "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1055
1273
 
1056
1274
  /**
1057
- * The `<skf-tab>` is a component that displays a list of actions or options
1275
+ * The `<skf-stepper>` is a component that displays a list of actions or options.
1058
1276
  * ---
1059
1277
  *
1060
1278
  *
1061
1279
  * ### **Events:**
1062
- * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1063
- * - **click** - Fired when the component is clicked
1280
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1064
1281
  *
1065
1282
  * ### **Slots:**
1066
- * - _default_ - The tab's label
1283
+ * - _default_ - One or more `<skf-stepper-item>`
1067
1284
  */
1068
- "skf-tab": DefineComponent<SkfTabProps>;
1285
+ "skf-stepper": DefineComponent<SkfStepperProps>;
1069
1286
 
1070
1287
  /**
1071
- * The `<skf-tab-group>` is a component that displays a list of actions or options.
1288
+ * The `<skf-switch>` is a component that displays a list of actions or options
1289
+ *
1290
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle
1072
1291
  * ---
1073
1292
  *
1074
1293
  *
1075
1294
  * ### **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
1295
+ * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1078
1296
  */
1079
- "skf-tab-group": DefineComponent<SkfTabGroupProps>;
1297
+ "skf-switch": DefineComponent<SkfSwitchProps>;
1080
1298
 
1081
1299
  /**
1082
1300
  * The `<skf-tab-panel>` is a component that displays a list of actions or options.
@@ -1089,14 +1307,29 @@ export type CustomElements = {
1089
1307
  "skf-tab-panel": DefineComponent<SkfTabPanelProps>;
1090
1308
 
1091
1309
  /**
1092
- * The `<skf-tag>` is a component that displays a list of actions or options
1310
+ * The `<skf-tabs>` is a component that displays a list of actions or options
1093
1311
  * ---
1094
1312
  *
1095
1313
  *
1096
1314
  * ### **Slots:**
1097
- * - _default_ - The component's placeholder content
1315
+ * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
1316
+ * - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
1098
1317
  */
1099
- "skf-tag": DefineComponent<SkfTagProps>;
1318
+ "skf-tabs": DefineComponent<SkfTabsProps>;
1319
+
1320
+ /**
1321
+ * The `<skf-tab>` is a component that displays a list of actions or options
1322
+ * ---
1323
+ *
1324
+ *
1325
+ * ### **Events:**
1326
+ * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1327
+ * - **click** - Fired when the component is clicked
1328
+ *
1329
+ * ### **Slots:**
1330
+ * - _default_ - The tab's label
1331
+ */
1332
+ "skf-tab": DefineComponent<SkfTabProps>;
1100
1333
 
1101
1334
  /**
1102
1335
  * The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.
@@ -1113,33 +1346,33 @@ export type CustomElements = {
1113
1346
  "skf-textarea": DefineComponent<SkfTextAreaProps>;
1114
1347
 
1115
1348
  /**
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.
1349
+ * 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
1350
  * ---
1118
1351
  *
1119
1352
  *
1120
1353
  * ### **Slots:**
1121
- * - _default_ - The component's placeholder content
1354
+ * - _default_ - The alert components that the toast creates will render here.
1122
1355
  */
1123
- "skf-toast": DefineComponent<SkfToastProps>;
1356
+ "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1124
1357
 
1125
1358
  /**
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.
1359
+ * 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
1360
  * ---
1128
1361
  *
1129
1362
  *
1130
1363
  * ### **Slots:**
1131
- * - _default_ - The alert components that the toast creates will render here.
1364
+ * - _default_ - The component's placeholder content
1132
1365
  */
1133
- "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1366
+ "skf-toast": DefineComponent<SkfToastProps>;
1134
1367
 
1135
1368
  /**
1136
- * The `<skf-tooltip>` is a component that displays a list of actions or options.
1369
+ * The `<skf-tooltip>` is a component that displays a tooltip.
1137
1370
  * ---
1138
1371
  *
1139
1372
  *
1140
1373
  * ### **Events:**
1141
- * - **open** - Fired when the dropdown is opened
1142
- * - **close** - Fired when the dropdown is closed
1374
+ * - **skf-opened** - Fired when the dropdown is opened
1375
+ * - **skf-closed** - Fired when the dropdown is closed
1143
1376
  *
1144
1377
  * ### **Slots:**
1145
1378
  * - _default_ - The tooltip popover content