@deepnoid/ui 0.1.223 → 1.0.0

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 (252) hide show
  1. package/.turbo/turbo-build.log +266 -251
  2. package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
  3. package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
  4. package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
  5. package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
  6. package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
  7. package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
  8. package/dist/chunk-63JRWMWN.mjs +215 -0
  9. package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
  10. package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
  11. package/dist/chunk-A6UUVHC6.mjs +38 -0
  12. package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
  13. package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
  14. package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
  15. package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
  16. package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
  17. package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
  18. package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
  19. package/dist/chunk-E4VJDQD5.mjs +142 -0
  20. package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
  21. package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
  22. package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
  23. package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
  24. package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
  25. package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
  26. package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
  27. package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
  28. package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
  29. package/dist/chunk-MV2WCFK7.mjs +1 -0
  30. package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
  31. package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
  32. package/dist/chunk-OK34FKBQ.mjs +224 -0
  33. package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
  34. package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
  35. package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
  36. package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
  37. package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
  38. package/dist/chunk-RFHWRBAB.mjs +105 -0
  39. package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
  40. package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
  41. package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
  42. package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
  43. package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
  44. package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
  45. package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
  46. package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
  47. package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
  48. package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
  49. package/dist/chunk-Z4NO7SMY.mjs +460 -0
  50. package/dist/components/accordion/accordion.js +366 -4
  51. package/dist/components/accordion/accordion.mjs +2 -2
  52. package/dist/components/accordion/accordionItem.js +366 -4
  53. package/dist/components/accordion/accordionItem.mjs +2 -2
  54. package/dist/components/accordion/index.js +366 -4
  55. package/dist/components/accordion/index.mjs +3 -3
  56. package/dist/components/avatar/avatar.js +472 -44
  57. package/dist/components/avatar/avatar.mjs +3 -3
  58. package/dist/components/avatar/index.js +472 -44
  59. package/dist/components/avatar/index.mjs +3 -3
  60. package/dist/components/backdrop/backdrop.js +366 -4
  61. package/dist/components/backdrop/backdrop.mjs +2 -2
  62. package/dist/components/backdrop/index.js +366 -4
  63. package/dist/components/backdrop/index.mjs +2 -2
  64. package/dist/components/breadcrumb/breadcrumb.js +951 -74
  65. package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
  66. package/dist/components/breadcrumb/index.js +951 -74
  67. package/dist/components/breadcrumb/index.mjs +10 -9
  68. package/dist/components/button/button-group.js +366 -4
  69. package/dist/components/button/button-group.mjs +2 -2
  70. package/dist/components/button/button.d.mts +82 -119
  71. package/dist/components/button/button.d.ts +82 -119
  72. package/dist/components/button/button.js +966 -355
  73. package/dist/components/button/button.mjs +6 -5
  74. package/dist/components/button/button.style.d.mts +89 -0
  75. package/dist/components/button/button.style.d.ts +89 -0
  76. package/dist/components/button/button.style.js +1172 -0
  77. package/dist/components/button/button.style.mjs +9 -0
  78. package/dist/components/button/icon-button.d.mts +45 -46
  79. package/dist/components/button/icon-button.d.ts +45 -46
  80. package/dist/components/button/icon-button.js +1125 -527
  81. package/dist/components/button/icon-button.mjs +6 -5
  82. package/dist/components/button/index.js +1154 -830
  83. package/dist/components/button/index.mjs +9 -8
  84. package/dist/components/button/text-button.d.mts +59 -39
  85. package/dist/components/button/text-button.d.ts +59 -39
  86. package/dist/components/button/text-button.js +831 -21
  87. package/dist/components/button/text-button.mjs +3 -2
  88. package/dist/components/charts/areaChart.js +366 -4
  89. package/dist/components/charts/areaChart.mjs +2 -2
  90. package/dist/components/charts/barChart.js +366 -4
  91. package/dist/components/charts/barChart.mjs +2 -2
  92. package/dist/components/charts/circularProgress.js +366 -4
  93. package/dist/components/charts/circularProgress.mjs +2 -2
  94. package/dist/components/charts/index.js +366 -4
  95. package/dist/components/charts/index.mjs +6 -6
  96. package/dist/components/charts/radarChart.js +366 -4
  97. package/dist/components/charts/radarChart.mjs +2 -2
  98. package/dist/components/charts/simpleBarChart.js +366 -4
  99. package/dist/components/charts/simpleBarChart.mjs +2 -2
  100. package/dist/components/checkbox/checkbox.js +376 -42
  101. package/dist/components/checkbox/checkbox.mjs +2 -2
  102. package/dist/components/checkbox/index.js +376 -42
  103. package/dist/components/checkbox/index.mjs +2 -2
  104. package/dist/components/chip/chip.d.mts +32 -0
  105. package/dist/components/chip/chip.d.ts +32 -0
  106. package/dist/components/chip/chip.js +496 -57
  107. package/dist/components/chip/chip.mjs +4 -4
  108. package/dist/components/chip/index.js +496 -57
  109. package/dist/components/chip/index.mjs +4 -4
  110. package/dist/components/drawer/drawer.js +366 -4
  111. package/dist/components/drawer/drawer.mjs +2 -2
  112. package/dist/components/drawer/index.js +366 -4
  113. package/dist/components/drawer/index.mjs +2 -2
  114. package/dist/components/fileUpload/fileUpload.js +1014 -402
  115. package/dist/components/fileUpload/fileUpload.mjs +12 -11
  116. package/dist/components/fileUpload/index.js +1014 -402
  117. package/dist/components/fileUpload/index.mjs +12 -11
  118. package/dist/components/icon/Icon.d.mts +23 -10
  119. package/dist/components/icon/Icon.d.ts +23 -10
  120. package/dist/components/icon/Icon.js +120 -53
  121. package/dist/components/icon/Icon.mjs +2 -2
  122. package/dist/components/icon/index.js +120 -53
  123. package/dist/components/icon/index.mjs +2 -2
  124. package/dist/components/icon/template.d.mts +5 -2
  125. package/dist/components/icon/template.d.ts +5 -2
  126. package/dist/components/icon/template.js +106 -40
  127. package/dist/components/icon/template.mjs +1 -1
  128. package/dist/components/input/index.js +511 -82
  129. package/dist/components/input/index.mjs +4 -4
  130. package/dist/components/input/input.js +511 -82
  131. package/dist/components/input/input.mjs +4 -4
  132. package/dist/components/list/index.js +486 -57
  133. package/dist/components/list/index.mjs +6 -6
  134. package/dist/components/list/list.js +366 -4
  135. package/dist/components/list/list.mjs +2 -2
  136. package/dist/components/list/listItem.js +486 -57
  137. package/dist/components/list/listItem.mjs +5 -5
  138. package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
  139. package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
  140. package/dist/components/modal/GlobalModalProvider.js +1028 -416
  141. package/dist/components/modal/GlobalModalProvider.mjs +12 -11
  142. package/dist/components/modal/index.d.mts +2 -0
  143. package/dist/components/modal/index.d.ts +2 -0
  144. package/dist/components/modal/index.js +1028 -416
  145. package/dist/components/modal/index.mjs +13 -12
  146. package/dist/components/modal/modal.d.mts +101 -29
  147. package/dist/components/modal/modal.d.ts +101 -29
  148. package/dist/components/modal/modal.js +1028 -416
  149. package/dist/components/modal/modal.mjs +11 -10
  150. package/dist/components/modal/useGlobalModal.d.mts +2 -0
  151. package/dist/components/modal/useGlobalModal.d.ts +2 -0
  152. package/dist/components/modal/useGlobalModal.mjs +13 -12
  153. package/dist/components/pagination/index.js +598 -212
  154. package/dist/components/pagination/index.mjs +5 -5
  155. package/dist/components/pagination/pagination.js +598 -212
  156. package/dist/components/pagination/pagination.mjs +5 -5
  157. package/dist/components/picker/datePicker.js +1029 -705
  158. package/dist/components/picker/datePicker.mjs +12 -11
  159. package/dist/components/picker/day.js +366 -4
  160. package/dist/components/picker/day.mjs +2 -2
  161. package/dist/components/picker/index.js +1027 -703
  162. package/dist/components/picker/index.mjs +15 -14
  163. package/dist/components/picker/timePicker/Panel.js +831 -21
  164. package/dist/components/picker/timePicker/Panel.mjs +10 -9
  165. package/dist/components/picker/timePicker/index.js +976 -99
  166. package/dist/components/picker/timePicker/index.mjs +12 -11
  167. package/dist/components/progress/index.js +381 -18
  168. package/dist/components/progress/index.mjs +2 -2
  169. package/dist/components/progress/progress.d.mts +21 -18
  170. package/dist/components/progress/progress.d.ts +21 -18
  171. package/dist/components/progress/progress.js +381 -18
  172. package/dist/components/progress/progress.mjs +2 -2
  173. package/dist/components/radio/index.js +389 -41
  174. package/dist/components/radio/index.mjs +2 -2
  175. package/dist/components/radio/radio.d.mts +33 -48
  176. package/dist/components/radio/radio.d.ts +33 -48
  177. package/dist/components/radio/radio.js +389 -41
  178. package/dist/components/radio/radio.mjs +2 -2
  179. package/dist/components/ripple/index.mjs +3 -3
  180. package/dist/components/select/index.js +819 -221
  181. package/dist/components/select/index.mjs +10 -9
  182. package/dist/components/select/select.js +819 -221
  183. package/dist/components/select/select.mjs +10 -9
  184. package/dist/components/slider/index.d.mts +4 -0
  185. package/dist/components/slider/index.d.ts +4 -0
  186. package/dist/components/slider/index.js +955 -0
  187. package/dist/components/slider/index.mjs +11 -0
  188. package/dist/components/slider/slider.d.mts +158 -0
  189. package/dist/components/slider/slider.d.ts +158 -0
  190. package/dist/components/slider/slider.js +949 -0
  191. package/dist/components/slider/slider.mjs +10 -0
  192. package/dist/components/starRating/index.js +486 -57
  193. package/dist/components/starRating/index.mjs +4 -4
  194. package/dist/components/starRating/starRating.js +486 -57
  195. package/dist/components/starRating/starRating.mjs +4 -4
  196. package/dist/components/switch/index.js +22 -25
  197. package/dist/components/switch/index.mjs +1 -1
  198. package/dist/components/switch/switch.d.mts +0 -18
  199. package/dist/components/switch/switch.d.ts +0 -18
  200. package/dist/components/switch/switch.js +22 -25
  201. package/dist/components/switch/switch.mjs +1 -1
  202. package/dist/components/table/definition-table.js +366 -4
  203. package/dist/components/table/definition-table.mjs +2 -2
  204. package/dist/components/table/form-table.js +366 -4
  205. package/dist/components/table/form-table.mjs +1 -1
  206. package/dist/components/table/index.js +679 -291
  207. package/dist/components/table/index.mjs +10 -10
  208. package/dist/components/table/table-body.js +679 -291
  209. package/dist/components/table/table-body.mjs +7 -7
  210. package/dist/components/table/table-head.js +679 -291
  211. package/dist/components/table/table-head.mjs +7 -7
  212. package/dist/components/table/table.d.mts +8 -29
  213. package/dist/components/table/table.d.ts +8 -29
  214. package/dist/components/table/table.js +679 -291
  215. package/dist/components/table/table.mjs +7 -7
  216. package/dist/components/tabs/index.js +366 -4
  217. package/dist/components/tabs/index.mjs +2 -2
  218. package/dist/components/tabs/tabs.js +366 -4
  219. package/dist/components/tabs/tabs.mjs +2 -2
  220. package/dist/components/textarea/index.js +67 -38
  221. package/dist/components/textarea/index.mjs +1 -1
  222. package/dist/components/textarea/textarea.d.mts +21 -0
  223. package/dist/components/textarea/textarea.d.ts +21 -0
  224. package/dist/components/textarea/textarea.js +67 -38
  225. package/dist/components/textarea/textarea.mjs +1 -1
  226. package/dist/components/timePicker/calendar.js +486 -57
  227. package/dist/components/timePicker/calendar.mjs +3 -3
  228. package/dist/components/toast/index.js +486 -57
  229. package/dist/components/toast/index.mjs +5 -5
  230. package/dist/components/toast/toast.js +486 -57
  231. package/dist/components/toast/toast.mjs +4 -4
  232. package/dist/components/toast/use-toast.js +486 -57
  233. package/dist/components/toast/use-toast.mjs +5 -5
  234. package/dist/components/tooltip/index.js +366 -4
  235. package/dist/components/tooltip/index.mjs +2 -2
  236. package/dist/components/tooltip/tooltip.js +366 -4
  237. package/dist/components/tooltip/tooltip.mjs +2 -2
  238. package/dist/components/tree/index.js +486 -57
  239. package/dist/components/tree/index.mjs +4 -4
  240. package/dist/components/tree/tree.js +486 -57
  241. package/dist/components/tree/tree.mjs +4 -4
  242. package/dist/index.d.mts +1 -0
  243. package/dist/index.d.ts +1 -0
  244. package/dist/index.js +1705 -1281
  245. package/dist/index.mjs +76 -70
  246. package/dist/utils/tailwind-variants.js +366 -4
  247. package/dist/utils/tailwind-variants.mjs +1 -1
  248. package/package.json +1 -1
  249. package/dist/chunk-6AID2NLT.mjs +0 -37
  250. package/dist/chunk-BBRO35V3.mjs +0 -385
  251. package/dist/chunk-EVJ46M3U.mjs +0 -141
  252. package/dist/chunk-SKX5QPUD.mjs +0 -482
