@sk-web-gui/core 3.4.1 → 3.4.3

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