@sk-web-gui/core 2.4.0 → 3.0.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 (568) hide show
  1. package/dist/cjs/aria-plugin.js.map +1 -1
  2. package/dist/cjs/base.js +2 -2
  3. package/dist/cjs/base.js.map +1 -1
  4. package/dist/cjs/colors.js.map +1 -1
  5. package/dist/cjs/components/accordion.js +16 -6
  6. package/dist/cjs/components/accordion.js.map +1 -1
  7. package/dist/cjs/components/alert.js.map +1 -1
  8. package/dist/cjs/components/avatar.js +3 -3
  9. package/dist/cjs/components/avatar.js.map +1 -1
  10. package/dist/cjs/components/badge.js +1 -1
  11. package/dist/cjs/components/badge.js.map +1 -1
  12. package/dist/cjs/components/breadcrumb.js +1 -1
  13. package/dist/cjs/components/breadcrumb.js.map +1 -1
  14. package/dist/cjs/components/button-group.js +1 -1
  15. package/dist/cjs/components/button-group.js.map +1 -1
  16. package/dist/cjs/components/button.js +12 -18
  17. package/dist/cjs/components/button.js.map +1 -1
  18. package/dist/cjs/components/card.js +12 -12
  19. package/dist/cjs/components/card.js.map +1 -1
  20. package/dist/cjs/components/checkbox.js +6 -6
  21. package/dist/cjs/components/checkbox.js.map +1 -1
  22. package/dist/cjs/components/chip.js +5 -2
  23. package/dist/cjs/components/chip.js.map +1 -1
  24. package/dist/cjs/components/code.js.map +1 -1
  25. package/dist/cjs/components/combobox.js +7 -7
  26. package/dist/cjs/components/combobox.js.map +1 -1
  27. package/dist/cjs/components/cookie-consent.js +2 -2
  28. package/dist/cjs/components/cookie-consent.js.map +1 -1
  29. package/dist/cjs/components/dialog.js +1 -1
  30. package/dist/cjs/components/dialog.js.map +1 -1
  31. package/dist/cjs/components/divider.js +3 -3
  32. package/dist/cjs/components/divider.js.map +1 -1
  33. package/dist/cjs/components/dot.js.map +1 -1
  34. package/dist/cjs/components/filter.js.map +1 -1
  35. package/dist/cjs/components/footer.js +2 -2
  36. package/dist/cjs/components/footer.js.map +1 -1
  37. package/dist/cjs/components/forms.js.map +1 -1
  38. package/dist/cjs/components/header.js.map +1 -1
  39. package/dist/cjs/components/icon.js +1 -1
  40. package/dist/cjs/components/icon.js.map +1 -1
  41. package/dist/cjs/components/input.js +12 -17
  42. package/dist/cjs/components/input.js.map +1 -1
  43. package/dist/cjs/components/kbd.js.map +1 -1
  44. package/dist/cjs/components/label.js.map +1 -1
  45. package/dist/cjs/components/link.js +3 -3
  46. package/dist/cjs/components/link.js.map +1 -1
  47. package/dist/cjs/components/list.js +5 -5
  48. package/dist/cjs/components/list.js.map +1 -1
  49. package/dist/cjs/components/logo.js +3 -3
  50. package/dist/cjs/components/logo.js.map +1 -1
  51. package/dist/cjs/components/menu-vertical.js +19 -36
  52. package/dist/cjs/components/menu-vertical.js.map +1 -1
  53. package/dist/cjs/components/menubar.js.map +1 -1
  54. package/dist/cjs/components/modal.js.map +1 -1
  55. package/dist/cjs/components/pagination.js +1 -1
  56. package/dist/cjs/components/pagination.js.map +1 -1
  57. package/dist/cjs/components/popup-menu.js +9 -9
  58. package/dist/cjs/components/popup-menu.js.map +1 -1
  59. package/dist/cjs/components/progress-bar.js +1 -1
  60. package/dist/cjs/components/progress-bar.js.map +1 -1
  61. package/dist/cjs/components/progress-stepper.js +5 -5
  62. package/dist/cjs/components/progress-stepper.js.map +1 -1
  63. package/dist/cjs/components/radio.js +4 -4
  64. package/dist/cjs/components/radio.js.map +1 -1
  65. package/dist/cjs/components/search-field.js +4 -4
  66. package/dist/cjs/components/search-field.js.map +1 -1
  67. package/dist/cjs/components/select.js +18 -18
  68. package/dist/cjs/components/select.js.map +1 -1
  69. package/dist/cjs/components/snackbar.js +1 -1
  70. package/dist/cjs/components/snackbar.js.map +1 -1
  71. package/dist/cjs/components/spinner.js +3 -0
  72. package/dist/cjs/components/spinner.js.map +1 -1
  73. package/dist/cjs/components/switch.js +2 -2
  74. package/dist/cjs/components/switch.js.map +1 -1
  75. package/dist/cjs/components/table-autotable.js +8 -7
  76. package/dist/cjs/components/table-autotable.js.map +1 -1
  77. package/dist/cjs/components/table.js.map +1 -1
  78. package/dist/cjs/components/tabs.js.map +1 -1
  79. package/dist/cjs/components/tooltip.js +7 -7
  80. package/dist/cjs/components/tooltip.js.map +1 -1
  81. package/dist/cjs/components/user-menu.js.map +1 -1
  82. package/dist/cjs/data-plugin.js.map +1 -1
  83. package/dist/cjs/index.js.map +1 -1
  84. package/dist/cjs/plugin.js.map +1 -1
  85. package/dist/cjs/preset.js.map +1 -1
  86. package/dist/cjs/theme.js +19 -18
  87. package/dist/cjs/theme.js.map +1 -1
  88. package/dist/cjs/units.js +37 -1
  89. package/dist/cjs/units.js.map +1 -1
  90. package/dist/cjs/with-opacity.js.map +1 -1
  91. package/dist/esm/aria-plugin.js.map +1 -1
  92. package/dist/esm/base.js +2 -2
  93. package/dist/esm/base.js.map +1 -1
  94. package/dist/esm/colors.js.map +1 -1
  95. package/dist/esm/components/accordion.js +16 -6
  96. package/dist/esm/components/accordion.js.map +1 -1
  97. package/dist/esm/components/alert.js.map +1 -1
  98. package/dist/esm/components/avatar.js +3 -3
  99. package/dist/esm/components/avatar.js.map +1 -1
  100. package/dist/esm/components/badge.js +1 -1
  101. package/dist/esm/components/badge.js.map +1 -1
  102. package/dist/esm/components/breadcrumb.js +1 -1
  103. package/dist/esm/components/breadcrumb.js.map +1 -1
  104. package/dist/esm/components/button-group.js +1 -1
  105. package/dist/esm/components/button-group.js.map +1 -1
  106. package/dist/esm/components/button.js +12 -18
  107. package/dist/esm/components/button.js.map +1 -1
  108. package/dist/esm/components/card.js +12 -12
  109. package/dist/esm/components/card.js.map +1 -1
  110. package/dist/esm/components/checkbox.js +6 -6
  111. package/dist/esm/components/checkbox.js.map +1 -1
  112. package/dist/esm/components/chip.js +5 -2
  113. package/dist/esm/components/chip.js.map +1 -1
  114. package/dist/esm/components/code.js.map +1 -1
  115. package/dist/esm/components/combobox.js +7 -7
  116. package/dist/esm/components/combobox.js.map +1 -1
  117. package/dist/esm/components/cookie-consent.js +2 -2
  118. package/dist/esm/components/cookie-consent.js.map +1 -1
  119. package/dist/esm/components/dialog.js +1 -1
  120. package/dist/esm/components/dialog.js.map +1 -1
  121. package/dist/esm/components/divider.js +3 -3
  122. package/dist/esm/components/divider.js.map +1 -1
  123. package/dist/esm/components/dot.js.map +1 -1
  124. package/dist/esm/components/filter.js.map +1 -1
  125. package/dist/esm/components/footer.js +2 -2
  126. package/dist/esm/components/footer.js.map +1 -1
  127. package/dist/esm/components/forms.js.map +1 -1
  128. package/dist/esm/components/header.js.map +1 -1
  129. package/dist/esm/components/icon.js +1 -1
  130. package/dist/esm/components/icon.js.map +1 -1
  131. package/dist/esm/components/input.js +12 -17
  132. package/dist/esm/components/input.js.map +1 -1
  133. package/dist/esm/components/kbd.js.map +1 -1
  134. package/dist/esm/components/label.js.map +1 -1
  135. package/dist/esm/components/link.js +3 -3
  136. package/dist/esm/components/link.js.map +1 -1
  137. package/dist/esm/components/list.js +5 -5
  138. package/dist/esm/components/list.js.map +1 -1
  139. package/dist/esm/components/logo.js +3 -3
  140. package/dist/esm/components/logo.js.map +1 -1
  141. package/dist/esm/components/menu-vertical.js +19 -36
  142. package/dist/esm/components/menu-vertical.js.map +1 -1
  143. package/dist/esm/components/menubar.js.map +1 -1
  144. package/dist/esm/components/modal.js.map +1 -1
  145. package/dist/esm/components/pagination.js +1 -1
  146. package/dist/esm/components/pagination.js.map +1 -1
  147. package/dist/esm/components/popup-menu.js +9 -9
  148. package/dist/esm/components/popup-menu.js.map +1 -1
  149. package/dist/esm/components/progress-bar.js +1 -1
  150. package/dist/esm/components/progress-bar.js.map +1 -1
  151. package/dist/esm/components/progress-stepper.js +5 -5
  152. package/dist/esm/components/progress-stepper.js.map +1 -1
  153. package/dist/esm/components/radio.js +4 -4
  154. package/dist/esm/components/radio.js.map +1 -1
  155. package/dist/esm/components/search-field.js +4 -4
  156. package/dist/esm/components/search-field.js.map +1 -1
  157. package/dist/esm/components/select.js +18 -18
  158. package/dist/esm/components/select.js.map +1 -1
  159. package/dist/esm/components/snackbar.js +1 -1
  160. package/dist/esm/components/snackbar.js.map +1 -1
  161. package/dist/esm/components/spinner.js +3 -0
  162. package/dist/esm/components/spinner.js.map +1 -1
  163. package/dist/esm/components/switch.js +2 -2
  164. package/dist/esm/components/switch.js.map +1 -1
  165. package/dist/esm/components/table-autotable.js +8 -7
  166. package/dist/esm/components/table-autotable.js.map +1 -1
  167. package/dist/esm/components/table.js.map +1 -1
  168. package/dist/esm/components/tabs.js.map +1 -1
  169. package/dist/esm/components/tooltip.js +7 -7
  170. package/dist/esm/components/tooltip.js.map +1 -1
  171. package/dist/esm/components/user-menu.js.map +1 -1
  172. package/dist/esm/data-plugin.js.map +1 -1
  173. package/dist/esm/index.js.map +1 -1
  174. package/dist/esm/plugin.js.map +1 -1
  175. package/dist/esm/preset.js.map +1 -1
  176. package/dist/esm/theme.js +21 -18
  177. package/dist/esm/theme.js.map +1 -1
  178. package/dist/esm/units.js +37 -1
  179. package/dist/esm/units.js.map +1 -1
  180. package/dist/esm/with-opacity.js.map +1 -1
  181. package/dist/types/base.d.ts +1 -1
  182. package/dist/types/components/accordion.d.ts +13 -3
  183. package/dist/types/components/avatar.d.ts +3 -3
  184. package/dist/types/components/badge.d.ts +1 -1
  185. package/dist/types/components/breadcrumb.d.ts +1 -1
  186. package/dist/types/components/button-group.d.ts +1 -1
  187. package/dist/types/components/button.d.ts +12 -18
  188. package/dist/types/components/card.d.ts +12 -12
  189. package/dist/types/components/checkbox.d.ts +6 -6
  190. package/dist/types/components/chip.d.ts +5 -2
  191. package/dist/types/components/combobox.d.ts +7 -7
  192. package/dist/types/components/cookie-consent.d.ts +2 -2
  193. package/dist/types/components/dialog.d.ts +1 -1
  194. package/dist/types/components/divider.d.ts +3 -3
  195. package/dist/types/components/footer.d.ts +2 -2
  196. package/dist/types/components/icon.d.ts +1 -1
  197. package/dist/types/components/input.d.ts +12 -12
  198. package/dist/types/components/link.d.ts +3 -3
  199. package/dist/types/components/list.d.ts +5 -5
  200. package/dist/types/components/logo.d.ts +3 -3
  201. package/dist/types/components/menu-vertical.d.ts +19 -36
  202. package/dist/types/components/pagination.d.ts +1 -1
  203. package/dist/types/components/popup-menu.d.ts +9 -9
  204. package/dist/types/components/progress-bar.d.ts +1 -1
  205. package/dist/types/components/progress-stepper.d.ts +5 -5
  206. package/dist/types/components/radio.d.ts +4 -4
  207. package/dist/types/components/search-field.d.ts +4 -4
  208. package/dist/types/components/select.d.ts +18 -18
  209. package/dist/types/components/snackbar.d.ts +1 -1
  210. package/dist/types/components/spinner.d.ts +3 -0
  211. package/dist/types/components/switch.d.ts +1 -1
  212. package/dist/types/components/table-autotable.d.ts +8 -7
  213. package/dist/types/components/tooltip.d.ts +7 -7
  214. package/dist/types/units.d.ts +36 -0
  215. package/package.json +10 -15
  216. package/dist/types/accordion/index.d.ts +0 -2
  217. package/dist/types/accordion/src/accordion/accordion-item.d.ts +0 -8
  218. package/dist/types/accordion/src/accordion/accordion.d.ts +0 -25
  219. package/dist/types/accordion/src/accordion/index.d.ts +0 -10
  220. package/dist/types/accordion/src/disclosure/disclosure.d.ts +0 -53
  221. package/dist/types/accordion/src/disclosure/index.d.ts +0 -4
  222. package/dist/types/accordion/src/disclosure/styles.d.ts +0 -1
  223. package/dist/types/accordion/src/index.d.ts +0 -4
  224. package/dist/types/accordion/stories/accordion.stories.d.ts +0 -8
  225. package/dist/types/accordion/stories/disclosure.stories.d.ts +0 -9
  226. package/dist/types/avatar/index.d.ts +0 -2
  227. package/dist/types/avatar/src/avatar.d.ts +0 -17
  228. package/dist/types/avatar/src/index.d.ts +0 -8
  229. package/dist/types/avatar/stories/avatar.stories.d.ts +0 -8
  230. package/dist/types/badge/index.d.ts +0 -2
  231. package/dist/types/badge/src/badge.d.ts +0 -12
  232. package/dist/types/badge/src/index.d.ts +0 -8
  233. package/dist/types/badge/stories/badge.stories.d.ts +0 -8
  234. package/dist/types/breadcrumb/index.d.ts +0 -2
  235. package/dist/types/breadcrumb/src/breadcrumb.d.ts +0 -41
  236. package/dist/types/breadcrumb/src/index.d.ts +0 -11
  237. package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +0 -7
  238. package/dist/types/button/index.d.ts +0 -2
  239. package/dist/types/button/src/button-group.d.ts +0 -15
  240. package/dist/types/button/src/button.d.ts +0 -49
  241. package/dist/types/button/src/index.d.ts +0 -11
  242. package/dist/types/button/src/styles.d.ts +0 -1
  243. package/dist/types/button/stories/announcement.d.ts +0 -5
  244. package/dist/types/button/stories/button-group.stories.d.ts +0 -8
  245. package/dist/types/button/stories/button.stories.d.ts +0 -7
  246. package/dist/types/card/index.d.ts +0 -2
  247. package/dist/types/card/src/card.d.ts +0 -60
  248. package/dist/types/card/src/index.d.ts +0 -21
  249. package/dist/types/card/src/meta-card.d.ts +0 -42
  250. package/dist/types/card/stories/card.stories.d.ts +0 -4
  251. package/dist/types/card/stories/meta-card.stories.d.ts +0 -4
  252. package/dist/types/chip/index.d.ts +0 -2
  253. package/dist/types/chip/src/chip.d.ts +0 -7
  254. package/dist/types/chip/src/index.d.ts +0 -4
  255. package/dist/types/chip/stories/chip.stories.d.ts +0 -12
  256. package/dist/types/cookie-consent/index.d.ts +0 -2
  257. package/dist/types/cookie-consent/src/cookie-consent.d.ts +0 -32
  258. package/dist/types/cookie-consent/src/index.d.ts +0 -15
  259. package/dist/types/cookie-consent/stories/cookie-consent.stories.d.ts +0 -7
  260. package/dist/types/core/src/aria-plugin.d.ts +0 -4
  261. package/dist/types/core/src/base.d.ts +0 -53
  262. package/dist/types/core/src/colors.d.ts +0 -643
  263. package/dist/types/core/src/components/accordion.d.ts +0 -164
  264. package/dist/types/core/src/components/alert.d.ts +0 -21
  265. package/dist/types/core/src/components/avatar.d.ts +0 -26
  266. package/dist/types/core/src/components/badge.d.ts +0 -21
  267. package/dist/types/core/src/components/breadcrumb.d.ts +0 -28
  268. package/dist/types/core/src/components/button-group.d.ts +0 -25
  269. package/dist/types/core/src/components/button.d.ts +0 -201
  270. package/dist/types/core/src/components/card.d.ts +0 -135
  271. package/dist/types/core/src/components/checkbox.d.ts +0 -108
  272. package/dist/types/core/src/components/chip.d.ts +0 -34
  273. package/dist/types/core/src/components/code.d.ts +0 -8
  274. package/dist/types/core/src/components/combobox.d.ts +0 -72
  275. package/dist/types/core/src/components/cookie-consent.d.ts +0 -35
  276. package/dist/types/core/src/components/dialog.d.ts +0 -5
  277. package/dist/types/core/src/components/divider.d.ts +0 -50
  278. package/dist/types/core/src/components/dot.d.ts +0 -43
  279. package/dist/types/core/src/components/filter.d.ts +0 -14
  280. package/dist/types/core/src/components/footer.d.ts +0 -27
  281. package/dist/types/core/src/components/forms.d.ts +0 -24
  282. package/dist/types/core/src/components/header.d.ts +0 -28
  283. package/dist/types/core/src/components/icon.d.ts +0 -38
  284. package/dist/types/core/src/components/input.d.ts +0 -214
  285. package/dist/types/core/src/components/kbd.d.ts +0 -7
  286. package/dist/types/core/src/components/label.d.ts +0 -27
  287. package/dist/types/core/src/components/link.d.ts +0 -43
  288. package/dist/types/core/src/components/list.d.ts +0 -52
  289. package/dist/types/core/src/components/logo.d.ts +0 -48
  290. package/dist/types/core/src/components/menu-vertical.d.ts +0 -215
  291. package/dist/types/core/src/components/menubar.d.ts +0 -35
  292. package/dist/types/core/src/components/modal.d.ts +0 -45
  293. package/dist/types/core/src/components/pagination.d.ts +0 -101
  294. package/dist/types/core/src/components/popup-menu.d.ts +0 -138
  295. package/dist/types/core/src/components/progress-bar.d.ts +0 -13
  296. package/dist/types/core/src/components/progress-stepper.d.ts +0 -60
  297. package/dist/types/core/src/components/radio.d.ts +0 -125
  298. package/dist/types/core/src/components/search-field.d.ts +0 -34
  299. package/dist/types/core/src/components/select.d.ts +0 -141
  300. package/dist/types/core/src/components/snackbar.d.ts +0 -30
  301. package/dist/types/core/src/components/spinner.d.ts +0 -10
  302. package/dist/types/core/src/components/switch.d.ts +0 -64
  303. package/dist/types/core/src/components/table-autotable.d.ts +0 -221
  304. package/dist/types/core/src/components/table.d.ts +0 -11
  305. package/dist/types/core/src/components/tabs.d.ts +0 -14
  306. package/dist/types/core/src/components/tooltip.d.ts +0 -53
  307. package/dist/types/core/src/components/user-menu.d.ts +0 -14
  308. package/dist/types/core/src/data-plugin.d.ts +0 -4
  309. package/dist/types/core/src/index.d.ts +0 -6
  310. package/dist/types/core/src/plugin.d.ts +0 -12
  311. package/dist/types/core/src/preset.d.ts +0 -18
  312. package/dist/types/core/src/theme.d.ts +0 -4
  313. package/dist/types/core/src/units.d.ts +0 -251
  314. package/dist/types/core/src/with-opacity.d.ts +0 -4
  315. package/dist/types/divider/index.d.ts +0 -2
  316. package/dist/types/divider/src/divider-section.d.ts +0 -12
  317. package/dist/types/divider/src/divider.d.ts +0 -8
  318. package/dist/types/divider/src/index.d.ts +0 -10
  319. package/dist/types/divider/src/styles.d.ts +0 -1
  320. package/dist/types/divider/stories/divider-section.stories.d.ts +0 -8
  321. package/dist/types/divider/stories/divider.stories.d.ts +0 -8
  322. package/dist/types/filter/index.d.ts +0 -2
  323. package/dist/types/filter/src/filter-item.d.ts +0 -7
  324. package/dist/types/filter/src/filter-label.d.ts +0 -7
  325. package/dist/types/filter/src/filter.d.ts +0 -6
  326. package/dist/types/filter/src/index.d.ts +0 -12
  327. package/dist/types/filter/stories/filter.stories.d.ts +0 -7
  328. package/dist/types/forms/index.d.ts +0 -2
  329. package/dist/types/forms/src/checkbox/checkbox-group.d.ts +0 -46
  330. package/dist/types/forms/src/checkbox/checkbox.d.ts +0 -39
  331. package/dist/types/forms/src/checkbox/index.d.ts +0 -10
  332. package/dist/types/forms/src/checkbox/styles.d.ts +0 -2
  333. package/dist/types/forms/src/combobox/combobox-context.d.ts +0 -42
  334. package/dist/types/forms/src/combobox/combobox-input.d.ts +0 -44
  335. package/dist/types/forms/src/combobox/combobox-list.d.ts +0 -8
  336. package/dist/types/forms/src/combobox/combobox-option.d.ts +0 -11
  337. package/dist/types/forms/src/combobox/combobox.d.ts +0 -6
  338. package/dist/types/forms/src/combobox/index.d.ts +0 -15
  339. package/dist/types/forms/src/combobox/styles.d.ts +0 -1
  340. package/dist/types/forms/src/date-picker/date-picker.d.ts +0 -7
  341. package/dist/types/forms/src/date-picker/index.d.ts +0 -8
  342. package/dist/types/forms/src/form-control/index.d.ts +0 -40
  343. package/dist/types/forms/src/form-error-message/index.d.ts +0 -8
  344. package/dist/types/forms/src/form-helper-text/index.d.ts +0 -8
  345. package/dist/types/forms/src/form-label/index.d.ts +0 -20
  346. package/dist/types/forms/src/index.d.ts +0 -26
  347. package/dist/types/forms/src/input/index.d.ts +0 -13
  348. package/dist/types/forms/src/input/input.d.ts +0 -26
  349. package/dist/types/forms/src/input/styles.d.ts +0 -1
  350. package/dist/types/forms/src/input-addin/index.d.ts +0 -12
  351. package/dist/types/forms/src/input-group/index.d.ts +0 -11
  352. package/dist/types/forms/src/input-group/styles.d.ts +0 -1
  353. package/dist/types/forms/src/radio/index.d.ts +0 -10
  354. package/dist/types/forms/src/radio/radio-group.d.ts +0 -48
  355. package/dist/types/forms/src/radio/radio.d.ts +0 -32
  356. package/dist/types/forms/src/radio/styles.d.ts +0 -3
  357. package/dist/types/forms/src/select/index.d.ts +0 -18
  358. package/dist/types/forms/src/select/styles.d.ts +0 -1
  359. package/dist/types/forms/src/switch/index.d.ts +0 -8
  360. package/dist/types/forms/src/switch/switchcomponent.d.ts +0 -9
  361. package/dist/types/forms/src/text-field/index.d.ts +0 -8
  362. package/dist/types/forms/src/text-field/text-field.d.ts +0 -6
  363. package/dist/types/forms/src/textarea/index.d.ts +0 -12
  364. package/dist/types/forms/stories/check.d.ts +0 -5
  365. package/dist/types/forms/stories/checkbox-group.stories.d.ts +0 -11
  366. package/dist/types/forms/stories/checkbox.stories.d.ts +0 -8
  367. package/dist/types/forms/stories/combobox.stories.d.ts +0 -19
  368. package/dist/types/forms/stories/date-picker.stories.d.ts +0 -21
  369. package/dist/types/forms/stories/form-control.stories.d.ts +0 -10
  370. package/dist/types/forms/stories/input.stories.d.ts +0 -21
  371. package/dist/types/forms/stories/radio-group.stories.d.ts +0 -11
  372. package/dist/types/forms/stories/radio.stories.d.ts +0 -14
  373. package/dist/types/forms/stories/select.stories.d.ts +0 -10
  374. package/dist/types/forms/stories/switch.stories.d.ts +0 -8
  375. package/dist/types/forms/stories/text-field.stories.d.ts +0 -18
  376. package/dist/types/forms/stories/textarea.stories.d.ts +0 -42
  377. package/dist/types/icon/index.d.ts +0 -2
  378. package/dist/types/icon/src/icon-padded.d.ts +0 -4
  379. package/dist/types/icon/src/icon.d.ts +0 -20
  380. package/dist/types/icon/src/index.d.ts +0 -10
  381. package/dist/types/icon/stories/icon-padded.stories.d.ts +0 -8
  382. package/dist/types/icon/stories/icon.stories.d.ts +0 -8
  383. package/dist/types/image/index.d.ts +0 -2
  384. package/dist/types/image/src/image.d.ts +0 -28
  385. package/dist/types/image/src/index.d.ts +0 -4
  386. package/dist/types/image/src/use-image.d.ts +0 -52
  387. package/dist/types/image/stories/image.stories.d.ts +0 -8
  388. package/dist/types/label/index.d.ts +0 -2
  389. package/dist/types/label/src/index.d.ts +0 -8
  390. package/dist/types/label/src/label.d.ts +0 -8
  391. package/dist/types/label/stories/label.stories.d.ts +0 -8
  392. package/dist/types/layout/index.d.ts +0 -2
  393. package/dist/types/layout/src/footer/footer-list-item.d.ts +0 -4
  394. package/dist/types/layout/src/footer/footer-list.d.ts +0 -4
  395. package/dist/types/layout/src/footer/footer.d.ts +0 -6
  396. package/dist/types/layout/src/footer/index.d.ts +0 -14
  397. package/dist/types/layout/src/header/header.d.ts +0 -17
  398. package/dist/types/layout/src/header/index.d.ts +0 -8
  399. package/dist/types/layout/src/index.d.ts +0 -4
  400. package/dist/types/layout/stories/footer.stories.d.ts +0 -7
  401. package/dist/types/layout/stories/header.stories.d.ts +0 -5
  402. package/dist/types/link/index.d.ts +0 -2
  403. package/dist/types/link/src/index.d.ts +0 -12
  404. package/dist/types/link/src/link.d.ts +0 -21
  405. package/dist/types/link/src/styles.d.ts +0 -1
  406. package/dist/types/link/stories/link.stories.d.ts +0 -12
  407. package/dist/types/list/index.d.ts +0 -2
  408. package/dist/types/list/src/index.d.ts +0 -12
  409. package/dist/types/list/src/list.d.ts +0 -28
  410. package/dist/types/list/stories/list.stories.d.ts +0 -7
  411. package/dist/types/logo/index.d.ts +0 -2
  412. package/dist/types/logo/src/assets/index.d.ts +0 -2
  413. package/dist/types/logo/src/assets/logo-svg.d.ts +0 -2
  414. package/dist/types/logo/src/assets/symbol-svg.d.ts +0 -2
  415. package/dist/types/logo/src/index.d.ts +0 -4
  416. package/dist/types/logo/src/logo.d.ts +0 -38
  417. package/dist/types/logo/stories/logo.stories.d.ts +0 -8
  418. package/dist/types/menu-vertical/index.d.ts +0 -2
  419. package/dist/types/menu-vertical/src/index.d.ts +0 -25
  420. package/dist/types/menu-vertical/src/menu-vertical-backbutton.d.ts +0 -9
  421. package/dist/types/menu-vertical/src/menu-vertical-context.d.ts +0 -62
  422. package/dist/types/menu-vertical/src/menu-vertical-header.d.ts +0 -9
  423. package/dist/types/menu-vertical/src/menu-vertical-item.d.ts +0 -26
  424. package/dist/types/menu-vertical/src/menu-vertical-label.d.ts +0 -7
  425. package/dist/types/menu-vertical/src/menu-vertical-nav.d.ts +0 -9
  426. package/dist/types/menu-vertical/src/menu-vertical-sidebar.d.ts +0 -9
  427. package/dist/types/menu-vertical/src/menu-vertical-submenu-button.d.ts +0 -25
  428. package/dist/types/menu-vertical/src/menu-vertical-tool-item.d.ts +0 -9
  429. package/dist/types/menu-vertical/src/menu-vertical.d.ts +0 -14
  430. package/dist/types/menu-vertical/stories/menu-vertical-sidebar.stories.d.ts +0 -8
  431. package/dist/types/menu-vertical/stories/menu-vertical.stories.d.ts +0 -8
  432. package/dist/types/menubar/index.d.ts +0 -2
  433. package/dist/types/menubar/src/index.d.ts +0 -11
  434. package/dist/types/menubar/src/menubar-item.d.ts +0 -15
  435. package/dist/types/menubar/src/menubar.d.ts +0 -18
  436. package/dist/types/menubar/stories/menubar.stories.d.ts +0 -7
  437. package/dist/types/modal/index.d.ts +0 -2
  438. package/dist/types/modal/src/confirm/confirm.d.ts +0 -17
  439. package/dist/types/modal/src/confirm/index.d.ts +0 -1
  440. package/dist/types/modal/src/dialog/dialog-buttons.d.ts +0 -6
  441. package/dist/types/modal/src/dialog/dialog-content.d.ts +0 -6
  442. package/dist/types/modal/src/dialog/dialog.d.ts +0 -7
  443. package/dist/types/modal/src/dialog/index.d.ts +0 -12
  444. package/dist/types/modal/src/index.d.ts +0 -6
  445. package/dist/types/modal/src/modal/index.d.ts +0 -13
  446. package/dist/types/modal/src/modal/modal-content.d.ts +0 -5
  447. package/dist/types/modal/src/modal/modal-footer.d.ts +0 -5
  448. package/dist/types/modal/src/modal/modal.d.ts +0 -27
  449. package/dist/types/modal/stories/confirm.stories.d.ts +0 -10
  450. package/dist/types/modal/stories/dialog.stories.d.ts +0 -6
  451. package/dist/types/modal/stories/modal.stories.d.ts +0 -7
  452. package/dist/types/pagination/index.d.ts +0 -2
  453. package/dist/types/pagination/src/index.d.ts +0 -8
  454. package/dist/types/pagination/src/pagination.d.ts +0 -19
  455. package/dist/types/pagination/src/styles.d.ts +0 -1
  456. package/dist/types/pagination/stories/pagination.stories.d.ts +0 -8
  457. package/dist/types/popup-menu/index.d.ts +0 -2
  458. package/dist/types/popup-menu/src/index.d.ts +0 -18
  459. package/dist/types/popup-menu/src/popup-menu-button.d.ts +0 -2
  460. package/dist/types/popup-menu/src/popup-menu-group.d.ts +0 -5
  461. package/dist/types/popup-menu/src/popup-menu-item.d.ts +0 -11
  462. package/dist/types/popup-menu/src/popup-menu-items.d.ts +0 -20
  463. package/dist/types/popup-menu/src/popup-menu-panel.d.ts +0 -6
  464. package/dist/types/popup-menu/src/popup-menu.d.ts +0 -53
  465. package/dist/types/popup-menu/src/popupmenu-context.d.ts +0 -18
  466. package/dist/types/popup-menu/src/styles.d.ts +0 -1
  467. package/dist/types/popup-menu/stories/popup-menu.stories.d.ts +0 -9
  468. package/dist/types/progress-bar/index.d.ts +0 -2
  469. package/dist/types/progress-bar/src/index.d.ts +0 -8
  470. package/dist/types/progress-bar/src/progress-bar.d.ts +0 -18
  471. package/dist/types/progress-bar/src/styles.d.ts +0 -0
  472. package/dist/types/progress-bar/stories/progress-bar.stories.d.ts +0 -8
  473. package/dist/types/progress-stepper/index.d.ts +0 -2
  474. package/dist/types/progress-stepper/src/index.d.ts +0 -8
  475. package/dist/types/progress-stepper/src/progress-step.d.ts +0 -13
  476. package/dist/types/progress-stepper/src/progress-stepper.d.ts +0 -12
  477. package/dist/types/progress-stepper/stories/progress-stepper.stories.d.ts +0 -8
  478. package/dist/types/react/index.d.ts +0 -2
  479. package/dist/types/react/src/index.d.ts +0 -70
  480. package/dist/types/searchfield/index.d.ts +0 -2
  481. package/dist/types/searchfield/src/index.d.ts +0 -18
  482. package/dist/types/searchfield/src/searchfield-suggestions-input.d.ts +0 -9
  483. package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +0 -5
  484. package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +0 -5
  485. package/dist/types/searchfield/src/searchfield-suggestions.d.ts +0 -5
  486. package/dist/types/searchfield/src/searchfield.d.ts +0 -27
  487. package/dist/types/searchfield/stories/searchfield-suggestions.stories.d.ts +0 -8
  488. package/dist/types/searchfield/stories/searchfield.stories.d.ts +0 -6
  489. package/dist/types/snackbar/index.d.ts +0 -2
  490. package/dist/types/snackbar/src/index.d.ts +0 -8
  491. package/dist/types/snackbar/src/snackbar.d.ts +0 -11
  492. package/dist/types/snackbar/stories/snackbar.stories.d.ts +0 -8
  493. package/dist/types/spinner/index.d.ts +0 -2
  494. package/dist/types/spinner/src/assets/spinner-square.d.ts +0 -265
  495. package/dist/types/spinner/src/index.d.ts +0 -4
  496. package/dist/types/spinner/src/spinner.d.ts +0 -14
  497. package/dist/types/spinner/stories/spinner.stories.d.ts +0 -8
  498. package/dist/types/table/index.d.ts +0 -2
  499. package/dist/types/table/src/auto-table.d.ts +0 -48
  500. package/dist/types/table/src/index.d.ts +0 -24
  501. package/dist/types/table/src/table-body.d.ts +0 -2
  502. package/dist/types/table/src/table-footer.d.ts +0 -2
  503. package/dist/types/table/src/table-header-column.d.ts +0 -6
  504. package/dist/types/table/src/table-header.d.ts +0 -6
  505. package/dist/types/table/src/table-row-column.d.ts +0 -6
  506. package/dist/types/table/src/table-row.d.ts +0 -2
  507. package/dist/types/table/src/table-sort-button.d.ts +0 -8
  508. package/dist/types/table/src/table.d.ts +0 -9
  509. package/dist/types/table/stories/autotable.stories.d.ts +0 -10
  510. package/dist/types/table/stories/table.stories.d.ts +0 -11
  511. package/dist/types/tabs/index.d.ts +0 -2
  512. package/dist/types/tabs/src/index.d.ts +0 -15
  513. package/dist/types/tabs/src/tabs-button.d.ts +0 -7
  514. package/dist/types/tabs/src/tabs-content.d.ts +0 -6
  515. package/dist/types/tabs/src/tabs-context.d.ts +0 -8
  516. package/dist/types/tabs/src/tabs-item.d.ts +0 -6
  517. package/dist/types/tabs/src/tabs.d.ts +0 -11
  518. package/dist/types/tabs/stories/tabs.stories.d.ts +0 -12
  519. package/dist/types/text/index.d.ts +0 -2
  520. package/dist/types/text/src/index.d.ts +0 -8
  521. package/dist/types/text/src/text.d.ts +0 -10
  522. package/dist/types/text/stories/text.stories.d.ts +0 -7
  523. package/dist/types/theme/index.d.ts +0 -2
  524. package/dist/types/theme/src/colors.d.ts +0 -1410
  525. package/dist/types/theme/src/create-memo-class.d.ts +0 -1
  526. package/dist/types/theme/src/create-theme-vars/calc.d.ts +0 -19
  527. package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +0 -9
  528. package/dist/types/theme/src/create-theme-vars/css-var.d.ts +0 -7
  529. package/dist/types/theme/src/create-theme-vars/index.d.ts +0 -4
  530. package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +0 -8
  531. package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +0 -2
  532. package/dist/types/theme/src/default-theme.d.ts +0 -4
  533. package/dist/types/theme/src/gui-provider.d.ts +0 -34
  534. package/dist/types/theme/src/index.d.ts +0 -14
  535. package/dist/types/theme/src/types.d.ts +0 -54
  536. package/dist/types/theme/src/units.d.ts +0 -226
  537. package/dist/types/theme/src/use-safe-effect.d.ts +0 -2
  538. package/dist/types/theme/src/utils.d.ts +0 -1
  539. package/dist/types/toast/index.d.ts +0 -2
  540. package/dist/types/toast/src/index.d.ts +0 -7
  541. package/dist/types/toast/src/toast.d.ts +0 -62
  542. package/dist/types/toasted-notes/index.d.ts +0 -2
  543. package/dist/types/toasted-notes/src/Alert.d.ts +0 -8
  544. package/dist/types/toasted-notes/src/Message.d.ts +0 -26
  545. package/dist/types/toasted-notes/src/Positions.d.ts +0 -9
  546. package/dist/types/toasted-notes/src/Toast.d.ts +0 -13
  547. package/dist/types/toasted-notes/src/ToastManager.d.ts +0 -45
  548. package/dist/types/toasted-notes/src/index.d.ts +0 -4
  549. package/dist/types/toasted-notes/src/useTimeout.d.ts +0 -3
  550. package/dist/types/tooltip/index.d.ts +0 -2
  551. package/dist/types/tooltip/src/index.d.ts +0 -8
  552. package/dist/types/tooltip/src/tooltip.d.ts +0 -14
  553. package/dist/types/tooltip/stories/tooltip.stories.d.ts +0 -9
  554. package/dist/types/user-menu/index.d.ts +0 -2
  555. package/dist/types/user-menu/src/index.d.ts +0 -8
  556. package/dist/types/user-menu/src/user-menu.d.ts +0 -32
  557. package/dist/types/user-menu/stories/user-menu.stories.d.ts +0 -8
  558. package/dist/types/utils/index.d.ts +0 -2
  559. package/dist/types/utils/src/assertion.d.ts +0 -5
  560. package/dist/types/utils/src/children.d.ts +0 -8
  561. package/dist/types/utils/src/color.d.ts +0 -10
  562. package/dist/types/utils/src/index.d.ts +0 -20
  563. package/dist/types/utils/src/object.d.ts +0 -6
  564. package/dist/types/utils/src/refs.d.ts +0 -5
  565. package/dist/types/utils/src/slug.d.ts +0 -1
  566. package/dist/types/utils/src/types.d.ts +0 -56
  567. package/dist/types/utils/src/use-on-element-outside.d.ts +0 -39
  568. package/dist/types/utils/src/walk-object.d.ts +0 -5
