@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,531 @@
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/listbox.ts
21
+ var listbox_exports = {};
22
+ __export(listbox_exports, {
23
+ listbox: () => menu,
24
+ listboxItem: () => menuItem,
25
+ listboxSection: () => menuSection
26
+ });
27
+ module.exports = __toCommonJS(listbox_exports);
28
+
29
+ // src/utils/tv.ts
30
+ var import_tailwind_variants = require("tailwind-variants");
31
+ var COMMON_UNITS = ["small", "medium", "large"];
32
+ var tv = (options, config) => {
33
+ var _a, _b, _c;
34
+ return (0, import_tailwind_variants.tv)(options, {
35
+ ...config,
36
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
37
+ twMergeConfig: {
38
+ ...config == null ? void 0 : config.twMergeConfig,
39
+ theme: {
40
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
41
+ opacity: ["disabled"],
42
+ spacing: ["divider"],
43
+ borderWidth: COMMON_UNITS,
44
+ borderRadius: COMMON_UNITS
45
+ },
46
+ classGroups: {
47
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
48
+ shadow: [{ shadow: COMMON_UNITS }],
49
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
50
+ "bg-image": ["bg-stripe-gradient"]
51
+ }
52
+ }
53
+ });
54
+ };
55
+
56
+ // src/utils/classes.ts
57
+ var dataFocusVisibleClasses = [
58
+ "outline-none",
59
+ "data-[focus-visible=true]:z-10",
60
+ "data-[focus-visible=true]:outline-2",
61
+ "data-[focus-visible=true]:outline-focus",
62
+ "data-[focus-visible=true]:outline-offset-2"
63
+ ];
64
+
65
+ // src/components/menu.ts
66
+ var menu = tv({
67
+ slots: {
68
+ base: "w-full relative flex flex-col gap-1 p-1",
69
+ list: "w-full flex flex-col gap-0.5 outline-none",
70
+ emptyContent: [
71
+ "h-10",
72
+ "px-2",
73
+ "py-1.5",
74
+ "w-full",
75
+ "h-full",
76
+ "text-foreground-400",
77
+ "text-start"
78
+ ]
79
+ }
80
+ });
81
+ var menuItem = tv({
82
+ slots: {
83
+ base: [
84
+ "flex",
85
+ "group",
86
+ "gap-2",
87
+ "items-center",
88
+ "justify-between",
89
+ "relative",
90
+ "px-2",
91
+ "py-1.5",
92
+ "w-full",
93
+ "h-full",
94
+ "box-border",
95
+ "rounded-small",
96
+ "subpixel-antialiased",
97
+ "outline-none",
98
+ "cursor-pointer",
99
+ "tap-highlight-transparent",
100
+ ...dataFocusVisibleClasses,
101
+ "data-[focus-visible=true]:dark:ring-offset-background-content1"
102
+ ],
103
+ wrapper: "w-full flex flex-col items-start justify-center",
104
+ title: "flex-1 text-small font-normal truncate",
105
+ description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
106
+ selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
107
+ shortcut: [
108
+ "px-1",
109
+ "py-0.5",
110
+ "rounded",
111
+ "font-sans",
112
+ "text-foreground-500",
113
+ "text-tiny",
114
+ "border-small",
115
+ "border-default-300",
116
+ "group-hover:border-current"
117
+ ]
118
+ },
119
+ variants: {
120
+ variant: {
121
+ solid: {
122
+ base: ""
123
+ },
124
+ bordered: {
125
+ base: "border-medium border-transparent bg-transparent"
126
+ },
127
+ light: {
128
+ base: "bg-transparent"
129
+ },
130
+ faded: {
131
+ base: [
132
+ "border-small border-transparent hover:border-default data-[hover=true]:bg-default-100",
133
+ "data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"
134
+ ]
135
+ },
136
+ flat: {
137
+ base: ""
138
+ },
139
+ shadow: {
140
+ base: "data-[hover=true]:shadow-lg"
141
+ }
142
+ },
143
+ color: {
144
+ default: {},
145
+ primary: {},
146
+ secondary: {},
147
+ success: {},
148
+ warning: {},
149
+ danger: {}
150
+ },
151
+ showDivider: {
152
+ true: {
153
+ base: [
154
+ "mb-1.5",
155
+ "after:content-['']",
156
+ "after:absolute",
157
+ "after:-bottom-1",
158
+ "after:left-0",
159
+ "after:right-0",
160
+ "after:h-divider",
161
+ "after:bg-divider"
162
+ ]
163
+ },
164
+ false: {}
165
+ },
166
+ isDisabled: {
167
+ true: {
168
+ base: "opacity-disabled pointer-events-none"
169
+ }
170
+ },
171
+ disableAnimation: {
172
+ true: {},
173
+ false: {
174
+ base: "data-[hover=true]:transition-colors"
175
+ }
176
+ }
177
+ },
178
+ defaultVariants: {
179
+ variant: "solid",
180
+ color: "default",
181
+ disableAnimation: false,
182
+ showDivider: false
183
+ },
184
+ compoundVariants: [
185
+ {
186
+ variant: "solid",
187
+ color: "default",
188
+ class: {
189
+ base: [
190
+ "data-[hover=true]:bg-default",
191
+ "data-[hover=true]:text-default-foreground",
192
+ "data-[selectable=true]:focus:bg-default",
193
+ "data-[selectable=true]:focus:text-default-foreground"
194
+ ]
195
+ }
196
+ },
197
+ {
198
+ variant: "solid",
199
+ color: "primary",
200
+ class: {
201
+ base: [
202
+ "data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground",
203
+ "data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"
204
+ ]
205
+ }
206
+ },
207
+ {
208
+ variant: "solid",
209
+ color: "secondary",
210
+ class: {
211
+ base: [
212
+ "data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground",
213
+ "data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"
214
+ ]
215
+ }
216
+ },
217
+ {
218
+ variant: "solid",
219
+ color: "success",
220
+ class: {
221
+ base: [
222
+ "data-[hover=true]:bg-success data-[hover=true]:text-success-foreground",
223
+ "data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"
224
+ ]
225
+ }
226
+ },
227
+ {
228
+ variant: "solid",
229
+ color: "warning",
230
+ class: {
231
+ base: [
232
+ "data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground",
233
+ "data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ variant: "solid",
239
+ color: "danger",
240
+ class: {
241
+ base: [
242
+ "data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground",
243
+ "data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"
244
+ ]
245
+ }
246
+ },
247
+ {
248
+ variant: "shadow",
249
+ color: "default",
250
+ class: {
251
+ base: [
252
+ "data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground",
253
+ "data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"
254
+ ]
255
+ }
256
+ },
257
+ {
258
+ variant: "shadow",
259
+ color: "primary",
260
+ class: {
261
+ base: [
262
+ "data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground",
263
+ "data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"
264
+ ]
265
+ }
266
+ },
267
+ {
268
+ variant: "shadow",
269
+ color: "secondary",
270
+ class: {
271
+ base: [
272
+ "data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground",
273
+ "data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"
274
+ ]
275
+ }
276
+ },
277
+ {
278
+ variant: "shadow",
279
+ color: "success",
280
+ class: {
281
+ base: [
282
+ "data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground",
283
+ "data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"
284
+ ]
285
+ }
286
+ },
287
+ {
288
+ variant: "shadow",
289
+ color: "warning",
290
+ class: {
291
+ base: [
292
+ "data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground",
293
+ "data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"
294
+ ]
295
+ }
296
+ },
297
+ {
298
+ variant: "shadow",
299
+ color: "danger",
300
+ class: {
301
+ base: [
302
+ "data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground",
303
+ "data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"
304
+ ]
305
+ }
306
+ },
307
+ {
308
+ variant: "bordered",
309
+ color: "default",
310
+ class: {
311
+ base: ["data-[hover=true]:border-default", "data-[selectable=true]:focus:border-default"]
312
+ }
313
+ },
314
+ {
315
+ variant: "bordered",
316
+ color: "primary",
317
+ class: {
318
+ base: [
319
+ "data-[hover=true]:border-primary data-[hover=true]:text-primary",
320
+ "data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"
321
+ ]
322
+ }
323
+ },
324
+ {
325
+ variant: "bordered",
326
+ color: "secondary",
327
+ class: {
328
+ base: [
329
+ "data-[hover=true]:border-secondary data-[hover=true]:text-secondary",
330
+ "data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ variant: "bordered",
336
+ color: "success",
337
+ class: {
338
+ base: [
339
+ "data-[hover=true]:border-success data-[hover=true]:text-success",
340
+ "data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"
341
+ ]
342
+ }
343
+ },
344
+ {
345
+ variant: "bordered",
346
+ color: "warning",
347
+ class: {
348
+ base: [
349
+ "data-[hover=true]:border-warning data-[hover=true]:text-warning",
350
+ "data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"
351
+ ]
352
+ }
353
+ },
354
+ {
355
+ variant: "bordered",
356
+ color: "danger",
357
+ class: {
358
+ base: [
359
+ "data-[hover=true]:border-danger data-[hover=true]:text-danger",
360
+ "data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"
361
+ ]
362
+ }
363
+ },
364
+ {
365
+ variant: "flat",
366
+ color: "default",
367
+ class: {
368
+ base: [
369
+ "data-[hover=true]:bg-default/40",
370
+ "data-[hover=true]:text-default-foreground",
371
+ "data-[selectable=true]:focus:bg-default/40",
372
+ "data-[selectable=true]:focus:text-default-foreground"
373
+ ]
374
+ }
375
+ },
376
+ {
377
+ variant: "flat",
378
+ color: "primary",
379
+ class: {
380
+ base: [
381
+ "data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary",
382
+ "data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"
383
+ ]
384
+ }
385
+ },
386
+ {
387
+ variant: "flat",
388
+ color: "secondary",
389
+ class: {
390
+ base: [
391
+ "data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary",
392
+ "data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"
393
+ ]
394
+ }
395
+ },
396
+ {
397
+ variant: "flat",
398
+ color: "success",
399
+ class: {
400
+ base: [
401
+ "data-[hover=true]:bg-success/20 data-[hover=true]:text-success",
402
+ "data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"
403
+ ]
404
+ }
405
+ },
406
+ {
407
+ variant: "flat",
408
+ color: "warning",
409
+ class: {
410
+ base: [
411
+ "data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning",
412
+ "data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"
413
+ ]
414
+ }
415
+ },
416
+ {
417
+ variant: "flat",
418
+ color: "danger",
419
+ class: {
420
+ base: [
421
+ "data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger",
422
+ "data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"
423
+ ]
424
+ }
425
+ },
426
+ {
427
+ variant: "faded",
428
+ color: "default",
429
+ class: {
430
+ base: [
431
+ "data-[hover=true]:text-default-foreground",
432
+ "data-[selectable=true]:focus:text-default-foreground"
433
+ ]
434
+ }
435
+ },
436
+ {
437
+ variant: "faded",
438
+ color: "primary",
439
+ class: {
440
+ base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
441
+ }
442
+ },
443
+ {
444
+ variant: "faded",
445
+ color: "secondary",
446
+ class: {
447
+ base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
448
+ }
449
+ },
450
+ {
451
+ variant: "faded",
452
+ color: "success",
453
+ class: {
454
+ base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
455
+ }
456
+ },
457
+ {
458
+ variant: "faded",
459
+ color: "warning",
460
+ class: {
461
+ base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
462
+ }
463
+ },
464
+ {
465
+ variant: "faded",
466
+ color: "danger",
467
+ class: {
468
+ base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
469
+ }
470
+ },
471
+ {
472
+ variant: "light",
473
+ color: "default",
474
+ class: {
475
+ base: [
476
+ "data-[hover=true]:text-default-500",
477
+ "data-[selectable=true]:focus:text-default-500"
478
+ ]
479
+ }
480
+ },
481
+ {
482
+ variant: "light",
483
+ color: "primary",
484
+ class: {
485
+ base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
486
+ }
487
+ },
488
+ {
489
+ variant: "light",
490
+ color: "secondary",
491
+ class: {
492
+ base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
493
+ }
494
+ },
495
+ {
496
+ variant: "light",
497
+ color: "success",
498
+ class: {
499
+ base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
500
+ }
501
+ },
502
+ {
503
+ variant: "light",
504
+ color: "warning",
505
+ class: {
506
+ base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
507
+ }
508
+ },
509
+ {
510
+ variant: "light",
511
+ color: "danger",
512
+ class: {
513
+ base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
514
+ }
515
+ }
516
+ ]
517
+ });
518
+ var menuSection = tv({
519
+ slots: {
520
+ base: "relative mb-2",
521
+ heading: "pl-1 text-tiny text-foreground-500",
522
+ group: "data-[has-title=true]:pt-1",
523
+ divider: "mt-2"
524
+ }
525
+ });
526
+ // Annotate the CommonJS export names for ESM import in node:
527
+ 0 && (module.exports = {
528
+ listbox,
529
+ listboxItem,
530
+ listboxSection
531
+ });
@@ -0,0 +1,16 @@
1
+ import "../chunk-YJLQTC7L.mjs";
2
+ import {
3
+ menu,
4
+ menuItem,
5
+ menuSection
6
+ } from "../chunk-CUUGEIPA.mjs";
7
+ import "../chunk-CMYR6AOY.mjs";
8
+ import "../chunk-K7LK7NCE.mjs";
9
+ import "../chunk-2PIR7DFM.mjs";
10
+ import "../chunk-GMMETTYU.mjs";
11
+ import "../chunk-XHQUSKIE.mjs";
12
+ export {
13
+ menu as listbox,
14
+ menuItem as listboxItem,
15
+ menuSection as listboxSection
16
+ };