uisv 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/package.json +15 -3
  2. package/dist/components/alert.svelte +0 -244
  3. package/dist/components/alert.svelte.d.ts +0 -25
  4. package/dist/components/badge.svelte +0 -227
  5. package/dist/components/badge.svelte.d.ts +0 -19
  6. package/dist/components/button.svelte +0 -383
  7. package/dist/components/button.svelte.d.ts +0 -51
  8. package/dist/components/index.d.ts +0 -6
  9. package/dist/components/index.js +0 -6
  10. package/dist/index.d.ts +0 -2
  11. package/dist/index.js +0 -2
  12. package/dist/theme/accordion.d.ts +0 -21
  13. package/dist/theme/accordion.js +0 -20
  14. package/dist/theme/alert.d.ts +0 -45
  15. package/dist/theme/alert.js +0 -102
  16. package/dist/theme/auth-form.d.ts +0 -21
  17. package/dist/theme/auth-form.js +0 -20
  18. package/dist/theme/avatar-group.d.ts +0 -41
  19. package/dist/theme/avatar-group.js +0 -40
  20. package/dist/theme/avatar.d.ts +0 -43
  21. package/dist/theme/avatar.js +0 -42
  22. package/dist/theme/badge.d.ts +0 -18
  23. package/dist/theme/badge.js +0 -131
  24. package/dist/theme/banner.d.ts +0 -29
  25. package/dist/theme/banner.js +0 -42
  26. package/dist/theme/blog-post.d.ts +0 -112
  27. package/dist/theme/blog-post.js +0 -116
  28. package/dist/theme/blog-posts.d.ts +0 -10
  29. package/dist/theme/blog-posts.js +0 -9
  30. package/dist/theme/breadcrumb.d.ts +0 -41
  31. package/dist/theme/breadcrumb.js +0 -42
  32. package/dist/theme/button.d.ts +0 -19
  33. package/dist/theme/button.js +0 -194
  34. package/dist/theme/calendar.d.ts +0 -59
  35. package/dist/theme/calendar.js +0 -68
  36. package/dist/theme/card.d.ts +0 -28
  37. package/dist/theme/card.js +0 -27
  38. package/dist/theme/carousel.d.ts +0 -36
  39. package/dist/theme/carousel.js +0 -38
  40. package/dist/theme/changelog-version.d.ts +0 -42
  41. package/dist/theme/changelog-version.js +0 -41
  42. package/dist/theme/changelog-versions.d.ts +0 -9
  43. package/dist/theme/changelog-versions.js +0 -8
  44. package/dist/theme/chat-message.d.ts +0 -101
  45. package/dist/theme/chat-message.js +0 -97
  46. package/dist/theme/chat-messages.d.ts +0 -15
  47. package/dist/theme/chat-messages.js +0 -14
  48. package/dist/theme/chat-palette.d.ts +0 -9
  49. package/dist/theme/chat-palette.js +0 -8
  50. package/dist/theme/chat-prompt-submit.d.ts +0 -6
  51. package/dist/theme/chat-prompt-submit.js +0 -5
  52. package/dist/theme/chat-prompt.d.ts +0 -29
  53. package/dist/theme/chat-prompt.js +0 -28
  54. package/dist/theme/checkbox-group.d.ts +0 -62
  55. package/dist/theme/checkbox-group.js +0 -105
  56. package/dist/theme/checkbox.d.ts +0 -92
  57. package/dist/theme/checkbox.js +0 -125
  58. package/dist/theme/chip.d.ts +0 -45
  59. package/dist/theme/chip.js +0 -62
  60. package/dist/theme/collapsible.d.ts +0 -7
  61. package/dist/theme/collapsible.js +0 -6
  62. package/dist/theme/color-picker.d.ts +0 -40
  63. package/dist/theme/color-picker.js +0 -39
  64. package/dist/theme/command-palette.d.ts +0 -47
  65. package/dist/theme/command-palette.js +0 -52
  66. package/dist/theme/container.d.ts +0 -4
  67. package/dist/theme/container.js +0 -3
  68. package/dist/theme/content/content-navigation.d.ts +0 -65
  69. package/dist/theme/content/content-navigation.js +0 -153
  70. package/dist/theme/content/content-search-button.d.ts +0 -7
  71. package/dist/theme/content/content-search-button.js +0 -6
  72. package/dist/theme/content/content-search.d.ts +0 -7
  73. package/dist/theme/content/content-search.js +0 -6
  74. package/dist/theme/content/content-surround.d.ts +0 -23
  75. package/dist/theme/content/content-surround.js +0 -21
  76. package/dist/theme/content/content-toc.d.ts +0 -53
  77. package/dist/theme/content/content-toc.js +0 -69
  78. package/dist/theme/content/index.d.ts +0 -5
  79. package/dist/theme/content/index.js +0 -5
  80. package/dist/theme/context-menu.d.ts +0 -91
  81. package/dist/theme/context-menu.js +0 -114
  82. package/dist/theme/dashboard-group.d.ts +0 -4
  83. package/dist/theme/dashboard-group.js +0 -3
  84. package/dist/theme/dashboard-navbar.d.ts +0 -22
  85. package/dist/theme/dashboard-navbar.js +0 -21
  86. package/dist/theme/dashboard-panel.d.ts +0 -18
  87. package/dist/theme/dashboard-panel.js +0 -17
  88. package/dist/theme/dashboard-resize-handle.d.ts +0 -4
  89. package/dist/theme/dashboard-resize-handle.js +0 -3
  90. package/dist/theme/dashboard-search-button.d.ts +0 -7
  91. package/dist/theme/dashboard-search-button.js +0 -6
  92. package/dist/theme/dashboard-search.d.ts +0 -7
  93. package/dist/theme/dashboard-search.js +0 -6
  94. package/dist/theme/dashboard-sidebar-collapse.d.ts +0 -10
  95. package/dist/theme/dashboard-sidebar-collapse.js +0 -9
  96. package/dist/theme/dashboard-sidebar-toggle.d.ts +0 -10
  97. package/dist/theme/dashboard-sidebar-toggle.js +0 -9
  98. package/dist/theme/dashboard-sidebar.d.ts +0 -38
  99. package/dist/theme/dashboard-sidebar.js +0 -37
  100. package/dist/theme/dashboard-toolbar.d.ts +0 -8
  101. package/dist/theme/dashboard-toolbar.js +0 -7
  102. package/dist/theme/drawer.d.ts +0 -54
  103. package/dist/theme/drawer.js +0 -110
  104. package/dist/theme/dropdown-menu.d.ts +0 -92
  105. package/dist/theme/dropdown-menu.js +0 -115
  106. package/dist/theme/error.d.ts +0 -10
  107. package/dist/theme/error.js +0 -9
  108. package/dist/theme/file-upload.d.ts +0 -100
  109. package/dist/theme/file-upload.js +0 -212
  110. package/dist/theme/footer-columns.d.ts +0 -27
  111. package/dist/theme/footer-columns.js +0 -25
  112. package/dist/theme/footer.d.ts +0 -12
  113. package/dist/theme/footer.js +0 -11
  114. package/dist/theme/form-field.d.ts +0 -41
  115. package/dist/theme/form-field.js +0 -30
  116. package/dist/theme/form.d.ts +0 -4
  117. package/dist/theme/form.js +0 -3
  118. package/dist/theme/header.d.ts +0 -26
  119. package/dist/theme/header.js +0 -25
  120. package/dist/theme/icons.d.ts +0 -44
  121. package/dist/theme/icons.js +0 -43
  122. package/dist/theme/index.d.ts +0 -99
  123. package/dist/theme/index.js +0 -99
  124. package/dist/theme/input-menu.d.ts +0 -159
  125. package/dist/theme/input-menu.js +0 -136
  126. package/dist/theme/input-number.d.ts +0 -16
  127. package/dist/theme/input-number.js +0 -130
  128. package/dist/theme/input-tags.d.ts +0 -86
  129. package/dist/theme/input-tags.js +0 -50
  130. package/dist/theme/input.d.ts +0 -20
  131. package/dist/theme/input.js +0 -179
  132. package/dist/theme/kbd.d.ts +0 -26
  133. package/dist/theme/kbd.js +0 -67
  134. package/dist/theme/link.d.ts +0 -18
  135. package/dist/theme/link.js +0 -19
  136. package/dist/theme/main.d.ts +0 -4
  137. package/dist/theme/main.js +0 -3
  138. package/dist/theme/marquee.d.ts +0 -47
  139. package/dist/theme/marquee.js +0 -56
  140. package/dist/theme/modal.d.ts +0 -30
  141. package/dist/theme/modal.js +0 -29
  142. package/dist/theme/navigation-menu.d.ts +0 -108
  143. package/dist/theme/navigation-menu.js +0 -315
  144. package/dist/theme/page-anchors.d.ts +0 -26
  145. package/dist/theme/page-anchors.js +0 -24
  146. package/dist/theme/page-aside.d.ts +0 -11
  147. package/dist/theme/page-aside.js +0 -10
  148. package/dist/theme/page-body.d.ts +0 -4
  149. package/dist/theme/page-body.js +0 -3
  150. package/dist/theme/page-card.d.ts +0 -90
  151. package/dist/theme/page-card.js +0 -156
  152. package/dist/theme/page-columns.d.ts +0 -4
  153. package/dist/theme/page-columns.js +0 -3
  154. package/dist/theme/page-cta.d.ts +0 -63
  155. package/dist/theme/page-cta.js +0 -62
  156. package/dist/theme/page-feature.d.ts +0 -27
  157. package/dist/theme/page-feature.js +0 -26
  158. package/dist/theme/page-grid.d.ts +0 -4
  159. package/dist/theme/page-grid.js +0 -3
  160. package/dist/theme/page-header.d.ts +0 -19
  161. package/dist/theme/page-header.js +0 -18
  162. package/dist/theme/page-hero.d.ts +0 -45
  163. package/dist/theme/page-hero.js +0 -44
  164. package/dist/theme/page-links.d.ts +0 -24
  165. package/dist/theme/page-links.js +0 -22
  166. package/dist/theme/page-list.d.ts +0 -9
  167. package/dist/theme/page-list.js +0 -8
  168. package/dist/theme/page-logos.d.ts +0 -16
  169. package/dist/theme/page-logos.js +0 -15
  170. package/dist/theme/page-section.d.ts +0 -85
  171. package/dist/theme/page-section.js +0 -75
  172. package/dist/theme/page.d.ts +0 -24
  173. package/dist/theme/page.js +0 -29
  174. package/dist/theme/pagination.d.ts +0 -14
  175. package/dist/theme/pagination.js +0 -13
  176. package/dist/theme/pin-input.d.ts +0 -45
  177. package/dist/theme/pin-input.js +0 -69
  178. package/dist/theme/popover.d.ts +0 -7
  179. package/dist/theme/popover.js +0 -6
  180. package/dist/theme/pricing-plan.d.ts +0 -81
  181. package/dist/theme/pricing-plan.js +0 -86
  182. package/dist/theme/pricing-plans.d.ts +0 -21
  183. package/dist/theme/pricing-plans.js +0 -20
  184. package/dist/theme/pricing-table.d.ts +0 -52
  185. package/dist/theme/pricing-table.js +0 -51
  186. package/dist/theme/progress.d.ts +0 -131
  187. package/dist/theme/progress.js +0 -241
  188. package/dist/theme/prose/a.d.ts +0 -5
  189. package/dist/theme/prose/a.js +0 -3
  190. package/dist/theme/prose/accordion-item.d.ts +0 -4
  191. package/dist/theme/prose/accordion-item.js +0 -3
  192. package/dist/theme/prose/accordion.d.ts +0 -7
  193. package/dist/theme/prose/accordion.js +0 -6
  194. package/dist/theme/prose/badge.d.ts +0 -4
  195. package/dist/theme/prose/badge.js +0 -3
  196. package/dist/theme/prose/blockquote.d.ts +0 -4
  197. package/dist/theme/prose/blockquote.js +0 -3
  198. package/dist/theme/prose/callout.d.ts +0 -25
  199. package/dist/theme/prose/callout.js +0 -42
  200. package/dist/theme/prose/card-group.d.ts +0 -4
  201. package/dist/theme/prose/card-group.js +0 -3
  202. package/dist/theme/prose/card.d.ts +0 -30
  203. package/dist/theme/prose/card.js +0 -45
  204. package/dist/theme/prose/code-collapse.d.ts +0 -20
  205. package/dist/theme/prose/code-collapse.js +0 -19
  206. package/dist/theme/prose/code-group.d.ts +0 -12
  207. package/dist/theme/prose/code-group.js +0 -10
  208. package/dist/theme/prose/code-icon.d.ts +0 -67
  209. package/dist/theme/prose/code-icon.js +0 -66
  210. package/dist/theme/prose/code-preview.d.ts +0 -15
  211. package/dist/theme/prose/code-preview.js +0 -14
  212. package/dist/theme/prose/code-tree.d.ts +0 -27
  213. package/dist/theme/prose/code-tree.js +0 -25
  214. package/dist/theme/prose/code.d.ts +0 -13
  215. package/dist/theme/prose/code.js +0 -12
  216. package/dist/theme/prose/collapsible.d.ts +0 -11
  217. package/dist/theme/prose/collapsible.js +0 -9
  218. package/dist/theme/prose/em.d.ts +0 -4
  219. package/dist/theme/prose/em.js +0 -3
  220. package/dist/theme/prose/field-group.d.ts +0 -4
  221. package/dist/theme/prose/field-group.js +0 -3
  222. package/dist/theme/prose/field.d.ts +0 -12
  223. package/dist/theme/prose/field.js +0 -11
  224. package/dist/theme/prose/h1.d.ts +0 -7
  225. package/dist/theme/prose/h1.js +0 -6
  226. package/dist/theme/prose/h2.d.ts +0 -10
  227. package/dist/theme/prose/h2.js +0 -8
  228. package/dist/theme/prose/h3.d.ts +0 -10
  229. package/dist/theme/prose/h3.js +0 -8
  230. package/dist/theme/prose/h4.d.ts +0 -7
  231. package/dist/theme/prose/h4.js +0 -6
  232. package/dist/theme/prose/hr.d.ts +0 -4
  233. package/dist/theme/prose/hr.js +0 -3
  234. package/dist/theme/prose/icon.d.ts +0 -4
  235. package/dist/theme/prose/icon.js +0 -3
  236. package/dist/theme/prose/img.d.ts +0 -21
  237. package/dist/theme/prose/img.js +0 -20
  238. package/dist/theme/prose/index.d.ts +0 -41
  239. package/dist/theme/prose/index.js +0 -41
  240. package/dist/theme/prose/kbd.d.ts +0 -4
  241. package/dist/theme/prose/kbd.js +0 -3
  242. package/dist/theme/prose/li.d.ts +0 -4
  243. package/dist/theme/prose/li.js +0 -3
  244. package/dist/theme/prose/ol.d.ts +0 -4
  245. package/dist/theme/prose/ol.js +0 -3
  246. package/dist/theme/prose/p.d.ts +0 -4
  247. package/dist/theme/prose/p.js +0 -3
  248. package/dist/theme/prose/pre.d.ts +0 -18
  249. package/dist/theme/prose/pre.js +0 -17
  250. package/dist/theme/prose/steps.d.ts +0 -14
  251. package/dist/theme/prose/steps.js +0 -13
  252. package/dist/theme/prose/strong.d.ts +0 -4
  253. package/dist/theme/prose/strong.js +0 -3
  254. package/dist/theme/prose/table.d.ts +0 -7
  255. package/dist/theme/prose/table.js +0 -6
  256. package/dist/theme/prose/tabs-item.d.ts +0 -4
  257. package/dist/theme/prose/tabs-item.js +0 -3
  258. package/dist/theme/prose/tabs.d.ts +0 -6
  259. package/dist/theme/prose/tabs.js +0 -5
  260. package/dist/theme/prose/tbody.d.ts +0 -4
  261. package/dist/theme/prose/tbody.js +0 -3
  262. package/dist/theme/prose/td.d.ts +0 -4
  263. package/dist/theme/prose/td.js +0 -3
  264. package/dist/theme/prose/th.d.ts +0 -4
  265. package/dist/theme/prose/th.js +0 -3
  266. package/dist/theme/prose/thead.d.ts +0 -4
  267. package/dist/theme/prose/thead.js +0 -3
  268. package/dist/theme/prose/tr.d.ts +0 -4
  269. package/dist/theme/prose/tr.js +0 -3
  270. package/dist/theme/prose/ul.d.ts +0 -4
  271. package/dist/theme/prose/ul.js +0 -3
  272. package/dist/theme/radio-group.d.ts +0 -117
  273. package/dist/theme/radio-group.js +0 -180
  274. package/dist/theme/select-menu.d.ts +0 -141
  275. package/dist/theme/select-menu.js +0 -21
  276. package/dist/theme/select.d.ts +0 -86
  277. package/dist/theme/select.js +0 -100
  278. package/dist/theme/separator.d.ts +0 -61
  279. package/dist/theme/separator.js +0 -104
  280. package/dist/theme/skeleton.d.ts +0 -4
  281. package/dist/theme/skeleton.js +0 -3
  282. package/dist/theme/slideover.d.ts +0 -42
  283. package/dist/theme/slideover.js +0 -59
  284. package/dist/theme/slider.d.ts +0 -60
  285. package/dist/theme/slider.js +0 -131
  286. package/dist/theme/stepper.d.ts +0 -94
  287. package/dist/theme/stepper.js +0 -137
  288. package/dist/theme/switch.d.ts +0 -84
  289. package/dist/theme/switch.js +0 -96
  290. package/dist/theme/table.d.ts +0 -56
  291. package/dist/theme/table.js +0 -99
  292. package/dist/theme/tabs.d.ts +0 -78
  293. package/dist/theme/tabs.js +0 -145
  294. package/dist/theme/textarea.d.ts +0 -72
  295. package/dist/theme/textarea.js +0 -39
  296. package/dist/theme/timeline.d.ts +0 -52
  297. package/dist/theme/timeline.js +0 -212
  298. package/dist/theme/toast.d.ts +0 -41
  299. package/dist/theme/toast.js +0 -47
  300. package/dist/theme/toaster.d.ts +0 -50
  301. package/dist/theme/toaster.js +0 -56
  302. package/dist/theme/tooltip.d.ts +0 -10
  303. package/dist/theme/tooltip.js +0 -9
  304. package/dist/theme/tree.d.ts +0 -66
  305. package/dist/theme/tree.js +0 -89
  306. package/dist/theme/user.d.ts +0 -85
  307. package/dist/theme/user.js +0 -83
  308. package/dist/types.d.ts +0 -7
  309. package/dist/types.js +0 -1
  310. package/dist/utils/common.d.ts +0 -14
  311. package/dist/utils/common.js +0 -18
  312. package/dist/utils/keys.d.ts +0 -8
  313. package/dist/utils/keys.js +0 -8
  314. package/dist/utils/types.d.ts +0 -1
  315. package/dist/utils/types.js +0 -1
  316. package/dist/vite.d.ts +0 -34
  317. package/dist/vite.js +0 -73