@@ -108,7 +108,7 @@ __export(fileUpload_exports, {
108
108
  });
109
109
  module.exports = __toCommonJS(fileUpload_exports);
110
110
  var import_react6 = require("react");
111
- var import_tailwind_variants5 = require("tailwind-variants");
111
+ var import_tailwind_variants6 = require("tailwind-variants");
112
112
 
113
113
  // src/components/input/input.tsx
114
114
  var import_react = require("react");
@@ -116,6 +116,98 @@ var import_react = require("react");
116
116
  // src/components/icon/template.tsx
117
117
  var import_jsx_runtime = require("react/jsx-runtime");
118
118
  var template = {
119
+ left: ({ className }) => {
120
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
121
+ "svg",
122
+ {
123
+ xmlns: "http://www.w3.org/2000/svg",
124
+ width: "21",
125
+ height: "21",
126
+ viewBox: "0 0 21 21",
127
+ fill: "none",
128
+ className,
129
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
130
+ "path",
131
+ {
132
+ d: "M12.8333 15.1667L8.16667 10.5L12.8333 5.83334",
133
+ stroke: "currentColor",
134
+ strokeWidth: "1.25",
135
+ strokeLinecap: "round",
136
+ strokeLinejoin: "round"
137
+ }
138
+ )
139
+ }
140
+ );
141
+ },
142
+ "left-double": ({ className }) => {
143
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
144
+ "svg",
145
+ {
146
+ xmlns: "http://www.w3.org/2000/svg",
147
+ width: "21",
148
+ height: "21",
149
+ viewBox: "0 0 21 21",
150
+ fill: "none",
151
+ className,
152
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
153
+ "path",
154
+ {
155
+ d: "M15.1667 5.83334L9.98148 10.5L15.1667 15.1667M11.0185 5.83334L5.83334 10.5L11.0185 15.1667",
156
+ stroke: "currentColor",
157
+ strokeWidth: "1.25",
158
+ strokeLinecap: "round",
159
+ strokeLinejoin: "round"
160
+ }
161
+ )
162
+ }
163
+ );
164
+ },
165
+ right: ({ className }) => {
166
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
167
+ "svg",
168
+ {
169
+ xmlns: "http://www.w3.org/2000/svg",
170
+ width: "21",
171
+ height: "21",
172
+ viewBox: "0 0 21 21",
173
+ fill: "none",
174
+ className,
175
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
176
+ "path",
177
+ {
178
+ d: "M8.16666 5.83334L12.8333 10.5L8.16666 15.1667",
179
+ stroke: "currentColor",
180
+ strokeWidth: "1.25",
181
+ strokeLinecap: "round",
182
+ strokeLinejoin: "round"
183
+ }
184
+ )
185
+ }
186
+ );
187
+ },
188
+ "right-double": ({ className }) => {
189
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
190
+ "svg",
191
+ {
192
+ xmlns: "http://www.w3.org/2000/svg",
193
+ width: "21",
194
+ height: "21",
195
+ viewBox: "0 0 21 21",
196
+ fill: "none",
197
+ className,
198
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
199
+ "path",
200
+ {
201
+ d: "M5.83334 5.83334L11.0185 10.5L5.83334 15.1667M9.98149 5.83334L15.1667 10.5L9.98149 15.1667",
202
+ stroke: "currentColor",
203
+ strokeWidth: "1.25",
204
+ strokeLinecap: "round",
205
+ strokeLinejoin: "round"
206
+ }
207
+ )
208
+ }
209
+ );
210
+ },
119
211
  "left-chevron": ({ className }) => {
120
212
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
121
213
  "svg",
@@ -1501,46 +1593,6 @@ var template = {
1501
1593
  }
1502
1594
  );
1503
1595
  },
1504
- left: ({ className }) => {
1505
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1506
- "svg",
1507
- {
1508
- xmlns: "http://www.w3.org/2000/svg",
1509
- width: "22",
1510
- height: "22",
1511
- viewBox: "0 0 22 22",
1512
- fill: "none",
1513
- className,
1514
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1515
- "path",
1516
- {
1517
- d: "M14.4955 7.21404C14.4957 7.26442 14.4957 7.26442 14.4959 7.31582C14.4962 7.40882 14.4962 7.50182 14.496 7.59482C14.496 7.69521 14.4962 7.79559 14.4965 7.89598C14.4969 8.09257 14.497 8.28915 14.4969 8.48574C14.4968 8.64555 14.4969 8.80536 14.497 8.96516C14.4971 8.98791 14.4971 9.01066 14.4971 9.0341C14.4971 9.08032 14.4972 9.12653 14.4972 9.17275C14.4976 9.60613 14.4975 10.0395 14.4973 10.4729C14.4971 10.8692 14.4975 11.2656 14.4981 11.6619C14.4988 12.069 14.499 12.4761 14.4989 12.8832C14.4989 13.1117 14.4989 13.3402 14.4994 13.5687C14.4998 13.7633 14.4998 13.9578 14.4994 14.1524C14.4992 14.2516 14.4992 14.3508 14.4996 14.45C14.4999 14.5577 14.4997 14.6653 14.4993 14.7729C14.4995 14.8042 14.4997 14.8354 14.5 14.8676C14.4981 15.094 14.4635 15.2952 14.2769 15.4694C14.0633 15.6269 13.8501 15.6664 13.574 15.6667C13.3359 15.6312 13.1607 15.5177 12.9847 15.381C12.9446 15.3506 12.9044 15.3202 12.8642 15.2898C12.8338 15.2666 12.8338 15.2666 12.8028 15.2429C12.7059 15.1692 12.6076 15.0969 12.5094 15.0246C12.4807 15.0034 12.4807 15.0034 12.4515 14.9819C12.3238 14.8875 12.1955 14.7936 12.0669 14.7C11.8604 14.5497 11.6552 14.3982 11.4501 14.2465C11.3539 14.1754 11.2577 14.1043 11.1615 14.0332C11.1231 14.0048 11.0847 13.9765 11.0462 13.9481C11.0177 13.927 11.0177 13.927 10.9886 13.9055C10.1627 13.2955 9.33686 12.6854 8.51098 12.0753C8.49194 12.0613 8.47291 12.0472 8.45329 12.0328C8.41508 12.0045 8.37691 11.9762 8.33878 11.9479C8.23994 11.8746 8.14044 11.8021 8.03961 11.7309C7.56492 11.3929 7.56492 11.3929 7.50676 11.139C7.48169 10.8947 7.5218 10.7077 7.70431 10.5165C7.82684 10.4027 7.96443 10.3072 8.1052 10.2107C8.19396 10.1488 8.27857 10.0845 8.36282 10.0181C8.5044 9.90695 8.65122 9.80273 8.80011 9.69893C8.88704 9.63693 8.97086 9.57289 9.05425 9.50739C9.19583 9.3962 9.34265 9.29198 9.49154 9.18818C9.57847 9.12618 9.6623 9.06214 9.74569 8.99664C9.88726 8.88544 10.0341 8.78123 10.183 8.67742C10.2699 8.61542 10.3537 8.55139 10.4371 8.48589C10.5787 8.37469 10.7255 8.27048 10.8744 8.16667C10.9613 8.10467 11.0452 8.04064 11.1286 7.97514C11.2379 7.88937 11.3491 7.80701 11.464 7.72686C11.676 7.57888 11.881 7.42428 12.0868 7.26992C12.2036 7.18255 12.321 7.09588 12.4386 7.00934C12.5366 6.93723 12.6341 6.8648 12.7311 6.7917C13.3456 6.32986 13.3456 6.32986 13.7814 6.33404C13.9843 6.35117 14.1418 6.41415 14.2854 6.53943C14.4816 6.75169 14.4966 6.95069 14.4955 7.21404Z",
1518
- fill: "currentColor"
1519
- }
1520
- )
1521
- }
1522
- );
1523
- },
1524
- right: ({ className }) => {
1525
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1526
- "svg",
1527
- {
1528
- xmlns: "http://www.w3.org/2000/svg",
1529
- width: "22",
1530
- height: "22",
1531
- viewBox: "0 0 22 22",
1532
- fill: "none",
1533
- className,
1534
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1535
- "path",
1536
- {
1537
- d: "M7.50447 7.21404C7.50428 7.26442 7.50428 7.26442 7.50409 7.31582C7.50381 7.40882 7.50383 7.50182 7.50397 7.59482C7.50405 7.69521 7.50375 7.79559 7.5035 7.89598C7.50308 8.09257 7.50303 8.28915 7.5031 8.48574C7.50316 8.64555 7.5031 8.80536 7.50296 8.96516C7.50294 8.98791 7.50292 9.01066 7.5029 9.0341C7.50286 9.08032 7.50282 9.12653 7.50278 9.17275C7.50243 9.60613 7.5025 10.0395 7.5027 10.4729C7.50287 10.8692 7.5025 11.2656 7.50187 11.6619C7.50123 12.069 7.50096 12.4761 7.50109 12.8832C7.50115 13.1117 7.50107 13.3402 7.5006 13.5687C7.50021 13.7633 7.50016 13.9578 7.50056 14.1524C7.50076 14.2516 7.50079 14.3508 7.5004 14.45C7.50005 14.5577 7.50032 14.6653 7.50074 14.7729C7.50049 14.8042 7.50025 14.8354 7.5 14.8676C7.50185 15.094 7.53645 15.2952 7.72309 15.4694C7.93671 15.6269 8.14985 15.6664 8.42597 15.6667C8.66414 15.6312 8.8393 15.5177 9.01528 15.381C9.05544 15.3506 9.09561 15.3202 9.13579 15.2898C9.16617 15.2666 9.16617 15.2666 9.19716 15.2429C9.29408 15.1692 9.39237 15.0969 9.49064 15.0246C9.51926 15.0034 9.51926 15.0034 9.54847 14.9819C9.67623 14.8875 9.80451 14.7936 9.93307 14.7C10.1396 14.5497 10.3448 14.3982 10.5499 14.2465C10.6461 14.1754 10.7423 14.1043 10.8385 14.0332C10.8769 14.0048 10.9153 13.9765 10.9538 13.9481C10.9823 13.927 10.9823 13.927 11.0114 13.9055C11.8373 13.2955 12.6631 12.6854 13.489 12.0753C13.5081 12.0613 13.5271 12.0472 13.5467 12.0328C13.5849 12.0045 13.6231 11.9762 13.6612 11.9479C13.7601 11.8746 13.8596 11.8021 13.9604 11.7309C14.4351 11.3929 14.4351 11.3929 14.4932 11.139C14.5183 10.8947 14.4782 10.7077 14.2957 10.5165C14.1732 10.4027 14.0356 10.3072 13.8948 10.2107C13.806 10.1488 13.7214 10.0845 13.6372 10.0181C13.4956 9.90695 13.3488 9.80273 13.1999 9.69893C13.113 9.63693 13.0291 9.57289 12.9457 9.50739C12.8042 9.3962 12.6573 9.29198 12.5085 9.18818C12.4215 9.12618 12.3377 9.06214 12.2543 8.99664C12.1127 8.88544 11.9659 8.78123 11.817 8.67742C11.7301 8.61542 11.6463 8.55139 11.5629 8.48589C11.4213 8.37469 11.2745 8.27048 11.1256 8.16667C11.0387 8.10467 10.9548 8.04064 10.8714 7.97514C10.7621 7.88937 10.6509 7.80701 10.536 7.72686C10.324 7.57888 10.119 7.42428 9.9132 7.26992C9.79643 7.18255 9.67897 7.09588 9.56138 7.00934C9.46343 6.93723 9.36586 6.8648 9.26891 6.7917C8.65441 6.32986 8.65441 6.32986 8.21864 6.33404C8.01565 6.35117 7.85817 6.41415 7.7146 6.53943C7.51841 6.75169 7.50343 6.95069 7.50447 7.21404Z",
1538
- fill: "currentColor"
1539
- }
1540
- )
1541
- }
1542
- );
1543
- },
1544
1596
  "brace-left": ({ className }) => {
1545
1597
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1546
1598
  "svg",
@@ -1850,6 +1902,20 @@ var template = {
1850
1902
  }
1851
1903
  );
