@vuer-ai/vuer-uikit 0.0.27 → 0.0.29

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 (359) hide show
  1. package/dist/{chunk-N3VYENST.js → chunk-2EMN6VM2.js} +89 -14
  2. package/dist/{chunk-ZTNXAV64.js → chunk-3ZFILFNB.js} +4 -4
  3. package/dist/chunk-4F2GSF2T.mjs +29 -0
  4. package/dist/{chunk-ZT6G7STM.mjs → chunk-4HURANFT.mjs} +1 -1
  5. package/dist/{chunk-Q3GXSHJV.mjs → chunk-4QERYDMC.mjs} +3 -3
  6. package/dist/chunk-4X4OZQHW.mjs +108 -0
  7. package/dist/{chunk-NP6VNT23.js → chunk-4ZJRDAXG.js} +4 -4
  8. package/dist/chunk-6C6V7VLS.js +142 -0
  9. package/dist/{chunk-6RTJSAVW.js → chunk-6CABRTQF.js} +8 -8
  10. package/dist/{chunk-HLJ7PQA7.mjs → chunk-6VRLWVXF.mjs} +5 -5
  11. package/dist/{chunk-XXWQ4RVP.js → chunk-7KYAICHB.js} +1 -1
  12. package/dist/{chunk-QEY7BWIR.js → chunk-AKBWNVRH.js} +2 -2
  13. package/dist/{chunk-IGBWUFZL.js → chunk-AQWYFBXL.js} +39 -5
  14. package/dist/{chunk-S3TZN6HZ.js → chunk-B4C6WQKH.js} +330 -25
  15. package/dist/{chunk-VAXIFFOT.js → chunk-BXYVNNXU.js} +4 -4
  16. package/dist/{chunk-LLXRJYQB.mjs → chunk-CBNIBUFP.mjs} +1 -1
  17. package/dist/{chunk-NQRO3NQX.js → chunk-DNDWCHEB.js} +186 -22
  18. package/dist/{chunk-JSMQMGST.js → chunk-EAN5SZYQ.js} +20 -3
  19. package/dist/{chunk-PIR7EZC6.js → chunk-EAZWH4U4.js} +88 -7
  20. package/dist/{chunk-5ZZC23M7.mjs → chunk-EL4FTB5J.mjs} +1 -1
  21. package/dist/{chunk-CCGCEN7Z.js → chunk-EMHRYI5O.js} +1 -1
  22. package/dist/{chunk-KJV7RR25.js → chunk-ER6XHUS7.js} +2 -2
  23. package/dist/chunk-F2S3PF25.mjs +42 -0
  24. package/dist/{chunk-ZRJ5JCVG.mjs → chunk-F4BR4V3S.mjs} +2 -2
  25. package/dist/{chunk-QPQFG2DZ.mjs → chunk-FA7B4T24.mjs} +54 -5
  26. package/dist/{chunk-YXDJPCAF.js → chunk-FSFUZ7Y6.js} +70 -9
  27. package/dist/chunk-G6CSH3FC.mjs +137 -0
  28. package/dist/{chunk-AAIXMQCG.mjs → chunk-GM6ZAFCM.mjs} +82 -7
  29. package/dist/chunk-HTU7SD4O.js +21 -0
  30. package/dist/{chunk-OO7LYJQL.js → chunk-HUHNQPQH.js} +3 -3
  31. package/dist/{chunk-JOTWPUPW.mjs → chunk-I5UCKLLT.mjs} +1 -1
  32. package/dist/{chunk-XPPJVYYS.js → chunk-IEA6DQ7J.js} +46 -10
  33. package/dist/{chunk-EFIRD3FN.js → chunk-ILJK43VJ.js} +2 -2
  34. package/dist/{chunk-GXZZGOXX.mjs → chunk-IWH3T7TD.mjs} +1 -1
  35. package/dist/{chunk-WO3WHXDP.mjs → chunk-IZCHLZ4H.mjs} +1 -1
  36. package/dist/{chunk-BOPZFNFS.mjs → chunk-JBUN2HUK.mjs} +38 -4
  37. package/dist/{chunk-5F36YBKG.js → chunk-JWFD5H5L.js} +7 -7
  38. package/dist/{chunk-66FC5NST.mjs → chunk-K6R7H7R2.mjs} +19 -2
  39. package/dist/{chunk-5OUTEHVX.js → chunk-KCA5PXNO.js} +2 -2
  40. package/dist/{chunk-XUKMVPUD.js → chunk-KDRYDUQT.js} +2 -2
  41. package/dist/{chunk-ZX6K2A3O.js → chunk-KIENXCE4.js} +1 -1
  42. package/dist/{chunk-35CM7HPZ.mjs → chunk-MFQ3ZHFJ.mjs} +106 -8
  43. package/dist/{chunk-VKGXNTK2.mjs → chunk-MP3L7ZVI.mjs} +320 -15
  44. package/dist/{chunk-DDOX4EEM.mjs → chunk-MWJQTO2F.mjs} +1 -1
  45. package/dist/{chunk-OOI3SJDU.mjs → chunk-NSN3O6CZ.mjs} +1 -1
  46. package/dist/chunk-OASPTOVZ.js +16 -0
  47. package/dist/{chunk-4F3R5V3E.mjs → chunk-OCNRBXK4.mjs} +175 -11
  48. package/dist/{chunk-DD7FIYSP.mjs → chunk-OE5HF5A6.mjs} +2 -2
  49. package/dist/{chunk-T3VSSE2L.mjs → chunk-OLIRY7YF.mjs} +83 -2
  50. package/dist/{chunk-Y5I2GI4V.js → chunk-P6K4746M.js} +2 -2
  51. package/dist/{chunk-6SRDWLQJ.js → chunk-PKDNA72Q.js} +58 -9
  52. package/dist/chunk-PR4VD5F2.mjs +14 -0
  53. package/dist/{chunk-FV2TIL2G.js → chunk-PVQWUU6F.js} +8 -8
  54. package/dist/chunk-PY5KHH5C.js +108 -0
  55. package/dist/chunk-QG5Z4C65.mjs +14 -0
  56. package/dist/chunk-QG7ZF6TO.js +38 -0
  57. package/dist/chunk-QPGCDLOI.js +66 -0
  58. package/dist/{chunk-H5P4IX7R.js → chunk-RFFQCDHN.js} +44 -4
  59. package/dist/{chunk-U5U7B7ZI.mjs → chunk-RMAMN6FL.mjs} +1 -1
  60. package/dist/{chunk-6YJ6IBWC.mjs → chunk-S7UWM46Z.mjs} +3 -3
  61. package/dist/{chunk-JAMJUXBY.mjs → chunk-SWGYWILR.mjs} +42 -2
  62. package/dist/{chunk-6SBHQBFL.mjs → chunk-TCN3UDQE.mjs} +1 -1
  63. package/dist/{chunk-Q42CNAC4.js → chunk-V2DDMNVD.js} +18 -18
  64. package/dist/chunk-W3APG27Q.js +16 -0
  65. package/dist/{chunk-KTNZSZ5Y.mjs → chunk-WM2VP7MI.mjs} +1 -1
  66. package/dist/{chunk-H2VZHFP6.mjs → chunk-WSQ2D6H6.mjs} +1 -1
  67. package/dist/{chunk-H5C3BWSK.mjs → chunk-WU66I4PW.mjs} +2 -2
  68. package/dist/chunk-X4FMXFT3.mjs +86 -0
  69. package/dist/{chunk-TOXM5BPM.js → chunk-XLIICBKP.js} +18 -18
  70. package/dist/{chunk-YLYNNT5Q.js → chunk-XSREJYEX.js} +113 -15
  71. package/dist/{chunk-YGIU2WQY.mjs → chunk-Y4EFNE6Q.mjs} +39 -3
  72. package/dist/{chunk-LHWH4GP5.mjs → chunk-YIBD2FEV.mjs} +1 -1
  73. package/dist/highlight-cursor/cursor-provider.js +3 -3
  74. package/dist/highlight-cursor/cursor-provider.mjs +2 -2
  75. package/dist/highlight-cursor/enhanced-components.js +17 -14
  76. package/dist/highlight-cursor/enhanced-components.mjs +12 -9
  77. package/dist/highlight-cursor/index.js +19 -16
  78. package/dist/highlight-cursor/index.mjs +13 -10
  79. package/dist/hooks/clientOnly.js +22 -0
  80. package/dist/hooks/clientOnly.mjs +1 -0
  81. package/dist/hooks/cn.js +10 -0
  82. package/dist/hooks/cn.mjs +1 -0
  83. package/dist/hooks/index.js +43 -0
  84. package/dist/hooks/index.mjs +6 -0
  85. package/dist/hooks/useDocument.js +10 -0
  86. package/dist/hooks/useDocument.mjs +1 -0
  87. package/dist/hooks/useLocalStorage.js +10 -0
  88. package/dist/hooks/useLocalStorage.mjs +1 -0
  89. package/dist/hooks/useWindow.js +10 -0
  90. package/dist/hooks/useWindow.mjs +1 -0
  91. package/dist/index.css +1 -1
  92. package/dist/index.js +301 -246
  93. package/dist/index.mjs +38 -35
  94. package/dist/styles/theme.css +1 -1
  95. package/dist/ui/avatar.js +35 -8
  96. package/dist/ui/avatar.mjs +7 -4
  97. package/dist/ui/badge.js +9 -6
  98. package/dist/ui/badge.mjs +7 -4
  99. package/dist/ui/button.js +8 -5
  100. package/dist/ui/button.mjs +7 -4
  101. package/dist/ui/card.js +14 -11
  102. package/dist/ui/card.mjs +7 -4
  103. package/dist/ui/checkbox.js +8 -5
  104. package/dist/ui/checkbox.mjs +7 -4
  105. package/dist/ui/collapsible.js +10 -7
  106. package/dist/ui/collapsible.mjs +7 -4
  107. package/dist/ui/drawer.js +17 -14
  108. package/dist/ui/drawer.mjs +7 -4
  109. package/dist/ui/dropdown.js +22 -19
  110. package/dist/ui/dropdown.mjs +7 -4
  111. package/dist/ui/index.js +261 -230
  112. package/dist/ui/index.mjs +36 -33
  113. package/dist/ui/input-numbers.js +9 -6
  114. package/dist/ui/input-numbers.mjs +8 -5
  115. package/dist/ui/input.js +9 -6
  116. package/dist/ui/input.mjs +7 -4
  117. package/dist/ui/layout.js +8 -5
  118. package/dist/ui/layout.mjs +7 -4
  119. package/dist/ui/modal.js +17 -14
  120. package/dist/ui/modal.mjs +7 -4
  121. package/dist/ui/popover.js +11 -8
  122. package/dist/ui/popover.mjs +7 -4
  123. package/dist/ui/radio-group.js +9 -6
  124. package/dist/ui/radio-group.mjs +7 -4
  125. package/dist/ui/select.js +17 -14
  126. package/dist/ui/select.mjs +7 -4
  127. package/dist/ui/sheet.js +15 -10
  128. package/dist/ui/sheet.mjs +7 -2
  129. package/dist/ui/slider.js +8 -5
  130. package/dist/ui/slider.mjs +7 -4
  131. package/dist/ui/switch.js +8 -5
  132. package/dist/ui/switch.mjs +7 -4
  133. package/dist/ui/tabs.js +11 -8
  134. package/dist/ui/tabs.mjs +7 -4
  135. package/dist/ui/textarea.js +8 -5
  136. package/dist/ui/textarea.mjs +7 -4
  137. package/dist/ui/theme/ThemeProvider.js +15 -0
  138. package/dist/ui/theme/ThemeProvider.mjs +2 -0
  139. package/dist/ui/theme/index.js +20 -0
  140. package/dist/ui/theme/index.mjs +3 -0
  141. package/dist/ui/theme/themeScript.js +10 -0
  142. package/dist/ui/theme/themeScript.mjs +1 -0
  143. package/dist/ui/timeline.js +10 -7
  144. package/dist/ui/timeline.mjs +9 -6
  145. package/dist/ui/toggle-group.js +10 -7
  146. package/dist/ui/toggle-group.mjs +8 -5
  147. package/dist/ui/toggle.js +9 -6
  148. package/dist/ui/toggle.mjs +7 -4
  149. package/dist/ui/tooltip.js +11 -8
  150. package/dist/ui/tooltip.mjs +7 -4
  151. package/dist/ui/tree-view-v2.js +9 -6
  152. package/dist/ui/tree-view-v2.mjs +8 -5
  153. package/dist/ui/tree-view.js +8 -5
  154. package/dist/ui/tree-view.mjs +7 -4
  155. package/dist/ui/version-badge.js +9 -6
  156. package/dist/ui/version-badge.mjs +8 -5
  157. package/package.json +3 -2
  158. package/src/highlight-cursor/cursor-provider.tsx +1 -1
  159. package/src/hooks/clientOnly.tsx +54 -0
  160. package/src/hooks/index.ts +5 -0
  161. package/src/hooks/useDocument.tsx +13 -0
  162. package/src/hooks/useWindow.tsx +13 -0
  163. package/src/index.css +1 -1
  164. package/src/index.ts +1 -1
  165. package/src/ui/avatar.tsx +72 -37
  166. package/src/ui/badge.tsx +1 -1
  167. package/src/ui/button.tsx +1 -1
  168. package/src/ui/card.tsx +1 -1
  169. package/src/ui/checkbox.tsx +79 -64
  170. package/src/ui/collapsible.tsx +46 -25
  171. package/src/ui/drawer.tsx +1 -1
  172. package/src/ui/dropdown.tsx +347 -15
  173. package/src/ui/index.ts +1 -1
  174. package/src/ui/input-numbers.tsx +2 -2
  175. package/src/ui/input.tsx +1 -1
  176. package/src/ui/layout.tsx +1 -1
  177. package/src/ui/modal.tsx +112 -8
  178. package/src/ui/popover.tsx +42 -4
  179. package/src/ui/radio-group.tsx +1 -1
  180. package/src/ui/select.tsx +200 -26
  181. package/src/ui/sheet.tsx +94 -7
  182. package/src/ui/slider.tsx +81 -2
  183. package/src/ui/switch.tsx +40 -2
  184. package/src/ui/tabs.tsx +61 -5
  185. package/src/ui/textarea.tsx +1 -1
  186. package/src/ui/{theme-context/theme-context.tsx → theme/ThemeProvider.tsx} +2 -2
  187. package/src/ui/theme/index.ts +4 -0
  188. package/src/ui/{theme-context/theme-script.tsx → theme/themeScript.tsx} +8 -2
  189. package/src/ui/timeline.tsx +1 -1
  190. package/src/ui/toggle-group.tsx +72 -3
  191. package/src/ui/toggle.tsx +19 -2
  192. package/src/ui/tooltip.tsx +1 -1
  193. package/src/ui/tree-view-v2.tsx +1 -1
  194. package/src/ui/tree-view.tsx +54 -3
  195. package/dist/chunk-2JCULHBM.js +0 -58
  196. package/dist/chunk-2TRYGIGT.mjs +0 -76
  197. package/dist/chunk-2TXGBB33.js +0 -21
  198. package/dist/chunk-2WJW572X.mjs +0 -74
  199. package/dist/chunk-2YCL2ET2.js +0 -431
  200. package/dist/chunk-5SR53QBZ.js +0 -143
  201. package/dist/chunk-5TVG5JK5.js +0 -93
  202. package/dist/chunk-6N5422RT.js +0 -110
  203. package/dist/chunk-ALTUOIWV.mjs +0 -15
  204. package/dist/chunk-AOUGWGQR.js +0 -609
  205. package/dist/chunk-AQXAGOYO.js +0 -107
  206. package/dist/chunk-B2E7AY66.mjs +0 -86
  207. package/dist/chunk-DYT2FBW5.mjs +0 -79
  208. package/dist/chunk-DZ4J7I7I.mjs +0 -114
  209. package/dist/chunk-E33MW663.js +0 -179
  210. package/dist/chunk-EOFYA6CS.js +0 -53
  211. package/dist/chunk-EUY74AXP.mjs +0 -341
  212. package/dist/chunk-EYIFKSU2.mjs +0 -259
  213. package/dist/chunk-F776EMXP.mjs +0 -82
  214. package/dist/chunk-FEYQ2OWB.mjs +0 -39
  215. package/dist/chunk-FP26SRGL.js +0 -377
  216. package/dist/chunk-FRT225GK.mjs +0 -34
  217. package/dist/chunk-G6PRZVSE.mjs +0 -71
  218. package/dist/chunk-GGMVWSL5.js +0 -202
  219. package/dist/chunk-HT37IGEB.mjs +0 -15
  220. package/dist/chunk-IXHMIR5P.js +0 -131
  221. package/dist/chunk-JMPVDU2C.mjs +0 -110
  222. package/dist/chunk-LEPXSM36.mjs +0 -46
  223. package/dist/chunk-LKAGJL2E.mjs +0 -15
  224. package/dist/chunk-MRVMXKZO.mjs +0 -106
  225. package/dist/chunk-MZ4POL3U.js +0 -301
  226. package/dist/chunk-OQ237S4Z.js +0 -94
  227. package/dist/chunk-PIJM7ZII.js +0 -21
  228. package/dist/chunk-PVRQNCSJ.js +0 -49
  229. package/dist/chunk-Q5KEB4UK.mjs +0 -51
  230. package/dist/chunk-QVUX6LLD.mjs +0 -270
  231. package/dist/chunk-QYRRQ65X.mjs +0 -115
  232. package/dist/chunk-RTURVQIP.js +0 -41
  233. package/dist/chunk-SAM2YZFC.js +0 -97
  234. package/dist/chunk-SKO72K64.js +0 -118
  235. package/dist/chunk-TMBKCIVQ.mjs +0 -148
  236. package/dist/chunk-U2ZLDPOE.js +0 -261
  237. package/dist/chunk-U7SNLMJR.js +0 -110
  238. package/dist/chunk-UKFVRXAR.mjs +0 -409
  239. package/dist/chunk-V4KNORQN.js +0 -21
  240. package/dist/chunk-VXHM7V6F.mjs +0 -92
  241. package/dist/chunk-W7D57QE6.js +0 -21
  242. package/dist/chunk-WDUTW7HS.mjs +0 -87
  243. package/dist/chunk-WJ7T7FAH.js +0 -135
  244. package/dist/chunk-X55EAYE2.js +0 -94
  245. package/dist/chunk-XADXCP5Z.mjs +0 -196
  246. package/dist/chunk-ZVG2UKKC.mjs +0 -603
  247. package/dist/highlight-cursor/cursor-context.d.mts +0 -7
  248. package/dist/highlight-cursor/cursor-context.d.ts +0 -7
  249. package/dist/highlight-cursor/cursor-provider.d.mts +0 -7
  250. package/dist/highlight-cursor/cursor-provider.d.ts +0 -7
  251. package/dist/highlight-cursor/enhanced-components.d.mts +0 -20
  252. package/dist/highlight-cursor/enhanced-components.d.ts +0 -20
  253. package/dist/highlight-cursor/index.d.mts +0 -16
  254. package/dist/highlight-cursor/index.d.ts +0 -16
  255. package/dist/highlight-cursor/tabs-cursor-context.d.mts +0 -14
  256. package/dist/highlight-cursor/tabs-cursor-context.d.ts +0 -14
  257. package/dist/highlight-cursor/types.d.mts +0 -39
  258. package/dist/highlight-cursor/types.d.ts +0 -39
  259. package/dist/highlight-cursor/with-cursor.d.mts +0 -7
  260. package/dist/highlight-cursor/with-cursor.d.ts +0 -7
  261. package/dist/index.d.mts +0 -55
  262. package/dist/index.d.ts +0 -55
  263. package/dist/styles/theme.d.mts +0 -2
  264. package/dist/styles/theme.d.ts +0 -2
  265. package/dist/styles/toast.d.mts +0 -2
  266. package/dist/styles/toast.d.ts +0 -2
  267. package/dist/styles/variables.d.mts +0 -2
  268. package/dist/styles/variables.d.ts +0 -2
  269. package/dist/ui/avatar.d.mts +0 -16
  270. package/dist/ui/avatar.d.ts +0 -16
  271. package/dist/ui/badge.d.mts +0 -14
  272. package/dist/ui/badge.d.ts +0 -14
  273. package/dist/ui/button.d.mts +0 -16
  274. package/dist/ui/button.d.ts +0 -16
  275. package/dist/ui/card.d.mts +0 -12
  276. package/dist/ui/card.d.ts +0 -12
  277. package/dist/ui/checkbox.d.mts +0 -11
  278. package/dist/ui/checkbox.d.ts +0 -11
  279. package/dist/ui/collapsible.d.mts +0 -9
  280. package/dist/ui/collapsible.d.ts +0 -9
  281. package/dist/ui/dropdown.d.mts +0 -28
  282. package/dist/ui/dropdown.d.ts +0 -28
  283. package/dist/ui/index.d.mts +0 -47
  284. package/dist/ui/index.d.ts +0 -47
  285. package/dist/ui/input-numbers.d.mts +0 -14
  286. package/dist/ui/input-numbers.d.ts +0 -14
  287. package/dist/ui/input.d.mts +0 -22
  288. package/dist/ui/input.d.ts +0 -22
  289. package/dist/ui/layout.d.mts +0 -12
  290. package/dist/ui/layout.d.ts +0 -12
  291. package/dist/ui/modal.d.mts +0 -28
  292. package/dist/ui/modal.d.ts +0 -28
  293. package/dist/ui/popover.d.mts +0 -10
  294. package/dist/ui/popover.d.ts +0 -10
  295. package/dist/ui/radio-group.d.mts +0 -8
  296. package/dist/ui/radio-group.d.ts +0 -8
  297. package/dist/ui/select.d.mts +0 -28
  298. package/dist/ui/select.d.ts +0 -28
  299. package/dist/ui/sheet.d.mts +0 -16
  300. package/dist/ui/sheet.d.ts +0 -16
  301. package/dist/ui/slider.d.mts +0 -10
  302. package/dist/ui/slider.d.ts +0 -10
  303. package/dist/ui/switch.d.mts +0 -7
  304. package/dist/ui/switch.d.ts +0 -7
  305. package/dist/ui/tabs.d.mts +0 -16
  306. package/dist/ui/tabs.d.ts +0 -16
  307. package/dist/ui/textarea.d.mts +0 -16
  308. package/dist/ui/textarea.d.ts +0 -16
  309. package/dist/ui/theme-context/index.js +0 -16
  310. package/dist/ui/theme-context/index.mjs +0 -3
  311. package/dist/ui/theme-context/theme-context.js +0 -15
  312. package/dist/ui/theme-context/theme-context.mjs +0 -2
  313. package/dist/ui/theme-context/theme-script.js +0 -10
  314. package/dist/ui/theme-context/theme-script.mjs +0 -1
  315. package/dist/ui/theme-context/theme-types.js +0 -2
  316. package/dist/ui/theme-context/theme-types.mjs +0 -1
  317. package/dist/ui/theme-context.d.mts +0 -17
  318. package/dist/ui/theme-context.d.ts +0 -17
  319. package/dist/ui/theme-context.js +0 -17
  320. package/dist/ui/theme-context.mjs +0 -4
  321. package/dist/ui/timeline.d.mts +0 -23
  322. package/dist/ui/timeline.d.ts +0 -23
  323. package/dist/ui/toast.d.mts +0 -7
  324. package/dist/ui/toast.d.ts +0 -7
  325. package/dist/ui/toggle-group.d.mts +0 -12
  326. package/dist/ui/toggle-group.d.ts +0 -12
  327. package/dist/ui/toggle.d.mts +0 -13
  328. package/dist/ui/toggle.d.ts +0 -13
  329. package/dist/ui/tooltip.d.mts +0 -10
  330. package/dist/ui/tooltip.d.ts +0 -10
  331. package/dist/ui/tree-view-v2.d.mts +0 -25
  332. package/dist/ui/tree-view-v2.d.ts +0 -25
  333. package/dist/ui/tree-view.d.mts +0 -28
  334. package/dist/ui/tree-view.d.ts +0 -28
  335. package/dist/ui/version-badge.d.mts +0 -26
  336. package/dist/ui/version-badge.d.ts +0 -26
  337. package/dist/utils/cn.d.mts +0 -5
  338. package/dist/utils/cn.d.ts +0 -5
  339. package/dist/utils/cn.js +0 -10
  340. package/dist/utils/cn.mjs +0 -1
  341. package/dist/utils/index.d.mts +0 -3
  342. package/dist/utils/index.d.ts +0 -3
  343. package/dist/utils/index.js +0 -16
  344. package/dist/utils/index.mjs +0 -3
  345. package/dist/utils/use-local-storage.d.mts +0 -3
  346. package/dist/utils/use-local-storage.d.ts +0 -3
  347. package/dist/utils/use-local-storage.js +0 -10
  348. package/dist/utils/use-local-storage.mjs +0 -1
  349. package/src/ui/theme-context/index.ts +0 -3
  350. package/src/utils/index.ts +0 -2
  351. /package/dist/{chunk-4FOSHIMU.mjs → chunk-AMB2H6WS.mjs} +0 -0
  352. /package/dist/{chunk-F56ZKT7B.mjs → chunk-LXDQ4KMN.mjs} +0 -0
  353. /package/dist/{chunk-N7CINZS2.js → chunk-T4N7UHZ7.js} +0 -0
  354. /package/dist/{chunk-UOFJLQ72.js → chunk-Y2QBWXB4.js} +0 -0
  355. /package/dist/{chunk-XWS4SIB5.js → ui/theme/types.js} +0 -0
  356. /package/dist/{chunk-M4IVLZIH.mjs → ui/theme/types.mjs} +0 -0
  357. /package/src/{utils → hooks}/cn.ts +0 -0
  358. /package/src/{utils/use-local-storage.ts → hooks/useLocalStorage.ts} +0 -0
  359. /package/src/ui/{theme-context/theme-types.ts → theme/types.ts} +0 -0
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
3
+ var chunkQG7ZF6TO_js = require('./chunk-QG7ZF6TO.js');
4
+ var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
4
5
  var SheetPrimitive = require('@radix-ui/react-dialog');
