uisv 0.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 (319) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -0
  3. package/dist/components/alert.svelte +244 -0
  4. package/dist/components/alert.svelte.d.ts +25 -0
  5. package/dist/components/badge.svelte +227 -0
  6. package/dist/components/badge.svelte.d.ts +19 -0
  7. package/dist/components/button.svelte +383 -0
  8. package/dist/components/button.svelte.d.ts +51 -0
  9. package/dist/components/index.d.ts +6 -0
  10. package/dist/components/index.js +6 -0
  11. package/dist/index.d.ts +2 -0
  12. package/dist/index.js +2 -0
  13. package/dist/theme/accordion.d.ts +21 -0
  14. package/dist/theme/accordion.js +20 -0
  15. package/dist/theme/alert.d.ts +45 -0
  16. package/dist/theme/alert.js +102 -0
  17. package/dist/theme/auth-form.d.ts +21 -0
  18. package/dist/theme/auth-form.js +20 -0
  19. package/dist/theme/avatar-group.d.ts +41 -0
  20. package/dist/theme/avatar-group.js +40 -0
  21. package/dist/theme/avatar.d.ts +43 -0
  22. package/dist/theme/avatar.js +42 -0
  23. package/dist/theme/badge.d.ts +18 -0
  24. package/dist/theme/badge.js +131 -0
  25. package/dist/theme/banner.d.ts +29 -0
  26. package/dist/theme/banner.js +42 -0
  27. package/dist/theme/blog-post.d.ts +112 -0
  28. package/dist/theme/blog-post.js +116 -0
  29. package/dist/theme/blog-posts.d.ts +10 -0
  30. package/dist/theme/blog-posts.js +9 -0
  31. package/dist/theme/breadcrumb.d.ts +41 -0
  32. package/dist/theme/breadcrumb.js +42 -0
  33. package/dist/theme/button.d.ts +19 -0
  34. package/dist/theme/button.js +194 -0
  35. package/dist/theme/calendar.d.ts +59 -0
  36. package/dist/theme/calendar.js +68 -0
  37. package/dist/theme/card.d.ts +28 -0
  38. package/dist/theme/card.js +27 -0
  39. package/dist/theme/carousel.d.ts +36 -0
  40. package/dist/theme/carousel.js +38 -0
  41. package/dist/theme/changelog-version.d.ts +42 -0
  42. package/dist/theme/changelog-version.js +41 -0
  43. package/dist/theme/changelog-versions.d.ts +9 -0
  44. package/dist/theme/changelog-versions.js +8 -0
  45. package/dist/theme/chat-message.d.ts +101 -0
  46. package/dist/theme/chat-message.js +97 -0
  47. package/dist/theme/chat-messages.d.ts +15 -0
  48. package/dist/theme/chat-messages.js +14 -0
  49. package/dist/theme/chat-palette.d.ts +9 -0
  50. package/dist/theme/chat-palette.js +8 -0
  51. package/dist/theme/chat-prompt-submit.d.ts +6 -0
  52. package/dist/theme/chat-prompt-submit.js +5 -0
  53. package/dist/theme/chat-prompt.d.ts +29 -0
  54. package/dist/theme/chat-prompt.js +28 -0
  55. package/dist/theme/checkbox-group.d.ts +62 -0
  56. package/dist/theme/checkbox-group.js +105 -0
  57. package/dist/theme/checkbox.d.ts +92 -0
  58. package/dist/theme/checkbox.js +125 -0
  59. package/dist/theme/chip.d.ts +45 -0
  60. package/dist/theme/chip.js +62 -0
  61. package/dist/theme/collapsible.d.ts +7 -0
  62. package/dist/theme/collapsible.js +6 -0
  63. package/dist/theme/color-picker.d.ts +40 -0
  64. package/dist/theme/color-picker.js +39 -0
  65. package/dist/theme/command-palette.d.ts +47 -0
  66. package/dist/theme/command-palette.js +52 -0
  67. package/dist/theme/container.d.ts +4 -0
  68. package/dist/theme/container.js +3 -0
  69. package/dist/theme/content/content-navigation.d.ts +65 -0
  70. package/dist/theme/content/content-navigation.js +153 -0
  71. package/dist/theme/content/content-search-button.d.ts +7 -0
  72. package/dist/theme/content/content-search-button.js +6 -0
  73. package/dist/theme/content/content-search.d.ts +7 -0
  74. package/dist/theme/content/content-search.js +6 -0
  75. package/dist/theme/content/content-surround.d.ts +23 -0
  76. package/dist/theme/content/content-surround.js +21 -0
  77. package/dist/theme/content/content-toc.d.ts +53 -0
  78. package/dist/theme/content/content-toc.js +69 -0
  79. package/dist/theme/content/index.d.ts +5 -0
  80. package/dist/theme/content/index.js +5 -0
  81. package/dist/theme/context-menu.d.ts +91 -0
  82. package/dist/theme/context-menu.js +114 -0
  83. package/dist/theme/dashboard-group.d.ts +4 -0
  84. package/dist/theme/dashboard-group.js +3 -0
  85. package/dist/theme/dashboard-navbar.d.ts +22 -0
  86. package/dist/theme/dashboard-navbar.js +21 -0
  87. package/dist/theme/dashboard-panel.d.ts +18 -0
  88. package/dist/theme/dashboard-panel.js +17 -0
  89. package/dist/theme/dashboard-resize-handle.d.ts +4 -0
  90. package/dist/theme/dashboard-resize-handle.js +3 -0
  91. package/dist/theme/dashboard-search-button.d.ts +7 -0
  92. package/dist/theme/dashboard-search-button.js +6 -0
  93. package/dist/theme/dashboard-search.d.ts +7 -0
  94. package/dist/theme/dashboard-search.js +6 -0
  95. package/dist/theme/dashboard-sidebar-collapse.d.ts +10 -0
  96. package/dist/theme/dashboard-sidebar-collapse.js +9 -0
  97. package/dist/theme/dashboard-sidebar-toggle.d.ts +10 -0
  98. package/dist/theme/dashboard-sidebar-toggle.js +9 -0
  99. package/dist/theme/dashboard-sidebar.d.ts +38 -0
  100. package/dist/theme/dashboard-sidebar.js +37 -0
  101. package/dist/theme/dashboard-toolbar.d.ts +8 -0
  102. package/dist/theme/dashboard-toolbar.js +7 -0
  103. package/dist/theme/drawer.d.ts +54 -0
  104. package/dist/theme/drawer.js +110 -0
  105. package/dist/theme/dropdown-menu.d.ts +92 -0
  106. package/dist/theme/dropdown-menu.js +115 -0
  107. package/dist/theme/error.d.ts +10 -0
  108. package/dist/theme/error.js +9 -0
  109. package/dist/theme/file-upload.d.ts +100 -0
  110. package/dist/theme/file-upload.js +212 -0
  111. package/dist/theme/footer-columns.d.ts +27 -0
  112. package/dist/theme/footer-columns.js +25 -0
  113. package/dist/theme/footer.d.ts +12 -0
  114. package/dist/theme/footer.js +11 -0
  115. package/dist/theme/form-field.d.ts +41 -0
  116. package/dist/theme/form-field.js +30 -0
  117. package/dist/theme/form.d.ts +4 -0
  118. package/dist/theme/form.js +3 -0
  119. package/dist/theme/header.d.ts +26 -0
  120. package/dist/theme/header.js +25 -0
  121. package/dist/theme/icons.d.ts +44 -0
  122. package/dist/theme/icons.js +43 -0
  123. package/dist/theme/index.d.ts +99 -0
  124. package/dist/theme/index.js +99 -0
  125. package/dist/theme/input-menu.d.ts +159 -0
  126. package/dist/theme/input-menu.js +136 -0
  127. package/dist/theme/input-number.d.ts +16 -0
  128. package/dist/theme/input-number.js +130 -0
  129. package/dist/theme/input-tags.d.ts +86 -0
  130. package/dist/theme/input-tags.js +50 -0
  131. package/dist/theme/input.d.ts +20 -0
  132. package/dist/theme/input.js +179 -0
  133. package/dist/theme/kbd.d.ts +26 -0
  134. package/dist/theme/kbd.js +67 -0
  135. package/dist/theme/link.d.ts +18 -0
  136. package/dist/theme/link.js +19 -0
  137. package/dist/theme/main.d.ts +4 -0
  138. package/dist/theme/main.js +3 -0
  139. package/dist/theme/marquee.d.ts +47 -0
  140. package/dist/theme/marquee.js +56 -0
  141. package/dist/theme/modal.d.ts +30 -0
  142. package/dist/theme/modal.js +29 -0
  143. package/dist/theme/navigation-menu.d.ts +108 -0
  144. package/dist/theme/navigation-menu.js +315 -0
  145. package/dist/theme/page-anchors.d.ts +26 -0
  146. package/dist/theme/page-anchors.js +24 -0
  147. package/dist/theme/page-aside.d.ts +11 -0
  148. package/dist/theme/page-aside.js +10 -0
  149. package/dist/theme/page-body.d.ts +4 -0
  150. package/dist/theme/page-body.js +3 -0
  151. package/dist/theme/page-card.d.ts +90 -0
  152. package/dist/theme/page-card.js +156 -0
  153. package/dist/theme/page-columns.d.ts +4 -0
  154. package/dist/theme/page-columns.js +3 -0
  155. package/dist/theme/page-cta.d.ts +63 -0
  156. package/dist/theme/page-cta.js +62 -0
  157. package/dist/theme/page-feature.d.ts +27 -0
  158. package/dist/theme/page-feature.js +26 -0
  159. package/dist/theme/page-grid.d.ts +4 -0
  160. package/dist/theme/page-grid.js +3 -0
  161. package/dist/theme/page-header.d.ts +19 -0
  162. package/dist/theme/page-header.js +18 -0
  163. package/dist/theme/page-hero.d.ts +45 -0
  164. package/dist/theme/page-hero.js +44 -0
  165. package/dist/theme/page-links.d.ts +24 -0
  166. package/dist/theme/page-links.js +22 -0
  167. package/dist/theme/page-list.d.ts +9 -0
  168. package/dist/theme/page-list.js +8 -0
  169. package/dist/theme/page-logos.d.ts +16 -0
  170. package/dist/theme/page-logos.js +15 -0
  171. package/dist/theme/page-section.d.ts +85 -0
  172. package/dist/theme/page-section.js +75 -0
  173. package/dist/theme/page.d.ts +24 -0
  174. package/dist/theme/page.js +29 -0
  175. package/dist/theme/pagination.d.ts +14 -0
  176. package/dist/theme/pagination.js +13 -0
  177. package/dist/theme/pin-input.d.ts +45 -0
  178. package/dist/theme/pin-input.js +69 -0
  179. package/dist/theme/popover.d.ts +7 -0
  180. package/dist/theme/popover.js +6 -0
  181. package/dist/theme/pricing-plan.d.ts +81 -0
  182. package/dist/theme/pricing-plan.js +86 -0
  183. package/dist/theme/pricing-plans.d.ts +21 -0
  184. package/dist/theme/pricing-plans.js +20 -0
  185. package/dist/theme/pricing-table.d.ts +52 -0
  186. package/dist/theme/pricing-table.js +51 -0
  187. package/dist/theme/progress.d.ts +131 -0
  188. package/dist/theme/progress.js +241 -0
  189. package/dist/theme/prose/a.d.ts +5 -0
  190. package/dist/theme/prose/a.js +3 -0
  191. package/dist/theme/prose/accordion-item.d.ts +4 -0
  192. package/dist/theme/prose/accordion-item.js +3 -0
  193. package/dist/theme/prose/accordion.d.ts +7 -0
  194. package/dist/theme/prose/accordion.js +6 -0
  195. package/dist/theme/prose/badge.d.ts +4 -0
  196. package/dist/theme/prose/badge.js +3 -0
  197. package/dist/theme/prose/blockquote.d.ts +4 -0
  198. package/dist/theme/prose/blockquote.js +3 -0
  199. package/dist/theme/prose/callout.d.ts +25 -0
  200. package/dist/theme/prose/callout.js +42 -0
  201. package/dist/theme/prose/card-group.d.ts +4 -0
  202. package/dist/theme/prose/card-group.js +3 -0
  203. package/dist/theme/prose/card.d.ts +30 -0
  204. package/dist/theme/prose/card.js +45 -0
  205. package/dist/theme/prose/code-collapse.d.ts +20 -0
  206. package/dist/theme/prose/code-collapse.js +19 -0
  207. package/dist/theme/prose/code-group.d.ts +12 -0
  208. package/dist/theme/prose/code-group.js +10 -0
  209. package/dist/theme/prose/code-icon.d.ts +67 -0
  210. package/dist/theme/prose/code-icon.js +66 -0
  211. package/dist/theme/prose/code-preview.d.ts +15 -0
  212. package/dist/theme/prose/code-preview.js +14 -0
  213. package/dist/theme/prose/code-tree.d.ts +27 -0
  214. package/dist/theme/prose/code-tree.js +25 -0
  215. package/dist/theme/prose/code.d.ts +13 -0
  216. package/dist/theme/prose/code.js +12 -0
  217. package/dist/theme/prose/collapsible.d.ts +11 -0
  218. package/dist/theme/prose/collapsible.js +9 -0
  219. package/dist/theme/prose/em.d.ts +4 -0
  220. package/dist/theme/prose/em.js +3 -0
  221. package/dist/theme/prose/field-group.d.ts +4 -0
  222. package/dist/theme/prose/field-group.js +3 -0
  223. package/dist/theme/prose/field.d.ts +12 -0
  224. package/dist/theme/prose/field.js +11 -0
  225. package/dist/theme/prose/h1.d.ts +7 -0
  226. package/dist/theme/prose/h1.js +6 -0
  227. package/dist/theme/prose/h2.d.ts +10 -0
  228. package/dist/theme/prose/h2.js +8 -0
  229. package/dist/theme/prose/h3.d.ts +10 -0
  230. package/dist/theme/prose/h3.js +8 -0
  231. package/dist/theme/prose/h4.d.ts +7 -0
  232. package/dist/theme/prose/h4.js +6 -0
  233. package/dist/theme/prose/hr.d.ts +4 -0
  234. package/dist/theme/prose/hr.js +3 -0
  235. package/dist/theme/prose/icon.d.ts +4 -0
  236. package/dist/theme/prose/icon.js +3 -0
  237. package/dist/theme/prose/img.d.ts +21 -0
  238. package/dist/theme/prose/img.js +20 -0
  239. package/dist/theme/prose/index.d.ts +41 -0
  240. package/dist/theme/prose/index.js +41 -0
  241. package/dist/theme/prose/kbd.d.ts +4 -0
  242. package/dist/theme/prose/kbd.js +3 -0
  243. package/dist/theme/prose/li.d.ts +4 -0
  244. package/dist/theme/prose/li.js +3 -0
  245. package/dist/theme/prose/ol.d.ts +4 -0
  246. package/dist/theme/prose/ol.js +3 -0
  247. package/dist/theme/prose/p.d.ts +4 -0
  248. package/dist/theme/prose/p.js +3 -0
  249. package/dist/theme/prose/pre.d.ts +18 -0
  250. package/dist/theme/prose/pre.js +17 -0
  251. package/dist/theme/prose/steps.d.ts +14 -0
  252. package/dist/theme/prose/steps.js +13 -0
  253. package/dist/theme/prose/strong.d.ts +4 -0
  254. package/dist/theme/prose/strong.js +3 -0
  255. package/dist/theme/prose/table.d.ts +7 -0
  256. package/dist/theme/prose/table.js +6 -0
  257. package/dist/theme/prose/tabs-item.d.ts +4 -0
  258. package/dist/theme/prose/tabs-item.js +3 -0
  259. package/dist/theme/prose/tabs.d.ts +6 -0
  260. package/dist/theme/prose/tabs.js +5 -0
  261. package/dist/theme/prose/tbody.d.ts +4 -0
  262. package/dist/theme/prose/tbody.js +3 -0
  263. package/dist/theme/prose/td.d.ts +4 -0
  264. package/dist/theme/prose/td.js +3 -0
  265. package/dist/theme/prose/th.d.ts +4 -0
  266. package/dist/theme/prose/th.js +3 -0
  267. package/dist/theme/prose/thead.d.ts +4 -0
  268. package/dist/theme/prose/thead.js +3 -0
  269. package/dist/theme/prose/tr.d.ts +4 -0
  270. package/dist/theme/prose/tr.js +3 -0
  271. package/dist/theme/prose/ul.d.ts +4 -0
  272. package/dist/theme/prose/ul.js +3 -0
  273. package/dist/theme/radio-group.d.ts +117 -0
  274. package/dist/theme/radio-group.js +180 -0
  275. package/dist/theme/select-menu.d.ts +141 -0
  276. package/dist/theme/select-menu.js +21 -0
  277. package/dist/theme/select.d.ts +86 -0
  278. package/dist/theme/select.js +100 -0
  279. package/dist/theme/separator.d.ts +61 -0
  280. package/dist/theme/separator.js +104 -0
  281. package/dist/theme/skeleton.d.ts +4 -0
  282. package/dist/theme/skeleton.js +3 -0
  283. package/dist/theme/slideover.d.ts +42 -0
  284. package/dist/theme/slideover.js +59 -0
  285. package/dist/theme/slider.d.ts +60 -0
  286. package/dist/theme/slider.js +131 -0
  287. package/dist/theme/stepper.d.ts +94 -0
  288. package/dist/theme/stepper.js +137 -0
  289. package/dist/theme/switch.d.ts +84 -0
  290. package/dist/theme/switch.js +96 -0
  291. package/dist/theme/table.d.ts +56 -0
  292. package/dist/theme/table.js +99 -0
  293. package/dist/theme/tabs.d.ts +78 -0
  294. package/dist/theme/tabs.js +145 -0
  295. package/dist/theme/textarea.d.ts +72 -0
  296. package/dist/theme/textarea.js +39 -0
  297. package/dist/theme/timeline.d.ts +52 -0
  298. package/dist/theme/timeline.js +212 -0
  299. package/dist/theme/toast.d.ts +41 -0
  300. package/dist/theme/toast.js +47 -0
  301. package/dist/theme/toaster.d.ts +50 -0
  302. package/dist/theme/toaster.js +56 -0
  303. package/dist/theme/tooltip.d.ts +10 -0
  304. package/dist/theme/tooltip.js +9 -0
  305. package/dist/theme/tree.d.ts +66 -0
  306. package/dist/theme/tree.js +89 -0
  307. package/dist/theme/user.d.ts +85 -0
  308. package/dist/theme/user.js +83 -0
  309. package/dist/types.d.ts +7 -0
  310. package/dist/types.js +1 -0
  311. package/dist/utils/common.d.ts +14 -0
  312. package/dist/utils/common.js +18 -0
  313. package/dist/utils/keys.d.ts +8 -0
  314. package/dist/utils/keys.js +8 -0
  315. package/dist/utils/types.d.ts +1 -0
  316. package/dist/utils/types.js +1 -0
  317. package/dist/vite.d.ts +34 -0
  318. package/dist/vite.js +73 -0
  319. package/package.json +82 -0