1852
1904
  },
1905
+ polygon: ({ className }) => {
1906
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1907
+ "svg",
1908
+ {
1909
+ xmlns: "http://www.w3.org/2000/svg",
1910
+ width: "24",
1911
+ height: "24",
1912
+ viewBox: "0 0 24 24",
1913
+ fill: "none",
1914
+ className,
1915
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "12 4 20 9 20 15 12 20 4 15 4 9", stroke: "currentColor", strokeWidth: "2" })
1916
+ }
1917
+ );
1918
+ },
1853
1919
  "new-window": ({ className }) => {
1854
1920
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
1855
1921
  "svg",
@@ -4963,25 +5029,26 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
4963
5029
  var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) => {
4964
5030
  const SVGIcon = template[name];
4965
5031
  const getInputIconSize = (size2) => {
4966
- switch (size2) {
5032
+ switch (String(size2)) {
4967
5033
  case "sm":
4968
- return "size-[18px]";
5034
+ return "w-[18px] h-[18px]";
4969
5035
  case "md":
4970
- return "size-[21px] stroke-[1.25px]";
5036
+ return "w-[21px] h-[21px] stroke-[1.25px]";
4971
5037
  case "lg":
4972
- return "size-[24px] stroke-[1.5px]";
5038
+ return "w-[24px] h-[24px] stroke-[1.5px]";
4973
5039
  case "xl":
4974
- return "size-[27px] stroke-[1.5px]";
5040
+ return "w-[27px] h-[27px] stroke-[1.5px]";
5041
+ case "20":
5042
+ return "w-[20px] h-[20px] stroke-[1.25px]";
5043
+ case "30":
5044
+ return "w-[30px] h-[30px] stroke-[1.5px]";
5045
+ case "40":
5046
+ return "w-[40px] h-[40px] stroke-[2px]";
5047
+ default:
5048
+ return "w-[21px] h-[21px] stroke-[1.25px]";
4975
5049
  }
4976
5050
  };
4977
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "h-fit w-fit", onClick, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
4978
- SVGIcon,
4979
- {
4980
- fill,
4981
- className: className ? `${getInputIconSize(size)} ${className}` : `${getInputIconSize(size)}`,
4982
- ...props
4983
- }
4984
- ) });
5051
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: `m-0 flex items-center justify-center p-0 ${className}`, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SVGIcon, { fill, className: getInputIconSize(size), ...props }) });
4985
5052
  };
4986
5053
  var Icon_default = Icon;
4987
5054
 
@@ -4991,6 +5058,352 @@ var import_tailwind_variants = require("tailwind-variants");
4991
5058
  // ../tailwind-config/src/plugin.ts
4992
5059
  var import_plugin = __toESM(require_plugin());
4993
5060
 
