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,241 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ root: 'gap-2',
4
+ base: 'relative overflow-hidden rounded-full bg-accented',
5
+ indicator: 'rounded-full size-full transition-transform duration-200 ease-out',
6
+ status: 'flex text-dimmed transition-[width] duration-200',
7
+ steps: 'grid items-end',
8
+ step: 'truncate text-end row-start-1 col-start-1 transition-opacity'
9
+ },
10
+ variants: {
11
+ animation: {
12
+ carousel: '',
13
+ 'carousel-inverse': '',
14
+ swing: '',
15
+ elastic: ''
16
+ },
17
+ color: {
18
+ ...Object.fromEntries((options.theme.colors || []).map((color) => [
19
+ color,
20
+ {
21
+ indicator: `bg-${color}`,
22
+ steps: `text-${color}`
23
+ }
24
+ ])),
25
+ neutral: {
26
+ indicator: 'bg-inverted',
27
+ steps: 'text-inverted'
28
+ }
29
+ },
30
+ size: {
31
+ '2xs': {
32
+ status: 'text-xs',
33
+ steps: 'text-xs'
34
+ },
35
+ xs: {
36
+ status: 'text-xs',
37
+ steps: 'text-xs'
38
+ },
39
+ sm: {
40
+ status: 'text-sm',
41
+ steps: 'text-sm'
42
+ },
43
+ md: {
44
+ status: 'text-sm',
45
+ steps: 'text-sm'
46
+ },
47
+ lg: {
48
+ status: 'text-sm',
49
+ steps: 'text-sm'
50
+ },
51
+ xl: {
52
+ status: 'text-base',
53
+ steps: 'text-base'
54
+ },
55
+ '2xl': {
56
+ status: 'text-base',
57
+ steps: 'text-base'
58
+ }
59
+ },
60
+ step: {
61
+ active: {
62
+ step: 'opacity-100'
63
+ },
64
+ first: {
65
+ step: 'opacity-100 text-muted'
66
+ },
67
+ other: {
68
+ step: 'opacity-0'
69
+ },
70
+ last: {
71
+ step: ''
72
+ }
73
+ },
74
+ orientation: {
75
+ horizontal: {
76
+ root: 'w-full flex flex-col',
77
+ base: 'w-full',
78
+ status: 'flex-row items-center justify-end min-w-fit'
79
+ },
80
+ vertical: {
81
+ root: 'h-full flex flex-row-reverse',
82
+ base: 'h-full',
83
+ status: 'flex-col justify-end min-h-fit'
84
+ }
85
+ },
86
+ inverted: {
87
+ true: {
88
+ status: 'self-end'
89
+ }
90
+ }
91
+ },
92
+ compoundVariants: [
93
+ {
94
+ inverted: true,
95
+ orientation: 'horizontal',
96
+ class: {
97
+ step: 'text-start',
98
+ status: 'flex-row-reverse'
99
+ }
100
+ },
101
+ {
102
+ inverted: true,
103
+ orientation: 'vertical',
104
+ class: {
105
+ steps: 'items-start',
106
+ status: 'flex-col-reverse'
107
+ }
108
+ },
109
+ {
110
+ orientation: 'horizontal',
111
+ size: '2xs',
112
+ class: 'h-px'
113
+ },
114
+ {
115
+ orientation: 'horizontal',
116
+ size: 'xs',
117
+ class: 'h-0.5'
118
+ },
119
+ {
120
+ orientation: 'horizontal',
121
+ size: 'sm',
122
+ class: 'h-1'
123
+ },
124
+ {
125
+ orientation: 'horizontal',
126
+ size: 'md',
127
+ class: 'h-2'
128
+ },
129
+ {
130
+ orientation: 'horizontal',
131
+ size: 'lg',
132
+ class: 'h-3'
133
+ },
134
+ {
135
+ orientation: 'horizontal',
136
+ size: 'xl',
137
+ class: 'h-4'
138
+ },
139
+ {
140
+ orientation: 'horizontal',
141
+ size: '2xl',
142
+ class: 'h-5'
143
+ },
144
+ {
145
+ orientation: 'vertical',
146
+ size: '2xs',
147
+ class: 'w-px'
148
+ },
149
+ {
150
+ orientation: 'vertical',
151
+ size: 'xs',
152
+ class: 'w-0.5'
153
+ },
154
+ {
155
+ orientation: 'vertical',
156
+ size: 'sm',
157
+ class: 'w-1'
158
+ },
159
+ {
160
+ orientation: 'vertical',
161
+ size: 'md',
162
+ class: 'w-2'
163
+ },
164
+ {
165
+ orientation: 'vertical',
166
+ size: 'lg',
167
+ class: 'w-3'
168
+ },
169
+ {
170
+ orientation: 'vertical',
171
+ size: 'xl',
172
+ class: 'w-4'
173
+ },
174
+ {
175
+ orientation: 'vertical',
176
+ size: '2xl',
177
+ class: 'w-5'
178
+ },
179
+ {
180
+ orientation: 'horizontal',
181
+ animation: 'carousel',
182
+ class: {
183
+ indicator: 'data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]'
184
+ }
185
+ },
186
+ {
187
+ orientation: 'vertical',
188
+ animation: 'carousel',
189
+ class: {
190
+ indicator: 'data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]'
191
+ }
192
+ },
193
+ {
194
+ orientation: 'horizontal',
195
+ animation: 'carousel-inverse',
196
+ class: {
197
+ indicator: 'data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]'
198
+ }
199
+ },
200
+ {
201
+ orientation: 'vertical',
202
+ animation: 'carousel-inverse',
203
+ class: {
204
+ indicator: 'data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]'
205
+ }
206
+ },
207
+ {
208
+ orientation: 'horizontal',
209
+ animation: 'swing',
210
+ class: {
211
+ indicator: 'data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]'
212
+ }
213
+ },
214
+ {
215
+ orientation: 'vertical',
216
+ animation: 'swing',
217
+ class: {
218
+ indicator: 'data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]'
219
+ }
220
+ },
221
+ {
222
+ orientation: 'horizontal',
223
+ animation: 'elastic',
224
+ class: {
225
+ indicator: 'data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]'
226
+ }
227
+ },
228
+ {
229
+ orientation: 'vertical',
230
+ animation: 'elastic',
231
+ class: {
232
+ indicator: 'data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]'
233
+ }
234
+ }
235
+ ],
236
+ defaultVariants: {
237
+ animation: 'carousel',
238
+ color: 'primary',
239
+ size: 'md'
240
+ }
241
+ });
@@ -0,0 +1,5 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ base: any[];
4
+ };
5
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default (options) => ({
2
+ base: ['text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary', options.theme.transitions && 'transition-colors [&>code]:transition-colors']
3
+ });
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ base: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ base: 'pb-4 text-muted *:first:mt-0 *:last:mb-0 *:my-1.5'
3
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ slots: {
3
+ root: string;
4
+ trigger: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export default {
2
+ slots: {
3
+ root: 'my-5',
4
+ trigger: 'text-base'
5
+ }
6
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ base: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ base: 'rounded-full'
3
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ base: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ base: 'border-s-4 border-accented ps-4 italic'
3
+ };
@@ -0,0 +1,25 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ slots: {
4
+ base: any[];
5
+ icon: any[];
6
+ externalIcon: any[];
7
+ };
8
+ variants: {
9
+ color: {
10
+ neutral: {
11
+ base: string;
12
+ icon: string;
13
+ externalIcon: string;
14
+ };
15
+ };
16
+ to: {
17
+ true: string;
18
+ };
19
+ };
20
+ compoundVariants: any[];
21
+ defaultVariants: {
22
+ color: string;
23
+ };
24
+ };
25
+ export default _default;
@@ -0,0 +1,42 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ base: ['group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0', options.theme.transitions && 'transition-colors'],
4
+ icon: ['size-4 shrink-0 align-sub me-1.5', options.theme.transitions && 'transition-colors'],
5
+ externalIcon: ['size-4 align-top absolute right-2 top-2 pointer-events-none', options.theme.transitions && 'transition-colors']
6
+ },
7
+ variants: {
8
+ color: {
9
+ ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
10
+ base: `border border-${color}/25 bg-${color}/10 text-${color}-600 dark:text-${color}-300 [&_a]:text-${color} [&_a]:hover:border-${color} [&_code]:text-${color}-600 dark:[&_code]:text-${color}-300 [&_code]:border-${color}/25 [&_a]:hover:[&>code]:border-${color} [&_a]:hover:[&>code]:text-${color} [&>ul]:marker:text-${color}/50`,
11
+ icon: `text-${color}`,
12
+ externalIcon: `text-${color}-600 dark:text-${color}-300`
13
+ }])),
14
+ neutral: {
15
+ base: 'border border-muted bg-muted text-default',
16
+ icon: 'text-highlighted',
17
+ externalIcon: 'text-dimmed'
18
+ }
19
+ },
20
+ to: {
21
+ true: 'border-dashed'
22
+ }
23
+ },
24
+ compoundVariants: [...(options.theme.colors || []).map((color) => ({
25
+ color,
26
+ to: true,
27
+ class: {
28
+ base: `hover:border-${color}`,
29
+ externalIcon: `group-hover:text-${color}`
30
+ }
31
+ })), {
32
+ color: 'neutral',
33
+ to: true,
34
+ class: {
35
+ base: 'hover:border-inverted',
36
+ externalIcon: 'group-hover:text-highlighted'
37
+ }
38
+ }],
39
+ defaultVariants: {
40
+ color: 'neutral'
41
+ }
42
+ });
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ base: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ base: 'grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0'
3
+ };
@@ -0,0 +1,30 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ slots: {
4
+ base: any[];
5
+ icon: string;
6
+ title: string;
7
+ description: string;
8
+ externalIcon: any[];
9
+ };
10
+ variants: {
11
+ color: {
12
+ neutral: {
13
+ icon: string;
14
+ };
15
+ };
16
+ to: {
17
+ true: string;
18
+ };
19
+ title: {
20
+ true: {
21
+ description: string;
22
+ };
23
+ };
24
+ };
25
+ compoundVariants: any[];
26
+ defaultVariants: {
27
+ color: string;
28
+ };
29
+ };
30
+ export default _default;
@@ -0,0 +1,45 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ base: ['group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default', options.theme.transitions && 'transition-colors'],
4
+ icon: 'size-6 mb-2 block',
5
+ title: 'text-highlighted font-semibold',
6
+ description: 'text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1',
7
+ externalIcon: ['size-4 align-top absolute right-2 top-2 text-dimmed pointer-events-none', options.theme.transitions && 'transition-colors']
8
+ },
9
+ variants: {
10
+ color: {
11
+ ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
12
+ icon: `text-${color}`
13
+ }])),
14
+ neutral: {
15
+ icon: 'text-highlighted'
16
+ }
17
+ },
18
+ to: {
19
+ true: ''
20
+ },
21
+ title: {
22
+ true: {
23
+ description: 'mt-1'
24
+ }
25
+ }
26
+ },
27
+ compoundVariants: [...(options.theme.colors || []).map((color) => ({
28
+ color,
29
+ to: true,
30
+ class: {
31
+ base: `hover:bg-${color}/10 hover:border-${color}`,
32
+ externalIcon: `group-hover:text-${color}`
33
+ }
34
+ })), {
35
+ color: 'neutral',
36
+ to: true,
37
+ class: {
38
+ base: 'hover:bg-elevated/50 hover:border-inverted',
39
+ externalIcon: 'group-hover:text-highlighted'
40
+ }
41
+ }],
42
+ defaultVariants: {
43
+ color: 'primary'
44
+ }
45
+ });
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ slots: {
3
+ root: string;
4
+ footer: string;
5
+ trigger: string;
6
+ triggerIcon: string;
7
+ };
8
+ variants: {
9
+ open: {
10
+ true: {
11
+ root: string;
12
+ };
13
+ false: {
14
+ root: string;
15
+ footer: string;
16
+ };
17
+ };
18
+ };
19
+ };
20
+ export default _default;
@@ -0,0 +1,19 @@
1
+ export default {
2
+ slots: {
3
+ root: 'relative [&_pre]:h-[200px]',
4
+ footer: 'h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center',
5
+ trigger: 'group',
6
+ triggerIcon: 'group-data-[state=open]:rotate-180'
7
+ },
8
+ variants: {
9
+ open: {
10
+ true: {
11
+ root: '[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12'
12
+ },
13
+ false: {
14
+ root: '[&_pre]:overflow-hidden',
15
+ footer: 'bg-gradient-to-t from-muted'
16
+ }
17
+ }
18
+ }
19
+ };
@@ -0,0 +1,12 @@
1
+ import type { NuxtOptions } from '@nuxt/schema';
2
+ declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
+ slots: {
4
+ root: string;
5
+ list: string;
6
+ indicator: string;
7
+ trigger: any[];
8
+ triggerIcon: string;
9
+ triggerLabel: string;
10
+ };
11
+ };
12
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export default (options) => ({
2
+ slots: {
3
+ root: 'relative group *:not-first:!my-0 *:not-first:!static my-5',
4
+ list: 'relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2',
5
+ indicator: 'absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs',
6
+ trigger: ['relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none', options.theme.transitions && 'transition-colors'],
7
+ triggerIcon: 'size-4 shrink-0',
8
+ triggerLabel: 'truncate'
9
+ }
10
+ });
@@ -0,0 +1,67 @@
1
+ declare const _default: {
2
+ 'package.json': string;
3
+ 'tsconfig.json': string;
4
+ '.npmrc': string;
5
+ '.editorconfig': string;
6
+ '.eslintrc': string;
7
+ '.eslintrc.cjs': string;
8
+ '.eslintignore': string;
9
+ 'eslint.config.js': string;
10
+ 'eslint.config.mjs': string;
11
+ 'eslint.config.cjs': string;
12
+ '.gitignore': string;
13
+ 'yarn.lock': string;
14
+ '.env': string;
15
+ '.env.example': string;
16
+ '.vscode/settings.json': string;
17
+ nuxt: string;
18
+ '.nuxtrc': string;
19
+ '.nuxtignore': string;
20
+ 'nuxt.config.js': string;
21
+ 'nuxt.config.ts': string;
22
+ 'nuxt.schema.ts': string;
23
+ 'tailwind.config.js': string;
24
+ 'tailwind.config.ts': string;
25
+ vue: string;
26
+ ts: string;
27
+ tsx: string;
28
+ mjs: string;
29
+ cjs: string;
30
+ js: string;
31
+ jsx: string;
32
+ md: string;
33
+ py: string;
34
+ cs: string;
35
+ asm: string;
36
+ f: string;
37
+ hs: string;
38
+ fs: string;
39
+ kt: string;
40
+ rs: string;
41
+ rb: string;
42
+ lsp: string;
43
+ ps1: string;
44
+ psd1: string;
45
+ psm1: string;
46
+ go: string;
47
+ gleam: string;
48
+ bicep: string;
49
+ bicepparam: string;
50
+ exs: string;
51
+ erl: string;
52
+ sbt: string;
53
+ h: string;
54
+ ino: string;
55
+ pl: string;
56
+ jl: string;
57
+ dart: string;
58
+ ico: string;
59
+ npm: string;
60
+ pnpm: string;
61
+ npx: string;
62
+ yarn: string;
63
+ bun: string;
64
+ yml: string;
65
+ terminal: string;
66
+ };
67
+ export default _default;
@@ -0,0 +1,66 @@
1
+ export default {
2
+ 'package.json': 'i-vscode-icons-file-type-node',
3
+ 'tsconfig.json': 'i-vscode-icons-file-type-tsconfig',
4
+ '.npmrc': 'i-vscode-icons-file-type-npm',
5
+ '.editorconfig': 'i-vscode-icons-file-type-editorconfig',
6
+ '.eslintrc': 'i-vscode-icons-file-type-eslint',
7
+ '.eslintrc.cjs': 'i-vscode-icons-file-type-eslint',
8
+ '.eslintignore': 'i-vscode-icons-file-type-eslint',
9
+ 'eslint.config.js': 'i-vscode-icons-file-type-eslint',
10
+ 'eslint.config.mjs': 'i-vscode-icons-file-type-eslint',
11
+ 'eslint.config.cjs': 'i-vscode-icons-file-type-eslint',
12
+ '.gitignore': 'i-vscode-icons-file-type-git',
13
+ 'yarn.lock': 'i-vscode-icons-file-type-yarn',
14
+ '.env': 'i-vscode-icons-file-type-dotenv',
15
+ '.env.example': 'i-vscode-icons-file-type-dotenv',
16
+ '.vscode/settings.json': 'i-vscode-icons-file-type-vscode',
17
+ 'nuxt': 'i-vscode-icons-file-type-nuxt',
18
+ '.nuxtrc': 'i-vscode-icons-file-type-nuxt',
19
+ '.nuxtignore': 'i-vscode-icons-file-type-nuxt',
20
+ 'nuxt.config.js': 'i-vscode-icons-file-type-nuxt',
21
+ 'nuxt.config.ts': 'i-vscode-icons-file-type-nuxt',
22
+ 'nuxt.schema.ts': 'i-vscode-icons-file-type-nuxt',
23
+ 'tailwind.config.js': 'i-vscode-icons-file-type-tailwind',
24
+ 'tailwind.config.ts': 'i-vscode-icons-file-type-tailwind',
25
+ 'vue': 'i-vscode-icons-file-type-vue',
26
+ 'ts': 'i-vscode-icons-file-type-typescript',
27
+ 'tsx': 'i-vscode-icons-file-type-typescript',
28
+ 'mjs': 'i-vscode-icons-file-type-js',
29
+ 'cjs': 'i-vscode-icons-file-type-js',
30
+ 'js': 'i-vscode-icons-file-type-js',
31
+ 'jsx': 'i-vscode-icons-file-type-js',
32
+ 'md': 'i-vscode-icons-file-type-markdown',
33
+ 'py': 'i-vscode-icons-file-type-python',
34
+ 'cs': 'i-vscode-icons-file-type-csharp',
35
+ 'asm': 'i-vscode-icons-file-type-assembly',
36
+ 'f': 'i-vscode-icons-file-type-fortran',
37
+ 'hs': 'i-vscode-icons-file-type-haskell',
38
+ 'fs': 'i-vscode-icons-file-type-fsharp',
39
+ 'kt': 'i-vscode-icons-file-type-kotlin',
40
+ 'rs': 'i-vscode-icons-file-type-rust',
41
+ 'rb': 'i-vscode-icons-file-type-ruby',
42
+ 'lsp': 'i-vscode-icons-file-type-lisp',
43
+ 'ps1': 'i-vscode-icons-file-type-powershell',
44
+ 'psd1': 'i-vscode-icons-file-type-powershell',
45
+ 'psm1': 'i-vscode-icons-file-type-powershell',
46
+ 'go': 'i-vscode-icons-file-type-go',
47
+ 'gleam': 'i-vscode-icons-file-type-gleam',
48
+ 'bicep': 'i-vscode-icons-file-type-bicep',
49
+ 'bicepparam': 'i-vscode-icons-file-type-bicep',
50
+ 'exs': 'i-vscode-icons-file-type-elixir',
51
+ 'erl': 'i-vscode-icons-file-type-erlang',
52
+ 'sbt': 'i-vscode-icons-file-type-scala',
53
+ 'h': 'i-vscode-icons-file-type-cppheader',
54
+ 'ino': 'i-vscode-icons-file-type-arduino',
55
+ 'pl': 'i-vscode-icons-file-type-perl',
56
+ 'jl': 'i-vscode-icons-file-type-julia',
57
+ 'dart': 'i-vscode-icons-file-type-dartlang',
58
+ 'ico': 'i-vscode-icons-file-type-favicon',
59
+ 'npm': 'i-vscode-icons-file-type-npm',
60
+ 'pnpm': 'i-vscode-icons-file-type-pnpm',
61
+ 'npx': 'i-vscode-icons-file-type-npm',
62
+ 'yarn': 'i-vscode-icons-file-type-yarn',
63
+ 'bun': 'i-vscode-icons-file-type-bun',
64
+ 'yml': 'i-vscode-icons-file-type-yaml',
65
+ 'terminal': 'i-lucide-terminal'
66
+ };
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ slots: {
3
+ root: string;
4
+ preview: string;
5
+ code: string;
6
+ };
7
+ variants: {
8
+ code: {
9
+ true: {
10
+ preview: string;
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default _default;