@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,299 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/breadcrumbs.ts
21
+ var breadcrumbs_exports = {};
22
+ __export(breadcrumbs_exports, {
23
+ breadcrumbItem: () => breadcrumbItem,
24
+ breadcrumbs: () => breadcrumbs
25
+ });
26
+ module.exports = __toCommonJS(breadcrumbs_exports);
27
+
28
+ // src/utils/classes.ts
29
+ var dataFocusVisibleClasses = [
30
+ "outline-none",
31
+ "data-[focus-visible=true]:z-10",
32
+ "data-[focus-visible=true]:outline-2",
33
+ "data-[focus-visible=true]:outline-focus",
34
+ "data-[focus-visible=true]:outline-offset-2"
35
+ ];
36
+
37
+ // src/utils/tv.ts
38
+ var import_tailwind_variants = require("tailwind-variants");
39
+ var COMMON_UNITS = ["small", "medium", "large"];
40
+ var tv = (options, config) => {
41
+ var _a, _b, _c;
42
+ return (0, import_tailwind_variants.tv)(options, {
43
+ ...config,
44
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
45
+ twMergeConfig: {
46
+ ...config == null ? void 0 : config.twMergeConfig,
47
+ theme: {
48
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
49
+ opacity: ["disabled"],
50
+ spacing: ["divider"],
51
+ borderWidth: COMMON_UNITS,
52
+ borderRadius: COMMON_UNITS
53
+ },
54
+ classGroups: {
55
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
56
+ shadow: [{ shadow: COMMON_UNITS }],
57
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
58
+ "bg-image": ["bg-stripe-gradient"]
59
+ }
60
+ }
61
+ });
62
+ };
63
+
64
+ // src/components/breadcrumbs.ts
65
+ var breadcrumbItem = tv({
66
+ slots: {
67
+ base: "flex items-center",
68
+ item: [
69
+ "flex gap-1 items-center",
70
+ "cursor-pointer",
71
+ "whitespace-nowrap",
72
+ "line-clamp-1",
73
+ "outline-none",
74
+ "tap-highlight-transparent",
75
+ ...dataFocusVisibleClasses
76
+ ],
77
+ separator: "text-default-400 px-1"
78
+ },
79
+ variants: {
80
+ color: {
81
+ foreground: {
82
+ item: "text-foreground/50",
83
+ separator: "text-foreground/50"
84
+ },
85
+ primary: {
86
+ item: "text-primary/80",
87
+ separator: "text-primary/80"
88
+ },
89
+ secondary: {
90
+ item: "text-secondary/80",
91
+ separator: "text-secondary/80"
92
+ },
93
+ success: {
94
+ item: "text-success/80",
95
+ separator: "text-success/80"
96
+ },
97
+ warning: {
98
+ item: "text-warning/80",
99
+ separator: "text-warning/80"
100
+ },
101
+ danger: {
102
+ item: "text-danger/80",
103
+ separator: "text-danger/80"
104
+ }
105
+ },
106
+ size: {
107
+ sm: {
108
+ item: "text-tiny"
109
+ },
110
+ md: {
111
+ item: "text-small"
112
+ },
113
+ lg: {
114
+ item: "text-medium"
115
+ }
116
+ },
117
+ underline: {
118
+ none: {
119
+ item: "no-underline"
120
+ },
121
+ hover: {
122
+ item: "hover:underline"
123
+ },
124
+ always: {
125
+ item: "underline"
126
+ },
127
+ active: {
128
+ item: "active:underline"
129
+ },
130
+ focus: {
131
+ item: "focus:underline"
132
+ }
133
+ },
134
+ isCurrent: {
135
+ true: {
136
+ item: "cursor-default"
137
+ },
138
+ false: {
139
+ item: ["hover:opacity-80", "active:opacity-disabled"]
140
+ }
141
+ },
142
+ isDisabled: {
143
+ true: {
144
+ item: "opacity-disabled pointer-events-none",
145
+ separator: "opacity-disabled"
146
+ }
147
+ },
148
+ disableAnimation: {
149
+ false: {
150
+ item: "transition-opacity"
151
+ },
152
+ true: {
153
+ item: "transition-none"
154
+ }
155
+ }
156
+ },
157
+ defaultVariants: {
158
+ size: "md",
159
+ color: "foreground",
160
+ underline: "hover",
161
+ isDisabled: false,
162
+ disableAnimation: false
163
+ },
164
+ compoundVariants: [
165
+ {
166
+ isCurrent: true,
167
+ color: "foreground",
168
+ class: {
169
+ item: "text-foreground"
170
+ }
171
+ },
172
+ {
173
+ isCurrent: true,
174
+ color: "primary",
175
+ class: {
176
+ item: "text-primary"
177
+ }
178
+ },
179
+ {
180
+ isCurrent: true,
181
+ color: "secondary",
182
+ class: {
183
+ item: "text-secondary"
184
+ }
185
+ },
186
+ {
187
+ isCurrent: true,
188
+ color: "success",
189
+ class: {
190
+ item: "text-success"
191
+ }
192
+ },
193
+ {
194
+ isCurrent: true,
195
+ color: "warning",
196
+ class: {
197
+ item: "text-warning"
198
+ }
199
+ },
200
+ {
201
+ isCurrent: true,
202
+ color: "danger",
203
+ class: {
204
+ item: "text-danger"
205
+ }
206
+ },
207
+ {
208
+ isCurrent: false,
209
+ underline: "none",
210
+ class: {
211
+ item: "no-underline"
212
+ }
213
+ },
214
+ {
215
+ underline: ["hover", "always", "active", "focus"],
216
+ class: "underline-offset-4"
217
+ }
218
+ ]
219
+ });
220
+ var breadcrumbs = tv({
221
+ slots: {
222
+ base: "",
223
+ list: "flex flex-wrap list-none",
224
+ ellipsis: "text-medium",
225
+ separator: "text-default-400 px-1"
226
+ },
227
+ variants: {
228
+ size: {
229
+ sm: {},
230
+ md: {},
231
+ lg: {}
232
+ },
233
+ radius: {
234
+ none: {
235
+ list: "rounded-none"
236
+ },
237
+ sm: {
238
+ list: "rounded-small"
239
+ },
240
+ md: {
241
+ list: "rounded-medium"
242
+ },
243
+ lg: {
244
+ list: "rounded-large"
245
+ },
246
+ full: {
247
+ list: "rounded-full"
248
+ }
249
+ },
250
+ variant: {
251
+ solid: {
252
+ list: "bg-default-100"
253
+ },
254
+ bordered: {
255
+ list: "border-medium border-default-200 shadow-sm"
256
+ },
257
+ light: {}
258
+ }
259
+ },
260
+ defaultVariants: {
261
+ size: "md",
262
+ radius: "sm",
263
+ variant: "light"
264
+ },
265
+ compoundVariants: [
266
+ {
267
+ variant: ["solid", "bordered"],
268
+ class: {
269
+ list: "max-w-fit"
270
+ }
271
+ },
272
+ {
273
+ variant: ["solid", "bordered"],
274
+ size: "sm",
275
+ class: {
276
+ list: "px-2 py-1"
277
+ }
278
+ },
279
+ {
280
+ variant: ["solid", "bordered"],
281
+ size: "md",
282
+ class: {
283
+ list: "px-2.5 py-1.5"
284
+ }
285
+ },
286
+ {
287
+ variant: ["solid", "bordered"],
288
+ size: "lg",
289
+ class: {
290
+ list: "px-3 py-2"
291
+ }
292
+ }
293
+ ]
294
+ });
295
+ // Annotate the CommonJS export names for ESM import in node:
296
+ 0 && (module.exports = {
297
+ breadcrumbItem,
298
+ breadcrumbs
299
+ });
@@ -0,0 +1,13 @@
1
+ import {
2
+ breadcrumbItem,
3
+ breadcrumbs
4
+ } from "../chunk-6XJJCV76.mjs";
5
+ import "../chunk-CMYR6AOY.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
+ import "../chunk-2PIR7DFM.mjs";
8
+ import "../chunk-GMMETTYU.mjs";
9
+ import "../chunk-XHQUSKIE.mjs";
10
+ export {
11
+ breadcrumbItem,
12
+ breadcrumbs
13
+ };
@@ -0,0 +1,393 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
+
5
+ /**
6
+ * Button wrapper **Tailwind Variants** component
7
+ *
8
+ * const classNames = button({...})
9
+ *
10
+ * @example
11
+ * <button
12
+ * className={classNames())}
13
+ * data-pressed={true/false}
14
+ * data-hover={true/false}
15
+ * data-focus={true/false}
16
+ * data-focus-visible={true/false}
17
+ * >
18
+ * Button
19
+ * </button>
20
+ */
21
+ declare const button: tailwind_variants.TVReturnType<{
22
+ variant: {
23
+ solid: "";
24
+ bordered: "border-medium bg-transparent";
25
+ light: "bg-transparent";
26
+ flat: "";
27
+ faded: "border-medium";
28
+ shadow: "";
29
+ ghost: "border-medium bg-transparent";
30
+ };
31
+ size: {
32
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
33
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
34
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
35
+ };
36
+ color: {
37
+ default: "";
38
+ primary: "";
39
+ secondary: "";
40
+ success: "";
41
+ warning: "";
42
+ danger: "";
43
+ };
44
+ radius: {
45
+ none: "rounded-none";
46
+ sm: "rounded-small";
47
+ md: "rounded-medium";
48
+ lg: "rounded-large";
49
+ full: "rounded-full";
50
+ };
51
+ fullWidth: {
52
+ true: "w-full";
53
+ };
54
+ isDisabled: {
55
+ true: "opacity-disabled pointer-events-none";
56
+ };
57
+ isInGroup: {
58
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
59
+ };
60
+ isIconOnly: {
61
+ true: "px-0 !gap-0";
62
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
63
+ };
64
+ disableAnimation: {
65
+ true: "!transition-none";
66
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
67
+ };
68
+ }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
69
+ variant: {
70
+ solid: "";
71
+ bordered: "border-medium bg-transparent";
72
+ light: "bg-transparent";
73
+ flat: "";
74
+ faded: "border-medium";
75
+ shadow: "";
76
+ ghost: "border-medium bg-transparent";
77
+ };
78
+ size: {
79
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
80
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
81
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
82
+ };
83
+ color: {
84
+ default: "";
85
+ primary: "";
86
+ secondary: "";
87
+ success: "";
88
+ warning: "";
89
+ danger: "";
90
+ };
91
+ radius: {
92
+ none: "rounded-none";
93
+ sm: "rounded-small";
94
+ md: "rounded-medium";
95
+ lg: "rounded-large";
96
+ full: "rounded-full";
97
+ };
98
+ fullWidth: {
99
+ true: "w-full";
100
+ };
101
+ isDisabled: {
102
+ true: "opacity-disabled pointer-events-none";
103
+ };
104
+ isInGroup: {
105
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
106
+ };
107
+ isIconOnly: {
108
+ true: "px-0 !gap-0";
109
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
110
+ };
111
+ disableAnimation: {
112
+ true: "!transition-none";
113
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
114
+ };
115
+ }, {
116
+ variant: {
117
+ solid: "";
118
+ bordered: "border-medium bg-transparent";
119
+ light: "bg-transparent";
120
+ flat: "";
121
+ faded: "border-medium";
122
+ shadow: "";
123
+ ghost: "border-medium bg-transparent";
124
+ };
125
+ size: {
126
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
127
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
128
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
129
+ };
130
+ color: {
131
+ default: "";
132
+ primary: "";
133
+ secondary: "";
134
+ success: "";
135
+ warning: "";
136
+ danger: "";
137
+ };
138
+ radius: {
139
+ none: "rounded-none";
140
+ sm: "rounded-small";
141
+ md: "rounded-medium";
142
+ lg: "rounded-large";
143
+ full: "rounded-full";
144
+ };
145
+ fullWidth: {
146
+ true: "w-full";
147
+ };
148
+ isDisabled: {
149
+ true: "opacity-disabled pointer-events-none";
150
+ };
151
+ isInGroup: {
152
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
153
+ };
154
+ isIconOnly: {
155
+ true: "px-0 !gap-0";
156
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
157
+ };
158
+ disableAnimation: {
159
+ true: "!transition-none";
160
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
161
+ };
162
+ }>, {
163
+ variant: {
164
+ solid: "";
165
+ bordered: "border-medium bg-transparent";
166
+ light: "bg-transparent";
167
+ flat: "";
168
+ faded: "border-medium";
169
+ shadow: "";
170
+ ghost: "border-medium bg-transparent";
171
+ };
172
+ size: {
173
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
174
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
175
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
176
+ };
177
+ color: {
178
+ default: "";
179
+ primary: "";
180
+ secondary: "";
181
+ success: "";
182
+ warning: "";
183
+ danger: "";
184
+ };
185
+ radius: {
186
+ none: "rounded-none";
187
+ sm: "rounded-small";
188
+ md: "rounded-medium";
189
+ lg: "rounded-large";
190
+ full: "rounded-full";
191
+ };
192
+ fullWidth: {
193
+ true: "w-full";
194
+ };
195
+ isDisabled: {
196
+ true: "opacity-disabled pointer-events-none";
197
+ };
198
+ isInGroup: {
199
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
200
+ };
201
+ isIconOnly: {
202
+ true: "px-0 !gap-0";
203
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
204
+ };
205
+ disableAnimation: {
206
+ true: "!transition-none";
207
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
208
+ };
209
+ }, undefined, tailwind_variants.TVReturnType<{
210
+ variant: {
211
+ solid: "";
212
+ bordered: "border-medium bg-transparent";
213
+ light: "bg-transparent";
214
+ flat: "";
215
+ faded: "border-medium";
216
+ shadow: "";
217
+ ghost: "border-medium bg-transparent";
218
+ };
219
+ size: {
220
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
221
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
222
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
223
+ };
224
+ color: {
225
+ default: "";
226
+ primary: "";
227
+ secondary: "";
228
+ success: "";
229
+ warning: "";
230
+ danger: "";
231
+ };
232
+ radius: {
233
+ none: "rounded-none";
234
+ sm: "rounded-small";
235
+ md: "rounded-medium";
236
+ lg: "rounded-large";
237
+ full: "rounded-full";
238
+ };
239
+ fullWidth: {
240
+ true: "w-full";
241
+ };
242
+ isDisabled: {
243
+ true: "opacity-disabled pointer-events-none";
244
+ };
245
+ isInGroup: {
246
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
247
+ };
248
+ isIconOnly: {
249
+ true: "px-0 !gap-0";
250
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
251
+ };
252
+ disableAnimation: {
253
+ true: "!transition-none";
254
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
255
+ };
256
+ }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
257
+ variant: {
258
+ solid: "";
259
+ bordered: "border-medium bg-transparent";
260
+ light: "bg-transparent";
261
+ flat: "";
262
+ faded: "border-medium";
263
+ shadow: "";
264
+ ghost: "border-medium bg-transparent";
265
+ };
266
+ size: {
267
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
268
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
269
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
270
+ };
271
+ color: {
272
+ default: "";
273
+ primary: "";
274
+ secondary: "";
275
+ success: "";
276
+ warning: "";
277
+ danger: "";
278
+ };
279
+ radius: {
280
+ none: "rounded-none";
281
+ sm: "rounded-small";
282
+ md: "rounded-medium";
283
+ lg: "rounded-large";
284
+ full: "rounded-full";
285
+ };
286
+ fullWidth: {
287
+ true: "w-full";
288
+ };
289
+ isDisabled: {
290
+ true: "opacity-disabled pointer-events-none";
291
+ };
292
+ isInGroup: {
293
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
294
+ };
295
+ isIconOnly: {
296
+ true: "px-0 !gap-0";
297
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
298
+ };
299
+ disableAnimation: {
300
+ true: "!transition-none";
301
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
302
+ };
303
+ }, {
304
+ variant: {
305
+ solid: "";
306
+ bordered: "border-medium bg-transparent";
307
+ light: "bg-transparent";
308
+ flat: "";
309
+ faded: "border-medium";
310
+ shadow: "";
311
+ ghost: "border-medium bg-transparent";
312
+ };
313
+ size: {
314
+ sm: "px-3 min-w-16 h-8 text-tiny gap-2 rounded-small";
315
+ md: "px-4 min-w-20 h-10 text-small gap-2 rounded-medium";
316
+ lg: "px-6 min-w-24 h-12 text-medium gap-3 rounded-large";
317
+ };
318
+ color: {
319
+ default: "";
320
+ primary: "";
321
+ secondary: "";
322
+ success: "";
323
+ warning: "";
324
+ danger: "";
325
+ };
326
+ radius: {
327
+ none: "rounded-none";
328
+ sm: "rounded-small";
329
+ md: "rounded-medium";
330
+ lg: "rounded-large";
331
+ full: "rounded-full";
332
+ };
333
+ fullWidth: {
334
+ true: "w-full";
335
+ };
336
+ isDisabled: {
337
+ true: "opacity-disabled pointer-events-none";
338
+ };
339
+ isInGroup: {
340
+ true: "[&:not(:first-child):not(:last-child)]:rounded-none";
341
+ };
342
+ isIconOnly: {
343
+ true: "px-0 !gap-0";
344
+ false: "[&>svg]:max-w-[theme(spacing.8)]";
345
+ };
346
+ disableAnimation: {
347
+ true: "!transition-none";
348
+ false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none";
349
+ };
350
+ }>, unknown, unknown, undefined>>;
351
+ /**
352
+ * ButtonGroup wrapper **Tailwind Variants** component
353
+ *
354
+ * const classNames = buttonGroup({...})
355
+ *
356
+ * @example
357
+ * <div role="group" className={classNames())}>
358
+ * // button elements
359
+ * </div>
360
+ */
361
+ declare const buttonGroup: tailwind_variants.TVReturnType<{
362
+ fullWidth: {
363
+ true: "w-full";
364
+ };
365
+ }, undefined, "inline-flex items-center justify-center h-auto", tailwind_variants_dist_config.TVConfig<{
366
+ fullWidth: {
367
+ true: "w-full";
368
+ };
369
+ }, {
370
+ fullWidth: {
371
+ true: "w-full";
372
+ };
373
+ }>, {
374
+ fullWidth: {
375
+ true: "w-full";
376
+ };
377
+ }, undefined, tailwind_variants.TVReturnType<{
378
+ fullWidth: {
379
+ true: "w-full";
380
+ };
381
+ }, undefined, "inline-flex items-center justify-center h-auto", tailwind_variants_dist_config.TVConfig<{
382
+ fullWidth: {
383
+ true: "w-full";
384
+ };
385
+ }, {
386
+ fullWidth: {
387
+ true: "w-full";
388
+ };
389
+ }>, unknown, unknown, undefined>>;
390
+ type ButtonGroupVariantProps = VariantProps<typeof buttonGroup>;
391
+ type ButtonVariantProps = VariantProps<typeof button>;
392
+
393
+ export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup };