@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,26 +1,168 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@skf-design-system/ui-components",
4
- "version": "1.0.0-beta.7",
4
+ "version": "1.0.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
+ {
10
+ "name": "skf-icon",
11
+ "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ {
15
+ "name": "color",
16
+ "description": "Sets the color of the icon",
17
+ "value": { "type": "IconColor", "default": "'primary'" }
18
+ },
19
+ {
20
+ "name": "label",
21
+ "description": "If defined, adds an alternate description to use for assistive devices",
22
+ "value": { "type": "string | undefined" }
23
+ },
24
+ {
25
+ "name": "name",
26
+ "description": "Name of the icon to display",
27
+ "value": { "type": "Icon | undefined" }
28
+ },
29
+ {
30
+ "name": "size",
31
+ "description": "Size of the icon",
32
+ "value": { "type": "SkfIconSize", "default": "'md'" }
33
+ }
34
+ ],
35
+ "events": [],
36
+ "js": {
37
+ "properties": [
38
+ {
39
+ "name": "color",
40
+ "description": "Sets the color of the icon",
41
+ "type": "IconColor"
42
+ },
43
+ {
44
+ "name": "label",
45
+ "description": "If defined, adds an alternate description to use for assistive devices",
46
+ "type": "string | undefined"
47
+ },
48
+ {
49
+ "name": "name",
50
+ "description": "Name of the icon to display",
51
+ "type": "Icon | undefined"
52
+ },
53
+ {
54
+ "name": "size",
55
+ "description": "Size of the icon",
56
+ "type": "SkfIconSize"
57
+ }
58
+ ],
59
+ "events": []
60
+ }
61
+ },
62
+ {
63
+ "name": "skf-accordion-item",
64
+ "description": "The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component\n---\n\n\n### **Events:**\n - **skf-accordion-item-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
65
+ "doc-url": "",
66
+ "attributes": [
67
+ {
68
+ "name": "animated",
69
+ "description": "If true, will animate the expand/accordion-item state",
70
+ "value": { "type": "boolean", "default": "false" }
71
+ },
72
+ {
73
+ "name": "expanded",
74
+ "description": "If true, will set the accordion-item to be expanded by default",
75
+ "value": { "type": "boolean", "default": "false" }
76
+ },
77
+ {
78
+ "name": "heading",
79
+ "description": "Heading for the accordion-item",
80
+ "value": { "type": "string | undefined" }
81
+ },
82
+ {
83
+ "name": "heading-as",
84
+ "description": "Defines which heading element will be rendered",
85
+ "value": {
86
+ "type": "SkfAccordionItemHeadingType",
87
+ "default": "'h2'"
88
+ }
89
+ },
90
+ {
91
+ "name": "small",
92
+ "description": "If true, renders the small version",
93
+ "value": { "type": "boolean", "default": "false" }
94
+ },
95
+ {
96
+ "name": "truncate",
97
+ "description": "If true, will truncate the heading in accordion-item state",
98
+ "value": { "type": "boolean", "default": "false" }
99
+ }
100
+ ],
101
+ "slots": [{ "name": "", "description": "Main content" }],
102
+ "events": [
103
+ {
104
+ "name": "skf-accordion-item-toggle",
105
+ "type": "CustomEvent",
106
+ "description": "Event emitted when toggled"
107
+ }
108
+ ],
109
+ "js": {
110
+ "properties": [
111
+ {
112
+ "name": "animated",
113
+ "description": "If true, will animate the expand/accordion-item state",
114
+ "type": "boolean"
115
+ },
116
+ {
117
+ "name": "expanded",
118
+ "description": "If true, will set the accordion-item to be expanded by default",
119
+ "type": "boolean"
120
+ },
121
+ {
122
+ "name": "heading",
123
+ "description": "Heading for the accordion-item",
124
+ "type": "string | undefined"
125
+ },
126
+ {
127
+ "name": "headingAs",
128
+ "description": "Defines which heading element will be rendered",
129
+ "type": "SkfAccordionItemHeadingType"
130
+ },
131
+ {
132
+ "name": "small",
133
+ "description": "If true, renders the small version",
134
+ "type": "boolean"
135
+ },
136
+ {
137
+ "name": "truncate",
138
+ "description": "If true, will truncate the heading in accordion-item state",
139
+ "type": "boolean"
140
+ }
141
+ ],
142
+ "events": [
143
+ {
144
+ "name": "skf-accordion-item-toggle",
145
+ "type": "CustomEvent",
146
+ "description": "Event emitted when toggled"
147
+ }
148
+ ]
149
+ }
150
+ },
9
151
  {
10
152
  "name": "skf-accordion",
11
- "description": "The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
153
+ "description": "The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
12
154
  "doc-url": "",
13
155
  "attributes": [
14
156
  {
15
157
  "name": "animated",
16
158
  "description": "If true, will animate the expand/collapse state",
17
- "value": { "type": "boolean | undefined" }
159
+ "value": { "type": "boolean", "default": "false" }
18
160
  },
19
161
  {
20
162
  "name": "heading-as",
21
163
  "description": "Defines which heading element will be rendered",
22
164
  "value": {
23
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
165
+ "type": "SkfAccordionItemHeadingType",
24
166
  "default": "'h2'"
25
167
  }
26
168
  },
@@ -32,17 +174,17 @@
32
174
  {
33
175
  "name": "multiple",
34
176
  "description": "If true, allowes multiple accordion items to open",
35
- "value": { "type": "boolean | undefined" }
177
+ "value": { "type": "boolean", "default": "false" }
36
178
  },
37
179
  {
38
180
  "name": "small",
39
181
  "description": "If true, renders the small version",
40
- "value": { "type": "boolean | undefined" }
182
+ "value": { "type": "boolean", "default": "false" }
41
183
  },
42
184
  {
43
185
  "name": "truncate",
44
186
  "description": "If true, will truncate all headings in collapsed state",
45
- "value": { "type": "boolean | undefined" }
187
+ "value": { "type": "boolean", "default": "false" }
46
188
  }
47
189
  ],
48
190
  "slots": [
@@ -57,12 +199,12 @@
57
199
  {
58
200
  "name": "animated",
59
201
  "description": "If true, will animate the expand/collapse state",
60
- "type": "boolean | undefined"
202
+ "type": "boolean"
61
203
  },
62
204
  {
63
205
  "name": "headingAs",
64
206
  "description": "Defines which heading element will be rendered",
65
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
207
+ "type": "SkfAccordionItemHeadingType"
66
208
  },
67
209
  {
68
210
  "name": "gap",
@@ -72,17 +214,17 @@
72
214
  {
73
215
  "name": "multiple",
74
216
  "description": "If true, allowes multiple accordion items to open",
75
- "type": "boolean | undefined"
217
+ "type": "boolean"
76
218
  },
77
219
  {
78
220
  "name": "small",
79
221
  "description": "If true, renders the small version",
80
- "type": "boolean | undefined"
222
+ "type": "boolean"
81
223
  },
82
224
  {
83
225
  "name": "truncate",
84
226
  "description": "If true, will truncate all headings in collapsed state",
85
- "type": "boolean | undefined"
227
+ "type": "boolean"
86
228
  }
87
229
  ],
88
230
  "events": []
@@ -90,14 +232,9 @@
90
232
  },
91
233
  {
92
234
  "name": "skf-alert",
93
- "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
235
+ "description": "The `<skf-alert>` is a type of notification that appears in-line\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
94
236
  "doc-url": "",
95
237
  "attributes": [
96
- {
97
- "name": "closeable",
98
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
99
- "value": { "type": "boolean | undefined" }
100
- },
101
238
  {
102
239
  "name": "button-label",
103
240
  "description": "Close button aria-label",
@@ -106,14 +243,17 @@
106
243
  {
107
244
  "name": "icon",
108
245
  "description": "If defined, displays leading icon",
109
- "value": { "type": "SkfIcon['name'] | undefined" }
246
+ "value": { "type": "Icon | undefined" }
247
+ },
248
+ {
249
+ "name": "persistent",
250
+ "description": "If true, renders with an close button and sets aria-role to `status`",
251
+ "value": { "type": "boolean", "default": "false" }
110
252
  },
111
253
  {
112
254
  "name": "severity",
113
255
  "description": "If defined, gives the supplied appearance",
114
- "value": {
115
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
116
- }
256
+ "value": { "type": "Severity | undefined" }
117
257
  }
118
258
  ],
119
259
  "slots": [
@@ -126,16 +266,12 @@
126
266
  "events": [
127
267
  {
128
268
  "name": "skf-alert-close",
269
+ "type": "CustomEvent",
129
270
  "description": "Fires when the close button is clicked"
130
271
  }
131
272
  ],
132
273
  "js": {
133
274
  "properties": [
134
- {
135
- "name": "closeable",
136
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
137
- "type": "boolean | undefined"
138
- },
139
275
  {
140
276
  "name": "buttonLabel",
141
277
  "description": "Close button aria-label",
@@ -144,25 +280,147 @@
144
280
  {
145
281
  "name": "icon",
146
282
  "description": "If defined, displays leading icon",
147
- "type": "SkfIcon['name'] | undefined"
283
+ "type": "Icon | undefined"
284
+ },
285
+ {
286
+ "name": "persistent",
287
+ "description": "If true, renders with an close button and sets aria-role to `status`",
288
+ "type": "boolean"
148
289
  },
149
290
  {
150
291
  "name": "severity",
151
292
  "description": "If defined, gives the supplied appearance",
152
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
293
+ "type": "Severity | undefined"
153
294
  }
154
295
  ],
155
296
  "events": [
156
297
  {
157
298
  "name": "skf-alert-close",
299
+ "type": "CustomEvent",
158
300
  "description": "Fires when the close button is clicked"
159
301
  }
160
302
  ]
161
303
  }
162
304
  },
305
+ {
306
+ "name": "skf-breadcrumb-item",
307
+ "description": "The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component\n---\n\n\n### **Slots:**\n - _default_ - Label of the breadcrumb item",
308
+ "doc-url": "",
309
+ "attributes": [
310
+ {
311
+ "name": "href",
312
+ "description": "If defined, loads url on click",
313
+ "value": { "type": "string | undefined" }
314
+ }
315
+ ],
316
+ "slots": [
317
+ { "name": "", "description": "Label of the breadcrumb item" }
318
+ ],
319
+ "events": [],
320
+ "js": {
321
+ "properties": [
322
+ {
323
+ "name": "href",
324
+ "description": "If defined, loads url on click",
325
+ "type": "string | undefined"
326
+ },
327
+ {
328
+ "name": "onClick",
329
+ "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
330
+ }
331
+ ],
332
+ "events": []
333
+ }
334
+ },
335
+ {
336
+ "name": "skf-breadcrumb",
337
+ "description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
338
+ "doc-url": "",
339
+ "attributes": [
340
+ {
341
+ "name": "label",
342
+ "description": "aria-label for the breadcrumb control",
343
+ "value": { "type": "string", "default": "'Breadcrumb'" }
344
+ },
345
+ {
346
+ "name": "small",
347
+ "description": "If true, renders a smaller version",
348
+ "value": { "type": "boolean", "default": "false" }
349
+ }
350
+ ],
351
+ "slots": [
352
+ { "name": "", "description": "One or more `<skf-breadcrumb-item>`" }
353
+ ],
354
+ "events": [
355
+ { "name": "click", "description": "Fired when the item is clicked" }
356
+ ],
357
+ "js": {
358
+ "properties": [
359
+ {
360
+ "name": "label",
361
+ "description": "aria-label for the breadcrumb control",
362
+ "type": "string"
363
+ },
364
+ {
365
+ "name": "small",
366
+ "description": "If true, renders a smaller version",
367
+ "type": "boolean"
368
+ }
369
+ ],
370
+ "events": [
371
+ {
372
+ "name": "click",
373
+ "description": "Fired when the item is clicked"
374
+ }
375
+ ]
376
+ }
377
+ },
378
+ {
379
+ "name": "skf-loader",
380
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
381
+ "doc-url": "",
382
+ "attributes": [
383
+ {
384
+ "name": "aria-label",
385
+ "description": "Defines the aria-label",
386
+ "value": { "type": "string", "default": "'Loading...'" }
387
+ },
388
+ {
389
+ "name": "invert",
390
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
391
+ "value": { "type": "boolean", "default": "false" }
392
+ },
393
+ {
394
+ "name": "size",
395
+ "description": "Defines the size of the loader",
396
+ "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
397
+ }
398
+ ],
399
+ "events": [],
400
+ "js": {
401
+ "properties": [
402
+ {
403
+ "name": "ariaLabel",
404
+ "description": "Defines the aria-label",
405
+ "type": "string"
406
+ },
407
+ {
408
+ "name": "invert",
409
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
410
+ "type": "boolean"
411
+ },
412
+ {
413
+ "name": "size",
414
+ "description": "Defines the size of the loader",
415
+ "type": "'md' | 'sm' | undefined"
416
+ }
417
+ ],
418
+ "events": []
419
+ }
420
+ },
163
421
  {
164
422
  "name": "skf-button",
165
- "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
423
+ "description": "Component to be used in forms or for interactivity\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
166
424
  "doc-url": "",
167
425
  "attributes": [
168
426
  {
@@ -178,22 +436,17 @@
178
436
  {
179
437
  "name": "icon",
180
438
  "description": "If provided, renders an icon before or after the text",
181
- "value": {
182
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
183
- }
439
+ "value": { "type": "Icon | undefined" }
184
440
  },
185
441
  {
186
- "name": "iconOnly",
187
- "description": "If true, removes border",
442
+ "name": "icon-only",
443
+ "description": "If true, button will take a square shape",
188
444
  "value": { "type": "boolean", "default": "false" }
189
445
  },
190
446
  {
191
447
  "name": "icon-position",
192
- "description": "If provided, determines the positioning of the icon in relation to the text",
193
- "value": {
194
- "type": "'left' | 'right' | undefined",
195
- "default": "'left'"
196
- }
448
+ "description": "Determines the positioning of the icon in relation to the text",
449
+ "value": { "type": "'left' | 'right'", "default": "'left'" }
197
450
  },
198
451
  {
199
452
  "name": "loading",
@@ -207,21 +460,21 @@
207
460
  {
208
461
  "name": "size",
209
462
  "description": "If provided, displays an alternative size",
210
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
463
+ "value": {
464
+ "type": "'sm' | 'md' | 'lg' | undefined",
465
+ "default": "'md'"
466
+ }
211
467
  },
212
468
  {
213
469
  "name": "type",
214
470
  "description": "If provided, changes the button type",
215
- "value": {
216
- "type": "'button' | 'submit' | 'reset'",
217
- "default": "'button'"
218
- }
471
+ "value": { "type": "SkfButtonType", "default": "'button'" }
219
472
  },
220
473
  {
221
474
  "name": "variant",
222
475
  "description": "If provided, alters the appearance",
223
476
  "value": {
224
- "type": "'primary' | 'secondary'",
477
+ "type": "'primary' | 'secondary' | 'tertiary'",
225
478
  "default": "'primary'"
226
479
  }
227
480
  }
@@ -230,6 +483,7 @@
230
483
  "events": [
231
484
  {
232
485
  "name": "click",
486
+ "type": "CustomEvent",
233
487
  "description": "Fires when the button is clicked"
234
488
  }
235
489
  ],
@@ -248,17 +502,17 @@
248
502
  {
249
503
  "name": "icon",
250
504
  "description": "If provided, renders an icon before or after the text",
251
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
505
+ "type": "Icon | undefined"
252
506
  },
253
507
  {
254
508
  "name": "iconOnly",
255
- "description": "If true, removes border",
509
+ "description": "If true, button will take a square shape",
256
510
  "type": "boolean"
257
511
  },
258
512
  {
259
513
  "name": "iconPosition",
260
- "description": "If provided, determines the positioning of the icon in relation to the text",
261
- "type": "'left' | 'right' | undefined"
514
+ "description": "Determines the positioning of the icon in relation to the text",
515
+ "type": "'left' | 'right'"
262
516
  },
263
517
  {
264
518
  "name": "loading",
@@ -269,22 +523,23 @@
269
523
  {
270
524
  "name": "size",
271
525
  "description": "If provided, displays an alternative size",
272
- "type": "'sm' | 'md' | 'lg'"
526
+ "type": "'sm' | 'md' | 'lg' | undefined"
273
527
  },
274
528
  {
275
529
  "name": "type",
276
530
  "description": "If provided, changes the button type",
277
- "type": "'button' | 'submit' | 'reset'"
531
+ "type": "SkfButtonType"
278
532
  },
279
533
  {
280
534
  "name": "variant",
281
535
  "description": "If provided, alters the appearance",
282
- "type": "'primary' | 'secondary'"
536
+ "type": "'primary' | 'secondary' | 'tertiary'"
283
537
  }
284
538
  ],
285
539
  "events": [
286
540
  {
287
541
  "name": "click",
542
+ "type": "CustomEvent",
288
543
  "description": "Fires when the button is clicked"
289
544
  }
290
545
  ]
@@ -292,7 +547,7 @@
292
547
  },
293
548
  {
294
549
  "name": "skf-card",
295
- "description": "The `<skf-card>` can be used to group related subjects in a container\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
550
+ "description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
296
551
  "doc-url": "",
297
552
  "attributes": [
298
553
  {
@@ -336,38 +591,38 @@
336
591
  },
337
592
  {
338
593
  "name": "skf-checkbox",
339
- "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
594
+ "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
340
595
  "doc-url": "",
341
596
  "attributes": [
342
597
  {
343
598
  "name": "disabled",
344
599
  "description": "If true, sets disabled state",
345
- "value": { "type": "boolean" }
600
+ "value": { "type": "boolean", "default": "false" }
346
601
  },
347
602
  {
348
603
  "name": "required",
349
604
  "description": "If true, value is required or must be checked for the form to be submittable",
350
- "value": { "type": "boolean" }
605
+ "value": { "type": "boolean", "default": "false" }
351
606
  },
352
607
  {
353
608
  "name": "debug",
354
609
  "description": "If defined, outputs helping hints in console",
355
- "value": { "type": "boolean | undefined" }
610
+ "value": { "type": "boolean", "default": "false" }
356
611
  },
357
612
  {
358
613
  "name": "checked",
359
614
  "description": "If true, outputs helping hints in console",
360
- "value": { "type": "boolean | undefined" }
615
+ "value": { "type": "string" }
361
616
  },
362
617
  {
363
618
  "name": "custom-invalid",
364
619
  "description": "If true, forces component to invalid state until removed",
365
- "value": { "type": "boolean | undefined" }
620
+ "value": { "type": "boolean", "default": "false" }
366
621
  },
367
622
  {
368
623
  "name": "indeterminate",
369
624
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
370
- "value": { "type": "boolean | undefined" }
625
+ "value": { "type": "boolean", "default": "false" }
371
626
  },
372
627
  {
373
628
  "name": "label",
@@ -387,14 +642,12 @@
387
642
  {
388
643
  "name": "severity",
389
644
  "description": "If defined, styles checkbox using provided severity",
390
- "value": {
391
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
392
- }
645
+ "value": { "type": "FormFieldSeverity | undefined" }
393
646
  },
394
647
  {
395
648
  "name": "show-valid",
396
649
  "description": "If true, displays valid state after interaction",
397
- "value": { "type": "boolean | undefined" }
650
+ "value": { "type": "boolean", "default": "false" }
398
651
  },
399
652
  {
400
653
  "name": "size",
@@ -416,7 +669,8 @@
416
669
  "events": [
417
670
  {
418
671
  "name": "change",
419
- "description": "{object} - When the value of the input changes"
672
+ "type": "Event",
673
+ "description": "When the value of the input changes"
420
674
  }
421
675
  ],
422
676
  "js": {
@@ -424,22 +678,21 @@
424
678
  {
425
679
  "name": "debug",
426
680
  "description": "If defined, outputs helping hints in console",
427
- "type": "boolean | undefined"
681
+ "type": "boolean"
428
682
  },
429
683
  {
430
684
  "name": "checked",
431
- "description": "If true, outputs helping hints in console",
432
- "type": "boolean | undefined"
685
+ "description": "If true, outputs helping hints in console"
433
686
  },
434
687
  {
435
688
  "name": "customInvalid",
436
689
  "description": "If true, forces component to invalid state until removed",
437
- "type": "boolean | undefined"
690
+ "type": "boolean"
438
691
  },
439
692
  {
440
693
  "name": "indeterminate",
441
694
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
442
- "type": "boolean | undefined"
695
+ "type": "boolean"
443
696
  },
444
697
  {
445
698
  "name": "label",
@@ -459,12 +712,12 @@
459
712
  {
460
713
  "name": "severity",
461
714
  "description": "If defined, styles checkbox using provided severity",
462
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
715
+ "type": "FormFieldSeverity | undefined"
463
716
  },
464
717
  {
465
718
  "name": "showValid",
466
719
  "description": "If true, displays valid state after interaction",
467
- "type": "boolean | undefined"
720
+ "type": "boolean"
468
721
  },
469
722
  {
470
723
  "name": "size",
@@ -480,100 +733,304 @@
480
733
  "events": [
481
734
  {
482
735
  "name": "change",
483
- "description": "{object} - When the value of the input changes"
736
+ "type": "Event",
737
+ "description": "When the value of the input changes"
484
738
  }
485
739
  ]
486
740
  }
487
741
  },
488
742
  {
489
- "name": "skf-collapse",
490
- "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
743
+ "name": "skf-datepicker-calendar",
744
+ "description": "\n---\n",
745
+ "doc-url": "",
746
+ "attributes": [
747
+ { "name": "eventid", "value": { "type": "string" } },
748
+ {
749
+ "name": "firstDayOfWeek",
750
+ "value": { "type": "number", "default": "0" }
751
+ },
752
+ {
753
+ "name": "invalid-dates",
754
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
755
+ "value": { "type": "string | undefined" }
756
+ },
757
+ {
758
+ "name": "locale",
759
+ "value": { "type": "string", "default": "'en-CA'" }
760
+ },
761
+ {
762
+ "name": "range",
763
+ "value": { "type": "boolean", "default": "false" }
764
+ },
765
+ {
766
+ "name": "selectable-from",
767
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
768
+ "value": { "type": "string | undefined" }
769
+ },
770
+ {
771
+ "name": "selectable-to",
772
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
773
+ "value": { "type": "string | undefined" }
774
+ },
775
+ {
776
+ "name": "selected-date",
777
+ "value": { "type": "Date | undefined", "default": "undefined" }
778
+ },
779
+ {
780
+ "name": "selectedDateRange",
781
+ "value": {
782
+ "type": "{ start: Date | null; end: Date | null }",
783
+ "default": "{ start: null, end: null, }"
784
+ }
785
+ }
786
+ ],
787
+ "events": [],
788
+ "js": {
789
+ "properties": [
790
+ { "name": "eventid", "type": "string" },
791
+ { "name": "firstDayOfWeek", "type": "number" },
792
+ {
793
+ "name": "invalidDates",
794
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
795
+ "type": "string | undefined"
796
+ },
797
+ { "name": "locale", "type": "string" },
798
+ { "name": "range", "type": "boolean" },
799
+ {
800
+ "name": "selectableFrom",
801
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
802
+ "type": "string | undefined"
803
+ },
804
+ {
805
+ "name": "selectableTo",
806
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
807
+ "type": "string | undefined"
808
+ },
809
+ { "name": "selectedDate", "type": "Date | undefined" },
810
+ {
811
+ "name": "selectedDateRange",
812
+ "type": "{ start: Date | null; end: Date | null }"
813
+ },
814
+ { "name": "_listenToKeyboard" },
815
+ { "name": "_handleKeyDown" },
816
+ { "name": "dateSelectable" }
817
+ ],
818
+ "events": []
819
+ }
820
+ },
821
+ {
822
+ "name": "skf-datepicker",
823
+ "description": "\n---\n\n\n### **Methods:**\n - **clear()** - Clears the input field",
824
+ "doc-url": "",
825
+ "attributes": [
826
+ {
827
+ "name": "custom-invalid",
828
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
829
+ "value": { "type": "string" }
830
+ },
831
+ {
832
+ "name": "id",
833
+ "value": { "type": "string", "default": "'skf-datepicker-input'" }
834
+ },
835
+ {
836
+ "name": "label",
837
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
838
+ "value": { "type": "string | undefined" }
839
+ },
840
+ {
841
+ "name": "hide-label",
842
+ "description": "If true, hides the label visually",
843
+ "value": { "type": "boolean | undefined" }
844
+ },
845
+ {
846
+ "name": "hint",
847
+ "description": "If defined, displays informational text below the field",
848
+ "value": { "type": "string | undefined" }
849
+ },
850
+ {
851
+ "name": "invalid-dates",
852
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
853
+ "value": { "type": "string | undefined" }
854
+ },
855
+ {
856
+ "name": "name",
857
+ "description": "If defined, adds name to the input-element",
858
+ "value": { "type": "string | undefined" }
859
+ },
860
+ {
861
+ "name": "placeholder",
862
+ "value": { "type": "string", "default": "'YYYY-MM-DD'" }
863
+ },
864
+ {
865
+ "name": "range",
866
+ "value": { "type": "boolean", "default": "false" }
867
+ },
868
+ {
869
+ "name": "readonly",
870
+ "description": "If true, makes the element not mutable, meaning the user can not edit the control",
871
+ "value": { "type": "boolean | undefined" }
872
+ },
873
+ {
874
+ "name": "required-label",
875
+ "description": "If defined, renders an alternative A11y text for the asterisk",
876
+ "value": { "type": "string | undefined" }
877
+ },
878
+ {
879
+ "name": "selectable-from",
880
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
881
+ "value": { "type": "string | undefined" }
882
+ },
883
+ {
884
+ "name": "selectable-to",
885
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
886
+ "value": { "type": "string | undefined" }
887
+ },
888
+ {
889
+ "name": "severity",
890
+ "description": "If defined, displays provided severity state",
891
+ "value": {
892
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
893
+ }
894
+ },
895
+ {
896
+ "name": "size",
897
+ "description": "Size of the input",
898
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
899
+ },
900
+ {
901
+ "name": "validate-on",
902
+ "description": "Sets validation start",
903
+ "value": {
904
+ "type": "'input' | 'change' | 'submit'",
905
+ "default": "'change'"
906
+ }
907
+ },
908
+ {
909
+ "name": "value",
910
+ "description": "The current value of the input field",
911
+ "value": { "type": "string | undefined" }
912
+ }
913
+ ],
914
+ "events": [],
915
+ "js": {
916
+ "properties": [
917
+ {
918
+ "name": "focusTimeoutId",
919
+ "type": "ReturnType<typeof setTimeout> | undefined"
920
+ },
921
+ {
922
+ "name": "customInvalid",
923
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
924
+ },
925
+ { "name": "id", "type": "string" },
926
+ {
927
+ "name": "label",
928
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
929
+ "type": "string | undefined"
930
+ },
931
+ {
932
+ "name": "hideLabel",
933
+ "description": "If true, hides the label visually",
934
+ "type": "boolean | undefined"
935
+ },
936
+ {
937
+ "name": "hint",
938
+ "description": "If defined, displays informational text below the field",
939
+ "type": "string | undefined"
940
+ },
941
+ {
942
+ "name": "invalidDates",
943
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
944
+ "type": "string | undefined"
945
+ },
946
+ {
947
+ "name": "name",
948
+ "description": "If defined, adds name to the input-element",
949
+ "type": "string | undefined"
950
+ },
951
+ { "name": "placeholder", "type": "string" },
952
+ { "name": "range", "type": "boolean" },
953
+ {
954
+ "name": "readonly",
955
+ "description": "If true, makes the element not mutable, meaning the user can not edit the control",
956
+ "type": "boolean | undefined"
957
+ },
958
+ {
959
+ "name": "requiredLabel",
960
+ "description": "If defined, renders an alternative A11y text for the asterisk",
961
+ "type": "string | undefined"
962
+ },
963
+ {
964
+ "name": "selectableFrom",
965
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
966
+ "type": "string | undefined"
967
+ },
968
+ {
969
+ "name": "selectableTo",
970
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
971
+ "type": "string | undefined"
972
+ },
973
+ {
974
+ "name": "severity",
975
+ "description": "If defined, displays provided severity state",
976
+ "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
977
+ },
978
+ {
979
+ "name": "size",
980
+ "description": "Size of the input",
981
+ "type": "'sm' | 'md'"
982
+ },
983
+ {
984
+ "name": "validateOn",
985
+ "description": "Sets validation start",
986
+ "type": "'input' | 'change' | 'submit'"
987
+ },
988
+ {
989
+ "name": "value",
990
+ "description": "The current value of the input field",
991
+ "type": "string | undefined"
992
+ }
993
+ ],
994
+ "events": []
995
+ }
996
+ },
997
+ {
998
+ "name": "skf-heading",
999
+ "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
491
1000
  "doc-url": "",
492
1001
  "attributes": [
493
1002
  {
494
- "name": "animated",
495
- "description": "If true, will animate the expand/collapse state",
496
- "value": { "type": "boolean", "default": "false" }
497
- },
498
- {
499
- "name": "expanded",
500
- "description": "If true, will set the collapse to be expanded by default",
501
- "value": { "type": "boolean", "default": "false" }
502
- },
503
- {
504
- "name": "heading",
505
- "description": "Heading for the collapse",
506
- "value": { "type": "string | undefined" }
507
- },
508
- {
509
- "name": "heading-as",
510
- "description": "Defines which heading element will be rendered",
511
- "value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
512
- },
513
- {
514
- "name": "small",
515
- "description": "If true, renders the small version",
516
- "value": { "type": "boolean", "default": "false" }
1003
+ "name": "as",
1004
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
1005
+ "value": { "type": "HeadingType", "default": "'h2'" }
517
1006
  },
518
1007
  {
519
- "name": "truncate",
520
- "description": "If true, will truncate the heading in collapsed state",
521
- "value": { "type": "boolean", "default": "false" }
522
- }
523
- ],
524
- "slots": [{ "name": "", "description": "Main content" }],
525
- "events": [
526
- {
527
- "name": "skf-collapse-toggle",
528
- "type": "CustomEvent",
529
- "description": "Event emitted when toggled"
1008
+ "name": "styled-as",
1009
+ "description": "If defined, changes the appearance of the heading",
1010
+ "value": { "type": "HeadingType | undefined" }
530
1011
  }
531
1012
  ],
1013
+ "slots": [{ "name": "", "description": "The headings content" }],
1014
+ "events": [],
532
1015
  "js": {
533
1016
  "properties": [
534
1017
  {
535
- "name": "animated",
536
- "description": "If true, will animate the expand/collapse state",
537
- "type": "boolean"
538
- },
539
- {
540
- "name": "expanded",
541
- "description": "If true, will set the collapse to be expanded by default",
542
- "type": "boolean"
543
- },
544
- {
545
- "name": "heading",
546
- "description": "Heading for the collapse",
547
- "type": "string | undefined"
548
- },
549
- {
550
- "name": "headingAs",
551
- "description": "Defines which heading element will be rendered",
552
- "type": "\"h2\" | \"h3\" | \"h4\""
553
- },
554
- {
555
- "name": "small",
556
- "description": "If true, renders the small version",
557
- "type": "boolean"
1018
+ "name": "as",
1019
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
1020
+ "type": "HeadingType"
558
1021
  },
559
1022
  {
560
- "name": "truncate",
561
- "description": "If true, will truncate the heading in collapsed state",
562
- "type": "boolean"
1023
+ "name": "styledAs",
1024
+ "description": "If defined, changes the appearance of the heading",
1025
+ "type": "HeadingType | undefined"
563
1026
  }
564
1027
  ],
565
- "events": [
566
- {
567
- "name": "skf-collapse-toggle",
568
- "type": "CustomEvent",
569
- "description": "Event emitted when toggled"
570
- }
571
- ]
1028
+ "events": []
572
1029
  }
573
1030
  },
574
1031
  {
575
1032
  "name": "skf-dialog",
576
- "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)\n- **close** - Fires when the dialog is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **heading** - The dialog component's heading\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
1033
+ "description": "The `<skf-dialog>` is a component that open up a dialog of type modal with the content provided. (MDN refrains from opening the dialog using the `open` attribute, however skf-dialog does not have that limitation)\n---\n\n\n### **Events:**\n - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)\n- **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)\n\n### **Methods:**\n - **showModal()** - Method that opens the dialog in modal state\n- **close()** - Method that closes the dialog\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
577
1034
  "doc-url": "",
578
1035
  "attributes": [
579
1036
  {
@@ -603,15 +1060,12 @@
603
1060
  },
604
1061
  {
605
1062
  "name": "open",
606
- "value": { "type": "boolean | null | undefined" }
1063
+ "description": "If true, indicates that the dialog is active and is available for interaction",
1064
+ "value": { "type": "boolean", "default": "false" }
607
1065
  }
608
1066
  ],
609
1067
  "slots": [
610
1068
  { "name": "", "description": "The dialog component's content" },
611
- {
612
- "name": "heading",
613
- "description": "The dialog component's heading"
614
- },
615
1069
  {
616
1070
  "name": "footer",
617
1071
  "description": "The dialog component's buttons goes here"
@@ -619,15 +1073,18 @@
619
1073
  ],
620
1074
  "events": [
621
1075
  {
622
- "name": "skf-dialog-open",
1076
+ "name": "skf-dialog-opened",
1077
+ "type": "CustomEvent",
623
1078
  "description": "Fires when the dialog is opened (after transitioned in)"
624
1079
  },
625
1080
  {
626
- "name": "skf-dialog-close",
627
- "description": "Fires when the dialog is closed (before transitioned out)"
1081
+ "name": "skf-dialog-closing",
1082
+ "type": "CustomEvent",
1083
+ "description": "Fires when the dialog is closing (before transitioned out)"
628
1084
  },
629
1085
  {
630
- "name": "close",
1086
+ "name": "skf-dialog-closed",
1087
+ "type": "CustomEvent",
631
1088
  "description": "Fires when the dialog is closed (after transitioned out)"
632
1089
  }
633
1090
  ],
@@ -658,32 +1115,26 @@
658
1115
  "description": "If defined, removes the inner padding",
659
1116
  "type": "boolean"
660
1117
  },
661
- { "name": "open", "type": "boolean | null | undefined" },
662
- {
663
- "name": "onClose",
664
- "description": "If provided, will run function on dialog close",
665
- "type": "((event: Event) => void) | null | undefined"
666
- },
667
- {
668
- "name": "showModal",
669
- "description": "Method that opens the dialog in modal state"
670
- },
671
1118
  {
672
- "name": "close",
673
- "description": "Method that closes the dialog"
1119
+ "name": "open",
1120
+ "description": "If true, indicates that the dialog is active and is available for interaction",
1121
+ "type": "boolean"
674
1122
  }
675
1123
  ],
676
1124
  "events": [
677
1125
  {
678
- "name": "skf-dialog-open",
1126
+ "name": "skf-dialog-opened",
1127
+ "type": "CustomEvent",
679
1128
  "description": "Fires when the dialog is opened (after transitioned in)"
680
1129
  },
681
1130
  {
682
- "name": "skf-dialog-close",
683
- "description": "Fires when the dialog is closed (before transitioned out)"
1131
+ "name": "skf-dialog-closing",
1132
+ "type": "CustomEvent",
1133
+ "description": "Fires when the dialog is closing (before transitioned out)"
684
1134
  },
685
1135
  {
686
- "name": "close",
1136
+ "name": "skf-dialog-closed",
1137
+ "type": "CustomEvent",
687
1138
  "description": "Fires when the dialog is closed (after transitioned out)"
688
1139
  }
689
1140
  ]
@@ -697,10 +1148,7 @@
697
1148
  {
698
1149
  "name": "color",
699
1150
  "description": "Defines the Divider color",
700
- "value": {
701
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
702
- "default": "'primary'"
703
- }
1151
+ "value": { "type": "SkfDividerColor", "default": "'primary'" }
704
1152
  },
705
1153
  {
706
1154
  "name": "decorative",
@@ -719,7 +1167,7 @@
719
1167
  {
720
1168
  "name": "color",
721
1169
  "description": "Defines the Divider color",
722
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1170
+ "type": "SkfDividerColor"
723
1171
  },
724
1172
  {
725
1173
  "name": "decorative",
@@ -736,98 +1184,201 @@
736
1184
  }
737
1185
  },
738
1186
  {
739
- "name": "skf-heading",
740
- "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
1187
+ "name": "skf-drawer",
1188
+ "description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
741
1189
  "doc-url": "",
742
1190
  "attributes": [
743
1191
  {
744
- "name": "as",
745
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
746
- "value": {
747
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
748
- "default": "'h1'"
1192
+ "name": "close-button-aria-label",
1193
+ "description": "If defined, sets the aria-label for the close button",
1194
+ "value": { "type": "string", "default": "'Close dialog'" }
1195
+ },
1196
+ {
1197
+ "name": "heading",
1198
+ "description": "Heading for the Drawer",
1199
+ "value": { "type": "string | undefined" }
1200
+ },
1201
+ {
1202
+ "name": "size",
1203
+ "description": "Sets the max-width",
1204
+ "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1205
+ },
1206
+ {
1207
+ "name": "open",
1208
+ "description": "If true, Drawer is open",
1209
+ "value": { "type": "boolean", "default": "false" }
1210
+ },
1211
+ {
1212
+ "name": "placement",
1213
+ "description": "Placement of the Drawer",
1214
+ "value": { "type": "'left' | 'right'", "default": "'right'" }
1215
+ }
1216
+ ],
1217
+ "slots": [{ "name": "", "description": "The Drawer's main content" }],
1218
+ "events": [
1219
+ {
1220
+ "name": "skf-drawer-opened",
1221
+ "type": "CustomEvent",
1222
+ "description": "Fires when the drawer is opened (after transitioned in)"
1223
+ },
1224
+ {
1225
+ "name": "skf-drawer-closing",
1226
+ "type": "CustomEvent",
1227
+ "description": "Fires when the drawer is closing (before transitioned out)"
1228
+ },
1229
+ {
1230
+ "name": "skf-drawer-closed",
1231
+ "type": "CustomEvent",
1232
+ "description": "Fires when the drawer is closed (after transitioned out)"
1233
+ }
1234
+ ],
1235
+ "js": {
1236
+ "properties": [
1237
+ {
1238
+ "name": "closeButtonAriaLabel",
1239
+ "description": "If defined, sets the aria-label for the close button",
1240
+ "type": "string"
1241
+ },
1242
+ {
1243
+ "name": "heading",
1244
+ "description": "Heading for the Drawer",
1245
+ "type": "string | undefined"
1246
+ },
1247
+ {
1248
+ "name": "size",
1249
+ "description": "Sets the max-width",
1250
+ "type": "'sm' | 'md' | 'lg'"
1251
+ },
1252
+ {
1253
+ "name": "open",
1254
+ "description": "If true, Drawer is open",
1255
+ "type": "boolean"
1256
+ },
1257
+ {
1258
+ "name": "placement",
1259
+ "description": "Placement of the Drawer",
1260
+ "type": "'left' | 'right'"
1261
+ }
1262
+ ],
1263
+ "events": [
1264
+ {
1265
+ "name": "skf-drawer-opened",
1266
+ "type": "CustomEvent",
1267
+ "description": "Fires when the drawer is opened (after transitioned in)"
1268
+ },
1269
+ {
1270
+ "name": "skf-drawer-closing",
1271
+ "type": "CustomEvent",
1272
+ "description": "Fires when the drawer is closing (before transitioned out)"
1273
+ },
1274
+ {
1275
+ "name": "skf-drawer-closed",
1276
+ "type": "CustomEvent",
1277
+ "description": "Fires when the drawer is closed (after transitioned out)"
749
1278
  }
1279
+ ]
1280
+ }
1281
+ },
1282
+ {
1283
+ "name": "skf-logo",
1284
+ "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--mod-logo-height** - The height of the logo _(default: undefined)_",
1285
+ "doc-url": "",
1286
+ "attributes": [
1287
+ {
1288
+ "name": "title",
1289
+ "description": "Defines the title of the logo",
1290
+ "value": { "type": "string", "default": "'SKF logotype'" }
750
1291
  },
751
1292
  {
752
- "name": "styled-as",
753
- "description": "If provided, changes the appearance of the heading",
754
- "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
1293
+ "name": "color",
1294
+ "description": "Defines the color of the logo",
1295
+ "value": { "type": "SkfLogoColor", "default": "'primary'" }
755
1296
  }
756
1297
  ],
757
- "slots": [{ "name": "", "description": "The headings content" }],
758
1298
  "events": [],
759
1299
  "js": {
760
1300
  "properties": [
761
1301
  {
762
- "name": "as",
763
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
764
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1302
+ "name": "title",
1303
+ "description": "Defines the title of the logo",
1304
+ "type": "string"
765
1305
  },
766
1306
  {
767
- "name": "styledAs",
768
- "description": "If provided, changes the appearance of the heading",
769
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1307
+ "name": "color",
1308
+ "description": "Defines the color of the logo",
1309
+ "type": "SkfLogoColor"
770
1310
  }
771
1311
  ],
772
1312
  "events": []
773
1313
  }
774
1314
  },
775
1315
  {
776
- "name": "skf-icon",
777
- "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
1316
+ "name": "skf-nav",
1317
+ "description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
778
1318
  "doc-url": "",
779
1319
  "attributes": [
780
1320
  {
781
- "name": "color",
782
- "description": "Sets the color of the icon",
783
- "value": {
784
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
785
- "default": "'primary'"
786
- }
1321
+ "name": "vertical",
1322
+ "value": { "type": "boolean", "default": "false" }
1323
+ }
1324
+ ],
1325
+ "slots": [
1326
+ { "name": "", "description": "The component's main content" }
1327
+ ],
1328
+ "events": [],
1329
+ "js": {
1330
+ "properties": [{ "name": "vertical", "type": "boolean" }],
1331
+ "events": []
1332
+ }
1333
+ },
1334
+ {
1335
+ "name": "skf-header",
1336
+ "description": "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.\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
1337
+ "doc-url": "",
1338
+ "attributes": [
1339
+ {
1340
+ "name": "compact",
1341
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
1342
+ "value": { "type": "string" }
787
1343
  },
788
1344
  {
789
- "name": "label",
790
- "description": "If defined, adds an alternate description to use for assistive devices",
791
- "value": { "type": "string | undefined" }
1345
+ "name": "hamburger-aria-label",
1346
+ "description": "If defined, sets the aria-label for the hamburger button",
1347
+ "value": { "type": "string", "default": "'Show navigation'" }
792
1348
  },
793
1349
  {
794
- "name": "name",
795
- "description": "Name of the icon to display",
796
- "value": {
797
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
798
- }
1350
+ "name": "site-name",
1351
+ "description": "If defined, sets the app or site's name",
1352
+ "value": { "type": "string | undefined" }
799
1353
  },
800
1354
  {
801
- "name": "size",
802
- "description": "Size of the icon",
803
- "value": {
804
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
805
- "default": "'md'"
806
- }
1355
+ "name": "site-url",
1356
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1357
+ "value": { "type": "string | undefined" }
807
1358
  }
808
1359
  ],
1360
+ "slots": [{ "name": "", "description": "Navigation items" }],
809
1361
  "events": [],
810
1362
  "js": {
811
1363
  "properties": [
812
1364
  {
813
- "name": "color",
814
- "description": "Sets the color of the icon",
815
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
1365
+ "name": "compact",
1366
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
816
1367
  },
817
1368
  {
818
- "name": "label",
819
- "description": "If defined, adds an alternate description to use for assistive devices",
820
- "type": "string | undefined"
1369
+ "name": "hamburgerAriaLabel",
1370
+ "description": "If defined, sets the aria-label for the hamburger button",
1371
+ "type": "string"
821
1372
  },
822
1373
  {
823
- "name": "name",
824
- "description": "Name of the icon to display",
825
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1374
+ "name": "siteName",
1375
+ "description": "If defined, sets the app or site's name",
1376
+ "type": "string | undefined"
826
1377
  },
827
1378
  {
828
- "name": "size",
829
- "description": "Size of the icon",
830
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1379
+ "name": "siteUrl",
1380
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1381
+ "type": "string | undefined"
831
1382
  }
832
1383
  ],
833
1384
  "events": []
@@ -835,23 +1386,25 @@
835
1386
  },
836
1387
  {
837
1388
  "name": "skf-input",
838
- "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
1389
+ "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
839
1390
  "doc-url": "",
840
1391
  "attributes": [
841
1392
  {
842
1393
  "name": "disabled",
843
1394
  "description": "If true, sets disabled state",
844
- "value": { "type": "boolean" }
1395
+ "value": { "type": "boolean", "default": "false" }
845
1396
  },
846
1397
  {
847
1398
  "name": "required",
848
1399
  "description": "If true, value is required or must be checked for the form to be submittable",
849
- "value": { "type": "boolean" }
1400
+ "value": { "type": "boolean", "default": "false" }
850
1401
  },
851
1402
  {
852
1403
  "name": "autocomplete",
853
- "description": "-m }",
854
- "value": { "type": "string" }
1404
+ "description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
1405
+ "value": {
1406
+ "type": "HTMLInputElement['autocomplete'] | undefined"
1407
+ }
855
1408
  },
856
1409
  {
857
1410
  "name": "button-aria-label-clear",
@@ -876,12 +1429,12 @@
876
1429
  {
877
1430
  "name": "debug",
878
1431
  "description": "If true, outputs helping hints in console",
879
- "value": { "type": "boolean | undefined" }
1432
+ "value": { "type": "boolean", "default": "false" }
880
1433
  },
881
1434
  {
882
1435
  "name": "hide-label",
883
1436
  "description": "If true, hides the label visually",
884
- "value": { "type": "boolean | undefined" }
1437
+ "value": { "type": "boolean", "default": "false" }
885
1438
  },
886
1439
  {
887
1440
  "name": "hint",
@@ -890,9 +1443,9 @@
890
1443
  },
891
1444
  {
892
1445
  "name": "inputmode",
893
- "description": "Tells what keyboard to use if applicable",
1446
+ "description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
894
1447
  "value": {
895
- "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
1448
+ "type": "HTMLInputElement['inputMode']",
896
1449
  "default": "'text'"
897
1450
  }
898
1451
  },
@@ -944,7 +1497,7 @@
944
1497
  {
945
1498
  "name": "readonly",
946
1499
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
947
- "value": { "type": "boolean | undefined" }
1500
+ "value": { "type": "boolean", "default": "false" }
948
1501
  },
949
1502
  {
950
1503
  "name": "required-label",
@@ -954,14 +1507,12 @@
954
1507
  {
955
1508
  "name": "severity",
956
1509
  "description": "If defined, displays provided severity state",
957
- "value": {
958
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
959
- }
1510
+ "value": { "type": "FormFieldSeverity | undefined" }
960
1511
  },
961
1512
  {
962
1513
  "name": "show-valid",
963
1514
  "description": "If true, displays valid state after interaction",
964
- "value": { "type": "boolean | undefined" }
1515
+ "value": { "type": "boolean", "default": "false" }
965
1516
  },
966
1517
  {
967
1518
  "name": "size",
@@ -975,9 +1526,9 @@
975
1526
  },
976
1527
  {
977
1528
  "name": "type",
978
- "description": "Type of input control",
1529
+ "description": "Type of input",
979
1530
  "value": {
980
- "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'",
1531
+ "type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
981
1532
  "default": "'text'"
982
1533
  }
983
1534
  },
@@ -992,7 +1543,7 @@
992
1543
  {
993
1544
  "name": "value",
994
1545
  "description": "The current value of the input field",
995
- "value": { "type": "string", "default": "''" }
1546
+ "value": { "type": "string" }
996
1547
  }
997
1548
  ],
998
1549
  "slots": [
@@ -1004,16 +1555,22 @@
1004
1555
  "events": [
1005
1556
  {
1006
1557
  "name": "change",
1558
+ "type": "CustomEvent",
1007
1559
  "description": "Fires when the value of the input changes"
1008
1560
  },
1009
1561
  {
1010
1562
  "name": "invalid",
1563
+ "type": "CustomEvent",
1011
1564
  "description": "Fires when the input is invalid"
1012
1565
  }
1013
1566
  ],
1014
1567
  "js": {
1015
1568
  "properties": [
1016
- { "name": "autocomplete", "description": "-m }", "type": "" },
1569
+ {
1570
+ "name": "autocomplete",
1571
+ "description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
1572
+ "type": "HTMLInputElement['autocomplete'] | undefined"
1573
+ },
1017
1574
  {
1018
1575
  "name": "buttonAriaLabelClear",
1019
1576
  "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
@@ -1036,12 +1593,12 @@
1036
1593
  {
1037
1594
  "name": "debug",
1038
1595
  "description": "If true, outputs helping hints in console",
1039
- "type": "boolean | undefined"
1596
+ "type": "boolean"
1040
1597
  },
1041
1598
  {
1042
1599
  "name": "hideLabel",
1043
1600
  "description": "If true, hides the label visually",
1044
- "type": "boolean | undefined"
1601
+ "type": "boolean"
1045
1602
  },
1046
1603
  {
1047
1604
  "name": "hint",
@@ -1050,8 +1607,8 @@
1050
1607
  },
1051
1608
  {
1052
1609
  "name": "inputmode",
1053
- "description": "Tells what keyboard to use if applicable",
1054
- "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'"
1610
+ "description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
1611
+ "type": "HTMLInputElement['inputMode']"
1055
1612
  },
1056
1613
  {
1057
1614
  "name": "label",
@@ -1101,7 +1658,7 @@
1101
1658
  {
1102
1659
  "name": "readonly",
1103
1660
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
1104
- "type": "boolean | undefined"
1661
+ "type": "boolean"
1105
1662
  },
1106
1663
  {
1107
1664
  "name": "requiredLabel",
@@ -1111,12 +1668,12 @@
1111
1668
  {
1112
1669
  "name": "severity",
1113
1670
  "description": "If defined, displays provided severity state",
1114
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
1671
+ "type": "FormFieldSeverity | undefined"
1115
1672
  },
1116
1673
  {
1117
1674
  "name": "showValid",
1118
1675
  "description": "If true, displays valid state after interaction",
1119
- "type": "boolean | undefined"
1676
+ "type": "boolean"
1120
1677
  },
1121
1678
  {
1122
1679
  "name": "size",
@@ -1130,8 +1687,8 @@
1130
1687
  },
1131
1688
  {
1132
1689
  "name": "type",
1133
- "description": "Type of input control",
1134
- "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
1690
+ "description": "Type of input",
1691
+ "type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
1135
1692
  },
1136
1693
  {
1137
1694
  "name": "validateOn",
@@ -1140,17 +1697,18 @@
1140
1697
  },
1141
1698
  {
1142
1699
  "name": "value",
1143
- "description": "The current value of the input field",
1144
- "type": "string"
1700
+ "description": "The current value of the input field"
1145
1701
  }
1146
1702
  ],
1147
1703
  "events": [
1148
1704
  {
1149
1705
  "name": "change",
1706
+ "type": "CustomEvent",
1150
1707
  "description": "Fires when the value of the input changes"
1151
1708
  },
1152
1709
  {
1153
1710
  "name": "invalid",
1711
+ "type": "CustomEvent",
1154
1712
  "description": "Fires when the input is invalid"
1155
1713
  }
1156
1714
  ]
@@ -1177,7 +1735,7 @@
1177
1735
  {
1178
1736
  "name": "disabled",
1179
1737
  "description": "If true, disables the link",
1180
- "value": { "type": "boolean | undefined" }
1738
+ "value": { "type": "boolean", "default": "false" }
1181
1739
  },
1182
1740
  {
1183
1741
  "name": "download",
@@ -1192,9 +1750,7 @@
1192
1750
  {
1193
1751
  "name": "icon",
1194
1752
  "description": "If defined, renders an icon before or after the text",
1195
- "value": {
1196
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1197
- }
1753
+ "value": { "type": "Icon | undefined" }
1198
1754
  },
1199
1755
  {
1200
1756
  "name": "icon-placement",
@@ -1226,10 +1782,7 @@
1226
1782
  {
1227
1783
  "name": "type",
1228
1784
  "description": "Defines the type of button",
1229
- "value": {
1230
- "type": "'button' | 'submit' | 'reset'",
1231
- "default": "'button'"
1232
- }
1785
+ "value": { "type": "SkfLinkType", "default": "'button'" }
1233
1786
  }
1234
1787
  ],
1235
1788
  "slots": [{ "name": "", "description": "The links' main content" }],
@@ -1249,7 +1802,7 @@
1249
1802
  {
1250
1803
  "name": "disabled",
1251
1804
  "description": "If true, disables the link",
1252
- "type": "boolean | undefined"
1805
+ "type": "boolean"
1253
1806
  },
1254
1807
  {
1255
1808
  "name": "download",
@@ -1264,13 +1817,17 @@
1264
1817
  {
1265
1818
  "name": "icon",
1266
1819
  "description": "If defined, renders an icon before or after the text",
1267
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1820
+ "type": "Icon | undefined"
1268
1821
  },
1269
1822
  {
1270
1823
  "name": "iconPlacement",
1271
1824
  "description": "Defines the position of the icon in relation to the text",
1272
1825
  "type": "'left' | 'right'"
1273
1826
  },
1827
+ {
1828
+ "name": "onClick",
1829
+ "description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
1830
+ },
1274
1831
  {
1275
1832
  "name": "rel",
1276
1833
  "description": "If defined, describes the relationship between a linked resource and the current document",
@@ -1294,141 +1851,15 @@
1294
1851
  {
1295
1852
  "name": "type",
1296
1853
  "description": "Defines the type of button",
1297
- "type": "'button' | 'submit' | 'reset'"
1298
- },
1299
- {
1300
- "name": "onClick",
1301
- "description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
1302
- "type": "function"
1303
- }
1304
- ],
1305
- "events": []
1306
- }
1307
- },
1308
- {
1309
- "name": "skf-loader",
1310
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1311
- "doc-url": "",
1312
- "attributes": [
1313
- {
1314
- "name": "aria-label",
1315
- "description": "Defines the aria-label",
1316
- "value": { "type": "string", "default": "'Loading...'" }
1317
- },
1318
- {
1319
- "name": "invert",
1320
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1321
- "value": { "type": "boolean", "default": "false" }
1322
- },
1323
- {
1324
- "name": "size",
1325
- "description": "Defines the size of the loader",
1326
- "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1327
- }
1328
- ],
1329
- "events": [],
1330
- "js": {
1331
- "properties": [
1332
- {
1333
- "name": "ariaLabel",
1334
- "description": "Defines the aria-label",
1335
- "type": "string"
1336
- },
1337
- {
1338
- "name": "invert",
1339
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1340
- "type": "boolean"
1341
- },
1342
- {
1343
- "name": "size",
1344
- "description": "Defines the size of the loader",
1345
- "type": "'md' | 'sm' | undefined"
1346
- },
1347
- { "name": "role", "type": "string" },
1348
- { "name": "ariaLive", "type": "string" }
1349
- ],
1350
- "events": []
1351
- }
1352
- },
1353
- {
1354
- "name": "skf-logo",
1355
- "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
1356
- "doc-url": "",
1357
- "attributes": [
1358
- {
1359
- "name": "title",
1360
- "description": "Defines the title of the logo",
1361
- "value": { "type": "string", "default": "'SKF logotype'" }
1362
- },
1363
- {
1364
- "name": "color",
1365
- "description": "Defines the color of the logo",
1366
- "value": {
1367
- "type": "\"primary\" | \"secondary\" | \"inverse\"",
1368
- "default": "'primary'"
1369
- }
1370
- }
1371
- ],
1372
- "events": [],
1373
- "js": {
1374
- "properties": [
1375
- {
1376
- "name": "title",
1377
- "description": "Defines the title of the logo",
1378
- "type": "string"
1379
- },
1380
- {
1381
- "name": "color",
1382
- "description": "Defines the color of the logo",
1383
- "type": "\"primary\" | \"secondary\" | \"inverse\""
1854
+ "type": "SkfLinkType"
1384
1855
  }
1385
1856
  ],
1386
1857
  "events": []
1387
1858
  }
1388
1859
  },
1389
- {
1390
- "name": "skf-menu",
1391
- "description": "The `<skf-menu>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
1392
- "doc-url": "",
1393
- "attributes": [],
1394
- "slots": [{ "name": "", "description": "The menu popover content" }],
1395
- "events": [
1396
- { "name": "open", "description": "Fired when the menu is opened" },
1397
- { "name": "close", "description": "Fired when the menu is closed" }
1398
- ],
1399
- "js": {
1400
- "properties": [
1401
- {
1402
- "name": "placement",
1403
- "description": "The placement of the menu",
1404
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1405
- },
1406
- {
1407
- "name": "isOpen",
1408
- "description": "Whether the menu is open",
1409
- "type": "boolean"
1410
- },
1411
- {
1412
- "name": "anchor",
1413
- "description": "The id of the element the menu will be anchored to",
1414
- "type": "string"
1415
- }
1416
- ],
1417
- "events": [
1418
- {
1419
- "name": "open",
1420
- "description": "Fired when the menu is opened"
1421
- },
1422
- {
1423
- "name": "close",
1424
- "description": "Fired when the menu is closed"
1425
- }
1426
- ]
1427
- }
1428
- },
1429
1860
  {
1430
1861
  "name": "skf-menu-item",
1431
- "description": "The `<skf-menu-item>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **my-tag-my-event** - Fired when something happens\n- **click** - Fired when the component is clicked\n- **mouseover** - Fired when the mouse is over the component\n- **mouseout** - Fired when the mouse is out of the component\n- **focus** - Fired when the component is focused\n- **blur** - Fired when the component is blurred\n- **change** - Fired when the component's value changes\n\n### **Slots:**\n - _default_ - The component's main content\n- **my-named-slot** - A named slot of the component",
1862
+ "description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
1432
1863
  "doc-url": "",
1433
1864
  "attributes": [
1434
1865
  {
@@ -1447,7 +1878,7 @@
1447
1878
  {
1448
1879
  "name": "disabled",
1449
1880
  "description": "If true, disables the link",
1450
- "value": { "type": "boolean | undefined" }
1881
+ "value": { "type": "boolean", "default": "false" }
1451
1882
  },
1452
1883
  {
1453
1884
  "name": "download",
@@ -1462,9 +1893,7 @@
1462
1893
  {
1463
1894
  "name": "icon",
1464
1895
  "description": "If defined, renders an icon before or after the text",
1465
- "value": {
1466
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1467
- }
1896
+ "value": { "type": "Icon | undefined" }
1468
1897
  },
1469
1898
  {
1470
1899
  "name": "icon-placement",
@@ -1496,52 +1925,16 @@
1496
1925
  {
1497
1926
  "name": "type",
1498
1927
  "description": "Defines the type of button",
1499
- "value": {
1500
- "type": "'button' | 'submit' | 'reset'",
1501
- "default": "'button'"
1502
- }
1928
+ "value": { "type": "SkfLinkType", "default": "'button'" }
1503
1929
  }
1504
1930
  ],
1505
1931
  "slots": [
1506
- { "name": "", "description": "The component's main content" },
1507
- {
1508
- "name": "my-named-slot",
1509
- "description": "A named slot of the component"
1510
- }
1511
- ],
1512
- "events": [
1513
- {
1514
- "name": "my-tag-my-event",
1515
- "type": "CustomEvent",
1516
- "description": "Fired when something happens"
1517
- },
1518
- {
1519
- "name": "click",
1520
- "description": "Fired when the component is clicked"
1521
- },
1522
- {
1523
- "name": "mouseover",
1524
- "description": "Fired when the mouse is over the component"
1525
- },
1526
- {
1527
- "name": "mouseout",
1528
- "description": "Fired when the mouse is out of the component"
1529
- },
1530
- {
1531
- "name": "focus",
1532
- "description": "Fired when the component is focused"
1533
- },
1534
- {
1535
- "name": "blur",
1536
- "description": "Fired when the component is blurred"
1537
- },
1538
- {
1539
- "name": "change",
1540
- "description": "Fired when the component's value changes"
1541
- }
1932
+ { "name": "", "description": "The component's main content" }
1542
1933
  ],
1934
+ "events": [],
1543
1935
  "js": {
1544
1936
  "properties": [
1937
+ { "name": "role", "type": "string" },
1545
1938
  {
1546
1939
  "name": "as",
1547
1940
  "description": "Defines the semantic element to render",
@@ -1555,7 +1948,7 @@
1555
1948
  {
1556
1949
  "name": "disabled",
1557
1950
  "description": "If true, disables the link",
1558
- "type": "boolean | undefined"
1951
+ "type": "boolean"
1559
1952
  },
1560
1953
  {
1561
1954
  "name": "download",
@@ -1570,13 +1963,17 @@
1570
1963
  {
1571
1964
  "name": "icon",
1572
1965
  "description": "If defined, renders an icon before or after the text",
1573
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1966
+ "type": "Icon | undefined"
1574
1967
  },
1575
1968
  {
1576
1969
  "name": "iconPlacement",
1577
1970
  "description": "Defines the position of the icon in relation to the text",
1578
1971
  "type": "'left' | 'right'"
1579
1972
  },
1973
+ {
1974
+ "name": "onClick",
1975
+ "description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
1976
+ },
1580
1977
  {
1581
1978
  "name": "rel",
1582
1979
  "description": "If defined, describes the relationship between a linked resource and the current document",
@@ -1600,52 +1997,98 @@
1600
1997
  {
1601
1998
  "name": "type",
1602
1999
  "description": "Defines the type of button",
1603
- "type": "'button' | 'submit' | 'reset'"
1604
- },
1605
- {
1606
- "name": "onClick",
1607
- "description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
1608
- "type": "function"
2000
+ "type": "SkfLinkType"
1609
2001
  }
1610
2002
  ],
2003
+ "events": []
2004
+ }
2005
+ },
2006
+ {
2007
+ "name": "skf-menu",
2008
+ "description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
2009
+ "doc-url": "",
2010
+ "attributes": [
2011
+ {
2012
+ "name": "placement",
2013
+ "description": "The placement of the menu",
2014
+ "value": {
2015
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
2016
+ "default": "'bottom-start'"
2017
+ }
2018
+ },
2019
+ {
2020
+ "name": "anchor",
2021
+ "description": "The id of the element the menu will be anchored to",
2022
+ "value": { "type": "string" }
2023
+ }
2024
+ ],
2025
+ "slots": [{ "name": "", "description": "The menu popover content" }],
2026
+ "events": [
2027
+ {
2028
+ "name": "skf-opened",
2029
+ "type": "CustomEvent",
2030
+ "description": "Fired when the menu is opened"
2031
+ },
2032
+ {
2033
+ "name": "skf-closed",
2034
+ "type": "CustomEvent",
2035
+ "description": "Fired when the menu is closed"
2036
+ }
2037
+ ],
2038
+ "js": {
2039
+ "properties": [],
1611
2040
  "events": [
1612
2041
  {
1613
- "name": "my-tag-my-event",
2042
+ "name": "skf-opened",
1614
2043
  "type": "CustomEvent",
1615
- "description": "Fired when something happens"
1616
- },
1617
- {
1618
- "name": "click",
1619
- "description": "Fired when the component is clicked"
1620
- },
1621
- {
1622
- "name": "mouseover",
1623
- "description": "Fired when the mouse is over the component"
1624
- },
1625
- {
1626
- "name": "mouseout",
1627
- "description": "Fired when the mouse is out of the component"
1628
- },
1629
- {
1630
- "name": "focus",
1631
- "description": "Fired when the component is focused"
1632
- },
1633
- {
1634
- "name": "blur",
1635
- "description": "Fired when the component is blurred"
2044
+ "description": "Fired when the menu is opened"
1636
2045
  },
1637
2046
  {
1638
- "name": "change",
1639
- "description": "Fired when the component's value changes"
2047
+ "name": "skf-closed",
2048
+ "type": "CustomEvent",
2049
+ "description": "Fired when the menu is closed"
1640
2050
  }
1641
2051
  ]
1642
2052
  }
1643
2053
  },
2054
+ {
2055
+ "name": "skf-nav-item",
2056
+ "description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
2057
+ "doc-url": "",
2058
+ "attributes": [
2059
+ { "name": "href", "value": { "type": "string", "default": "'#'" } },
2060
+ { "name": "icon", "value": { "type": "Icon | undefined" } }
2061
+ ],
2062
+ "slots": [
2063
+ { "name": "", "description": "The component's main content" }
2064
+ ],
2065
+ "events": [],
2066
+ "js": {
2067
+ "properties": [
2068
+ { "name": "href", "type": "string" },
2069
+ { "name": "icon", "type": "Icon | undefined" }
2070
+ ],
2071
+ "events": []
2072
+ }
2073
+ },
1644
2074
  {
1645
2075
  "name": "skf-popover",
1646
- "description": "The `<skf-popover>` is a general purpose component that displays the slot content.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
2076
+ "description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
1647
2077
  "doc-url": "",
1648
2078
  "attributes": [
2079
+ {
2080
+ "name": "placement",
2081
+ "description": "The placement of the popover",
2082
+ "value": {
2083
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
2084
+ "default": "'bottom-start'"
2085
+ }
2086
+ },
2087
+ {
2088
+ "name": "anchor",
2089
+ "description": "The id of the element the menu will be anchored to",
2090
+ "value": { "type": "string" }
2091
+ },
1649
2092
  {
1650
2093
  "name": "offset",
1651
2094
  "description": "If defined, sets a custom offset for the popover",
@@ -1659,8 +2102,16 @@
1659
2102
  ],
1660
2103
  "slots": [{ "name": "", "description": "The popover content" }],
1661
2104
  "events": [
1662
- { "name": "open", "description": "Fired when the menu is opened" },
1663
- { "name": "close", "description": "Fired when the menu is closed" }
2105
+ {
2106
+ "name": "skf-opened",
2107
+ "type": "CustomEvent",
2108
+ "description": "Fired when the menu is opened"
2109
+ },
2110
+ {
2111
+ "name": "skf-closed",
2112
+ "type": "CustomEvent",
2113
+ "description": "Fired when the menu is closed"
2114
+ }
1664
2115
  ],
1665
2116
  "js": {
1666
2117
  "properties": [
@@ -1673,31 +2124,17 @@
1673
2124
  "name": "hideArrow",
1674
2125
  "description": "If true, hides the arrow",
1675
2126
  "type": "boolean"
1676
- },
1677
- { "name": "arrow", "type": "boolean" },
1678
- {
1679
- "name": "placement",
1680
- "description": "The placement of the menu",
1681
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1682
- },
1683
- {
1684
- "name": "isOpen",
1685
- "description": "Whether the menu is open",
1686
- "type": "boolean"
1687
- },
1688
- {
1689
- "name": "anchor",
1690
- "description": "The id of the element the menu will be anchored to",
1691
- "type": "string"
1692
2127
  }
1693
2128
  ],
1694
2129
  "events": [
1695
2130
  {
1696
- "name": "open",
2131
+ "name": "skf-opened",
2132
+ "type": "CustomEvent",
1697
2133
  "description": "Fired when the menu is opened"
1698
2134
  },
1699
2135
  {
1700
- "name": "close",
2136
+ "name": "skf-closed",
2137
+ "type": "CustomEvent",
1701
2138
  "description": "Fired when the menu is closed"
1702
2139
  }
1703
2140
  ]
@@ -1748,33 +2185,33 @@
1748
2185
  },
1749
2186
  {
1750
2187
  "name": "skf-radio",
1751
- "description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
2188
+ "description": "The `<skf-radio>` component is used to create a radio input\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
1752
2189
  "doc-url": "",
1753
2190
  "attributes": [
1754
2191
  {
1755
2192
  "name": "disabled",
1756
2193
  "description": "If true, sets disabled state",
1757
- "value": { "type": "boolean" }
2194
+ "value": { "type": "boolean", "default": "false" }
1758
2195
  },
1759
2196
  {
1760
2197
  "name": "required",
1761
2198
  "description": "If true, value is required or must be checked for the form to be submittable",
1762
- "value": { "type": "boolean" }
2199
+ "value": { "type": "boolean", "default": "false" }
1763
2200
  },
1764
2201
  {
1765
2202
  "name": "debug",
1766
2203
  "description": "If true, outputs helping hints in console",
1767
- "value": { "type": "boolean | undefined" }
2204
+ "value": { "type": "boolean", "default": "false" }
1768
2205
  },
1769
2206
  {
1770
2207
  "name": "checked",
1771
2208
  "description": "If true, outputs helping hints in console",
1772
- "value": { "type": "boolean | undefined" }
2209
+ "value": { "type": "boolean", "default": "false" }
1773
2210
  },
1774
2211
  {
1775
2212
  "name": "custom-invalid",
1776
2213
  "description": "If true, forces component to invalid state until removed",
1777
- "value": { "type": "boolean | undefined" }
2214
+ "value": { "type": "boolean", "default": "false" }
1778
2215
  },
1779
2216
  {
1780
2217
  "name": "label",
@@ -1799,14 +2236,12 @@
1799
2236
  {
1800
2237
  "name": "severity",
1801
2238
  "description": "If defined, displays provided severity state",
1802
- "value": {
1803
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1804
- }
2239
+ "value": { "type": "FormFieldSeverity | undefined" }
1805
2240
  },
1806
2241
  {
1807
2242
  "name": "show-valid",
1808
2243
  "description": "If true, displays valid state after interaction",
1809
- "value": { "type": "boolean | undefined" }
2244
+ "value": { "type": "boolean", "default": "false" }
1810
2245
  },
1811
2246
  {
1812
2247
  "name": "value",
@@ -1823,7 +2258,8 @@
1823
2258
  "events": [
1824
2259
  {
1825
2260
  "name": "change",
1826
- "description": "{object} - When the value of the input changes"
2261
+ "type": "Event",
2262
+ "description": "When the value of the input changes"
1827
2263
  }
1828
2264
  ],
1829
2265
  "js": {
@@ -1831,17 +2267,17 @@
1831
2267
  {
1832
2268
  "name": "debug",
1833
2269
  "description": "If true, outputs helping hints in console",
1834
- "type": "boolean | undefined"
2270
+ "type": "boolean"
1835
2271
  },
1836
2272
  {
1837
2273
  "name": "checked",
1838
2274
  "description": "If true, outputs helping hints in console",
1839
- "type": "boolean | undefined"
2275
+ "type": "boolean"
1840
2276
  },
1841
2277
  {
1842
2278
  "name": "customInvalid",
1843
2279
  "description": "If true, forces component to invalid state until removed",
1844
- "type": "boolean | undefined"
2280
+ "type": "boolean"
1845
2281
  },
1846
2282
  {
1847
2283
  "name": "label",
@@ -1866,12 +2302,12 @@
1866
2302
  {
1867
2303
  "name": "severity",
1868
2304
  "description": "If defined, displays provided severity state",
1869
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2305
+ "type": "FormFieldSeverity | undefined"
1870
2306
  },
1871
2307
  {
1872
2308
  "name": "showValid",
1873
2309
  "description": "If true, displays valid state after interaction",
1874
- "type": "boolean | undefined"
2310
+ "type": "boolean"
1875
2311
  },
1876
2312
  {
1877
2313
  "name": "value",
@@ -1882,20 +2318,194 @@
1882
2318
  "events": [
1883
2319
  {
1884
2320
  "name": "change",
1885
- "description": "{object} - When the value of the input changes"
2321
+ "type": "Event",
2322
+ "description": "When the value of the input changes"
2323
+ }
2324
+ ]
2325
+ }
2326
+ },
2327
+ {
2328
+ "name": "skf-segmented-button-item",
2329
+ "description": "The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component\n---\n\n\n### **Events:**\n - **skf-segmented-button-item-select** - Fired when selected\n\n### **Slots:**\n - _default_ - Label for the button",
2330
+ "doc-url": "",
2331
+ "attributes": [
2332
+ {
2333
+ "name": "disabled",
2334
+ "description": "If true, items is marked as disabled",
2335
+ "value": { "type": "boolean", "default": "false" }
2336
+ },
2337
+ {
2338
+ "name": "selected",
2339
+ "description": "If true, items is marked as selected",
2340
+ "value": { "type": "boolean", "default": "false" }
2341
+ },
2342
+ {
2343
+ "name": "value",
2344
+ "description": "Sets the item value",
2345
+ "value": { "type": "string", "default": "''" }
2346
+ }
2347
+ ],
2348
+ "slots": [{ "name": "", "description": "Label for the button" }],
2349
+ "events": [
2350
+ {
2351
+ "name": "skf-segmented-button-item-select",
2352
+ "type": "CustomEvent",
2353
+ "description": "Fired when selected"
2354
+ }
2355
+ ],
2356
+ "js": {
2357
+ "properties": [
2358
+ {
2359
+ "name": "disabled",
2360
+ "description": "If true, items is marked as disabled",
2361
+ "type": "boolean"
2362
+ },
2363
+ {
2364
+ "name": "selected",
2365
+ "description": "If true, items is marked as selected",
2366
+ "type": "boolean"
2367
+ },
2368
+ {
2369
+ "name": "value",
2370
+ "description": "Sets the item value",
2371
+ "type": "string"
2372
+ }
2373
+ ],
2374
+ "events": [
2375
+ {
2376
+ "name": "skf-segmented-button-item-select",
2377
+ "type": "CustomEvent",
2378
+ "description": "Fired when selected"
1886
2379
  }
1887
2380
  ]
1888
2381
  }
1889
2382
  },
2383
+ {
2384
+ "name": "skf-segmented-button",
2385
+ "description": "The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles\n---\n\n\n### **Slots:**\n - _default_ - One or more `<skf-segmented-button-item>`",
2386
+ "doc-url": "",
2387
+ "attributes": [
2388
+ {
2389
+ "name": "multiple",
2390
+ "description": "If true, allowes multiple items to be selected",
2391
+ "value": { "type": "boolean", "default": "false" }
2392
+ }
2393
+ ],
2394
+ "slots": [
2395
+ {
2396
+ "name": "",
2397
+ "description": "One or more `<skf-segmented-button-item>`"
2398
+ }
2399
+ ],
2400
+ "events": [],
2401
+ "js": {
2402
+ "properties": [
2403
+ {
2404
+ "name": "multiple",
2405
+ "description": "If true, allowes multiple items to be selected",
2406
+ "type": "boolean"
2407
+ }
2408
+ ],
2409
+ "events": []
2410
+ }
2411
+ },
2412
+ {
2413
+ "name": "skf-select-option-group",
2414
+ "description": "The `<skf-select-option-group>` is a component that groups select-options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2415
+ "doc-url": "",
2416
+ "attributes": [
2417
+ {
2418
+ "name": "label",
2419
+ "value": { "type": "string", "default": "'Default label'" }
2420
+ }
2421
+ ],
2422
+ "slots": [
2423
+ { "name": "", "description": "The component's placeholder content" }
2424
+ ],
2425
+ "events": [],
2426
+ "js": {
2427
+ "properties": [{ "name": "label", "type": "string" }],
2428
+ "events": []
2429
+ }
2430
+ },
2431
+ {
2432
+ "name": "skf-tag",
2433
+ "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2434
+ "doc-url": "",
2435
+ "attributes": [
2436
+ {
2437
+ "name": "size",
2438
+ "description": "Specifies Tag size",
2439
+ "value": { "type": "Size", "default": "'md'" }
2440
+ },
2441
+ {
2442
+ "name": "icon",
2443
+ "description": "If defined, displays leading/provided icon",
2444
+ "value": { "type": "Icon | undefined" }
2445
+ },
2446
+ {
2447
+ "name": "color",
2448
+ "description": "If defined, gives the supplied appearance",
2449
+ "value": { "type": "Severity | undefined" }
2450
+ },
2451
+ {
2452
+ "name": "removable",
2453
+ "description": "If true, adds trailing button to remove tag",
2454
+ "value": { "type": "boolean", "default": "false" }
2455
+ }
2456
+ ],
2457
+ "slots": [
2458
+ { "name": "", "description": "The component's placeholder content" }
2459
+ ],
2460
+ "events": [],
2461
+ "js": {
2462
+ "properties": [
2463
+ {
2464
+ "name": "size",
2465
+ "description": "Specifies Tag size",
2466
+ "type": "Size"
2467
+ },
2468
+ {
2469
+ "name": "icon",
2470
+ "description": "If defined, displays leading/provided icon",
2471
+ "type": "Icon | undefined"
2472
+ },
2473
+ {
2474
+ "name": "color",
2475
+ "description": "If defined, gives the supplied appearance",
2476
+ "type": "Severity | undefined"
2477
+ },
2478
+ {
2479
+ "name": "onClick",
2480
+ "description": "If defined, accepts a function that runs on click"
2481
+ },
2482
+ {
2483
+ "name": "onRemove",
2484
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
2485
+ },
2486
+ {
2487
+ "name": "removable",
2488
+ "description": "If true, adds trailing button to remove tag",
2489
+ "type": "boolean"
2490
+ }
2491
+ ],
2492
+ "events": []
2493
+ }
2494
+ },
1890
2495
  {
1891
2496
  "name": "skf-select",
1892
- "description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
2497
+ "description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
1893
2498
  "doc-url": "",
1894
2499
  "attributes": [
1895
2500
  {
1896
2501
  "name": "disabled",
1897
- "description": "If true, the select is disabled\t`default: false`",
1898
- "value": { "type": "boolean" }
2502
+ "description": "If true, the select is disabled",
2503
+ "value": { "type": "boolean", "default": "false" }
2504
+ },
2505
+ {
2506
+ "name": "required",
2507
+ "description": "If true, the select is required",
2508
+ "value": { "type": "boolean", "default": "false" }
1899
2509
  },
1900
2510
  {
1901
2511
  "name": "button-label",
@@ -1910,12 +2520,12 @@
1910
2520
  {
1911
2521
  "name": "hide-label",
1912
2522
  "description": "If true, hides the label visually",
1913
- "value": { "type": "boolean | undefined" }
2523
+ "value": { "type": "boolean", "default": "false" }
1914
2524
  },
1915
2525
  {
1916
2526
  "name": "hide-tags",
1917
2527
  "description": "If true and mulltiple is true, no tags are displayed under the select",
1918
- "value": { "type": "boolean | undefined" }
2528
+ "value": { "type": "boolean", "default": "false" }
1919
2529
  },
1920
2530
  {
1921
2531
  "name": "hint",
@@ -1940,7 +2550,7 @@
1940
2550
  {
1941
2551
  "name": "multiple",
1942
2552
  "description": "If true, allows for multiple options to be selected",
1943
- "value": { "type": "boolean | undefined" }
2553
+ "value": { "type": "boolean", "default": "false" }
1944
2554
  },
1945
2555
  {
1946
2556
  "name": "name",
@@ -1955,12 +2565,12 @@
1955
2565
  {
1956
2566
  "name": "severity",
1957
2567
  "description": "If defined, displays provided severity state",
1958
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
2568
+ "value": { "type": "FormFieldSeverity | undefined" }
1959
2569
  },
1960
2570
  {
1961
2571
  "name": "show-valid",
1962
2572
  "description": "If true, displays valid state after interaction",
1963
- "value": { "type": "boolean | undefined" }
2573
+ "value": { "type": "boolean", "default": "false" }
1964
2574
  },
1965
2575
  {
1966
2576
  "name": "size",
@@ -1974,19 +2584,27 @@
1974
2584
  "events": [
1975
2585
  {
1976
2586
  "name": "change",
2587
+ "type": "Event",
1977
2588
  "description": "Fired when the selected option(s) changes"
1978
2589
  },
1979
2590
  {
1980
2591
  "name": "invalid",
2592
+ "type": "Event",
1981
2593
  "description": "Fired when the select is invalid"
1982
2594
  },
1983
- { "name": "reset", "description": "Fired when the form is reset" },
1984
2595
  {
1985
- "name": "skf-select:dropdown",
2596
+ "name": "reset",
2597
+ "type": "Event",
2598
+ "description": "Fired when the form is reset"
2599
+ },
2600
+ {
2601
+ "name": "skf-select-dropdown",
2602
+ "type": "CustomEvent",
1986
2603
  "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
1987
2604
  },
1988
2605
  {
1989
- "name": "skf-select-option:select",
2606
+ "name": "skf-select-option-select",
2607
+ "type": "CustomEvent",
1990
2608
  "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
1991
2609
  }
1992
2610
  ],
@@ -2005,12 +2623,12 @@
2005
2623
  {
2006
2624
  "name": "hideLabel",
2007
2625
  "description": "If true, hides the label visually",
2008
- "type": "boolean | undefined"
2626
+ "type": "boolean"
2009
2627
  },
2010
2628
  {
2011
2629
  "name": "hideTags",
2012
2630
  "description": "If true and mulltiple is true, no tags are displayed under the select",
2013
- "type": "boolean | undefined"
2631
+ "type": "boolean"
2014
2632
  },
2015
2633
  {
2016
2634
  "name": "hint",
@@ -2043,7 +2661,7 @@
2043
2661
  {
2044
2662
  "name": "multiple",
2045
2663
  "description": "If true, allows for multiple options to be selected",
2046
- "type": "boolean | undefined"
2664
+ "type": "boolean"
2047
2665
  },
2048
2666
  {
2049
2667
  "name": "name",
@@ -2058,12 +2676,12 @@
2058
2676
  {
2059
2677
  "name": "severity",
2060
2678
  "description": "If defined, displays provided severity state",
2061
- "type": "FormFieldBaseProps['severity'] | undefined"
2679
+ "type": "FormFieldSeverity | undefined"
2062
2680
  },
2063
2681
  {
2064
2682
  "name": "showValid",
2065
2683
  "description": "If true, displays valid state after interaction",
2066
- "type": "boolean | undefined"
2684
+ "type": "boolean"
2067
2685
  },
2068
2686
  {
2069
2687
  "name": "size",
@@ -2079,22 +2697,27 @@
2079
2697
  "events": [
2080
2698
  {
2081
2699
  "name": "change",
2700
+ "type": "Event",
2082
2701
  "description": "Fired when the selected option(s) changes"
2083
2702
  },
2084
2703
  {
2085
2704
  "name": "invalid",
2705
+ "type": "Event",
2086
2706
  "description": "Fired when the select is invalid"
2087
2707
  },
2088
2708
  {
2089
2709
  "name": "reset",
2710
+ "type": "Event",
2090
2711
  "description": "Fired when the form is reset"
2091
2712
  },
2092
2713
  {
2093
- "name": "skf-select:dropdown",
2714
+ "name": "skf-select-dropdown",
2715
+ "type": "CustomEvent",
2094
2716
  "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
2095
2717
  },
2096
2718
  {
2097
- "name": "skf-select-option:select",
2719
+ "name": "skf-select-option-select",
2720
+ "type": "CustomEvent",
2098
2721
  "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
2099
2722
  }
2100
2723
  ]
@@ -2102,28 +2725,28 @@
2102
2725
  },
2103
2726
  {
2104
2727
  "name": "skf-select-option",
2105
- "description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
2728
+ "description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
2106
2729
  "doc-url": "",
2107
2730
  "attributes": [
2108
2731
  {
2109
2732
  "name": "disabled",
2110
2733
  "description": "If true, prevents interaction with the option",
2111
- "value": { "type": "boolean | undefined" }
2734
+ "value": { "type": "boolean", "default": "false" }
2112
2735
  },
2113
2736
  {
2114
2737
  "name": "icon",
2115
2738
  "description": "If defined, set an icon",
2116
- "value": { "type": "SkfIcon['name'] | undefined" }
2739
+ "value": { "type": "Icon | undefined" }
2117
2740
  },
2118
2741
  {
2119
2742
  "name": "icon-color",
2120
2743
  "description": "If defined, sets provided color on the icon",
2121
- "value": { "type": "SeverityFgColor | undefined" }
2744
+ "value": { "type": "IconColor | undefined" }
2122
2745
  },
2123
2746
  {
2124
2747
  "name": "selected",
2125
2748
  "description": "If true, sets the option as selected",
2126
- "value": { "type": "boolean | undefined" }
2749
+ "value": { "type": "boolean", "default": "false" }
2127
2750
  },
2128
2751
  {
2129
2752
  "name": "short-label",
@@ -2145,7 +2768,7 @@
2145
2768
  ],
2146
2769
  "events": [
2147
2770
  {
2148
- "name": "skf-select-option:select",
2771
+ "name": "skf-select-option-select",
2149
2772
  "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2150
2773
  }
2151
2774
  ],
@@ -2154,22 +2777,22 @@
2154
2777
  {
2155
2778
  "name": "disabled",
2156
2779
  "description": "If true, prevents interaction with the option",
2157
- "type": "boolean | undefined"
2780
+ "type": "boolean"
2158
2781
  },
2159
2782
  {
2160
2783
  "name": "icon",
2161
2784
  "description": "If defined, set an icon",
2162
- "type": "SkfIcon['name'] | undefined"
2785
+ "type": "Icon | undefined"
2163
2786
  },
2164
2787
  {
2165
2788
  "name": "iconColor",
2166
2789
  "description": "If defined, sets provided color on the icon",
2167
- "type": "SeverityFgColor | undefined"
2790
+ "type": "IconColor | undefined"
2168
2791
  },
2169
2792
  {
2170
2793
  "name": "selected",
2171
2794
  "description": "If true, sets the option as selected",
2172
- "type": "boolean | undefined"
2795
+ "type": "boolean"
2173
2796
  },
2174
2797
  {
2175
2798
  "name": "shortLabel",
@@ -2190,50 +2813,31 @@
2190
2813
  ],
2191
2814
  "events": [
2192
2815
  {
2193
- "name": "skf-select-option:select",
2816
+ "name": "skf-select-option-select",
2194
2817
  "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2195
2818
  }
2196
2819
  ]
2197
2820
  }
2198
2821
  },
2199
2822
  {
2200
- "name": "skf-select-option-group",
2201
- "description": "The `<skf-select-option-group>` is a component that groups select-options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2202
- "doc-url": "",
2203
- "attributes": [
2204
- {
2205
- "name": "label",
2206
- "value": { "type": "string", "default": "'Default label'" }
2207
- }
2208
- ],
2209
- "slots": [
2210
- { "name": "", "description": "The component's placeholder content" }
2211
- ],
2212
- "events": [],
2213
- "js": {
2214
- "properties": [{ "name": "label", "type": "string" }],
2215
- "events": []
2216
- }
2217
- },
2218
- {
2219
- "name": "skf-stepper",
2220
- "description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
2823
+ "name": "skf-stepper-item",
2824
+ "description": "The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - Label of the stepper item",
2221
2825
  "doc-url": "",
2222
2826
  "attributes": [
2223
2827
  {
2224
- "name": "activeIndex",
2225
- "description": "Sets the active item",
2226
- "value": { "type": "number", "default": "-1" }
2828
+ "name": "state",
2829
+ "description": "If defined, gives the supplied appearance",
2830
+ "value": {
2831
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2832
+ }
2227
2833
  },
2228
2834
  {
2229
- "name": "linear",
2230
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2835
+ "name": "completed",
2836
+ "description": "If true, item marked as completed",
2231
2837
  "value": { "type": "boolean", "default": "false" }
2232
2838
  }
2233
2839
  ],
2234
- "slots": [
2235
- { "name": "", "description": "One or more `<skf-stepper-item>`" }
2236
- ],
2840
+ "slots": [{ "name": "", "description": "Label of the stepper item" }],
2237
2841
  "events": [
2238
2842
  {
2239
2843
  "name": "skf-stepper-item-select",
@@ -2243,15 +2847,17 @@
2243
2847
  "js": {
2244
2848
  "properties": [
2245
2849
  {
2246
- "name": "activeIndex",
2247
- "description": "Sets the active item",
2248
- "type": "number"
2850
+ "name": "state",
2851
+ "description": "If defined, gives the supplied appearance",
2852
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2249
2853
  },
2250
2854
  {
2251
- "name": "linear",
2252
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2855
+ "name": "completed",
2856
+ "description": "If true, item marked as completed",
2253
2857
  "type": "boolean"
2254
- }
2858
+ },
2859
+ { "name": "_setInternalState" },
2860
+ { "name": "role", "type": "string" }
2255
2861
  ],
2256
2862
  "events": [
2257
2863
  {
@@ -2262,48 +2868,48 @@
2262
2868
  }
2263
2869
  },
2264
2870
  {
2265
- "name": "skf-stepper-item",
2266
- "description": "The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - Label of the stepper item",
2871
+ "name": "skf-stepper",
2872
+ "description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
2267
2873
  "doc-url": "",
2268
2874
  "attributes": [
2269
2875
  {
2270
- "name": "state",
2271
- "description": "If defined, gives the supplied appearance",
2272
- "value": {
2273
- "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2274
- }
2876
+ "name": "active-index",
2877
+ "description": "Sets the active item",
2878
+ "value": { "type": "number", "default": "-1" }
2275
2879
  },
2276
2880
  {
2277
- "name": "completed",
2278
- "description": "If true, item marked as completed",
2881
+ "name": "linear",
2882
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2279
2883
  "value": { "type": "boolean", "default": "false" }
2280
2884
  }
2281
2885
  ],
2282
- "slots": [{ "name": "", "description": "Label of the stepper item" }],
2886
+ "slots": [
2887
+ { "name": "", "description": "One or more `<skf-stepper-item>`" }
2888
+ ],
2283
2889
  "events": [
2284
2890
  {
2285
2891
  "name": "skf-stepper-item-select",
2892
+ "type": "CustomEvent",
2286
2893
  "description": "Dispatched when the stepper item is selected"
2287
2894
  }
2288
2895
  ],
2289
2896
  "js": {
2290
2897
  "properties": [
2291
2898
  {
2292
- "name": "state",
2293
- "description": "If defined, gives the supplied appearance",
2294
- "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2899
+ "name": "activeIndex",
2900
+ "description": "Sets the active item",
2901
+ "type": "number"
2295
2902
  },
2296
2903
  {
2297
- "name": "completed",
2298
- "description": "If true, item marked as completed",
2904
+ "name": "linear",
2905
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2299
2906
  "type": "boolean"
2300
- },
2301
- { "name": "_setInternalState" },
2302
- { "name": "role", "type": "string" }
2907
+ }
2303
2908
  ],
2304
2909
  "events": [
2305
2910
  {
2306
2911
  "name": "skf-stepper-item-select",
2912
+ "type": "CustomEvent",
2307
2913
  "description": "Dispatched when the stepper item is selected"
2308
2914
  }
2309
2915
  ]
@@ -2311,33 +2917,33 @@
2311
2917
  },
2312
2918
  {
2313
2919
  "name": "skf-switch",
2314
- "description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
2920
+ "description": "The `<skf-switch>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
2315
2921
  "doc-url": "",
2316
2922
  "attributes": [
2317
2923
  {
2318
2924
  "name": "disabled",
2319
2925
  "description": "If true, sets disabled state",
2320
- "value": { "type": "boolean" }
2926
+ "value": { "type": "boolean", "default": "false" }
2321
2927
  },
2322
2928
  {
2323
2929
  "name": "required",
2324
2930
  "description": "If true, value is required or must be checked for the form to be submittable",
2325
- "value": { "type": "boolean" }
2931
+ "value": { "type": "boolean", "default": "false" }
2326
2932
  },
2327
2933
  {
2328
2934
  "name": "debug",
2329
2935
  "description": "If true, outputs helping hints in console",
2330
- "value": { "type": "boolean | undefined" }
2936
+ "value": { "type": "boolean", "default": "false" }
2331
2937
  },
2332
2938
  {
2333
2939
  "name": "checked",
2334
2940
  "description": "If true, outputs helping hints in console",
2335
- "value": { "type": "boolean | undefined" }
2941
+ "value": { "type": "boolean", "default": "false" }
2336
2942
  },
2337
2943
  {
2338
2944
  "name": "hide-label",
2339
2945
  "description": "If true, hides the label visually",
2340
- "value": { "type": "boolean | undefined" }
2946
+ "value": { "type": "boolean", "default": "false" }
2341
2947
  },
2342
2948
  {
2343
2949
  "name": "label",
@@ -2377,17 +2983,17 @@
2377
2983
  {
2378
2984
  "name": "debug",
2379
2985
  "description": "If true, outputs helping hints in console",
2380
- "type": "boolean | undefined"
2986
+ "type": "boolean"
2381
2987
  },
2382
2988
  {
2383
2989
  "name": "checked",
2384
2990
  "description": "If true, outputs helping hints in console",
2385
- "type": "boolean | undefined"
2991
+ "type": "boolean"
2386
2992
  },
2387
2993
  {
2388
2994
  "name": "hideLabel",
2389
2995
  "description": "If true, hides the label visually",
2390
- "type": "boolean | undefined"
2996
+ "type": "boolean"
2391
2997
  },
2392
2998
  {
2393
2999
  "name": "label",
@@ -2419,55 +3025,34 @@
2419
3025
  }
2420
3026
  },
2421
3027
  {
2422
- "name": "skf-tab",
2423
- "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
3028
+ "name": "skf-tab-panel",
3029
+ "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
2424
3030
  "doc-url": "",
2425
3031
  "attributes": [
2426
3032
  {
2427
- "name": "panel",
2428
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3033
+ "name": "name",
3034
+ "description": "The tab panel's name.",
2429
3035
  "value": { "type": "string", "default": "''" }
2430
3036
  }
2431
3037
  ],
2432
- "slots": [{ "name": "", "description": "The tab's label" }],
2433
- "events": [
2434
- {
2435
- "name": "skf-tab-select",
2436
- "type": "CustomEvent",
2437
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2438
- },
2439
- {
2440
- "name": "click",
2441
- "description": "Fired when the component is clicked"
2442
- }
2443
- ],
3038
+ "slots": [{ "name": "", "description": "The tab panel's content" }],
3039
+ "events": [],
2444
3040
  "js": {
2445
3041
  "properties": [
2446
3042
  {
2447
- "name": "panel",
2448
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3043
+ "name": "name",
3044
+ "description": "The tab panel's name.",
2449
3045
  "type": "string"
2450
3046
  },
2451
- { "name": "selected", "type": "boolean" },
2452
- { "name": "variant", "type": "SkfTabGroup['variant']" },
3047
+ { "name": "active", "type": "boolean" },
2453
3048
  { "name": "role", "type": "string" }
2454
3049
  ],
2455
- "events": [
2456
- {
2457
- "name": "skf-tab-select",
2458
- "type": "CustomEvent",
2459
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2460
- },
2461
- {
2462
- "name": "click",
2463
- "description": "Fired when the component is clicked"
2464
- }
2465
- ]
3050
+ "events": []
2466
3051
  }
2467
3052
  },
2468
3053
  {
2469
- "name": "skf-tab-group",
2470
- "description": "The `<skf-tab-group>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
3054
+ "name": "skf-tabs",
3055
+ "description": "The `<skf-tabs>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
2471
3056
  "doc-url": "",
2472
3057
  "attributes": [
2473
3058
  {
@@ -2542,97 +3127,50 @@
2542
3127
  }
2543
3128
  },
2544
3129
  {
2545
- "name": "skf-tab-panel",
2546
- "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
3130
+ "name": "skf-tab",
3131
+ "description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
2547
3132
  "doc-url": "",
2548
3133
  "attributes": [
2549
3134
  {
2550
- "name": "name",
2551
- "description": "The tab panel's name.",
3135
+ "name": "panel",
3136
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2552
3137
  "value": { "type": "string", "default": "''" }
2553
3138
  }
2554
3139
  ],
2555
- "slots": [{ "name": "", "description": "The tab panel's content" }],
2556
- "events": [],
2557
- "js": {
2558
- "properties": [
2559
- {
2560
- "name": "name",
2561
- "description": "The tab panel's name.",
2562
- "type": "string"
2563
- },
2564
- { "name": "active", "type": "boolean" },
2565
- { "name": "role", "type": "string" }
2566
- ],
2567
- "events": []
2568
- }
2569
- },
2570
- {
2571
- "name": "skf-tag",
2572
- "description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2573
- "doc-url": "",
2574
- "attributes": [
2575
- {
2576
- "name": "size",
2577
- "description": "Specifies Tag size",
2578
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
2579
- },
2580
- {
2581
- "name": "icon",
2582
- "description": "If defined, displays leading/provided icon",
2583
- "value": {
2584
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2585
- }
2586
- },
3140
+ "slots": [{ "name": "", "description": "The tab's label" }],
3141
+ "events": [
2587
3142
  {
2588
- "name": "color",
2589
- "description": "If defined, gives the supplied appearance",
2590
- "value": {
2591
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2592
- }
3143
+ "name": "skf-tab-select",
3144
+ "type": "CustomEvent",
3145
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2593
3146
  },
2594
3147
  {
2595
- "name": "removable",
2596
- "description": "If true, adds trailing button to remove tag",
2597
- "value": { "type": "boolean | undefined" }
3148
+ "name": "click",
3149
+ "description": "Fired when the component is clicked"
2598
3150
  }
2599
3151
  ],
2600
- "slots": [
2601
- { "name": "", "description": "The component's placeholder content" }
2602
- ],
2603
- "events": [],
2604
3152
  "js": {
2605
3153
  "properties": [
2606
3154
  {
2607
- "name": "size",
2608
- "description": "Specifies Tag size",
2609
- "type": "'sm' | 'md' | 'lg'"
2610
- },
2611
- {
2612
- "name": "icon",
2613
- "description": "If defined, displays leading/provided icon",
2614
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
2615
- },
2616
- {
2617
- "name": "color",
2618
- "description": "If defined, gives the supplied appearance",
2619
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2620
- },
2621
- {
2622
- "name": "onClick",
2623
- "description": "If defined, accepts a function that runs on click"
3155
+ "name": "panel",
3156
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3157
+ "type": "string"
2624
3158
  },
3159
+ { "name": "selected", "type": "boolean" },
3160
+ { "name": "variant", "type": "SkfTabs['variant']" },
3161
+ { "name": "role", "type": "string" }
3162
+ ],
3163
+ "events": [
2625
3164
  {
2626
- "name": "onRemove",
2627
- "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
3165
+ "name": "skf-tab-select",
3166
+ "type": "CustomEvent",
3167
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2628
3168
  },
2629
3169
  {
2630
- "name": "removable",
2631
- "description": "If true, adds trailing button to remove tag",
2632
- "type": "boolean | undefined"
3170
+ "name": "click",
3171
+ "description": "Fired when the component is clicked"
2633
3172
  }
2634
- ],
2635
- "events": []
3173
+ ]
2636
3174
  }
2637
3175
  },
2638
3176
  {
@@ -2643,12 +3181,12 @@
2643
3181
  {
2644
3182
  "name": "disabled",
2645
3183
  "description": "If true, sets disabled state",
2646
- "value": { "type": "boolean" }
3184
+ "value": { "type": "boolean", "default": "false" }
2647
3185
  },
2648
3186
  {
2649
3187
  "name": "required",
2650
3188
  "description": "If true, value is required or must be checked for the form to be submittable",
2651
- "value": { "type": "boolean" }
3189
+ "value": { "type": "boolean", "default": "false" }
2652
3190
  },
2653
3191
  {
2654
3192
  "name": "cols",
@@ -2663,12 +3201,12 @@
2663
3201
  {
2664
3202
  "name": "debug",
2665
3203
  "description": "If true, outputs helping hints in console",
2666
- "value": { "type": "boolean | undefined" }
3204
+ "value": { "type": "boolean", "default": "false" }
2667
3205
  },
2668
3206
  {
2669
3207
  "name": "hide-label",
2670
3208
  "description": "If true, hides the label visually",
2671
- "value": { "type": "boolean | undefined" }
3209
+ "value": { "type": "boolean", "default": "false" }
2672
3210
  },
2673
3211
  {
2674
3212
  "name": "hint",
@@ -2703,7 +3241,7 @@
2703
3241
  {
2704
3242
  "name": "readonly",
2705
3243
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
2706
- "value": { "type": "boolean | undefined" }
3244
+ "value": { "type": "boolean", "default": "false" }
2707
3245
  },
2708
3246
  {
2709
3247
  "name": "required-label",
@@ -2718,14 +3256,12 @@
2718
3256
  {
2719
3257
  "name": "severity",
2720
3258
  "description": "If defined, displays provided severity state",
2721
- "value": {
2722
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2723
- }
3259
+ "value": { "type": "FormFieldSeverity | undefined" }
2724
3260
  },
2725
3261
  {
2726
3262
  "name": "show-valid",
2727
3263
  "description": "If true, displays valid state after interaction",
2728
- "value": { "type": "boolean | undefined" }
3264
+ "value": { "type": "boolean", "default": "false" }
2729
3265
  },
2730
3266
  {
2731
3267
  "name": "size",
@@ -2776,12 +3312,12 @@
2776
3312
  {
2777
3313
  "name": "debug",
2778
3314
  "description": "If true, outputs helping hints in console",
2779
- "type": "boolean | undefined"
3315
+ "type": "boolean"
2780
3316
  },
2781
3317
  {
2782
3318
  "name": "hideLabel",
2783
3319
  "description": "If true, hides the label visually",
2784
- "type": "boolean | undefined"
3320
+ "type": "boolean"
2785
3321
  },
2786
3322
  {
2787
3323
  "name": "hint",
@@ -2816,7 +3352,7 @@
2816
3352
  {
2817
3353
  "name": "readonly",
2818
3354
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
2819
- "type": "boolean | undefined"
3355
+ "type": "boolean"
2820
3356
  },
2821
3357
  {
2822
3358
  "name": "requiredLabel",
@@ -2831,12 +3367,12 @@
2831
3367
  {
2832
3368
  "name": "severity",
2833
3369
  "description": "If defined, displays provided severity state",
2834
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
3370
+ "type": "FormFieldSeverity | undefined"
2835
3371
  },
2836
3372
  {
2837
3373
  "name": "showValid",
2838
3374
  "description": "If true, displays valid state after interaction",
2839
- "type": "boolean | undefined"
3375
+ "type": "boolean"
2840
3376
  },
2841
3377
  {
2842
3378
  "name": "size",
@@ -2866,27 +3402,51 @@
2866
3402
  ]
2867
3403
  }
2868
3404
  },
3405
+ {
3406
+ "name": "skf-toast-wrapper",
3407
+ "description": "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.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
3408
+ "doc-url": "",
3409
+ "attributes": [
3410
+ {
3411
+ "name": "debug",
3412
+ "value": { "type": "boolean", "default": "false" }
3413
+ }
3414
+ ],
3415
+ "slots": [
3416
+ {
3417
+ "name": "",
3418
+ "description": "The alert components that the toast creates will render here."
3419
+ }
3420
+ ],
3421
+ "events": [],
3422
+ "js": {
3423
+ "properties": [{ "name": "debug", "type": "boolean" }],
3424
+ "events": []
3425
+ }
3426
+ },
2869
3427
  {
2870
3428
  "name": "skf-toast",
2871
- "description": "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.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
3429
+ "description": "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.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
2872
3430
  "doc-url": "",
2873
3431
  "attributes": [
2874
3432
  {
2875
- "name": "closeable",
2876
- "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
3433
+ "name": "debug",
2877
3434
  "value": { "type": "boolean", "default": "false" }
2878
3435
  },
2879
3436
  {
2880
- "name": "debug",
3437
+ "name": "icon",
3438
+ "description": "If defined, displays leading icon",
3439
+ "value": { "type": "Icon | undefined" }
3440
+ },
3441
+ {
3442
+ "name": "persistent",
3443
+ "description": "If true, renders with an close button and sets aria-role to `status`",
2881
3444
  "value": { "type": "boolean", "default": "false" }
2882
3445
  },
2883
3446
  {
2884
3447
  "name": "severity",
2885
- "description": "Severity of the toast.",
2886
- "value": {
2887
- "type": "'info' | 'success' | 'warning' | 'error'",
2888
- "default": "'info'"
2889
- }
3448
+ "description": "If defined, gives the supplied appearance",
3449
+ "value": { "type": "Severity", "default": "'info'" }
2890
3450
  },
2891
3451
  {
2892
3452
  "name": "timer",
@@ -2905,16 +3465,21 @@
2905
3465
  "events": [],
2906
3466
  "js": {
2907
3467
  "properties": [
3468
+ { "name": "debug", "type": "boolean" },
3469
+ {
3470
+ "name": "icon",
3471
+ "description": "If defined, displays leading icon",
3472
+ "type": "Icon | undefined"
3473
+ },
2908
3474
  {
2909
- "name": "closeable",
2910
- "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
3475
+ "name": "persistent",
3476
+ "description": "If true, renders with an close button and sets aria-role to `status`",
2911
3477
  "type": "boolean"
2912
3478
  },
2913
- { "name": "debug", "type": "boolean" },
2914
3479
  {
2915
3480
  "name": "severity",
2916
- "description": "Severity of the toast.",
2917
- "type": "'info' | 'success' | 'warning' | 'error'"
3481
+ "description": "If defined, gives the supplied appearance",
3482
+ "type": "Severity"
2918
3483
  },
2919
3484
  {
2920
3485
  "name": "timer",
@@ -2931,71 +3496,51 @@
2931
3496
  }
2932
3497
  },
2933
3498
  {
2934
- "name": "skf-toast-wrapper",
2935
- "description": "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.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
3499
+ "name": "skf-tooltip",
3500
+ "description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the dropdown is opened\n- **skf-closed** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
2936
3501
  "doc-url": "",
2937
3502
  "attributes": [
2938
3503
  {
2939
- "name": "debug",
2940
- "value": { "type": "boolean", "default": "false" }
2941
- }
2942
- ],
2943
- "slots": [
3504
+ "name": "placement",
3505
+ "description": "The placement of the dropdown",
3506
+ "value": {
3507
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
3508
+ "default": "'bottom-start'"
3509
+ }
3510
+ },
2944
3511
  {
2945
- "name": "",
2946
- "description": "The alert components that the toast creates will render here."
3512
+ "name": "anchor",
3513
+ "description": "The id of the element the dropdown will be anchored to",
3514
+ "value": { "type": "string" }
2947
3515
  }
2948
3516
  ],
2949
- "events": [],
2950
- "js": {
2951
- "properties": [{ "name": "debug", "type": "boolean" }],
2952
- "events": []
2953
- }
2954
- },
2955
- {
2956
- "name": "skf-tooltip",
2957
- "description": "The `<skf-tooltip>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the dropdown is opened\n- **close** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
2958
- "doc-url": "",
2959
- "attributes": [],
2960
3517
  "slots": [
2961
3518
  { "name": "", "description": "The tooltip popover content" }
2962
3519
  ],
2963
3520
  "events": [
2964
3521
  {
2965
- "name": "open",
3522
+ "name": "skf-opened",
2966
3523
  "description": "Fired when the dropdown is opened"
2967
3524
  },
2968
3525
  {
2969
- "name": "close",
3526
+ "name": "skf-closed",
2970
3527
  "description": "Fired when the dropdown is closed"
2971
3528
  }
2972
3529
  ],
2973
3530
  "js": {
2974
3531
  "properties": [
3532
+ { "name": "role", "type": "string" },
2975
3533
  { "name": "offset", "type": "number" },
2976
- {
2977
- "name": "placement",
2978
- "description": "The placement of the dropdown",
2979
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
2980
- },
2981
- {
2982
- "name": "isOpen",
2983
- "description": "Whether the dropdown is open",
2984
- "type": "boolean"
2985
- },
2986
- {
2987
- "name": "anchor",
2988
- "description": "The id of the element the dropdown will be anchored to",
2989
- "type": "string"
2990
- }
3534
+ { "name": "placement", "type": "string" },
3535
+ { "name": "variant", "type": "string" }
2991
3536
  ],
2992
3537
  "events": [
2993
3538
  {
2994
- "name": "open",
3539
+ "name": "skf-opened",
2995
3540
  "description": "Fired when the dropdown is opened"
2996
3541
  },
2997
3542
  {
2998
- "name": "close",
3543
+ "name": "skf-closed",
2999
3544
  "description": "Fired when the dropdown is closed"
3000
3545
  }
3001
3546
  ]