@skf-design-system/ui-components 1.0.1-beta.1 → 1.0.2-beta.1

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 (299) hide show
  1. package/README.md +13 -26
  2. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  3. package/dist/components/accordion/accordion-item.component.js +87 -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 +12 -13
  9. package/dist/components/accordion/accordion.d.ts +0 -1
  10. package/dist/components/accordion/accordion.js +0 -2
  11. package/dist/components/alert/alert.component.d.ts +6 -10
  12. package/dist/components/alert/alert.component.js +15 -16
  13. package/dist/components/alert/alert.styles.js +0 -5
  14. package/dist/components/breadcrumb/breadcrumb-item.component.js +61 -0
  15. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  16. package/dist/components/breadcrumb/breadcrumb-item.styles.js +62 -0
  17. package/dist/components/breadcrumb/breadcrumb.component.d.ts +2 -2
  18. package/dist/components/breadcrumb/breadcrumb.component.js +60 -0
  19. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  20. package/dist/components/breadcrumb/breadcrumb.styles.js +22 -0
  21. package/dist/components/button/button.component.d.ts +13 -10
  22. package/dist/components/button/button.component.js +83 -76
  23. package/dist/components/button/button.styles.d.ts +1 -2
  24. package/dist/components/button/button.styles.js +1 -1
  25. package/dist/components/card/card.component.d.ts +1 -1
  26. package/dist/components/card/card.component.js +18 -30
  27. package/dist/components/card/card.styles.js +25 -28
  28. package/dist/components/checkbox/checkbox.component.d.ts +16 -14
  29. package/dist/components/checkbox/checkbox.component.js +5 -5
  30. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  31. package/dist/components/checkbox/checkbox.styles.js +1 -5
  32. package/dist/components/date-picker/datepicker.calendar.component.d.ts +5 -0
  33. package/dist/components/date-picker/datepicker.calendar.component.js +128 -95
  34. package/dist/components/date-picker/datepicker.calendar.styles.js +35 -25
  35. package/dist/components/date-picker/datepicker.component.d.ts +5 -0
  36. package/dist/components/date-picker/datepicker.component.js +117 -97
  37. package/dist/components/date-picker/datepicker.helpers.d.ts +3 -2
  38. package/dist/components/date-picker/datepicker.helpers.js +46 -39
  39. package/dist/components/date-picker/datepicker.styles.js +14 -26
  40. package/dist/components/date-picker-input/datepicker-input.component.d.ts +14 -5
  41. package/dist/components/date-picker-input/datepicker-input.component.js +264 -219
  42. package/dist/components/date-picker-input/datepicker-input.helpers.d.ts +36 -2
  43. package/dist/components/date-picker-input/datepicker-input.helpers.js +25 -23
  44. package/dist/components/date-picker-input/datepicker-input.styles.js +6 -10
  45. package/dist/components/dialog/dialog.component.d.ts +20 -29
  46. package/dist/components/dialog/dialog.component.js +85 -75
  47. package/dist/components/dialog/dialog.styles.js +4 -4
  48. package/dist/components/divider/divider.component.d.ts +4 -8
  49. package/dist/components/divider/divider.component.js +24 -46
  50. package/dist/components/divider/divider.styles.js +34 -30
  51. package/dist/components/drawer/drawer.component.d.ts +61 -0
  52. package/dist/components/drawer/drawer.component.js +125 -0
  53. package/dist/components/drawer/drawer.d.ts +8 -0
  54. package/dist/components/drawer/drawer.js +6 -0
  55. package/dist/components/drawer/drawer.styles.js +71 -0
  56. package/dist/components/header/header.component.d.ts +46 -0
  57. package/dist/components/header/header.component.js +116 -0
  58. package/dist/components/header/header.d.ts +8 -0
  59. package/dist/components/header/header.js +6 -0
  60. package/dist/components/header/header.styles.js +68 -0
  61. package/dist/components/heading/heading.component.d.ts +3 -11
  62. package/dist/components/heading/heading.component.js +24 -23
  63. package/dist/components/heading/heading.styles.d.ts +1 -2
  64. package/dist/components/heading/heading.styles.js +1 -1
  65. package/dist/components/icon/icon.component.d.ts +11 -17
  66. package/dist/components/icon/icon.component.js +2 -2
  67. package/dist/components/icon/icon.styles.d.ts +1 -2
  68. package/dist/components/icon/icon.styles.js +1 -1
  69. package/dist/components/input/input.component.d.ts +30 -31
  70. package/dist/components/input/input.component.js +138 -125
  71. package/dist/components/input/input.controllers.d.ts +20 -6
  72. package/dist/components/input/input.controllers.js +14 -10
  73. package/dist/components/link/link.component.d.ts +12 -14
  74. package/dist/components/link/link.component.js +35 -34
  75. package/dist/components/link/link.styles.d.ts +1 -2
  76. package/dist/components/link/link.styles.js +24 -20
  77. package/dist/components/loader/loader.component.d.ts +1 -1
  78. package/dist/components/loader/loader.component.js +36 -40
  79. package/dist/components/loader/loader.styles.d.ts +1 -2
  80. package/dist/components/loader/loader.styles.js +40 -32
  81. package/dist/components/logo/logo.component.d.ts +4 -5
  82. package/dist/components/logo/logo.component.js +1 -1
  83. package/dist/components/menu/menu-item.component.d.ts +13 -0
  84. package/dist/components/{menu-item → menu}/menu-item.component.js +3 -3
  85. package/dist/components/menu/menu.component.d.ts +10 -8
  86. package/dist/components/menu/menu.component.js +8 -10
  87. package/dist/components/nav/nav-item.component.d.ts +18 -0
  88. package/dist/components/nav/nav-item.component.js +38 -0
  89. package/dist/components/nav/nav-item.d.ts +8 -0
  90. package/dist/components/nav/nav-item.js +6 -0
  91. package/dist/components/nav/nav-item.styles.js +39 -0
  92. package/dist/components/nav/nav.component.d.ts +17 -0
  93. package/dist/components/nav/nav.component.js +34 -0
  94. package/dist/components/nav/nav.d.ts +8 -0
  95. package/dist/components/nav/nav.js +6 -0
  96. package/dist/components/nav/nav.styles.d.ts +1 -0
  97. package/dist/components/nav/nav.styles.js +17 -0
  98. package/dist/components/popover/popover.component.d.ts +11 -8
  99. package/dist/components/popover/popover.component.js +24 -26
  100. package/dist/components/progress/progress.component.d.ts +2 -2
  101. package/dist/components/progress/progress.component.js +31 -37
  102. package/dist/components/progress/progress.styles.js +40 -35
  103. package/dist/components/radio/radio.component.d.ts +19 -13
  104. package/dist/components/radio/radio.component.js +12 -12
  105. package/dist/components/radio/radio.styles.d.ts +1 -2
  106. package/dist/components/radio/radio.styles.js +1 -1
  107. package/dist/components/segmented-button/segmented-button-item.component.d.ts +36 -0
  108. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  109. package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
  110. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  111. package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
  112. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  113. package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
  114. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  115. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  116. package/dist/components/segmented-button/segmented-button.js +6 -0
  117. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  118. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  119. package/dist/components/{select-option-group → select}/select-option-group.component.js +1 -1
  120. package/dist/components/select/select-option-group.style.d.ts +1 -0
  121. package/dist/components/{select-option → select}/select-option.component.d.ts +7 -8
  122. package/dist/components/{select-option → select}/select-option.component.js +15 -15
  123. package/dist/components/select/select-option.controllers.d.ts +15 -0
  124. package/dist/components/select/select-option.styles.d.ts +1 -0
  125. package/dist/components/select/select.component.d.ts +16 -15
  126. package/dist/components/select/select.component.js +19 -19
  127. package/dist/components/select/select.controllers.d.ts +21 -10
  128. package/dist/components/select/select.controllers.js +31 -23
  129. package/dist/components/select/select.stories.icons.d.ts +7 -0
  130. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +8 -8
  131. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  132. package/dist/components/stepper/stepper.component.d.ts +4 -3
  133. package/dist/components/stepper/stepper.component.js +15 -15
  134. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  135. package/dist/components/switch/switch.component.d.ts +7 -6
  136. package/dist/components/switch/switch.component.js +21 -21
  137. package/dist/components/tab/tab.component.js +1 -1
  138. package/dist/components/tab-group/tab-group.component.js +1 -1
  139. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  140. package/dist/components/tag/tag.component.d.ts +14 -16
  141. package/dist/components/tag/tag.component.js +36 -39
  142. package/dist/components/textarea/textarea.component.d.ts +10 -11
  143. package/dist/components/textarea/textarea.component.js +65 -67
  144. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  145. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  146. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  147. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  148. package/dist/components/toast/toast.component.d.ts +6 -5
  149. package/dist/components/toast/toast.component.js +15 -15
  150. package/dist/components/toast/toast.singleton.d.ts +4 -4
  151. package/dist/components/toast/toast.singleton.js +12 -12
  152. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  153. package/dist/components/tooltip/tooltip.component.js +16 -11
  154. package/dist/custom-elements.json +2718 -2073
  155. package/dist/index.d.ts +16 -6
  156. package/dist/index.js +103 -75
  157. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  158. package/dist/internal/base-classes/popover/popover.base.js +138 -77
  159. package/dist/internal/base-classes/popover/popover.styles.js +14 -1
  160. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  161. package/dist/internal/components/hint/hint.component.js +2 -2
  162. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  163. package/dist/internal/components/hint/hint.styles.js +1 -1
  164. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  165. package/dist/internal/constants/iconSeverity.js +2 -3
  166. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  167. package/dist/internal/controllers/popover.controller.d.ts +12 -7
  168. package/dist/internal/controllers/popover.controller.js +9 -14
  169. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  170. package/dist/internal/helpers/hintSeverity.js +1 -1
  171. package/dist/internal/helpers/utilityTypes.d.ts +1 -1
  172. package/dist/internal/helpers/uuid.d.ts +15 -0
  173. package/dist/internal/helpers/uuid.js +14 -0
  174. package/dist/internal/storybook/styles.d.ts +1 -0
  175. package/dist/internal/types/formField.d.ts +1 -1
  176. package/dist/internal/types.d.ts +18 -0
  177. package/dist/styles/component.styles.d.ts +1 -2
  178. package/dist/styles/component.styles.js +1 -1
  179. package/dist/styles/form-field.styles.js +11 -6
  180. package/dist/styles/global.css +1 -1
  181. package/dist/types/jsx/custom-element-jsx.d.ts +673 -1310
  182. package/dist/types/vue/index.d.ts +456 -319
  183. package/dist/vscode.html-custom-data.json +402 -1080
  184. package/dist/web-types.json +986 -767
  185. package/package.json +44 -55
  186. package/dist/components/collapse/collapse.component.d.ts +0 -40
  187. package/dist/components/collapse/collapse.component.js +0 -86
  188. package/dist/components/collapse/collapse.d.ts +0 -8
  189. package/dist/components/collapse/collapse.js +0 -6
  190. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  191. package/dist/components/collapse/collapse.styles.js +0 -77
  192. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  193. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  194. package/dist/internal/constants/heading.d.ts +0 -2
  195. package/dist/react/index.d.ts +0 -36
  196. package/dist/react/index.js +0 -36
  197. package/dist/react/skf-accordion/index.d.ts +0 -3
  198. package/dist/react/skf-accordion/index.js +0 -13
  199. package/dist/react/skf-alert/index.d.ts +0 -9
  200. package/dist/react/skf-alert/index.js +0 -17
  201. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  202. package/dist/react/skf-breadcrumb/index.js +0 -17
  203. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  204. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  205. package/dist/react/skf-button/index.d.ts +0 -9
  206. package/dist/react/skf-button/index.js +0 -17
  207. package/dist/react/skf-card/index.d.ts +0 -3
  208. package/dist/react/skf-card/index.js +0 -13
  209. package/dist/react/skf-checkbox/index.d.ts +0 -9
  210. package/dist/react/skf-checkbox/index.js +0 -17
  211. package/dist/react/skf-collapse/index.d.ts +0 -9
  212. package/dist/react/skf-collapse/index.js +0 -17
  213. package/dist/react/skf-datepicker/index.d.ts +0 -12
  214. package/dist/react/skf-datepicker/index.js +0 -18
  215. package/dist/react/skf-dialog/index.d.ts +0 -15
  216. package/dist/react/skf-dialog/index.js +0 -19
  217. package/dist/react/skf-divider/index.d.ts +0 -3
  218. package/dist/react/skf-divider/index.js +0 -13
  219. package/dist/react/skf-heading/index.d.ts +0 -3
  220. package/dist/react/skf-heading/index.js +0 -13
  221. package/dist/react/skf-icon/index.d.ts +0 -3
  222. package/dist/react/skf-icon/index.js +0 -13
  223. package/dist/react/skf-input/index.d.ts +0 -12
  224. package/dist/react/skf-input/index.js +0 -18
  225. package/dist/react/skf-link/index.d.ts +0 -3
  226. package/dist/react/skf-link/index.js +0 -13
  227. package/dist/react/skf-loader/index.d.ts +0 -3
  228. package/dist/react/skf-loader/index.js +0 -13
  229. package/dist/react/skf-logo/index.d.ts +0 -3
  230. package/dist/react/skf-logo/index.js +0 -13
  231. package/dist/react/skf-menu/index.d.ts +0 -12
  232. package/dist/react/skf-menu/index.js +0 -18
  233. package/dist/react/skf-menu-item/index.d.ts +0 -27
  234. package/dist/react/skf-menu-item/index.js +0 -23
  235. package/dist/react/skf-popover/index.d.ts +0 -12
  236. package/dist/react/skf-popover/index.js +0 -18
  237. package/dist/react/skf-progress/index.d.ts +0 -3
  238. package/dist/react/skf-progress/index.js +0 -13
  239. package/dist/react/skf-radio/index.d.ts +0 -9
  240. package/dist/react/skf-radio/index.js +0 -17
  241. package/dist/react/skf-select/index.d.ts +0 -21
  242. package/dist/react/skf-select/index.js +0 -21
  243. package/dist/react/skf-select-option/index.d.ts +0 -9
  244. package/dist/react/skf-select-option/index.js +0 -17
  245. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  246. package/dist/react/skf-select-option-group/index.js +0 -13
  247. package/dist/react/skf-stepper/index.d.ts +0 -9
  248. package/dist/react/skf-stepper/index.js +0 -17
  249. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  250. package/dist/react/skf-stepper-item/index.js +0 -17
  251. package/dist/react/skf-switch/index.d.ts +0 -3
  252. package/dist/react/skf-switch/index.js +0 -13
  253. package/dist/react/skf-tab/index.d.ts +0 -12
  254. package/dist/react/skf-tab/index.js +0 -18
  255. package/dist/react/skf-tab-group/index.d.ts +0 -3
  256. package/dist/react/skf-tab-group/index.js +0 -13
  257. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  258. package/dist/react/skf-tab-panel/index.js +0 -13
  259. package/dist/react/skf-tag/index.d.ts +0 -3
  260. package/dist/react/skf-tag/index.js +0 -13
  261. package/dist/react/skf-textarea/index.d.ts +0 -12
  262. package/dist/react/skf-textarea/index.js +0 -18
  263. package/dist/react/skf-toast/index.d.ts +0 -3
  264. package/dist/react/skf-toast/index.js +0 -13
  265. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  266. package/dist/react/skf-toast-wrapper/index.js +0 -13
  267. package/dist/react/skf-tooltip/index.d.ts +0 -12
  268. package/dist/react/skf-tooltip/index.js +0 -18
  269. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  270. /package/dist/components/{collapse/collapse.test.d.ts → accordion/accordion-item.test.d.ts} +0 -0
  271. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  272. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +0 -0
  273. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  274. /package/dist/components/{select-option-group/select-option-group.style.d.ts → drawer/drawer.styles.d.ts} +0 -0
  275. /package/dist/components/{select-option/select-option.styles.d.ts → header/header.styles.d.ts} +0 -0
  276. /package/dist/components/{menu-item → menu}/menu-item.d.ts +0 -0
  277. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  278. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  279. /package/dist/components/{menu-item → menu}/menu-item.styles.js +0 -0
  280. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  281. /package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +0 -0
  282. /package/dist/components/{select-option-group → select}/select-option-group.d.ts +0 -0
  283. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  284. /package/dist/components/{select-option-group → select}/select-option-group.style.js +0 -0
  285. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  286. /package/dist/components/{select-option → select}/select-option.js +0 -0
  287. /package/dist/components/{select-option → select}/select-option.styles.js +0 -0
  288. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  289. /package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +0 -0
  290. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  291. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  292. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  293. /package/dist/components/{toast-item → toast}/toast-item.component.js +0 -0
  294. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  295. /package/dist/components/{toast-item → toast}/toast-item.styles.js +0 -0
  296. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  297. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  298. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  299. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -6,21 +6,163 @@
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" }
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"
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,7 +232,7 @@
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
238
  {
@@ -101,19 +243,17 @@
101
243
  {
102
244
  "name": "icon",
103
245
  "description": "If defined, displays leading icon",
104
- "value": { "type": "SkfIcon['name'] | undefined" }
246
+ "value": { "type": "Icon | undefined" }
105
247
  },
106
248
  {
107
249
  "name": "persistent",
108
250
  "description": "If true, renders with an close button and sets aria-role to `status`",
109
- "value": { "type": "boolean | undefined" }
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": [
@@ -139,17 +279,17 @@
139
279
  {
140
280
  "name": "icon",
141
281
  "description": "If defined, displays leading icon",
142
- "type": "SkfIcon['name'] | undefined"
282
+ "type": "Icon | undefined"
143
283
  },
144
284
  {
145
285
  "name": "persistent",
146
286
  "description": "If true, renders with an close button and sets aria-role to `status`",
147
- "type": "boolean | undefined"
287
+ "type": "boolean"
148
288
  },
149
289
  {
150
290
  "name": "severity",
151
291
  "description": "If defined, gives the supplied appearance",
152
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
292
+ "type": "Severity | undefined"
153
293
  }
154
294
  ],
155
295
  "events": [
@@ -160,9 +300,39 @@
160
300
  ]
161
301
  }
