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,52 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- root: string;
4
- item: string;
5
- container: string;
6
- indicator: string;
7
- separator: string;
8
- wrapper: string;
9
- date: string;
10
- title: string;
11
- description: string;
12
- };
13
- variants: {
14
- orientation: {
15
- horizontal: {
16
- root: string;
17
- item: string;
18
- separator: string;
19
- };
20
- vertical: {
21
- root: string;
22
- container: string;
23
- separator: string;
24
- };
25
- };
26
- color: {
27
- neutral: {
28
- indicator: string;
29
- };
30
- };
31
- size: {
32
- '3xs': string;
33
- '2xs': string;
34
- xs: string;
35
- sm: string;
36
- md: string;
37
- lg: string;
38
- xl: string;
39
- '2xl': string;
40
- '3xl': string;
41
- };
42
- reverse: {
43
- true: string;
44
- };
45
- };
46
- compoundVariants: any[];
47
- defaultVariants: {
48
- size: string;
49
- color: string;
50
- };
51
- };
52
- export default _default;
@@ -1,212 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'flex gap-1.5',
4
- item: 'group relative flex flex-1 gap-3',
5
- container: 'relative flex items-center gap-1.5',
6
- indicator: 'group-data-[state=completed]:text-inverted group-data-[state=active]:text-inverted text-muted',
7
- separator: 'flex-1 rounded-full bg-elevated',
8
- wrapper: 'w-full',
9
- date: 'text-dimmed text-xs/5',
10
- title: 'font-medium text-highlighted text-sm',
11
- description: 'text-muted text-wrap text-sm'
12
- },
13
- variants: {
14
- orientation: {
15
- horizontal: {
16
- root: 'flex-row w-full',
17
- item: 'flex-col',
18
- separator: 'h-0.5'
19
- },
20
- vertical: {
21
- root: 'flex-col',
22
- container: 'flex-col',
23
- separator: 'w-0.5'
24
- }
25
- },
26
- color: {
27
- ...Object.fromEntries((options.theme.colors || []).map((color) => [
28
- color,
29
- {
30
- indicator: `group-data-[state=completed]:bg-${color} group-data-[state=active]:bg-${color}`
31
- }
32
- ])),
33
- neutral: {
34
- indicator: 'group-data-[state=completed]:bg-inverted group-data-[state=active]:bg-inverted'
35
- }
36
- },
37
- size: {
38
- '3xs': '',
39
- '2xs': '',
40
- xs: '',
41
- sm: '',
42
- md: '',
43
- lg: '',
44
- xl: '',
45
- '2xl': '',
46
- '3xl': ''
47
- },
48
- reverse: {
49
- true: ''
50
- }
51
- },
52
- compoundVariants: [
53
- ...(options.theme.colors || []).map((color) => ({
54
- color,
55
- reverse: false,
56
- class: {
57
- separator: `group-data-[state=completed]:bg-${color}`
58
- }
59
- })),
60
- ...(options.theme.colors || []).map((color) => ({
61
- color,
62
- reverse: true,
63
- class: {
64
- separator: `group-data-[state=active]:bg-${color} group-data-[state=completed]:bg-${color}`
65
- }
66
- })),
67
- {
68
- color: 'neutral',
69
- reverse: false,
70
- class: {
71
- separator: 'group-data-[state=completed]:bg-inverted'
72
- }
73
- },
74
- {
75
- color: 'neutral',
76
- reverse: true,
77
- class: {
78
- separator: 'group-data-[state=active]:bg-inverted group-data-[state=completed]:bg-inverted'
79
- }
80
- },
81
- {
82
- orientation: 'horizontal',
83
- size: '3xs',
84
- class: {
85
- wrapper: 'pe-4.5'
86
- }
87
- },
88
- {
89
- orientation: 'horizontal',
90
- size: '2xs',
91
- class: {
92
- wrapper: 'pe-5'
93
- }
94
- },
95
- {
96
- orientation: 'horizontal',
97
- size: 'xs',
98
- class: {
99
- wrapper: 'pe-5.5'
100
- }
101
- },
102
- {
103
- orientation: 'horizontal',
104
- size: 'sm',
105
- class: {
106
- wrapper: 'pe-6'
107
- }
108
- },
109
- {
110
- orientation: 'horizontal',
111
- size: 'md',
112
- class: {
113
- wrapper: 'pe-6.5'
114
- }
115
- },
116
- {
117
- orientation: 'horizontal',
118
- size: 'lg',
119
- class: {
120
- wrapper: 'pe-7'
121
- }
122
- },
123
- {
124
- orientation: 'horizontal',
125
- size: 'xl',
126
- class: {
127
- wrapper: 'pe-7.5'
128
- }
129
- },
130
- {
131
- orientation: 'horizontal',
132
- size: '2xl',
133
- class: {
134
- wrapper: 'pe-8'
135
- }
136
- },
137
- {
138
- orientation: 'horizontal',
139
- size: '3xl',
140
- class: {
141
- wrapper: 'pe-8.5'
142
- }
143
- },
144
- {
145
- orientation: 'vertical',
146
- size: '3xs',
147
- class: {
148
- wrapper: '-mt-0.5 pb-4.5'
149
- }
150
- },
151
- {
152
- orientation: 'vertical',
153
- size: '2xs',
154
- class: {
155
- wrapper: 'pb-5'
156
- }
157
- },
158
- {
159
- orientation: 'vertical',
160
- size: 'xs',
161
- class: {
162
- wrapper: 'mt-0.5 pb-5.5'
163
- }
164
- },
165
- {
166
- orientation: 'vertical',
167
- size: 'sm',
168
- class: {
169
- wrapper: 'mt-1 pb-6'
170
- }
171
- },
172
- {
173
- orientation: 'vertical',
174
- size: 'md',
175
- class: {
176
- wrapper: 'mt-1.5 pb-6.5'
177
- }
178
- },
179
- {
180
- orientation: 'vertical',
181
- size: 'lg',
182
- class: {
183
- wrapper: 'mt-2 pb-7'
184
- }
185
- },
186
- {
187
- orientation: 'vertical',
188
- size: 'xl',
189
- class: {
190
- wrapper: 'mt-2.5 pb-7.5'
191
- }
192
- },
193
- {
194
- orientation: 'vertical',
195
- size: '2xl',
196
- class: {
197
- wrapper: 'mt-3 pb-8'
198
- }
199
- },
200
- {
201
- orientation: 'vertical',
202
- size: '3xl',
203
- class: {
204
- wrapper: 'mt-3.5 pb-8.5'
205
- }
206
- }
207
- ],
208
- defaultVariants: {
209
- size: 'md',
210
- color: 'primary'
211
- }
212
- });
@@ -1,41 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- root: string;
4
- wrapper: string;
5
- title: string;
6
- description: string;
7
- icon: string;
8
- avatar: string;
9
- avatarSize: string;
10
- actions: string;
11
- progress: string;
12
- close: string;
13
- };
14
- variants: {
15
- color: {
16
- neutral: {
17
- root: string;
18
- icon: string;
19
- };
20
- };
21
- orientation: {
22
- horizontal: {
23
- root: string;
24
- actions: string;
25
- };
26
- vertical: {
27
- root: string;
28
- actions: string;
29
- };
30
- };
31
- title: {
32
- true: {
33
- description: string;
34
- };
35
- };
36
- };
37
- defaultVariants: {
38
- color: string;
39
- };
40
- };
41
- export default _default;
@@ -1,47 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none',
4
- wrapper: 'w-0 flex-1 flex flex-col',
5
- title: 'text-sm font-medium text-highlighted',
6
- description: 'text-sm text-muted',
7
- icon: 'shrink-0 size-5',
8
- avatar: 'shrink-0',
9
- avatarSize: '2xl',
10
- actions: 'flex gap-1.5 shrink-0',
11
- progress: 'absolute inset-x-0 bottom-0',
12
- close: 'p-0'
13
- },
14
- variants: {
15
- color: {
16
- ...Object.fromEntries((options.theme.colors || []).map((color) => [
17
- color,
18
- {
19
- root: `focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`,
20
- icon: `text-${color}`
21
- }
22
- ])),
23
- neutral: {
24
- root: 'focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted',
25
- icon: 'text-highlighted'
26
- }
27
- },
28
- orientation: {
29
- horizontal: {
30
- root: 'items-center',
31
- actions: 'items-center'
32
- },
33
- vertical: {
34
- root: 'items-start',
35
- actions: 'items-start mt-2.5'
36
- }
37
- },
38
- title: {
39
- true: {
40
- description: 'mt-1'
41
- }
42
- }
43
- },
44
- defaultVariants: {
45
- color: 'primary'
46
- }
47
- });
@@ -1,50 +0,0 @@
1
- declare const _default: {
2
- slots: {
3
- viewport: string;
4
- base: string;
5
- };
6
- variants: {
7
- position: {
8
- 'top-left': {
9
- viewport: string;
10
- };
11
- 'top-center': {
12
- viewport: string;
13
- };
14
- 'top-right': {
15
- viewport: string;
16
- };
17
- 'bottom-left': {
18
- viewport: string;
19
- };
20
- 'bottom-center': {
21
- viewport: string;
22
- };
23
- 'bottom-right': {
24
- viewport: string;
25
- };
26
- };
27
- swipeDirection: {
28
- up: string;
29
- right: string;
30
- down: string;
31
- left: string;
32
- };
33
- };
34
- compoundVariants: ({
35
- position: string[];
36
- class: {
37
- viewport: string;
38
- base: string;
39
- };
40
- swipeDirection?: undefined;
41
- } | {
42
- swipeDirection: string[];
43
- class: string;
44
- position?: undefined;
45
- })[];
46
- defaultVariants: {
47
- position: string;
48
- };
49
- };
50
- export default _default;
@@ -1,56 +0,0 @@
1
- export default {
2
- slots: {
3
- viewport: 'fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none',
4
- base: 'pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out'
5
- },
6
- variants: {
7
- position: {
8
- 'top-left': {
9
- viewport: 'left-4'
10
- },
11
- 'top-center': {
12
- viewport: 'left-1/2 transform -translate-x-1/2'
13
- },
14
- 'top-right': {
15
- viewport: 'right-4'
16
- },
17
- 'bottom-left': {
18
- viewport: 'left-4'
19
- },
20
- 'bottom-center': {
21
- viewport: 'left-1/2 transform -translate-x-1/2'
22
- },
23
- 'bottom-right': {
24
- viewport: 'right-4'
25
- }
26
- },
27
- swipeDirection: {
28
- up: 'data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]',
29
- right: 'data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]',
30
- down: 'data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]',
31
- left: 'data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]'
32
- }
33
- },
34
- compoundVariants: [{
35
- position: ['top-left', 'top-center', 'top-right'],
36
- class: {
37
- viewport: 'top-4',
38
- base: 'top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]'
39
- }
40
- }, {
41
- position: ['bottom-left', 'bottom-center', 'bottom-right'],
42
- class: {
43
- viewport: 'bottom-4',
44
- base: 'bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]'
45
- }
46
- }, {
47
- swipeDirection: ['left', 'right'],
48
- class: 'data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0'
49
- }, {
50
- swipeDirection: ['up', 'down'],
51
- class: 'data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0'
52
- }],
53
- defaultVariants: {
54
- position: 'bottom-right'
55
- }
56
- };
@@ -1,10 +0,0 @@
1
- declare const _default: {
2
- slots: {
3
- content: string;
4
- arrow: string;
5
- text: string;
6
- kbds: string;
7
- kbdsSize: string;
8
- };
9
- };
10
- export default _default;
@@ -1,9 +0,0 @@
1
- export default {
2
- slots: {
3
- content: 'flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto',
4
- arrow: 'fill-default',
5
- text: 'truncate',
6
- kbds: `hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5`,
7
- kbdsSize: 'sm'
8
- }
9
- };
@@ -1,66 +0,0 @@
1
- declare const _default: (options: Required<ModuleOptions>) => {
2
- slots: {
3
- root: string;
4
- item: string;
5
- listWithChildren: string;
6
- itemWithChildren: string;
7
- link: string;
8
- linkLeadingIcon: string;
9
- linkLabel: string;
10
- linkTrailing: string;
11
- linkTrailingIcon: string;
12
- };
13
- variants: {
14
- color: {
15
- neutral: {
16
- link: string;
17
- };
18
- };
19
- size: {
20
- xs: {
21
- link: string;
22
- linkLeadingIcon: string;
23
- linkTrailingIcon: string;
24
- };
25
- sm: {
26
- link: string;
27
- linkLeadingIcon: string;
28
- linkTrailingIcon: string;
29
- };
30
- md: {
31
- link: string;
32
- linkLeadingIcon: string;
33
- linkTrailingIcon: string;
34
- };
35
- lg: {
36
- link: string;
37
- linkLeadingIcon: string;
38
- linkTrailingIcon: string;
39
- };
40
- xl: {
41
- link: string;
42
- linkLeadingIcon: string;
43
- linkTrailingIcon: string;
44
- };
45
- };
46
- selected: {
47
- true: {
48
- link: string;
49
- };
50
- false: {
51
- link: any[];
52
- };
53
- };
54
- disabled: {
55
- true: {
56
- link: string;
57
- };
58
- };
59
- };
60
- compoundVariants: any[];
61
- defaultVariants: {
62
- color: string;
63
- size: string;
64
- };
65
- };
66
- export default _default;
@@ -1,89 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'relative isolate',
4
- item: '',
5
- listWithChildren: 'ms-4.5 border-s border-default',
6
- itemWithChildren: 'ps-1.5 -ms-px',
7
- link: 'relative group w-full flex items-center text-sm before:absolute before:inset-y-px before:inset-x-0 before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2',
8
- linkLeadingIcon: 'shrink-0',
9
- linkLabel: 'truncate',
10
- linkTrailing: 'ms-auto inline-flex gap-1.5 items-center',
11
- linkTrailingIcon: 'shrink-0 transform transition-transform duration-200 group-data-[expanded=true]:rotate-180'
12
- },
13
- variants: {
14
- color: {
15
- ...Object.fromEntries((options.theme.colors || []).map((color) => [
16
- color,
17
- {
18
- link: `focus-visible:before:ring-${color}`
19
- }
20
- ])),
21
- neutral: {
22
- link: 'focus-visible:before:ring-inverted'
23
- }
24
- },
25
- size: {
26
- xs: {
27
- link: 'px-2 py-1 text-xs gap-1',
28
- linkLeadingIcon: 'size-4',
29
- linkTrailingIcon: 'size-4'
30
- },
31
- sm: {
32
- link: 'px-2.5 py-1.5 text-xs gap-1.5',
33
- linkLeadingIcon: 'size-4',
34
- linkTrailingIcon: 'size-4'
35
- },
36
- md: {
37
- link: 'px-2.5 py-1.5 text-sm gap-1.5',
38
- linkLeadingIcon: 'size-5',
39
- linkTrailingIcon: 'size-5'
40
- },
41
- lg: {
42
- link: 'px-3 py-2 text-sm gap-2',
43
- linkLeadingIcon: 'size-5',
44
- linkTrailingIcon: 'size-5'
45
- },
46
- xl: {
47
- link: 'px-3 py-2 text-base gap-2',
48
- linkLeadingIcon: 'size-6',
49
- linkTrailingIcon: 'size-6'
50
- }
51
- },
52
- selected: {
53
- true: {
54
- link: 'before:bg-elevated'
55
- },
56
- false: {
57
- link: [
58
- 'hover:not-disabled:text-highlighted hover:not-disabled:before:bg-elevated/50',
59
- options.theme.transitions && 'transition-colors before:transition-colors'
60
- ]
61
- }
62
- },
63
- disabled: {
64
- true: {
65
- link: 'cursor-not-allowed opacity-75'
66
- }
67
- }
68
- },
69
- compoundVariants: [
70
- ...(options.theme.colors || []).map((color) => ({
71
- color,
72
- selected: true,
73
- class: {
74
- link: `text-${color}`
75
- }
76
- })),
77
- {
78
- color: 'neutral',
79
- selected: true,
80
- class: {
81
- link: 'text-highlighted'
82
- }
83
- }
84
- ],
85
- defaultVariants: {
86
- color: 'primary',
87
- size: 'md'
88
- }
89
- });