@nextui-org/theme 0.0.0-canary-20240429052129

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 (286) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -0
  3. package/colors.d.ts +1 -0
  4. package/colors.js +1 -0
  5. package/dist/animations/index.d.ts +71 -0
  6. package/dist/animations/index.js +98 -0
  7. package/dist/animations/index.mjs +6 -0
  8. package/dist/chunk-2PIR7DFM.mjs +77 -0
  9. package/dist/chunk-3FZU25GR.mjs +33 -0
  10. package/dist/chunk-3LKKH4AR.mjs +17 -0
  11. package/dist/chunk-4Z22WXZX.mjs +21 -0
  12. package/dist/chunk-4ZM6AI3H.mjs +366 -0
  13. package/dist/chunk-6XJJCV76.mjs +243 -0
  14. package/dist/chunk-726LN7M3.mjs +20 -0
  15. package/dist/chunk-7ODIBITJ.mjs +172 -0
  16. package/dist/chunk-7TJINK3S.mjs +390 -0
  17. package/dist/chunk-AC6F4DT6.mjs +485 -0
  18. package/dist/chunk-AGUZRGXC.mjs +12 -0
  19. package/dist/chunk-AO2AAOEJ.mjs +56 -0
  20. package/dist/chunk-AT4OXKKK.mjs +58 -0
  21. package/dist/chunk-CMYR6AOY.mjs +0 -0
  22. package/dist/chunk-CQY2A2EX.mjs +401 -0
  23. package/dist/chunk-CTY7IP65.mjs +723 -0
  24. package/dist/chunk-CUUGEIPA.mjs +474 -0
  25. package/dist/chunk-D2XMP2NC.mjs +6 -0
  26. package/dist/chunk-DCEG5LGX.mjs +17 -0
  27. package/dist/chunk-DI2L75XK.mjs +22 -0
  28. package/dist/chunk-DMASP6FA.mjs +74 -0
  29. package/dist/chunk-ECP4S2VZ.mjs +36 -0
  30. package/dist/chunk-FRI2VDCA.mjs +306 -0
  31. package/dist/chunk-G4RCK475.mjs +155 -0
  32. package/dist/chunk-GHZ36ATJ.mjs +17 -0
  33. package/dist/chunk-GMMETTYU.mjs +30 -0
  34. package/dist/chunk-HPFX3B3F.mjs +59 -0
  35. package/dist/chunk-HUBDRSA4.mjs +49 -0
  36. package/dist/chunk-I6ESTKKY.mjs +422 -0
  37. package/dist/chunk-IAS3SFA4.mjs +42 -0
  38. package/dist/chunk-IP3D7KVB.mjs +181 -0
  39. package/dist/chunk-JQTFOIV7.mjs +108 -0
  40. package/dist/chunk-JUEOCLA3.mjs +17 -0
  41. package/dist/chunk-K7LK7NCE.mjs +0 -0
  42. package/dist/chunk-KA5SSSWD.mjs +177 -0
  43. package/dist/chunk-KCOC3H6R.mjs +98 -0
  44. package/dist/chunk-KUNVFLXJ.mjs +41 -0
  45. package/dist/chunk-KVPPQD2E.mjs +231 -0
  46. package/dist/chunk-L2OL7R23.mjs +17 -0
  47. package/dist/chunk-LDBYFTHC.mjs +134 -0
  48. package/dist/chunk-LKKSQVZ6.mjs +163 -0
  49. package/dist/chunk-M3MKSQ42.mjs +124 -0
  50. package/dist/chunk-M63AFAHO.mjs +0 -0
  51. package/dist/chunk-MUWHEIW6.mjs +831 -0
  52. package/dist/chunk-NAUU2OUH.mjs +23 -0
  53. package/dist/chunk-NYSEAAK5.mjs +214 -0
  54. package/dist/chunk-OQIS4MXV.mjs +205 -0
  55. package/dist/chunk-OR5PUD24.mjs +17 -0
  56. package/dist/chunk-PSEUPXFL.mjs +122 -0
  57. package/dist/chunk-QZTWGJ72.mjs +16 -0
  58. package/dist/chunk-RNAP5C4C.mjs +406 -0
  59. package/dist/chunk-S573WUYY.mjs +381 -0
  60. package/dist/chunk-SEKJ6A6T.mjs +396 -0
  61. package/dist/chunk-T3GWIVAM.mjs +17 -0
  62. package/dist/chunk-UODOTC2G.mjs +21 -0
  63. package/dist/chunk-UVXYPGDZ.mjs +0 -0
  64. package/dist/chunk-V5ZTBGGO.mjs +42 -0
  65. package/dist/chunk-VDRJHB4F.mjs +187 -0
  66. package/dist/chunk-VFJ7C5ZV.mjs +391 -0
  67. package/dist/chunk-VJTX4YUQ.mjs +31 -0
  68. package/dist/chunk-W6DVXJB3.mjs +21 -0
  69. package/dist/chunk-WAAJG22Y.mjs +90 -0
  70. package/dist/chunk-WBQAMGXK.mjs +0 -0
  71. package/dist/chunk-WQEDQHKX.mjs +0 -0
  72. package/dist/chunk-X7N3NQ6S.mjs +158 -0
  73. package/dist/chunk-XHQUSKIE.mjs +60 -0
  74. package/dist/chunk-YJLQTC7L.mjs +0 -0
  75. package/dist/chunk-YSA7EQBH.mjs +237 -0
  76. package/dist/chunk-YZYGFPNK.mjs +17 -0
  77. package/dist/colors/blue.d.ts +14 -0
  78. package/dist/colors/blue.js +41 -0
  79. package/dist/colors/blue.mjs +6 -0
  80. package/dist/colors/common.d.ts +103 -0
  81. package/dist/colors/common.js +155 -0
  82. package/dist/colors/common.mjs +14 -0
  83. package/dist/colors/cyan.d.ts +14 -0
  84. package/dist/colors/cyan.js +41 -0
  85. package/dist/colors/cyan.mjs +6 -0
  86. package/dist/colors/green.d.ts +14 -0
  87. package/dist/colors/green.js +41 -0
  88. package/dist/colors/green.mjs +6 -0
  89. package/dist/colors/index.d.ts +109 -0
  90. package/dist/colors/index.js +335 -0
  91. package/dist/colors/index.mjs +24 -0
  92. package/dist/colors/pink.d.ts +14 -0
  93. package/dist/colors/pink.js +41 -0
  94. package/dist/colors/pink.mjs +6 -0
  95. package/dist/colors/purple.d.ts +14 -0
  96. package/dist/colors/purple.js +41 -0
  97. package/dist/colors/purple.mjs +6 -0
  98. package/dist/colors/red.d.ts +14 -0
  99. package/dist/colors/red.js +41 -0
  100. package/dist/colors/red.mjs +6 -0
  101. package/dist/colors/semantic.d.ts +10 -0
  102. package/dist/colors/semantic.js +327 -0
  103. package/dist/colors/semantic.mjs +20 -0
  104. package/dist/colors/types.d.ts +39 -0
  105. package/dist/colors/types.js +18 -0
  106. package/dist/colors/types.mjs +1 -0
  107. package/dist/colors/yellow.d.ts +14 -0
  108. package/dist/colors/yellow.js +41 -0
  109. package/dist/colors/yellow.mjs +6 -0
  110. package/dist/colors/zinc.d.ts +14 -0
  111. package/dist/colors/zinc.js +41 -0
  112. package/dist/colors/zinc.mjs +6 -0
  113. package/dist/colors.d.ts +4 -0
  114. package/dist/colors.js +335 -0
  115. package/dist/colors.mjs +25 -0
  116. package/dist/components/accordion.d.ts +402 -0
  117. package/dist/components/accordion.js +154 -0
  118. package/dist/components/accordion.mjs +13 -0
  119. package/dist/components/autocomplete.d.ts +180 -0
  120. package/dist/components/autocomplete.js +107 -0
  121. package/dist/components/autocomplete.mjs +7 -0
  122. package/dist/components/avatar.d.ts +572 -0
  123. package/dist/components/avatar.js +320 -0
  124. package/dist/components/avatar.mjs +13 -0
  125. package/dist/components/badge.d.ts +484 -0
  126. package/dist/components/badge.js +501 -0
  127. package/dist/components/badge.mjs +11 -0
  128. package/dist/components/breadcrumbs.d.ts +816 -0
  129. package/dist/components/breadcrumbs.js +299 -0
  130. package/dist/components/breadcrumbs.mjs +13 -0
  131. package/dist/components/button.d.ts +393 -0
  132. package/dist/components/button.js +556 -0
  133. package/dist/components/button.mjs +13 -0
  134. package/dist/components/calendar.d.ts +495 -0
  135. package/dist/components/calendar.js +456 -0
  136. package/dist/components/calendar.mjs +11 -0
  137. package/dist/components/card.d.ts +550 -0
  138. package/dist/components/card.js +213 -0
  139. package/dist/components/card.mjs +11 -0
  140. package/dist/components/checkbox.d.ts +773 -0
  141. package/dist/components/checkbox.js +271 -0
  142. package/dist/components/checkbox.mjs +13 -0
  143. package/dist/components/chip.d.ts +737 -0
  144. package/dist/components/chip.js +611 -0
  145. package/dist/components/chip.mjs +11 -0
  146. package/dist/components/circular-progress.d.ts +430 -0
  147. package/dist/components/circular-progress.js +139 -0
  148. package/dist/components/circular-progress.mjs +7 -0
  149. package/dist/components/code.d.ts +165 -0
  150. package/dist/components/code.js +162 -0
  151. package/dist/components/code.mjs +11 -0
  152. package/dist/components/date-input.d.ts +815 -0
  153. package/dist/components/date-input.js +439 -0
  154. package/dist/components/date-input.mjs +7 -0
  155. package/dist/components/date-picker.d.ts +325 -0
  156. package/dist/components/date-picker.js +81 -0
  157. package/dist/components/date-picker.mjs +9 -0
  158. package/dist/components/divider.d.ts +52 -0
  159. package/dist/components/divider.js +70 -0
  160. package/dist/components/divider.mjs +7 -0
  161. package/dist/components/drip.d.ts +14 -0
  162. package/dist/components/drip.js +61 -0
  163. package/dist/components/drip.mjs +7 -0
  164. package/dist/components/dropdown.d.ts +417 -0
  165. package/dist/components/dropdown.js +424 -0
  166. package/dist/components/dropdown.mjs +17 -0
  167. package/dist/components/image.d.ts +355 -0
  168. package/dist/components/image.js +183 -0
  169. package/dist/components/image.mjs +7 -0
  170. package/dist/components/index.d.ts +41 -0
  171. package/dist/components/index.js +8804 -0
  172. package/dist/components/index.mjs +194 -0
  173. package/dist/components/input.d.ts +942 -0
  174. package/dist/components/input.js +893 -0
  175. package/dist/components/input.mjs +11 -0
  176. package/dist/components/kbd.d.ts +51 -0
  177. package/dist/components/kbd.js +82 -0
  178. package/dist/components/kbd.mjs +7 -0
  179. package/dist/components/link.d.ts +232 -0
  180. package/dist/components/link.js +164 -0
  181. package/dist/components/link.mjs +13 -0
  182. package/dist/components/listbox.d.ts +3 -0
  183. package/dist/components/listbox.js +531 -0
  184. package/dist/components/listbox.mjs +16 -0
  185. package/dist/components/menu.d.ts +512 -0
  186. package/dist/components/menu.js +531 -0
  187. package/dist/components/menu.mjs +15 -0
  188. package/dist/components/modal.d.ts +765 -0
  189. package/dist/components/modal.js +236 -0
  190. package/dist/components/modal.mjs +11 -0
  191. package/dist/components/navbar.d.ts +463 -0
  192. package/dist/components/navbar.js +260 -0
  193. package/dist/components/navbar.mjs +11 -0
  194. package/dist/components/pagination.d.ts +587 -0
  195. package/dist/components/pagination.js +532 -0
  196. package/dist/components/pagination.mjs +11 -0
  197. package/dist/components/popover.d.ts +715 -0
  198. package/dist/components/popover.js +303 -0
  199. package/dist/components/popover.mjs +11 -0
  200. package/dist/components/progress.d.ts +294 -0
  201. package/dist/components/progress.js +173 -0
  202. package/dist/components/progress.mjs +7 -0
  203. package/dist/components/radio.d.ts +708 -0
  204. package/dist/components/radio.js +220 -0
  205. package/dist/components/radio.mjs +13 -0
  206. package/dist/components/scroll-shadow.d.ts +82 -0
  207. package/dist/components/scroll-shadow.js +85 -0
  208. package/dist/components/scroll-shadow.mjs +7 -0
  209. package/dist/components/select.d.ts +901 -0
  210. package/dist/components/select.js +778 -0
  211. package/dist/components/select.mjs +11 -0
  212. package/dist/components/skeleton.d.ts +105 -0
  213. package/dist/components/skeleton.js +105 -0
  214. package/dist/components/skeleton.mjs +7 -0
  215. package/dist/components/slider.d.ts +1024 -0
  216. package/dist/components/slider.js +446 -0
  217. package/dist/components/slider.mjs +11 -0
  218. package/dist/components/snippet.d.ts +415 -0
  219. package/dist/components/snippet.js +426 -0
  220. package/dist/components/snippet.mjs +11 -0
  221. package/dist/components/spacer.d.ts +52 -0
  222. package/dist/components/spacer.js +70 -0
  223. package/dist/components/spacer.mjs +7 -0
  224. package/dist/components/spinner.d.ts +564 -0
  225. package/dist/components/spinner.js +171 -0
  226. package/dist/components/spinner.mjs +7 -0
  227. package/dist/components/table.d.ts +777 -0
  228. package/dist/components/table.js +286 -0
  229. package/dist/components/table.mjs +11 -0
  230. package/dist/components/tabs.d.ts +772 -0
  231. package/dist/components/tabs.js +522 -0
  232. package/dist/components/tabs.mjs +11 -0
  233. package/dist/components/toggle.d.ts +485 -0
  234. package/dist/components/toggle.js +228 -0
  235. package/dist/components/toggle.mjs +11 -0
  236. package/dist/components/user.d.ts +81 -0
  237. package/dist/components/user.js +78 -0
  238. package/dist/components/user.mjs +11 -0
  239. package/dist/default-layout.d.ts +8 -0
  240. package/dist/default-layout.js +75 -0
  241. package/dist/default-layout.mjs +10 -0
  242. package/dist/index.d.ts +52 -0
  243. package/dist/index.js +9585 -0
  244. package/dist/index.mjs +252 -0
  245. package/dist/plugin.d.ts +12 -0
  246. package/dist/plugin.js +775 -0
  247. package/dist/plugin.mjs +28 -0
  248. package/dist/types.d.ts +138 -0
  249. package/dist/types.js +18 -0
  250. package/dist/types.mjs +1 -0
  251. package/dist/utilities/custom.d.ts +22 -0
  252. package/dist/utilities/custom.js +44 -0
  253. package/dist/utilities/custom.mjs +6 -0
  254. package/dist/utilities/index.d.ts +83 -0
  255. package/dist/utilities/index.js +128 -0
  256. package/dist/utilities/index.mjs +9 -0
  257. package/dist/utilities/scrollbar-hide.d.ts +24 -0
  258. package/dist/utilities/scrollbar-hide.js +43 -0
  259. package/dist/utilities/scrollbar-hide.mjs +6 -0
  260. package/dist/utilities/transition.d.ts +58 -0
  261. package/dist/utilities/transition.js +83 -0
  262. package/dist/utilities/transition.mjs +8 -0
  263. package/dist/utils/classes.d.ts +34 -0
  264. package/dist/utils/classes.js +91 -0
  265. package/dist/utils/classes.mjs +20 -0
  266. package/dist/utils/index.d.ts +4 -0
  267. package/dist/utils/index.js +169 -0
  268. package/dist/utils/index.mjs +26 -0
  269. package/dist/utils/object.d.ts +12 -0
  270. package/dist/utils/object.js +73 -0
  271. package/dist/utils/object.mjs +10 -0
  272. package/dist/utils/theme.d.ts +9 -0
  273. package/dist/utils/theme.js +30 -0
  274. package/dist/utils/theme.mjs +6 -0
  275. package/dist/utils/tv.d.ts +5 -0
  276. package/dist/utils/tv.js +54 -0
  277. package/dist/utils/tv.mjs +6 -0
  278. package/dist/utils/types.d.ts +10 -0
  279. package/dist/utils/types.js +18 -0
  280. package/dist/utils/types.mjs +1 -0
  281. package/dist/utils/variants.d.ts +67 -0
  282. package/dist/utils/variants.js +101 -0
  283. package/dist/utils/variants.mjs +6 -0
  284. package/package.json +100 -0
  285. package/plugin.d.ts +1 -0
  286. package/plugin.js +1 -0