162
302
  },
303
+ {
304
+ "name": "skf-breadcrumb-item",
305
+ "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",
306
+ "doc-url": "",
307
+ "attributes": [
308
+ {
309
+ "name": "href",
310
+ "description": "If defined, loads url on click",
311
+ "value": { "type": "string | undefined" }
312
+ }
313
+ ],
314
+ "slots": [
315
+ { "name": "", "description": "Label of the breadcrumb item" }
316
+ ],
317
+ "events": [],
318
+ "js": {
319
+ "properties": [
320
+ {
321
+ "name": "href",
322
+ "description": "If defined, loads url on click",
323
+ "type": "string | undefined"
324
+ },
325
+ {
326
+ "name": "onClick",
327
+ "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
328
+ }
329
+ ],
330
+ "events": []
331
+ }
332
+ },
163
333
  {
164
334
  "name": "skf-breadcrumb",
165
- "description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
335
+ "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>`",
166
336
  "doc-url": "",
167
337
  "attributes": [
168
338
  {
@@ -204,30 +374,43 @@
204
374
  }
205
375
  },
206
376
  {
207
- "name": "skf-breadcrumb-item",
208
- "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",
377
+ "name": "skf-loader",
378
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
209
379
  "doc-url": "",
210
380
  "attributes": [
211
381
  {
212
- "name": "href",
213
- "description": "If defined, loads url on click",
214
- "value": { "type": "string | undefined" }
382
+ "name": "aria-label",
383
+ "description": "Defines the aria-label",
384
+ "value": { "type": "string", "default": "'Loading...'" }
385
+ },
386
+ {
387
+ "name": "invert",
388
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
389
+ "value": { "type": "boolean", "default": "false" }
390
+ },
391
+ {
392
+ "name": "size",
393
+ "description": "Defines the size of the loader",
394
+ "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
215
395
  }
216
396
  ],
217
- "slots": [
218
- { "name": "", "description": "Label of the breadcrumb item" }
219
- ],
220
397
  "events": [],
221
398
  "js": {
222
399
  "properties": [
223
400
  {
224
- "name": "href",
225
- "description": "If defined, loads url on click",
226
- "type": "string | undefined"
401
+ "name": "ariaLabel",
402
+ "description": "Defines the aria-label",
403
+ "type": "string"
227
404
  },
228
405
  {
229
- "name": "onClick",
230
- "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
406
+ "name": "invert",
407
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
408
+ "type": "boolean"
409
+ },
410
+ {
411
+ "name": "size",
412
+ "description": "Defines the size of the loader",
413
+ "type": "'md' | 'sm' | undefined"
231
414
  }
232
415
  ],
233
416
  "events": []
@@ -235,7 +418,7 @@
235
418
  },
236
419
  {
237
420
  "name": "skf-button",
238
- "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",
421
+ "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",
239
422
  "doc-url": "",
240
423
  "attributes": [
241
424
  {
@@ -251,13 +434,11 @@
251
434
  {
252
435
  "name": "icon",
253
436
  "description": "If provided, renders an icon before or after the text",
254
- "value": {
255
- "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\""
256
- }
437
+ "value": { "type": "Icon | undefined" }
257
438
  },
258
439
  {
259
- "name": "iconOnly",
260
- "description": "If true, removes border",
440
+ "name": "icon-only",
441
+ "description": "If true, button will take a square shape",
261
442
  "value": { "type": "boolean", "default": "false" }
262
443
  },
263
444
  {
@@ -277,15 +458,15 @@
277
458
  {
278
459
  "name": "size",
279
460
  "description": "If provided, displays an alternative size",
280
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
461
+ "value": {
462
+ "type": "'sm' | 'md' | 'lg' | undefined",
463
+ "default": "'md'"
464
+ }
281
465
  },
282
466
  {
283
467
  "name": "type",
284
468
  "description": "If provided, changes the button type",
285
- "value": {
286
- "type": "'button' | 'submit' | 'reset'",
287
- "default": "'button'"
288
- }
469
+ "value": { "type": "SkfButtonType", "default": "'button'" }
289
470
  },
290
471
  {
291
472
  "name": "variant",
@@ -300,6 +481,7 @@
300
481
  "events": [
301
482
  {
302
483
  "name": "click",
484
+ "type": "CustomEvent",
303
485
  "description": "Fires when the button is clicked"
304
486
  }
305
487
  ],
@@ -318,11 +500,11 @@
318
500
  {
319
501
  "name": "icon",
320
502
  "description": "If provided, renders an icon before or after the text",
321
- "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\""
503
+ "type": "Icon | undefined"
322
504
  },
323
505
  {
324
506
  "name": "iconOnly",
325
- "description": "If true, removes border",
507
+ "description": "If true, button will take a square shape",
326
508
  "type": "boolean"
327
509
  },
328
510
  {
@@ -339,12 +521,12 @@
339
521
  {
340
522
  "name": "size",
341
523
  "description": "If provided, displays an alternative size",
342
- "type": "'sm' | 'md' | 'lg'"
524
+ "type": "'sm' | 'md' | 'lg' | undefined"
343
525
  },
344
526
  {
345
527
  "name": "type",
346
528
  "description": "If provided, changes the button type",
347
- "type": "'button' | 'submit' | 'reset'"
529
+ "type": "SkfButtonType"
348
530
  },
349
531
  {
350
532
  "name": "variant",
@@ -355,6 +537,7 @@
355
537
  "events": [
356
538
  {
357
539
  "name": "click",
540
+ "type": "CustomEvent",
358
541
  "description": "Fires when the button is clicked"
359
542
  }
360
543
  ]
@@ -362,7 +545,7 @@
362
545
  },
363
546
  {
364
547
  "name": "skf-card",
365
- "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",
548
+ "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",
366
549
  "doc-url": "",
367
550
  "attributes": [
368
551
  {
@@ -406,23 +589,23 @@
406
589
  },
407
590
  {
408
591
  "name": "skf-checkbox",
409
- "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.",
592
+ "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.",
410
593
  "doc-url": "",
411
594
  "attributes": [
412
595
  {
413
596
  "name": "disabled",
414
597
  "description": "If true, sets disabled state",
415
- "value": { "type": "boolean" }
598
+ "value": { "type": "boolean", "default": "false" }
416
599
  },
417
600
  {
418
601
  "name": "required",
419
602
  "description": "If true, value is required or must be checked for the form to be submittable",
420
- "value": { "type": "boolean" }
603
+ "value": { "type": "boolean", "default": "false" }
421
604
  },
422
605
  {
423
606
  "name": "debug",
424
607
  "description": "If defined, outputs helping hints in console",
425
- "value": { "type": "boolean | undefined" }
608
+ "value": { "type": "boolean", "default": "false" }
426
609
  },
427
610
  {
428
611
  "name": "checked",
@@ -432,12 +615,12 @@
432
615
  {
433
616
  "name": "custom-invalid",
434
617
  "description": "If true, forces component to invalid state until removed",
435
- "value": { "type": "boolean | undefined" }
618
+ "value": { "type": "boolean", "default": "false" }
436
619
  },
437
620
  {
438
621
  "name": "indeterminate",
439
622
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
440
- "value": { "type": "boolean | undefined" }
623
+ "value": { "type": "boolean", "default": "false" }
441
624
  },
442
625
  {
443
626
  "name": "label",
@@ -457,14 +640,12 @@
457
640
  {
458
641
  "name": "severity",
459
642
  "description": "If defined, styles checkbox using provided severity",
460
- "value": {
461
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
462
- }
643
+ "value": { "type": "FormFieldSeverity | undefined" }
463
644
  },
464
645
  {
465
646
  "name": "show-valid",
466
647
  "description": "If true, displays valid state after interaction",
467
- "value": { "type": "boolean | undefined" }
648
+ "value": { "type": "boolean", "default": "false" }
468
649
  },
469
650
  {
470
651
  "name": "size",
@@ -486,7 +667,8 @@
486
667
  "events": [
487
668
  {
488
669
  "name": "change",
489
- "description": "{object} - When the value of the input changes"
670
+ "type": "Event",
671
+ "description": "When the value of the input changes"
490
672
  }
491
673
  ],
492
674
  "js": {
@@ -494,7 +676,7 @@
494
676
  {
495
677
  "name": "debug",
496
678
  "description": "If defined, outputs helping hints in console",
497
- "type": "boolean | undefined"
679
+ "type": "boolean"
498
680
  },
499
681
  {
500
682
  "name": "checked",
@@ -503,12 +685,12 @@
503
685
  {
504
686
  "name": "customInvalid",
505
687
  "description": "If true, forces component to invalid state until removed",
506
- "type": "boolean | undefined"
688
+ "type": "boolean"
507
689
  },
508
690
  {
509
691
  "name": "indeterminate",
510
692
  "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
511
- "type": "boolean | undefined"
693
+ "type": "boolean"
512
694
  },
513
695
  {
514
696
  "name": "label",
@@ -528,12 +710,12 @@
528
710
  {
529
711
  "name": "severity",
530
712
  "description": "If defined, styles checkbox using provided severity",
531
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
713
+ "type": "FormFieldSeverity | undefined"
532
714
  },
533
715
  {
534
716
  "name": "showValid",
535
717
  "description": "If true, displays valid state after interaction",
536
- "type": "boolean | undefined"
718
+ "type": "boolean"
537
719
  },
538
720
  {
539
721
  "name": "size",
@@ -549,100 +731,15 @@
549
731
  "events": [
550
732
  {
551
733
  "name": "change",
552
- "description": "{object} - When the value of the input changes"
553
- }
554
- ]
555
- }
556
- },
557
- {
558
- "name": "skf-collapse",
559
- "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",
560
- "doc-url": "",
561
- "attributes": [
562
- {
563
- "name": "animated",
564
- "description": "If true, will animate the expand/collapse state",
565
- "value": { "type": "boolean", "default": "false" }
566
- },
567
- {
568
- "name": "expanded",
569
- "description": "If true, will set the collapse to be expanded by default",
570
- "value": { "type": "boolean", "default": "false" }
571
- },
572
- {
573
- "name": "heading",
574
- "description": "Heading for the collapse",
575
- "value": { "type": "string | undefined" }
576
- },
577
- {
578
- "name": "heading-as",
579
- "description": "Defines which heading element will be rendered",
580
- "value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
581
- },
582
- {
583
- "name": "small",
584
- "description": "If true, renders the small version",
585
- "value": { "type": "boolean", "default": "false" }
586
- },
587
- {
588
- "name": "truncate",
589
- "description": "If true, will truncate the heading in collapsed state",
590
- "value": { "type": "boolean", "default": "false" }
591
- }
592
- ],
593
- "slots": [{ "name": "", "description": "Main content" }],
594
- "events": [
595
- {
596
- "name": "skf-collapse-toggle",
597
- "type": "CustomEvent",
598
- "description": "Event emitted when toggled"
599
- }
600
- ],
601
- "js": {
602
- "properties": [
603
- {
604
- "name": "animated",
605
- "description": "If true, will animate the expand/collapse state",
606
- "type": "boolean"
607
- },
608
- {
609
- "name": "expanded",
610
- "description": "If true, will set the collapse to be expanded by default",
611
- "type": "boolean"
612
- },
613
- {
614
- "name": "heading",
615
- "description": "Heading for the collapse",
616
- "type": "string | undefined"
617
- },
618
- {
619
- "name": "headingAs",
620
- "description": "Defines which heading element will be rendered",
621
- "type": "\"h2\" | \"h3\" | \"h4\""
622
- },
623
- {
624
- "name": "small",
625
- "description": "If true, renders the small version",
626
- "type": "boolean"
627
- },
628
- {
629
- "name": "truncate",
630
- "description": "If true, will truncate the heading in collapsed state",
631
- "type": "boolean"
632
- }
633
- ],
634
- "events": [
635
- {
636
- "name": "skf-collapse-toggle",
637
- "type": "CustomEvent",
638
- "description": "Event emitted when toggled"
734
+ "type": "Event",
735
+ "description": "When the value of the input changes"
639
736
  }
640
737
  ]
641
738
  }
642
739
  },
643
740
  {
644
741
  "name": "skf-datepicker",
645
- "description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
742
+ "description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Methods:**\n - **gotoDate(date: _Date | string_)** - Navigates to the given date.\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
646
743
  "doc-url": "",
647
744
  "attributes": [
648
745
  {
@@ -741,9 +838,43 @@
741
838
  ]
742
839
  }
743
840
  },
841
+ {
842
+ "name": "skf-heading",
843
+ "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",
844
+ "doc-url": "",
845
+ "attributes": [
846
+ {
847
+ "name": "as",
848
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
849
+ "value": { "type": "HeadingType", "default": "'h2'" }
850
+ },
851
+ {
852
+ "name": "styled-as",
853
+ "description": "If defined, changes the appearance of the heading",
854
+ "value": { "type": "HeadingType | undefined" }
855
+ }
856
+ ],
857
+ "slots": [{ "name": "", "description": "The headings content" }],
858
+ "events": [],
859
+ "js": {
860
+ "properties": [
861
+ {
862
+ "name": "as",
863
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
864
+ "type": "HeadingType"
865
+ },
866
+ {
867
+ "name": "styledAs",
868
+ "description": "If defined, changes the appearance of the heading",
869
+ "type": "HeadingType | undefined"
870
+ }
871
+ ],
872
+ "events": []
873
+ }
874
+ },
744
875
  {
745
876
  "name": "skf-dialog",
746
- "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- **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)_",
877
+ "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)_",
747
878
  "doc-url": "",
748
879
  "attributes": [
749
880
  {
@@ -773,7 +904,8 @@
773
904
  },
774
905
  {
775
906
  "name": "open",
776
- "value": { "type": "boolean | null | undefined" }
907
+ "description": "If true, indicates that the dialog is active and is available for interaction",
908
+ "value": { "type": "boolean", "default": "false" }
777
909
  }
778
910
  ],
779
911
  "slots": [
@@ -785,15 +917,18 @@
785
917
  ],
786
918
  "events": [
787
919
  {
788
- "name": "skf-dialog-open",
920
+ "name": "skf-dialog-opened",
921
+ "type": "CustomEvent",
789
922
  "description": "Fires when the dialog is opened (after transitioned in)"
790
923
  },
791
924
  {
792
- "name": "skf-dialog-close",
793
- "description": "Fires when the dialog is closed (before transitioned out)"
925
+ "name": "skf-dialog-closing",
926
+ "type": "CustomEvent",
927
+ "description": "Fires when the dialog is closing (before transitioned out)"
794
928
  },
795
929
  {
796
- "name": "close",
930
+ "name": "skf-dialog-closed",
931
+ "type": "CustomEvent",
797
932
  "description": "Fires when the dialog is closed (after transitioned out)"
798
933
  }
799
934
  ],
@@ -824,32 +959,26 @@
824
959
  "description": "If defined, removes the inner padding",
825
960
  "type": "boolean"
826
961
  },
827
- { "name": "open", "type": "boolean | null | undefined" },
828
- {
829
- "name": "onClose",
830
- "description": "If provided, will run function on dialog close",
831
- "type": "((event: Event) => void) | null | undefined"
832
- },
833
- {
834
- "name": "showModal",
835
- "description": "Method that opens the dialog in modal state"
836
- },
837
962
  {
838
- "name": "close",
839
- "description": "Method that closes the dialog"
963
+ "name": "open",
964
+ "description": "If true, indicates that the dialog is active and is available for interaction",
965
+ "type": "boolean"
840
966
  }
841
967
  ],
842
968
  "events": [
843
969
  {
844
- "name": "skf-dialog-open",
970
+ "name": "skf-dialog-opened",
971
+ "type": "CustomEvent",
845
972
  "description": "Fires when the dialog is opened (after transitioned in)"
846
973
  },
847
974
  {
848
- "name": "skf-dialog-close",
849
- "description": "Fires when the dialog is closed (before transitioned out)"
975
+ "name": "skf-dialog-closing",
976
+ "type": "CustomEvent",
977
+ "description": "Fires when the dialog is closing (before transitioned out)"
850
978
  },
851
979
  {
852
- "name": "close",
980
+ "name": "skf-dialog-closed",
981
+ "type": "CustomEvent",
853
982
  "description": "Fires when the dialog is closed (after transitioned out)"
854
983
  }
855
984
  ]
@@ -863,10 +992,7 @@
863
992
  {
864
993
  "name": "color",
865
994
  "description": "Defines the Divider color",
866
- "value": {
867
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
868
- "default": "'primary'"
869
- }
995
+ "value": { "type": "SkfDividerColor", "default": "'primary'" }
870
996
  },
871
997
  {
872
998
  "name": "decorative",
@@ -885,7 +1011,7 @@
885
1011
  {
886
1012
  "name": "color",
887
1013
  "description": "Defines the Divider color",
888
- "type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1014
+ "type": "SkfDividerColor"
889
1015
  },
890
1016
  {
891
1017
  "name": "decorative",
@@ -902,98 +1028,201 @@
902
1028
  }
903
1029
  },
904
1030
  {
905
- "name": "skf-heading",
906
- "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",
1031
+ "name": "skf-drawer",
1032
+ "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",
907
1033
  "doc-url": "",
908
1034
  "attributes": [
909
1035
  {
910
- "name": "as",
911
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
912
- "value": {
913
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
914
- "default": "'h1'"
1036
+ "name": "close-button-aria-label",
1037
+ "description": "If defined, sets the aria-label for the close button",
1038
+ "value": { "type": "string", "default": "'Close dialog'" }
1039
+ },
1040
+ {
1041
+ "name": "heading",
1042
+ "description": "Heading for the Drawer",
1043
+ "value": { "type": "string | undefined" }
1044
+ },
1045
+ {
1046
+ "name": "size",
1047
+ "description": "Sets the max-width",
1048
+ "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
1049
+ },
1050
+ {
1051
+ "name": "open",
1052
+ "description": "If true, Drawer is open",
1053
+ "value": { "type": "boolean", "default": "false" }
1054
+ },
1055
+ {
1056
+ "name": "placement",
1057
+ "description": "Placement of the Drawer",
1058
+ "value": { "type": "'left' | 'right'", "default": "'right'" }
1059
+ }
1060
+ ],
1061
+ "slots": [{ "name": "", "description": "The Drawer's main content" }],
1062
+ "events": [
1063
+ {
1064
+ "name": "skf-drawer-opened",
1065
+ "type": "CustomEvent",
1066
+ "description": "Fires when the drawer is opened (after transitioned in)"
1067
+ },
1068
+ {
1069
+ "name": "skf-drawer-closing",
1070
+ "type": "CustomEvent",
1071
+ "description": "Fires when the drawer is closing (before transitioned out)"
1072
+ },
1073
+ {
1074
+ "name": "skf-drawer-closed",
1075
+ "type": "CustomEvent",
1076
+ "description": "Fires when the drawer is closed (after transitioned out)"
1077
+ }
1078
+ ],
1079
+ "js": {
1080
+ "properties": [
1081
+ {
1082
+ "name": "closeButtonAriaLabel",
1083
+ "description": "If defined, sets the aria-label for the close button",
1084
+ "type": "string"
1085
+ },
1086
+ {
1087
+ "name": "heading",
1088
+ "description": "Heading for the Drawer",
1089
+ "type": "string | undefined"
1090
+ },
1091
+ {
1092
+ "name": "size",
1093
+ "description": "Sets the max-width",
1094
+ "type": "'sm' | 'md' | 'lg'"
1095
+ },
1096
+ {
1097
+ "name": "open",
1098
+ "description": "If true, Drawer is open",
1099
+ "type": "boolean"
1100
+ },
1101
+ {
1102
+ "name": "placement",
1103
+ "description": "Placement of the Drawer",
1104
+ "type": "'left' | 'right'"
915
1105
  }
1106
+ ],
1107
+ "events": [
1108
+ {
1109
+ "name": "skf-drawer-opened",
1110
+ "type": "CustomEvent",
1111
+ "description": "Fires when the drawer is opened (after transitioned in)"
1112
+ },
1113
+ {
1114
+ "name": "skf-drawer-closing",
1115
+ "type": "CustomEvent",
1116
+ "description": "Fires when the drawer is closing (before transitioned out)"
1117
+ },
1118
+ {
1119
+ "name": "skf-drawer-closed",
1120
+ "type": "CustomEvent",
1121
+ "description": "Fires when the drawer is closed (after transitioned out)"
1122
+ }
1123
+ ]
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "skf-logo",
1128
+ "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)_",
1129
+ "doc-url": "",
1130
+ "attributes": [
1131
+ {
1132
+ "name": "title",
1133
+ "description": "Defines the title of the logo",
1134
+ "value": { "type": "string", "default": "'SKF logotype'" }
916
1135
  },
917
1136
  {
918
- "name": "styled-as",
919
- "description": "If provided, changes the appearance of the heading",
920
- "value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
1137
+ "name": "color",
1138
+ "description": "Defines the color of the logo",
1139
+ "value": { "type": "SkfLogoColor", "default": "'primary'" }
921
1140
  }
922
1141
  ],
923
- "slots": [{ "name": "", "description": "The headings content" }],
924
1142
  "events": [],
925
1143
  "js": {
926
1144
  "properties": [
927
1145
  {
928
- "name": "as",
929
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
930
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1146
+ "name": "title",
1147
+ "description": "Defines the title of the logo",
1148
+ "type": "string"
931
1149
  },
932
1150
  {
933
- "name": "styledAs",
934
- "description": "If provided, changes the appearance of the heading",
935
- "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1151
+ "name": "color",
1152
+ "description": "Defines the color of the logo",
1153
+ "type": "SkfLogoColor"
936
1154
  }
937
1155
  ],
938
1156
  "events": []
939
1157
  }
940
1158
  },
941
1159
  {
942
- "name": "skf-icon",
943
- "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
1160
+ "name": "skf-nav",
1161
+ "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",
944
1162
  "doc-url": "",
945
1163
  "attributes": [
946
1164
  {
947
- "name": "color",
948
- "description": "Sets the color of the icon",
949
- "value": {
950
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
951
- "default": "'primary'"
952
- }
1165
+ "name": "vertical",
1166
+ "value": { "type": "boolean", "default": "false" }
1167
+ }
1168
+ ],
1169
+ "slots": [
1170
+ { "name": "", "description": "The component's main content" }
1171
+ ],
1172
+ "events": [],
1173
+ "js": {
1174
+ "properties": [{ "name": "vertical", "type": "boolean" }],
1175
+ "events": []
1176
+ }
1177
+ },
1178
+ {
1179
+ "name": "skf-header",
1180
+ "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",
1181
+ "doc-url": "",
1182
+ "attributes": [
1183
+ {
1184
+ "name": "compact",
1185
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
1186
+ "value": { "type": "string" }
953
1187
  },
954
1188
  {
955
- "name": "label",
956
- "description": "If defined, adds an alternate description to use for assistive devices",
957
- "value": { "type": "string | undefined" }
1189
+ "name": "hamburger-aria-label",
1190
+ "description": "If defined, sets the aria-label for the hamburger button",
1191
+ "value": { "type": "string", "default": "'Show navigation'" }
958
1192
  },
959
1193
  {
960
- "name": "name",
961
- "description": "Name of the icon to display",
962
- "value": {
963
- "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\""
964
- }
1194
+ "name": "site-name",
1195
+ "description": "If defined, sets the app or site's name",
1196
+ "value": { "type": "string | undefined" }
965
1197
  },
966
1198
  {
967
- "name": "size",
968
- "description": "Size of the icon",
969
- "value": {
970
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
971
- "default": "'md'"
972
- }
1199
+ "name": "site-url",
1200
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1201
+ "value": { "type": "string | undefined" }
973
1202
  }
974
1203
  ],
1204
+ "slots": [{ "name": "", "description": "Navigation items" }],
975
1205
  "events": [],
976
1206
  "js": {
977
1207
  "properties": [
978
1208
  {
979
- "name": "color",
980
- "description": "Sets the color of the icon",
981
- "type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
1209
+ "name": "compact",
1210
+ "description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
982
1211
  },
983
1212
  {
984
- "name": "label",
985
- "description": "If defined, adds an alternate description to use for assistive devices",
986
- "type": "string | undefined"
1213
+ "name": "hamburgerAriaLabel",
1214
+ "description": "If defined, sets the aria-label for the hamburger button",
1215
+ "type": "string"
987
1216
  },
988
1217
  {
989
- "name": "name",
990
- "description": "Name of the icon to display",
991
- "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\""
1218
+ "name": "siteName",
1219
+ "description": "If defined, sets the app or site's name",
1220
+ "type": "string | undefined"
992
1221
  },
993
1222
  {
994
- "name": "size",
995
- "description": "Size of the icon",
996
- "type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
1223
+ "name": "siteUrl",
1224
+ "description": "If defined, sets the site's base-url for the \"logo-link\"",
1225
+ "type": "string | undefined"
997
1226
  }
998
1227
  ],
999
1228
  "events": []
@@ -1001,23 +1230,25 @@
1001
1230
  },
1002
1231
  {
1003
1232
  "name": "skf-input",
1004
- "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.",
1233
+ "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.",
1005
1234
  "doc-url": "",
1006
1235
  "attributes": [
1007
1236
  {
1008
1237
  "name": "disabled",
1009
1238
  "description": "If true, sets disabled state",
1010
- "value": { "type": "boolean" }
1239
+ "value": { "type": "boolean", "default": "false" }
1011
1240
  },
1012
1241
  {
1013
1242
  "name": "required",
1014
1243
  "description": "If true, value is required or must be checked for the form to be submittable",
1015
- "value": { "type": "boolean" }
1244
+ "value": { "type": "boolean", "default": "false" }
1016
1245
  },
1017
1246
  {
1018
1247
  "name": "autocomplete",
1019
- "description": "-m }",
1020
- "value": { "type": "string" }
1248
+ "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.",
1249
+ "value": {
1250
+ "type": "HTMLInputElement['autocomplete'] | undefined"
1251
+ }
1021
1252
  },
1022
1253
  {
1023
1254
  "name": "button-aria-label-clear",
@@ -1042,12 +1273,12 @@
1042
1273
  {
1043
1274
  "name": "debug",
1044
1275
  "description": "If true, outputs helping hints in console",
1045
- "value": { "type": "boolean | undefined" }
1276
+ "value": { "type": "boolean", "default": "false" }
1046
1277
  },
1047
1278
  {
1048
1279
  "name": "hide-label",
1049
1280
  "description": "If true, hides the label visually",
1050
- "value": { "type": "boolean | undefined" }
1281
+ "value": { "type": "boolean", "default": "false" }
1051
1282
  },
1052
1283
  {
1053
1284
  "name": "hint",
@@ -1056,9 +1287,9 @@
1056
1287
  },
1057
1288
  {
1058
1289
  "name": "inputmode",
1059
- "description": "Tells what keyboard to use if applicable",
1290
+ "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.",
1060
1291
  "value": {
1061
- "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'",
1292
+ "type": "HTMLInputElement['inputMode']",
1062
1293
  "default": "'text'"
1063
1294
  }
1064
1295
  },
@@ -1110,7 +1341,7 @@
1110
1341
  {
1111
1342
  "name": "readonly",
1112
1343
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
1113
- "value": { "type": "boolean | undefined" }
1344
+ "value": { "type": "boolean", "default": "false" }
1114
1345
  },
1115
1346
  {
1116
1347
  "name": "required-label",
@@ -1120,14 +1351,12 @@
1120
1351
  {
1121
1352
  "name": "severity",
1122
1353
  "description": "If defined, displays provided severity state",
1123
- "value": {
1124
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
1125
- }
1354
+ "value": { "type": "FormFieldSeverity | undefined" }
1126
1355
  },
1127
1356
  {
1128
1357
  "name": "show-valid",
1129
1358
  "description": "If true, displays valid state after interaction",
1130
- "value": { "type": "boolean | undefined" }
1359
+ "value": { "type": "boolean", "default": "false" }
1131
1360
  },
1132
1361
  {
1133
1362
  "name": "size",
@@ -1141,9 +1370,9 @@
1141
1370
  },
1142
1371
  {
1143
1372
  "name": "type",
1144
- "description": "Type of input control",
1373
+ "description": "Type of input",
1145
1374
  "value": {
1146
- "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'",
1375
+ "type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
1147
1376
  "default": "'text'"
1148
1377
  }
1149
1378
  },
@@ -1158,7 +1387,7 @@
1158
1387
  {
1159
1388
  "name": "value",
1160
1389
  "description": "The current value of the input field",
1161
- "value": { "type": "string", "default": "''" }
1390
+ "value": { "type": "string" }
1162
1391
  }
1163
1392
  ],
1164
1393
  "slots": [
@@ -1170,16 +1399,22 @@
1170
1399
  "events": [
1171
1400
  {
1172
1401
  "name": "change",
1402
+ "type": "CustomEvent",
1173
1403
  "description": "Fires when the value of the input changes"
1174
1404
  },
1175
1405
  {
1176
1406
  "name": "invalid",
1407
+ "type": "CustomEvent",
1177
1408
  "description": "Fires when the input is invalid"
1178
1409
  }
1179
1410
  ],
1180
1411
  "js": {
1181
1412
  "properties": [
1182
- { "name": "autocomplete", "description": "-m }", "type": "" },
1413
+ {
1414
+ "name": "autocomplete",
1415
+ "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.",
1416
+ "type": "HTMLInputElement['autocomplete'] | undefined"
1417
+ },
1183
1418
  {
1184
1419
  "name": "buttonAriaLabelClear",
1185
1420
  "description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
@@ -1202,12 +1437,12 @@
1202
1437
  {
1203
1438
  "name": "debug",
1204
1439
  "description": "If true, outputs helping hints in console",
1205
- "type": "boolean | undefined"
1440
+ "type": "boolean"
1206
1441
  },
1207
1442
  {
1208
1443
  "name": "hideLabel",
1209
1444
  "description": "If true, hides the label visually",
1210
- "type": "boolean | undefined"
1445
+ "type": "boolean"
1211
1446
  },
1212
1447
  {
1213
1448
  "name": "hint",
@@ -1216,8 +1451,8 @@
1216
1451
  },
1217
1452
  {
1218
1453
  "name": "inputmode",
1219
- "description": "Tells what keyboard to use if applicable",
1220
- "type": "'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'"
1454
+ "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.",
1455
+ "type": "HTMLInputElement['inputMode']"
1221
1456
  },
1222
1457
  {
1223
1458
  "name": "label",
@@ -1267,7 +1502,7 @@
1267
1502
  {
1268
1503
  "name": "readonly",
1269
1504
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
1270
- "type": "boolean | undefined"
1505
+ "type": "boolean"
1271
1506
  },
1272
1507
  {
1273
1508
  "name": "requiredLabel",
@@ -1277,12 +1512,12 @@
1277
1512
  {
1278
1513
  "name": "severity",
1279
1514
  "description": "If defined, displays provided severity state",
1280
- "type": "\"alert\" | \"success\" | \"info\" | \"warning\""
1515
+ "type": "FormFieldSeverity | undefined"
1281
1516
  },
1282
1517
  {
1283
1518
  "name": "showValid",
1284
1519
  "description": "If true, displays valid state after interaction",
1285
- "type": "boolean | undefined"
1520
+ "type": "boolean"
1286
1521
  },
1287
1522
  {
1288
1523
  "name": "size",
@@ -1296,8 +1531,8 @@
1296
1531
  },
1297
1532
  {
1298
1533
  "name": "type",
1299
- "description": "Type of input control",
1300
- "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
1534
+ "description": "Type of input",
1535
+ "type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
1301
1536
  },
1302
1537
  {
1303
1538
  "name": "validateOn",
@@ -1306,17 +1541,18 @@
1306
1541
  },
1307
1542
  {
1308
1543
  "name": "value",
1309
- "description": "The current value of the input field",
1310
- "type": "string"
1544
+ "description": "The current value of the input field"
1311
1545
  }
1312
1546
  ],
1313
1547
  "events": [
1314
1548
  {
1315
1549
  "name": "change",
1550
+ "type": "CustomEvent",
1316
1551
  "description": "Fires when the value of the input changes"
1317
1552
  },
1318
1553
  {
1319
1554
  "name": "invalid",
1555
+ "type": "CustomEvent",
1320
1556
  "description": "Fires when the input is invalid"
1321
1557
  }
1322
1558
  ]
@@ -1343,7 +1579,7 @@
1343
1579
  {
1344
1580
  "name": "disabled",
1345
1581
  "description": "If true, disables the link",
1346
- "value": { "type": "boolean | undefined" }
1582
+ "value": { "type": "boolean", "default": "false" }
1347
1583
  },
1348
1584
  {
1349
1585
  "name": "download",
@@ -1358,9 +1594,7 @@
1358
1594
  {
1359
1595
  "name": "icon",
1360
1596
  "description": "If defined, renders an icon before or after the text",
1361
- "value": {
1362
- "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\""
1363
- }
1597
+ "value": { "type": "Icon | undefined" }
1364
1598
  },
1365
1599
  {
1366
1600
  "name": "icon-placement",
@@ -1392,10 +1626,7 @@
1392
1626
  {
1393
1627
  "name": "type",
1394
1628
  "description": "Defines the type of button",
1395
- "value": {
1396
- "type": "'button' | 'submit' | 'reset'",
1397
- "default": "'button'"
1398
- }
1629
+ "value": { "type": "SkfLinkType", "default": "'button'" }
1399
1630
  }
1400
1631
  ],
1401
1632
  "slots": [{ "name": "", "description": "The links' main content" }],
@@ -1415,7 +1646,7 @@
1415
1646
  {
1416
1647
  "name": "disabled",
1417
1648
  "description": "If true, disables the link",
1418
- "type": "boolean | undefined"
1649
+ "type": "boolean"
1419
1650
  },
1420
1651
  {
1421
1652
  "name": "download",
@@ -1430,13 +1661,17 @@
1430
1661
  {
1431
1662
  "name": "icon",
1432
1663
  "description": "If defined, renders an icon before or after the text",
1433
- "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\""
1664
+ "type": "Icon | undefined"
1434
1665
  },
1435
1666
  {
1436
1667
  "name": "iconPlacement",
1437
1668
  "description": "Defines the position of the icon in relation to the text",
1438
1669
  "type": "'left' | 'right'"
1439
1670
  },
1671
+ {
1672
+ "name": "onClick",
1673
+ "description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
1674
+ },
1440
1675
  {
1441
1676
  "name": "rel",
1442
1677
  "description": "If defined, describes the relationship between a linked resource and the current document",
@@ -1460,141 +1695,15 @@
1460
1695
  {
1461
1696
  "name": "type",
1462
1697
  "description": "Defines the type of button",
1463
- "type": "'button' | 'submit' | 'reset'"
1464
- },
1465
- {
1466
- "name": "onClick",
1467
- "description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
1468
- "type": "function"
1469
- }
1470
- ],
1471
- "events": []
1472
- }
1473
- },
1474
- {
1475
- "name": "skf-loader",
1476
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1477
- "doc-url": "",
1478
- "attributes": [
1479
- {
1480
- "name": "aria-label",
1481
- "description": "Defines the aria-label",
1482
- "value": { "type": "string", "default": "'Loading...'" }
1483
- },
1484
- {
1485
- "name": "invert",
1486
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1487
- "value": { "type": "boolean", "default": "false" }
1488
- },
1489
- {
1490
- "name": "size",
1491
- "description": "Defines the size of the loader",
1492
- "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1493
- }
1494
- ],
1495
- "events": [],
1496
- "js": {
1497
- "properties": [
1498
- {
1499
- "name": "ariaLabel",
1500
- "description": "Defines the aria-label",
1501
- "type": "string"
1502
- },
1503
- {
1504
- "name": "invert",
1505
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1506
- "type": "boolean"
1507
- },
1508
- {
1509
- "name": "size",
1510
- "description": "Defines the size of the loader",
1511
- "type": "'md' | 'sm' | undefined"
1512
- },
1513
- { "name": "role", "type": "string" },
1514
- { "name": "ariaLive", "type": "string" }
1515
- ],
1516
- "events": []
1517
- }
1518
- },
1519
- {
1520
- "name": "skf-logo",
1521
- "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)_",
1522
- "doc-url": "",
1523
- "attributes": [
1524
- {
1525
- "name": "title",
1526
- "description": "Defines the title of the logo",
1527
- "value": { "type": "string", "default": "'SKF logotype'" }
1528
- },
1529
- {
1530
- "name": "color",
1531
- "description": "Defines the color of the logo",
1532
- "value": {
1533
- "type": "\"primary\" | \"secondary\" | \"inverse\"",
1534
- "default": "'primary'"
1535
- }
1536
- }
1537
- ],
1538
- "events": [],
1539
- "js": {
1540
- "properties": [
1541
- {
1542
- "name": "title",
1543
- "description": "Defines the title of the logo",
1544
- "type": "string"
1545
- },
1546
- {
1547
- "name": "color",
1548
- "description": "Defines the color of the logo",
1549
- "type": "\"primary\" | \"secondary\" | \"inverse\""
1698
+ "type": "SkfLinkType"
1550
1699
  }
1551
1700
  ],
1552
1701
  "events": []
1553
1702
  }
1554
1703
  },
1555
- {
1556
- "name": "skf-menu",
1557
- "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",
1558
- "doc-url": "",
1559
- "attributes": [],
1560
- "slots": [{ "name": "", "description": "The menu popover content" }],
1561
- "events": [
1562
- { "name": "open", "description": "Fired when the menu is opened" },
1563
- { "name": "close", "description": "Fired when the menu is closed" }
1564
- ],
1565
- "js": {
1566
- "properties": [
1567
- {
1568
- "name": "placement",
1569
- "description": "The placement of the menu",
1570
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1571
- },
1572
- {
1573
- "name": "isOpen",
1574
- "description": "Whether the menu is open",
1575
- "type": "boolean"
1576
- },
1577
- {
1578
- "name": "anchor",
1579
- "description": "The id of the element the menu will be anchored to",
1580
- "type": "string"
1581
- }
1582
- ],
1583
- "events": [
1584
- {
1585
- "name": "open",
1586
- "description": "Fired when the menu is opened"
1587
- },
1588
- {
1589
- "name": "close",
1590
- "description": "Fired when the menu is closed"
1591
- }
1592
- ]
1593
- }
1594
- },
1595
1704
  {
1596
1705
  "name": "skf-menu-item",
1597
- "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",
1706
+ "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",
1598
1707
  "doc-url": "",
1599
1708
  "attributes": [
1600
1709
  {
@@ -1613,7 +1722,7 @@
1613
1722
  {
1614
1723
  "name": "disabled",
1615
1724
  "description": "If true, disables the link",
1616
- "value": { "type": "boolean | undefined" }
1725
+ "value": { "type": "boolean", "default": "false" }
1617
1726
  },
1618
1727
  {
1619
1728
  "name": "download",
@@ -1628,9 +1737,7 @@
1628
1737
  {
1629
1738
  "name": "icon",
1630
1739
  "description": "If defined, renders an icon before or after the text",
1631
- "value": {
1632
- "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\""
1633
- }
1740
+ "value": { "type": "Icon | undefined" }
1634
1741
  },
1635
1742
  {
1636
1743
  "name": "icon-placement",
@@ -1662,52 +1769,16 @@
1662
1769
  {
1663
1770
  "name": "type",
1664
1771
  "description": "Defines the type of button",
1665
- "value": {
1666
- "type": "'button' | 'submit' | 'reset'",
1667
- "default": "'button'"
1668
- }
1772
+ "value": { "type": "SkfLinkType", "default": "'button'" }
1669
1773
  }
1670
1774
  ],
1671
1775
  "slots": [
1672
- { "name": "", "description": "The component's main content" },
1673
- {
1674
- "name": "my-named-slot",
1675
- "description": "A named slot of the component"
1676
- }
1677
- ],
1678
- "events": [
1679
- {
1680
- "name": "my-tag-my-event",
1681
- "type": "CustomEvent",
1682
- "description": "Fired when something happens"
1683
- },
1684
- {
1685
- "name": "click",
1686
- "description": "Fired when the component is clicked"
1687
- },
1688
- {
1689
- "name": "mouseover",
1690
- "description": "Fired when the mouse is over the component"
1691
- },
1692
- {
1693
- "name": "mouseout",
1694
- "description": "Fired when the mouse is out of the component"
1695
- },
1696
- {
1697
- "name": "focus",
1698
- "description": "Fired when the component is focused"
1699
- },
1700
- {
1701
- "name": "blur",
1702
- "description": "Fired when the component is blurred"
1703
- },
1704
- {
1705
- "name": "change",
1706
- "description": "Fired when the component's value changes"
1707
- }
1776
+ { "name": "", "description": "The component's main content" }
1708
1777
  ],
1778
+ "events": [],
1709
1779
  "js": {
1710
1780
  "properties": [
1781
+ { "name": "role", "type": "string" },
1711
1782
  {
1712
1783
  "name": "as",
1713
1784
  "description": "Defines the semantic element to render",
@@ -1721,7 +1792,7 @@
1721
1792
  {
1722
1793
  "name": "disabled",
1723
1794
  "description": "If true, disables the link",
1724
- "type": "boolean | undefined"
1795
+ "type": "boolean"
1725
1796
  },
1726
1797
  {
1727
1798
  "name": "download",
@@ -1736,13 +1807,17 @@
1736
1807
  {
1737
1808
  "name": "icon",
1738
1809
  "description": "If defined, renders an icon before or after the text",
1739
- "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\""
1810
+ "type": "Icon | undefined"
1740
1811
  },
1741
1812
  {
1742
1813
  "name": "iconPlacement",
1743
1814
  "description": "Defines the position of the icon in relation to the text",
1744
1815
  "type": "'left' | 'right'"
1745
1816
  },
1817
+ {
1818
+ "name": "onClick",
1819
+ "description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
1820
+ },
1746
1821
  {
1747
1822
  "name": "rel",
1748
1823
  "description": "If defined, describes the relationship between a linked resource and the current document",
@@ -1766,52 +1841,101 @@
1766
1841
  {
1767
1842
  "name": "type",
1768
1843
  "description": "Defines the type of button",
1769
- "type": "'button' | 'submit' | 'reset'"
1770
- },
1771
- {
1772
- "name": "onClick",
1773
- "description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
1774
- "type": "function"
1844
+ "type": "SkfLinkType"
1775
1845
  }
1776
1846
  ],
1847
+ "events": []
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "skf-menu",
1852
+ "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",
1853
+ "doc-url": "",
1854
+ "attributes": [
1855
+ {
1856
+ "name": "placement",
1857
+ "description": "The placement of the menu",
1858
+ "value": {
1859
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
1860
+ "default": "'bottom-start'"
1861
+ }
1862
+ },
1863
+ {
1864
+ "name": "anchor",
1865
+ "description": "The id of the element the menu will be anchored to",
1866
+ "value": { "type": "string" }
1867
+ }
1868
+ ],
1869
+ "slots": [{ "name": "", "description": "The menu popover content" }],
1870
+ "events": [
1871
+ {
1872
+ "name": "skf-opened",
1873
+ "type": "CustomEvent",
1874
+ "description": "Fired when the menu is opened"
1875
+ },
1876
+ {
1877
+ "name": "skf-closed",
1878
+ "type": "CustomEvent",
1879
+ "description": "Fired when the menu is closed"
1880
+ }
1881
+ ],
1882
+ "js": {
1883
+ "properties": [],
1777
1884
  "events": [
1778
1885
  {
1779
- "name": "my-tag-my-event",
1886
+ "name": "skf-opened",
1780
1887
  "type": "CustomEvent",
1781
- "description": "Fired when something happens"
1782
- },
1783
- {
1784
- "name": "click",
1785
- "description": "Fired when the component is clicked"
1786
- },
1787
- {
1788
- "name": "mouseover",
1789
- "description": "Fired when the mouse is over the component"
1790
- },
1791
- {
1792
- "name": "mouseout",
1793
- "description": "Fired when the mouse is out of the component"
1794
- },
1795
- {
1796
- "name": "focus",
1797
- "description": "Fired when the component is focused"
1798
- },
1799
- {
1800
- "name": "blur",
1801
- "description": "Fired when the component is blurred"
1888
+ "description": "Fired when the menu is opened"
1802
1889
  },
1803
1890
  {
1804
- "name": "change",
1805
- "description": "Fired when the component's value changes"
1891
+ "name": "skf-closed",
1892
+ "type": "CustomEvent",
1893
+ "description": "Fired when the menu is closed"
1806
1894
  }
1807
1895
  ]
1808
1896
  }
1809
1897
  },
1898
+ {
1899
+ "name": "skf-nav-item",
1900
+ "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",
1901
+ "doc-url": "",
1902
+ "attributes": [
1903
+ { "name": "href", "value": { "type": "string", "default": "'#'" } },
1904
+ {
1905
+ "name": "icon",
1906
+ "value": { "type": "SkfLink['icon'] | undefined" }
1907
+ }
1908
+ ],
1909
+ "slots": [
1910
+ { "name": "", "description": "The component's main content" }
1911
+ ],
1912
+ "events": [],
1913
+ "js": {
1914
+ "properties": [
1915
+ { "name": "href", "type": "string" },
1916
+ { "name": "icon", "type": "SkfLink['icon'] | undefined" }
1917
+ ],
1918
+ "events": []
1919
+ }
1920
+ },
1810
1921
  {
1811
1922
  "name": "skf-popover",
1812
- "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",
1923
+ "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",
1813
1924
  "doc-url": "",
1814
1925
  "attributes": [
1926
+ {
1927
+ "name": "placement",
1928
+ "description": "The placement of the popover",
1929
+ "value": {
1930
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
1931
+ "default": "'bottom-start'"
1932
+ }
1933
+ },
1934
+ {
1935
+ "name": "anchor",
1936
+ "description": "The id of the element the menu will be anchored to",
1937
+ "value": { "type": "string" }
1938
+ },
1815
1939
  {
1816
1940
  "name": "offset",
1817
1941
  "description": "If defined, sets a custom offset for the popover",
@@ -1825,8 +1949,16 @@
1825
1949
  ],
1826
1950
  "slots": [{ "name": "", "description": "The popover content" }],
1827
1951
  "events": [
1828
- { "name": "open", "description": "Fired when the menu is opened" },
1829
- { "name": "close", "description": "Fired when the menu is closed" }
1952
+ {
1953
+ "name": "skf-opened",
1954
+ "type": "CustomEvent",
1955
+ "description": "Fired when the menu is opened"
1956
+ },
1957
+ {
1958
+ "name": "skf-closed",
1959
+ "type": "CustomEvent",
1960
+ "description": "Fired when the menu is closed"
1961
+ }
1830
1962
  ],
1831
1963
  "js": {
1832
1964
  "properties": [
@@ -1839,31 +1971,17 @@
1839
1971
  "name": "hideArrow",
1840
1972
  "description": "If true, hides the arrow",
1841
1973
  "type": "boolean"
1842
- },
1843
- { "name": "arrow", "type": "boolean" },
1844
- {
1845
- "name": "placement",
1846
- "description": "The placement of the menu",
1847
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1848
- },
1849
- {
1850
- "name": "isOpen",
1851
- "description": "Whether the menu is open",
1852
- "type": "boolean"
1853
- },
1854
- {
1855
- "name": "anchor",
1856
- "description": "The id of the element the menu will be anchored to",
1857
- "type": "string"
1858
1974
  }
1859
1975
  ],
1860
1976
  "events": [
1861
1977
  {
1862
- "name": "open",
1978
+ "name": "skf-opened",
1979
+ "type": "CustomEvent",
1863
1980
  "description": "Fired when the menu is opened"
1864
1981
  },
1865
1982
  {
1866
- "name": "close",
1983
+ "name": "skf-closed",
1984
+ "type": "CustomEvent",
1867
1985
  "description": "Fired when the menu is closed"
1868
1986
  }
1869
1987
  ]
@@ -1914,33 +2032,33 @@
1914
2032
  },
1915
2033
  {
1916
2034
  "name": "skf-radio",
1917
- "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.",
2035
+ "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.",
1918
2036
  "doc-url": "",
1919
2037
  "attributes": [
1920
2038
  {
1921
2039
  "name": "disabled",
1922
2040
  "description": "If true, sets disabled state",
1923
- "value": { "type": "boolean" }
2041
+ "value": { "type": "boolean", "default": "false" }
1924
2042
  },
1925
2043
  {
1926
2044
  "name": "required",
1927
2045
  "description": "If true, value is required or must be checked for the form to be submittable",
1928
- "value": { "type": "boolean" }
2046
+ "value": { "type": "boolean", "default": "false" }
1929
2047
  },
1930
2048
  {
1931
2049
  "name": "debug",
1932
2050
  "description": "If true, outputs helping hints in console",
1933
- "value": { "type": "boolean | undefined" }
2051
+ "value": { "type": "boolean", "default": "false" }
1934
2052
  },
1935
2053
  {
1936
2054
  "name": "checked",
1937
2055
  "description": "If true, outputs helping hints in console",
1938
- "value": { "type": "boolean | undefined" }
2056
+ "value": { "type": "boolean", "default": "false" }
1939
2057
  },
1940
2058
  {
1941
2059
  "name": "custom-invalid",
1942
2060
  "description": "If true, forces component to invalid state until removed",
1943
- "value": { "type": "boolean | undefined" }
2061
+ "value": { "type": "boolean", "default": "false" }
1944
2062
  },
1945
2063
  {
1946
2064
  "name": "label",
@@ -1965,14 +2083,12 @@
1965
2083
  {
1966
2084
  "name": "severity",
1967
2085
  "description": "If defined, displays provided severity state",
1968
- "value": {
1969
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
1970
- }
2086
+ "value": { "type": "FormFieldSeverity | undefined" }
1971
2087
  },
1972
2088
  {
1973
2089
  "name": "show-valid",
1974
2090
  "description": "If true, displays valid state after interaction",
1975
- "value": { "type": "boolean | undefined" }
2091
+ "value": { "type": "boolean", "default": "false" }
1976
2092
  },
1977
2093
  {
1978
2094
  "name": "value",
@@ -1989,7 +2105,8 @@
1989
2105
  "events": [
1990
2106
  {
1991
2107
  "name": "change",
1992
- "description": "{object} - When the value of the input changes"
2108
+ "type": "Event",
2109
+ "description": "When the value of the input changes"
1993
2110
  }
1994
2111
  ],
1995
2112
  "js": {
@@ -1997,17 +2114,17 @@
1997
2114
  {
1998
2115
  "name": "debug",
1999
2116
  "description": "If true, outputs helping hints in console",
2000
- "type": "boolean | undefined"
2117
+ "type": "boolean"
2001
2118
  },
2002
2119
  {
2003
2120
  "name": "checked",
2004
2121
  "description": "If true, outputs helping hints in console",
2005
- "type": "boolean | undefined"
2122
+ "type": "boolean"
2006
2123
  },
2007
2124
  {
2008
2125
  "name": "customInvalid",
2009
2126
  "description": "If true, forces component to invalid state until removed",
2010
- "type": "boolean | undefined"
2127
+ "type": "boolean"
2011
2128
  },
2012
2129
  {
2013
2130
  "name": "label",
@@ -2032,12 +2149,12 @@
2032
2149
  {
2033
2150
  "name": "severity",
2034
2151
  "description": "If defined, displays provided severity state",
2035
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2152
+ "type": "FormFieldSeverity | undefined"
2036
2153
  },
2037
2154
  {
2038
2155
  "name": "showValid",
2039
2156
  "description": "If true, displays valid state after interaction",
2040
- "type": "boolean | undefined"
2157
+ "type": "boolean"
2041
2158
  },
2042
2159
  {
2043
2160
  "name": "value",
@@ -2048,20 +2165,194 @@
2048
2165
  "events": [
2049
2166
  {
2050
2167
  "name": "change",
2051
- "description": "{object} - When the value of the input changes"
2168
+ "type": "Event",
2169
+ "description": "When the value of the input changes"
2170
+ }
2171
+ ]
2172
+ }
2173
+ },
2174
+ {
2175
+ "name": "skf-segmented-button-item",
2176
+ "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",
2177
+ "doc-url": "",
2178
+ "attributes": [
2179
+ {
2180
+ "name": "disabled",
2181
+ "description": "If true, items is marked as disabled",
2182
+ "value": { "type": "boolean", "default": "false" }
2183
+ },
2184
+ {
2185
+ "name": "selected",
2186
+ "description": "If true, items is marked as selected",
2187
+ "value": { "type": "boolean", "default": "false" }
2188
+ },
2189
+ {
2190
+ "name": "value",
2191
+ "description": "Sets the item value",
2192
+ "value": { "type": "string", "default": "''" }
2193
+ }
2194
+ ],
2195
+ "slots": [{ "name": "", "description": "Label for the button" }],
2196
+ "events": [
2197
+ {
2198
+ "name": "skf-segmented-button-item-select",
2199
+ "type": "CustomEvent",
2200
+ "description": "Fired when selected"
2201
+ }
2202
+ ],
2203
+ "js": {
2204
+ "properties": [
2205
+ {
2206
+ "name": "disabled",
2207
+ "description": "If true, items is marked as disabled",
2208
+ "type": "boolean"
2209
+ },
2210
+ {
2211
+ "name": "selected",
2212
+ "description": "If true, items is marked as selected",
2213
+ "type": "boolean"
2214
+ },
2215
+ {
2216
+ "name": "value",
2217
+ "description": "Sets the item value",
2218
+ "type": "string"
2219
+ }
2220
+ ],
2221
+ "events": [
2222
+ {
2223
+ "name": "skf-segmented-button-item-select",
2224
+ "type": "CustomEvent",
2225
+ "description": "Fired when selected"
2052
2226
  }
2053
2227
  ]
2054
2228
  }
2055
2229
  },
2230
+ {
2231
+ "name": "skf-segmented-button",
2232
+ "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>`",
2233
+ "doc-url": "",
2234
+ "attributes": [
2235
+ {
2236
+ "name": "multiple",
2237
+ "description": "If true, allowes multiple items to be selected",
2238
+ "value": { "type": "boolean", "default": "false" }
2239
+ }
2240
+ ],
2241
+ "slots": [
2242
+ {
2243
+ "name": "",
2244
+ "description": "One or more `<skf-segmented-button-item>`"
2245
+ }
2246
+ ],
2247
+ "events": [],
2248
+ "js": {
2249
+ "properties": [
2250
+ {
2251
+ "name": "multiple",
2252
+ "description": "If true, allowes multiple items to be selected",
2253
+ "type": "boolean"
2254
+ }
2255
+ ],
2256
+ "events": []
2257
+ }
2258
+ },
2259
+ {
2260
+ "name": "skf-select-option-group",
2261
+ "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",
2262
+ "doc-url": "",
2263
+ "attributes": [
2264
+ {
2265
+ "name": "label",
2266
+ "value": { "type": "string", "default": "'Default label'" }
2267
+ }
2268
+ ],
2269
+ "slots": [
2270
+ { "name": "", "description": "The component's placeholder content" }
2271
+ ],
2272
+ "events": [],
2273
+ "js": {
2274
+ "properties": [{ "name": "label", "type": "string" }],
2275
+ "events": []
2276
+ }
2277
+ },
2278
+ {
2279
+ "name": "skf-tag",
2280
+ "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",
2281
+ "doc-url": "",
2282
+ "attributes": [
2283
+ {
2284
+ "name": "size",
2285
+ "description": "Specifies Tag size",
2286
+ "value": { "type": "'sm' | 'md'", "default": "'md'" }
2287
+ },
2288
+ {
2289
+ "name": "icon",
2290
+ "description": "If defined, displays leading/provided icon",
2291
+ "value": { "type": "Icon | undefined" }
2292
+ },
2293
+ {
2294
+ "name": "color",
2295
+ "description": "If defined, gives the supplied appearance",
2296
+ "value": { "type": "Severity | undefined" }
2297
+ },
2298
+ {
2299
+ "name": "removable",
2300
+ "description": "If true, adds trailing button to remove tag",
2301
+ "value": { "type": "boolean", "default": "false" }
2302
+ }
2303
+ ],
2304
+ "slots": [
2305
+ { "name": "", "description": "The component's placeholder content" }
2306
+ ],
2307
+ "events": [],
2308
+ "js": {
2309
+ "properties": [
2310
+ {
2311
+ "name": "size",
2312
+ "description": "Specifies Tag size",
2313
+ "type": "'sm' | 'md'"
2314
+ },
2315
+ {
2316
+ "name": "icon",
2317
+ "description": "If defined, displays leading/provided icon",
2318
+ "type": "Icon | undefined"
2319
+ },
2320
+ {
2321
+ "name": "color",
2322
+ "description": "If defined, gives the supplied appearance",
2323
+ "type": "Severity | undefined"
2324
+ },
2325
+ {
2326
+ "name": "onClick",
2327
+ "description": "If defined, accepts a function that runs on click"
2328
+ },
2329
+ {
2330
+ "name": "onRemove",
2331
+ "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
2332
+ },
2333
+ {
2334
+ "name": "removable",
2335
+ "description": "If true, adds trailing button to remove tag",
2336
+ "type": "boolean"
2337
+ }
2338
+ ],
2339
+ "events": []
2340
+ }
2341
+ },
2056
2342
  {
2057
2343
  "name": "skf-select",
2058
- "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",
2344
+ "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",
2059
2345
  "doc-url": "",
2060
2346
  "attributes": [
2061
2347
  {
2062
2348
  "name": "disabled",
2063
- "description": "If true, the select is disabled\t`default: false`",
2064
- "value": { "type": "boolean" }
2349
+ "description": "If true, the select is disabled",
2350
+ "value": { "type": "boolean", "default": "false" }
2351
+ },
2352
+ {
2353
+ "name": "required",
2354
+ "description": "If true, the select is required",
2355
+ "value": { "type": "boolean", "default": "false" }
2065
2356
  },
2066
2357
  {
2067
2358
  "name": "button-label",
@@ -2076,12 +2367,12 @@
2076
2367
  {
2077
2368
  "name": "hide-label",
2078
2369
  "description": "If true, hides the label visually",
2079
- "value": { "type": "boolean | undefined" }
2370
+ "value": { "type": "boolean", "default": "false" }
2080
2371
  },
2081
2372
  {
2082
2373
  "name": "hide-tags",
2083
2374
  "description": "If true and mulltiple is true, no tags are displayed under the select",
2084
- "value": { "type": "boolean | undefined" }
2375
+ "value": { "type": "boolean", "default": "false" }
2085
2376
  },
2086
2377
  {
2087
2378
  "name": "hint",
@@ -2106,7 +2397,7 @@
2106
2397
  {
2107
2398
  "name": "multiple",
2108
2399
  "description": "If true, allows for multiple options to be selected",
2109
- "value": { "type": "boolean | undefined" }
2400
+ "value": { "type": "boolean", "default": "false" }
2110
2401
  },
2111
2402
  {
2112
2403
  "name": "name",
@@ -2121,12 +2412,12 @@
2121
2412
  {
2122
2413
  "name": "severity",
2123
2414
  "description": "If defined, displays provided severity state",
2124
- "value": { "type": "FormFieldBaseProps['severity'] | undefined" }
2415
+ "value": { "type": "FormFieldSeverity | undefined" }
2125
2416
  },
2126
2417
  {
2127
2418
  "name": "show-valid",
2128
2419
  "description": "If true, displays valid state after interaction",
2129
- "value": { "type": "boolean | undefined" }
2420
+ "value": { "type": "boolean", "default": "false" }
2130
2421
  },
2131
2422
  {
2132
2423
  "name": "size",
@@ -2140,19 +2431,27 @@
2140
2431
  "events": [
2141
2432
  {
2142
2433
  "name": "change",
2434
+ "type": "Event",
2143
2435
  "description": "Fired when the selected option(s) changes"
2144
2436
  },
2145
2437
  {
2146
2438
  "name": "invalid",
2439
+ "type": "Event",
2147
2440
  "description": "Fired when the select is invalid"
2148
2441
  },
2149
- { "name": "reset", "description": "Fired when the form is reset" },
2150
2442
  {
2151
- "name": "skf-select:dropdown",
2443
+ "name": "reset",
2444
+ "type": "Event",
2445
+ "description": "Fired when the form is reset"
2446
+ },
2447
+ {
2448
+ "name": "skf-select-dropdown",
2449
+ "type": "CustomEvent",
2152
2450
  "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
2153
2451
  },
2154
2452
  {
2155
- "name": "skf-select-option:select",
2453
+ "name": "skf-select-option-select",
2454
+ "type": "CustomEvent",
2156
2455
  "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
2157
2456
  }
2158
2457
  ],
@@ -2171,12 +2470,12 @@
2171
2470
  {
2172
2471
  "name": "hideLabel",
2173
2472
  "description": "If true, hides the label visually",
2174
- "type": "boolean | undefined"
2473
+ "type": "boolean"
2175
2474
  },
2176
2475
  {
2177
2476
  "name": "hideTags",
2178
2477
  "description": "If true and mulltiple is true, no tags are displayed under the select",
2179
- "type": "boolean | undefined"
2478
+ "type": "boolean"
2180
2479
  },
2181
2480
  {
2182
2481
  "name": "hint",
@@ -2209,7 +2508,7 @@
2209
2508
  {
2210
2509
  "name": "multiple",
2211
2510
  "description": "If true, allows for multiple options to be selected",
2212
- "type": "boolean | undefined"
2511
+ "type": "boolean"
2213
2512
  },
2214
2513
  {
2215
2514
  "name": "name",
@@ -2224,12 +2523,12 @@
2224
2523
  {
2225
2524
  "name": "severity",
2226
2525
  "description": "If defined, displays provided severity state",
2227
- "type": "FormFieldBaseProps['severity'] | undefined"
2526
+ "type": "FormFieldSeverity | undefined"
2228
2527
  },
2229
2528
  {
2230
2529
  "name": "showValid",
2231
2530
  "description": "If true, displays valid state after interaction",
2232
- "type": "boolean | undefined"
2531
+ "type": "boolean"
2233
2532
  },
2234
2533
  {
2235
2534
  "name": "size",
@@ -2245,22 +2544,27 @@
2245
2544
  "events": [
2246
2545
  {
2247
2546
  "name": "change",
2547
+ "type": "Event",
2248
2548
  "description": "Fired when the selected option(s) changes"
2249
2549
  },
2250
2550
  {
2251
2551
  "name": "invalid",
2552
+ "type": "Event",
2252
2553
  "description": "Fired when the select is invalid"
2253
2554
  },
2254
2555
  {
2255
2556
  "name": "reset",
2557
+ "type": "Event",
2256
2558
  "description": "Fired when the form is reset"
2257
2559
  },
2258
2560
  {
2259
- "name": "skf-select:dropdown",
2561
+ "name": "skf-select-dropdown",
2562
+ "type": "CustomEvent",
2260
2563
  "description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
2261
2564
  },
2262
2565
  {
2263
- "name": "skf-select-option:select",
2566
+ "name": "skf-select-option-select",
2567
+ "type": "CustomEvent",
2264
2568
  "description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
2265
2569
  }
2266
2570
  ]
@@ -2268,28 +2572,28 @@
2268
2572
  },
2269
2573
  {
2270
2574
  "name": "skf-select-option",
2271
- "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).",
2575
+ "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).",
2272
2576
  "doc-url": "",
2273
2577
  "attributes": [
2274
2578
  {
2275
2579
  "name": "disabled",
2276
2580
  "description": "If true, prevents interaction with the option",
2277
- "value": { "type": "boolean | undefined" }
2581
+ "value": { "type": "boolean", "default": "false" }
2278
2582
  },
2279
2583
  {
2280
2584
  "name": "icon",
2281
2585
  "description": "If defined, set an icon",
2282
- "value": { "type": "SkfIcon['name'] | undefined" }
2586
+ "value": { "type": "Icon | undefined" }
2283
2587
  },
2284
2588
  {
2285
2589
  "name": "icon-color",
2286
2590
  "description": "If defined, sets provided color on the icon",
2287
- "value": { "type": "SeverityFgColor | undefined" }
2591
+ "value": { "type": "IconColor | undefined" }
2288
2592
  },
2289
2593
  {
2290
2594
  "name": "selected",
2291
2595
  "description": "If true, sets the option as selected",
2292
- "value": { "type": "boolean | undefined" }
2596
+ "value": { "type": "boolean", "default": "false" }
2293
2597
  },
2294
2598
  {
2295
2599
  "name": "short-label",
@@ -2311,7 +2615,7 @@
2311
2615
  ],
2312
2616
  "events": [
2313
2617
  {
2314
- "name": "skf-select-option:select",
2618
+ "name": "skf-select-option-select",
2315
2619
  "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2316
2620
  }
2317
2621
  ],
@@ -2320,22 +2624,22 @@
2320
2624
  {
2321
2625
  "name": "disabled",
2322
2626
  "description": "If true, prevents interaction with the option",
2323
- "type": "boolean | undefined"
2627
+ "type": "boolean"
2324
2628
  },
2325
2629
  {
2326
2630
  "name": "icon",
2327
2631
  "description": "If defined, set an icon",
2328
- "type": "SkfIcon['name'] | undefined"
2632
+ "type": "Icon | undefined"
2329
2633
  },
2330
2634
  {
2331
2635
  "name": "iconColor",
2332
2636
  "description": "If defined, sets provided color on the icon",
2333
- "type": "SeverityFgColor | undefined"
2637
+ "type": "IconColor | undefined"
2334
2638
  },
2335
2639
  {
2336
2640
  "name": "selected",
2337
2641
  "description": "If true, sets the option as selected",
2338
- "type": "boolean | undefined"
2642
+ "type": "boolean"
2339
2643
  },
2340
2644
  {
2341
2645
  "name": "shortLabel",
@@ -2356,50 +2660,31 @@
2356
2660
  ],
2357
2661
  "events": [
2358
2662
  {
2359
- "name": "skf-select-option:select",
2663
+ "name": "skf-select-option-select",
2360
2664
  "description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
2361
2665
  }
2362
2666
  ]
2363
2667
  }
2364
2668
  },
2365
2669
  {
2366
- "name": "skf-select-option-group",
2367
- "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",
2368
- "doc-url": "",
2369
- "attributes": [
2370
- {
2371
- "name": "label",
2372
- "value": { "type": "string", "default": "'Default label'" }
2373
- }
2374
- ],
2375
- "slots": [
2376
- { "name": "", "description": "The component's placeholder content" }
2377
- ],
2378
- "events": [],
2379
- "js": {
2380
- "properties": [{ "name": "label", "type": "string" }],
2381
- "events": []
2382
- }
2383
- },
2384
- {
2385
- "name": "skf-stepper",
2386
- "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>`",
2670
+ "name": "skf-stepper-item",
2671
+ "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",
2387
2672
  "doc-url": "",
2388
2673
  "attributes": [
2389
2674
  {
2390
- "name": "activeIndex",
2391
- "description": "Sets the active item",
2392
- "value": { "type": "number", "default": "-1" }
2675
+ "name": "state",
2676
+ "description": "If defined, gives the supplied appearance",
2677
+ "value": {
2678
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2679
+ }
2393
2680
  },
2394
2681
  {
2395
- "name": "linear",
2396
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2682
+ "name": "completed",
2683
+ "description": "If true, item marked as completed",
2397
2684
  "value": { "type": "boolean", "default": "false" }
2398
2685
  }
2399
2686
  ],
2400
- "slots": [
2401
- { "name": "", "description": "One or more `<skf-stepper-item>`" }
2402
- ],
2687
+ "slots": [{ "name": "", "description": "Label of the stepper item" }],
2403
2688
  "events": [
2404
2689
  {
2405
2690
  "name": "skf-stepper-item-select",
@@ -2409,15 +2694,17 @@
2409
2694
  "js": {
2410
2695
  "properties": [
2411
2696
  {
2412
- "name": "activeIndex",
2413
- "description": "Sets the active item",
2414
- "type": "number"
2697
+ "name": "state",
2698
+ "description": "If defined, gives the supplied appearance",
2699
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2415
2700
  },
2416
2701
  {
2417
- "name": "linear",
2418
- "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2702
+ "name": "completed",
2703
+ "description": "If true, item marked as completed",
2419
2704
  "type": "boolean"
2420
- }
2705
+ },
2706
+ { "name": "_setInternalState" },
2707
+ { "name": "role", "type": "string" }
2421
2708
  ],
2422
2709
  "events": [
2423
2710
  {
@@ -2428,48 +2715,48 @@
2428
2715
  }
2429
2716
  },
2430
2717
  {
2431
- "name": "skf-stepper-item",
2432
- "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",
2718
+ "name": "skf-stepper",
2719
+ "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>`",
2433
2720
  "doc-url": "",
2434
2721
  "attributes": [
2435
2722
  {
2436
- "name": "state",
2437
- "description": "If defined, gives the supplied appearance",
2438
- "value": {
2439
- "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2440
- }
2723
+ "name": "active-index",
2724
+ "description": "Sets the active item",
2725
+ "value": { "type": "number", "default": "-1" }
2441
2726
  },
2442
2727
  {
2443
- "name": "completed",
2444
- "description": "If true, item marked as completed",
2728
+ "name": "linear",
2729
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2445
2730
  "value": { "type": "boolean", "default": "false" }
2446
2731
  }
2447
2732
  ],
2448
- "slots": [{ "name": "", "description": "Label of the stepper item" }],
2733
+ "slots": [
2734
+ { "name": "", "description": "One or more `<skf-stepper-item>`" }
2735
+ ],
2449
2736
  "events": [
2450
2737
  {
2451
2738
  "name": "skf-stepper-item-select",
2739
+ "type": "CustomEvent",
2452
2740
  "description": "Dispatched when the stepper item is selected"
2453
2741
  }
2454
2742
  ],
2455
2743
  "js": {
2456
2744
  "properties": [
2457
2745
  {
2458
- "name": "state",
2459
- "description": "If defined, gives the supplied appearance",
2460
- "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2746
+ "name": "activeIndex",
2747
+ "description": "Sets the active item",
2748
+ "type": "number"
2461
2749
  },
2462
2750
  {
2463
- "name": "completed",
2464
- "description": "If true, item marked as completed",
2751
+ "name": "linear",
2752
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2465
2753
  "type": "boolean"
2466
- },
2467
- { "name": "_setInternalState" },
2468
- { "name": "role", "type": "string" }
2754
+ }
2469
2755
  ],
2470
2756
  "events": [
2471
2757
  {
2472
2758
  "name": "skf-stepper-item-select",
2759
+ "type": "CustomEvent",
2473
2760
  "description": "Dispatched when the stepper item is selected"
2474
2761
  }
2475
2762
  ]
@@ -2477,33 +2764,33 @@
2477
2764
  },
2478
2765
  {
2479
2766
  "name": "skf-switch",
2480
- "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.",
2767
+ "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.",
2481
2768
  "doc-url": "",
2482
2769
  "attributes": [
2483
2770
  {
2484
2771
  "name": "disabled",
2485
2772
  "description": "If true, sets disabled state",
2486
- "value": { "type": "boolean" }
2773
+ "value": { "type": "boolean", "default": "false" }
2487
2774
  },
2488
2775
  {
2489
2776
  "name": "required",
2490
2777
  "description": "If true, value is required or must be checked for the form to be submittable",
2491
- "value": { "type": "boolean" }
2778
+ "value": { "type": "boolean", "default": "false" }
2492
2779
  },
2493
2780
  {
2494
2781
  "name": "debug",
2495
2782
  "description": "If true, outputs helping hints in console",
2496
- "value": { "type": "boolean | undefined" }
2783
+ "value": { "type": "boolean", "default": "false" }
2497
2784
  },
2498
2785
  {
2499
2786
  "name": "checked",
2500
2787
  "description": "If true, outputs helping hints in console",
2501
- "value": { "type": "boolean | undefined" }
2788
+ "value": { "type": "boolean", "default": "false" }
2502
2789
  },
2503
2790
  {
2504
2791
  "name": "hide-label",
2505
2792
  "description": "If true, hides the label visually",
2506
- "value": { "type": "boolean | undefined" }
2793
+ "value": { "type": "boolean", "default": "false" }
2507
2794
  },
2508
2795
  {
2509
2796
  "name": "label",
@@ -2543,17 +2830,17 @@
2543
2830
  {
2544
2831
  "name": "debug",
2545
2832
  "description": "If true, outputs helping hints in console",
2546
- "type": "boolean | undefined"
2833
+ "type": "boolean"
2547
2834
  },
2548
2835
  {
2549
2836
  "name": "checked",
2550
2837
  "description": "If true, outputs helping hints in console",
2551
- "type": "boolean | undefined"
2838
+ "type": "boolean"
2552
2839
  },
2553
2840
  {
2554
2841
  "name": "hideLabel",
2555
2842
  "description": "If true, hides the label visually",
2556
- "type": "boolean | undefined"
2843
+ "type": "boolean"
2557
2844
  },
2558
2845
  {
2559
2846
  "name": "label",
@@ -2585,50 +2872,29 @@
2585
2872
  }
2586
2873
  },
2587
2874
  {
2588
- "name": "skf-tab",
2589
- "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",
2875
+ "name": "skf-tab-panel",
2876
+ "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",
2590
2877
  "doc-url": "",
2591
2878
  "attributes": [
2592
2879
  {
2593
- "name": "panel",
2594
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2880
+ "name": "name",
2881
+ "description": "The tab panel's name.",
2595
2882
  "value": { "type": "string", "default": "''" }
2596
2883
  }
2597
2884
  ],
2598
- "slots": [{ "name": "", "description": "The tab's label" }],
2599
- "events": [
2600
- {
2601
- "name": "skf-tab-select",
2602
- "type": "CustomEvent",
2603
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2604
- },
2605
- {
2606
- "name": "click",
2607
- "description": "Fired when the component is clicked"
2608
- }
2609
- ],
2885
+ "slots": [{ "name": "", "description": "The tab panel's content" }],
2886
+ "events": [],
2610
2887
  "js": {
2611
2888
  "properties": [
2612
2889
  {
2613
- "name": "panel",
2614
- "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2890
+ "name": "name",
2891
+ "description": "The tab panel's name.",
2615
2892
  "type": "string"
2616
2893
  },
2617
- { "name": "selected", "type": "boolean" },
2618
- { "name": "variant", "type": "SkfTabGroup['variant']" },
2894
+ { "name": "active", "type": "boolean" },
2619
2895
  { "name": "role", "type": "string" }
2620
2896
  ],
2621
- "events": [
2622
- {
2623
- "name": "skf-tab-select",
2624
- "type": "CustomEvent",
2625
- "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2626
- },
2627
- {
2628
- "name": "click",
2629
- "description": "Fired when the component is clicked"
2630
- }
2631
- ]
2897
+ "events": []
2632
2898
  }
2633
2899
  },
2634
2900
  {
@@ -2708,97 +2974,50 @@
2708
2974
  }
2709
2975
  },
2710
2976
  {
2711
- "name": "skf-tab-panel",
2712
- "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",
2977
+ "name": "skf-tab",
2978
+ "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",
2713
2979
  "doc-url": "",
2714
2980
  "attributes": [
2715
2981
  {
2716
- "name": "name",
2717
- "description": "The tab panel's name.",
2982
+ "name": "panel",
2983
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
2718
2984
  "value": { "type": "string", "default": "''" }
2719
2985
  }
2720
2986
  ],
2721
- "slots": [{ "name": "", "description": "The tab panel's content" }],
2722
- "events": [],
2723
- "js": {
2724
- "properties": [
2725
- {
2726
- "name": "name",
2727
- "description": "The tab panel's name.",
2728
- "type": "string"
2729
- },
2730
- { "name": "active", "type": "boolean" },
2731
- { "name": "role", "type": "string" }
2732
- ],
2733
- "events": []
2734
- }
2735
- },
2736
- {
2737
- "name": "skf-tag",
2738
- "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",
2739
- "doc-url": "",
2740
- "attributes": [
2741
- {
2742
- "name": "size",
2743
- "description": "Specifies Tag size",
2744
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
2745
- },
2746
- {
2747
- "name": "icon",
2748
- "description": "If defined, displays leading/provided icon",
2749
- "value": {
2750
- "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\""
2751
- }
2752
- },
2987
+ "slots": [{ "name": "", "description": "The tab's label" }],
2988
+ "events": [
2753
2989
  {
2754
- "name": "color",
2755
- "description": "If defined, gives the supplied appearance",
2756
- "value": {
2757
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2758
- }
2990
+ "name": "skf-tab-select",
2991
+ "type": "CustomEvent",
2992
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2759
2993
  },
2760
2994
  {
2761
- "name": "removable",
2762
- "description": "If true, adds trailing button to remove tag",
2763
- "value": { "type": "boolean | undefined" }
2995
+ "name": "click",
2996
+ "description": "Fired when the component is clicked"
2764
2997
  }
2765
2998
  ],
2766
- "slots": [
2767
- { "name": "", "description": "The component's placeholder content" }
2768
- ],
2769
- "events": [],
2770
2999
  "js": {
2771
3000
  "properties": [
2772
3001
  {
2773
- "name": "size",
2774
- "description": "Specifies Tag size",
2775
- "type": "'sm' | 'md' | 'lg'"
2776
- },
2777
- {
2778
- "name": "icon",
2779
- "description": "If defined, displays leading/provided icon",
2780
- "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\""
2781
- },
2782
- {
2783
- "name": "color",
2784
- "description": "If defined, gives the supplied appearance",
2785
- "type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
2786
- },
2787
- {
2788
- "name": "onClick",
2789
- "description": "If defined, accepts a function that runs on click"
3002
+ "name": "panel",
3003
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3004
+ "type": "string"
2790
3005
  },
3006
+ { "name": "selected", "type": "boolean" },
3007
+ { "name": "variant", "type": "SkfTabGroup['variant']" },
3008
+ { "name": "role", "type": "string" }
3009
+ ],
3010
+ "events": [
2791
3011
  {
2792
- "name": "onRemove",
2793
- "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
3012
+ "name": "skf-tab-select",
3013
+ "type": "CustomEvent",
3014
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
2794
3015
  },
2795
3016
  {
2796
- "name": "removable",
2797
- "description": "If true, adds trailing button to remove tag",
2798
- "type": "boolean | undefined"
3017
+ "name": "click",
3018
+ "description": "Fired when the component is clicked"
2799
3019
  }
2800
- ],
2801
- "events": []
3020
+ ]
2802
3021
  }
2803
3022
  },
2804
3023
  {
@@ -2809,12 +3028,12 @@
2809
3028
  {
2810
3029
  "name": "disabled",
2811
3030
  "description": "If true, sets disabled state",
2812
- "value": { "type": "boolean" }
3031
+ "value": { "type": "boolean", "default": "false" }
2813
3032
  },
2814
3033
  {
2815
3034
  "name": "required",
2816
3035
  "description": "If true, value is required or must be checked for the form to be submittable",
2817
- "value": { "type": "boolean" }
3036
+ "value": { "type": "boolean", "default": "false" }
2818
3037
  },
2819
3038
  {
2820
3039
  "name": "cols",
@@ -2829,12 +3048,12 @@
2829
3048
  {
2830
3049
  "name": "debug",
2831
3050
  "description": "If true, outputs helping hints in console",
2832
- "value": { "type": "boolean | undefined" }
3051
+ "value": { "type": "boolean", "default": "false" }
2833
3052
  },
2834
3053
  {
2835
3054
  "name": "hide-label",
2836
3055
  "description": "If true, hides the label visually",
2837
- "value": { "type": "boolean | undefined" }
3056
+ "value": { "type": "boolean", "default": "false" }
2838
3057
  },
2839
3058
  {
2840
3059
  "name": "hint",
@@ -2869,7 +3088,7 @@
2869
3088
  {
2870
3089
  "name": "readonly",
2871
3090
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
2872
- "value": { "type": "boolean | undefined" }
3091
+ "value": { "type": "boolean", "default": "false" }
2873
3092
  },
2874
3093
  {
2875
3094
  "name": "required-label",
@@ -2884,14 +3103,12 @@
2884
3103
  {
2885
3104
  "name": "severity",
2886
3105
  "description": "If defined, displays provided severity state",
2887
- "value": {
2888
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
2889
- }
3106
+ "value": { "type": "FormFieldSeverity | undefined" }
2890
3107
  },
2891
3108
  {
2892
3109
  "name": "show-valid",
2893
3110
  "description": "If true, displays valid state after interaction",
2894
- "value": { "type": "boolean | undefined" }
3111
+ "value": { "type": "boolean", "default": "false" }
2895
3112
  },
2896
3113
  {
2897
3114
  "name": "size",
@@ -2942,12 +3159,12 @@
2942
3159
  {
2943
3160
  "name": "debug",
2944
3161
  "description": "If true, outputs helping hints in console",
2945
- "type": "boolean | undefined"
3162
+ "type": "boolean"
2946
3163
  },
2947
3164
  {
2948
3165
  "name": "hideLabel",
2949
3166
  "description": "If true, hides the label visually",
2950
- "type": "boolean | undefined"
3167
+ "type": "boolean"
2951
3168
  },
2952
3169
  {
2953
3170
  "name": "hint",
@@ -2982,7 +3199,7 @@
2982
3199
  {
2983
3200
  "name": "readonly",
2984
3201
  "description": "If true, makes the element not mutable, meaning the user can not edit the control",
2985
- "type": "boolean | undefined"
3202
+ "type": "boolean"
2986
3203
  },
2987
3204
  {
2988
3205
  "name": "requiredLabel",
@@ -2997,12 +3214,12 @@
2997
3214
  {
2998
3215
  "name": "severity",
2999
3216
  "description": "If defined, displays provided severity state",
3000
- "type": "\"success\" | \"info\" | \"warning\" | \"alert\""
3217
+ "type": "FormFieldSeverity | undefined"
3001
3218
  },
3002
3219
  {
3003
3220
  "name": "showValid",
3004
3221
  "description": "If true, displays valid state after interaction",
3005
- "type": "boolean | undefined"
3222
+ "type": "boolean"
3006
3223
  },
3007
3224
  {
3008
3225
  "name": "size",
@@ -3032,9 +3249,31 @@
3032
3249
  ]
3033
3250
  }
3034
3251
  },
3252
+ {
3253
+ "name": "skf-toast-wrapper",
3254
+ "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.",
3255
+ "doc-url": "",
3256
+ "attributes": [
3257
+ {
3258
+ "name": "debug",
3259
+ "value": { "type": "boolean", "default": "false" }
3260
+ }
3261
+ ],
3262
+ "slots": [
3263
+ {
3264
+ "name": "",
3265
+ "description": "The alert components that the toast creates will render here."
3266
+ }
3267
+ ],
3268
+ "events": [],
3269
+ "js": {
3270
+ "properties": [{ "name": "debug", "type": "boolean" }],
3271
+ "events": []
3272
+ }
3273
+ },
3035
3274
  {
3036
3275
  "name": "skf-toast",
3037
- "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",
3276
+ "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",
3038
3277
  "doc-url": "",
3039
3278
  "attributes": [
3040
3279
  {
@@ -3044,17 +3283,17 @@
3044
3283
  {
3045
3284
  "name": "icon",
3046
3285
  "description": "If defined, displays leading icon",
3047
- "value": { "type": "SkfAlert['icon'] | undefined" }
3286
+ "value": { "type": "Icon | undefined" }
3048
3287
  },
3049
3288
  {
3050
3289
  "name": "persistent",
3051
3290
  "description": "If true, renders with an close button and sets aria-role to `status`",
3052
- "value": { "type": "SkfAlert['persistent']", "default": "false" }
3291
+ "value": { "type": "boolean", "default": "false" }
3053
3292
  },
3054
3293
  {
3055
3294
  "name": "severity",
3056
3295
  "description": "If defined, gives the supplied appearance",
3057
- "value": { "type": "SkfAlert['severity']", "default": "'info'" }
3296
+ "value": { "type": "Severity", "default": "'info'" }
3058
3297
  },
3059
3298
  {
3060
3299
  "name": "timer",
@@ -3077,17 +3316,17 @@
3077
3316
  {
3078
3317
  "name": "icon",
3079
3318
  "description": "If defined, displays leading icon",
3080
- "type": "SkfAlert['icon'] | undefined"
3319
+ "type": "Icon | undefined"
3081
3320
  },
3082
3321
  {
3083
3322
  "name": "persistent",
3084
3323
  "description": "If true, renders with an close button and sets aria-role to `status`",
3085
- "type": "SkfAlert['persistent']"
3324
+ "type": "boolean"
3086
3325
  },
3087
3326
  {
3088
3327
  "name": "severity",
3089
3328
  "description": "If defined, gives the supplied appearance",
3090
- "type": "SkfAlert['severity']"
3329
+ "type": "Severity"
3091
3330
  },
3092
3331
  {
3093
3332
  "name": "timer",
@@ -3104,71 +3343,51 @@
3104
3343
  }
3105
3344
  },
3106
3345
  {
3107
- "name": "skf-toast-wrapper",
3108
- "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.",
3346
+ "name": "skf-tooltip",
3347
+ "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",
3109
3348
  "doc-url": "",
3110
3349
  "attributes": [
3111
3350
  {
3112
- "name": "debug",
3113
- "value": { "type": "boolean", "default": "false" }
3114
- }
3115
- ],
3116
- "slots": [
3351
+ "name": "placement",
3352
+ "description": "The placement of the dropdown",
3353
+ "value": {
3354
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
3355
+ "default": "'bottom-start'"
3356
+ }
3357
+ },
3117
3358
  {
3118
- "name": "",
3119
- "description": "The alert components that the toast creates will render here."
3359
+ "name": "anchor",
3360
+ "description": "The id of the element the dropdown will be anchored to",
3361
+ "value": { "type": "string" }
3120
3362
  }
3121
3363
  ],
3122
- "events": [],
3123
- "js": {
3124
- "properties": [{ "name": "debug", "type": "boolean" }],
3125
- "events": []
3126
- }
3127
- },
3128
- {
3129
- "name": "skf-tooltip",
3130
- "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",
3131
- "doc-url": "",
3132
- "attributes": [],
3133
3364
  "slots": [
3134
3365
  { "name": "", "description": "The tooltip popover content" }
3135
3366
  ],
3136
3367
  "events": [
3137
3368
  {
3138
- "name": "open",
3369
+ "name": "skf-opened",
3139
3370
  "description": "Fired when the dropdown is opened"
3140
3371
  },
3141
3372
  {
3142
- "name": "close",
3373
+ "name": "skf-closed",
3143
3374
  "description": "Fired when the dropdown is closed"
3144
3375
  }
3145
3376
  ],
3146
3377
  "js": {
3147
3378
  "properties": [
3379
+ { "name": "role", "type": "string" },
3148
3380
  { "name": "offset", "type": "number" },
3149
- {
3150
- "name": "placement",
3151
- "description": "The placement of the dropdown",
3152
- "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
3153
- },
3154
- {
3155
- "name": "isOpen",
3156
- "description": "Whether the dropdown is open",
3157
- "type": "boolean"
3158
- },
3159
- {
3160
- "name": "anchor",
3161
- "description": "The id of the element the dropdown will be anchored to",
3162
- "type": "string"
3163
- }
3381
+ { "name": "placement", "type": "string" },
3382
+ { "name": "variant", "type": "string" }
3164
3383
  ],
3165
3384
  "events": [
3166
3385
  {
3167
- "name": "open",
3386
+ "name": "skf-opened",
3168
3387
  "description": "Fired when the dropdown is opened"
3169
3388
  },
3170
3389
  {
3171
- "name": "close",
3390
+ "name": "skf-closed",
3172
3391
  "description": "Fired when the dropdown is closed"
3173
3392
  }
3174
3393
  ]