@@ -1,164 +0,0 @@
1
- export declare const Accordion: () => {
2
- '.sk-disclosure': {
3
- '&-header': {
4
- '@apply mt-6 mb-8': {};
5
- '@apply flex flex-col text-left': {};
6
- '@apply cursor-pointer': {};
7
- '*': {
8
- '@apply cursor-pointer': {};
9
- };
10
- '&:focus-visible': {
11
- '@apply outline-0': {};
12
- };
13
- '&-icon': {
14
- '@apply ml-auto': {};
15
- '@apply text-dark-secondary': {};
16
- svg: {
17
- '@apply w-20 h-20': {};
18
- };
19
- };
20
- '&[data-disabled="true"]': {
21
- '@apply text-dark-disabled': {};
22
- '.sk-disclosure-title': {
23
- '@apply text-dark-disabled': {};
24
- };
25
- '@apply cursor-default': {};
26
- '*': {
27
- '@apply cursor-default': {};
28
- };
29
- };
30
- };
31
- '&-label': {
32
- '@apply shrink-0': {};
33
- };
34
- '&-toggle': {
35
- '@apply flex items-center justify-between': {};
36
- '@apply gap-16': {};
37
- };
38
- '&-title': {
39
- '@apply text-dark-primary': {};
40
- '&-wrapper': {
41
- '@apply w-full': {};
42
- '@apply flex flex-row': {};
43
- '@apply items-center': {};
44
- };
45
- };
46
- '&-sm': {
47
- '.sk-disclosure-title': {
48
- '@apply text-h4-sm font-bold': {};
49
- '&-wrapper': {
50
- '@apply gap-12': {};
51
- };
52
- };
53
- '.sk-disclosure-toggle': {
54
- '@apply gap-12': {};
55
- };
56
- '.sk-disclosure-support': {
57
- '@apply text-small': {};
58
- };
59
- '&[data-variant="default"]': {
60
- '.sk-disclosure-toggle': {
61
- '@apply py-4': {};
62
- '@apply h-40': {};
63
- };
64
- '.sk-disclosure-header-icon': {
65
- '@apply w-32 h-32': {};
66
- };
67
- };
68
- '&[data-variant="alt"]': {};
69
- };
70
- '&-md': {
71
- '.sk-disclosure-title': {
72
- '@apply text-h4-md font-bold': {};
73
- '&-wrapper': {
74
- '@apply gap-12': {};
75
- };
76
- };
77
- '.sk-disclosure-toggle': {
78
- '@apply gap-12': {};
79
- };
80
- '.sk-disclosure-support': {
81
- '@apply text-body': {};
82
- };
83
- '&[data-variant="default"]': {
84
- '.sk-disclosure-toggle': {
85
- '@apply py-8': {};
86
- '@apply h-56': {};
87
- };
88
- '.sk-disclosure-header-icon': {
89
- '@apply w-40 h-40': {};
90
- };
91
- };
92
- };
93
- '&-lg': {
94
- '&[data-variant="alt"]': {
95
- '.sk-disclosure-support': {
96
- '@apply text-large': {};
97
- };
98
- '.sk-disclosure-title': {
99
- '@apply text-h3-md font-bold': {};
100
- '&-wrapper': {
101
- '@apply gap-16': {};
102
- };
103
- };
104
- };
105
- };
106
- '&-body': {
107
- '@apply flex flex-col': {};
108
- '@apply mb-32': {};
109
- '@apply mr-32': {};
110
- '@apply gap-8': {};
111
- '@apply py-0': {};
112
- '@apply h-0 overflow-hidden': {};
113
- transitionProperty: string;
114
- transitionTimingFunction: string;
115
- transitionDuration: string;
116
- '&[aria-hidden="true"], &[data-hidden="true"]': {
117
- '@apply my-0 invisible h-0': {};
118
- };
119
- '&[aria-hidden="false"], &[data-hidden="false"]': {
120
- '@apply block h-max visible': {};
121
- };
122
- '&[data-variant="alt"]': {
123
- '@apply mt-24': {};
124
- '&[data-size="sm"]': {
125
- '@apply pr-12': {};
126
- };
127
- '&[data-size="md"]': {
128
- '@apply pr-12': {};
129
- };
130
- '&[data-size="lg"]': {
131
- '@apply pr-16': {};
132
- };
133
- '&[data-has-icon="true"]': {
134
- '&[data-size="sm"]': {
135
- '@apply ml-[3.2rem]': {};
136
- };
137
- '&[data-size="md"]': {
138
- '@apply ml-[3.6rem]': {};
139
- };
140
- '&[data-size="lg"]': {
141
- '@apply ml-[4.8rem]': {};
142
- };
143
- };
144
- };
145
- };
146
- '&-is-open': {
147
- '.sk-disclosure-body': {
148
- '@apply overflow-visible animate-reset-overflow': {};
149
- };
150
- };
151
- };
152
- '.sk-accordion': {
153
- '&-item': {
154
- '.sk-disclosure': {
155
- transitionProperty: string;
156
- transitionDuration: string;
157
- '@apply border-b-1 border-divider': {};
158
- };
159
- '&:last-child .sk-disclosure': {
160
- '@apply border-b-transparent': {};
161
- };
162
- };
163
- };
164
- };
@@ -1,21 +0,0 @@
1
- export declare const Alert: (colors: string[]) => {
2
- '.alert-close-button': {
3
- '@apply absolute right-4 cursor-base focus-visible:outline-none': {};
4
- '@apply text-neutral-600 hover:text-neutral-700': {};
5
- };
6
- '.alert-left-accent': {
7
- '@apply border-l-2 rounded-none': {};
8
- '@apply text-body': {};
9
- };
10
- '.alert-solid': {
11
- '@apply border rounded-base': {};
12
- '@apply text-white': {};
13
- };
14
- '.alert-subtle': {
15
- '@apply border rounded-base': {};
16
- '@apply text-body': {};
17
- };
18
- '.alert': {
19
- '@apply w-full flex items-center px-4 py-3 relative overflow-hidden text-small': {};
20
- };
21
- };
@@ -1,26 +0,0 @@
1
- export declare const Avatar: (colors: string[]) => {
2
- '.sk-avatar': {
3
- '&-img': {
4
- '@apply min-w-full min-h-full object-cover': {};
5
- };
6
- '@apply inline-flex': {};
7
- '@apply justify-center items-center': {};
8
- '@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {};
9
- '@apply overflow-hidden': {};
10
- '&[data-rounded="true"]': {
11
- '@apply rounded-circular': {};
12
- };
13
- '&&-sm': {
14
- '@apply h-[3.2rem] w-[3.2rem] min-h-[2.4rem] max-h-[3.2rem] min-w-[2.4rem] max-w-[3.2rem]': {};
15
- '@apply text-label-small': {};
16
- };
17
- '&&-md': {
18
- '@apply h-[4rem] w-[4rem] min-h-[3.2rem] max-h-[4rem] min-w-[3.2rem] max-w-[4rem]': {};
19
- '@apply text-label-medium': {};
20
- };
21
- '&&-lg': {
22
- '@apply h-[6.4rem] w-[6.4rem] min-h-[4rem] max-h-[6.4rem] min-w-[4rem] max-w-[6.4rem]': {};
23
- '@apply text-label-large': {};
24
- };
25
- };
26
- };
@@ -1,21 +0,0 @@
1
- export declare const Badge: (colors: string[]) => {
2
- '.sk-badge': {
3
- "&[data-color='tertiary']": {
4
- '@apply bg-primary-surface': {};
5
- '&[data-inverted="true"]': {
6
- '@apply text-inverted-light-primary': {};
7
- '@apply bg-tertiary-surface dark:bg-inverted-primary-surface': {};
8
- };
9
- };
10
- '@apply inline-flex': {};
11
- '@apply justify-center items-center': {};
12
- '@apply text-light-primary': {};
13
- '@apply rounded-utility': {};
14
- '@apply overflow-hidden': {};
15
- '@apply h-[2.4rem] w-[2.4rem]': {};
16
- '@apply text-label-small': {};
17
- '&[data-rounded="true"]': {
18
- '@apply rounded-circular': {};
19
- };
20
- };
21
- };
@@ -1,28 +0,0 @@
1
- export declare const Breadcrumb: () => {
2
- '.sk-breadcrumb': {
3
- '@apply text-body relative': {};
4
- '&-item': {
5
- '@apply inline-flex items-center whitespace-nowrap': {};
6
- };
7
- '&-separator': {
8
- '@apply mx-6': {};
9
- };
10
- };
11
- '.sk-breadcrumb-item': {
12
- span: {
13
- '&[aria-current="page"]': {
14
- '@apply font-bold': {};
15
- };
16
- };
17
- "&[data-color=\"primary\"]": {
18
- 'a.sk-link': {
19
- "@apply text-secondary": {};
20
- };
21
- };
22
- "&[data-color=\"vattjom\"]": {
23
- 'a.sk-link': {
24
- "@apply text-vattjom-text-primary": {};
25
- };
26
- };
27
- };
28
- };
@@ -1,25 +0,0 @@
1
- export declare const ButtonGroup: () => {
2
- '.sk-btn-group': {
3
- '@apply inline-flex items-center': {};
4
- '&.sk-btn-group-attached': {
5
- '@apply rounded-groups': {};
6
- '@apply bg-tertiary-surface': {};
7
- '@apply py-6 px-12': {};
8
- '> *': {
9
- '@apply bg-transparent': {};
10
- };
11
- '.sk-btn[data-icon="true"] .sk-icon': {
12
- '@apply bg-transparent text-dark-secondary': {};
13
- };
14
- '.sk-icon': {
15
- '@apply p-0 w-fit h-fit': {};
16
- };
17
- };
18
- '&-divider': {
19
- '@apply grow bg-tertiary-surface px-6': {};
20
- hr: {
21
- '@apply h-[2rem]': {};
22
- };
23
- };
24
- };
25
- };
@@ -1,201 +0,0 @@
1
- export declare const Button: (colors: string[]) => {
2
- '.sk-btn': {
3
- '&[data-background="false"]:not(:hover)': {
4
- '@apply bg-transparent': {};
5
- };
6
- '.btn-has-icon': {
7
- '&-left': {
8
- '@apply h-full flex items-center justify-center -ml-2': {};
9
- '.sk-icon': {
10
- '@apply bg-transparent': {};
11
- color: string;
12
- };
13
- };
14
- '&-right': {
15
- '@apply h-full flex items-center justify-center -mr-2': {};
16
- '.sk-icon': {
17
- '@apply bg-transparent': {};
18
- color: string;
19
- };
20
- };
21
- };
22
- '&-lg .btn-has-icon-left': {
23
- '@apply -ml-4': {};
24
- };
25
- '&-lg .btn-has-icon-right': {
26
- '@apply -mr-4': {};
27
- };
28
- '&[data-icon=true]': {
29
- '@apply p-0': {};
30
- '.sk-icon': {
31
- '@apply bg-transparent': {};
32
- color: string;
33
- };
34
- "&[data-rounded='true']": {
35
- '@apply rounded-full': {};
36
- };
37
- '&.sk-btn-sm': {
38
- minWidth: string;
39
- width: string;
40
- maxWidth: string;
41
- 'svg, .sk-icon': {
42
- '@apply h-[2rem] w-[2rem]': {};
43
- };
44
- };
45
- '&.sk-btn-md': {
46
- minWidth: string;
47
- width: string;
48
- maxWidth: string;
49
- 'svg, .sk-icon': {
50
- '@apply h-[2rem] w-[2rem]': {};
51
- };
52
- };
53
- '&.sk-btn-lg': {
54
- minWidth: string;
55
- width: string;
56
- maxWidth: string;
57
- 'svg, .sk-icon': {
58
- '@apply h-[2.4rem] w-[2.4rem]': {};
59
- };
60
- };
61
- '.btn-has-icon': {
62
- '&-left': {
63
- '@apply m-0': {};
64
- };
65
- '&-right': {
66
- '@apply m-0': {};
67
- };
68
- };
69
- };
70
- '&-link': {
71
- '@apply h-auto p-0 leading-normal text-neutral-600 hover:underline active:text-neutral-700': {};
72
- '&.active': {
73
- '@apply underline': {};
74
- };
75
- '@apply dark:text-neutral-200': {};
76
- '@apply dark:active:text-neutral-500': {};
77
- };
78
- '&-ghost': {
79
- '@apply text-dark-secondary': {};
80
- '@apply bg-transparent': {};
81
- '@apply border-transparent': {};
82
- '@apply hover:bg-transparent': {};
83
- '@apply hover:border-transparent': {};
84
- '&.sk-btn-disabled, &[aria-disabled="true"]': {
85
- '@apply disabled:bg-transparent bg-transparent disabled:border-transparent border-transparent !important': {};
86
- };
87
- '&[data-inverted="true"]': {
88
- '@apply text-inverted-dark-secondary': {};
89
- };
90
- };
91
- '&-tertiary': {
92
- '@apply text-dark-secondary': {};
93
- '@apply bg-tertiary-surface': {};
94
- '@apply hover:bg-tertiary-surface-hover': {};
95
- '&.sk-btn-disabled, &[aria-disabled="true"]': {
96
- '@apply disabled:bg-tertiary-surface-disabled bg-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
97
- };
98
- '&[data-inverted="true"]': {
99
- '@apply text-inverted-dark-secondary': {};
100
- '@apply bg-inverted-tertiary-surface': {};
101
- '@apply hover:bg-inverted-tertiary-surface-hover': {};
102
- '&.sk-btn-disabled, &[aria-disabled="true"]': {
103
- '@apply disabled:bg-inverted-tertiary-surface-disabled bg-inverted-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
104
- };
105
- };
106
- };
107
- '&-secondary': {
108
- '@apply border-secondary-outline': {};
109
- '@apply text-dark-secondary': {};
110
- '@apply bg-secondary-surface': {};
111
- '@apply hover:border-secondary-outline-hover': {};
112
- '@apply hover:bg-secondary-surface-hover': {};
113
- '@apply focus-visible:border-background-content': {};
114
- '&.sk-btn-disabled, &[aria-disabled="true"]': {
115
- '@apply disabled:bg-secondary-surface-disabled bg-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
116
- };
117
- '&[data-inverted="true"]': {
118
- '@apply border-inverted-secondary-outline': {};
119
- '@apply text-inverted-dark-secondary': {};
120
- '@apply bg-inverted-secondary-surface': {};
121
- '@apply hover:border-inverted-secondary-outline-hover': {};
122
- '@apply hover:bg-inverted-secondary-surface-hover': {};
123
- '@apply focus-visible:border-inverted-background-content': {};
124
- '&.sk-btn-disabled, &[aria-disabled="true"]': {
125
- '@apply disabled:bg-inverted-secondary-surface-disabled bg-inverted-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
126
- };
127
- };
128
- };
129
- '&-primary': {
130
- "&[data-color='primary']": {
131
- '@apply bg-primary-surface': {};
132
- '@apply hover:bg-primary-surface-hover': {};
133
- '&.active': {
134
- '@apply bg-primary-surface-hover': {};
135
- };
136
- "@apply active:bg-primary-surface-hover": {};
137
- '&[data-inverted="true"]': {
138
- '@apply text-inverted-light-primary': {};
139
- '@apply bg-inverted-primary-surface': {};
140
- '@apply hover:bg-inverted-primary-surface-hover': {};
141
- '&.active': {
142
- '@apply bg-inverted-primary-surface-hover': {};
143
- };
144
- "@apply active:bg-inverted-primary-surface-hover": {};
145
- };
146
- };
147
- '@apply text-light-primary': {};
148
- '@apply hover:bg-primary-surface-hover': {};
149
- };
150
- '@apply box-border': {};
151
- '@apply border-2 border-transparent': {};
152
- '@apply cursor-pointer': {};
153
- '@apply relative': {};
154
- '@apply m-0': {};
155
- '@apply px-24 py-8 gap-8': {};
156
- '@apply inline-flex items-center justify-center flex-shrink-0 align-middle': {};
157
- '@apply rounded-button': {};
158
- transitionProperty: string;
159
- '@apply\tduration-75 ease-out': {};
160
- '@apply outline-none appearance-none select-none whitespace-nowrap': {};
161
- '@apply focus-visible:outline-none': {};
162
- '@apply focus-visible:ring': {};
163
- "&[data-rounded='true']": {
164
- '@apply rounded-circular': {};
165
- };
166
- '&-sm': {
167
- '@apply text-label-small': {};
168
- '@apply px-14 py-8 gap-6': {};
169
- '@apply max-h-[3.2rem] h-[3.2rem]': {};
170
- '@apply rounded-button-sm': {};
171
- 'svg, .sk-icon': {
172
- '@apply h-[1.6rem] w-[1.6rem]': {};
173
- };
174
- };
175
- '&-md': {
176
- '@apply text-label-medium': {};
177
- '@apply px-18 py-8 gap-8': {};
178
- '@apply max-h-[4rem] h-[4rem]': {};
179
- '@apply rounded-button-md': {};
180
- 'svg, .sk-icon': {
181
- '@apply h-[1.8rem] w-[1.8rem]': {};
182
- };
183
- };
184
- '&-lg': {
185
- '@apply text-label-large': {};
186
- '@apply px-24 py-8 gap-8': {};
187
- '@apply max-h-[4.8rem] h-[4.8rem]': {};
188
- '@apply rounded-button-lg': {};
189
- 'svg, .sk-icon': {
190
- '@apply h-[2rem] w-[2rem]': {};
191
- };
192
- };
193
- '&-disabled, &[aria-disabled="true"]': {
194
- '@apply shadow-none disabled:shadow-none disabled:cursor-default cursor-default': {};
195
- '@apply disabled:text-dark-disabled text-dark-disabled disabled:bg-primary-surface-disabled bg-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
196
- '&[data-inverted="true"]': {
197
- '@apply disabled:text-inverted-dark-disabled text-inverted-dark-disabled disabled:bg-inverted-primary-surface-disabled bg-inverted-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
198
- };
199
- };
200
- };
201
- };
@@ -1,135 +0,0 @@
1
- export declare const Card: (colors: string[]) => {
2
- '.sk-card': {
3
- '&.sk-card-use-hover-effect': {
4
- '.sk-card-body-icon': {
5
- '@apply inline-flex': {};
6
- '@apply mt-auto mb-auto mr-24': {};
7
- };
8
- };
9
- "&[data-layout=\"horizontal\"]": {
10
- '@apply flex-row h-[100%]': {};
11
- '.sk-card': {
12
- '&-image': {
13
- '@apply h-[100%] w-[128px]': {};
14
- '@apply float-left': {};
15
- '@apply rounded-none rounded-l-cards grow-0': {};
16
- };
17
- '&-body': {
18
- '@apply w-[100%]': {};
19
- '@apply border-none': {};
20
- '&-wrapper': {
21
- '@apply w-[100%]': {};
22
- };
23
- '&-content': {
24
- 'p, a': {
25
- '@apply text-small': {};
26
- };
27
- };
28
- '&-meta': {
29
- '@apply hidden': {};
30
- };
31
- };
32
- };
33
- };
34
- '@apply bg-white relative rounded-b-cards rounded-cards': {};
35
- '@apply flex flex-col': {};
36
- '@apply no-underline hover:no-underline': {};
37
- '@apply h-[100%]': {};
38
- '&-wrapper': {
39
- '@apply grid': {};
40
- };
41
- '&-image': {
42
- '@apply object-cover grow': {};
43
- '@apply rounded-t-cards': {};
44
- };
45
- '&-body': {
46
- '@apply px-24 pb-24 pt-16 rounded-b-cards': {};
47
- '@apply shrink': {};
48
- '&-wrapper': {
49
- '@apply flex': {};
50
- };
51
- '&-meta': {
52
- '@apply flex space-x-12 mt-16': {};
53
- span: {
54
- '@apply flex space-x-4 items-center': {};
55
- time: {
56
- '@apply h-[23px] leading-[24px]': {};
57
- };
58
- };
59
- '&.sk-card-image': {
60
- backgroundColor: string;
61
- '@apply h-[278px]': {};
62
- };
63
- };
64
- '&-header': {
65
- 'h1, h2, h3, h4, h5, h6, h7, a': {
66
- '@apply line-clamp-1 text-h3-md text-dark-primary mt-16': {};
67
- };
68
- span: {
69
- '@apply pl-12': {};
70
- };
71
- };
72
- '&-content': {
73
- '@apply w-full': {};
74
- 'p, a': {
75
- '@apply line-clamp-3 m-0 pt-8 text-base': {};
76
- };
77
- };
78
- '&-icon': {
79
- '@apply hidden': {};
80
- };
81
- };
82
- };
83
- '.sk-card-link': {
84
- '@apply hover:cursor-pointer': {};
85
- '&::after': {
86
- content: string;
87
- position: string;
88
- left: string;
89
- top: string;
90
- right: string;
91
- bottom: string;
92
- };
93
- };
94
- /**
95
- * Meta card
96
- */
97
- '.sk-meta-card': {
98
- '@apply no-underline hover:no-underline': {};
99
- '@apply flex bg-vattjom-surface-accent': {};
100
- '@apply p-14 rounded-16 w-[454px]': {};
101
- '&[data-color="mono"]': {
102
- '@apply bg-primitives-overlay-darken-1 dark:bg-primitives-overlay-lighten-1': {};
103
- };
104
- '&[data-color="vattjom"]': {
105
- '@apply bg-vattjom-background-200': {};
106
- };
107
- '&-text-icon': {
108
- '@apply mr-12 rounded-12 p-8': {};
109
- '@apply bg-primitives-gray-lightest dark:bg-primitives-gray-800': {};
110
- '@apply text-dark': {};
111
- svg: {
112
- height: string;
113
- width: string;
114
- };
115
- };
116
- '&-body': {
117
- '&-header': {
118
- 'h1, h2, h3, h4, h5, h6, h7, a, p': {
119
- '@apply mt-6 text-base line-clamp-1': {};
120
- '@apply text-dark-primary': {};
121
- };
122
- };
123
- '&-content': {
124
- 'p, a': {
125
- '@apply text-primitives-gray-700 dark:text-primitives-gray-200': {};
126
- '@apply text-dark-secondary line-clamp-1': {};
127
- };
128
- };
129
- };
130
- '&-external-link-icon': {
131
- '@apply ml-auto h-[32px] w-[32px]': {};
132
- '@apply p-6 text-dark': {};
133
- };
134
- };
135
- };