@@ -0,0 +1,23 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+ import {
5
+ dataFocusVisibleClasses
6
+ } from "./chunk-XHQUSKIE.mjs";
7
+
8
+ // src/components/user.ts
9
+ var user = tv({
10
+ slots: {
11
+ base: [
12
+ "inline-flex items-center justify-center gap-2 rounded-small outline-none",
13
+ ...dataFocusVisibleClasses
14
+ ],
15
+ wrapper: "inline-flex flex-col items-start",
16
+ name: "text-small text-inherit",
17
+ description: "text-tiny text-foreground-400"
18
+ }
19
+ });
20
+
21
+ export {
22
+ user
23
+ };
@@ -0,0 +1,214 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+ import {
5
+ groupDataFocusVisibleClasses
6
+ } from "./chunk-XHQUSKIE.mjs";
7
+
8
+ // src/components/checkbox.ts
9
+ var checkbox = tv({
10
+ slots: {
11
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",
12
+ wrapper: [
13
+ "relative",
14
+ "inline-flex",
15
+ "items-center",
16
+ "justify-center",
17
+ "flex-shrink-0",
18
+ "overflow-hidden",
19
+ "before:content-['']",
20
+ "before:absolute",
21
+ "before:inset-0",
22
+ "before:border-solid",
23
+ "before:border-2",
24
+ "before:box-border",
25
+ "before:border-default",
26
+ "after:content-['']",
27
+ "after:absolute",
28
+ "after:inset-0",
29
+ "after:scale-50",
30
+ "after:opacity-0",
31
+ "after:origin-center",
32
+ "group-data-[selected=true]:after:scale-100",
33
+ "group-data-[selected=true]:after:opacity-100",
34
+ "group-data-[hover=true]:before:bg-default-100",
35
+ ...groupDataFocusVisibleClasses
36
+ ],
37
+ icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
38
+ label: "relative text-foreground select-none"
39
+ },
40
+ variants: {
41
+ color: {
42
+ default: {
43
+ wrapper: "after:bg-default after:text-default-foreground text-default-foreground"
44
+ },
45
+ primary: {
46
+ wrapper: "after:bg-primary after:text-primary-foreground text-primary-foreground"
47
+ },
48
+ secondary: {
49
+ wrapper: "after:bg-secondary after:text-secondary-foreground text-secondary-foreground"
50
+ },
51
+ success: {
52
+ wrapper: "after:bg-success after:text-success-foreground text-success-foreground"
53
+ },
54
+ warning: {
55
+ wrapper: "after:bg-warning after:text-warning-foreground text-warning-foreground"
56
+ },
57
+ danger: {
58
+ wrapper: "after:bg-danger after:text-danger-foreground text-danger-foreground"
59
+ }
60
+ },
61
+ size: {
62
+ sm: {
63
+ wrapper: [
64
+ "w-4 h-4 mr-2 rtl:ml-2 rtl:mr-[unset]",
65
+ "rounded-[calc(theme(borderRadius.medium)*0.5)]",
66
+ "before:rounded-[calc(theme(borderRadius.medium)*0.5)]",
67
+ "after:rounded-[calc(theme(borderRadius.medium)*0.5)]"
68
+ ],
69
+ label: "text-small",
70
+ icon: "w-3 h-2"
71
+ },
72
+ md: {
73
+ wrapper: [
74
+ "w-5 h-5 mr-2 rtl:ml-2 rtl:mr-[unset]",
75
+ "rounded-[calc(theme(borderRadius.medium)*0.6)]",
76
+ "before:rounded-[calc(theme(borderRadius.medium)*0.6)]",
77
+ "after:rounded-[calc(theme(borderRadius.medium)*0.6)]"
78
+ ],
79
+ label: "text-medium",
80
+ icon: "w-4 h-3"
81
+ },
82
+ lg: {
83
+ wrapper: [
84
+ "w-6 h-6 mr-2 rtl:ml-2 rtl:mr-[unset]",
85
+ "rounded-[calc(theme(borderRadius.medium)*0.7)]",
86
+ "before:rounded-[calc(theme(borderRadius.medium)*0.7)]",
87
+ "after:rounded-[calc(theme(borderRadius.medium)*0.7)]"
88
+ ],
89
+ label: "text-large",
90
+ icon: "w-5 h-4"
91
+ }
92
+ },
93
+ radius: {
94
+ none: {
95
+ wrapper: "rounded-none before:rounded-none after:rounded-none"
96
+ },
97
+ sm: {
98
+ wrapper: [
99
+ "rounded-[calc(theme(borderRadius.medium)*0.5)]",
100
+ "before:rounded-[calc(theme(borderRadius.medium)*0.5)]",
101
+ "after:rounded-[calc(theme(borderRadius.medium)*0.5)]"
102
+ ]
103
+ },
104
+ md: {
105
+ wrapper: [
106
+ "rounded-[calc(theme(borderRadius.medium)*0.6)]",
107
+ "before:rounded-[calc(theme(borderRadius.medium)*0.6)]",
108
+ "after:rounded-[calc(theme(borderRadius.medium)*0.6)]"
109
+ ]
110
+ },
111
+ lg: {
112
+ wrapper: [
113
+ "rounded-[calc(theme(borderRadius.medium)*0.7)]",
114
+ "before:rounded-[calc(theme(borderRadius.medium)*0.7)]",
115
+ "after:rounded-[calc(theme(borderRadius.medium)*0.7)]"
116
+ ]
117
+ },
118
+ full: {
119
+ wrapper: "rounded-full before:rounded-full after:rounded-full"
120
+ }
121
+ },
122
+ lineThrough: {
123
+ true: {
124
+ label: [
125
+ "inline-flex",
126
+ "items-center",
127
+ "justify-center",
128
+ "before:content-['']",
129
+ "before:absolute",
130
+ "before:bg-foreground",
131
+ "before:w-0",
132
+ "before:h-0.5",
133
+ "group-data-[selected=true]:opacity-60",
134
+ "group-data-[selected=true]:before:w-full"
135
+ ]
136
+ }
137
+ },
138
+ isDisabled: {
139
+ true: {
140
+ base: "opacity-disabled pointer-events-none"
141
+ }
142
+ },
143
+ isInvalid: {
144
+ true: {
145
+ wrapper: "before:border-danger",
146
+ label: "text-danger"
147
+ }
148
+ },
149
+ disableAnimation: {
150
+ true: {
151
+ wrapper: "transition-none",
152
+ icon: "transition-none",
153
+ label: "transition-none"
154
+ },
155
+ false: {
156
+ wrapper: [
157
+ "before:transition-colors",
158
+ "group-data-[pressed=true]:scale-95",
159
+ "transition-transform",
160
+ "after:transition-transform-opacity",
161
+ "after:!ease-linear",
162
+ "after:!duration-200",
163
+ "motion-reduce:transition-none"
164
+ ],
165
+ icon: "transition-opacity motion-reduce:transition-none",
166
+ label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
167
+ }
168
+ }
169
+ },
170
+ defaultVariants: {
171
+ color: "primary",
172
+ size: "md",
173
+ isDisabled: false,
174
+ lineThrough: false,
175
+ disableAnimation: false
176
+ }
177
+ });
178
+ var checkboxGroup = tv({
179
+ slots: {
180
+ base: "relative flex flex-col gap-2",
181
+ label: "relative text-medium text-foreground-500",
182
+ wrapper: "flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",
183
+ description: "text-small text-foreground-400",
184
+ errorMessage: "text-small text-danger"
185
+ },
186
+ variants: {
187
+ isRequired: {
188
+ true: {
189
+ label: "after:content-['*'] after:text-danger after:ml-0.5"
190
+ }
191
+ },
192
+ isInvalid: {
193
+ true: {
194
+ description: "text-danger"
195
+ }
196
+ },
197
+ disableAnimation: {
198
+ true: {},
199
+ false: {
200
+ description: "transition-colors !duration-150 motion-reduce:transition-none"
201
+ }
202
+ }
203
+ },
204
+ defaultVariants: {
205
+ isInvalid: false,
206
+ isRequired: false,
207
+ disableAnimation: false
208
+ }
209
+ });
210
+
211
+ export {
212
+ checkbox,
213
+ checkboxGroup
214
+ };
@@ -0,0 +1,205 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+ import {
5
+ dataFocusVisibleClasses
6
+ } from "./chunk-XHQUSKIE.mjs";
7
+
8
+ // src/components/navbar.ts
9
+ var navbar = tv({
10
+ slots: {
11
+ base: [
12
+ "flex",
13
+ "z-40",
14
+ "w-full",
15
+ "h-auto",
16
+ "items-center",
17
+ "justify-center",
18
+ "data-[menu-open=true]:border-none"
19
+ ],
20
+ wrapper: [
21
+ "z-40",
22
+ "flex",
23
+ "px-6",
24
+ "gap-4",
25
+ "w-full",
26
+ "flex-row",
27
+ "relative",
28
+ "flex-nowrap",
29
+ "items-center",
30
+ "justify-between",
31
+ "h-[var(--navbar-height)]"
32
+ ],
33
+ toggle: [
34
+ "group",
35
+ "flex",
36
+ "items-center",
37
+ "justify-center",
38
+ "w-6",
39
+ "h-full",
40
+ "outline-none",
41
+ "rounded-small",
42
+ "tap-highlight-transparent",
43
+ ...dataFocusVisibleClasses
44
+ ],
45
+ srOnly: ["sr-only"],
46
+ toggleIcon: [
47
+ "w-full",
48
+ "h-full",
49
+ "pointer-events-none",
50
+ "flex",
51
+ "flex-col",
52
+ "items-center",
53
+ "justify-center",
54
+ "text-inherit",
55
+ "group-data-[pressed=true]:opacity-70",
56
+ "transition-opacity",
57
+ "before:content-['']",
58
+ "before:block",
59
+ "before:h-px",
60
+ "before:w-6",
61
+ "before:bg-current",
62
+ "before:transition-transform",
63
+ "before:duration-150",
64
+ "before:-translate-y-1",
65
+ "before:rotate-0",
66
+ "group-data-[open=true]:before:translate-y-px",
67
+ "group-data-[open=true]:before:rotate-45",
68
+ "after:content-['']",
69
+ "after:block",
70
+ "after:h-px",
71
+ "after:w-6",
72
+ "after:bg-current",
73
+ "after:transition-transform",
74
+ "after:duration-150",
75
+ "after:translate-y-1",
76
+ "after:rotate-0",
77
+ "group-data-[open=true]:after:translate-y-0",
78
+ "group-data-[open=true]:after:-rotate-45"
79
+ ],
80
+ brand: [
81
+ "flex",
82
+ "basis-0",
83
+ "flex-row",
84
+ "flex-grow",
85
+ "flex-nowrap",
86
+ "justify-start",
87
+ "bg-transparent",
88
+ "items-center",
89
+ "no-underline",
90
+ "text-medium",
91
+ "whitespace-nowrap",
92
+ "box-border"
93
+ ],
94
+ content: [
95
+ "flex",
96
+ "gap-4",
97
+ "h-full",
98
+ "flex-row",
99
+ "flex-nowrap",
100
+ "items-center",
101
+ "data-[justify=start]:justify-start",
102
+ "data-[justify=start]:flex-grow",
103
+ "data-[justify=start]:basis-0",
104
+ "data-[justify=center]:justify-center",
105
+ "data-[justify=end]:justify-end",
106
+ "data-[justify=end]:flex-grow",
107
+ "data-[justify=end]:basis-0"
108
+ ],
109
+ item: [
110
+ "text-medium",
111
+ "whitespace-nowrap",
112
+ "box-border",
113
+ "list-none",
114
+ "data-[active=true]:font-semibold"
115
+ ],
116
+ menu: [
117
+ "z-30",
118
+ "px-6",
119
+ "pt-2",
120
+ "fixed",
121
+ "flex",
122
+ "max-w-full",
123
+ "top-[var(--navbar-height)]",
124
+ "inset-x-0",
125
+ "bottom-0",
126
+ "w-screen",
127
+ "flex-col",
128
+ "gap-2",
129
+ "overflow-y-auto"
130
+ ],
131
+ menuItem: [
132
+ "text-large",
133
+ "data-[active=true]:font-semibold"
134
+ ]
135
+ },
136
+ variants: {
137
+ position: {
138
+ static: {
139
+ base: "static"
140
+ },
141
+ sticky: {
142
+ base: "sticky top-0 inset-x-0"
143
+ }
144
+ },
145
+ maxWidth: {
146
+ sm: {
147
+ wrapper: "max-w-[640px]"
148
+ },
149
+ md: {
150
+ wrapper: "max-w-[768px]"
151
+ },
152
+ lg: {
153
+ wrapper: "max-w-[1024px]"
154
+ },
155
+ xl: {
156
+ wrapper: "max-w-[1280px]"
157
+ },
158
+ "2xl": {
159
+ wrapper: "max-w-[1536px]"
160
+ },
161
+ full: {
162
+ wrapper: "max-w-full"
163
+ }
164
+ },
165
+ hideOnScroll: {
166
+ true: {
167
+ base: ["sticky", "top-0", "inset-x-0"]
168
+ }
169
+ },
170
+ isBordered: {
171
+ true: {
172
+ base: ["border-b", "border-divider"]
173
+ }
174
+ },
175
+ isBlurred: {
176
+ false: {
177
+ base: "bg-background",
178
+ menu: "bg-background"
179
+ },
180
+ true: {
181
+ base: [
182
+ "backdrop-blur-lg",
183
+ "data-[menu-open=true]:backdrop-blur-xl",
184
+ "backdrop-saturate-150",
185
+ "bg-background/70"
186
+ ],
187
+ menu: ["backdrop-blur-xl", "backdrop-saturate-150", "bg-background/70"]
188
+ }
189
+ },
190
+ disableAnimation: {
191
+ true: {
192
+ menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"]
193
+ }
194
+ }
195
+ },
196
+ defaultVariants: {
197
+ maxWidth: "lg",
198
+ position: "sticky",
199
+ isBlurred: true
200
+ }
201
+ });
202
+
203
+ export {
204
+ navbar
205
+ };
@@ -0,0 +1,17 @@
1
+ // src/colors/green.ts
2
+ var green = {
3
+ 50: "#e8faf0",
4
+ 100: "#d1f4e0",
5
+ 200: "#a2e9c1",
6
+ 300: "#74dfa2",
7
+ 400: "#45d483",
8
+ 500: "#17c964",
9
+ 600: "#12a150",
10
+ 700: "#0e793c",
11
+ 800: "#095028",
12
+ 900: "#052814"
13
+ };
14
+
15
+ export {
16
+ green
17
+ };
@@ -0,0 +1,122 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
5
+ // src/components/spinner.ts
6
+ var spinner = tv({
7
+ slots: {
8
+ base: "relative inline-flex flex-col gap-2 items-center justify-center",
9
+ wrapper: "relative flex",
10
+ circle1: [
11
+ "absolute",
12
+ "w-full",
13
+ "h-full",
14
+ "rounded-full",
15
+ "animate-spinner-ease-spin",
16
+ "border-2",
17
+ "border-solid",
18
+ "border-t-transparent",
19
+ "border-l-transparent",
20
+ "border-r-transparent"
21
+ ],
22
+ circle2: [
23
+ "absolute",
24
+ "w-full",
25
+ "h-full",
26
+ "rounded-full",
27
+ "opacity-75",
28
+ "animate-spinner-linear-spin",
29
+ "border-2",
30
+ "border-dotted",
31
+ "border-t-transparent",
32
+ "border-l-transparent",
33
+ "border-r-transparent"
34
+ ],
35
+ label: "text-foreground dark:text-foreground-dark font-regular"
36
+ },
37
+ variants: {
38
+ size: {
39
+ sm: {
40
+ wrapper: "w-5 h-5",
41
+ circle1: "border-2",
42
+ circle2: "border-2",
43
+ label: "text-small"
44
+ },
45
+ md: {
46
+ wrapper: "w-8 h-8",
47
+ circle1: "border-3",
48
+ circle2: "border-3",
49
+ label: "text-medium"
50
+ },
51
+ lg: {
52
+ wrapper: "w-10 h-10",
53
+ circle1: "border-3",
54
+ circle2: "border-3",
55
+ label: "text-large"
56
+ }
57
+ },
58
+ color: {
59
+ current: {
60
+ circle1: "border-b-current",
61
+ circle2: "border-b-current"
62
+ },
63
+ white: {
64
+ circle1: "border-b-white",
65
+ circle2: "border-b-white"
66
+ },
67
+ default: {
68
+ circle1: "border-b-default",
69
+ circle2: "border-b-default"
70
+ },
71
+ primary: {
72
+ circle1: "border-b-primary",
73
+ circle2: "border-b-primary"
74
+ },
75
+ secondary: {
76
+ circle1: "border-b-secondary",
77
+ circle2: "border-b-secondary"
78
+ },
79
+ success: {
80
+ circle1: "border-b-success",
81
+ circle2: "border-b-success"
82
+ },
83
+ warning: {
84
+ circle1: "border-b-warning",
85
+ circle2: "border-b-warning"
86
+ },
87
+ danger: {
88
+ circle1: "border-b-danger",
89
+ circle2: "border-b-danger"
90
+ }
91
+ },
92
+ labelColor: {
93
+ foreground: {
94
+ label: "text-foreground"
95
+ },
96
+ primary: {
97
+ label: "text-primary"
98
+ },
99
+ secondary: {
100
+ label: "text-secondary"
101
+ },
102
+ success: {
103
+ label: "text-success"
104
+ },
105
+ warning: {
106
+ label: "text-warning"
107
+ },
108
+ danger: {
109
+ label: "text-danger"
110
+ }
111
+ }
112
+ },
113
+ defaultVariants: {
114
+ size: "md",
115
+ color: "primary",
116
+ labelColor: "foreground"
117
+ }
118
+ });
119
+
120
+ export {
121
+ spinner
122
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ semanticColors
3
+ } from "./chunk-G4RCK475.mjs";
4
+ import {
5
+ commonColors
6
+ } from "./chunk-IAS3SFA4.mjs";
7
+
8
+ // src/colors/index.ts
9
+ var colors = {
10
+ ...commonColors,
11
+ ...semanticColors
12
+ };
13
+
14
+ export {
15
+ colors
16
+ };