@sk-web-gui/core 3.0.0 → 3.1.0

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 (362) hide show
  1. package/dist/cjs/aria-plugin.js.map +1 -1
  2. package/dist/cjs/base.js +3 -6
  3. package/dist/cjs/base.js.map +1 -1
  4. package/dist/cjs/components/accordion.js +16 -6
  5. package/dist/cjs/components/accordion.js.map +1 -1
  6. package/dist/cjs/components/ai/ai-feed.js +41 -0
  7. package/dist/cjs/components/ai/ai-feed.js.map +1 -0
  8. package/dist/cjs/components/ai/ai-module.js +116 -0
  9. package/dist/cjs/components/ai/ai-module.js.map +1 -0
  10. package/dist/cjs/components/ai/assistant-presentation.js +56 -0
  11. package/dist/cjs/components/ai/assistant-presentation.js.map +1 -0
  12. package/dist/cjs/components/ai/bubble.js +44 -0
  13. package/dist/cjs/components/ai/bubble.js.map +1 -0
  14. package/dist/cjs/components/ai/feedback.js +26 -0
  15. package/dist/cjs/components/ai/feedback.js.map +1 -0
  16. package/dist/cjs/components/ai/input-section.js +23 -0
  17. package/dist/cjs/components/ai/input-section.js.map +1 -0
  18. package/dist/cjs/components/ai/markdown-rendered.js +27 -0
  19. package/dist/cjs/components/ai/markdown-rendered.js.map +1 -0
  20. package/dist/cjs/components/ai/typing-bubble.js +22 -0
  21. package/dist/cjs/components/ai/typing-bubble.js.map +1 -0
  22. package/dist/cjs/components/ai/typing-sequence.js +33 -0
  23. package/dist/cjs/components/ai/typing-sequence.js.map +1 -0
  24. package/dist/cjs/components/alert-banner.js +26 -0
  25. package/dist/cjs/components/alert-banner.js.map +1 -0
  26. package/dist/cjs/components/avatar.js +6 -3
  27. package/dist/cjs/components/avatar.js.map +1 -1
  28. package/dist/cjs/components/badge.js +1 -1
  29. package/dist/cjs/components/badge.js.map +1 -1
  30. package/dist/cjs/components/breadcrumb.js +1 -1
  31. package/dist/cjs/components/breadcrumb.js.map +1 -1
  32. package/dist/cjs/components/button-group.js +1 -1
  33. package/dist/cjs/components/button-group.js.map +1 -1
  34. package/dist/cjs/components/button.js +12 -18
  35. package/dist/cjs/components/button.js.map +1 -1
  36. package/dist/cjs/components/card.js +12 -12
  37. package/dist/cjs/components/card.js.map +1 -1
  38. package/dist/cjs/components/checkbox.js +6 -6
  39. package/dist/cjs/components/checkbox.js.map +1 -1
  40. package/dist/cjs/components/chip.js +5 -2
  41. package/dist/cjs/components/chip.js.map +1 -1
  42. package/dist/cjs/components/combobox.js +7 -7
  43. package/dist/cjs/components/combobox.js.map +1 -1
  44. package/dist/cjs/components/comments.js +32 -0
  45. package/dist/cjs/components/comments.js.map +1 -0
  46. package/dist/cjs/components/context-menu.js +41 -0
  47. package/dist/cjs/components/context-menu.js.map +1 -0
  48. package/dist/cjs/components/cookie-consent.js +2 -2
  49. package/dist/cjs/components/cookie-consent.js.map +1 -1
  50. package/dist/cjs/components/dialog.js +1 -1
  51. package/dist/cjs/components/dialog.js.map +1 -1
  52. package/dist/cjs/components/divider.js +6 -6
  53. package/dist/cjs/components/divider.js.map +1 -1
  54. package/dist/cjs/components/dropdown-filter.js +60 -0
  55. package/dist/cjs/components/dropdown-filter.js.map +1 -0
  56. package/dist/cjs/components/footer.js +2 -2
  57. package/dist/cjs/components/footer.js.map +1 -1
  58. package/dist/cjs/components/forms.js.map +1 -1
  59. package/dist/cjs/components/icon.js +1 -1
  60. package/dist/cjs/components/icon.js.map +1 -1
  61. package/dist/cjs/components/input.js +12 -17
  62. package/dist/cjs/components/input.js.map +1 -1
  63. package/dist/cjs/components/label.js.map +1 -1
  64. package/dist/cjs/components/link.js +3 -3
  65. package/dist/cjs/components/link.js.map +1 -1
  66. package/dist/cjs/components/list.js +5 -5
  67. package/dist/cjs/components/list.js.map +1 -1
  68. package/dist/cjs/components/logo.js +3 -3
  69. package/dist/cjs/components/logo.js.map +1 -1
  70. package/dist/cjs/components/menu-vertical.js +19 -36
  71. package/dist/cjs/components/menu-vertical.js.map +1 -1
  72. package/dist/cjs/components/menubar.js.map +1 -1
  73. package/dist/cjs/components/notification.js +51 -0
  74. package/dist/cjs/components/notification.js.map +1 -0
  75. package/dist/cjs/components/pagination.js +1 -1
  76. package/dist/cjs/components/pagination.js.map +1 -1
  77. package/dist/cjs/components/popup-menu.js +9 -9
  78. package/dist/cjs/components/popup-menu.js.map +1 -1
  79. package/dist/cjs/components/progress-bar.js +1 -1
  80. package/dist/cjs/components/progress-bar.js.map +1 -1
  81. package/dist/cjs/components/progress-stepper.js +5 -5
  82. package/dist/cjs/components/progress-stepper.js.map +1 -1
  83. package/dist/cjs/components/radio.js +4 -4
  84. package/dist/cjs/components/radio.js.map +1 -1
  85. package/dist/cjs/components/rich-text-editor.js +233 -0
  86. package/dist/cjs/components/rich-text-editor.js.map +1 -0
  87. package/dist/cjs/components/search-field.js +4 -4
  88. package/dist/cjs/components/search-field.js.map +1 -1
  89. package/dist/cjs/components/select.js +18 -18
  90. package/dist/cjs/components/select.js.map +1 -1
  91. package/dist/cjs/components/side-menu.js +221 -0
  92. package/dist/cjs/components/side-menu.js.map +1 -0
  93. package/dist/cjs/components/snackbar.js +1 -1
  94. package/dist/cjs/components/snackbar.js.map +1 -1
  95. package/dist/cjs/components/spinner.js +3 -0
  96. package/dist/cjs/components/spinner.js.map +1 -1
  97. package/dist/cjs/components/switch.js +2 -2
  98. package/dist/cjs/components/switch.js.map +1 -1
  99. package/dist/cjs/components/tab-menu.js +59 -0
  100. package/dist/cjs/components/tab-menu.js.map +1 -0
  101. package/dist/cjs/components/table-autotable.js +8 -7
  102. package/dist/cjs/components/table-autotable.js.map +1 -1
  103. package/dist/cjs/components/tabs.js.map +1 -1
  104. package/dist/cjs/components/tooltip.js +7 -7
  105. package/dist/cjs/components/tooltip.js.map +1 -1
  106. package/dist/cjs/components/zebratable.js +141 -0
  107. package/dist/cjs/components/zebratable.js.map +1 -0
  108. package/dist/cjs/data-plugin.js.map +1 -1
  109. package/dist/cjs/index.js.map +1 -1
  110. package/dist/cjs/plugin.js +14 -1
  111. package/dist/cjs/plugin.js.map +1 -1
  112. package/dist/cjs/theme.js +34 -19
  113. package/dist/cjs/theme.js.map +1 -1
  114. package/dist/cjs/units.js +38 -1
  115. package/dist/cjs/units.js.map +1 -1
  116. package/dist/esm/aria-plugin.js.map +1 -1
  117. package/dist/esm/base.js +3 -6
  118. package/dist/esm/base.js.map +1 -1
  119. package/dist/esm/components/accordion.js +16 -6
  120. package/dist/esm/components/accordion.js.map +1 -1
  121. package/dist/esm/components/ai/ai-feed.js +35 -0
  122. package/dist/esm/components/ai/ai-feed.js.map +1 -0
  123. package/dist/esm/components/ai/ai-module.js +111 -0
  124. package/dist/esm/components/ai/ai-module.js.map +1 -0
  125. package/dist/esm/components/ai/assistant-presentation.js +50 -0
  126. package/dist/esm/components/ai/assistant-presentation.js.map +1 -0
  127. package/dist/esm/components/ai/bubble.js +45 -0
  128. package/dist/esm/components/ai/bubble.js.map +1 -0
  129. package/dist/esm/components/ai/feedback.js +20 -0
  130. package/dist/esm/components/ai/feedback.js.map +1 -0
  131. package/dist/esm/components/ai/input-section.js +17 -0
  132. package/dist/esm/components/ai/input-section.js.map +1 -0
  133. package/dist/esm/components/ai/markdown-rendered.js +21 -0
  134. package/dist/esm/components/ai/markdown-rendered.js.map +1 -0
  135. package/dist/esm/components/ai/typing-bubble.js +16 -0
  136. package/dist/esm/components/ai/typing-bubble.js.map +1 -0
  137. package/dist/esm/components/ai/typing-sequence.js +28 -0
  138. package/dist/esm/components/ai/typing-sequence.js.map +1 -0
  139. package/dist/esm/components/alert-banner.js +24 -0
  140. package/dist/esm/components/alert-banner.js.map +1 -0
  141. package/dist/esm/components/avatar.js +6 -3
  142. package/dist/esm/components/avatar.js.map +1 -1
  143. package/dist/esm/components/badge.js +1 -1
  144. package/dist/esm/components/badge.js.map +1 -1
  145. package/dist/esm/components/breadcrumb.js +1 -1
  146. package/dist/esm/components/breadcrumb.js.map +1 -1
  147. package/dist/esm/components/button-group.js +1 -1
  148. package/dist/esm/components/button-group.js.map +1 -1
  149. package/dist/esm/components/button.js +12 -18
  150. package/dist/esm/components/button.js.map +1 -1
  151. package/dist/esm/components/card.js +12 -12
  152. package/dist/esm/components/card.js.map +1 -1
  153. package/dist/esm/components/checkbox.js +6 -6
  154. package/dist/esm/components/checkbox.js.map +1 -1
  155. package/dist/esm/components/chip.js +5 -2
  156. package/dist/esm/components/chip.js.map +1 -1
  157. package/dist/esm/components/combobox.js +7 -7
  158. package/dist/esm/components/combobox.js.map +1 -1
  159. package/dist/esm/components/comments.js +30 -0
  160. package/dist/esm/components/comments.js.map +1 -0
  161. package/dist/esm/components/context-menu.js +39 -0
  162. package/dist/esm/components/context-menu.js.map +1 -0
  163. package/dist/esm/components/cookie-consent.js +2 -2
  164. package/dist/esm/components/cookie-consent.js.map +1 -1
  165. package/dist/esm/components/dialog.js +1 -1
  166. package/dist/esm/components/dialog.js.map +1 -1
  167. package/dist/esm/components/divider.js +6 -6
  168. package/dist/esm/components/divider.js.map +1 -1
  169. package/dist/esm/components/dropdown-filter.js +58 -0
  170. package/dist/esm/components/dropdown-filter.js.map +1 -0
  171. package/dist/esm/components/footer.js +2 -2
  172. package/dist/esm/components/footer.js.map +1 -1
  173. package/dist/esm/components/forms.js.map +1 -1
  174. package/dist/esm/components/icon.js +1 -1
  175. package/dist/esm/components/icon.js.map +1 -1
  176. package/dist/esm/components/input.js +12 -17
  177. package/dist/esm/components/input.js.map +1 -1
  178. package/dist/esm/components/label.js.map +1 -1
  179. package/dist/esm/components/link.js +3 -3
  180. package/dist/esm/components/link.js.map +1 -1
  181. package/dist/esm/components/list.js +5 -5
  182. package/dist/esm/components/list.js.map +1 -1
  183. package/dist/esm/components/logo.js +3 -3
  184. package/dist/esm/components/logo.js.map +1 -1
  185. package/dist/esm/components/menu-vertical.js +19 -36
  186. package/dist/esm/components/menu-vertical.js.map +1 -1
  187. package/dist/esm/components/menubar.js.map +1 -1
  188. package/dist/esm/components/notification.js +49 -0
  189. package/dist/esm/components/notification.js.map +1 -0
  190. package/dist/esm/components/pagination.js +1 -1
  191. package/dist/esm/components/pagination.js.map +1 -1
  192. package/dist/esm/components/popup-menu.js +9 -9
  193. package/dist/esm/components/popup-menu.js.map +1 -1
  194. package/dist/esm/components/progress-bar.js +1 -1
  195. package/dist/esm/components/progress-bar.js.map +1 -1
  196. package/dist/esm/components/progress-stepper.js +5 -5
  197. package/dist/esm/components/progress-stepper.js.map +1 -1
  198. package/dist/esm/components/radio.js +4 -4
  199. package/dist/esm/components/radio.js.map +1 -1
  200. package/dist/esm/components/rich-text-editor.js +227 -0
  201. package/dist/esm/components/rich-text-editor.js.map +1 -0
  202. package/dist/esm/components/search-field.js +4 -4
  203. package/dist/esm/components/search-field.js.map +1 -1
  204. package/dist/esm/components/select.js +18 -18
  205. package/dist/esm/components/select.js.map +1 -1
  206. package/dist/esm/components/side-menu.js +219 -0
  207. package/dist/esm/components/side-menu.js.map +1 -0
  208. package/dist/esm/components/snackbar.js +1 -1
  209. package/dist/esm/components/snackbar.js.map +1 -1
  210. package/dist/esm/components/spinner.js +3 -0
  211. package/dist/esm/components/spinner.js.map +1 -1
  212. package/dist/esm/components/switch.js +2 -2
  213. package/dist/esm/components/switch.js.map +1 -1
  214. package/dist/esm/components/tab-menu.js +57 -0
  215. package/dist/esm/components/tab-menu.js.map +1 -0
  216. package/dist/esm/components/table-autotable.js +8 -7
  217. package/dist/esm/components/table-autotable.js.map +1 -1
  218. package/dist/esm/components/tabs.js.map +1 -1
  219. package/dist/esm/components/tooltip.js +7 -7
  220. package/dist/esm/components/tooltip.js.map +1 -1
  221. package/dist/esm/components/zebratable.js +135 -0
  222. package/dist/esm/components/zebratable.js.map +1 -0
  223. package/dist/esm/data-plugin.js.map +1 -1
  224. package/dist/esm/index.js.map +1 -1
  225. package/dist/esm/plugin.js +13 -1
  226. package/dist/esm/plugin.js.map +1 -1
  227. package/dist/esm/theme.js +36 -19
  228. package/dist/esm/theme.js.map +1 -1
  229. package/dist/esm/units.js +38 -1
  230. package/dist/esm/units.js.map +1 -1
  231. package/dist/types/aria-plugin.d.ts +4 -0
  232. package/dist/types/base.d.ts +50 -0
  233. package/dist/types/colors.d.ts +643 -0
  234. package/dist/types/components/accordion.d.ts +174 -0
  235. package/dist/types/components/ai/ai-feed.d.ts +34 -0
  236. package/dist/types/components/ai/ai-module.d.ts +104 -0
  237. package/dist/types/components/ai/assistant-presentation.d.ts +49 -0
  238. package/dist/types/components/ai/bubble.d.ts +30 -0
  239. package/dist/types/components/ai/feedback.d.ts +19 -0
  240. package/dist/types/components/ai/input-section.d.ts +16 -0
  241. package/dist/types/components/ai/markdown-rendered.d.ts +20 -0
  242. package/dist/types/components/ai/typing-bubble.d.ts +15 -0
  243. package/dist/types/components/ai/typing-sequence.d.ts +22 -0
  244. package/dist/types/components/alert-banner.d.ts +24 -0
  245. package/dist/types/components/alert.d.ts +21 -0
  246. package/dist/types/components/avatar.d.ts +29 -0
  247. package/dist/types/components/badge.d.ts +21 -0
  248. package/dist/types/components/breadcrumb.d.ts +28 -0
  249. package/dist/types/components/button-group.d.ts +25 -0
  250. package/dist/types/components/button.d.ts +195 -0
  251. package/dist/types/components/card.d.ts +135 -0
  252. package/dist/types/components/checkbox.d.ts +108 -0
  253. package/dist/types/components/chip.d.ts +37 -0
  254. package/dist/types/components/code.d.ts +8 -0
  255. package/dist/types/components/combobox.d.ts +72 -0
  256. package/dist/types/components/comments.d.ts +30 -0
  257. package/dist/types/components/context-menu.d.ts +39 -0
  258. package/dist/types/components/cookie-consent.d.ts +35 -0
  259. package/dist/types/components/dialog.d.ts +5 -0
  260. package/dist/types/components/divider.d.ts +50 -0
  261. package/dist/types/components/dot.d.ts +43 -0
  262. package/dist/types/components/dropdown-filter.d.ts +58 -0
  263. package/dist/types/components/filter.d.ts +14 -0
  264. package/dist/types/components/footer.d.ts +27 -0
  265. package/dist/types/components/forms.d.ts +24 -0
  266. package/dist/types/components/header.d.ts +28 -0
  267. package/dist/types/components/icon.d.ts +38 -0
  268. package/dist/types/components/input.d.ts +214 -0
  269. package/dist/types/components/kbd.d.ts +7 -0
  270. package/dist/types/components/label.d.ts +27 -0
  271. package/dist/types/components/link.d.ts +43 -0
  272. package/dist/types/components/list.d.ts +52 -0
  273. package/dist/types/components/logo.d.ts +48 -0
  274. package/dist/types/components/menu-vertical.d.ts +198 -0
  275. package/dist/types/components/menubar.d.ts +35 -0
  276. package/dist/types/components/modal.d.ts +45 -0
  277. package/dist/types/components/notification.d.ts +48 -0
  278. package/dist/types/components/pagination.d.ts +101 -0
  279. package/dist/types/components/popup-menu.d.ts +138 -0
  280. package/dist/types/components/progress-bar.d.ts +13 -0
  281. package/dist/types/components/progress-stepper.d.ts +60 -0
  282. package/dist/types/components/radio.d.ts +125 -0
  283. package/dist/types/components/rich-text-editor.d.ts +226 -0
  284. package/dist/types/components/search-field.d.ts +34 -0
  285. package/dist/types/components/select.d.ts +141 -0
  286. package/dist/types/components/side-menu.d.ts +219 -0
  287. package/dist/types/components/snackbar.d.ts +30 -0
  288. package/dist/types/components/spinner.d.ts +13 -0
  289. package/dist/types/components/switch.d.ts +64 -0
  290. package/dist/types/components/tab-menu.d.ts +57 -0
  291. package/dist/types/components/table-autotable.d.ts +222 -0
  292. package/dist/types/components/table.d.ts +11 -0
  293. package/dist/types/components/tabs.d.ts +14 -0
  294. package/dist/types/components/tooltip.d.ts +53 -0
  295. package/dist/types/components/user-menu.d.ts +14 -0
  296. package/dist/types/components/zebratable.d.ts +134 -0
  297. package/dist/types/core/src/base.d.ts +1 -1
  298. package/dist/types/core/src/components/accordion.d.ts +13 -3
  299. package/dist/types/core/src/components/avatar.d.ts +3 -3
  300. package/dist/types/core/src/components/badge.d.ts +1 -1
  301. package/dist/types/core/src/components/breadcrumb.d.ts +1 -1
  302. package/dist/types/core/src/components/button-group.d.ts +1 -1
  303. package/dist/types/core/src/components/button.d.ts +12 -18
  304. package/dist/types/core/src/components/card.d.ts +12 -12
  305. package/dist/types/core/src/components/checkbox.d.ts +6 -6
  306. package/dist/types/core/src/components/chip.d.ts +5 -2
  307. package/dist/types/core/src/components/combobox.d.ts +7 -7
  308. package/dist/types/core/src/components/cookie-consent.d.ts +2 -2
  309. package/dist/types/core/src/components/dialog.d.ts +1 -1
  310. package/dist/types/core/src/components/divider.d.ts +3 -3
  311. package/dist/types/core/src/components/footer.d.ts +2 -2
  312. package/dist/types/core/src/components/icon.d.ts +1 -1
  313. package/dist/types/core/src/components/input.d.ts +12 -12
  314. package/dist/types/core/src/components/link.d.ts +3 -3
  315. package/dist/types/core/src/components/list.d.ts +5 -5
  316. package/dist/types/core/src/components/logo.d.ts +3 -3
  317. package/dist/types/core/src/components/menu-vertical.d.ts +19 -36
  318. package/dist/types/core/src/components/pagination.d.ts +1 -1
  319. package/dist/types/core/src/components/popup-menu.d.ts +9 -9
  320. package/dist/types/core/src/components/progress-bar.d.ts +1 -1
  321. package/dist/types/core/src/components/progress-stepper.d.ts +5 -5
  322. package/dist/types/core/src/components/radio.d.ts +4 -4
  323. package/dist/types/core/src/components/search-field.d.ts +4 -4
  324. package/dist/types/core/src/components/select.d.ts +18 -18
  325. package/dist/types/core/src/components/snackbar.d.ts +1 -1
  326. package/dist/types/core/src/components/spinner.d.ts +3 -0
  327. package/dist/types/core/src/components/switch.d.ts +1 -1
  328. package/dist/types/core/src/components/table-autotable.d.ts +8 -7
  329. package/dist/types/core/src/components/tooltip.d.ts +7 -7
  330. package/dist/types/core/src/units.d.ts +36 -0
  331. package/dist/types/data-plugin.d.ts +4 -0
  332. package/dist/types/index.d.ts +6 -0
  333. package/dist/types/plugin.d.ts +12 -0
  334. package/dist/types/popup-menu/src/popup-menu-button.d.ts +1 -1
  335. package/dist/types/preset.d.ts +18 -0
  336. package/dist/types/theme/src/gui-provider.d.ts +15 -1
  337. package/dist/types/theme/src/units.d.ts +40 -0
  338. package/dist/types/theme.d.ts +4 -0
  339. package/dist/types/units.d.ts +288 -0
  340. package/dist/types/with-opacity.d.ts +4 -0
  341. package/package.json +4 -4
  342. package/dist/types/accordion/index.d.ts +0 -2
  343. package/dist/types/breadcrumb/index.d.ts +0 -2
  344. package/dist/types/button/index.d.ts +0 -2
  345. package/dist/types/card/index.d.ts +0 -2
  346. package/dist/types/cookie-consent/index.d.ts +0 -2
  347. package/dist/types/filter/index.d.ts +0 -2
  348. package/dist/types/layout/index.d.ts +0 -2
  349. package/dist/types/list/index.d.ts +0 -2
  350. package/dist/types/logo/index.d.ts +0 -2
  351. package/dist/types/menu-vertical/index.d.ts +0 -2
  352. package/dist/types/modal/index.d.ts +0 -2
  353. package/dist/types/pagination/index.d.ts +0 -2
  354. package/dist/types/popup-menu/index.d.ts +0 -2
  355. package/dist/types/progress-stepper/index.d.ts +0 -2
  356. package/dist/types/react/index.d.ts +0 -2
  357. package/dist/types/searchfield/index.d.ts +0 -2
  358. package/dist/types/snackbar/index.d.ts +0 -2
  359. package/dist/types/table/index.d.ts +0 -2
  360. package/dist/types/tabs/index.d.ts +0 -2
  361. package/dist/types/text/index.d.ts +0 -2
  362. package/dist/types/user-menu/index.d.ts +0 -2