5
6
  var lucideReact = require('lucide-react');
6
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -25,22 +26,41 @@ function _interopNamespace(e) {
25
26
 
26
27
  var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
27
28
 
28
- function Sheet({ ...props }) {
29
+ function SheetRoot({ ...props }) {
29
30
  return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
30
31
  }
31
- function SheetTrigger({ ...props }) {
32
+ function SheetFallback({ ...props }) {
33
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet", ...props });
34
+ }
35
+ var Sheet = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetRoot, SheetFallback);
36
+ function SheetTriggerRoot({ ...props }) {
32
37
  return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
33
38
  }
34
- function SheetClose({ ...props }) {
39
+ function SheetTriggerFallback({ ...props }) {
40
+ return /* @__PURE__ */ jsxRuntime.jsx("button", { "data-slot": "sheet-trigger", ...props });
41
+ }
42
+ var SheetTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetTriggerRoot, SheetTriggerFallback);
43
+ function SheetCloseRoot({ ...props }) {
35
44
  return /* @__PURE__ */ jsxRuntime.jsx(
36
45
  SheetPrimitive__namespace.Close,
37
46
  {
38
47
  "data-slot": "sheet-close",
39
- className: chunkXXWQ4RVP_js.cn("focus:outline-none focus:ring-0"),
48
+ className: chunk7KYAICHB_js.cn("focus:outline-none focus:ring-0"),
49
+ ...props
50
+ }
51
+ );
52
+ }
53
+ function SheetCloseFallback({ ...props }) {
54
+ return /* @__PURE__ */ jsxRuntime.jsx(
55
+ "button",
56
+ {
57
+ "data-slot": "sheet-close",
58
+ className: chunk7KYAICHB_js.cn("focus:outline-none focus:ring-0"),
40
59
  ...props
41
60
  }
42
61
  );
43
62
  }
63
+ var SheetClose = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetCloseRoot, SheetCloseFallback);
44
64
  function SheetPortal({ ...props }) {
45
65
  return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
46
66
  }
@@ -49,7 +69,7 @@ function SheetOverlay({ className, ...props }) {
49
69
  SheetPrimitive__namespace.Overlay,
50
70
  {
51
71
  "data-slot": "sheet-overlay",
52
- className: chunkXXWQ4RVP_js.cn(
72
+ className: chunk7KYAICHB_js.cn(
53
73
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-bg-mask fixed inset-0 z-50",
54
74
  className
55
75
  ),
@@ -57,7 +77,7 @@ function SheetOverlay({ className, ...props }) {
57
77
  }
58
78
  );
59
79
  }
60
- function SheetContent({
80
+ function SheetContentRoot({
61
81
  className,
62
82
  children,
63
83
  side = "right",
@@ -69,7 +89,7 @@ function SheetContent({
69
89
  SheetPrimitive__namespace.Content,
70
90
  {
71
91
  "data-slot": "sheet-content",
72
- className: chunkXXWQ4RVP_js.cn(
92
+ className: chunk7KYAICHB_js.cn(
73
93
  "liquid:liquid-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)] transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
74
94
  side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-[340px]",
75
95
  side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-[340px]",
@@ -89,12 +109,42 @@ function SheetContent({
89
109
  )
90
110
  ] });
91
111
  }
112
+ function SheetContentFallback({
113
+ className,
114
+ children,
115
+ side = "right",
116
+ ...props
117
+ }) {
118
+ return /* @__PURE__ */ jsxRuntime.jsxs(
119
+ "div",
120
+ {
121
+ "data-slot": "sheet-content",
122
+ className: chunk7KYAICHB_js.cn(
123
+ "liquid:liquid-bg bg-bg-primary p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
124
+ side === "right" && "inset-y-0 right-0 h-full w-[340px]",
125
+ side === "left" && "inset-y-0 left-0 h-full w-[340px]",
126
+ side === "top" && "inset-x-0 top-0 h-auto",
127
+ side === "bottom" && "inset-x-0 bottom-0 h-auto",
128
+ className
129
+ ),
130
+ ...props,
131
+ children: [
132
+ children,
133
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { className: "text-icon-primary hover:text-icon-highlight absolute right-4 top-4 disabled:pointer-events-none", children: [
134
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, { className: "size-4" }),
135
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
136
+ ] })
137
+ ]
138
+ }
139
+ );
140
+ }
141
+ var SheetContent = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetContentRoot, SheetContentFallback);
92
142
  function SheetHeader({ className, ...props }) {
93
143
  return /* @__PURE__ */ jsxRuntime.jsx(
94
144
  "div",
95
145
  {
96
146
  "data-slot": "sheet-header",
97
- className: chunkXXWQ4RVP_js.cn("gap-md pb-xl flex flex-col", className),
147
+ className: chunk7KYAICHB_js.cn("gap-md pb-xl flex flex-col", className),
98
148
  ...props
99
149
  }
100
150
  );
@@ -104,22 +154,33 @@ function SheetFooter({ className, ...props }) {
104
154
  "div",
105
155
  {
106
156
  "data-slot": "sheet-footer",
107
- className: chunkXXWQ4RVP_js.cn("gap-lg pt-xl mt-auto flex flex-col", className),
157
+ className: chunk7KYAICHB_js.cn("gap-lg pt-xl mt-auto flex flex-col", className),
108
158
  ...props
109
159
  }
110
160
  );
111
161
  }
112
- function SheetTitle({ className, ...props }) {
162
+ function SheetTitleRoot({ className, ...props }) {
113
163
  return /* @__PURE__ */ jsxRuntime.jsx(
114
164
  SheetPrimitive__namespace.Title,
115
165
  {
116
166
  "data-slot": "sheet-title",
117
- className: chunkXXWQ4RVP_js.cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
167
+ className: chunk7KYAICHB_js.cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
168
+ ...props
169
+ }
170
+ );
171
+ }
172
+ function SheetTitleFallback({ className, ...props }) {
173
+ return /* @__PURE__ */ jsxRuntime.jsx(
174
+ "h2",
175
+ {
176
+ "data-slot": "sheet-title",
177
+ className: chunk7KYAICHB_js.cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
118
178
  ...props
119
179
  }
120
180
  );
121
181
  }
122
- function SheetDescription({
182
+ var SheetTitle = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetTitleRoot, SheetTitleFallback);
183
+ function SheetDescriptionRoot({
123
184
  className,
124
185
  ...props
125
186
  }) {
@@ -127,11 +188,25 @@ function SheetDescription({
127
188
  SheetPrimitive__namespace.Description,
128
189
  {
129
190
  "data-slot": "sheet-description",
130
- className: chunkXXWQ4RVP_js.cn("text-text-secondary text-uk-md leading-uk-md", className),
191
+ className: chunk7KYAICHB_js.cn("text-text-secondary text-uk-md leading-uk-md", className),
192
+ ...props
193
+ }
194
+ );
195
+ }
196
+ function SheetDescriptionFallback({
197
+ className,
198
+ ...props
199
+ }) {
200
+ return /* @__PURE__ */ jsxRuntime.jsx(
201
+ "p",
202
+ {
203
+ "data-slot": "sheet-description",
204
+ className: chunk7KYAICHB_js.cn("text-text-secondary text-uk-md leading-uk-md", className),
131
205
  ...props
132
206
  }
133
207
  );
134
208
  }
209
+ var SheetDescription = chunkQG7ZF6TO_js.createClientOnlyComponent(SheetDescriptionRoot, SheetDescriptionFallback);
135
210
 
136
211
  exports.Sheet = Sheet;
137
212
  exports.SheetClose = SheetClose;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkCCGCEN7Z_js = require('./chunk-CCGCEN7Z.js');
3
+ var chunkEMHRYI5O_js = require('./chunk-EMHRYI5O.js');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
@@ -28,8 +28,8 @@ var defaultThemes = ["light", "dark", "liquidlight", "liquiddark"];
28
28
  var Theme = ({
29
29
  forcedTheme,
30
30
  disableTransitionOnChange = false,
31
- enableSystem = false,
32
- enableColorScheme = true,
31
+ enableSystem = true,
32
+ enableColorScheme = false,
33
33
  storageKey = "theme",
34
34
  themes = defaultThemes,
35
35
  defaultTheme = enableSystem ? "system" : "light",
@@ -161,7 +161,7 @@ var Theme = ({
161
161
  ),
162
162
  children: [
163
163
  /* @__PURE__ */ jsxRuntime.jsx(
164
- chunkCCGCEN7Z_js.ThemeScript,
164
+ chunkEMHRYI5O_js.ThemeScript,
165
165
  {
166
166
  ...{
167
167
  forcedTheme,
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+
3
+ // src/hooks/clientOnly.tsx
4
+ function clientOnly(fn) {
5
+ if (typeof window !== "undefined") {
6
+ return fn();
7
+ }
8
+ return void 0;
9
+ }
10
+ function createClientOnlyComponent(Component, fallback) {
11
+ return function ClientOnlyWrapper(props) {
12
+ const [isClient2, setIsClient] = React.useState(false);
13
+ React.useEffect(() => {
14
+ setIsClient(true);
15
+ }, []);
16
+ if (!isClient2) {
17
+ return fallback ? React.createElement(fallback, props) : null;
18
+ }
19
+ return React.createElement(Component, props);
20
+ };
21
+ }
22
+ function isClient() {
23
+ return typeof window !== "undefined";
24
+ }
25
+ function isServer() {
26
+ return typeof window === "undefined";
27
+ }
28
+
29
+ export { clientOnly, createClientOnlyComponent, isClient, isServer };
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-KTNZSZ5Y.mjs';
1
+ import { cn } from './chunk-WM2VP7MI.mjs';
2
2
  import { composeRefs } from '@radix-ui/react-compose-refs';
3
3
  import { cva } from 'class-variance-authority';
4
4
  import { forwardRef, useRef } from 'react';
@@ -1,4 +1,4 @@
1
- import { ThemeScript } from './chunk-LHWH4GP5.mjs';
1
+ import { ThemeScript } from './chunk-YIBD2FEV.mjs';
2
2
  import { createContext, useContext, useState, useCallback, useEffect, useMemo } from 'react';
3
3
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
4
4
 
@@ -26,8 +26,8 @@ var defaultThemes = ["light", "dark", "liquidlight", "liquiddark"];
26
26
  var Theme = ({
27
27
  forcedTheme,
28
28
  disableTransitionOnChange = false,
29
- enableSystem = false,
30
- enableColorScheme = true,
29
+ enableSystem = true,
30
+ enableColorScheme = false,
31
31
  storageKey = "theme",
32
32
  themes = defaultThemes,
33
33
  defaultTheme = enableSystem ? "system" : "light",
@@ -0,0 +1,108 @@
1
+ import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-WM2VP7MI.mjs';
3
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
4
+ import React from 'react';
5
+ import { jsx, jsxs } from 'react/jsx-runtime';
6
+
7
+ var AvatarRoot = ({
8
+ className,
9
+ ...props
10
+ }) => /* @__PURE__ */ jsx(
11
+ AvatarPrimitive.Root,
12
+ {
13
+ "data-slot": "avatar",
14
+ className: cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className),
15
+ ...props
16
+ }
17
+ );
18
+ var AvatarSSRFallback = ({ className }) => /* @__PURE__ */ jsx(
19
+ "span",
20
+ {
21
+ "data-slot": "avatar",
22
+ className: cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className)
23
+ }
24
+ );
25
+ var Avatar = createClientOnlyComponent(AvatarRoot, AvatarSSRFallback);
26
+ var AvatarImageRoot = ({
27
+ className,
28
+ ...props
29
+ }) => /* @__PURE__ */ jsx(
30
+ AvatarPrimitive.Image,
31
+ {
32
+ "data-slot": "avatar-image",
33
+ className: cn("aspect-square size-full", className),
34
+ ...props
35
+ }
36
+ );
37
+ var AvatarImageFallback = ({ className }) => /* @__PURE__ */ jsx("span", { "data-slot": "avatar-image", className: cn("aspect-square size-full", className) });
38
+ var AvatarImage = createClientOnlyComponent(AvatarImageRoot, AvatarImageFallback);
39
+ var AvatarFallbackRoot = ({
40
+ className,
41
+ ...props
42
+ }) => /* @__PURE__ */ jsx(
43
+ AvatarPrimitive.Fallback,
44
+ {
45
+ "data-slot": "avatar-fallback",
46
+ className: cn(
47
+ "bg-bg-tertiary flex size-full items-center justify-center rounded-full",
48
+ className
49
+ ),
50
+ ...props
51
+ }
52
+ );
53
+ var AvatarFallbackSSR = ({
54
+ className,
55
+ ...props
56
+ }) => /* @__PURE__ */ jsx(
57
+ "span",
58
+ {
59
+ "data-slot": "avatar-fallback",
60
+ className: cn(
61
+ "bg-bg-tertiary flex size-full items-center justify-center rounded-full",
62
+ className
63
+ ),
64
+ ...props
65
+ }
66
+ );
67
+ var AvatarFallback = createClientOnlyComponent(AvatarFallbackRoot, AvatarFallbackSSR);
68
+ function AvatarGroup({ children, className, spacing = "normal", max }) {
69
+ const spacingClasses = {
70
+ tight: "-space-x-1.5",
71
+ normal: "-space-x-1",
72
+ loose: "-space-x-0.45"
73
+ };
74
+ const childrenArray = React.Children.toArray(children);
75
+ const displayChildren = max ? childrenArray.slice(0, max) : childrenArray;
76
+ const remainingCount = max && childrenArray.length > max ? childrenArray.length - max : 0;
77
+ return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-row-reverse justify-end", spacingClasses[spacing], className), children: [
78
+ remainingCount > 0 && /* @__PURE__ */ jsx(
79
+ Avatar,
80
+ {
81
+ className: cn(
82
+ "ring-background relative cursor-default ring-2 transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120"
83
+ ),
84
+ children: /* @__PURE__ */ jsxs(AvatarFallback, { children: [
85
+ "+",
86
+ remainingCount
87
+ ] })
88
+ }
89
+ ),
90
+ displayChildren.reverse().map((child) => {
91
+ var _a;
92
+ if (React.isValidElement(child)) {
93
+ return React.cloneElement(
94
+ child,
95
+ {
96
+ className: cn(
97
+ `ring-background relative ring-2 transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120`,
98
+ (_a = child.props) == null ? void 0 : _a.className
99
+ )
100
+ }
101
+ );
102
+ }
103
+ return child;
104
+ })
105
+ ] });
106
+ }
107
+
108
+ export { Avatar, AvatarFallback, AvatarFallbackRoot, AvatarFallbackSSR, AvatarGroup, AvatarImage, AvatarImageFallback, AvatarImageRoot, AvatarRoot, AvatarSSRFallback };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
3
+ var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
4
4
  var reactComposeRefs = require('@radix-ui/react-compose-refs');
5
5
  var classVarianceAuthority = require('class-variance-authority');
6
6
  var react = require('react');
@@ -42,7 +42,7 @@ var InputRoot = react.forwardRef(function InputRoot2({ style, className, side, c
42
42
  {
43
43
  style,
44
44
  "data-input": true,
45
- className: chunkXXWQ4RVP_js.cn(inputRootVariants({ size, state: disabled ? "disabled" : state }), className),
45
+ className: chunk7KYAICHB_js.cn(inputRootVariants({ size, state: disabled ? "disabled" : state }), className),
46
46
  onClick: (event) => {
47
47
  const target = event.target;
48
48
  if (target.closest("input, button, a")) return;
@@ -72,7 +72,7 @@ var InputRoot = react.forwardRef(function InputRoot2({ style, className, side, c
72
72
  disabled,
73
73
  name: type ?? "text",
74
74
  ref: reactComposeRefs.composeRefs(inputRef, ref),
75
- className: chunkXXWQ4RVP_js.cn(
75
+ className: chunk7KYAICHB_js.cn(
76
76
  [
77
77
  "w-full",
78
78
  "h-full",
@@ -98,7 +98,7 @@ var InputSlot = react.forwardRef(function({ className, children, side = "left",
98
98
  "data-side": side,
99
99
  ...props,
100
100
  ref,
101
- className: chunkXXWQ4RVP_js.cn(
101
+ className: chunk7KYAICHB_js.cn(
102
102
  [
103
103
  "input-slot",
104
104
  "cursor-text",
@@ -0,0 +1,142 @@
1
+ 'use strict';
2
+
3
+ var chunkQG7ZF6TO_js = require('./chunk-QG7ZF6TO.js');
4
+ var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
5
+ var AvatarPrimitive = require('@radix-ui/react-avatar');
6
+ var React = require('react');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
10
+
11
+ function _interopNamespace(e) {
12
+ if (e && e.__esModule) return e;
13
+ var n = Object.create(null);
14
+ if (e) {
15
+ Object.keys(e).forEach(function (k) {
16
+ if (k !== 'default') {
17
+ var d = Object.getOwnPropertyDescriptor(e, k);
18
+ Object.defineProperty(n, k, d.get ? d : {
19
+ enumerable: true,
20
+ get: function () { return e[k]; }
21
+ });
22
+ }
23
+ });
24
+ }
25
+ n.default = e;
26
+ return Object.freeze(n);
27
+ }
28
+
29
+ var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
30
+ var React__default = /*#__PURE__*/_interopDefault(React);
31
+
32
+ var AvatarRoot = ({
33
+ className,
34
+ ...props
35
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
36
+ AvatarPrimitive__namespace.Root,
37
+ {
38
+ "data-slot": "avatar",
39
+ className: chunk7KYAICHB_js.cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className),
40
+ ...props
41
+ }
42
+ );
43
+ var AvatarSSRFallback = ({ className }) => /* @__PURE__ */ jsxRuntime.jsx(
44
+ "span",
45
+ {
46
+ "data-slot": "avatar",
47
+ className: chunk7KYAICHB_js.cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className)
48
+ }
49
+ );
50
+ var Avatar = chunkQG7ZF6TO_js.createClientOnlyComponent(AvatarRoot, AvatarSSRFallback);
51
+ var AvatarImageRoot = ({
52
+ className,
53
+ ...props
54
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
55
+ AvatarPrimitive__namespace.Image,
56
+ {
57
+ "data-slot": "avatar-image",
58
+ className: chunk7KYAICHB_js.cn("aspect-square size-full", className),
59
+ ...props
60
+ }
61
+ );
62
+ var AvatarImageFallback = ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "avatar-image", className: chunk7KYAICHB_js.cn("aspect-square size-full", className) });
63
+ var AvatarImage = chunkQG7ZF6TO_js.createClientOnlyComponent(AvatarImageRoot, AvatarImageFallback);
64
+ var AvatarFallbackRoot = ({
65
+ className,
66
+ ...props
67
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
68
+ AvatarPrimitive__namespace.Fallback,
69
+ {
70
+ "data-slot": "avatar-fallback",
71
+ className: chunk7KYAICHB_js.cn(
72
+ "bg-bg-tertiary flex size-full items-center justify-center rounded-full",
73
+ className
74
+ ),
75
+ ...props
76
+ }
77
+ );
78
+ var AvatarFallbackSSR = ({
79
+ className,
80
+ ...props
81
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
82
+ "span",
83
+ {
84
+ "data-slot": "avatar-fallback",
85
+ className: chunk7KYAICHB_js.cn(
86
+ "bg-bg-tertiary flex size-full items-center justify-center rounded-full",
87
+ className
88
+ ),
89
+ ...props
90
+ }
91
+ );
92
+ var AvatarFallback = chunkQG7ZF6TO_js.createClientOnlyComponent(AvatarFallbackRoot, AvatarFallbackSSR);
93
+ function AvatarGroup({ children, className, spacing = "normal", max }) {
94
+ const spacingClasses = {
95
+ tight: "-space-x-1.5",
96
+ normal: "-space-x-1",
97
+ loose: "-space-x-0.45"
98
+ };
99
+ const childrenArray = React__default.default.Children.toArray(children);
100
+ const displayChildren = max ? childrenArray.slice(0, max) : childrenArray;
101
+ const remainingCount = max && childrenArray.length > max ? childrenArray.length - max : 0;
102
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk7KYAICHB_js.cn("flex flex-row-reverse justify-end", spacingClasses[spacing], className), children: [
103
+ remainingCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(
104
+ Avatar,
105
+ {
106
+ className: chunk7KYAICHB_js.cn(
107
+ "ring-background relative cursor-default ring-2 transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120"
108
+ ),
109
+ children: /* @__PURE__ */ jsxRuntime.jsxs(AvatarFallback, { children: [
110
+ "+",
111
+ remainingCount
112
+ ] })
113
+ }
114
+ ),
115
+ displayChildren.reverse().map((child) => {
116
+ var _a;
117
+ if (React__default.default.isValidElement(child)) {
118
+ return React__default.default.cloneElement(
119
+ child,
120
+ {
121
+ className: chunk7KYAICHB_js.cn(
122
+ `ring-background relative ring-2 transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120`,
123
+ (_a = child.props) == null ? void 0 : _a.className
124
+ )
125
+ }
126
+ );
127
+ }
128
+ return child;
129
+ })
130
+ ] });
131
+ }
132
+
133
+ exports.Avatar = Avatar;
134
+ exports.AvatarFallback = AvatarFallback;
135
+ exports.AvatarFallbackRoot = AvatarFallbackRoot;
136
+ exports.AvatarFallbackSSR = AvatarFallbackSSR;
137
+ exports.AvatarGroup = AvatarGroup;
138
+ exports.AvatarImage = AvatarImage;
139
+ exports.AvatarImageFallback = AvatarImageFallback;
140
+ exports.AvatarImageRoot = AvatarImageRoot;
141
+ exports.AvatarRoot = AvatarRoot;
142
+ exports.AvatarSSRFallback = AvatarSSRFallback;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkSKO72K64_js = require('./chunk-SKO72K64.js');
4
- var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
3
+ var chunk4ZJRDAXG_js = require('./chunk-4ZJRDAXG.js');
4
+ var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
5
5
  var React = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
@@ -146,9 +146,9 @@ var InputNumbers = React.forwardRef(function InputNumbers2({ size, value, onValu
146
146
  {
147
147
  ref,
148
148
  onMouseDown: handleMouseDown,
149
- className: chunkXXWQ4RVP_js.cn("gap-xs flex cursor-crosshair touch-none flex-col select-none"),
149
+ className: chunk7KYAICHB_js.cn("gap-xs flex cursor-crosshair touch-none flex-col select-none"),
150
150
  children: value.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
151
- chunkSKO72K64_js.InputRoot,
151
+ chunk4ZJRDAXG_js.InputRoot,
152
152
  {
153
153
  ref: (r) => {
154
154
  inputs.current.set(index.toString(), r);
@@ -164,7 +164,7 @@ var InputNumbers = React.forwardRef(function InputNumbers2({ size, value, onValu
164
164
  },
165
165
  onChange: valueChangeHandler(index),
166
166
  "data-hover": "none",
167
- className: chunkXXWQ4RVP_js.cn([
167
+ className: chunk7KYAICHB_js.cn([
168
168
  "group/number-input",
169
169
  "cursor-crosshair",
170
170
  "data-[hover=down]:bg-bg-tertiary",
@@ -174,16 +174,16 @@ var InputNumbers = React.forwardRef(function InputNumbers2({ size, value, onValu
174
174
  "data-[hover=x]:cursor-col-resize",
175
175
  "data-[hover=y]:cursor-row-resize"
176
176
  ]),
177
- inputClassName: chunkXXWQ4RVP_js.cn([
177
+ inputClassName: chunk7KYAICHB_js.cn([
178
178
  "cursor-crosshair",
179
179
  "group-data-[hover=down]/number-input:cursor-move",
180
180
  "group-data-[hover=x]/number-input:cursor-col-resize",
181
181
  "group-data-[hover=y]/number-input:cursor-row-resize"
182
182
  ]),
183
183
  children: /* @__PURE__ */ jsxRuntime.jsx(
184
- chunkSKO72K64_js.InputSlot,
184
+ chunk4ZJRDAXG_js.InputSlot,
185
185
  {
186
- className: chunkXXWQ4RVP_js.cn(
186
+ className: chunk7KYAICHB_js.cn(
187
187
  "cursor-crosshair",
188
188
  "group-data-[hover=down]/number-input:cursor-move",
189
189
  "group-data-[hover=x]/number-input:cursor-col-resize",
@@ -1,9 +1,9 @@
1
- import { SelectTrigger } from './chunk-QVUX6LLD.mjs';
2
- import { Tabs } from './chunk-MRVMXKZO.mjs';
3
- import { Textarea } from './chunk-DDOX4EEM.mjs';
4
- import { InputRoot } from './chunk-QYRRQ65X.mjs';
1
+ import { SelectTrigger } from './chunk-OCNRBXK4.mjs';
2
+ import { Tabs } from './chunk-FA7B4T24.mjs';
3
+ import { Textarea } from './chunk-MWJQTO2F.mjs';
4
+ import { InputRoot } from './chunk-4HURANFT.mjs';
5
+ import { Button } from './chunk-I5UCKLLT.mjs';
5
6
  import { withCursor } from './chunk-44KW6PTD.mjs';
6
- import { Button } from './chunk-VXHM7V6F.mjs';
7
7
 
8
8
  // src/highlight-cursor/enhanced-components.tsx
9
9
  var CursorButton = withCursor(Button);
@@ -3,7 +3,7 @@
3
3
  var clsx = require('clsx');
4
4
  var tailwindMerge = require('tailwind-merge');
5
5
 
6
- // src/utils/cn.ts
6
+ // src/hooks/cn.ts
7
7
  var twMerge = tailwindMerge.extendTailwindMerge({
8
8
  override: {
9
9
  classGroups: {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
3
+ var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
4
4
  var chunkCLTLT5XW_js = require('./chunk-CLTLT5XW.js');
5
5
  var react = require('react');
6
6
  var reactDom = require('react-dom');
@@ -192,7 +192,7 @@ var CursorProvider = ({
192
192
  Component,
193
193
  {
194
194
  ...props,
195
- className: chunkXXWQ4RVP_js.cn(className),
195
+ className: chunk7KYAICHB_js.cn(className),
196
196
  style: {
197
197
  cursor: isMouseInside && !hoveredElementId ? "none" : "auto",
198
198
  ...props.style