5061
+ // ../tailwind-config/src/colors/primitive-palette.ts
5062
+ var primitivePalette = {
5063
+ bg: {
5064
+ "01": "#040811",
5065
+ "02": "#040811",
5066
+ "03": "#14161E",
5067
+ "04": "#070414",
5068
+ "05": "#070C12",
5069
+ "06": "#202123"
5070
+ },
5071
+ gray: {
5072
+ cool: {
5073
+ 50: "#F7F7F8",
5074
+ 100: "#EEEEF0",
5075
+ 200: "#D8D9DF",
5076
+ 300: "#B6B8C3",
5077
+ 400: "#999CA9",
5078
+ 500: "#717486",
5079
+ 600: "#5B5E6E",
5080
+ 700: "#4A4C5A",
5081
+ 800: "#40424C",
5082
+ 900: "#36373F",
5083
+ 950: "#25252C"
5084
+ },
5085
+ warm: {
5086
+ 50: "#F6F6F6",
5087
+ 100: "#E7E7E7",
5088
+ 200: "#D1D1D1",
5089
+ 300: "#B0B0B0",
5090
+ 400: "#888888",
5091
+ 500: "#6D6D6D",
5092
+ 600: "#5D5D5D",
5093
+ 700: "#525252",
5094
+ 800: "#454545",
5095
+ 900: "#3D3D3D",
5096
+ 950: "#25252C"
5097
+ }
5098
+ },
5099
+ opacity: {
5100
+ white: {
5101
+ "0": "#FFFFFF, 0",
5102
+ 5: "#FFFFFF, 5",
5103
+ 10: "#FFFFFF, 10",
5104
+ 20: "#FFFFFF, 20",
5105
+ 30: "#FFFFFF, 30",
5106
+ 40: "#FFFFFF, 40",
5107
+ 50: "#FFFFFF, 50",
5108
+ 60: "#FFFFFF, 60",
5109
+ 70: "#FFFFFF, 70",
5110
+ 80: "#FFFFFF, 80",
5111
+ 90: "#FFFFFF, 90"
5112
+ },
5113
+ black: {
5114
+ "0": "#000000, 0",
5115
+ 5: "#000000, 5",
5116
+ 10: "#000000, 10",
5117
+ 20: "#000000, 20",
5118
+ 30: "#000000, 30",
5119
+ 40: "#000000, 40",
5120
+ 50: "#000000, 50",
5121
+ 60: "#000000, 60",
5122
+ 70: "#000000, 70",
5123
+ 80: "#000000, 80",
5124
+ 90: "#000000, 90"
5125
+ }
5126
+ },
5127
+ red: {
5128
+ 50: "#FEF2F2",
5129
+ 100: "#FEE9E9",
5130
+ 200: "#FCCFD2",
5131
+ 300: "#F9A8AC",
5132
+ 400: "#F57780",
5133
+ 500: "#EC4757",
5134
+ 600: "#D82640",
5135
+ 700: "#B71934",
5136
+ 800: "#991832",
5137
+ 900: "#831831",
5138
+ 950: "#831831"
5139
+ },
5140
+ rose: {
5141
+ 50: "#FDF4F6",
5142
+ 100: "#F9E9EC",
5143
+ 200: "#F4D8DD",
5144
+ 300: "#E9B8C2",
5145
+ 400: "#DF96A6",
5146
+ 500: "#CB6881",
5147
+ 600: "#B54969",
5148
+ 700: "#973957",
5149
+ 800: "#7F324D",
5150
+ 900: "#6A2740",
5151
+ 950: "#3C1523"
5152
+ },
5153
+ hotPink: {
5154
+ 50: "#FDF2F7",
5155
+ 100: "#FDE6F0",
5156
+ 200: "#FCCEE3",
5157
+ 300: "#FBA6CA",
5158
+ 400: "#F76FA6",
5159
+ 500: "#F04485",
5160
+ 600: "#E2326C",
5161
+ 700: "#C21448",
5162
+ 800: "#A1133C",
5163
+ 900: "#861535",
5164
+ 950: "#52051B"
5165
+ },
5166
+ sepia: {
5167
+ 50: "#FCF5F4",
5168
+ 100: "#FAE9E9",
5169
+ 200: "#F5D6D7",
5170
+ 300: "#EDB4B6",
5171
+ 400: "#E28A8F",
5172
+ 500: "#D45F69",
5173
+ 600: "#BE4051",
5174
+ 700: "#9F3142",
5175
+ 800: "#862B3C",
5176
+ 900: "#6B2433",
5177
+ 950: "#320E15"
5178
+ },
5179
+ orange: {
5180
+ 50: "#FEF7EE",
5181
+ 100: "#FDEDD7",
5182
+ 200: "#F9D8AF",
5183
+ 300: "#F5BB7C",
5184
+ 400: "#F09447",
5185
+ 500: "#EC7723",
5186
+ 600: "#E15F19",
5187
+ 700: "#E15F19",
5188
+ 800: "#92391A",
5189
+ 900: "#763118",
5190
+ 950: "#40160A"
5191
+ },
5192
+ yellow: {
5193
+ 50: "#F9F2E5",
5194
+ 100: "#F5E6BC",
5195
+ 200: "#FFE9BC",
5196
+ 300: "#FFD174",
5197
+ 400: "#F8BE4A",
5198
+ 500: "#EAAD30",
5199
+ 600: "#D77908",
5200
+ 700: "#B2550B",
5201
+ 800: "#91420F",
5202
+ 900: "#773610",
5203
+ 950: "#441B04"
5204
+ },
5205
+ tree: {
5206
+ 50: "#F5F3F1",
5207
+ 100: "#E5E1DC",
5208
+ 200: "#CCC5BC",
5209
+ 300: "#AFA395",
5210
+ 400: "#978878",
5211
+ 500: "#907E6F",
5212
+ 600: "#756459",
5213
+ 700: "#5F4F49",
5214
+ 800: "#524541",
5215
+ 900: "#483D3B",
5216
+ 950: "#282120"
5217
+ },
5218
+ brown: {
5219
+ 50: "#F6F3F0",
5220
+ 100: "#F4EDEC",
5221
+ 200: "#EBDFDD",
5222
+ 300: "#DCC9C5",
5223
+ 400: "#C6A9A3",
5224
+ 500: "#B08983",
5225
+ 600: "#A27E77",
5226
+ 700: "#7F5D56",
5227
+ 800: "#6A4F4A",
5228
+ 900: "#5B4541",
5229
+ 950: "#2C1E1C"
5230
+ },
5231
+ lime: {
5232
+ 50: "#F7FFE5",
5233
+ 100: "#ECFFC7",
5234
+ 200: "#D9FF95",
5235
+ 300: "#BDFE58",
5236
+ 400: "#A1F524",
5237
+ 500: "#82DC06",
5238
+ 600: "#63B000",
5239
+ 700: "#4B8506",
5240
+ 800: "#3E690B",
5241
+ 900: "#34580F",
5242
+ 950: "#193102"
5243
+ },
5244
+ green: {
5245
+ 50: "#E7F3EB",
5246
+ 100: "#DFF9EA",
5247
+ 200: "#CEECDA",
5248
+ 300: "#9CD4B3",
5249
+ 400: "#6EC092",
5250
+ 500: "#3FA46B",
5251
+ 600: "#209754",
5252
+ 700: "#1E7745",
5253
+ 800: "#1D5E3A",
5254
+ 900: "#194E32",
5255
+ 950: "#082B19"
5256
+ },
5257
+ timberGreen: {
5258
+ 50: "#F1FCF5",
5259
+ 100: "#DFF9EA",
5260
+ 200: "#B5DACD",
5261
+ 300: "#8ABFAF",
5262
+ 400: "#60A18F",
5263
+ 500: "#468675",
5264
+ 600: "#366B5F",
5265
+ 700: "#2E574D",
5266
+ 800: "#2A4641",
5267
+ 900: "#1D2F2B",
5268
+ 950: "#11221E"
5269
+ },
5270
+ teal: {
5271
+ 50: "#E2F1F0",
5272
+ 100: "#C9EBE8",
5273
+ 200: "#C7E8E5",
5274
+ 300: "#8AD0D0",
5275
+ 400: "#67C4C4",
5276
+ 500: "#39A6A7",
5277
+ 600: "#258386",
5278
+ 700: "#1B666A",
5279
+ 800: "#1A5255",
5280
+ 900: "#1A4447",
5281
+ 950: "#09272A"
5282
+ },
5283
+ lightBlue: {
5284
+ 50: "#F2F8FD",
5285
+ 100: "#E3EFFB",
5286
+ 200: "#C1E0F6",
5287
+ 300: "#8BC6EE",
5288
+ 400: "#3DA2E1",
5289
+ 500: "#258FD2",
5290
+ 600: "#1771B2",
5291
+ 700: "#145A90",
5292
+ 800: "#154D77",
5293
+ 900: "#174163",
5294
+ 950: "#062C2D"
5295
+ },
5296
+ sea: {
5297
+ 50: "#F4F6FC",
5298
+ 100: "#E8EDF6",
5299
+ 200: "#CBD9EB",
5300
+ 300: "#9FB9DA",
5301
+ 400: "#6A93C5",
5302
+ 500: "#446FA4",
5303
+ 600: "#375D92",
5304
+ 700: "#2D4B77",
5305
+ 800: "#294163",
5306
+ 900: "#263954",
5307
+ 950: "#1A2537"
5308
+ },
5309
+ blue: {
5310
+ 50: "#F0F6FE",
5311
+ 100: "#DDEAFC",
5312
+ 200: "#C2DBFB",
5313
+ 300: "#98C5F8",
5314
+ 400: "#68A7F2",
5315
+ 500: "#377CEB",
5316
+ 600: "#2F68E1",
5317
+ 700: "#2754CE",
5318
+ 800: "#20429E",
5319
+ 900: "#1C2A52",
5320
+ 950: "#061132"
5321
+ },
5322
+ lightPurple: {
5323
+ 50: "#F6F5FD",
5324
+ 100: "#EEEDFA",
5325
+ 200: "#DDDCFD",
5326
+ 300: "#BDB9EC",
5327
+ 400: "#AAA1E4",
5328
+ 500: "#826CE3",
5329
+ 600: "#7250D7",
5330
+ 700: "#623DC4",
5331
+ 800: "#5133A4",
5332
+ 900: "#442B87",
5333
+ 950: "#291A5B"
5334
+ }
5335
+ };
5336
+
5337
+ // ../tailwind-config/src/colors/semantic-palette.ts
5338
+ var semanticPalette = {
5339
+ primary: {
5340
+ soft: { light: primitivePalette.blue[100], dark: primitivePalette.blue[950] },
5341
+ light: { light: primitivePalette.blue[200], dark: primitivePalette.blue[900] },
5342
+ main: { light: primitivePalette.blue[600], dark: primitivePalette.blue[600] },
5343
+ dark: { light: primitivePalette.blue[800], dark: primitivePalette.blue[500] },
5344
+ strong: { light: primitivePalette.blue[900], dark: primitivePalette.blue[200] }
5345
+ },
5346
+ secondary: {
5347
+ soft: { light: primitivePalette.lightPurple[100], dark: primitivePalette.lightPurple[950] },
5348
+ light: { light: primitivePalette.lightPurple[200], dark: primitivePalette.lightPurple[900] },
5349
+ main: { light: primitivePalette.lightPurple[600], dark: primitivePalette.lightPurple[500] },
5350
+ dark: { light: primitivePalette.lightPurple[800], dark: primitivePalette.lightPurple[700] },
5351
+ strong: { light: primitivePalette.lightPurple[950], dark: primitivePalette.lightPurple[950] }
5352
+ },
5353
+ body: {
5354
+ foreground: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[50] },
5355
+ background: { light: primitivePalette.gray.cool[50], dark: primitivePalette.bg["06"] }
5356
+ },
5357
+ neutral: {
5358
+ soft: { light: primitivePalette.gray.cool[100], dark: primitivePalette.gray.cool[900] },
5359
+ light: { light: primitivePalette.gray.cool[200], dark: primitivePalette.gray.cool[700] },
5360
+ main: { light: primitivePalette.gray.cool[400], dark: primitivePalette.gray.cool[400] },
5361
+ dark: { light: primitivePalette.gray.cool[500], dark: primitivePalette.gray.cool[300] },
5362
+ strong: { light: primitivePalette.gray.cool[700], dark: primitivePalette.gray.cool[200] }
5363
+ },
5364
+ trans: {
5365
+ soft: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] },
5366
+ light: { light: primitivePalette.opacity.black[10], dark: primitivePalette.opacity.white[10] },
5367
+ main: { light: primitivePalette.opacity.black[20], dark: primitivePalette.opacity.white[20] },
5368
+ dark: { light: primitivePalette.opacity.black[30], dark: primitivePalette.opacity.white[30] },
5369
+ strong: { light: primitivePalette.opacity.black[60], dark: primitivePalette.opacity.black[60] }
5370
+ },
5371
+ common: {
5372
+ black: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[950] },
5373
+ white: { light: primitivePalette.gray.cool[50], dark: primitivePalette.gray.cool[50] },
5374
+ transparent: { light: primitivePalette.opacity.white["0"], dark: primitivePalette.opacity.black["0"] },
5375
+ hover: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] }
5376
+ },
5377
+ info: {
5378
+ soft: { light: primitivePalette.teal[50], dark: primitivePalette.teal[950] },
5379
+ light: { light: primitivePalette.teal[100], dark: primitivePalette.teal[900] },
5380
+ main: { light: primitivePalette.teal[500], dark: primitivePalette.teal[500] },
5381
+ dark: { light: primitivePalette.teal[600], dark: primitivePalette.teal[700] },
5382
+ strong: { light: "", dark: "" }
5383
+ },
5384
+ success: {
5385
+ soft: { light: primitivePalette.green[50], dark: primitivePalette.green[950] },
5386
+ light: { light: primitivePalette.green[200], dark: primitivePalette.green[900] },
5387
+ main: { light: primitivePalette.green[500], dark: primitivePalette.green[600] },
5388
+ dark: { light: primitivePalette.green[600], dark: primitivePalette.green[700] },
5389
+ strong: { light: "", dark: "" }
5390
+ },
5391
+ warning: {
5392
+ soft: { light: primitivePalette.yellow[50], dark: primitivePalette.yellow[950] },
5393
+ light: { light: primitivePalette.yellow[100], dark: primitivePalette.yellow[900] },
5394
+ main: { light: primitivePalette.yellow[500], dark: primitivePalette.yellow[600] },
5395
+ dark: { light: primitivePalette.yellow[600], dark: primitivePalette.yellow[700] },
5396
+ strong: { light: "", dark: "" }
5397
+ },
5398
+ danger: {
5399
+ soft: { light: primitivePalette.hotPink[50], dark: primitivePalette.hotPink[950] },
5400
+ light: { light: primitivePalette.hotPink[200], dark: primitivePalette.hotPink[900] },
5401
+ main: { light: primitivePalette.hotPink[500], dark: primitivePalette.hotPink[500] },
5402
+ dark: { light: primitivePalette.hotPink[600], dark: primitivePalette.hotPink[700] },
5403
+ strong: { light: "", dark: "" }
5404
+ }
5405
+ };
5406
+
4994
5407
  // ../tailwind-config/src/typography/font.ts
4995
5408
  var fontSize = {
4996
5409
  h1: [
@@ -5194,7 +5607,7 @@ var boxShadow = {
5194
5607
  "drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
5195
5608
  "drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
5196
5609
  "drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
5197
- "drop-xl": "0 10px 30px 0 rgba(0, 0, 0, 0.1)"
5610
+ "drop-xl": "0 0px 60px 0 rgba(0, 0, 0, 0.2)"
5198
5611
  };
5199
5612
 
5200
5613
  // ../tailwind-config/src/border/radius.ts
@@ -5203,8 +5616,19 @@ var borderRadius = {
5203
5616
  md: "6px",
5204
5617
  lg: "8px",
5205
5618
  xl: "10px",
5619
+ "2xl": "20px",
5206
5620
  none: "0",
5207
- full: "9999px"
5621
+ full: "9999px",
5622
+ 2: "2px",
5623
+ 5: "5px"
5624
+ };
5625
+
5626
+ // ../tailwind-config/src/border/width.ts
5627
+ var borderWidth = {
5628
+ sm: "1px",
5629
+ md: "1.25px",
5630
+ lg: "1.5px",
5631
+ xl: "1.75px"
5208
5632
  };
5209
5633
 
5210
5634
  // ../tailwind-config/src/space/gap.ts
@@ -5212,7 +5636,11 @@ var gap = {
5212
5636
  sm: "4px",
5213
5637
  md: "6px",
5214
5638
  lg: "8px",
5215
- xl: "10px"
5639
+ xl: "10px",
5640
+ 5: "5px",
5641
+ 10: "10px",
5642
+ 20: "20px",
5643
+ 30: "30px"
5216
5644
  };
5217
5645
 
5218
5646
  // src/utils/tailwind-variants.ts
@@ -5227,7 +5655,8 @@ var tv = (0, import_tailwind_variants.createTV)({
5227
5655
  borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
5228
5656
  boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
5229
5657
  padding: [{ p: [...COMMON_SIZE] }],
5230
- gap: [{ gap: [...typedKeys(gap)] }]
5658
+ gap: [{ gap: [...typedKeys(gap)] }],
5659
+ borderWidth: [{ border: [...typedKeys(borderWidth)] }]
5231
5660
  }
5232
5661
  }
5233
5662
  });
@@ -5430,10 +5859,10 @@ var inputStyle = tv(
5430
5859
  "placeholder:text-neutral-main",
5431
5860
  "outline-none",
5432
5861
  "focus:ring-0",
5433
- "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5434
- "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
5435
- "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
5436
- "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
5862
+ "group-hover/input:text-neutral-dark",
5863
+ "group-hover/input:placeholder:text-neutral-dark",
5864
+ "focus:text-neutral-dark",
5865
+ "focus:placeholder:text-neutral-dark",
5437
5866
  "read-only:!text-body-foreground",
5438
5867
  "read-only:placeholder:!text-body-foreground"
5439
5868
  ],
@@ -5442,10 +5871,10 @@ var inputStyle = tv(
5442
5871
  "items-center",
5443
5872
  "select-none",
5444
5873
  "text-neutral-main",
5445
- "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5446
- "read-only:!text-body-foreground"
5874
+ "transition-colors",
5875
+ "group-hover/input:text-neutral-dark"
5447
5876
  ],