@@ -0,0 +1,41 @@
1
+ declare const _default: {
2
+ slots: {
3
+ root: string;
4
+ base: string;
5
+ };
6
+ variants: {
7
+ size: {
8
+ '3xs': {
9
+ base: string;
10
+ };
11
+ '2xs': {
12
+ base: string;
13
+ };
14
+ xs: {
15
+ base: string;
16
+ };
17
+ sm: {
18
+ base: string;
19
+ };
20
+ md: {
21
+ base: string;
22
+ };
23
+ lg: {
24
+ base: string;
25
+ };
26
+ xl: {
27
+ base: string;
28
+ };
29
+ '2xl': {
30
+ base: string;
31
+ };
32
+ '3xl': {
33
+ base: string;
34
+ };
35
+ };
36
+ };
37
+ defaultVariants: {
38
+ size: string;
39
+ };
40
+ };
41
+ export default _default;
@@ -0,0 +1,40 @@
1
+ export default {
2
+ slots: {
3
+ root: 'inline-flex flex-row-reverse justify-end',
4
+ base: 'relative rounded-full ring-bg first:me-0'
5
+ },
6
+ variants: {
7
+ size: {
8
+ '3xs': {
9
+ base: 'ring -me-0.5'
10
+ },
11
+ '2xs': {
12
+ base: 'ring -me-0.5'
13
+ },
14
+ 'xs': {
15
+ base: 'ring -me-0.5'
16
+ },
17
+ 'sm': {
18
+ base: 'ring-2 -me-1.5'
19
+ },
20
+ 'md': {
21
+ base: 'ring-2 -me-1.5'
22
+ },
23
+ 'lg': {
24
+ base: 'ring-2 -me-1.5'
25
+ },
26
+ 'xl': {
27
+ base: 'ring-3 -me-2'
28
+ },
29
+ '2xl': {
30
+ base: 'ring-3 -me-2'
31
+ },
32
+ '3xl': {
33
+ base: 'ring-3 -me-2'
34
+ }
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ size: 'md'
39
+ }
40
+ };
@@ -0,0 +1,43 @@
1
+ declare const _default: {
2
+ slots: {
3
+ root: string;
4
+ image: string;
5
+ fallback: string;
6
+ icon: string;
7
+ };
8
+ variants: {
9
+ size: {
10
+ '3xs': {
11
+ root: string;
12
+ };
13
+ '2xs': {
14
+ root: string;
15
+ };
16
+ xs: {
17
+ root: string;
18
+ };
19
+ sm: {
20
+ root: string;
21
+ };
22
+ md: {
23
+ root: string;
24
+ };
25
+ lg: {
26
+ root: string;
27
+ };
28
+ xl: {
29
+ root: string;
30
+ };
31
+ '2xl': {
32
+ root: string;
33
+ };
34
+ '3xl': {
35
+ root: string;
36
+ };
37
+ };
38
+ };
39
+ defaultVariants: {
40
+ size: string;
41
+ };
42
+ };
43
+ export default _default;
@@ -0,0 +1,42 @@
1
+ export default {
2
+ slots: {
3
+ root: 'inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated',
4
+ image: 'h-full w-full rounded-[inherit] object-cover',
5
+ fallback: 'font-medium leading-none text-muted truncate',
6
+ icon: 'text-muted shrink-0'
7
+ },
8
+ variants: {
9
+ size: {
10
+ '3xs': {
11
+ root: 'size-4 text-[8px]'
12
+ },
13
+ '2xs': {
14
+ root: 'size-5 text-[10px]'
15
+ },
16
+ 'xs': {
17
+ root: 'size-6 text-xs'
18
+ },
19
+ 'sm': {
20
+ root: 'size-7 text-sm'
21
+ },
22
+ 'md': {
23
+ root: 'size-8 text-base'
24
+ },
25
+ 'lg': {
26
+ root: 'size-9 text-lg'
27
+ },
28
+ 'xl': {
29
+ root: 'size-10 text-xl'
30
+ },
31
+ '2xl': {
32
+ root: 'size-11 text-[22px]'
33
+ },
34
+ '3xl': {
35
+ root: 'size-12 text-2xl'
36
+ }
37
+ }
38
+ },
39
+ defaultVariants: {
40
+ size: 'md'
41
+ }
42
+ };
@@ -0,0 +1,18 @@
1
+ declare const _default: (options: Required<ModuleOptions>) => {
2
+ slots: {
3
+ base: string;
4
+ label: string;
5
+ leadingIcon: string;
6
+ leadingAvatar: string;
7
+ leadingAvatarSize: string;
8
+ trailingIcon: string;
9
+ };
10
+ variants: any;
11
+ compoundVariants: any[];
12
+ defaultVariants: {
13
+ color: string;
14
+ variant: string;
15
+ size: string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,131 @@
1
+ import { fieldGroupVariant } from './field-group';
2
+ export default (options) => ({
3
+ slots: {
4
+ base: 'font-medium inline-flex items-center',
5
+ label: 'truncate',
6
+ leadingIcon: 'shrink-0',
7
+ leadingAvatar: 'shrink-0',
8
+ leadingAvatarSize: '',
9
+ trailingIcon: 'shrink-0'
10
+ },
11
+ variants: {
12
+ ...fieldGroupVariant,
13
+ color: {
14
+ ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
15
+ neutral: ''
16
+ },
17
+ variant: {
18
+ solid: '',
19
+ outline: '',
20
+ soft: '',
21
+ subtle: ''
22
+ },
23
+ size: {
24
+ xs: {
25
+ base: 'text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm',
26
+ leadingIcon: 'size-3',
27
+ leadingAvatarSize: '3xs',
28
+ trailingIcon: 'size-3'
29
+ },
30
+ sm: {
31
+ base: 'text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm',
32
+ leadingIcon: 'size-3',
33
+ leadingAvatarSize: '3xs',
34
+ trailingIcon: 'size-3'
35
+ },
36
+ md: {
37
+ base: 'text-xs px-2 py-1 gap-1 rounded-md',
38
+ leadingIcon: 'size-4',
39
+ leadingAvatarSize: '3xs',
40
+ trailingIcon: 'size-4'
41
+ },
42
+ lg: {
43
+ base: 'text-sm px-2 py-1 gap-1.5 rounded-md',
44
+ leadingIcon: 'size-5',
45
+ leadingAvatarSize: '2xs',
46
+ trailingIcon: 'size-5'
47
+ },
48
+ xl: {
49
+ base: 'text-base px-2.5 py-1 gap-1.5 rounded-md',
50
+ leadingIcon: 'size-6',
51
+ leadingAvatarSize: '2xs',
52
+ trailingIcon: 'size-6'
53
+ }
54
+ },
55
+ square: {
56
+ true: ''
57
+ }
58
+ },
59
+ compoundVariants: [
60
+ ...(options.theme.colors || []).map((color) => ({
61
+ color,
62
+ variant: 'solid',
63
+ class: `bg-${color} text-inverted`
64
+ })),
65
+ ...(options.theme.colors || []).map((color) => ({
66
+ color,
67
+ variant: 'outline',
68
+ class: `text-${color} ring ring-inset ring-${color}/50`
69
+ })),
70
+ ...(options.theme.colors || []).map((color) => ({
71
+ color,
72
+ variant: 'soft',
73
+ class: `bg-${color}/10 text-${color}`
74
+ })),
75
+ ...(options.theme.colors || []).map((color) => ({
76
+ color,
77
+ variant: 'subtle',
78
+ class: `bg-${color}/10 text-${color} ring ring-inset ring-${color}/25`
79
+ })),
80
+ {
81
+ color: 'neutral',
82
+ variant: 'solid',
83
+ class: 'text-inverted bg-inverted'
84
+ },
85
+ {
86
+ color: 'neutral',
87
+ variant: 'outline',
88
+ class: 'ring ring-inset ring-accented text-default bg-default'
89
+ },
90
+ {
91
+ color: 'neutral',
92
+ variant: 'soft',
93
+ class: 'text-default bg-elevated'
94
+ },
95
+ {
96
+ color: 'neutral',
97
+ variant: 'subtle',
98
+ class: 'ring ring-inset ring-accented text-default bg-elevated'
99
+ },
100
+ {
101
+ size: 'xs',
102
+ square: true,
103
+ class: 'p-0.5'
104
+ },
105
+ {
106
+ size: 'sm',
107
+ square: true,
108
+ class: 'p-1'
109
+ },
110
+ {
111
+ size: 'md',
112
+ square: true,
113
+ class: 'p-1'
114
+ },
115
+ {
116
+ size: 'lg',
117
+ square: true,
118
+ class: 'p-1'
119
+ },
120
+ {
121
+ size: 'xl',
122
+ square: true,
123
+ class: 'p-1'
124
+ }
125
+ ],
126
+ defaultVariants: {
127
+ color: 'primary',
128
+ variant: 'solid',
129
+ size: 'md'
130
+ }
131
+ });
@@ -0,0 +1,29 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ slots: {
4
+ root: any[];
5
+ container: string;
6
+ left: string;
7
+ center: string;
8
+ right: string;
9
+ icon: string;
10
+ title: string;
11
+ actions: string;
12
+ close: string;
13
+ };
14
+ variants: {
15
+ color: {
16
+ neutral: {
17
+ root: string;
18
+ };
19
+ };
20
+ to: {
21
+ true: string;
22
+ };
23
+ };
24
+ compoundVariants: any[];
25
+ defaultVariants: {
26
+ color: string;
27
+ };
28
+ };
29
+ export default _default;
@@ -0,0 +1,42 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ root: ['relative z-50 w-full', options.theme.transitions && 'transition-colors'],
4
+ container: 'flex items-center justify-between gap-3 h-12',
5
+ left: 'hidden lg:flex-1 lg:flex lg:items-center',
6
+ center: 'flex items-center gap-1.5 min-w-0',
7
+ right: 'lg:flex-1 flex items-center justify-end',
8
+ icon: 'size-5 shrink-0 text-inverted pointer-events-none',
9
+ title: 'text-sm text-inverted font-medium truncate',
10
+ actions: 'flex gap-1.5 shrink-0 isolate',
11
+ close: 'text-inverted hover:bg-default/10 focus-visible:bg-default/10 -me-1.5 lg:me-0'
12
+ },
13
+ variants: {
14
+ color: {
15
+ ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
16
+ root: `bg-${color}`
17
+ }])),
18
+ neutral: {
19
+ root: 'bg-inverted'
20
+ }
21
+ },
22
+ to: {
23
+ true: ''
24
+ }
25
+ },
26
+ compoundVariants: [...(options.theme.colors || []).map((color) => ({
27
+ color,
28
+ to: true,
29
+ class: {
30
+ root: `hover:bg-${color}/90`
31
+ }
32
+ })), {
33
+ color: 'neutral',
34
+ to: true,
35
+ class: {
36
+ root: 'hover:bg-inverted/90'
37
+ }
38
+ }],
39
+ defaultVariants: {
40
+ color: 'primary'
41
+ }
42
+ });
@@ -0,0 +1,112 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ slots: {
4
+ root: string;
5
+ header: string;
6
+ body: string;
7
+ footer: string;
8
+ image: string;
9
+ title: string;
10
+ description: string;
11
+ authors: string;
12
+ avatar: string;
13
+ meta: string;
14
+ date: string;
15
+ badge: string;
16
+ };
17
+ variants: {
18
+ orientation: {
19
+ horizontal: {
20
+ root: string;
21
+ body: string;
22
+ };
23
+ vertical: {
24
+ root: string;
25
+ body: string;
26
+ };
27
+ };
28
+ variant: {
29
+ outline: {
30
+ root: string;
31
+ date: string;
32
+ description: string;
33
+ };
34
+ soft: {
35
+ root: string;
36
+ date: string;
37
+ description: string;
38
+ };
39
+ subtle: {
40
+ root: string;
41
+ date: string;
42
+ description: string;
43
+ };
44
+ ghost: {
45
+ date: string;
46
+ description: string;
47
+ header: string;
48
+ };
49
+ naked: {
50
+ root: string;
51
+ date: string;
52
+ description: string;
53
+ header: string;
54
+ };
55
+ };
56
+ to: {
57
+ true: {
58
+ root: any[];
59
+ image: string;
60
+ avatar: string;
61
+ };
62
+ };
63
+ image: {
64
+ true: string;
65
+ };
66
+ };
67
+ compoundVariants: ({
68
+ variant: string;
69
+ to: boolean;
70
+ class: {
71
+ root: string;
72
+ header?: undefined;
73
+ body?: undefined;
74
+ };
75
+ orientation?: undefined;
76
+ image?: undefined;
77
+ } | {
78
+ variant: string;
79
+ to: boolean;
80
+ class: {
81
+ root: string;
82
+ header: any[];
83
+ body?: undefined;
84
+ };
85
+ orientation?: undefined;
86
+ image?: undefined;
87
+ } | {
88
+ variant: string;
89
+ to: boolean;
90
+ orientation: string;
91
+ class: {
92
+ header: string;
93
+ root?: undefined;
94
+ body?: undefined;
95
+ };
96
+ image?: undefined;
97
+ } | {
98
+ orientation: string;
99
+ image: boolean;
100
+ variant: string;
101
+ class: {
102
+ body: string;
103
+ root?: undefined;
104
+ header?: undefined;
105
+ };
106
+ to?: undefined;
107
+ })[];
108
+ defaultVariants: {
109
+ variant: string;
110
+ };
111
+ };
112
+ export default _default;
@@ -0,0 +1,116 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ root: 'relative group/blog-post flex flex-col rounded-lg overflow-hidden',
4
+ header: 'relative overflow-hidden aspect-[16/9] w-full pointer-events-none',
5
+ body: 'min-w-0 flex-1 flex flex-col',
6
+ footer: '',
7
+ image: 'object-cover object-top w-full h-full',
8
+ title: 'text-xl text-pretty font-semibold text-highlighted',
9
+ description: 'mt-1 text-base text-pretty',
10
+ authors: 'pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5',
11
+ avatar: '',
12
+ meta: 'flex items-center gap-2 mb-2',
13
+ date: 'text-sm',
14
+ badge: ''
15
+ },
16
+ variants: {
17
+ orientation: {
18
+ horizontal: {
19
+ root: 'lg:grid lg:grid-cols-2 lg:items-center gap-x-8',
20
+ body: 'justify-center p-4 sm:p-6 lg:px-0'
21
+ },
22
+ vertical: {
23
+ root: 'flex flex-col',
24
+ body: 'p-4 sm:p-6'
25
+ }
26
+ },
27
+ variant: {
28
+ outline: {
29
+ root: 'bg-default ring ring-default',
30
+ date: 'text-toned',
31
+ description: 'text-muted'
32
+ },
33
+ soft: {
34
+ root: 'bg-elevated/50',
35
+ date: 'text-muted',
36
+ description: 'text-toned'
37
+ },
38
+ subtle: {
39
+ root: 'bg-elevated/50 ring ring-default',
40
+ date: 'text-muted',
41
+ description: 'text-toned'
42
+ },
43
+ ghost: {
44
+ date: 'text-toned',
45
+ description: 'text-muted',
46
+ header: 'shadow-lg rounded-lg'
47
+ },
48
+ naked: {
49
+ root: 'p-0 sm:p-0',
50
+ date: 'text-toned',
51
+ description: 'text-muted',
52
+ header: 'shadow-lg rounded-lg'
53
+ }
54
+ },
55
+ to: {
56
+ true: {
57
+ root: [options.theme.transitions && 'transition'],
58
+ image: 'transform transition-transform duration-200 group-hover/blog-post:scale-110',
59
+ avatar: 'transform transition-transform duration-200 hover:scale-115'
60
+ }
61
+ },
62
+ image: {
63
+ true: ''
64
+ }
65
+ },
66
+ compoundVariants: [{
67
+ variant: 'outline',
68
+ to: true,
69
+ class: {
70
+ root: 'hover:bg-elevated/50'
71
+ }
72
+ }, {
73
+ variant: 'soft',
74
+ to: true,
75
+ class: {
76
+ root: 'hover:bg-elevated'
77
+ }
78
+ }, {
79
+ variant: 'subtle',
80
+ to: true,
81
+ class: {
82
+ root: 'hover:bg-elevated hover:ring-accented'
83
+ }
84
+ }, {
85
+ variant: 'ghost',
86
+ to: true,
87
+ class: {
88
+ root: 'hover:bg-elevated/50',
89
+ header: ['group-hover/blog-post:shadow-none', options.theme.transitions && 'transition-all']
90
+ }
91
+ }, {
92
+ variant: 'ghost',
93
+ to: true,
94
+ orientation: 'vertical',
95
+ class: {
96
+ header: 'group-hover/blog-post:rounded-b-none'
97
+ }
98
+ }, {
99
+ variant: 'ghost',
100
+ to: true,
101
+ orientation: 'horizontal',
102
+ class: {
103
+ header: 'group-hover/blog-post:rounded-r-none'
104
+ }
105
+ }, {
106
+ orientation: 'vertical',
107
+ image: false,
108
+ variant: 'naked',
109
+ class: {
110
+ body: 'p-0 sm:p-0'
111
+ }
112
+ }],
113
+ defaultVariants: {
114
+ variant: 'outline'
115
+ }
116
+ });
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ base: string;
3
+ variants: {
4
+ orientation: {
5
+ horizontal: string;
6
+ vertical: string;
7
+ };
8
+ };
9
+ };
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export default {
2
+ base: 'flex flex-col gap-8 lg:gap-y-16',
3
+ variants: {
4
+ orientation: {
5
+ horizontal: 'sm:grid sm:grid-cols-2 lg:grid-cols-3',
6
+ vertical: ''
7
+ }
8
+ }
9
+ };
@@ -0,0 +1,41 @@
1
+ declare const _default: (options: Required<ModuleOptions>) => {
2
+ slots: {
3
+ root: string;
4
+ list: string;
5
+ item: string;
6
+ link: string;
7
+ linkLeadingIcon: string;
8
+ linkLeadingAvatar: string;
9
+ linkLeadingAvatarSize: string;
10
+ linkLabel: string;
11
+ separator: string;
12
+ separatorIcon: string;
13
+ };
14
+ variants: {
15
+ active: {
16
+ true: {
17
+ link: string;
18
+ };
19
+ false: {
20
+ link: string;
21
+ };
22
+ };
23
+ disabled: {
24
+ true: {
25
+ link: string;
26
+ };
27
+ };
28
+ to: {
29
+ true: string;
30
+ };
31
+ };
32
+ compoundVariants: {
33
+ disabled: boolean;
34
+ active: boolean;
35
+ to: boolean;
36
+ class: {
37
+ link: any[];
38
+ };
39
+ }[];
40
+ };
41
+ export default _default;