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