5448
- helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5877
+ helperMessage: ["text-neutral-main", "group-hover/input:text-neutral-dark"],
5449
5878
  errorMessage: ["text-danger-main"],
5450
5879
  readonlyWrapper: [
5451
5880
  "pointer-events-none",
@@ -5484,46 +5913,46 @@ var inputStyle = tv(
5484
5913
  },
5485
5914
  color: {
5486
5915
  primary: {
5487
- content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
5488
- helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
5489
- readonly: ["text-primary-main"]
5916
+ content: ["group-focus-within/input:!text-primary-main"],
5917
+ helperMessage: ["group-focus-within/input:!text-primary-main"],
5918
+ readonly: ["!text-primary-main"]
5490
5919
  },
5491
5920
  secondary: {
5492
- content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
5493
- helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
5494
- readonly: ["text-secondary-main"]
5921
+ content: ["group-focus-within/input:!text-secondary-main"],
5922
+ helperMessage: ["group-focus-within/input:!text-secondary-main"],
5923
+ readonly: ["!text-secondary-main"]
5495
5924
  }
5496
5925
  },
5497
5926
  size: {
5498
5927
  sm: {
5499
- base: ["text-sm", "gap-[4px]"],
5928
+ base: ["text-sm", "gap-sm"],
5500
5929
  label: ["text-sm"],
5501
- innerWrapper: ["gap-[4px]"],
5502
- inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "gap-[4px]"],
5930
+ innerWrapper: ["gap-sm"],
5931
+ inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-xs", "gap-sm"],
5503
5932
  helperMessage: ["text-sm"],
5504
5933
  errorMessage: ["text-sm"]
5505
5934
  },
5506
5935
  md: {
5507
- base: ["text-md", "gap-[6px]"],
5936
+ base: ["text-md", "gap-md"],
5508
5937
  label: ["text-md"],
5509
- innerWrapper: ["gap-[6px]"],
5510
- inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "gap-[6px]"],
5938
+ innerWrapper: ["gap-md"],
5939
+ inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-sm", "gap-md"],
5511
5940
  helperMessage: ["text-sm"],
5512
5941
  errorMessage: ["text-sm"]
5513
5942
  },
5514
5943
  lg: {
5515
- base: ["text-lg", "gap-[8px]"],
5944
+ base: ["text-lg", "gap-lg"],
5516
5945
  label: ["text-lg"],
5517
- innerWrapper: ["gap-[8px]"],
5518
- inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "gap-[8px]"],
5946
+ innerWrapper: ["gap-lg"],
5947
+ inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-md", "gap-lg"],
5519
5948
  helperMessage: ["text-md"],
5520
5949
  errorMessage: ["text-md"]
5521
5950
  },
5522
5951
  xl: {
5523
- base: ["text-xl", "gap-[10px]"],
5952
+ base: ["text-xl", "gap-xl"],
5524
5953
  label: ["text-xl"],
5525
- innerWrapper: ["gap-[10px]"],
5526
- inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "gap-[10px]"],
5954
+ innerWrapper: ["gap-xl"],
5955
+ inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-lg", "gap-xl"],
5527
5956
  helperMessage: ["text-md"],
5528
5957
  errorMessage: ["text-md"]
5529
5958
  }
@@ -5679,328 +6108,139 @@ var inputStyle = tv(
5679
6108
  // src/components/button/button.tsx
5680
6109
  var import_react3 = require("react");
5681
6110
 
5682
- // src/components/ripple/ripple.tsx
5683
- var import_framer_motion = require("framer-motion");
5684
- var import_jsx_runtime4 = require("react/jsx-runtime");
5685
- var Ripple = (props) => {
5686
- const { ripples = [], motionProps, color = "currentColor", style, onClear } = props;
5687
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: ripples.map((ripple) => {
5688
- const duration = (0, import_framer_motion.clamp)(ripple.size > 100 ? 0.75 : 0.5, 0.01 * ripple.size, 0.2);
5689
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_framer_motion.LazyMotion, { features: import_framer_motion.domAnimation, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_framer_motion.AnimatePresence, { mode: "popLayout", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
5690
- import_framer_motion.m.span,
5691
- {
5692
- animate: { transform: "scale(2)", opacity: 0 },
5693
- className: "deepnoidui-ripple",
5694
- exit: { opacity: 0 },
5695
- initial: { transform: "scale(0)", opacity: 0.35 },
5696
- style: {
5697
- position: "absolute",
5698
- backgroundColor: color,
5699
- borderRadius: "100%",
5700
- transformOrigin: "center",
5701
- pointerEvents: "none",
5702
- overflow: "hidden",
5703
- inset: 0,
5704
- zIndex: 0,
5705
- top: ripple.y,
5706
- left: ripple.x,
5707
- width: `${ripple.size}px`,
5708
- height: `${ripple.size}px`,
5709
- ...style
5710
- },
5711
- transition: { duration },
5712
- onAnimationComplete: () => {
5713
- onClear(ripple.key);
5714
- },
5715
- ...motionProps
6111
+ // src/components/button/button.style.ts
6112
+ var buttonBaseStyle = tv({
6113
+ slots: {
6114
+ base: [
6115
+ "relative",
6116
+ "flex",
6117
+ "items-center",
6118
+ "justify-center",
6119
+ "whitespace-nowrap",
6120
+ "transition",
6121
+ "duration-200",
6122
+ "select-none",
6123
+ "overflow-hidden",
6124
+ "box-border",
6125
+ "border",
6126
+ "border-transparent"
6127
+ ]
6128
+ },
6129
+ variants: {
6130
+ variant: {
6131
+ solid: [],
6132
+ soft: [],
6133
+ outline: [],
6134
+ ghost: []
6135
+ },
6136
+ color: {
6137
+ primary: [],
6138
+ secondary: [],
6139
+ neutral: [],
6140
+ info: [],
6141
+ success: [],
6142
+ warning: [],
6143
+ danger: []
6144
+ },
6145
+ disabled: {
6146
+ true: {
6147
+ base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
5716
6148
  }
5717
- ) }) }, ripple.key);
5718
- }) });
5719
- };
5720
- Ripple.displayName = "HeroUI.Ripple";
5721
- var ripple_default = Ripple;
5722
-
5723
- // src/components/ripple/useRipple.ts
5724
- var import_react2 = require("react");
5725
- function useRipple(props = {}) {
5726
- const [ripples, setRipples] = (0, import_react2.useState)([]);
5727
- const getUniqueID = (key) => `${key}-${Math.random().toString(36).substr(2, 9)}`;
5728
- const onPress = (0, import_react2.useCallback)((event) => {
5729
- const trigger = event.currentTarget;
5730
- const rect = trigger.getBoundingClientRect();
5731
- const size = Math.max(trigger.clientWidth, trigger.clientHeight);
5732
- setRipples((prevRipples) => [
5733
- ...prevRipples,
5734
- {
5735
- key: getUniqueID(prevRipples.length.toString()),
5736
- size,
5737
- x: event.clientX - rect.left - size / 2,
5738
- y: event.clientY - rect.top - size / 2
6149
+ },
6150
+ isInGroup: {
6151
+ true: {
6152
+ base: [
6153
+ "[&:not(:first-child):not(:last-child)]:rounded-none",
6154
+ "first:rounded-r-none",
6155
+ "last:rounded-l-none",
6156
+ "[&:not(:first-child)]:border-l-0"
6157
+ ]
5739
6158
  }
5740
- ]);
5741
- }, []);
5742
- const onClear = (0, import_react2.useCallback)((key) => {
5743
- setRipples((prevState) => prevState.filter((ripple) => ripple.key !== key));
5744
- }, []);
5745
- return { ripples, onClear, onPress, ...props };
5746
- }
5747
-
5748
- // src/components/button/button.tsx
5749
- var import_jsx_runtime5 = require("react/jsx-runtime");
5750
- var extractTextFromChildren = (children) => {
5751
- if (typeof children === "string") {
5752
- return children;
5753
- }
5754
- if (typeof children === "number") {
5755
- return String(children);
5756
- }
5757
- if ((0, import_react3.isValidElement)(children)) {
5758
- const childProps = children.props;
5759
- return extractTextFromChildren(childProps.children);
5760
- }
5761
- if (Array.isArray(children)) {
5762
- return children.map((child) => extractTextFromChildren(child)).join(" ");
5763
- }
5764
- return "";
5765
- };
5766
- var Button = (0, import_react3.forwardRef)((originalProps, ref) => {
5767
- const [props, variantProps] = mapPropsVariants(originalProps, buttonStyle.variantKeys);
5768
- const { classNames, startContent, endContent, disableRipple, asChild, children, ...buttonProps } = props;
5769
- const slots = (0, import_react3.useMemo)(() => buttonStyle({ ...variantProps }), [variantProps]);
5770
- const { onPress: onRipplePressHandler, onClear: onClearRipple, ripples } = useRipple();
5771
- const autoAriaLabel = (0, import_react3.useMemo)(() => {
5772
- if (originalProps["aria-label"] || originalProps["aria-labelledby"]) {
5773
- return void 0;
5774
6159
  }
5775
- if (originalProps.isLoading) {
5776
- const baseText = extractTextFromChildren(children);
5777
- return baseText ? `${baseText} (loading)` : "loading";
5778
- }
5779
- const textContent = extractTextFromChildren(children);
5780
- return textContent || void 0;
5781
- }, [originalProps["aria-label"], originalProps["aria-labelledby"], originalProps.isLoading, children]);
5782
- const handlePress = (0, import_react3.useCallback)(
5783
- (e) => {
5784
- if (disableRipple || originalProps.disabled) return;
5785
- onRipplePressHandler(e);
5786
- },
5787
- [disableRipple, originalProps.disabled, onRipplePressHandler]
5788
- );
5789
- const mouseDownHandler = (0, import_react3.useCallback)(
5790
- (e) => {
5791
- var _a;
5792
- (_a = buttonProps.onMouseDown) == null ? void 0 : _a.call(buttonProps, e);
5793
- if (disableRipple || originalProps.disabled) return;
5794
- handlePress(e);
5795
- },
5796
- [buttonProps.onMouseDown, disableRipple, originalProps.disabled, handlePress]
5797
- );
5798
- const getRippleProps = (0, import_react3.useCallback)(
5799
- () => ({ ripples, onClear: onClearRipple }),
5800
- [ripples, onClearRipple]
5801
- );
5802
- const getBaseProps = (0, import_react3.useCallback)(
5803
- () => ({
5804
- ...buttonProps,
5805
- onMouseDown: mouseDownHandler,
5806
- ref,
5807
- disabled: originalProps.disabled || originalProps.isLoading,
5808
- "data-loading": originalProps.isLoading,
5809
- className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
5810
- "aria-label": originalProps["aria-label"] || autoAriaLabel
5811
- }),
5812
- [
5813
- buttonProps,
5814
- mouseDownHandler,
5815
- ref,
5816
- originalProps.disabled,
5817
- originalProps.isLoading,
5818
- originalProps["aria-label"],
5819
- autoAriaLabel,
5820
- slots,
5821
- classNames == null ? void 0 : classNames.base
5822
- ]
5823
- );
5824
- const getContentProps = (0, import_react3.useCallback)(
5825
- () => ({
5826
- className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
5827
- size: originalProps.size
5828
- }),
5829
- [slots, classNames, originalProps.size]
5830
- );
5831
- const renderContent = (content) => {
5832
- if ((0, import_react3.isValidElement)(content)) {
5833
- const _content = content;
5834
- const existingProps = _content.props;
5835
- const mergedProps = {
5836
- ...getContentProps(),
5837
- className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
5838
- };
5839
- return (0, import_react3.cloneElement)(content, mergedProps);
5840
- } else {
5841
- const contentProps = getContentProps();
5842
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...contentProps, children: content });
5843
- }
5844
- };
5845
- const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
5846
- startContent && renderContent(startContent),
5847
- children,
5848
- endContent && renderContent(endContent),
5849
- !disableRipple && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ripple_default, { ...getRippleProps() })
5850
- ] }) });
5851
- if (asChild && (0, import_react3.isValidElement)(children)) {
5852
- const childElement = children;
5853
- const baseProps = getBaseProps();
5854
- const mergedProps = {
5855
- ...childElement.props,
5856
- ...baseProps,
5857
- className: `${baseProps.className || ""} ${childElement.props.className || ""}`.trim(),
5858
- onClick: (e) => {
5859
- var _a, _b, _c;
5860
- (_b = (_a = childElement.props).onClick) == null ? void 0 : _b.call(_a, e);
5861
- (_c = baseProps.onClick) == null ? void 0 : _c.call(baseProps, e);
5862
- },
5863
- onMouseDown: (e) => {
5864
- var _a, _b, _c;
5865
- (_b = (_a = childElement.props).onMouseDown) == null ? void 0 : _b.call(_a, e);
5866
- (_c = baseProps.onMouseDown) == null ? void 0 : _c.call(baseProps, e);
5867
- },
5868
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
5869
- startContent && renderContent(startContent),
5870
- childElement.props.children,
5871
- endContent && renderContent(endContent),
5872
- !disableRipple && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ripple_default, { ...getRippleProps() })
5873
- ] }) })
5874
- };
5875
- return (0, import_react3.cloneElement)(childElement, mergedProps);
5876
- }
5877
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { ...getBaseProps(), children: buttonContent });
5878
- });
5879
- Button.displayName = "Button";
5880
- var button_default = Button;
5881
- var buttonStyle = tv({
5882
- slots: {
5883
- base: "relative flex items-center justify-center whitespace-nowrap transition duration-200 select-none overflow-hidden box-border border border-transparent",
5884
- content: ""
5885
- },
5886
- variants: {
5887
- variant: {
5888
- solid: "",
5889
- soft: "",
5890
- outline: "",
5891
- ghost: ""
5892
- },
5893
- color: {
5894
- primary: "",
5895
- secondary: "",
5896
- neutral: "",
5897
- info: "",
5898
- success: "",
5899
- warning: "",
5900
- danger: ""
5901
- },
5902
- size: {
5903
- sm: {
5904
- base: "h-[24px] px-[8px] py-[3px] text-sm font-[700] rounded-sm gap-sm"
5905
- },
5906
- md: {
5907
- base: "h-[32px] px-[12px] py-[5.5px] text-md font-[700] rounded-md gap-md"
5908
- },
5909
- lg: {
5910
- base: "h-[40px] px-[16px] py-[8px] text-lg font-[700] rounded-lg gap-lg"
5911
- },
5912
- xl: {
5913
- base: "h-[50px] px-[20px] py-[11.5px] text-xl font-[700] rounded-xl gap-xl"
5914
- }
5915
- },
5916
- radius: {
5917
- default: {
5918
- base: ""
5919
- },
5920
- full: {
5921
- base: "rounded-full"
5922
- },
5923
- none: {
5924
- base: "rounded-none"
5925
- }
5926
- },
5927
- full: {
5928
- true: {
5929
- base: "w-full"
5930
- }
5931
- },
5932
- isLoading: {
5933
- true: {}
5934
- },
5935
- disabled: {
5936
- true: {
5937
- base: "!bg-neutral-soft !border-neutral-soft !text-neutral-light pointer-events-none"
5938
- }
5939
- },
5940
- isInGroup: {
5941
- true: {
5942
- base: "[&:not(:first-child):not(:last-child)]:rounded-none first:rounded-r-none last:rounded-l-none [&:not(:first-child)]:border-l-0"
5943
- }
5944
- }
5945
- },
5946
- defaultVariants: {
5947
- size: "md",
5948
- variant: "solid",
5949
- color: "primary",
5950
- full: false,
5951
- disabled: false,
5952
- isLoading: false,
5953
- isInGroup: false
5954
6160
  },
5955
6161
  compoundVariants: [
5956
- // solid & color
5957
6162
  {
5958
6163
  variant: "solid",
5959
6164
  color: "primary",
5960
6165
  class: {
5961
- base: ["text-white", "bg-primary-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6166
+ base: [
6167
+ "text-white",
6168
+ "bg-primary-main",
6169
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-primary-main)]",
6170
+ "active:bg-primary-dark"
6171
+ ]
5962
6172
  }
5963
6173
  },
5964
6174
  {
5965
6175
  variant: "solid",
5966
6176
  color: "secondary",
5967
6177
  class: {
5968
- base: ["text-white", "bg-secondary-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6178
+ base: [
6179
+ "text-white",
6180
+ "bg-secondary-main",
6181
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-secondary-main)]",
6182
+ "active:bg-secondary-dark"
6183
+ ]
5969
6184
  }
5970
6185
  },
5971
6186
  {
5972
6187
  variant: "solid",
5973
6188
  color: "neutral",
5974
6189
  class: {
5975
- base: ["text-white", "bg-neutral-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6190
+ base: [
6191
+ "text-white",
6192
+ "bg-neutral-main",
6193
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-neutral-main)]",
6194
+ "active:bg-neutral-dark"
6195
+ ]
5976
6196
  }
5977
6197
  },