@@ -1,5 +1,6 @@
1
1
  export declare const TableAutoTable: () => {
2
2
  '.sk-table-wrapper': {
3
+ '@apply text-base': {};
3
4
  '@apply rounded-groups': {};
4
5
  '@apply border-1 border-divider': {};
5
6
  '@apply bg-background-content': {};
@@ -45,7 +46,7 @@ export declare const TableAutoTable: () => {
45
46
  '@apply text-label-small': {};
46
47
  };
47
48
  '.sk-table-th': {
48
- '@apply h-[5.6rem]': {};
49
+ '@apply h-56': {};
49
50
  '@apply p-0': {};
50
51
  '&:first-of-type': {
51
52
  '.sk-table-sticky-col': {
@@ -124,8 +125,8 @@ export declare const TableAutoTable: () => {
124
125
  '&-td, .sk-table-th': {
125
126
  '@apply p-0': {};
126
127
  '@apply text-small': {};
127
- '@apply h-[6.3rem]': {};
128
- '@apply min-h-[6.3rem]': {};
128
+ '@apply h-64-1': {};
129
+ '@apply min-h-64-1': {};
129
130
  '@apply focus-visible:shadow-insetring': {};
130
131
  '.sk-table-col-content': {
131
132
  '@apply py-8 px-18': {};
@@ -146,13 +147,13 @@ export declare const TableAutoTable: () => {
146
147
  };
147
148
  '&-thead': {
148
149
  th: {
149
- '@apply h-[4.8rem]': {};
150
+ '@apply h-48': {};
150
151
  };
151
152
  };
152
153
  '&-tbody': {
153
154
  '&-td, .sk-table-th': {
154
- '@apply h-[4.7rem]': {};
155
- '@apply min-h-[4.7rem]': {};
155
+ '@apply h-48-1': {};
156
+ '@apply min-h-48-1': {};
156
157
  };
157
158
  };
158
159
  };
@@ -183,7 +184,7 @@ export declare const TableAutoTable: () => {
183
184
  };
184
185
  };
185
186
  '&-paginationwrapper': {
186
- '@apply max-w-[60rem]': {};
187
+ '@apply max-w-[37.5em]': {};
187
188
  '@apply shrink grow': {};
188
189
  '@apply hidden @screen-md/footer:flex': {};
189
190
  };
@@ -12,7 +12,7 @@ export declare const Tooltip: () => {
12
12
  '@apply font-bold': {};
13
13
  '@apply w-fit h-fit': {};
14
14
  '@apply grow-0': {};
15
- '@apply min-h-[3.4rem]': {};
15
+ '@apply min-h-34': {};
16
16
  };
17
17
  '&::after, &::before': {
18
18
  '@apply h-0 w-0 overflow-hidden': {};
@@ -21,7 +21,7 @@ export declare const Tooltip: () => {
21
21
  '@apply flex-col': {};
22
22
  '@apply pb-2': {};
23
23
  '&::after': {
24
- '@apply content-[""] border-solid border-[0.6rem] border-b-0': {};
24
+ '@apply content-[""] border-solid border-6 border-b-0': {};
25
25
  '@apply border-t-primary-surface border-r-transparent border-b-transparent border-l-transparent': {};
26
26
  };
27
27
  };
@@ -29,23 +29,23 @@ export declare const Tooltip: () => {
29
29
  '@apply flex-col': {};
30
30
  '@apply pt-2': {};
31
31
  '&::before': {
32
- '@apply content-[""] border-solid border-[0.6rem] border-t-0': {};
32
+ '@apply content-[""] border-solid border-6 border-t-0': {};
33
33
  '@apply border-t-transparent border-r-transparent border-b-primary-surface border-l-transparent': {};
34
34
  };
35
35
  };
36
36
  '&[data-position="left"]': {
37
37
  '@apply flex-row': {};
38
- '@apply pr-2 py-[0.3rem]': {};
38
+ '@apply pr-2 py-3': {};
39
39
  '&::after': {
40
- '@apply content-[""] border-solid border-[0.6rem] border-r-0': {};
40
+ '@apply content-[""] border-solid border-6 border-r-0': {};
41
41
  '@apply border-t-transparent border-r-transparent border-b-transparent border-l-primary-surface': {};
42
42
  };
43
43
  };
44
44
  '&[data-position="right"]': {
45
45
  '@apply flex-row': {};
46
- '@apply pl-2 py-[0.3rem]': {};
46
+ '@apply pl-2 py-3': {};
47
47
  '&::before': {
48
- '@apply content-[""] border-solid border-[0.6rem] border-l-0': {};
48
+ '@apply content-[""] border-solid border-6 border-l-0': {};
49
49
  '@apply border-t-transparent border-r-primary-surface border-b-transparent border-l-transparent': {};
50
50
  };
51
51
  };
@@ -1,24 +1,55 @@
1
1
  declare const _units: {
2
2
  spacing: {
3
3
  '0': string;
4
+ '0.25': string;
5
+ '0.5': string;
6
+ '0.75': string;
7
+ '1': string;
4
8
  '2': string;
9
+ '3': string;
5
10
  '4': string;
11
+ '5': string;
6
12
  '6': string;
13
+ '7': string;
7
14
  '8': string;
15
+ '9': string;
8
16
  '10': string;
17
+ '11': string;
9
18
  '12': string;
19
+ '13': string;
10
20
  '14': string;
21
+ '15': string;
11
22
  '16': string;
23
+ '17': string;
12
24
  '18': string;
25
+ '19': string;
13
26
  '20': string;
27
+ '22': string;
14
28
  '24': string;
29
+ '26': string;
30
+ '28': string;
31
+ '30': string;
15
32
  '32': string;
33
+ '34': string;
34
+ '36': string;
35
+ '38': string;
16
36
  '40': string;
37
+ '42': string;
38
+ '44': string;
39
+ '46': string;
17
40
  '48': string;
41
+ '50': string;
42
+ '52': string;
43
+ '54': string;
18
44
  '56': string;
45
+ '58': string;
46
+ '60': string;
47
+ '62': string;
19
48
  '64': string;
49
+ '68': string;
20
50
  '72': string;
21
51
  '80': string;
52
+ '100': string;
22
53
  };
23
54
  fontSizes: {
24
55
  'display-1': (string | {
@@ -157,6 +188,10 @@ declare const _units: {
157
188
  lineHeight: string;
158
189
  fontWeight: number;
159
190
  })[];
191
+ 'logo-header': (string | {
192
+ lineHeight: string;
193
+ fontWeight: number;
194
+ })[];
160
195
  lead: string[];
161
196
  base: string[];
162
197
  large: string[];
@@ -197,6 +232,7 @@ declare const _units: {
197
232
  'input-large': string;
198
233
  'input-medium': string;
199
234
  'input-small': string;
235
+ 'logo-header': string;
200
236
  lead: string;
201
237
  base: string;
202
238
  large: string;
@@ -0,0 +1,4 @@
1
+ export declare const DataAttributes: {
2
+ handler: import("tailwindcss/types/config").PluginCreator;
3
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ };
@@ -0,0 +1,6 @@
1
+ import preset from './preset';
2
+ import plugin from './plugin';
3
+ import { AriaAttributes } from './aria-plugin';
4
+ import { DataAttributes } from './data-plugin';
5
+ export { preset, plugin, DataAttributes, AriaAttributes };
6
+ export default plugin;
@@ -0,0 +1,12 @@
1
+ interface PluginOptions {
2
+ colors: string[];
3
+ cssBase: boolean;
4
+ }
5
+ declare const plugin: {
6
+ (options: PluginOptions): {
7
+ handler: import("tailwindcss/types/config").PluginCreator;
8
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
9
+ };
10
+ __isOptionsFunction: true;
11
+ };
12
+ export default plugin;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const PopupMenuButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@sk-web-gui/button/src/button").IButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>, "ref">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2
+ export declare const PopupMenuButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@sk-web-gui/button/dist/types/button").IButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>, "ref">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,18 @@
1
+ declare const preset: (options?: {
2
+ tailwindForms: boolean;
3
+ tailwindContainers: boolean;
4
+ dataAttributes: boolean;
5
+ ariaAttributes: boolean;
6
+ plugin: {
7
+ colors: never[];
8
+ cssBase: boolean;
9
+ };
10
+ }) => {
11
+ plugins: ({
12
+ handler: import("tailwindcss/types/config").PluginCreator;
13
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
14
+ } | {
15
+ handler: () => void;
16
+ })[];
17
+ };
18
+ export default preset;
@@ -20,6 +20,10 @@ export declare const GuiContext: React.Context<{
20
20
  * Scheme that is used when set to "system"
21
21
  */
22
22
  preferredColorScheme: Exclude<ColorSchemeMode, ColorSchemeMode.System>;
23
+ units: {
24
+ base: number;
25
+ htmlBase: number;
26
+ };
23
27
  } | undefined>;
24
28
  export interface GuiProviderProps {
25
29
  children: React.ReactNode;
@@ -28,7 +32,17 @@ export interface GuiProviderProps {
28
32
  * @default system
29
33
  */
30
34
  colorScheme?: ColorSchemeMode;
35
+ /**
36
+ * Font size in px that the theme variables are based on
37
+ * @default 10
38
+ */
39
+ baseFontSize?: number;
40
+ /**
41
+ * Font base size in px that the site uses.
42
+ * @default 10
43
+ */
44
+ htmlFontSize?: number;
31
45
  }
32
- export declare function GuiProvider({ theme, colorScheme: _colorScheme, children }: GuiProviderProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function GuiProvider({ theme, colorScheme: _colorScheme, baseFontSize, htmlFontSize, children, }: GuiProviderProps): import("react/jsx-runtime").JSX.Element;
33
47
  export declare function useGui<T extends object = Dict>(): WithCSSVar<T>;
34
48
  export declare function extendTheme(themeOverride: GuiThemeOverride): GuiTheme;
@@ -1,23 +1,57 @@
1
1
  export declare const spacing: {
2
2
  0: string;
3
+ '0.25': string;
4
+ '0.5': string;
5
+ '0.75': string;
6
+ 1: string;
3
7
  2: string;
8
+ 3: string;
4
9
  4: string;
10
+ 5: string;
5
11
  6: string;
12
+ 7: string;
6
13
  8: string;
14
+ 9: string;
7
15
  10: string;
16
+ 11: string;
8
17
  12: string;
18
+ 13: string;
9
19
  14: string;
20
+ 15: string;
10
21
  16: string;
22
+ 17: string;
11
23
  18: string;
24
+ 19: string;
12
25
  20: string;
26
+ 22: string;
13
27
  24: string;
28
+ 26: string;
29
+ 28: string;
30
+ 30: string;
14
31
  32: string;
32
+ 33: string;
33
+ 34: string;
34
+ 36: string;
35
+ 38: string;
15
36
  40: string;
37
+ 42: string;
38
+ 43: string;
39
+ 44: string;
40
+ 46: string;
16
41
  48: string;
42
+ 49: string;
43
+ 50: string;
44
+ 52: string;
45
+ 54: string;
17
46
  56: string;
47
+ 58: string;
48
+ 60: string;
49
+ 62: string;
18
50
  64: string;
51
+ 68: string;
19
52
  72: string;
20
53
  80: string;
54
+ 100: string;
21
55
  };
22
56
  export declare const breakpoints: {
23
57
  phone: {
@@ -125,6 +159,9 @@ export declare const fontSizes: {
125
159
  medium: string;
126
160
  small: string;
127
161
  };
162
+ logo: {
163
+ header: string;
164
+ };
128
165
  lead: string;
129
166
  base: string;
130
167
  large: string;
@@ -187,6 +224,9 @@ export declare const lineHeights: {
187
224
  medium: string;
188
225
  small: string;
189
226
  };
227
+ logo: {
228
+ header: string;
229
+ };
190
230
  lead: string;
191
231
  base: string;
192
232
  large: string;
@@ -0,0 +1,4 @@
1
+ import { RecursiveObject } from '@sk-web-gui/theme';
2
+ import { Config } from 'tailwindcss/types/config';
3
+ declare const theme: RecursiveObject<Config['theme'] | string | string[]>;
4
+ export { theme };
@@ -0,0 +1,288 @@
1
+ declare const _units: {
2
+ spacing: {
3
+ '0': string;
4
+ '0.25': string;
5
+ '0.5': string;
6
+ '0.75': string;
7
+ '1': string;
8
+ '2': string;
9
+ '3': string;
10
+ '4': string;
11
+ '5': string;
12
+ '6': string;
13
+ '7': string;
14
+ '8': string;
15
+ '9': string;
16
+ '10': string;
17
+ '11': string;
18
+ '12': string;
19
+ '13': string;
20
+ '14': string;
21
+ '15': string;
22
+ '16': string;
23
+ '17': string;
24
+ '18': string;
25
+ '19': string;
26
+ '20': string;
27
+ '22': string;
28
+ '24': string;
29
+ '26': string;
30
+ '28': string;
31
+ '30': string;
32
+ '32': string;
33
+ '34': string;
34
+ '36': string;
35
+ '38': string;
36
+ '40': string;
37
+ '42': string;
38
+ '44': string;
39
+ '46': string;
40
+ '48': string;
41
+ '50': string;
42
+ '52': string;
43
+ '54': string;
44
+ '56': string;
45
+ '58': string;
46
+ '60': string;
47
+ '62': string;
48
+ '64': string;
49
+ '68': string;
50
+ '72': string;
51
+ '80': string;
52
+ '90': string;
53
+ '100': string;
54
+ };
55
+ fontSizes: {
56
+ 'display-1': (string | {
57
+ lineHeight: string;
58
+ fontWeight: number;
59
+ })[];
60
+ 'display-1-lg': (string | {
61
+ lineHeight: string;
62
+ fontWeight: number;
63
+ })[];
64
+ 'display-1-md': (string | {
65
+ lineHeight: string;
66
+ fontWeight: number;
67
+ })[];
68
+ 'display-1-sm': (string | {
69
+ lineHeight: string;
70
+ fontWeight: number;
71
+ })[];
72
+ 'display-2': (string | {
73
+ lineHeight: string;
74
+ fontWeight: number;
75
+ })[];
76
+ 'display-2-lg': (string | {
77
+ lineHeight: string;
78
+ fontWeight: number;
79
+ })[];
80
+ 'display-2-md': (string | {
81
+ lineHeight: string;
82
+ fontWeight: number;
83
+ })[];
84
+ 'display-2-sm': (string | {
85
+ lineHeight: string;
86
+ fontWeight: number;
87
+ })[];
88
+ 'display-3': (string | {
89
+ lineHeight: string;
90
+ fontWeight: number;
91
+ })[];
92
+ 'display-3-lg': (string | {
93
+ lineHeight: string;
94
+ fontWeight: number;
95
+ })[];
96
+ 'display-3-md': (string | {
97
+ lineHeight: string;
98
+ fontWeight: number;
99
+ })[];
100
+ 'display-3-sm': (string | {
101
+ lineHeight: string;
102
+ fontWeight: number;
103
+ })[];
104
+ h1: (string | {
105
+ lineHeight: string;
106
+ fontWeight: number;
107
+ })[];
108
+ 'h1-lg': (string | {
109
+ lineHeight: string;
110
+ fontWeight: number;
111
+ })[];
112
+ 'h1-md': (string | {
113
+ lineHeight: string;
114
+ fontWeight: number;
115
+ })[];
116
+ 'h1-sm': (string | {
117
+ lineHeight: string;
118
+ fontWeight: number;
119
+ })[];
120
+ h2: (string | {
121
+ lineHeight: string;
122
+ fontWeight: number;
123
+ })[];
124
+ 'h2-lg': (string | {
125
+ lineHeight: string;
126
+ fontWeight: number;
127
+ })[];
128
+ 'h2-md': (string | {
129
+ lineHeight: string;
130
+ fontWeight: number;
131
+ })[];
132
+ 'h2-sm': (string | {
133
+ lineHeight: string;
134
+ fontWeight: number;
135
+ })[];
136
+ h3: (string | {
137
+ lineHeight: string;
138
+ fontWeight: number;
139
+ })[];
140
+ 'h3-lg': (string | {
141
+ lineHeight: string;
142
+ fontWeight: number;
143
+ })[];
144
+ 'h3-md': (string | {
145
+ lineHeight: string;
146
+ fontWeight: number;
147
+ })[];
148
+ 'h3-sm': (string | {
149
+ lineHeight: string;
150
+ fontWeight: number;
151
+ })[];
152
+ h4: (string | {
153
+ lineHeight: string;
154
+ fontWeight: number;
155
+ })[];
156
+ 'h4-lg': (string | {
157
+ lineHeight: string;
158
+ fontWeight: number;
159
+ })[];
160
+ 'h4-md': (string | {
161
+ lineHeight: string;
162
+ fontWeight: number;
163
+ })[];
164
+ 'h4-sm': (string | {
165
+ lineHeight: string;
166
+ fontWeight: number;
167
+ })[];
168
+ 'label-large': (string | {
169
+ lineHeight: string;
170
+ fontWeight: number;
171
+ })[];
172
+ 'label-medium': (string | {
173
+ lineHeight: string;
174
+ fontWeight: number;
175
+ })[];
176
+ 'label-small': (string | {
177
+ lineHeight: string;
178
+ fontWeight: number;
179
+ })[];
180
+ 'input-large': (string | {
181
+ lineHeight: string;
182
+ fontWeight: number;
183
+ })[];
184
+ 'input-medium': (string | {
185
+ lineHeight: string;
186
+ fontWeight: number;
187
+ })[];
188
+ 'input-small': (string | {
189
+ lineHeight: string;
190
+ fontWeight: number;
191
+ })[];
192
+ 'logo-header': (string | {
193
+ lineHeight: string;
194
+ fontWeight: number;
195
+ })[];
196
+ lead: string[];
197
+ base: string[];
198
+ large: string[];
199
+ small: string[];
200
+ };
201
+ lineHeights: {
202
+ 'display-1': string;
203
+ 'display-1-lg': string;
204
+ 'display-1-md': string;
205
+ 'display-1-sm': string;
206
+ 'display-2': string;
207
+ 'display-2-lg': string;
208
+ 'display-2-md': string;
209
+ 'display-2-sm': string;
210
+ 'display-3': string;
211
+ 'display-3-lg': string;
212
+ 'display-3-md': string;
213
+ 'display-3-sm': string;
214
+ h1: string;
215
+ 'h1-lg': string;
216
+ 'h1-md': string;
217
+ 'h1-sm': string;
218
+ h2: string;
219
+ 'h2-lg': string;
220
+ 'h2-md': string;
221
+ 'h2-sm': string;
222
+ h3: string;
223
+ 'h3-lg': string;
224
+ 'h3-md': string;
225
+ 'h3-sm': string;
226
+ h4: string;
227
+ 'h4-lg': string;
228
+ 'h4-md': string;
229
+ 'h4-sm': string;
230
+ 'label-large': string;
231
+ 'label-medium': string;
232
+ 'label-small': string;
233
+ 'input-large': string;
234
+ 'input-medium': string;
235
+ 'input-small': string;
236
+ 'logo-header': string;
237
+ lead: string;
238
+ base: string;
239
+ large: string;
240
+ small: string;
241
+ };
242
+ radius: {
243
+ DEFAULT: string;
244
+ full: string;
245
+ none: string;
246
+ circular: string;
247
+ 'circular-lg': string;
248
+ 'circular-md': string;
249
+ 'circular-sm': string;
250
+ button: string;
251
+ 'button-lg': string;
252
+ 'button-md': string;
253
+ 'button-sm': string;
254
+ cards: string;
255
+ 'cards-lg': string;
256
+ 'cards-md': string;
257
+ 'cards-sm': string;
258
+ utility: string;
259
+ 'utility-lg': string;
260
+ 'utility-md': string;
261
+ 'utility-sm': string;
262
+ groups: string;
263
+ 'groups-lg': string;
264
+ 'groups-md': string;
265
+ 'groups-sm': string;
266
+ '0': string;
267
+ '2': string;
268
+ '4': string;
269
+ '6': string;
270
+ '8': string;
271
+ '10': string;
272
+ '12': string;
273
+ '14': string;
274
+ '16': string;
275
+ '18': string;
276
+ '20': string;
277
+ '24': string;
278
+ '32': string;
279
+ '40': string;
280
+ '48': string;
281
+ '56': string;
282
+ '64': string;
283
+ '72': string;
284
+ '80': string;
285
+ };
286
+ };
287
+ declare const units: typeof _units;
288
+ export { units };
@@ -0,0 +1,4 @@
1
+ declare const withOpacity: (variableName: string) => ({ opacityValue }: {
2
+ opacityValue: string;
3
+ }) => string;
4
+ export default withOpacity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sk-web-gui/core",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -23,7 +23,7 @@
23
23
  "build": "concurrently yarn:build:*",
24
24
  "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts -d dist/esm --source-maps",
25
25
  "build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts -d dist/cjs --source-maps",
26
- "build:types": "tsc --emitDeclarationOnly --declaration --allowJs --declarationDir dist/types"
26
+ "build:types": "tsc -p ./tsconfig.production.json --emitDeclarationOnly --declaration --declarationDir dist/types"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@tailwindcss/container-queries": "^0.1.1",
@@ -40,8 +40,8 @@
40
40
  "tailwindcss": "^3.4.3"
41
41
  },
42
42
  "dependencies": {
43
- "@sk-web-gui/theme": "2.0.0",
43
+ "@sk-web-gui/theme": "2.1.1",
44
44
  "mini-svg-data-uri": "^1.4.4"
45
45
  },
46
- "gitHead": "1ba182a59f53d49bfa6f69ed28a5d64d74085def"
46
+ "gitHead": "20859560661edb7cd35643e1afac242273156a5d"
47
47
  }
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- export type * from './src';