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,315 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'relative flex gap-1.5 [&>div]:min-w-0',
4
- list: 'isolate min-w-0',
5
- label: 'w-full flex items-center gap-1.5 font-semibold text-xs/5 text-highlighted px-2.5 py-1.5',
6
- item: 'min-w-0',
7
- link: 'group relative w-full flex items-center gap-1.5 font-medium text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2',
8
- linkLeadingIcon: 'shrink-0 size-5',
9
- linkLeadingAvatar: 'shrink-0',
10
- linkLeadingAvatarSize: '2xs',
11
- linkTrailing: 'group ms-auto inline-flex gap-1.5 items-center',
12
- linkTrailingBadge: 'shrink-0',
13
- linkTrailingBadgeSize: 'sm',
14
- linkTrailingIcon: 'size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200',
15
- linkLabel: 'truncate',
16
- linkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed',
17
- childList: 'isolate',
18
- childLabel: 'text-xs text-highlighted',
19
- childItem: '',
20
- childLink: 'group relative size-full flex items-start text-start text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2',
21
- childLinkWrapper: 'min-w-0',
22
- childLinkIcon: 'size-5 shrink-0',
23
- childLinkLabel: 'truncate',
24
- childLinkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed',
25
- childLinkDescription: 'text-muted',
26
- separator: 'px-2 h-px bg-border',
27
- viewportWrapper: 'absolute top-full left-0 flex w-full',
28
- viewport: 'relative overflow-hidden bg-default shadow-lg rounded-md ring ring-default h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] z-[1]',
29
- content: '',
30
- indicator: 'absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200',
31
- arrow: 'relative top-[50%] size-2.5 rotate-45 border border-default bg-default z-[1] rounded-xs'
32
- },
33
- variants: {
34
- color: {
35
- ...Object.fromEntries((options.theme.colors || []).map((color) => [
36
- color,
37
- {
38
- link: `focus-visible:before:ring-${color}`,
39
- childLink: `focus-visible:before:ring-${color}`
40
- }
41
- ])),
42
- neutral: {
43
- link: 'focus-visible:before:ring-inverted',
44
- childLink: 'focus-visible:before:ring-inverted'
45
- }
46
- },
47
- highlightColor: {
48
- ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
49
- neutral: ''
50
- },
51
- variant: {
52
- pill: '',
53
- link: ''
54
- },
55
- orientation: {
56
- horizontal: {
57
- root: 'items-center justify-between',
58
- list: 'flex items-center',
59
- item: 'py-2',
60
- link: 'px-2.5 py-1.5 before:inset-x-px before:inset-y-0',
61
- childList: 'grid p-2',
62
- childLink: 'px-3 py-2 gap-2 before:inset-x-px before:inset-y-0',
63
- childLinkLabel: 'font-medium',
64
- content: 'absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto'
65
- },
66
- vertical: {
67
- root: 'flex-col',
68
- link: 'flex-row px-2.5 py-1.5 before:inset-y-px before:inset-x-0',
69
- childLabel: 'px-1.5 py-0.5',
70
- childLink: 'p-1.5 gap-1.5 before:inset-y-px before:inset-x-0'
71
- }
72
- },
73
- contentOrientation: {
74
- horizontal: {
75
- viewportWrapper: 'justify-center',
76
- content: 'data-[motion=from-start]:animate-[enter-from-left_200ms_ease] data-[motion=from-end]:animate-[enter-from-right_200ms_ease] data-[motion=to-start]:animate-[exit-to-left_200ms_ease] data-[motion=to-end]:animate-[exit-to-right_200ms_ease]'
77
- },
78
- vertical: {
79
- viewport: 'sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)'
80
- }
81
- },
82
- active: {
83
- true: {
84
- childLink: 'before:bg-elevated text-highlighted',
85
- childLinkIcon: 'text-default'
86
- },
87
- false: {
88
- link: 'text-muted',
89
- linkLeadingIcon: 'text-dimmed',
90
- childLink: [
91
- 'hover:before:bg-elevated/50 text-default hover:text-highlighted',
92
- options.theme.transitions && 'transition-colors before:transition-colors'
93
- ],
94
- childLinkIcon: [
95
- 'text-dimmed group-hover:text-default',
96
- options.theme.transitions && 'transition-colors'
97
- ]
98
- }
99
- },
100
- disabled: {
101
- true: {
102
- link: 'cursor-not-allowed opacity-75'
103
- }
104
- },
105
- highlight: {
106
- true: ''
107
- },
108
- level: {
109
- true: ''
110
- },
111
- collapsed: {
112
- true: ''
113
- }
114
- },
115
- compoundVariants: [
116
- {
117
- orientation: 'horizontal',
118
- contentOrientation: 'horizontal',
119
- class: {
120
- childList: 'grid-cols-2 gap-2'
121
- }
122
- },
123
- {
124
- orientation: 'horizontal',
125
- contentOrientation: 'vertical',
126
- class: {
127
- childList: 'gap-1',
128
- content: 'w-60'
129
- }
130
- },
131
- {
132
- orientation: 'vertical',
133
- collapsed: false,
134
- class: {
135
- childList: 'ms-5 border-s border-default',
136
- childItem: 'ps-1.5 -ms-px',
137
- content: 'data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden'
138
- }
139
- },
140
- {
141
- orientation: 'vertical',
142
- collapsed: true,
143
- class: {
144
- link: 'px-1.5',
145
- content: 'shadow-sm rounded-sm min-h-6 p-1'
146
- }
147
- },
148
- {
149
- orientation: 'horizontal',
150
- highlight: true,
151
- class: {
152
- link: [
153
- 'after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full',
154
- options.theme.transitions && 'after:transition-colors'
155
- ]
156
- }
157
- },
158
- {
159
- orientation: 'vertical',
160
- highlight: true,
161
- level: true,
162
- class: {
163
- link: [
164
- 'after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full',
165
- options.theme.transitions && 'after:transition-colors'
166
- ]
167
- }
168
- },
169
- {
170
- disabled: false,
171
- active: false,
172
- variant: 'pill',
173
- class: {
174
- link: [
175
- 'hover:text-highlighted hover:before:bg-elevated/50',
176
- options.theme.transitions && 'transition-colors before:transition-colors'
177
- ],
178
- linkLeadingIcon: [
179
- 'group-hover:text-default',
180
- options.theme.transitions && 'transition-colors'
181
- ]
182
- }
183
- },
184
- {
185
- disabled: false,
186
- active: false,
187
- variant: 'pill',
188
- orientation: 'horizontal',
189
- class: {
190
- link: 'data-[state=open]:text-highlighted',
191
- linkLeadingIcon: 'group-data-[state=open]:text-default'
192
- }
193
- },
194
- {
195
- disabled: false,
196
- variant: 'pill',
197
- highlight: true,
198
- orientation: 'horizontal',
199
- class: {
200
- link: 'data-[state=open]:before:bg-elevated/50'
201
- }
202
- },
203
- {
204
- disabled: false,
205
- variant: 'pill',
206
- highlight: false,
207
- active: false,
208
- orientation: 'horizontal',
209
- class: {
210
- link: 'data-[state=open]:before:bg-elevated/50'
211
- }
212
- },
213
- ...(options.theme.colors || []).map((color) => ({
214
- color,
215
- variant: 'pill',
216
- active: true,
217
- class: {
218
- link: `text-${color}`,
219
- linkLeadingIcon: `text-${color} group-data-[state=open]:text-${color}`
220
- }
221
- })),
222
- {
223
- color: 'neutral',
224
- variant: 'pill',
225
- active: true,
226
- class: {
227
- link: 'text-highlighted',
228
- linkLeadingIcon: 'text-highlighted group-data-[state=open]:text-highlighted'
229
- }
230
- },
231
- {
232
- variant: 'pill',
233
- active: true,
234
- highlight: false,
235
- class: {
236
- link: 'before:bg-elevated'
237
- }
238
- },
239
- {
240
- variant: 'pill',
241
- active: true,
242
- highlight: true,
243
- disabled: false,
244
- class: {
245
- link: [
246
- 'hover:before:bg-elevated/50',
247
- options.theme.transitions && 'before:transition-colors'
248
- ]
249
- }
250
- },
251
- {
252
- disabled: false,
253
- active: false,
254
- variant: 'link',
255
- class: {
256
- link: ['hover:text-highlighted', options.theme.transitions && 'transition-colors'],
257
- linkLeadingIcon: [
258
- 'group-hover:text-default',
259
- options.theme.transitions && 'transition-colors'
260
- ]
261
- }
262
- },
263
- {
264
- disabled: false,
265
- active: false,
266
- variant: 'link',
267
- orientation: 'horizontal',
268
- class: {
269
- link: 'data-[state=open]:text-highlighted',
270
- linkLeadingIcon: 'group-data-[state=open]:text-default'
271
- }
272
- },
273
- ...(options.theme.colors || []).map((color) => ({
274
- color,
275
- variant: 'link',
276
- active: true,
277
- class: {
278
- link: `text-${color}`,
279
- linkLeadingIcon: `text-${color} group-data-[state=open]:text-${color}`
280
- }
281
- })),
282
- {
283
- color: 'neutral',
284
- variant: 'link',
285
- active: true,
286
- class: {
287
- link: 'text-highlighted',
288
- linkLeadingIcon: 'text-highlighted group-data-[state=open]:text-highlighted'
289
- }
290
- },
291
- ...(options.theme.colors || []).map((highlightColor) => ({
292
- highlightColor,
293
- highlight: true,
294
- level: true,
295
- active: true,
296
- class: {
297
- link: `after:bg-${highlightColor}`
298
- }
299
- })),
300
- {
301
- highlightColor: 'neutral',
302
- highlight: true,
303
- level: true,
304
- active: true,
305
- class: {
306
- link: 'after:bg-inverted'
307
- }
308
- }
309
- ],
310
- defaultVariants: {
311
- color: 'primary',
312
- highlightColor: 'primary',
313
- variant: 'pill'
314
- }
315
- });
@@ -1,26 +0,0 @@
1
- import type { NuxtOptions } from '@nuxt/schema';
2
- declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
- slots: {
4
- root: string;
5
- list: string;
6
- item: string;
7
- link: string;
8
- linkLeading: string;
9
- linkLeadingIcon: string;
10
- linkLabel: string;
11
- linkLabelExternalIcon: string;
12
- };
13
- variants: {
14
- active: {
15
- true: {
16
- link: string;
17
- linkLeading: string;
18
- };
19
- false: {
20
- link: any[];
21
- linkLeading: any[];
22
- };
23
- };
24
- };
25
- };
26
- export default _default;
@@ -1,24 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: '',
4
- list: '',
5
- item: 'relative',
6
- link: 'group text-sm flex items-center gap-1.5 py-1 focus-visible:outline-primary',
7
- linkLeading: 'rounded-md p-1 inline-flex ring-inset ring',
8
- linkLeadingIcon: 'size-4 shrink-0',
9
- linkLabel: 'truncate',
10
- linkLabelExternalIcon: 'size-3 absolute top-0 text-dimmed'
11
- },
12
- variants: {
13
- active: {
14
- true: {
15
- link: 'text-primary font-semibold',
16
- linkLeading: 'bg-primary ring-primary text-inverted'
17
- },
18
- false: {
19
- link: ['text-muted hover:text-default font-medium', options.theme.transitions && 'transition-colors'],
20
- linkLeading: ['bg-elevated/50 ring-accented text-dimmed group-hover:bg-primary group-hover:ring-primary group-hover:text-inverted', options.theme.transitions && 'transition']
21
- }
22
- }
23
- }
24
- });
@@ -1,11 +0,0 @@
1
- declare const _default: {
2
- slots: {
3
- root: string;
4
- container: string;
5
- top: string;
6
- topHeader: string;
7
- topBody: string;
8
- topFooter: string;
9
- };
10
- };
11
- export default _default;
@@ -1,10 +0,0 @@
1
- export default {
2
- slots: {
3
- root: 'hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--ui-header-height))] lg:sticky lg:top-(--ui-header-height) py-8 lg:ps-4 lg:-ms-4 lg:pe-6.5',
4
- container: 'relative',
5
- top: 'sticky -top-8 -mt-8 pointer-events-none z-[1]',
6
- topHeader: 'h-8 bg-default -mx-4 px-4',
7
- topBody: 'bg-default relative pointer-events-auto flex flex-col -mx-4 px-4',
8
- topFooter: 'h-8 bg-gradient-to-b from-default -mx-4 px-4'
9
- }
10
- };
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- base: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- export default {
2
- base: 'mt-8 pb-24 space-y-12'
3
- };
@@ -1,90 +0,0 @@
1
- import type { NuxtOptions } from '@nuxt/schema';
2
- declare const _default: (options: Required<NuxtOptions["ui"]>) => {
3
- slots: {
4
- root: string;
5
- spotlight: string;
6
- container: string;
7
- wrapper: string;
8
- header: string;
9
- body: string;
10
- footer: string;
11
- leading: string;
12
- leadingIcon: string;
13
- title: string;
14
- description: string;
15
- };
16
- variants: {
17
- orientation: {
18
- horizontal: {
19
- container: string;
20
- };
21
- vertical: {
22
- container: string;
23
- };
24
- };
25
- reverse: {
26
- true: {
27
- wrapper: string;
28
- };
29
- };
30
- variant: {
31
- solid: {
32
- root: string;
33
- title: string;
34
- description: string;
35
- };
36
- outline: {
37
- root: string;
38
- description: string;
39
- };
40
- soft: {
41
- root: string;
42
- description: string;
43
- };
44
- subtle: {
45
- root: string;
46
- description: string;
47
- };
48
- ghost: {
49
- description: string;
50
- };
51
- naked: {
52
- container: string;
53
- description: string;
54
- };
55
- };
56
- to: {
57
- true: {
58
- root: any[];
59
- };
60
- };
61
- title: {
62
- true: {
63
- description: string;
64
- };
65
- };
66
- highlight: {
67
- true: {
68
- root: string;
69
- };
70
- };
71
- highlightColor: {
72
- neutral: string;
73
- };
74
- spotlight: {
75
- true: {
76
- root: string;
77
- };
78
- };
79
- spotlightColor: {
80
- neutral: string;
81
- };
82
- };
83
- compoundVariants: any[];
84
- defaultVariants: {
85
- variant: string;
86
- highlightColor: string;
87
- spotlightColor: string;
88
- };
89
- };
90
- export default _default;
@@ -1,156 +0,0 @@
1
- export default (options) => ({
2
- slots: {
3
- root: 'relative flex rounded-lg',
4
- spotlight: 'absolute inset-0 rounded-[inherit] pointer-events-none bg-default/90',
5
- container: 'relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6',
6
- wrapper: 'flex flex-col flex-1 items-start',
7
- header: 'mb-4',
8
- body: 'flex-1',
9
- footer: 'pt-4 mt-auto',
10
- leading: 'inline-flex items-center mb-2.5',
11
- leadingIcon: 'size-5 shrink-0 text-primary',
12
- title: 'text-base text-pretty font-semibold text-highlighted',
13
- description: 'text-[15px] text-pretty'
14
- },
15
- variants: {
16
- orientation: {
17
- horizontal: {
18
- container: 'lg:grid-cols-2 lg:items-center'
19
- },
20
- vertical: {
21
- container: ''
22
- }
23
- },
24
- reverse: {
25
- true: {
26
- wrapper: 'lg:order-last'
27
- }
28
- },
29
- variant: {
30
- solid: {
31
- root: 'bg-inverted text-inverted',
32
- title: 'text-inverted',
33
- description: 'text-dimmed'
34
- },
35
- outline: {
36
- root: 'bg-default ring ring-default',
37
- description: 'text-muted'
38
- },
39
- soft: {
40
- root: 'bg-elevated/50',
41
- description: 'text-toned'
42
- },
43
- subtle: {
44
- root: 'bg-elevated/50 ring ring-default',
45
- description: 'text-toned'
46
- },
47
- ghost: {
48
- description: 'text-muted'
49
- },
50
- naked: {
51
- container: 'p-0 sm:p-0',
52
- description: 'text-muted'
53
- }
54
- },
55
- to: {
56
- true: {
57
- root: [options.theme.transitions && 'transition']
58
- }
59
- },
60
- title: {
61
- true: {
62
- description: 'mt-1'
63
- }
64
- },
65
- highlight: {
66
- true: {
67
- root: 'ring-2'
68
- }
69
- },
70
- highlightColor: {
71
- ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
72
- neutral: ''
73
- },
74
- spotlight: {
75
- true: {
76
- root: '[--spotlight-size:400px] before:absolute before:-inset-px before:pointer-events-none before:rounded-[inherit] before:bg-[radial-gradient(var(--spotlight-size)_var(--spotlight-size)_at_calc(var(--spotlight-x,0px))_calc(var(--spotlight-y,0px)),var(--spotlight-color),transparent_70%)]'
77
- }
78
- },
79
- spotlightColor: {
80
- ...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
81
- neutral: ''
82
- }
83
- },
84
- compoundVariants: [{
85
- variant: 'solid',
86
- to: true,
87
- class: {
88
- root: 'hover:bg-inverted/90'
89
- }
90
- }, {
91
- variant: 'outline',
92
- to: true,
93
- class: {
94
- root: 'hover:bg-elevated/50'
95
- }
96
- }, {
97
- variant: 'soft',
98
- to: true,
99
- class: {
100
- root: 'hover:bg-elevated'
101
- }
102
- }, {
103
- variant: 'subtle',
104
- to: true,
105
- class: {
106
- root: 'hover:bg-elevated'
107
- }
108
- }, {
109
- variant: 'subtle',
110
- to: true,
111
- highlight: false,
112
- class: {
113
- root: 'hover:ring-accented'
114
- }
115
- }, {
116
- variant: 'ghost',
117
- to: true,
118
- class: {
119
- root: 'hover:bg-elevated/50'
120
- }
121
- }, ...(options.theme.colors || []).map((highlightColor) => ({
122
- highlightColor,
123
- highlight: true,
124
- class: {
125
- root: `ring-${highlightColor}`
126
- }
127
- })), {
128
- highlightColor: 'neutral',
129
- highlight: true,
130
- class: {
131
- root: 'ring-inverted'
132
- }
133
- }, ...(options.theme.colors || []).map((spotlightColor) => ({
134
- spotlightColor,
135
- spotlight: true,
136
- class: {
137
- root: `[--spotlight-color:var(--ui-${spotlightColor})]`
138
- }
139
- })), {
140
- spotlightColor: 'neutral',
141
- spotlight: true,
142
- class: {
143
- root: '[--spotlight-color:var(--ui-bg-inverted)]'
144
- }
145
- }, {
146
- to: true,
147
- class: {
148
- root: 'has-focus-visible:ring-2 has-focus-visible:ring-primary'
149
- }
150
- }],
151
- defaultVariants: {
152
- variant: 'outline',
153
- highlightColor: 'primary',
154
- spotlightColor: 'primary'
155
- }
156
- });
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- base: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- export default {
2
- base: 'relative column-1 md:columns-2 lg:columns-3 gap-8 space-y-8 *:break-inside-avoid-column *:will-change-transform'
3
- };