5978
6198
  {
5979
6199
  variant: "solid",
5980
6200
  color: "info",
5981
6201
  class: {
5982
- base: ["text-white", "bg-info-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6202
+ base: [
6203
+ "text-white",
6204
+ "bg-info-main",
6205
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-info-main)]",
6206
+ "active:bg-info-dark"
6207
+ ]
5983
6208
  }
5984
6209
  },
5985
6210
  {
5986
6211
  variant: "solid",
5987
6212
  color: "success",
5988
6213
  class: {
5989
- base: ["text-white", "bg-success-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6214
+ base: [
6215
+ "text-white",
6216
+ "bg-success-main",
6217
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-success-main)]",
6218
+ "active:bg-success-dark"
6219
+ ]
5990
6220
  }
5991
6221
  },
5992
6222
  {
5993
6223
  variant: "solid",
5994
6224
  color: "warning",
5995
6225
  class: {
5996
- base: ["text-white", "bg-warning-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6226
+ base: [
6227
+ "text-white",
6228
+ "bg-warning-main",
6229
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-warning-main)]",
6230
+ "active:bg-warning-dark"
6231
+ ]
5997
6232
  }
5998
6233
  },
5999
6234
  {
6000
6235
  variant: "solid",
6001
6236
  color: "danger",
6002
6237
  class: {
6003
- base: ["text-white", "bg-danger-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
6238
+ base: [
6239
+ "text-white",
6240
+ "bg-danger-main",
6241
+ "hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-danger-main)]",
6242
+ "active:bg-danger-dark"
6243
+ ]
6004
6244
  }
6005
6245
  },
6006
6246
  // soft & color
@@ -6008,49 +6248,85 @@ var buttonStyle = tv({
6008
6248
  variant: "soft",
6009
6249
  color: "primary",
6010
6250
  class: {
6011
- base: ["text-primary-main", "bg-primary-soft", "border-primary-soft", "hover:border-primary-light"]
6251
+ base: [
6252
+ "text-primary-main",
6253
+ "bg-primary-soft",
6254
+ "border-primary-soft",
6255
+ "hover:border-primary-light",
6256
+ "active:bg-primary-light"
6257
+ ]
6012
6258
  }
6013
6259
  },
6014
6260
  {
6015
6261
  variant: "soft",
6016
6262
  color: "secondary",
6017
6263
  class: {
6018
- base: ["text-secondary-main", "bg-secondary-soft", "border-secondary-soft", "hover:border-secondary-light"]
6264
+ base: [
6265
+ "text-secondary-main",
6266
+ "bg-secondary-soft",
6267
+ "border-secondary-soft",
6268
+ "hover:border-secondary-light",
6269
+ "active:bg-secondary-light"
6270
+ ]
6019
6271
  }
6020
6272
  },
6021
6273
  {
6022
6274
  variant: "soft",
6023
6275
  color: "neutral",
6024
6276
  class: {
6025
- base: ["text-neutral-main", "bg-neutral-soft", "border-neutral-soft", "hover:border-neutral-light"]
6277
+ base: [
6278
+ "text-neutral-main",
6279
+ "bg-neutral-soft",
6280
+ "border-neutral-soft",
6281
+ "hover:border-neutral-light",
6282
+ "active:bg-neutral-light"
6283
+ ]
6026
6284
  }
6027
6285
  },
6028
6286
  {
6029
6287
  variant: "soft",
6030
6288
  color: "info",
6031
6289
  class: {
6032
- base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light"]
6290
+ base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
6033
6291
  }
6034
6292
  },
6035
6293
  {
6036
6294
  variant: "soft",
6037
6295
  color: "success",
6038
6296
  class: {
6039
- base: ["text-success-main", "bg-success-soft", "border-success-soft", "hover:border-success-light"]
6297
+ base: [
6298
+ "text-success-main",
6299
+ "bg-success-soft",
6300
+ "border-success-soft",
6301
+ "hover:border-success-light",
6302
+ "active:bg-success-light"
6303
+ ]
6040
6304
  }
6041
6305
  },
6042
6306
  {
6043
6307
  variant: "soft",
6044
6308
  color: "warning",
6045
6309
  class: {
6046
- base: ["text-warning-main", "bg-warning-soft", "border-warning-soft", "hover:border-warning-light"]
6310
+ base: [
6311
+ "text-warning-main",
6312
+ "bg-warning-soft",
6313
+ "border-warning-soft",
6314
+ "hover:border-warning-light",
6315
+ "active:bg-warning-light"
6316
+ ]
6047
6317
  }
6048
6318
  },
6049
6319
  {
6050
6320
  variant: "soft",
6051
6321
  color: "danger",
6052
6322
  class: {
6053
- base: ["text-danger-main", "bg-danger-soft", "border-danger-soft", "hover:border-danger-light"]
6323
+ base: [
6324
+ "text-danger-main",
6325
+ "bg-danger-soft",
6326
+ "border-danger-soft",
6327
+ "hover:border-danger-light",
6328
+ "active:bg-danger-light"
6329
+ ]
6054
6330
  }
6055
6331
  },
6056
6332
  // outline & color
@@ -6058,49 +6334,91 @@ var buttonStyle = tv({
6058
6334
  variant: "outline",
6059
6335
  color: "primary",
6060
6336
  class: {
6061
- base: ["bg-body-background", "border-primary-main", "text-primary-main", "hover:bg-primary-soft"]
6337
+ base: [
6338
+ "bg-body-background",
6339
+ "border-primary-main",
6340
+ "text-primary-main",
6341
+ "hover:bg-primary-soft",
6342
+ "active:bg-primary-light"
6343
+ ]
6062
6344
  }
6063
6345
  },
6064
6346
  {
6065
6347
  variant: "outline",
6066
6348
  color: "secondary",
6067
6349
  class: {
6068
- base: ["bg-body-background", "border-secondary-main", "text-secondary-main", "hover:bg-secondary-soft"]
6350
+ base: [
6351
+ "bg-body-background",
6352
+ "border-secondary-main",
6353
+ "text-secondary-main",
6354
+ "hover:bg-secondary-soft",
6355
+ "active:bg-secondary-light"
6356
+ ]
6069
6357
  }
6070
6358
  },
6071
6359
  {
6072
6360
  variant: "outline",
6073
6361
  color: "neutral",
6074
6362
  class: {
6075
- base: ["bg-body-background", "border-neutral-main", "text-neutral-main", "hover:bg-neutral-soft"]
6363
+ base: [
6364
+ "bg-body-background",
6365
+ "border-neutral-main",
6366
+ "text-neutral-main",
6367
+ "hover:bg-neutral-soft",
6368
+ "active:bg-neutral-light"
6369
+ ]
6076
6370
  }
6077
6371
  },
6078
6372
  {
6079
6373
  variant: "outline",
6080
6374
  color: "info",
6081
6375
  class: {
6082
- base: ["bg-body-background", "border-info-main", "text-info-main", "hover:bg-info-soft"]
6376
+ base: [
6377
+ "bg-body-background",
6378
+ "border-info-main",
6379
+ "text-info-main",
6380
+ "hover:bg-info-soft",
6381
+ "active:bg-info-light"
6382
+ ]
6083
6383
  }
6084
6384
  },
6085
6385
  {
6086
6386
  variant: "outline",
6087
6387
  color: "success",
6088
6388
  class: {
6089
- base: ["bg-body-background", "border-success-main", "text-success-main", "hover:bg-success-soft"]
6389
+ base: [
6390
+ "bg-body-background",
6391
+ "border-success-main",
6392
+ "text-success-main",
6393
+ "hover:bg-success-soft",
6394
+ "active:bg-success-light"
6395
+ ]
6090
6396
  }
6091
6397
  },
6092
6398
  {
6093
6399
  variant: "outline",
6094
6400
  color: "warning",
6095
6401
  class: {
6096
- base: ["bg-body-background", "border-warning-main", "text-warning-main", "hover:bg-warning-soft"]
6402
+ base: [
6403
+ "bg-body-background",
6404
+ "border-warning-main",
6405
+ "text-warning-main",
6406
+ "hover:bg-warning-soft",
6407
+ "active:bg-warning-light"
6408
+ ]
6097
6409
  }
6098
6410
  },
6099
6411
  {
6100
6412
  variant: "outline",
6101
6413
  color: "danger",
6102
6414
  class: {
6103
- base: ["bg-body-background", "border-danger-main", "text-danger-main", "hover:bg-danger-soft"]
6415
+ base: [
6416
+ "bg-body-background",
6417
+ "border-danger-main",
6418
+ "text-danger-main",
6419
+ "hover:bg-danger-soft",
6420
+ "active:bg-danger-light"
6421
+ ]
6104
6422
  }
6105
6423
  },
6106
6424
  // ghost & color
@@ -6108,49 +6426,91 @@ var buttonStyle = tv({
6108
6426
  variant: "ghost",
6109
6427
  color: "primary",
6110
6428
  class: {
6111
- base: ["text-primary-main", "border-transparent", "hover:bg-primary-soft"]
6429
+ base: [
6430
+ "text-primary-main",
6431
+ "border-transparent",
6432
+ "hover:bg-primary-soft",
6433
+ "active:bg-primary-main",
6434
+ "active:text-common-white"
6435
+ ]
6112
6436
  }
6113
6437
  },
6114
6438
  {
6115
6439
  variant: "ghost",
6116
6440
  color: "secondary",
6117
6441
  class: {
6118
- base: ["text-secondary-main", "border-transparent", "hover:bg-secondary-soft"]
6442
+ base: [
6443
+ "text-secondary-main",
6444
+ "border-transparent",
6445
+ "hover:bg-secondary-soft",
6446
+ "active:bg-secondary-main",
6447
+ "active:text-common-white"
6448
+ ]
6119
6449
  }
6120
6450
  },
6121
6451
  {
6122
6452
  variant: "ghost",
6123
6453
  color: "neutral",
6124
6454
  class: {
6125
- base: ["text-neutral-main", "border-transparent", "hover:bg-neutral-soft"]
6455
+ base: [
6456
+ "text-neutral-main",
6457
+ "border-transparent",
6458
+ "hover:bg-neutral-soft",
6459
+ "active:bg-neutral-main",
6460
+ "active:text-common-white"
6461
+ ]
6126
6462
  }
6127
6463
  },
6128
6464
  {
6129
6465
  variant: "ghost",
6130
6466
  color: "info",
6131
6467
  class: {
6132
- base: ["text-info-main", "border-transparent", "hover:bg-info-soft"]
6468
+ base: [
6469
+ "text-info-main",
6470
+ "border-transparent",
6471
+ "hover:bg-info-soft",
6472
+ "active:bg-info-main",
6473
+ "active:text-common-white"
6474
+ ]
6133
6475
  }
6134
6476
  },
6135
6477
  {
6136
6478
  variant: "ghost",
6137
6479
  color: "success",
6138
6480
  class: {
6139
- base: ["text-success-main", "border-transparent", "hover:bg-success-soft"]
6481
+ base: [
6482
+ "text-success-main",
6483
+ "border-transparent",
6484
+ "hover:bg-success-soft",
6485
+ "active:bg-success-main",
6486
+ "active:text-common-white"
6487
+ ]
6140
6488
  }
6141
6489
  },
6142
6490
  {
6143
6491
  variant: "ghost",
6144
6492
  color: "warning",
6145
6493
  class: {
6146
- base: ["text-warning-main", "border-transparent", "hover:bg-warning-soft"]
6494
+ base: [
6495
+ "text-warning-main",
6496
+ "border-transparent",
6497
+ "hover:bg-warning-soft",
6498
+ "active:bg-warning-main",
6499
+ "active:text-common-white"
6500
+ ]
6147
6501
  }
6148
6502
  },
6149
6503
  {
6150
6504
  variant: "ghost",
6151
6505
  color: "danger",
6152
6506
  class: {
6153
- base: ["text-danger-main", "border-transparent", "hover:bg-danger-soft"]
6507
+ base: [
6508
+ "text-danger-main",
6509
+ "border-transparent",
6510
+ "hover:bg-danger-soft",
6511
+ "active:bg-danger-main",
6512
+ "active:text-common-white"
6513
+ ]
6154
6514
  }
6155
6515
  },
6156
6516
  // variant && size
@@ -6158,28 +6518,28 @@ var buttonStyle = tv({
6158
6518
  variant: ["soft", "outline"],
6159
6519
  size: "sm",
6160
6520
  class: {
6161
- base: "border-[1px]"
6521
+ base: ["border-sm"]
6162
6522
  }
6163
6523
  },
6164
6524
  {
6165
6525
  variant: ["soft", "outline"],
6166
6526
  size: "md",
6167
6527
  class: {
6168
- base: "border-[1.25px]"
6528
+ base: ["border-md"]
6169
6529
  }
6170
6530
  },
6171
6531
  {
6172
6532
  variant: ["soft", "outline"],
6173
6533
  size: "lg",
6174
6534
  class: {
6175
- base: "border-[1.5px]"
6535
+ base: ["border-lg"]
6176
6536
  }
6177
6537
  },
6178
6538
  {
6179
6539
  variant: ["soft", "outline"],
6180
6540
  size: "xl",
6181
6541
  class: {
6182
- base: "border-[1.75px]"
6542
+ base: ["border-xl"]
6183
6543
  }
6184
6544
  },
6185
6545
  // variant && disabled
@@ -6187,19 +6547,270 @@ var buttonStyle = tv({
6187
6547
  variant: ["soft", "ghost"],
6188
6548
  disabled: true,
6189
6549
  class: {
6190
- base: "!border-neutral-soft"
6550
+ base: ["!border-neutral-soft"]
6191
6551
  }
6192
6552
  },
6193
6553
  {
6194
6554
  variant: ["outline"],
6195
6555
  disabled: true,
6196
6556
  class: {
6197
- base: "!border-neutral-light"
6557
+ base: ["!border-neutral-light"]
6198
6558
  }
6199
6559
  }
6200
6560
  ]
6201
6561
  });
6202
6562
 
6563
+ // src/components/ripple/ripple.tsx
6564
+ var import_framer_motion = require("framer-motion");
6565
+ var import_jsx_runtime4 = require("react/jsx-runtime");
6566
+ var Ripple = (props) => {
6567
+ const { ripples = [], motionProps, color = "currentColor", style, onClear } = props;
6568
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: ripples.map((ripple) => {
6569
+ const duration = (0, import_framer_motion.clamp)(ripple.size > 100 ? 0.75 : 0.5, 0.01 * ripple.size, 0.2);
6570
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_framer_motion.LazyMotion, { features: import_framer_motion.domAnimation, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_framer_motion.AnimatePresence, { mode: "popLayout", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
6571
+ import_framer_motion.m.span,
6572
+ {
6573
+ animate: { transform: "scale(2)", opacity: 0 },
6574
+ className: "deepnoidui-ripple",
6575
+ exit: { opacity: 0 },
6576
+ initial: { transform: "scale(0)", opacity: 0.35 },
6577
+ style: {
6578
+ position: "absolute",
6579
+ backgroundColor: color,
6580
+ borderRadius: "100%",
6581
+ transformOrigin: "center",
6582
+ pointerEvents: "none",
6583
+ overflow: "hidden",
6584
+ inset: 0,
6585
+ zIndex: 0,
6586
+ top: ripple.y,
6587
+ left: ripple.x,
6588
+ width: `${ripple.size}px`,
6589
+ height: `${ripple.size}px`,
6590
+ ...style
6591
+ },
6592
+ transition: { duration },
6593
+ onAnimationComplete: () => {
6594
+ onClear(ripple.key);
6595
+ },
6596
+ ...motionProps
6597
+ }
6598
+ ) }) }, ripple.key);
6599
+ }) });
6600
+ };
6601
+ Ripple.displayName = "HeroUI.Ripple";
6602
+ var ripple_default = Ripple;
6603
+
6604
+ // src/components/ripple/useRipple.ts
6605
+ var import_react2 = require("react");
6606
+ function useRipple(props = {}) {
6607
+ const [ripples, setRipples] = (0, import_react2.useState)([]);
6608
+ const getUniqueID = (key) => `${key}-${Math.random().toString(36).substr(2, 9)}`;
6609
+ const onPress = (0, import_react2.useCallback)((event) => {
6610
+ const trigger = event.currentTarget;
6611
+ const rect = trigger.getBoundingClientRect();
6612
+ const size = Math.max(trigger.clientWidth, trigger.clientHeight);
6613
+ setRipples((prevRipples) => [
6614
+ ...prevRipples,
6615
+ {
6616
+ key: getUniqueID(prevRipples.length.toString()),
6617
+ size,
6618
+ x: event.clientX - rect.left - size / 2,
6619
+ y: event.clientY - rect.top - size / 2
6620
+ }
6621
+ ]);
6622
+ }, []);
6623
+ const onClear = (0, import_react2.useCallback)((key) => {
6624
+ setRipples((prevState) => prevState.filter((ripple) => ripple.key !== key));
6625
+ }, []);
6626
+ return { ripples, onClear, onPress, ...props };
6627
+ }
6628
+
6629
+ // src/components/button/button.tsx
6630
+ var import_jsx_runtime5 = require("react/jsx-runtime");
6631
+ var extractTextFromChildren = (children) => {
6632
+ if (typeof children === "string") {
6633
+ return children;
6634
+ }
6635
+ if (typeof children === "number") {
6636
+ return String(children);
6637
+ }
6638
+ if ((0, import_react3.isValidElement)(children)) {
6639
+ const childProps = children.props;
6640
+ return extractTextFromChildren(childProps.children);
6641
+ }
6642
+ if (Array.isArray(children)) {
6643
+ return children.map((child) => extractTextFromChildren(child)).join(" ");
6644
+ }
6645
+ return "";
6646
+ };
6647
+ var Button = (0, import_react3.forwardRef)((originalProps, ref) => {
6648
+ const [props, variantProps] = mapPropsVariants(originalProps, buttonStyle.variantKeys);
6649
+ const { classNames, startContent, endContent, disableRipple, asChild, children, ...buttonProps } = props;
6650
+ const slots = (0, import_react3.useMemo)(() => buttonStyle({ ...variantProps }), [variantProps]);
6651
+ const { onPress: onRipplePressHandler, onClear: onClearRipple, ripples } = useRipple();
6652
+ const autoAriaLabel = (0, import_react3.useMemo)(() => {
6653
+ if (originalProps["aria-label"] || originalProps["aria-labelledby"]) {
6654
+ return void 0;
6655
+ }
6656
+ if (originalProps.isLoading) {
6657
+ const baseText = extractTextFromChildren(children);
6658
+ return baseText ? `${baseText} (loading)` : "loading";
6659
+ }
6660
+ const textContent = extractTextFromChildren(children);
6661
+ return textContent || void 0;
6662
+ }, [originalProps["aria-label"], originalProps["aria-labelledby"], originalProps.isLoading, children]);
6663
+ const handlePress = (0, import_react3.useCallback)(
6664
+ (e) => {
6665
+ if (disableRipple || originalProps.disabled) return;
6666
+ onRipplePressHandler(e);
6667
+ },
6668
+ [disableRipple, originalProps.disabled, onRipplePressHandler]
6669
+ );
6670
+ const mouseDownHandler = (0, import_react3.useCallback)(
6671
+ (e) => {
6672
+ var _a;
6673
+ (_a = buttonProps.onMouseDown) == null ? void 0 : _a.call(buttonProps, e);
6674
+ if (disableRipple || originalProps.disabled) return;
6675
+ handlePress(e);
6676
+ },
6677
+ [buttonProps.onMouseDown, disableRipple, originalProps.disabled, handlePress]
6678
+ );
6679
+ const getRippleProps = (0, import_react3.useCallback)(
6680
+ () => ({ ripples, onClear: onClearRipple }),
6681
+ [ripples, onClearRipple]
6682
+ );
6683
+ const getBaseProps = (0, import_react3.useCallback)(
6684
+ () => ({
6685
+ ...buttonProps,
6686
+ onMouseDown: mouseDownHandler,
6687
+ ref,
6688
+ disabled: originalProps.disabled || originalProps.isLoading,
6689
+ "data-loading": originalProps.isLoading,
6690
+ className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
6691
+ "aria-label": originalProps["aria-label"] || autoAriaLabel
6692
+ }),
6693
+ [
6694
+ buttonProps,
6695
+ mouseDownHandler,
6696
+ ref,
6697
+ originalProps.disabled,
6698
+ originalProps.isLoading,
6699
+ originalProps["aria-label"],
6700
+ autoAriaLabel,
6701
+ slots,
6702
+ classNames == null ? void 0 : classNames.base
6703
+ ]
6704
+ );
6705
+ const getContentProps = (0, import_react3.useCallback)(
6706
+ () => ({
6707
+ className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
6708
+ size: originalProps.size
6709
+ }),
6710
+ [slots, classNames, originalProps.size]
6711
+ );
6712
+ const renderContent = (content) => {
6713
+ if ((0, import_react3.isValidElement)(content)) {
6714
+ const _content = content;
6715
+ const existingProps = _content.props;
6716
+ const mergedProps = {
6717
+ ...getContentProps(),
6718
+ className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
6719
+ };
6720
+ return (0, import_react3.cloneElement)(content, mergedProps);
6721
+ } else {
6722
+ const contentProps = getContentProps();
6723
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...contentProps, children: content });
6724
+ }
6725
+ };
6726
+ const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
6727
+ startContent && renderContent(startContent),
6728
+ children,
6729
+ endContent && renderContent(endContent),
6730
+ !disableRipple && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ripple_default, { ...getRippleProps() })
6731
+ ] }) });
6732
+ if (asChild && (0, import_react3.isValidElement)(children)) {
6733
+ const childElement = children;
6734
+ const baseProps = getBaseProps();
6735
+ const mergedProps = {
6736
+ ...childElement.props,
6737
+ ...baseProps,
6738
+ className: `${baseProps.className || ""} ${childElement.props.className || ""}`.trim(),
6739
+ onClick: (e) => {
6740
+ var _a, _b, _c;
6741
+ (_b = (_a = childElement.props).onClick) == null ? void 0 : _b.call(_a, e);
6742
+ (_c = baseProps.onClick) == null ? void 0 : _c.call(baseProps, e);
6743
+ },
6744
+ onMouseDown: (e) => {
6745
+ var _a, _b, _c;
6746
+ (_b = (_a = childElement.props).onMouseDown) == null ? void 0 : _b.call(_a, e);
6747
+ (_c = baseProps.onMouseDown) == null ? void 0 : _c.call(baseProps, e);
6748
+ },
6749
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: originalProps.isLoading ? renderContent(/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
6750
+ startContent && renderContent(startContent),
6751
+ childElement.props.children,
6752
+ endContent && renderContent(endContent),
6753
+ !disableRipple && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ripple_default, { ...getRippleProps() })
6754
+ ] }) })
6755
+ };
6756
+ return (0, import_react3.cloneElement)(childElement, mergedProps);
6757
+ }
6758
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { ...getBaseProps(), children: buttonContent });
6759
+ });
6760
+ Button.displayName = "Button";
6761
+ var button_default = Button;
6762
+ var buttonStyle = tv({
6763
+ extend: buttonBaseStyle,
6764
+ slots: {
6765
+ base: ["w-fit"],
6766
+ content: []
6767
+ },
6768
+ variants: {
6769
+ size: {
6770
+ sm: {
6771
+ base: ["h-[24px]", "px-[8px]", "py-[3px]", "text-sm", "font-bold", "rounded-sm", "gap-sm"]
6772
+ },
6773
+ md: {
6774
+ base: ["h-[32px]", "px-[12px]", "py-[5.5px]", "text-md", "font-bold", "rounded-md", "gap-md"]
6775
+ },
6776
+ lg: {
6777
+ base: ["h-[40px]", "px-[16px]", "py-[8px]", "text-lg", "font-bold", "rounded-lg", "gap-lg"]
6778
+ },
6779
+ xl: {
6780
+ base: ["h-[50px]", "px-[20px]", "py-[11.5px]", "text-xl", "font-bold", "rounded-xl", "gap-xl"]
6781
+ }
6782
+ },
6783
+ radius: {
6784
+ default: {
6785
+ base: []
6786
+ },
6787
+ full: {
6788
+ base: ["rounded-full"]
6789
+ },
6790
+ none: {
6791
+ base: ["rounded-none"]
6792
+ }
6793
+ },
6794
+ full: {
6795
+ true: {
6796
+ base: ["w-full"]
6797
+ }
6798
+ },
6799
+ isLoading: {
6800
+ true: {}
6801
+ }
6802
+ },
6803
+ defaultVariants: {
6804
+ size: "md",
6805
+ variant: "solid",
6806
+ color: "primary",
6807
+ full: false,
6808
+ disabled: false,
6809
+ isLoading: false,
6810
+ isInGroup: false
6811
+ }
6812
+ });
6813
+
6203
6814
  // src/components/progress/progress.tsx
