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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/README.md +20 -27
  2. package/custom-elements.json +25490 -0
  3. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  4. package/dist/components/accordion/accordion-item.component.js +98 -0
  5. package/dist/components/accordion/accordion-item.d.ts +3 -3
  6. package/dist/components/accordion/accordion-item.js +4 -5
  7. package/dist/components/accordion/accordion-item.styles.js +77 -0
  8. package/dist/components/accordion/accordion.component.d.ts +10 -14
  9. package/dist/components/accordion/accordion.component.js +10 -11
  10. package/dist/components/accordion/accordion.d.ts +0 -1
  11. package/dist/components/accordion/accordion.js +0 -2
  12. package/dist/components/alert/alert.component.d.ts +12 -12
  13. package/dist/components/alert/alert.component.js +57 -55
  14. package/dist/components/alert/alert.styles.js +50 -51
  15. package/dist/components/breadcrumb/breadcrumb-item.component.js +60 -0
  16. package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +2 -2
  17. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  18. package/dist/components/breadcrumb/breadcrumb-item.styles.js +63 -0
  19. package/dist/components/breadcrumb/breadcrumb.component.d.ts +7 -4
  20. package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
  21. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
  22. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  23. package/dist/components/breadcrumb/breadcrumb.styles.js +25 -0
  24. package/dist/components/button/button.component.d.ts +17 -14
  25. package/dist/components/button/button.component.js +73 -61
  26. package/dist/components/button/button.styles.d.ts +1 -2
  27. package/dist/components/button/button.styles.js +13 -3
  28. package/dist/components/card/card.component.d.ts +6 -1
  29. package/dist/components/card/card.component.js +46 -36
  30. package/dist/components/card/card.styles.js +37 -23
  31. package/dist/components/checkbox/checkbox.component.d.ts +17 -13
  32. package/dist/components/checkbox/checkbox.component.js +74 -61
  33. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  34. package/dist/components/checkbox/checkbox.styles.js +1 -5
  35. package/dist/components/datepicker/datepicker-calendar.component.d.ts +80 -0
  36. package/dist/components/datepicker/datepicker-calendar.component.js +415 -0
  37. package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
  38. package/dist/components/datepicker/datepicker-calendar.js +6 -0
  39. package/dist/components/datepicker/datepicker-calendar.styles.js +202 -0
  40. package/dist/components/datepicker/datepicker-popup.component.d.ts +64 -0
  41. package/dist/components/datepicker/datepicker-popup.component.js +261 -0
  42. package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
  43. package/dist/components/datepicker/datepicker-popup.helpers.d.ts +41 -0
  44. package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
  45. package/dist/components/datepicker/datepicker-popup.js +6 -0
  46. package/dist/components/datepicker/datepicker-popup.styles.js +87 -0
  47. package/dist/components/datepicker/datepicker.component.d.ts +121 -0
  48. package/dist/components/datepicker/datepicker.component.js +456 -0
  49. package/dist/components/datepicker/datepicker.d.ts +8 -0
  50. package/dist/components/datepicker/datepicker.helpers.d.ts +38 -0
  51. package/dist/components/datepicker/datepicker.helpers.js +31 -0
  52. package/dist/components/datepicker/datepicker.js +6 -0
  53. package/dist/components/datepicker/datepicker.styles.d.ts +1 -0
  54. package/dist/components/datepicker/datepicker.styles.js +18 -0
  55. package/dist/components/dialog/dialog.component.d.ts +20 -29
  56. package/dist/components/dialog/dialog.component.js +85 -75
  57. package/dist/components/dialog/dialog.d.ts +2 -2
  58. package/dist/components/dialog/dialog.styles.js +4 -4
  59. package/dist/components/divider/divider.component.d.ts +4 -8
  60. package/dist/components/divider/divider.component.js +24 -46
  61. package/dist/components/divider/divider.styles.js +34 -30
  62. package/dist/components/drawer/drawer.component.d.ts +61 -0
  63. package/dist/components/drawer/drawer.component.js +125 -0
  64. package/dist/components/drawer/drawer.d.ts +8 -0
  65. package/dist/components/drawer/drawer.js +6 -0
  66. package/dist/components/drawer/drawer.styles.js +71 -0
  67. package/dist/components/header/header.component.d.ts +46 -0
  68. package/dist/components/header/header.component.js +116 -0
  69. package/dist/components/header/header.d.ts +8 -0
  70. package/dist/components/header/header.js +6 -0
  71. package/dist/components/header/header.styles.js +68 -0
  72. package/dist/components/heading/heading.component.d.ts +8 -12
  73. package/dist/components/heading/heading.component.js +52 -24
  74. package/dist/components/heading/heading.styles.d.ts +1 -2
  75. package/dist/components/heading/heading.styles.js +35 -37
  76. package/dist/components/icon/icon.component.d.ts +15 -17
  77. package/dist/components/icon/icon.component.js +52 -43
  78. package/dist/components/icon/icon.styles.d.ts +1 -2
  79. package/dist/components/icon/icon.styles.js +60 -60
  80. package/dist/components/input/input.component.d.ts +31 -31
  81. package/dist/components/input/input.component.js +167 -146
  82. package/dist/components/input/input.controllers.d.ts +20 -6
  83. package/dist/components/input/input.controllers.js +14 -10
  84. package/dist/components/link/link.component.d.ts +20 -25
  85. package/dist/components/link/link.component.js +99 -107
  86. package/dist/components/link/link.styles.d.ts +1 -2
  87. package/dist/components/link/link.styles.js +47 -43
  88. package/dist/components/loader/loader.component.d.ts +1 -1
  89. package/dist/components/loader/loader.component.js +36 -40
  90. package/dist/components/loader/loader.styles.d.ts +1 -2
  91. package/dist/components/loader/loader.styles.js +40 -32
  92. package/dist/components/logo/logo.component.d.ts +8 -6
  93. package/dist/components/logo/logo.component.js +55 -51
  94. package/dist/components/logo/logo.styles.js +26 -16
  95. package/dist/components/menu/menu-item.component.d.ts +13 -0
  96. package/dist/components/menu/menu-item.component.js +13 -0
  97. package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
  98. package/dist/components/{menu-item → menu}/menu-item.styles.js +8 -5
  99. package/dist/components/menu/menu.component.d.ts +10 -8
  100. package/dist/components/menu/menu.component.js +8 -10
  101. package/dist/components/menu/menu.d.ts +2 -2
  102. package/dist/components/nav/nav-item.component.d.ts +22 -0
  103. package/dist/components/nav/nav-item.component.js +57 -0
  104. package/dist/components/nav/nav-item.d.ts +8 -0
  105. package/dist/components/nav/nav-item.js +6 -0
  106. package/dist/components/nav/nav-item.styles.js +43 -0
  107. package/dist/components/nav/nav.component.d.ts +23 -0
  108. package/dist/components/nav/nav.component.js +55 -0
  109. package/dist/components/nav/nav.d.ts +8 -0
  110. package/dist/components/nav/nav.js +6 -0
  111. package/dist/components/nav/nav.styles.js +23 -0
  112. package/dist/components/popover/popover.component.d.ts +15 -8
  113. package/dist/components/popover/popover.component.js +29 -23
  114. package/dist/components/popover/popover.d.ts +2 -2
  115. package/dist/components/progress/progress.component.d.ts +4 -2
  116. package/dist/components/progress/progress.component.js +38 -35
  117. package/dist/components/progress/progress.d.ts +2 -2
  118. package/dist/components/progress/progress.styles.js +40 -33
  119. package/dist/components/radio/radio.component.d.ts +19 -13
  120. package/dist/components/radio/radio.component.js +12 -12
  121. package/dist/components/radio/radio.styles.d.ts +1 -2
  122. package/dist/components/radio/radio.styles.js +1 -1
  123. package/dist/components/segmented-button/segmented-button-item.component.d.ts +36 -0
  124. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  125. package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
  126. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  127. package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
  128. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  129. package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
  130. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  131. package/dist/components/segmented-button/segmented-button.d.ts +8 -0
  132. package/dist/components/segmented-button/segmented-button.js +6 -0
  133. package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
  134. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  135. package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +4 -0
  136. package/dist/components/select/select-option-group.component.js +50 -0
  137. package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
  138. package/dist/components/select/select-option-group.style.d.ts +1 -0
  139. package/dist/components/select/select-option-group.style.js +24 -0
  140. package/dist/components/{select-option → select}/select-option.component.d.ts +14 -11
  141. package/dist/components/select/select-option.component.js +140 -0
  142. package/dist/components/select/select-option.controllers.d.ts +15 -0
  143. package/dist/components/select/select-option.styles.d.ts +1 -0
  144. package/dist/components/select/select-option.styles.js +65 -0
  145. package/dist/components/select/select.component.d.ts +22 -17
  146. package/dist/components/select/select.component.js +62 -45
  147. package/dist/components/select/select.controllers.d.ts +21 -10
  148. package/dist/components/select/select.controllers.js +29 -23
  149. package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
  150. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +48 -48
  151. package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
  152. package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
  153. package/dist/components/stepper/stepper.component.d.ts +4 -3
  154. package/dist/components/stepper/stepper.component.js +15 -15
  155. package/dist/components/stepper/stepper.d.ts +2 -2
  156. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  157. package/dist/components/switch/switch.component.d.ts +7 -6
  158. package/dist/components/switch/switch.component.js +21 -21
  159. package/dist/components/switch/switch.d.ts +2 -2
  160. package/dist/components/{tab-panel → tabs}/tab-panel.component.js +1 -1
  161. package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
  162. package/dist/components/tabs/tab-panel.styles.d.ts +1 -0
  163. package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
  164. package/dist/components/{tab → tabs}/tab.component.js +1 -1
  165. package/dist/components/{tab → tabs}/tab.d.ts +2 -2
  166. package/dist/components/tabs/tab.styles.d.ts +1 -0
  167. package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
  168. package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +36 -37
  169. package/dist/components/tabs/tabs.d.ts +8 -0
  170. package/dist/components/tabs/tabs.js +6 -0
  171. package/dist/components/tabs/tabs.styles.d.ts +1 -0
  172. package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
  173. package/dist/components/tag/tag.component.d.ts +20 -17
  174. package/dist/components/tag/tag.component.js +68 -67
  175. package/dist/components/tag/tag.d.ts +2 -2
  176. package/dist/components/tag/tag.styles.js +63 -50
  177. package/dist/components/textarea/textarea.component.d.ts +10 -11
  178. package/dist/components/textarea/textarea.component.js +67 -68
  179. package/dist/components/{toast-item → toast}/toast-item.component.js +15 -15
  180. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  181. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  182. package/dist/components/toast/toast-item.styles.js +18 -0
  183. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  184. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  185. package/dist/components/toast/toast.component.d.ts +9 -5
  186. package/dist/components/toast/toast.component.js +31 -27
  187. package/dist/components/toast/toast.singleton.d.ts +7 -12
  188. package/dist/components/toast/toast.singleton.js +26 -26
  189. package/dist/components/tooltip/tooltip.component.d.ts +7 -7
  190. package/dist/components/tooltip/tooltip.component.js +16 -11
  191. package/dist/components/tooltip/tooltip.d.ts +2 -2
  192. package/dist/custom-elements.json +3980 -2348
  193. package/dist/index.d.ts +22 -9
  194. package/dist/index.js +111 -74
  195. package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
  196. package/dist/internal/base-classes/popover/popover.base.js +140 -79
  197. package/dist/internal/base-classes/popover/popover.styles.js +17 -5
  198. package/dist/internal/components/hint/hint.component.d.ts +6 -2
  199. package/dist/internal/components/hint/hint.component.js +47 -20
  200. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  201. package/dist/internal/components/hint/hint.styles.js +30 -26
  202. package/dist/internal/components/skf-element.d.ts +1 -3
  203. package/dist/internal/components/skf-element.js +4 -9
  204. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  205. package/dist/internal/constants/iconSeverity.js +2 -3
  206. package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
  207. package/dist/internal/controllers/popover.controller.d.ts +12 -6
  208. package/dist/internal/controllers/popover.controller.js +9 -14
  209. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  210. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  211. package/dist/internal/helpers/hintSeverity.js +1 -1
  212. package/dist/internal/helpers/stateMap.d.ts +14 -0
  213. package/dist/internal/helpers/stateMap.js +68 -0
  214. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  215. package/dist/internal/helpers/uuid.d.ts +15 -0
  216. package/dist/internal/helpers/uuid.js +14 -0
  217. package/dist/internal/helpers/watch.d.ts +1 -1
  218. package/dist/internal/helpers/watch.js +12 -12
  219. package/dist/internal/storybook/styles.d.ts +1 -0
  220. package/dist/internal/types/formField.d.ts +1 -1
  221. package/dist/internal/types.d.ts +18 -0
  222. package/dist/styles/component.styles.d.ts +1 -2
  223. package/dist/styles/component.styles.js +38 -37
  224. package/dist/styles/form-field.styles.js +11 -6
  225. package/dist/styles/global-alt.css +1 -0
  226. package/dist/styles/global.css +1 -1
  227. package/dist/types/jsx/custom-element-jsx.d.ts +871 -1307
  228. package/dist/types/vue/index.d.ts +593 -360
  229. package/dist/vscode.html-custom-data.json +630 -1184
  230. package/dist/web-types.json +1422 -945
  231. package/package.json +47 -63
  232. package/dist/components/accordion/accordion.test.d.ts +0 -1
  233. package/dist/components/checkbox/checkbox.test.d.ts +0 -1
  234. package/dist/components/collapse/collapse.component.d.ts +0 -40
  235. package/dist/components/collapse/collapse.component.js +0 -86
  236. package/dist/components/collapse/collapse.d.ts +0 -8
  237. package/dist/components/collapse/collapse.js +0 -6
  238. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  239. package/dist/components/collapse/collapse.styles.js +0 -77
  240. package/dist/components/collapse/collapse.test.d.ts +0 -1
  241. package/dist/components/input/input.test.d.ts +0 -1
  242. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  243. package/dist/components/menu-item/menu-item.component.js +0 -13
  244. package/dist/components/radio/radio.test.d.ts +0 -1
  245. package/dist/components/select-option/select-option.component.js +0 -123
  246. package/dist/components/select-option/select-option.controllers.d.ts +0 -9
  247. package/dist/components/select-option/select-option.styles.js +0 -53
  248. package/dist/components/select-option-group/select-option-group.component.js +0 -31
  249. package/dist/components/select-option-group/select-option-group.style.js +0 -18
  250. package/dist/components/switch/switch.test.d.ts +0 -1
  251. package/dist/components/tab-group/tab-group.d.ts +0 -8
  252. package/dist/components/tab-group/tab-group.js +0 -6
  253. package/dist/components/toast-item/toast-item.styles.js +0 -16
  254. package/dist/internal/constants/heading.d.ts +0 -2
  255. package/dist/internal/playwright/index.d.ts +0 -1
  256. package/dist/react/index.d.ts +0 -35
  257. package/dist/react/index.js +0 -35
  258. package/dist/react/skf-accordion/index.d.ts +0 -3
  259. package/dist/react/skf-accordion/index.js +0 -13
  260. package/dist/react/skf-alert/index.d.ts +0 -9
  261. package/dist/react/skf-alert/index.js +0 -17
  262. package/dist/react/skf-breadcrumb/index.d.ts +0 -9
  263. package/dist/react/skf-breadcrumb/index.js +0 -17
  264. package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
  265. package/dist/react/skf-breadcrumb-item/index.js +0 -13
  266. package/dist/react/skf-button/index.d.ts +0 -9
  267. package/dist/react/skf-button/index.js +0 -17
  268. package/dist/react/skf-card/index.d.ts +0 -3
  269. package/dist/react/skf-card/index.js +0 -13
  270. package/dist/react/skf-checkbox/index.d.ts +0 -9
  271. package/dist/react/skf-checkbox/index.js +0 -17
  272. package/dist/react/skf-collapse/index.d.ts +0 -9
  273. package/dist/react/skf-collapse/index.js +0 -17
  274. package/dist/react/skf-dialog/index.d.ts +0 -15
  275. package/dist/react/skf-dialog/index.js +0 -19
  276. package/dist/react/skf-divider/index.d.ts +0 -3
  277. package/dist/react/skf-divider/index.js +0 -13
  278. package/dist/react/skf-heading/index.d.ts +0 -3
  279. package/dist/react/skf-heading/index.js +0 -13
  280. package/dist/react/skf-icon/index.d.ts +0 -3
  281. package/dist/react/skf-icon/index.js +0 -13
  282. package/dist/react/skf-input/index.d.ts +0 -12
  283. package/dist/react/skf-input/index.js +0 -18
  284. package/dist/react/skf-link/index.d.ts +0 -3
  285. package/dist/react/skf-link/index.js +0 -13
  286. package/dist/react/skf-loader/index.d.ts +0 -3
  287. package/dist/react/skf-loader/index.js +0 -13
  288. package/dist/react/skf-logo/index.d.ts +0 -3
  289. package/dist/react/skf-logo/index.js +0 -13
  290. package/dist/react/skf-menu/index.d.ts +0 -12
  291. package/dist/react/skf-menu/index.js +0 -18
  292. package/dist/react/skf-menu-item/index.d.ts +0 -27
  293. package/dist/react/skf-menu-item/index.js +0 -23
  294. package/dist/react/skf-popover/index.d.ts +0 -12
  295. package/dist/react/skf-popover/index.js +0 -18
  296. package/dist/react/skf-progress/index.d.ts +0 -3
  297. package/dist/react/skf-progress/index.js +0 -13
  298. package/dist/react/skf-radio/index.d.ts +0 -9
  299. package/dist/react/skf-radio/index.js +0 -17
  300. package/dist/react/skf-select/index.d.ts +0 -21
  301. package/dist/react/skf-select/index.js +0 -21
  302. package/dist/react/skf-select-option/index.d.ts +0 -9
  303. package/dist/react/skf-select-option/index.js +0 -17
  304. package/dist/react/skf-select-option-group/index.d.ts +0 -3
  305. package/dist/react/skf-select-option-group/index.js +0 -13
  306. package/dist/react/skf-stepper/index.d.ts +0 -9
  307. package/dist/react/skf-stepper/index.js +0 -17
  308. package/dist/react/skf-stepper-item/index.d.ts +0 -9
  309. package/dist/react/skf-stepper-item/index.js +0 -17
  310. package/dist/react/skf-switch/index.d.ts +0 -3
  311. package/dist/react/skf-switch/index.js +0 -13
  312. package/dist/react/skf-tab/index.d.ts +0 -12
  313. package/dist/react/skf-tab/index.js +0 -18
  314. package/dist/react/skf-tab-group/index.d.ts +0 -3
  315. package/dist/react/skf-tab-group/index.js +0 -13
  316. package/dist/react/skf-tab-panel/index.d.ts +0 -3
  317. package/dist/react/skf-tab-panel/index.js +0 -13
  318. package/dist/react/skf-tag/index.d.ts +0 -3
  319. package/dist/react/skf-tag/index.js +0 -13
  320. package/dist/react/skf-textarea/index.d.ts +0 -12
  321. package/dist/react/skf-textarea/index.js +0 -18
  322. package/dist/react/skf-toast/index.d.ts +0 -3
  323. package/dist/react/skf-toast/index.js +0 -13
  324. package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
  325. package/dist/react/skf-toast-wrapper/index.js +0 -13
  326. package/dist/react/skf-tooltip/index.d.ts +0 -12
  327. package/dist/react/skf-tooltip/index.js +0 -18
  328. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  329. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  330. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  331. /package/dist/components/{select-option-group/select-option-group.style.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
  332. /package/dist/components/{select-option/select-option.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
  333. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → drawer/drawer.styles.d.ts} +0 -0
  334. /package/dist/components/{tab-group/tab-group.styles.d.ts → header/header.styles.d.ts} +0 -0
  335. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  336. /package/dist/components/{tab-panel/tab-panel.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  337. /package/dist/components/{tab/tab.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  338. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav.styles.d.ts} +0 -0
  339. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  340. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  341. /package/dist/components/{select-option → select}/select-option.js +0 -0
  342. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  343. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  344. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  345. /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
  346. /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
  347. /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
  348. /package/dist/components/{tab → tabs}/tab.js +0 -0
  349. /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
  350. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  351. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  352. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  353. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  354. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  355. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -1,9 +1,13 @@
1
1
  import '../../../components/icon/icon.js';
2
2
  import { SkfElement } from '../../components/skf-element.js';
3
- import type { SeverityFgColor } from '@skf-design-system/ui-assets';
3
+ import type { Severity } from '../../types.js';
4
4
  import { type CSSResultGroup } from 'lit';
5
5
  export declare class SkfHint extends SkfElement {
6
+ #private;
6
7
  static styles: CSSResultGroup;
7
- severity?: SeverityFgColor;
8
+ disabled: boolean;
9
+ severity?: Severity;
10
+ /** @internal */
11
+ _handleStateChange(property: string, _prev: unknown, next: unknown): void;
8
12
  render(): import("lit").TemplateResult<1>;
9
13
  }
@@ -1,21 +1,42 @@
1
+ var v = (t) => {
2
+ throw TypeError(t);
3
+ };
4
+ var d = (t, e, s) => e.has(t) || v("Cannot " + s);
5
+ var m = (t, e, s) => (d(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ? v("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), c = (t, e, s, o) => (d(t, e, "write to private field"), o ? o.call(t, s) : e.set(t, s), s);
1
6
  import "../../../components/icon/icon.js";
2
- import { SkfElement as l } from "../skf-element.js";
3
- import { ICON_SEVERITY as n } from "../../constants/iconSeverity.js";
4
- import v from "../../../styles/component.styles.js";
5
- import { html as f } from "lit";
6
- import { property as y } from "lit/decorators.js";
7
- import d from "./hint.styles.js";
8
- var a = Object.defineProperty, c = (s, i, m, h) => {
9
- for (var r = void 0, t = s.length - 1, p; t >= 0; t--)
10
- (p = s[t]) && (r = p(i, m, r) || r);
11
- return r && a(i, m, r), r;
7
+ import { SkfElement as O } from "../skf-element.js";
8
+ import { ICON_SEVERITY as g } from "../../constants/iconSeverity.js";
9
+ import { stateMap as w } from "../../helpers/stateMap.js";
10
+ import { watch as C } from "../../helpers/watch.js";
11
+ import { componentStyles as P } from "../../../styles/component.styles.js";
12
+ import { html as _ } from "lit";
13
+ import { property as b } from "lit/decorators.js";
14
+ import { styles as S } from "./hint.styles.js";
15
+ var j = Object.defineProperty, x = Object.getOwnPropertyDescriptor, f = (t, e, s, o) => {
16
+ for (var r = o > 1 ? void 0 : o ? x(e, s) : e, n = t.length - 1, l; n >= 0; n--)
17
+ (l = t[n]) && (r = (o ? l(e, s, r) : l(r)) || r);
18
+ return o && r && j(e, s, r), r;
19
+ };
20
+ const u = {
21
+ disabled: "disabled",
22
+ severity: ["error", "info", "success", "warning"]
12
23
  };
13
- const o = class o extends l {
24
+ var p, a;
25
+ const y = class y extends O {
26
+ constructor() {
27
+ super(...arguments);
28
+ h(this, p);
29
+ h(this, a);
30
+ c(this, p, this.attachInternals()), c(this, a, m(this, p).states), this.disabled = !1;
31
+ }
32
+ _handleStateChange(s, o, r) {
33
+ w(m(this, a), u[s]).set(r);
34
+ }
14
35
  render() {
15
- return f`
36
+ return _`
16
37
  <div id="root">
17
- ${this.severity && f`
18
- <skf-icon color=${this.severity} name="${n[this.severity]}" size="xs">
38
+ ${this.severity && _`
39
+ <skf-icon color=${this.severity} name="${g[this.severity]}" size="xs">
19
40
  </skf-icon>
20
41
  `}
21
42
  <slot></slot>
@@ -23,11 +44,17 @@ const o = class o extends l {
23
44
  `;
24
45
  }
25
46
  };
26
- o.styles = [v, d];
27
- let e = o;
28
- c([
29
- y()
30
- ], e.prototype, "severity");
47
+ p = new WeakMap(), a = new WeakMap(), y.styles = [P, S];
48
+ let i = y;
49
+ f([
50
+ b({ type: Boolean })
51
+ ], i.prototype, "disabled", 2);
52
+ f([
53
+ b({ type: String })
54
+ ], i.prototype, "severity", 2);
55
+ f([
56
+ C(Object.keys(u))
57
+ ], i.prototype, "_handleStateChange", 1);
31
58
  export {
32
- e as SkfHint
59
+ i as SkfHint
33
60
  };
@@ -1,2 +1 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
1
+ export declare const styles: import("lit").CSSResult;
@@ -1,38 +1,42 @@
1
- import { css as r } from "lit";
2
- const s = r`
3
- #root {
4
- align-items: center;
5
- color: var(--_skf-hint-color, var(--skf-text-color-secondary));
6
- display: flex;
7
- font-size: var(--skf-font-size-75);
8
- font-weight: var(--skf-font-weight-medium);
9
- gap: var(--skf-spacing-25);
1
+ import { css as o } from "lit";
2
+ const s = o`
3
+ @layer components {
4
+ @layer base {
5
+ #root {
6
+ --_skf-hint-color: var(--skf-text-color-secondary);
10
7
 
11
- :host-context(:disabled) & {
12
- color: inherit;
8
+ align-items: center;
9
+ color: var(--_skf-hint-color);
10
+ display: flex;
11
+ font-size: var(--skf-font-size-75);
12
+ font-weight: var(--skf-font-weight-medium);
13
+ gap: var(--skf-spacing-25);
14
+ }
13
15
  }
14
16
 
15
- :host([severity='alert']) & {
16
- --_skf-hint-color: var(--skf-severity-fg-color-alert);
17
- }
17
+ @layer mods {
18
+ :host(:state(disabled)) #root {
19
+ --_skf-hint-color: var(--skf-interactive-text-color-disabled);
20
+ }
18
21
 
19
- :host([severity='error']) & {
20
- --_skf-hint-color: var(--skf-severity-fg-color-error);
21
- }
22
+ :host(:not(:state(disabled)):state(error)) #root {
23
+ --_skf-hint-color: var(--skf-severity-fg-color-error);
24
+ }
22
25
 
23
- :host([severity='info']) & {
24
- --_skf-hint-color: var(--skf-severity-fg-color-info);
25
- }
26
+ :host(:not(:state(disabled)):state(info)) #root {
27
+ --_skf-hint-color: var(--skf-severity-fg-color-info);
28
+ }
26
29
 
27
- :host([severity='success']) & {
28
- --_skf-hint-color: var(--skf-severity-fg-color-success);
29
- }
30
+ :host(:not(:state(disabled)):state(success)) #root {
31
+ --_skf-hint-color: var(--skf-severity-fg-color-success);
32
+ }
30
33
 
31
- :host([severity='warning']) & {
32
- --_skf-hint-color: var(--skf-severity-fg-color-warning);
34
+ :host(:not(:state(disabled)):state(warning)) #root {
35
+ --_skf-hint-color: var(--skf-severity-fg-color-warning);
36
+ }
33
37
  }
34
38
  }
35
39
  `;
36
40
  export {
37
- s as default
41
+ s as styles
38
42
  };
@@ -1,10 +1,8 @@
1
- import { CSSResult, LitElement } from 'lit';
1
+ import { LitElement } from 'lit';
2
2
  export declare class SkfElement extends LitElement {
3
3
  static define(name: string, elementConstructor?: CustomElementConstructor, options?: ElementDefinitionOptions): void;
4
4
  static dependencies: Record<string, typeof SkfElement>;
5
5
  constructor();
6
6
  /** Custom event emitter helper function. Transmits user actions or component state change. Use composed=false for event that should not pierce shadowDom. */
7
7
  emit(name: string, options?: CustomEventInit): Event;
8
- /** This let's a component set styles in the light DOM. Scope css selectors with custom tag name to just target the slot. */
9
- protected _setSlotStyles(slottedStyles: CSSResult): void;
10
8
  }
@@ -1,9 +1,9 @@
1
1
  import { LitElement as d } from "lit";
2
2
  const s = class s extends d {
3
- static define(e, t = this, n = {}) {
3
+ static define(e, t = this, r = {}) {
4
4
  if (!customElements.get(e)) {
5
5
  customElements.define(e, class extends t {
6
- }, n);
6
+ }, r);
7
7
  return;
8
8
  }
9
9
  }
@@ -64,19 +64,14 @@ const s = class s extends d {
64
64
  };
65
65
  return this.dispatchEvent(new Event(e, u)), new Event(e, t);
66
66
  }
67
- const r = new CustomEvent(e, {
67
+ const n = new CustomEvent(e, {
68
68
  bubbles: !0,
69
69
  cancelable: !0,
70
70
  composed: !0,
71
71
  detail: {},
72
72
  ...t
73
73
  });
74
- return this.dispatchEvent(r), r;
75
- }
76
- /** This let's a component set styles in the light DOM. Scope css selectors with custom tag name to just target the slot. */
77
- _setSlotStyles(e) {
78
- const t = new CSSStyleSheet();
79
- t.replaceSync(e.cssText), document.adoptedStyleSheets = [...document.adoptedStyleSheets, t];
74
+ return this.dispatchEvent(n), n;
80
75
  }
81
76
  };
82
77
  s.dependencies = {};
@@ -1,4 +1,5 @@
1
- import type { Icon, SeverityFgColor } from '@skf-design-system/ui-assets';
2
- type IconSeverity = Readonly<Record<SeverityFgColor, Icon>>;
1
+ import type { Severity } from '../types.js';
2
+ import type { Icon } from '@skf-design-system/ui-assets';
3
+ type IconSeverity = Readonly<Record<Severity, Icon>>;
3
4
  export declare const ICON_SEVERITY: IconSeverity;
4
5
  export {};
@@ -1,10 +1,9 @@
1
- const n = Object.freeze({
2
- alert: "warningDiamond",
1
+ const n = {
3
2
  error: "danger",
4
3
  info: "info",
5
4
  success: "checkCircle",
6
5
  warning: "warningDiamond"
7
- });
6
+ };
8
7
  export {
9
8
  n as ICON_SEVERITY
10
9
  };
@@ -0,0 +1,13 @@
1
+ import type { SkfNav } from '../../components/nav/nav.component.js';
2
+ type InputControllerHost = SkfNav;
3
+ export declare class ElementOverflowController {
4
+ host: InputControllerHost;
5
+ resizeObserver?: ResizeObserver;
6
+ watchedContainerEl?: HTMLElement;
7
+ isFullyVisible: boolean;
8
+ constructor(host: InputControllerHost);
9
+ initResizeObserver(el?: HTMLElement): void;
10
+ _checkVisibility: () => void;
11
+ disconnect(): void;
12
+ }
13
+ export {};
@@ -1,13 +1,19 @@
1
- import { SkfSelect } from '../../components/select/select.component.js';
2
- import type { SkfPopoverBase } from '../base-classes/popover/popover.base.js';
3
- import type { ReactiveController } from 'lit';
4
- type ControllerHost = SkfPopoverBase | SkfSelect;
1
+ import type { ReactiveController, ReactiveControllerHost } from 'lit';
2
+ /**
3
+ * Workaround for storybook helper not being able to import types
4
+ * E.g type ControllerHost = SkfPopover;
5
+ */
6
+ interface ControllerHostProps {
7
+ $anchor?: Element | HTMLElement | null;
8
+ $popover?: Element | HTMLElement | null;
9
+ reposition: () => Promise<void>;
10
+ }
5
11
  export declare class PopoverController implements ReactiveController {
6
- host?: ControllerHost;
12
+ host?: ReactiveControllerHost & Partial<ControllerHostProps>;
7
13
  private cleanup;
8
14
  private active;
9
15
  private autoStart;
10
- constructor(host: ControllerHost, autoStart?: boolean);
16
+ constructor(host: ReactiveControllerHost, autoStart?: boolean);
11
17
  hostConnected(): void;
12
18
  hostDisconnected(): void;
13
19
  start(): void;
@@ -1,8 +1,7 @@
1
- import "../../components/select/select.component.js";
2
- import { autoUpdate as n } from "@floating-ui/dom";
3
- class p {
1
+ import { autoUpdate as h } from "@floating-ui/dom";
2
+ class c {
4
3
  constructor(t, o = !0) {
5
- this.active = !1, this.autoStart = !0, this.host = t, t.addController(this), this.autoStart = o;
4
+ this.active = !1, this.autoStart = !0, (this.host = t).addController(this), this.autoStart = o;
6
5
  }
7
6
  hostConnected() {
8
7
  var t;
@@ -18,15 +17,11 @@ class p {
18
17
  });
19
18
  }
20
19
  start() {
21
- var r, e;
22
- const t = (r = this.host) == null ? void 0 : r.$anchor, o = (e = this.host) == null ? void 0 : e.$popover;
23
- if (!t || !o) {
24
- console.warn("PopoverController: anchor or popup not found");
25
- return;
26
- }
27
- this.active || (this.cleanup = n(t, o, () => {
28
- var s;
29
- (s = this.host) == null || s.reposition().catch((i) => {
20
+ var s, e;
21
+ const t = (s = this.host) == null ? void 0 : s.$anchor, o = (e = this.host) == null ? void 0 : e.$popover;
22
+ !t || !o || this.active || (o.popover = "manual", this.cleanup = h(t, o, () => {
23
+ var r;
24
+ (r = this.host) != null && r.reposition && this.host.reposition().catch((i) => {
30
25
  console.error(i);
31
26
  });
32
27
  }), this.active = !0);
@@ -40,5 +35,5 @@ class p {
40
35
  }
41
36
  }
42
37
  export {
43
- p as PopoverController
38
+ c as PopoverController
44
39
  };
@@ -0,0 +1,2 @@
1
+ /** Formats a date to SKF standard format. Can be localized, defaults to GB English */
2
+ export declare function dateFormatter(date?: Date | null, locale?: string): string;
@@ -1,2 +1,2 @@
1
- import type { FormFieldBaseProps } from '../types/formField.js';
2
- export declare function hintSeverity(hostSeverity: FormFieldBaseProps['severity'], invalid: boolean): "error" | ("success" | "info" | "warning" | "alert") | undefined;
1
+ import type { FormFieldSeverity } from '../types.js';
2
+ export declare function hintSeverity(invalid: boolean, hostSeverity?: FormFieldSeverity): "error" | FormFieldSeverity | undefined;
@@ -1,5 +1,5 @@
1
1
  function t(r, e) {
2
- return e ? "error" : r;
2
+ return r ? "error" : e;
3
3
  }
4
4
  export {
5
5
  t as hintSeverity
@@ -0,0 +1,14 @@
1
+ /**
2
+ * CSS pseudo class state helper, handles state management within scope of set states (stateOptions),
3
+ * allowing for easy state manipulation and retrieval within one or multiple state scopes.
4
+ * Helper currently assumes only one state within scope is allowed at a time.
5
+ */
6
+ export declare function stateMap<T extends string>(states: CustomStateSet, options: T | T[]): {
7
+ clear: () => void;
8
+ get: () => T | undefined;
9
+ set: (state?: T | boolean) => void;
10
+ has: (state?: T) => boolean;
11
+ add: (state: T) => void;
12
+ remove: (state?: T) => void;
13
+ toggle: (state?: T | boolean) => void;
14
+ };
@@ -0,0 +1,68 @@
1
+ function w(o, u) {
2
+ const r = Array.isArray(u) ? u : [u];
3
+ function f() {
4
+ r.forEach((n) => {
5
+ o.delete(n);
6
+ });
7
+ }
8
+ function l() {
9
+ const n = [];
10
+ if (r.forEach((e) => {
11
+ o.has(e) && n.push(e);
12
+ }), n.length !== 0)
13
+ return n.length > 1 && (console.warn("Multiple states found, returning first state"), console.warn(n)), n[0];
14
+ }
15
+ function d(n) {
16
+ if (typeof n == "boolean" || !n)
17
+ if (n)
18
+ n = r[0];
19
+ else {
20
+ f();
21
+ return;
22
+ }
23
+ if (typeof n == "boolean") throw new Error("State must be a string from here on out");
24
+ r.forEach((e) => {
25
+ o.has(e) && o.delete(e);
26
+ }), o.add(n);
27
+ }
28
+ function c(n) {
29
+ if (n ?? (n = r[0]), typeof n == "boolean") {
30
+ n ? o.add(r[0]) : f();
31
+ return;
32
+ }
33
+ i(n), o.has(n) ? o.delete(n) : o.add(n);
34
+ }
35
+ function h(n) {
36
+ return n ?? (n = r[0]), i(n), o.has(n);
37
+ }
38
+ function p(n) {
39
+ if (typeof n == "boolean")
40
+ if (n === !0)
41
+ n = r[0];
42
+ else {
43
+ f();
44
+ return;
45
+ }
46
+ if (typeof n == "boolean") throw new Error("State must be a string from here on out");
47
+ i(n), o.add(n);
48
+ }
49
+ function g(n) {
50
+ n ?? (n = r[0]), i(n), o.delete(n);
51
+ }
52
+ function i(n) {
53
+ if (!r.includes(n))
54
+ throw new Error(`State "${n}" is not a valid state option.`);
55
+ }
56
+ return {
57
+ clear: f,
58
+ get: l,
59
+ set: d,
60
+ has: h,
61
+ add: p,
62
+ remove: g,
63
+ toggle: c
64
+ };
65
+ }
66
+ export {
67
+ w as stateMap
68
+ };
@@ -0,0 +1,22 @@
1
+ export type Mutable<T> = {
2
+ -readonly [K in keyof T]: T[K];
3
+ };
4
+ type oneToNine = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
5
+ type zeroToNine = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
6
+ /**
7
+ * Years
8
+ */
9
+ type YYYY = `19${zeroToNine}${zeroToNine}` | `20${zeroToNine}${zeroToNine}`;
10
+ /**
11
+ * Months
12
+ */
13
+ type MM = `0${oneToNine}` | `1${0 | 1 | 2}`;
14
+ /**
15
+ * Days
16
+ */
17
+ type DD = `0${oneToNine}` | `${1 | 2}${zeroToNine}` | `3${0 | 1}`;
18
+ /**
19
+ * YYYY-MM-DD
20
+ */
21
+ export type ISODateString = `${YYYY}-${MM}-${DD}`;
22
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generate a unique id based on a string
3
+ *
4
+ * @param str - string to base hash on
5
+ * @returns string - a unique prefixed id
6
+ */
7
+ export declare function uuid(str: string): string;
8
+ /**
9
+ * @describe - cyrb53 - A simple hash function for strings
10
+ *
11
+ * @param str - string to hash
12
+ * @param seed
13
+ * @returns - a 12 digit number
14
+ */
15
+ export declare const hash: (str: string, seed?: number) => number;
@@ -0,0 +1,14 @@
1
+ function r(u) {
2
+ const i = n(u);
3
+ return `skf-uuid-${String(i)}`;
4
+ }
5
+ const n = (u, i = 0) => {
6
+ let t = 3735928559 ^ i, h = 1103547991 ^ i;
7
+ for (let l = 0, a; l < u.length; l++)
8
+ a = u.charCodeAt(l), t = Math.imul(t ^ a, 2654435761), h = Math.imul(h ^ a, 1597334677);
9
+ return t = Math.imul(t ^ t >>> 16, 2246822507), t ^= Math.imul(h ^ h >>> 13, 3266489909), h = Math.imul(h ^ h >>> 16, 2246822507), h ^= Math.imul(t ^ t >>> 13, 3266489909), 4294967296 * (2097151 & h) + (t >>> 0);
10
+ };
11
+ export {
12
+ n as hash,
13
+ r as uuid
14
+ };
@@ -1,5 +1,5 @@
1
1
  import type { LitElement } from 'lit';
2
- type UpdateHandler = (prev?: unknown, next?: unknown) => void;
2
+ type UpdateHandler = (property: string, prev?: unknown, next?: unknown) => void;
3
3
  type NonUndefined<A> = A extends undefined ? never : A;
4
4
  type UpdateHandlerFunctionKeys<T extends object> = {
5
5
  [K in keyof T]-?: NonUndefined<T[K]> extends UpdateHandler ? K : never;
@@ -1,28 +1,28 @@
1
- function o(f, U) {
2
- const e = {
1
+ function u(n, U) {
2
+ const f = {
3
3
  waitUntilFirstUpdate: !1,
4
4
  afterUpdate: !1,
5
5
  ...U
6
6
  };
7
7
  return (l, c) => {
8
- const { update: d } = l, h = Array.isArray(f) ? f : [f];
8
+ const { update: d } = l, h = Array.isArray(n) ? n : [n];
9
9
  l.update = function(i) {
10
- e.afterUpdate || h.forEach((n) => {
11
- const t = n;
10
+ f.afterUpdate || h.forEach((a) => {
11
+ const t = a;
12
12
  if (i.has(t)) {
13
- const a = i.get(t), s = this[t];
14
- a !== s && (!e.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s);
13
+ const s = i.get(t), e = this[t];
14
+ s !== e && (!f.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s, e);
15
15
  }
16
- }), d.call(this, i), e.afterUpdate && h.forEach((n) => {
17
- const t = n;
16
+ }), d.call(this, i), f.afterUpdate && h.forEach((a) => {
17
+ const t = a;
18
18
  if (i.has(t)) {
19
- const a = i.get(t), s = this[t];
20
- a !== s && (!e.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s);
19
+ const s = i.get(t), e = this[t];
20
+ s !== e && (!f.waitUntilFirstUpdate || this.hasUpdated) && this[c](a, s, e);
21
21
  }
22
22
  });
23
23
  };
24
24
  };
25
25
  }
26
26
  export {
27
- o as watch
27
+ u as watch
28
28
  };
@@ -0,0 +1 @@
1
+ export declare const styles: import("lit").CSSResult;
@@ -1,6 +1,6 @@
1
1
  import type { SeverityFgColor } from '@skf-design-system/ui-assets';
2
2
  type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week';
3
- type FormFieldSeverity = Exclude<SeverityFgColor, 'error'>;
3
+ export type FormFieldSeverity = Exclude<SeverityFgColor, 'alert' | 'error'>;
4
4
  export interface FormFieldBaseProps {
5
5
  customInvalid?: unknown;
6
6
  disabled?: boolean;
@@ -0,0 +1,18 @@
1
+ import type { SeverityFgColor, Icon as UIAssetsIcon, IconColor as UIAssetsIconColor } from '@skf-design-system/ui-assets';
2
+ /**
3
+ * Alias
4
+ *
5
+ * Enables type-mapping for the `@wc-toolkit/storybook-helpers` plugin
6
+ * It can't translate types from external packages
7
+ */
8
+ export type Icon = UIAssetsIcon;
9
+ export type IconColor = UIAssetsIconColor | Severity;
10
+ export type Severity = Exclude<SeverityFgColor, 'alert'>;
11
+ /**
12
+ * Generic
13
+ */
14
+ export type HeadingType = 'h1' | 'h2' | 'h3' | 'h4';
15
+ /**
16
+ * Forms
17
+ */
18
+ export type FormFieldSeverity = Exclude<Severity, 'error'>;
@@ -1,2 +1 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
1
+ export declare const componentStyles: import("lit").CSSResult;