@@ -1,54 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- overlay: string;
4
- content: string;
5
- handle: any[];
6
- container: string;
7
- header: string;
8
- title: string;
9
- description: string;
10
- body: string;
11
- footer: string;
12
- };
13
- variants: {
14
- direction: {
15
- top: {
16
- content: string;
17
- handle: string;
18
- };
19
- right: {
20
- content: string;
21
- handle: string;
22
- };
23
- bottom: {
24
- content: string;
25
- handle: string;
26
- };
27
- left: {
28
- content: string;
29
- handle: string;
30
- };
31
- };
32
- inset: {
33
- true: {
34
- content: string;
35
- };
36
- };
37
- };
38
- compoundVariants: ({
39
- direction: string[];
40
- class: {
41
- content: string;
42
- handle: string;
43
- };
44
- inset?: undefined;
45
- } | {
46
- direction: string;
47
- inset: boolean;
48
- class: {
49
- content: string;
50
- handle?: undefined;
51
- };
52
- })[];
53
- };
54
- export default _default;
@@ -1,110 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- overlay: 'fixed inset-0 bg-elevated/75',
4
- content: 'fixed bg-default ring ring-default flex focus:outline-none',
5
- handle: ['shrink-0 !bg-accented', options.theme.transitions && 'transition-opacity'],
6
- container: 'w-full flex flex-col gap-4 p-4 overflow-y-auto',
7
- header: '',
8
- title: 'text-highlighted font-semibold',
9
- description: 'mt-1 text-muted text-sm',
10
- body: 'flex-1',
11
- footer: 'flex flex-col gap-1.5'
12
- },
13
- variants: {
14
- direction: {
15
- top: {
16
- content: 'mb-24 flex-col-reverse',
17
- handle: 'mb-4'
18
- },
19
- right: {
20
- content: 'flex-row',
21
- handle: '!ml-4'
22
- },
23
- bottom: {
24
- content: 'mt-24 flex-col',
25
- handle: 'mt-4'
26
- },
27
- left: {
28
- content: 'flex-row-reverse',
29
- handle: '!mr-4'
30
- }
31
- },
32
- inset: {
33
- true: {
34
- content: 'rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]'
35
- }
36
- }
37
- },
38
- compoundVariants: [
39
- {
40
- direction: ['top', 'bottom'],
41
- class: {
42
- content: 'h-auto max-h-[96%]',
43
- handle: '!w-12 !h-1.5 mx-auto'
44
- }
45
- },
46
- {
47
- direction: ['right', 'left'],
48
- class: {
49
- content: 'w-auto max-w-[calc(100%-2rem)]',
50
- handle: '!h-12 !w-1.5 mt-auto mb-auto'
51
- }
52
- },
53
- {
54
- direction: 'top',
55
- inset: true,
56
- class: {
57
- content: 'inset-x-4 top-4'
58
- }
59
- },
60
- {
61
- direction: 'top',
62
- inset: false,
63
- class: {
64
- content: 'inset-x-0 top-0 rounded-b-lg'
65
- }
66
- },
67
- {
68
- direction: 'bottom',
69
- inset: true,
70
- class: {
71
- content: 'inset-x-4 bottom-4'
72
- }
73
- },
74
- {
75
- direction: 'bottom',
76
- inset: false,
77
- class: {
78
- content: 'inset-x-0 bottom-0 rounded-t-lg'
79
- }
80
- },
81
- {
82
- direction: 'left',
83
- inset: true,
84
- class: {
85
- content: 'inset-y-4 left-4'
86
- }
87
- },
88
- {
89
- direction: 'left',
90
- inset: false,
91
- class: {
92
- content: 'inset-y-0 left-0 rounded-r-lg'
93
- }
94
- },
95
- {
96
- direction: 'right',
97
- inset: true,
98
- class: {
99
- content: 'inset-y-4 right-4'
100
- }
101
- },
102
- {
103
- direction: 'right',
104
- inset: false,
105
- class: {
106
- content: 'inset-y-0 right-0 rounded-l-lg'
107
- }
108
- }
109
- ]
110
- });
@@ -1,92 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- content: string;
4
- viewport: string;
5
- arrow: string;
6
- group: string;
7
- label: string;
8
- separator: string;
9
- item: string;
10
- itemLeadingIcon: string;
11
- itemLeadingAvatar: string;
12
- itemLeadingAvatarSize: string;
13
- itemTrailing: string;
14
- itemTrailingIcon: string;
15
- itemTrailingKbds: string;
16
- itemTrailingKbdsSize: string;
17
- itemLabel: string;
18
- itemLabelExternalIcon: string;
19
- };
20
- variants: {
21
- color: {
22
- neutral: string;
23
- };
24
- active: {
25
- true: {
26
- item: string;
27
- itemLeadingIcon: string;
28
- };
29
- false: {
30
- item: any[];
31
- itemLeadingIcon: any[];
32
- };
33
- };
34
- loading: {
35
- true: {
36
- itemLeadingIcon: string;
37
- };
38
- };
39
- size: {
40
- xs: {
41
- label: string;
42
- item: string;
43
- itemLeadingIcon: string;
44
- itemLeadingAvatarSize: string;
45
- itemTrailingIcon: string;
46
- itemTrailingKbds: string;
47
- itemTrailingKbdsSize: string;
48
- };
49
- sm: {
50
- label: string;
51
- item: string;
52
- itemLeadingIcon: string;
53
- itemLeadingAvatarSize: string;
54
- itemTrailingIcon: string;
55
- itemTrailingKbds: string;
56
- itemTrailingKbdsSize: string;
57
- };
58
- md: {
59
- label: string;
60
- item: string;
61
- itemLeadingIcon: string;
62
- itemLeadingAvatarSize: string;
63
- itemTrailingIcon: string;
64
- itemTrailingKbds: string;
65
- itemTrailingKbdsSize: string;
66
- };
67
- lg: {
68
- label: string;
69
- item: string;
70
- itemLeadingIcon: string;
71
- itemLeadingAvatarSize: string;
72
- itemTrailingIcon: string;
73
- itemTrailingKbds: string;
74
- itemTrailingKbdsSize: string;
75
- };
76
- xl: {
77
- label: string;
78
- item: string;
79
- itemLeadingIcon: string;
80
- itemLeadingAvatarSize: string;
81
- itemTrailingIcon: string;
82
- itemTrailingKbds: string;
83
- itemTrailingKbdsSize: string;
84
- };
85
- };
86
- };
87
- compoundVariants: any[];
88
- defaultVariants: {
89
- size: string;
90
- };
91
- };
92
- export default _default;
@@ -1,115 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- content: 'min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col',
4
- viewport: 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1',
5
- arrow: 'fill-default',
6
- group: 'p-1 isolate',
7
- label: 'w-full flex items-center font-semibold text-highlighted',
8
- separator: '-mx-1 my-1 h-px bg-border',
9
- item: 'group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75',
10
- itemLeadingIcon: 'shrink-0',
11
- itemLeadingAvatar: 'shrink-0',
12
- itemLeadingAvatarSize: '',
13
- itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
14
- itemTrailingIcon: 'shrink-0',
15
- itemTrailingKbds: 'hidden lg:inline-flex items-center shrink-0',
16
- itemTrailingKbdsSize: '',
17
- itemLabel: 'truncate',
18
- itemLabelExternalIcon: 'inline-block size-3 align-top text-dimmed'
19
- },
20
- variants: {
21
- color: {
22
- ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
23
- neutral: ''
24
- },
25
- active: {
26
- true: {
27
- item: 'text-highlighted before:bg-elevated',
28
- itemLeadingIcon: 'text-default'
29
- },
30
- false: {
31
- item: [
32
- 'text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50',
33
- options.theme.transitions && 'transition-colors before:transition-colors'
34
- ],
35
- itemLeadingIcon: [
36
- 'text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default',
37
- options.theme.transitions && 'transition-colors'
38
- ]
39
- }
40
- },
41
- loading: {
42
- true: {
43
- itemLeadingIcon: 'animate-spin'
44
- }
45
- },
46
- size: {
47
- xs: {
48
- label: 'p-1 text-xs gap-1',
49
- item: 'p-1 text-xs gap-1',
50
- itemLeadingIcon: 'size-4',
51
- itemLeadingAvatarSize: '3xs',
52
- itemTrailingIcon: 'size-4',
53
- itemTrailingKbds: 'gap-0.5',
54
- itemTrailingKbdsSize: 'sm'
55
- },
56
- sm: {
57
- label: 'p-1.5 text-xs gap-1.5',
58
- item: 'p-1.5 text-xs gap-1.5',
59
- itemLeadingIcon: 'size-4',
60
- itemLeadingAvatarSize: '3xs',
61
- itemTrailingIcon: 'size-4',
62
- itemTrailingKbds: 'gap-0.5',
63
- itemTrailingKbdsSize: 'sm'
64
- },
65
- md: {
66
- label: 'p-1.5 text-sm gap-1.5',
67
- item: 'p-1.5 text-sm gap-1.5',
68
- itemLeadingIcon: 'size-5',
69
- itemLeadingAvatarSize: '2xs',
70
- itemTrailingIcon: 'size-5',
71
- itemTrailingKbds: 'gap-0.5',
72
- itemTrailingKbdsSize: 'md'
73
- },
74
- lg: {
75
- label: 'p-2 text-sm gap-2',
76
- item: 'p-2 text-sm gap-2',
77
- itemLeadingIcon: 'size-5',
78
- itemLeadingAvatarSize: '2xs',
79
- itemTrailingIcon: 'size-5',
80
- itemTrailingKbds: 'gap-1',
81
- itemTrailingKbdsSize: 'md'
82
- },
83
- xl: {
84
- label: 'p-2 text-base gap-2',
85
- item: 'p-2 text-base gap-2',
86
- itemLeadingIcon: 'size-6',
87
- itemLeadingAvatarSize: 'xs',
88
- itemTrailingIcon: 'size-6',
89
- itemTrailingKbds: 'gap-1',
90
- itemTrailingKbdsSize: 'lg'
91
- }
92
- }
93
- },
94
- compoundVariants: [
95
- ...(options.theme.colors || []).map((color) => ({
96
- color,
97
- active: false,
98
- class: {
99
- item: `text-${color} data-highlighted:text-${color} data-highlighted:before:bg-${color}/10 data-[state=open]:before:bg-${color}/10`,
100
- itemLeadingIcon: `text-${color}/75 group-data-highlighted:text-${color} group-data-[state=open]:text-${color}`
101
- }
102
- })),
103
- ...(options.theme.colors || []).map((color) => ({
104
- color,
105
- active: true,
106
- class: {
107
- item: `text-${color} before:bg-${color}/10`,
108
- itemLeadingIcon: `text-${color}`
109
- }
110
- }))
111
- ],
112
- defaultVariants: {
113
- size: 'md'
114
- }
115
- });
@@ -1,10 +0,0 @@
1
- declare const _default: {
2
- slots: {
3
- root: string;
4
- statusCode: string;
5
- statusMessage: string;
6
- message: string;
7
- links: string;
8
- };
9
- };
10
- export default _default;
@@ -1,9 +0,0 @@
1
- export default {
2
- slots: {
3
- root: 'min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center',
4
- statusCode: 'text-base font-semibold text-primary',
5
- statusMessage: 'mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance',
6
- message: 'mt-4 text-lg text-muted text-balance',
7
- links: 'mt-8 flex items-center justify-center gap-6'
8
- }
9
- };
@@ -1,100 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- root: string;
4
- base: any[];
5
- wrapper: string;
6
- icon: string;
7
- avatar: string;
8
- label: string;
9
- description: string;
10
- actions: string;
11
- files: string;
12
- file: string;
13
- fileLeadingAvatar: string;
14
- fileWrapper: string;
15
- fileName: string;
16
- fileSize: string;
17
- fileTrailingButton: string;
18
- };
19
- variants: {
20
- color: {
21
- neutral: string;
22
- };
23
- variant: {
24
- area: {
25
- wrapper: string;
26
- base: string;
27
- };
28
- button: {};
29
- };
30
- size: {
31
- xs: {
32
- base: string;
33
- icon: string;
34
- file: string;
35
- fileWrapper: string;
36
- };
37
- sm: {
38
- base: string;
39
- icon: string;
40
- file: string;
41
- fileWrapper: string;
42
- };
43
- md: {
44
- base: string;
45
- icon: string;
46
- file: string;
47
- };
48
- lg: {
49
- base: string;
50
- icon: string;
51
- file: string;
52
- fileSize: string;
53
- };
54
- xl: {
55
- base: string;
56
- icon: string;
57
- file: string;
58
- };
59
- };
60
- layout: {
61
- list: {
62
- root: string;
63
- files: string;
64
- file: string;
65
- fileTrailingButton: string;
66
- };
67
- grid: {
68
- fileWrapper: string;
69
- fileLeadingAvatar: string;
70
- fileTrailingButton: string;
71
- };
72
- };
73
- position: {
74
- inside: string;
75
- outside: string;
76
- };
77
- dropzone: {
78
- true: string;
79
- };
80
- interactive: {
81
- true: string;
82
- };
83
- highlight: {
84
- true: string;
85
- };
86
- multiple: {
87
- true: string;
88
- };
89
- disabled: {
90
- true: string;
91
- };
92
- };
93
- compoundVariants: any[];
94
- defaultVariants: {
95
- color: string;
96
- variant: string;
97
- size: string;
98
- };
99
- };
100
- export default _default;
@@ -1,212 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'relative flex flex-col',
4
- base: [
5
- 'w-full flex-1 bg-default border border-default flex flex-col gap-2 items-stretch justify-center rounded-lg focus-visible:outline-2',
6
- options.theme.transitions && 'transition-[background]'
7
- ],
8
- wrapper: 'flex flex-col items-center justify-center text-center',
9
- icon: 'shrink-0',
10
- avatar: 'shrink-0',
11
- label: 'font-medium text-default mt-2',
12
- description: 'text-muted mt-1',
13
- actions: 'flex flex-wrap gap-1.5 shrink-0 mt-4',
14
- files: '',
15
- file: 'relative',
16
- fileLeadingAvatar: 'shrink-0',
17
- fileWrapper: 'flex flex-col min-w-0',
18
- fileName: 'text-default truncate',
19
- fileSize: 'text-muted truncate',
20
- fileTrailingButton: ''
21
- },
22
- variants: {
23
- color: {
24
- ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
25
- neutral: ''
26
- },
27
- variant: {
28
- area: {
29
- wrapper: 'px-4 py-3',
30
- base: 'p-4'
31
- },
32
- button: {}
33
- },
34
- size: {
35
- xs: {
36
- base: 'text-xs',
37
- icon: 'size-4',
38
- file: 'text-xs px-2 py-1 gap-1',
39
- fileWrapper: 'flex-row gap-1'
40
- },
41
- sm: {
42
- base: 'text-xs',
43
- icon: 'size-4',
44
- file: 'text-xs px-2.5 py-1.5 gap-1.5',
45
- fileWrapper: 'flex-row gap-1'
46
- },
47
- md: {
48
- base: 'text-sm',
49
- icon: 'size-5',
50
- file: 'text-xs px-2.5 py-1.5 gap-1.5'
51
- },
52
- lg: {
53
- base: 'text-sm',
54
- icon: 'size-5',
55
- file: 'text-sm px-3 py-2 gap-2',
56
- fileSize: 'text-xs'
57
- },
58
- xl: {
59
- base: 'text-base',
60
- icon: 'size-6',
61
- file: 'text-sm px-3 py-2 gap-2'
62
- }
63
- },
64
- layout: {
65
- list: {
66
- root: 'gap-2 items-start',
67
- files: 'flex flex-col w-full gap-2',
68
- file: 'min-w-0 flex items-center border border-default rounded-md w-full',
69
- fileTrailingButton: 'ms-auto'
70
- },
71
- grid: {
72
- fileWrapper: 'hidden',
73
- fileLeadingAvatar: 'size-full rounded-lg',
74
- fileTrailingButton: 'absolute -top-1.5 -end-1.5 p-0 rounded-full border-2 border-bg'
75
- }
76
- },
77
- position: {
78
- inside: '',
79
- outside: ''
80
- },
81
- dropzone: {
82
- true: 'border-dashed data-[dragging=true]:bg-elevated/25'
83
- },
84
- interactive: {
85
- true: ''
86
- },
87
- highlight: {
88
- true: ''
89
- },
90
- multiple: {
91
- true: ''
92
- },
93
- disabled: {
94
- true: 'cursor-not-allowed opacity-75'
95
- }
96
- },
97
- compoundVariants: [
98
- ...(options.theme.colors || []).map((color) => ({
99
- color,
100
- class: `focus-visible:outline-${color}`
101
- })),
102
- ...(options.theme.colors || []).map((color) => ({
103
- color,
104
- highlight: true,
105
- class: `border-${color}`
106
- })),
107
- {
108
- color: 'neutral',
109
- class: 'focus-visible:outline-inverted'
110
- },
111
- {
112
- color: 'neutral',
113
- highlight: true,
114
- class: 'border-inverted'
115
- },
116
- {
117
- size: 'xs',
118
- layout: 'list',
119
- class: {
120
- fileTrailingButton: '-me-1'
121
- }
122
- },
123
- {
124
- size: 'sm',
125
- layout: 'list',
126
- class: {
127
- fileTrailingButton: '-me-1.5'
128
- }
129
- },
130
- {
131
- size: 'md',
132
- layout: 'list',
133
- class: {
134
- fileTrailingButton: '-me-1.5'
135
- }
136
- },
137
- {
138
- size: 'lg',
139
- layout: 'list',
140
- class: {
141
- fileTrailingButton: '-me-2'
142
- }
143
- },
144
- {
145
- size: 'xl',
146
- layout: 'list',
147
- class: {
148
- fileTrailingButton: '-me-2'
149
- }
150
- },
151
- {
152
- variant: 'button',
153
- size: 'xs',
154
- class: {
155
- base: 'p-1'
156
- }
157
- },
158
- {
159
- variant: 'button',
160
- size: 'sm',
161
- class: {
162
- base: 'p-1.5'
163
- }
164
- },
165
- {
166
- variant: 'button',
167
- size: 'md',
168
- class: {
169
- base: 'p-1.5'
170
- }
171
- },
172
- {
173
- variant: 'button',
174
- size: 'lg',
175
- class: {
176
- base: 'p-2'
177
- }
178
- },
179
- {
180
- variant: 'button',
181
- size: 'xl',
182
- class: {
183
- base: 'p-2'
184
- }
185
- },
186
- {
187
- layout: 'grid',
188
- multiple: true,
189
- class: {
190
- files: 'grid grid-cols-2 md:grid-cols-3 gap-4 w-full',
191
- file: 'p-0 aspect-square'
192
- }
193
- },
194
- {
195
- layout: 'grid',
196
- multiple: false,
197
- class: {
198
- file: 'absolute inset-0 p-0'
199
- }
200
- },
201
- {
202
- interactive: true,
203
- disabled: false,
204
- class: 'hover:bg-elevated/25'
205
- }
206
- ],
207
- defaultVariants: {
208
- color: 'primary',
209
- variant: 'area',
210
- size: 'md'
211
- }
212
- });