6204
6815
  var import_react5 = require("react");
6205
6816
 
@@ -6263,7 +6874,7 @@ var Progress = (originalProps) => {
6263
6874
  var progress_default = Progress;
6264
6875
  var progressStyle = tv({
6265
6876
  slots: {
6266
- base: ["flex flex-col gap-2 w-full"],
6877
+ base: ["flex", "flex-col", "gap-2", "w-full"],
6267
6878
  track: ["z-0", "relative", "bg-neutral-soft", "overflow-hidden", "rtl:rotate-180"],
6268
6879
  indicator: ["h-full"],
6269
6880
  value: ""
@@ -6271,54 +6882,55 @@ var progressStyle = tv({
6271
6882
  variants: {
6272
6883
  color: {
6273
6884
  primary: {
6274
- indicator: ["bg-gradient-to-r from-primary-light via-primary-light to-primary-main"]
6885
+ indicator: ["bg-gradient-to-r", "from-primary-light", "via-primary-light", "to-primary-main"]
6275
6886
  },
6276
6887
  secondary: {
6277
- indicator: ["bg-gradient-to-r from-secondary-light via-secondary-light to-secondary-main"]
6888
+ indicator: ["bg-gradient-to-r", "from-secondary-light", "via-secondary-light", "to-secondary-main"]
6278
6889
  },
6279
6890
  neutral: {
6280
- indicator: ["bg-gradient-to-r from-neutral-light via-neutral-light to-neutral-main"]
6891
+ indicator: ["bg-gradient-to-r", "from-neutral-light", "via-neutral-light", "to-neutral-main"]
6281
6892
  },
6282
6893
  info: {
6283
- indicator: ["bg-gradient-to-r from-info-light via-info-light to-info-main"]
6894
+ indicator: ["bg-gradient-to-r", "from-info-light", "via-info-light", "to-info-main"]
6284
6895
  },
6285
6896
  success: {
6286
- indicator: ["bg-gradient-to-r from-success-light via-success-light to-success-main"]
6897
+ indicator: ["bg-gradient-to-r", "from-success-light", "via-success-light", "to-success-main"]
6287
6898
  },
6288
6899
  warning: {
6289
- indicator: ["bg-gradient-to-r from-warning-light via-warning-light to-warning-main"]
6900
+ indicator: ["bg-gradient-to-r", "from-warning-light", "via-warning-light", "to-warning-main"]
6290
6901
  },
6291
6902
  danger: {
6292
- indicator: ["bg-gradient-to-r from-danger-light via-danger-light to-danger-main"]
6903
+ indicator: ["bg-gradient-to-r", "from-danger-light", "via-danger-light", "to-danger-main"]
6293
6904
  }
6294
6905
  },
6295
6906
  size: {
6296
6907
  sm: {
6297
6908
  track: ["h-[4px]", "rounded-sm"],
6298
- indicator: "rounded-sm"
6909
+ indicator: ["rounded-sm"]
6299
6910
  },
6300
6911
  md: {
6301
6912
  track: ["h-[6px]", "rounded-md"],
6302
- indicator: "rounded-md"
6913
+ indicator: ["rounded-md"]
6303
6914
  },
6304
6915
  lg: {
6305
6916
  track: ["h-[8px]", "rounded-lg"],
6306
- indicator: "rounded-lg"
6917
+ indicator: ["rounded-lg"]
6307
6918
  },
6308
6919
  xl: {
6309
6920
  track: ["h-[10px]", "rounded-xl"],
6310
- indicator: "rounded-xl"
6921
+ indicator: ["rounded-xl"]
6311
6922
  }
6312
6923
  },
6313
6924
  disabled: {
6314
6925
  true: {
6315
- base: "opacity-disabled cursor-not-allowed"
6926
+ base: ["opacity-disabled", "cursor-not-allowed"],
6927
+ indicator: ["bg-neutral-light"]
6316
6928
  }
6317
6929
  },
6318
6930
  disableAnimation: {
6319
6931
  true: {},
6320
6932
  false: {
6321
- indicator: "transition-transform !duration-500"
6933
+ indicator: ["transition-transform", "!duration-500"]
6322
6934
  }
6323
6935
  },
6324
6936
  isIndeterminate: {
@@ -6489,7 +7101,7 @@ function FileUpload({
6489
7101
  }
6490
7102
  FileUpload.displayName = "FileUpload";
6491
7103
  var fileUpload_default = FileUpload;
6492
- var fileUploadStyle = (0, import_tailwind_variants5.tv)({
7104
+ var fileUploadStyle = (0, import_tailwind_variants6.tv)({
6493
7105
  slots: {
6494
7106
  base: ["flex", "flex-col", "gap-[5px]"],
6495
7107
  container: ["flex", "gap-[10px]"],