@skf-design-system/ui-components 1.0.0-alpha.33 → 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 (345) 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 +7 -7
  9. package/dist/components/accordion/accordion.d.ts +0 -1
  10. package/dist/components/alert/alert.component.d.ts +12 -12
  11. package/dist/components/alert/alert.component.js +57 -54
  12. package/dist/components/alert/alert.styles.js +50 -51
  13. package/dist/components/breadcrumb/breadcrumb-item.component.d.ts +25 -0
  14. package/dist/components/breadcrumb/breadcrumb-item.component.js +60 -0
  15. package/dist/components/breadcrumb/breadcrumb-item.d.ts +8 -0
  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 +32 -0
  19. package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
  20. package/dist/components/breadcrumb/breadcrumb.d.ts +8 -0
  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 +74 -60
  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 +75 -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 -30
  55. package/dist/components/dialog/dialog.component.js +89 -78
  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 +60 -40
  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 +167 -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 +36 -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.d.ts +1 -0
  105. package/dist/components/nav/nav-item.styles.js +39 -0
  106. package/dist/components/nav/nav.component.d.ts +17 -0
  107. package/dist/components/nav/nav.component.js +34 -0
  108. package/dist/components/nav/nav.d.ts +8 -0
  109. package/dist/components/nav/nav.js +6 -0
  110. package/dist/components/nav/nav.styles.d.ts +1 -0
  111. package/dist/components/nav/nav.styles.js +17 -0
  112. package/dist/components/popover/popover.component.d.ts +11 -8
  113. package/dist/components/popover/popover.component.js +24 -26
  114. package/dist/components/popover/popover.d.ts +2 -2
  115. package/dist/components/progress/progress.component.d.ts +2 -2
  116. package/dist/components/progress/progress.component.js +31 -37
  117. package/dist/components/progress/progress.d.ts +2 -2
  118. package/dist/components/progress/progress.styles.js +42 -35
  119. package/dist/components/radio/radio.component.d.ts +19 -13
  120. package/dist/components/radio/radio.component.js +13 -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.js +1 -1
  136. package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
  137. package/dist/components/select/select-option-group.style.d.ts +1 -0
  138. package/dist/components/{select-option → select}/select-option.component.d.ts +9 -10
  139. package/dist/components/{select-option → select}/select-option.component.js +23 -22
  140. package/dist/components/select/select-option.controllers.d.ts +15 -0
  141. package/dist/components/select/select-option.styles.d.ts +1 -0
  142. package/dist/components/select/select.component.d.ts +18 -17
  143. package/dist/components/select/select.component.js +22 -22
  144. package/dist/components/select/select.controllers.d.ts +21 -10
  145. package/dist/components/select/select.controllers.js +27 -22
  146. package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
  147. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +50 -49
  148. package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
  149. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  150. package/dist/components/stepper/stepper.component.d.ts +4 -3
  151. package/dist/components/stepper/stepper.component.js +15 -15
  152. package/dist/components/stepper/stepper.d.ts +2 -2
  153. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  154. package/dist/components/switch/switch.component.d.ts +7 -6
  155. package/dist/components/switch/switch.component.js +21 -21
  156. package/dist/components/switch/switch.d.ts +2 -2
  157. package/dist/components/{tab-panel → tabs}/tab-panel.component.js +1 -1
  158. package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
  159. package/dist/components/tabs/tab-panel.styles.d.ts +1 -0
  160. package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
  161. package/dist/components/{tab → tabs}/tab.component.js +1 -1
  162. package/dist/components/{tab → tabs}/tab.d.ts +2 -2
  163. package/dist/components/tabs/tab.styles.d.ts +1 -0
  164. package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
  165. package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +31 -31
  166. package/dist/components/tabs/tabs.d.ts +8 -0
  167. package/dist/components/tabs/tabs.js +6 -0
  168. package/dist/components/tabs/tabs.styles.d.ts +1 -0
  169. package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
  170. package/dist/components/tag/tag.component.d.ts +20 -17
  171. package/dist/components/tag/tag.component.js +69 -67
  172. package/dist/components/tag/tag.d.ts +2 -2
  173. package/dist/components/tag/tag.styles.js +63 -50
  174. package/dist/components/textarea/textarea.component.d.ts +10 -11
  175. package/dist/components/textarea/textarea.component.js +66 -67
  176. package/dist/components/{toast-item → toast}/toast-item.component.js +15 -15
  177. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  178. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  179. package/dist/components/toast/toast-item.styles.js +18 -0
  180. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  181. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  182. package/dist/components/toast/toast.component.d.ts +9 -5
  183. package/dist/components/toast/toast.component.js +32 -28
  184. package/dist/components/toast/toast.singleton.d.ts +6 -11
  185. package/dist/components/toast/toast.singleton.js +23 -23
  186. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  187. package/dist/components/tooltip/tooltip.component.js +16 -11
  188. package/dist/components/tooltip/tooltip.d.ts +2 -2
  189. package/dist/custom-elements.json +4450 -2753
  190. package/dist/index.d.ts +22 -9
  191. package/dist/index.js +111 -74
  192. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  193. package/dist/internal/base-classes/popover/popover.base.js +138 -77
  194. package/dist/internal/base-classes/popover/popover.styles.js +14 -1
  195. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  196. package/dist/internal/components/hint/hint.component.js +3 -2
  197. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  198. package/dist/internal/components/hint/hint.styles.js +1 -1
  199. package/dist/internal/components/skf-element.d.ts +1 -3
  200. package/dist/internal/components/skf-element.js +4 -9
  201. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  202. package/dist/internal/constants/iconSeverity.js +2 -3
  203. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  204. package/dist/internal/controllers/popover.controller.d.ts +12 -6
  205. package/dist/internal/controllers/popover.controller.js +7 -11
  206. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  207. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  208. package/dist/internal/helpers/hintSeverity.js +1 -1
  209. package/dist/internal/helpers/stateMap.d.ts +14 -0
  210. package/dist/internal/helpers/stateMap.js +68 -0
  211. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  212. package/dist/internal/helpers/uuid.d.ts +15 -0
  213. package/dist/internal/helpers/uuid.js +14 -0
  214. package/dist/internal/helpers/watch.d.ts +1 -1
  215. package/dist/internal/helpers/watch.js +12 -12
  216. package/dist/internal/storybook/styles.d.ts +1 -0
  217. package/dist/internal/types/formField.d.ts +1 -1
  218. package/dist/internal/types.d.ts +18 -0
  219. package/dist/styles/component.styles.d.ts +1 -2
  220. package/dist/styles/component.styles.js +38 -37
  221. package/dist/styles/form-field.styles.js +11 -6
  222. package/dist/styles/global-alt.css +1 -0
  223. package/dist/styles/global.css +1 -1
  224. package/dist/types/jsx/custom-element-jsx.d.ts +767 -1282
  225. package/dist/types/vue/index.d.ts +572 -310
  226. package/dist/vscode.html-custom-data.json +547 -1068
  227. package/dist/web-types.json +1314 -769
  228. package/package.json +48 -64
  229. package/dist/components/accordion/accordion.test.d.ts +0 -1
  230. package/dist/components/checkbox/checkbox.test.d.ts +0 -1
  231. package/dist/components/collapse/collapse.component.d.ts +0 -40
  232. package/dist/components/collapse/collapse.component.js +0 -85
  233. package/dist/components/collapse/collapse.d.ts +0 -8
  234. package/dist/components/collapse/collapse.js +0 -6
  235. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  236. package/dist/components/collapse/collapse.styles.js +0 -77
  237. package/dist/components/collapse/collapse.test.d.ts +0 -1
  238. package/dist/components/input/input.test.d.ts +0 -1
  239. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  240. package/dist/components/radio/radio.test.d.ts +0 -1
  241. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  242. package/dist/components/switch/switch.test.d.ts +0 -1
  243. package/dist/components/tab-group/tab-group.d.ts +0 -8
  244. package/dist/components/tab-group/tab-group.js +0 -6
  245. package/dist/components/toast-item/toast-item.styles.js +0 -16
  246. package/dist/internal/constants/heading.d.ts +0 -2
  247. package/dist/internal/playwright/index.d.ts +0 -1
  248. package/dist/react/index.d.ts +0 -33
  249. package/dist/react/index.js +0 -33
  250. package/dist/react/skf-accordion/index.d.ts +0 -3
  251. package/dist/react/skf-accordion/index.js +0 -13
  252. package/dist/react/skf-alert/index.d.ts +0 -9
  253. package/dist/react/skf-alert/index.js +0 -17
  254. package/dist/react/skf-button/index.d.ts +0 -9
  255. package/dist/react/skf-button/index.js +0 -17
  256. package/dist/react/skf-card/index.d.ts +0 -3
  257. package/dist/react/skf-card/index.js +0 -13
  258. package/dist/react/skf-checkbox/index.d.ts +0 -9
  259. package/dist/react/skf-checkbox/index.js +0 -17
  260. package/dist/react/skf-collapse/index.d.ts +0 -9
  261. package/dist/react/skf-collapse/index.js +0 -17
  262. package/dist/react/skf-dialog/index.d.ts +0 -15
  263. package/dist/react/skf-dialog/index.js +0 -19
  264. package/dist/react/skf-divider/index.d.ts +0 -3
  265. package/dist/react/skf-divider/index.js +0 -13
  266. package/dist/react/skf-heading/index.d.ts +0 -3
  267. package/dist/react/skf-heading/index.js +0 -13
  268. package/dist/react/skf-icon/index.d.ts +0 -3
  269. package/dist/react/skf-icon/index.js +0 -13
  270. package/dist/react/skf-input/index.d.ts +0 -12
  271. package/dist/react/skf-input/index.js +0 -18
  272. package/dist/react/skf-link/index.d.ts +0 -3
  273. package/dist/react/skf-link/index.js +0 -13
  274. package/dist/react/skf-loader/index.d.ts +0 -3
  275. package/dist/react/skf-loader/index.js +0 -13
  276. package/dist/react/skf-logo/index.d.ts +0 -3
  277. package/dist/react/skf-logo/index.js +0 -13
  278. package/dist/react/skf-menu/index.d.ts +0 -12
  279. package/dist/react/skf-menu/index.js +0 -18
  280. package/dist/react/skf-menu-item/index.d.ts +0 -27
  281. package/dist/react/skf-menu-item/index.js +0 -23
  282. package/dist/react/skf-popover/index.d.ts +0 -12
  283. package/dist/react/skf-popover/index.js +0 -18
  284. package/dist/react/skf-progress/index.d.ts +0 -3
  285. package/dist/react/skf-progress/index.js +0 -13
  286. package/dist/react/skf-radio/index.d.ts +0 -9
  287. package/dist/react/skf-radio/index.js +0 -17
  288. package/dist/react/skf-select/index.d.ts +0 -21
  289. package/dist/react/skf-select/index.js +0 -21
  290. package/dist/react/skf-select-option/index.d.ts +0 -9
  291. package/dist/react/skf-select-option/index.js +0 -17
  292. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  293. package/dist/react/skf-select-option-group/index.js +0 -13
  294. package/dist/react/skf-stepper/index.d.ts +0 -9
  295. package/dist/react/skf-stepper/index.js +0 -17
  296. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  297. package/dist/react/skf-stepper-item/index.js +0 -17
  298. package/dist/react/skf-switch/index.d.ts +0 -3
  299. package/dist/react/skf-switch/index.js +0 -13
  300. package/dist/react/skf-tab/index.d.ts +0 -12
  301. package/dist/react/skf-tab/index.js +0 -18
  302. package/dist/react/skf-tab-group/index.d.ts +0 -3
  303. package/dist/react/skf-tab-group/index.js +0 -13
  304. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  305. package/dist/react/skf-tab-panel/index.js +0 -13
  306. package/dist/react/skf-tag/index.d.ts +0 -3
  307. package/dist/react/skf-tag/index.js +0 -13
  308. package/dist/react/skf-textarea/index.d.ts +0 -12
  309. package/dist/react/skf-textarea/index.js +0 -18
  310. package/dist/react/skf-toast/index.d.ts +0 -3
  311. package/dist/react/skf-toast/index.js +0 -13
  312. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  313. package/dist/react/skf-toast-wrapper/index.js +0 -13
  314. package/dist/react/skf-tooltip/index.d.ts +0 -12
  315. package/dist/react/skf-tooltip/index.js +0 -18
  316. /package/dist/components/{menu-item/menu-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  317. /package/dist/components/{select-option-group/select-option-group.style.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  318. /package/dist/components/{select-option/select-option.styles.d.ts → breadcrumb/breadcrumb.styles.d.ts} +0 -0
  319. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
  320. /package/dist/components/{tab-group/tab-group.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
  321. /package/dist/components/{tab-panel/tab-panel.styles.d.ts → drawer/drawer.styles.d.ts} +0 -0
  322. /package/dist/components/{tab/tab.styles.d.ts → header/header.styles.d.ts} +0 -0
  323. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  324. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  325. /package/dist/components/{menu-item → menu}/menu-item.styles.js +0 -0
  326. /package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +0 -0
  327. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  328. /package/dist/components/{select-option-group → select}/select-option-group.style.js +0 -0
  329. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  330. /package/dist/components/{select-option → select}/select-option.js +0 -0
  331. /package/dist/components/{select-option → select}/select-option.styles.js +0 -0
  332. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  333. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  334. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  335. /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
  336. /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
  337. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
  338. /package/dist/components/{tab → tabs}/tab.js +0 -0
  339. /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
  340. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  341. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  342. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  343. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  344. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  345. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -1,39 +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 { SkfButton } from "../../components/button/button.component.js";
6
+ import type { SkfAlert, CustomEvent } from "../../components/alert/alert.component.js";
7
+ import type { SkfBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.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";
6
11
  import type { SkfCard } from "../../components/card/card.component.js";
7
- import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
8
- import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
9
- import type { SkfDialog } from "../../components/dialog/dialog.component.js";
10
- 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";
11
15
  import type { SkfHeading } from "../../components/heading/heading.component.js";
12
- import type { SkfIcon } from "../../components/icon/icon.component.js";
13
- import type { SkfInput } from "../../components/input/input.component.js";
14
- import type { SkfLink } from "../../components/link/link.component.js";
15
- 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";
16
19
  import type { SkfLogo } from "../../components/logo/logo.component.js";
17
- import type { SkfMenu } from "../../components/menu/menu.component.js";
18
- import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
19
- 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";
20
28
  import type { SkfProgress } from "../../components/progress/progress.component.js";
21
- import type { SkfRadio } from "../../components/radio/radio.component.js";
22
- import type { SkfSelect } from "../../components/select/select.component.js";
23
- 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";
24
35
  import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
25
- 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";
26
39
  import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
40
+ import type { SkfStepper, CustomEvent } from "../../components/stepper/stepper.component.js";
27
41
  import type { SkfSwitch } from "../../components/switch/switch.component.js";
28
- import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
29
- import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
30
42
  import type { SkfTabPanel } from "../../components/tab-panel/tab-panel.component.js";
31
- 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";
32
45
  import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
33
- import type { SkfToast } from "../../components/toast/toast.component.js";
34
46
  import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
47
+ import type { SkfToast } from "../../components/toast/toast.component.js";
35
48
  import type { SkfTooltip } from "../../components/tooltip/tooltip.component.js";
36
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
+
37
79
  type SkfAccordionProps = {
38
80
  /** If true, will animate the expand/collapse state */
39
81
  animated?: SkfAccordion["animated"];
@@ -50,17 +92,43 @@ type SkfAccordionProps = {
50
92
  };
51
93
 
52
94
  type SkfAlertProps = {
53
- /** If true, alert is being used as a toast (alertdialog) with an close button */
54
- closeable?: SkfAlert["closeable"];
55
95
  /** Close button aria-label */
56
96
  "button-label"?: SkfAlert["buttonLabel"];
57
97
  /** If defined, displays leading icon */
58
98
  icon?: SkfAlert["icon"];
99
+ /** If true, renders with an close button and sets aria-role to `status` */
100
+ persistent?: SkfAlert["persistent"];
59
101
  /** If defined, gives the supplied appearance */
60
102
  severity?: SkfAlert["severity"];
61
103
 
62
104
  /** Fires when the close button is clicked */
63
- "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"];
113
+ };
114
+
115
+ type SkfBreadcrumbProps = {
116
+ /** aria-label for the breadcrumb control */
117
+ label?: SkfBreadcrumb["label"];
118
+ /** If true, renders a smaller version */
119
+ small?: SkfBreadcrumb["small"];
120
+
121
+ /** Fired when the item is clicked */
122
+ onclick?: (e: CustomEvent<never>) => void;
123
+ };
124
+
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"];
64
132
  };
65
133
 
66
134
  type SkfButtonProps = {
@@ -70,9 +138,9 @@ type SkfButtonProps = {
70
138
  disabled?: SkfButton["disabled"];
71
139
  /** If provided, renders an icon before or after the text */
72
140
  icon?: SkfButton["icon"];
73
- /** If true, removes border */
74
- iconOnly?: SkfButton["iconOnly"];
75
- /** 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 */
76
144
  "icon-position"?: SkfButton["iconPosition"];
77
145
  /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
78
146
  loading?: SkfButton["loading"];
@@ -86,7 +154,7 @@ type SkfButtonProps = {
86
154
  variant?: SkfButton["variant"];
87
155
 
88
156
  /** Fires when the button is clicked */
89
- onclick?: (e: CustomEvent<never>) => void;
157
+ onclick?: (e: CustomEvent<CustomEvent>) => void;
90
158
  };
91
159
 
92
160
  type SkfCardProps = {
@@ -126,26 +194,81 @@ type SkfCheckboxProps = {
126
194
  /** The current value of the input field */
127
195
  value?: SkfCheckbox["value"];
128
196
 
129
- /** {object} - When the value of the input changes */
130
- onchange?: (e: CustomEvent<never>) => void;
197
+ /** When the value of the input changes */
198
+ onchange?: (e: CustomEvent<Event>) => void;
131
199
  };
132
200
 
133
- type SkfCollapseProps = {
134
- /** If true, will animate the expand/collapse state */
135
- animated?: SkfCollapse["animated"];
136
- /** If true, will set the collapse to be expanded by default */
137
- expanded?: SkfCollapse["expanded"];
138
- /** Heading for the collapse */
139
- heading?: SkfCollapse["heading"];
140
- /** Defines which heading element will be rendered */
141
- "heading-as"?: SkfCollapse["headingAs"];
142
- /** If true, renders the small version */
143
- small?: SkfCollapse["small"];
144
- /** If true, will truncate the heading in collapsed state */
145
- 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
+ };
146
227
 
147
- /** Event emitted when toggled */
148
- "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"];
149
272
  };
150
273
 
151
274
  type SkfDialogProps = {
@@ -159,20 +282,15 @@ type SkfDialogProps = {
159
282
  "no-close-button"?: SkfDialog["noCloseButton"];
160
283
  /** If defined, removes the inner padding */
161
284
  "no-padding"?: SkfDialog["noPadding"];
162
- /** */
285
+ /** If true, indicates that the dialog is active and is available for interaction */
163
286
  open?: SkfDialog["open"];
164
- /** If provided, will run function on dialog close */
165
- onClose?: SkfDialog["onClose"];
166
- /** Method that opens the dialog in modal state */
167
- showModal?: SkfDialog["showModal"];
168
- /** Method that closes the dialog */
169
- close?: SkfDialog["close"];
287
+
170
288
  /** Fires when the dialog is opened (after transitioned in) */
171
- "onskf-dialog-open"?: (e: CustomEvent<never>) => void;
172
- /** Fires when the dialog is closed (before transitioned out) */
173
- "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;
174
292
  /** Fires when the dialog is closed (after transitioned out) */
175
- onclose?: (e: CustomEvent<never>) => void;
293
+ "onskf-dialog-closed"?: (e: CustomEvent<CustomEvent>) => void;
176
294
  };
177
295
 
178
296
  type SkfDividerProps = {
@@ -184,22 +302,47 @@ type SkfDividerProps = {
184
302
  vertical?: SkfDivider["vertical"];
185
303
  };
186
304
 
187
- type SkfHeadingProps = {
188
- /** Controls which heading element will be rendered. Should not be used to affect appearance */
189
- as?: SkfHeading["as"];
190
- /** If provided, changes the appearance of the heading */
191
- "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;
192
323
  };
193
324
 
194
- type SkfIconProps = {
195
- /** Sets the color of the icon */
196
- color?: SkfIcon["color"];
197
- /** If defined, adds an alternate description to use for assistive devices */
198
- label?: SkfIcon["label"];
199
- /** Name of the icon to display */
200
- name?: SkfIcon["name"];
201
- /** Size of the icon */
202
- 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"];
203
346
  };
204
347
 
205
348
  type SkfInputProps = {
@@ -207,7 +350,8 @@ type SkfInputProps = {
207
350
  disabled?: SkfInput["undefined"];
208
351
  /** If true, value is required or must be checked for the form to be submittable */
209
352
  required?: SkfInput["undefined"];
210
- /** -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. */
211
355
  autocomplete?: SkfInput["autocomplete"];
212
356
  /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
213
357
  "button-aria-label-clear"?: SkfInput["buttonAriaLabelClear"];
@@ -223,7 +367,8 @@ type SkfInputProps = {
223
367
  "hide-label"?: SkfInput["hideLabel"];
224
368
  /** If defined, displays informational text below the field */
225
369
  hint?: SkfInput["hint"];
226
- /** 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. */
227
372
  inputmode?: SkfInput["inputmode"];
228
373
  /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
229
374
  label?: SkfInput["label"];
@@ -255,7 +400,7 @@ type SkfInputProps = {
255
400
  size?: SkfInput["size"];
256
401
  /** If defined, displays a suffix/adornment after the input-element */
257
402
  trailing?: SkfInput["trailing"];
258
- /** Type of input control */
403
+ /** Type of input */
259
404
  type?: SkfInput["type"];
260
405
  /** Sets validation start */
261
406
  "validate-on"?: SkfInput["validateOn"];
@@ -263,9 +408,9 @@ type SkfInputProps = {
263
408
  value?: SkfInput["value"];
264
409
 
265
410
  /** Fires when the value of the input changes */
266
- onchange?: (e: CustomEvent<never>) => void;
411
+ onchange?: (e: CustomEvent<CustomEvent>) => void;
267
412
  /** Fires when the input is invalid */
268
- oninvalid?: (e: CustomEvent<never>) => void;
413
+ oninvalid?: (e: CustomEvent<CustomEvent>) => void;
269
414
  };
270
415
 
271
416
  type SkfLinkProps = {
@@ -293,43 +438,10 @@ type SkfLinkProps = {
293
438
  target?: SkfLink["target"];
294
439
  /** Defines the type of button */
295
440
  type?: SkfLink["type"];
296
- /** 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. */
297
442
  onClick?: SkfLink["onClick"];
298
443
  };
299
444
 
300
- type SkfLoaderProps = {
301
- /** Defines the aria-label */
302
- "aria-label"?: SkfLoader["ariaLabel"];
303
- /** If true, inverts the color (to be used on colored backgrounds) */
304
- invert?: SkfLoader["invert"];
305
- /** Defines the size of the loader */
306
- size?: SkfLoader["size"];
307
- /** */
308
- role?: SkfLoader["role"];
309
- /** */
310
- ariaLive?: SkfLoader["ariaLive"];
311
- };
312
-
313
- type SkfLogoProps = {
314
- /** Defines the title of the logo */
315
- title?: SkfLogo["title"];
316
- /** Defines the color of the logo */
317
- color?: SkfLogo["color"];
318
- };
319
-
320
- type SkfMenuProps = {
321
- /** The placement of the menu */
322
- placement?: SkfMenu["placement"];
323
- /** Whether the menu is open */
324
- isOpen?: SkfMenu["isOpen"];
325
- /** The id of the element the menu will be anchored to */
326
- anchor?: SkfMenu["anchor"];
327
- /** Fired when the menu is opened */
328
- onopen?: (e: CustomEvent<never>) => void;
329
- /** Fired when the menu is closed */
330
- onclose?: (e: CustomEvent<never>) => void;
331
- };
332
-
333
445
  type SkfMenuItemProps = {
334
446
  /** Defines the semantic element to render */
335
447
  as?: SkfMenuItem["as"];
@@ -355,41 +467,45 @@ type SkfMenuItemProps = {
355
467
  target?: SkfMenuItem["target"];
356
468
  /** Defines the type of button */
357
469
  type?: SkfMenuItem["type"];
358
- /** 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. */
359
473
  onClick?: SkfMenuItem["onClick"];
360
- /** Fired when something happens */
361
- "onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
362
- /** Fired when the component is clicked */
363
- onclick?: (e: CustomEvent<never>) => void;
364
- /** Fired when the mouse is over the component */
365
- onmouseover?: (e: CustomEvent<never>) => void;
366
- /** Fired when the mouse is out of the component */
367
- onmouseout?: (e: CustomEvent<never>) => void;
368
- /** Fired when the component is focused */
369
- onfocus?: (e: CustomEvent<never>) => void;
370
- /** Fired when the component is blurred */
371
- onblur?: (e: CustomEvent<never>) => void;
372
- /** Fired when the component's value changes */
373
- 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"];
374
493
  };
375
494
 
376
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"];
377
500
  /** If defined, sets a custom offset for the popover */
378
501
  offset?: SkfPopover["offset"];
379
502
  /** If true, hides the arrow */
380
503
  hideArrow?: SkfPopover["hideArrow"];
381
- /** */
382
- arrow?: SkfPopover["arrow"];
383
- /** The placement of the menu */
384
- placement?: SkfPopover["placement"];
385
- /** Whether the menu is open */
386
- isOpen?: SkfPopover["isOpen"];
387
- /** The id of the element the menu will be anchored to */
388
- anchor?: SkfPopover["anchor"];
504
+
389
505
  /** Fired when the menu is opened */
390
- onopen?: (e: CustomEvent<never>) => void;
506
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
391
507
  /** Fired when the menu is closed */
392
- onclose?: (e: CustomEvent<never>) => void;
508
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
393
509
  };
394
510
 
395
511
  type SkfProgressProps = {
@@ -427,13 +543,52 @@ type SkfRadioProps = {
427
543
  /** The current value of the input field */
428
544
  value?: SkfRadio["value"];
429
545
 
430
- /** {object} - When the value of the input changes */
431
- 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"];
432
585
  };
433
586
 
434
587
  type SkfSelectProps = {
435
- /** If true, the select is disabled `default: false` */
588
+ /** If true, the select is disabled */
436
589
  disabled?: SkfSelect["undefined"];
590
+ /** If true, the select is required */
591
+ required?: SkfSelect["undefined"];
437
592
  /** Sets the first visible text on the component */
438
593
  "button-label"?: SkfSelect["buttonLabel"];
439
594
  /** If defined, forces component to invalid state until removed */
@@ -471,15 +626,15 @@ type SkfSelectProps = {
471
626
  /** */
472
627
  _selectedOptions?: SkfSelect["_selectedOptions"];
473
628
  /** Fired when the selected option(s) changes */
474
- onchange?: (e: CustomEvent<never>) => void;
629
+ onchange?: (e: CustomEvent<Event>) => void;
475
630
  /** Fired when the select is invalid */
476
- oninvalid?: (e: CustomEvent<never>) => void;
631
+ oninvalid?: (e: CustomEvent<Event>) => void;
477
632
  /** Fired when the form is reset */
478
- onreset?: (e: CustomEvent<never>) => void;
633
+ onreset?: (e: CustomEvent<Event>) => void;
479
634
  /** {detail: {expanded: boolean}} Fired when the select dropdown is toggled */
480
- "onskf-select:dropdown"?: (e: CustomEvent<never>) => void;
635
+ "onskf-select-dropdown"?: (e: CustomEvent<CustomEvent>) => void;
481
636
  /** {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled */
482
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
637
+ "onskf-select-option-select"?: (e: CustomEvent<CustomEvent>) => void;
483
638
  };
484
639
 
485
640
  type SkfSelectOptionProps = {
@@ -504,22 +659,7 @@ type SkfSelectOptionProps = {
504
659
  /** */
505
660
  _shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
506
661
  /** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
507
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
508
- };
509
-
510
- type SkfSelectOptionGroupProps = {
511
- /** */
512
- label?: SkfSelectOptionGroup["label"];
513
- };
514
-
515
- type SkfStepperProps = {
516
- /** Sets the active item */
517
- activeIndex?: SkfStepper["activeIndex"];
518
- /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
519
- linear?: SkfStepper["linear"];
520
-
521
- /** Dispatched when the stepper item is selected */
522
- "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
662
+ "onskf-select-option-select"?: (e: CustomEvent<never>) => void;
523
663
  };
524
664
 
525
665
  type SkfStepperItemProps = {
@@ -535,6 +675,16 @@ type SkfStepperItemProps = {
535
675
  "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
536
676
  };
537
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
+
538
688
  type SkfSwitchProps = {
539
689
  /** If true, sets disabled state */
540
690
  disabled?: SkfSwitch["undefined"];
@@ -558,56 +708,41 @@ type SkfSwitchProps = {
558
708
  value?: SkfSwitch["value"];
559
709
  };
560
710
 
561
- type SkfTabProps = {
562
- /** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
563
- panel?: SkfTab["panel"];
564
- /** */
565
- selected?: SkfTab["selected"];
711
+ type SkfTabPanelProps = {
712
+ /** The tab panel's name. */
713
+ name?: SkfTabPanel["name"];
566
714
  /** */
567
- variant?: SkfTab["variant"];
715
+ active?: SkfTabPanel["active"];
568
716
  /** */
569
- role?: SkfTab["role"];
570
- /** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
571
- "onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
572
- /** Fired when the component is clicked */
573
- onclick?: (e: CustomEvent<never>) => void;
717
+ role?: SkfTabPanel["role"];
574
718
  };
575
719
 
576
- type SkfTabGroupProps = {
720
+ type SkfTabsProps = {
577
721
  /** Sets the default selected tab */
578
- "default-selected"?: SkfTabGroup["defaultSelected"];
722
+ "default-selected"?: SkfTabs["defaultSelected"];
579
723
  /** If true, removes border */
580
- "no-border"?: SkfTabGroup["noBorder"];
724
+ "no-border"?: SkfTabs["noBorder"];
581
725
  /** If true, removes padding */
582
- "no-padding"?: SkfTabGroup["noPadding"];
726
+ "no-padding"?: SkfTabs["noPadding"];
583
727
  /** If true, component fills the parent element height */
584
- stretch?: SkfTabGroup["stretch"];
728
+ stretch?: SkfTabs["stretch"];
585
729
  /** Sets the appearance of the tabs */
586
- variant?: SkfTabGroup["variant"];
730
+ variant?: SkfTabs["variant"];
587
731
  };
588
732
 
589
- type SkfTabPanelProps = {
590
- /** The tab panel's name. */
591
- 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"];
592
736
  /** */
593
- active?: SkfTabPanel["active"];
737
+ selected?: SkfTab["selected"];
594
738
  /** */
595
- role?: SkfTabPanel["role"];
596
- };
597
-
598
- type SkfTagProps = {
599
- /** Specifies Tag size */
600
- size?: SkfTag["size"];
601
- /** If defined, displays leading/provided icon */
602
- icon?: SkfTag["icon"];
603
- /** If defined, gives the supplied appearance */
604
- color?: SkfTag["color"];
605
- /** If true, adds trailing button to remove tag */
606
- removable?: SkfTag["removable"];
607
- /** If defined, accepts a function that runs on click */
608
- onClick?: SkfTag["onClick"];
609
- /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
610
- 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;
611
746
  };
612
747
 
613
748
  type SkfTextAreaProps = {
@@ -658,12 +793,19 @@ type SkfTextAreaProps = {
658
793
  oninvalid?: (e: CustomEvent<never>) => void;
659
794
  };
660
795
 
796
+ type SkfToastWrapperProps = {
797
+ /** */
798
+ debug?: SkfToastWrapper["debug"];
799
+ };
800
+
661
801
  type SkfToastProps = {
662
- /** If provided, adds a close button to the toast and will not disapear until user actively dismisses it. */
663
- closeable?: SkfToast["closeable"];
664
802
  /** */
665
803
  debug?: SkfToast["debug"];
666
- /** 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 */
667
809
  severity?: SkfToast["severity"];
668
810
  /** Time in seconds before the toast disappears. */
669
811
  timer?: SkfToast["timer"];
@@ -671,31 +813,54 @@ type SkfToastProps = {
671
813
  topOffset?: SkfToast["topOffset"];
672
814
  };
673
815
 
674
- type SkfToastWrapperProps = {
675
- /** */
676
- debug?: SkfToastWrapper["debug"];
677
- };
678
-
679
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"];
680
823
  /** */
681
824
  offset?: SkfTooltip["offset"];
682
- /** The placement of the dropdown */
825
+ /** */
683
826
  placement?: SkfTooltip["placement"];
684
- /** Whether the dropdown is open */
685
- isOpen?: SkfTooltip["isOpen"];
686
- /** The id of the element the dropdown will be anchored to */
687
- anchor?: SkfTooltip["anchor"];
827
+ /** */
828
+ variant?: SkfTooltip["variant"];
688
829
  /** Fired when the dropdown is opened */
689
- onopen?: (e: CustomEvent<never>) => void;
830
+ "onskf-opened"?: (e: CustomEvent<never>) => void;
690
831
  /** Fired when the dropdown is closed */
691
- onclose?: (e: CustomEvent<never>) => void;
832
+ "onskf-closed"?: (e: CustomEvent<never>) => void;
692
833
  };
693
834
 
694
835
  export type CustomElements = {
695
836
  /**
696
- * 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
697
862
  *
698
- * 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
699
864
  * ---
700
865
  *
701
866
  *
@@ -706,6 +871,8 @@ export type CustomElements = {
706
871
 
707
872
  /**
708
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
709
876
  * ---
710
877
  *
711
878
  *
@@ -718,8 +885,42 @@ export type CustomElements = {
718
885
  */
719
886
  "skf-alert": DefineComponent<SkfAlertProps>;
720
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
+
898
+ /**
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.
902
+ * ---
903
+ *
904
+ *
905
+ * ### **Events:**
906
+ * - **click** - Fired when the item is clicked
907
+ *
908
+ * ### **Slots:**
909
+ * - _default_ - One or more `<skf-breadcrumb-item>`
910
+ */
911
+ "skf-breadcrumb": DefineComponent<SkfBreadcrumbProps>;
912
+
913
+ /**
914
+ * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
915
+ * ---
916
+ *
917
+ */
918
+ "skf-loader": DefineComponent<SkfLoaderProps>;
919
+
721
920
  /**
722
921
  * Component to be used in forms or for interactivity
922
+ *
923
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles
723
924
  * ---
724
925
  *
725
926
  *
@@ -736,6 +937,8 @@ export type CustomElements = {
736
937
 
737
938
  /**
738
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
739
942
  * ---
740
943
  *
741
944
  *
@@ -750,7 +953,7 @@ export type CustomElements = {
750
953
  *
751
954
  *
752
955
  * ### **Events:**
753
- * - **change** - {object} - When the value of the input changes
956
+ * - **change** - When the value of the input changes
754
957
  *
755
958
  * ### **Slots:**
756
959
  * - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
@@ -758,37 +961,49 @@ export type CustomElements = {
758
961
  "skf-checkbox": DefineComponent<SkfCheckboxProps>;
759
962
 
760
963
  /**
761
- * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
762
964
  *
763
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
764
965
  * ---
765
966
  *
967
+ */
968
+ "skf-datepicker-calendar": DefineComponent<SkfDatepickerCalendarProps>;
969
+
970
+ /**
971
+ *
972
+ * ---
766
973
  *
767
- * ### **Events:**
768
- * - **skf-collapse-toggle** - Event emitted when toggled
769
974
  *
770
975
  * ### **Methods:**
771
- * - **setClose()** - Class method as alternative to manipulate attribute
772
- * - **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
+ *
773
985
  *
774
986
  * ### **Slots:**
775
- * - _default_ - Main content
987
+ * - _default_ - The headings content
776
988
  */
777
- "skf-collapse": DefineComponent<SkfCollapseProps>;
989
+ "skf-heading": DefineComponent<SkfHeadingProps>;
778
990
 
779
991
  /**
780
- * 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)
781
993
  * ---
782
994
  *
783
995
  *
784
996
  * ### **Events:**
785
- * - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)
786
- * - **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)
787
- * - **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
788
1004
  *
789
1005
  * ### **Slots:**
790
1006
  * - _default_ - The dialog component's content
791
- * - **heading** - The dialog component's heading
792
1007
  * - **footer** - The dialog component's buttons goes here
793
1008
  *
794
1009
  * ### **CSS Properties:**
@@ -809,25 +1024,54 @@ export type CustomElements = {
809
1024
  "skf-divider": DefineComponent<SkfDividerProps>;
810
1025
 
811
1026
  /**
812
- * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
813
- * 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
814
1028
  * ---
815
1029
  *
816
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
+ *
817
1036
  * ### **Slots:**
818
- * - _default_ - The headings content
1037
+ * - _default_ - The Drawer's main content
819
1038
  */
820
- "skf-heading": DefineComponent<SkfHeadingProps>;
1039
+ "skf-drawer": DefineComponent<SkfDrawerProps>;
821
1040
 
822
1041
  /**
823
- * 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.
824
1043
  * ---
825
1044
  *
1045
+ *
1046
+ * ### **CSS Properties:**
1047
+ * - **--mod-logo-height** - The height of the logo _(default: undefined)_
826
1048
  */
827
- "skf-icon": DefineComponent<SkfIconProps>;
1049
+ "skf-logo": DefineComponent<SkfLogoProps>;
828
1050
 
829
1051
  /**
830
- * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.
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>;
1070
+
1071
+ /**
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
831
1075
  * ---
832
1076
  *
833
1077
  *
@@ -851,30 +1095,25 @@ export type CustomElements = {
851
1095
  "skf-link": DefineComponent<SkfLinkProps>;
852
1096
 
853
1097
  /**
854
- * The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
855
- * ---
856
- *
857
- */
858
- "skf-loader": DefineComponent<SkfLoaderProps>;
859
-
860
- /**
861
- * 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
862
1099
  * ---
863
1100
  *
864
1101
  *
865
- * ### **CSS Properties:**
866
- * - **--skf-logo-height** - The height of the logo _(default: undefined)_
1102
+ * ### **Slots:**
1103
+ * - _default_ - The component's main content
867
1104
  */
868
- "skf-logo": DefineComponent<SkfLogoProps>;
1105
+ "skf-menu-item": DefineComponent<SkfMenuItemProps>;
869
1106
 
870
1107
  /**
871
- * 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
872
1111
  * ---
873
1112
  *
874
1113
  *
875
1114
  * ### **Events:**
876
- * - **open** - Fired when the menu is opened
877
- * - **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
878
1117
  *
879
1118
  * ### **Slots:**
880
1119
  * - _default_ - The menu popover content
@@ -882,33 +1121,25 @@ export type CustomElements = {
882
1121
  "skf-menu": DefineComponent<SkfMenuProps>;
883
1122
 
884
1123
  /**
885
- * 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>.
886
1125
  * ---
887
1126
  *
888
1127
  *
889
- * ### **Events:**
890
- * - **my-tag-my-event** - Fired when something happens
891
- * - **click** - Fired when the component is clicked
892
- * - **mouseover** - Fired when the mouse is over the component
893
- * - **mouseout** - Fired when the mouse is out of the component
894
- * - **focus** - Fired when the component is focused
895
- * - **blur** - Fired when the component is blurred
896
- * - **change** - Fired when the component's value changes
897
- *
898
1128
  * ### **Slots:**
899
1129
  * - _default_ - The component's main content
900
- * - **my-named-slot** - A named slot of the component
901
1130
  */
902
- "skf-menu-item": DefineComponent<SkfMenuItemProps>;
1131
+ "skf-nav-item": DefineComponent<SkfNavItemProps>;
903
1132
 
904
1133
  /**
905
- * 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
906
1137
  * ---
907
1138
  *
908
1139
  *
909
1140
  * ### **Events:**
910
- * - **open** - Fired when the menu is opened
911
- * - **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
912
1143
  *
913
1144
  * ### **Slots:**
914
1145
  * - _default_ - The popover content
@@ -924,11 +1155,13 @@ export type CustomElements = {
924
1155
 
925
1156
  /**
926
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
927
1160
  * ---
928
1161
  *
929
1162
  *
930
1163
  * ### **Events:**
931
- * - **change** - {object} - When the value of the input changes
1164
+ * - **change** - When the value of the input changes
932
1165
  *
933
1166
  * ### **Slots:**
934
1167
  * - _default_ - The radios label. Alternatively, you can use the `label` attribute.
@@ -936,35 +1169,29 @@ export type CustomElements = {
936
1169
  "skf-radio": DefineComponent<SkfRadioProps>;
937
1170
 
938
1171
  /**
939
- * 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
940
1173
  * ---
941
1174
  *
942
1175
  *
943
1176
  * ### **Events:**
944
- * - **change** - Fired when the selected option(s) changes
945
- * - **invalid** - Fired when the select is invalid
946
- * - **reset** - Fired when the form is reset
947
- * - **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
948
- * - **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
949
1178
  *
950
1179
  * ### **Slots:**
951
- * - _default_ - The select's placeholder content
1180
+ * - _default_ - Label for the button
952
1181
  */
953
- "skf-select": DefineComponent<SkfSelectProps>;
1182
+ "skf-segmented-button-item": DefineComponent<SkfSegmentedButtonItemProps>;
954
1183
 
955
1184
  /**
956
- * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
957
- * ---
1185
+ * The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.
958
1186
  *
1187
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles
1188
+ * ---
959
1189
  *
960
- * ### **Events:**
961
- * - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
962
1190
  *
963
1191
  * ### **Slots:**
964
- * - _default_ - The option's text content
965
- * - **icon** - The option's slot for icon or custom meta information (svg).
1192
+ * - _default_ - One or more `<skf-segmented-button-item>`
966
1193
  */
967
- "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1194
+ "skf-segmented-button": DefineComponent<SkfSegmentedButtonProps>;
968
1195
 
969
1196
  /**
970
1197
  * The `<skf-select-option-group>` is a component that groups select-options
@@ -977,65 +1204,85 @@ export type CustomElements = {
977
1204
  "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
978
1205
 
979
1206
  /**
980
- * 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
981
1220
  * ---
982
1221
  *
983
1222
  *
984
1223
  * ### **Events:**
985
- * - **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
986
1229
  *
987
1230
  * ### **Slots:**
988
- * - _default_ - One or more `<skf-stepper-item>`
1231
+ * - _default_ - The select's placeholder content
989
1232
  */
990
- "skf-stepper": DefineComponent<SkfStepperProps>;
1233
+ "skf-select": DefineComponent<SkfSelectProps>;
991
1234
 
992
1235
  /**
993
- * 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.
994
1237
  * ---
995
1238
  *
996
1239
  *
997
1240
  * ### **Events:**
998
- * - **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.
999
1242
  *
1000
1243
  * ### **Slots:**
1001
- * - _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).
1002
1246
  */
1003
- "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1247
+ "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1004
1248
 
1005
1249
  /**
1006
- * 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
1007
1251
  * ---
1008
1252
  *
1009
1253
  *
1254
+ * ### **Events:**
1255
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1256
+ *
1010
1257
  * ### **Slots:**
1011
- * - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
1258
+ * - _default_ - Label of the stepper item
1012
1259
  */
1013
- "skf-switch": DefineComponent<SkfSwitchProps>;
1260
+ "skf-stepper-item": DefineComponent<SkfStepperItemProps>;
1014
1261
 
1015
1262
  /**
1016
- * 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.
1017
1264
  * ---
1018
1265
  *
1019
1266
  *
1020
1267
  * ### **Events:**
1021
- * - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
1022
- * - **click** - Fired when the component is clicked
1268
+ * - **skf-stepper-item-select** - Dispatched when the stepper item is selected
1023
1269
  *
1024
1270
  * ### **Slots:**
1025
- * - _default_ - The tab's label
1271
+ * - _default_ - One or more `<skf-stepper-item>`
1026
1272
  */
1027
- "skf-tab": DefineComponent<SkfTabProps>;
1273
+ "skf-stepper": DefineComponent<SkfStepperProps>;
1028
1274
 
1029
1275
  /**
1030
- * 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
1031
1279
  * ---
1032
1280
  *
1033
1281
  *
1034
1282
  * ### **Slots:**
1035
- * - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
1036
- * - **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.
1037
1284
  */
1038
- "skf-tab-group": DefineComponent<SkfTabGroupProps>;
1285
+ "skf-switch": DefineComponent<SkfSwitchProps>;
1039
1286
 
1040
1287
  /**
1041
1288
  * The `<skf-tab-panel>` is a component that displays a list of actions or options.
@@ -1048,14 +1295,29 @@ export type CustomElements = {
1048
1295
  "skf-tab-panel": DefineComponent<SkfTabPanelProps>;
1049
1296
 
1050
1297
  /**
1051
- * 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
1052
1299
  * ---
1053
1300
  *
1054
1301
  *
1055
1302
  * ### **Slots:**
1056
- * - _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
1057
1305
  */
1058
- "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>;
1059
1321
 
1060
1322
  /**
1061
1323
  * The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.
@@ -1072,33 +1334,33 @@ export type CustomElements = {
1072
1334
  "skf-textarea": DefineComponent<SkfTextAreaProps>;
1073
1335
 
1074
1336
  /**
1075
- * 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.
1076
1338
  * ---
1077
1339
  *
1078
1340
  *
1079
1341
  * ### **Slots:**
1080
- * - _default_ - The component's placeholder content
1342
+ * - _default_ - The alert components that the toast creates will render here.
1081
1343
  */
1082
- "skf-toast": DefineComponent<SkfToastProps>;
1344
+ "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1083
1345
 
1084
1346
  /**
1085
- * 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.
1086
1348
  * ---
1087
1349
  *
1088
1350
  *
1089
1351
  * ### **Slots:**
1090
- * - _default_ - The alert components that the toast creates will render here.
1352
+ * - _default_ - The component's placeholder content
1091
1353
  */
1092
- "skf-toast-wrapper": DefineComponent<SkfToastWrapperProps>;
1354
+ "skf-toast": DefineComponent<SkfToastProps>;
1093
1355
 
1094
1356
  /**
1095
- * 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.
1096
1358
  * ---
1097
1359
  *
1098
1360
  *
1099
1361
  * ### **Events:**
1100
- * - **open** - Fired when the dropdown is opened
1101
- * - **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
1102
1364
  *
1103
1365
  * ### **Slots:**
1104
1366
  * - _default_ - The tooltip popover content