@vuer-ai/vuer-uikit 0.0.119 → 0.0.121

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 (494) hide show
  1. package/dist/SyncScroll/SyncScroll.cjs +11 -11
  2. package/dist/SyncScroll/SyncScroll.mjs +4 -4
  3. package/dist/SyncScroll/index.cjs +11 -11
  4. package/dist/SyncScroll/index.mjs +4 -4
  5. package/dist/auth/components/index.cjs +84 -83
  6. package/dist/auth/components/index.mjs +83 -82
  7. package/dist/auth/components/user-avatar/index.cjs +84 -83
  8. package/dist/auth/components/user-avatar/index.mjs +83 -82
  9. package/dist/auth/index.cjs +84 -83
  10. package/dist/auth/index.mjs +83 -82
  11. package/dist/{chunk-42WQWP6X.cjs → chunk-22T2AL3G.cjs} +8 -8
  12. package/dist/{chunk-H6JGIEAU.mjs → chunk-2KQXKQNU.mjs} +1 -1
  13. package/dist/{chunk-S7CCCMMU.cjs → chunk-34NDAZS6.cjs} +18 -9
  14. package/dist/{chunk-DM43KZU7.cjs → chunk-3F3LBOQJ.cjs} +2 -2
  15. package/dist/chunk-3JMUI4R2.cjs +136 -0
  16. package/dist/{chunk-MJOD2WOC.mjs → chunk-3P2OP4KO.mjs} +24 -46
  17. package/dist/{chunk-ARAMXRUE.mjs → chunk-3SUV56TH.mjs} +3 -3
  18. package/dist/{chunk-CH3BSVL4.cjs → chunk-42DBXENE.cjs} +2 -2
  19. package/dist/{chunk-JW456O5K.mjs → chunk-4FB6B2ES.mjs} +1 -1
  20. package/dist/{chunk-UUV46MDU.cjs → chunk-4G2LN6XU.cjs} +139 -108
  21. package/dist/chunk-4NABYVCK.mjs +31 -0
  22. package/dist/{chunk-MNCBTS63.cjs → chunk-4TRHQ7MJ.cjs} +5 -5
  23. package/dist/{chunk-F2LEYFWW.cjs → chunk-4WKFVKFF.cjs} +5 -5
  24. package/dist/{chunk-EEGQLTSQ.cjs → chunk-4WWGBRQV.cjs} +77 -0
  25. package/dist/chunk-4Y5IF7R5.mjs +322 -0
  26. package/dist/{chunk-24SOZV7S.mjs → chunk-4YVKJKWV.mjs} +4 -15
  27. package/dist/{chunk-X6WOCNBX.cjs → chunk-57NITJN5.cjs} +2 -2
  28. package/dist/{chunk-QWBMDS3S.cjs → chunk-5HT74RHB.cjs} +5 -5
  29. package/dist/{chunk-4ODJAEOM.mjs → chunk-5JYH7TXY.mjs} +1 -1
  30. package/dist/{chunk-OJOWMXXY.mjs → chunk-67H3OSM3.mjs} +3 -3
  31. package/dist/{chunk-2CD4D2BR.cjs → chunk-6CJWNYHL.cjs} +3 -3
  32. package/dist/{chunk-CRX2ZCM2.cjs → chunk-6LTCLQH3.cjs} +6 -1
  33. package/dist/{chunk-TQKX345P.mjs → chunk-6NSLYQ35.mjs} +2 -2
  34. package/dist/{chunk-WKK5UX2W.mjs → chunk-6U6LRS37.mjs} +2 -2
  35. package/dist/{chunk-4OUQ6NSX.cjs → chunk-6VIKDPCD.cjs} +2 -2
  36. package/dist/{chunk-LMYA5IOK.mjs → chunk-6ZLK2RYS.mjs} +3 -3
  37. package/dist/{chunk-LYGYXV7S.cjs → chunk-7ICRKPIO.cjs} +16 -16
  38. package/dist/{chunk-ZCSJGDX7.mjs → chunk-7MR3M2HW.mjs} +1 -1
  39. package/dist/{chunk-Q37KC3CL.mjs → chunk-7RRQ2HHL.mjs} +114 -17
  40. package/dist/{chunk-FMKD5JBL.mjs → chunk-7TD77VF4.mjs} +10 -6
  41. package/dist/{chunk-42ZXL3KZ.cjs → chunk-7TXGEIV3.cjs} +12 -12
  42. package/dist/{chunk-SLXM4F24.cjs → chunk-7YFUNCKT.cjs} +9 -9
  43. package/dist/{chunk-LGFWHV23.cjs → chunk-ACGXE2IO.cjs} +2 -2
  44. package/dist/{chunk-EGIIZWP3.mjs → chunk-AFR23IX6.mjs} +1 -1
  45. package/dist/{chunk-XS5IUI62.cjs → chunk-B6CIRZI4.cjs} +2 -2
  46. package/dist/{chunk-REZAPK6Z.mjs → chunk-BDFUHPX2.mjs} +1 -1
  47. package/dist/{chunk-CXPF274N.mjs → chunk-BK77KKIM.mjs} +1 -1
  48. package/dist/{chunk-ZJSL6HSL.mjs → chunk-BLG4IPRR.mjs} +1 -1
  49. package/dist/{chunk-JQYMF2FW.cjs → chunk-BSDIS4KS.cjs} +4 -4
  50. package/dist/{chunk-4DSJ62TT.mjs → chunk-BYZ7HIIK.mjs} +2 -2
  51. package/dist/{chunk-6C53NKMF.mjs → chunk-C4U5BMQH.mjs} +1 -1
  52. package/dist/{chunk-BQA24G2A.mjs → chunk-CENP2PIB.mjs} +2 -2
  53. package/dist/{chunk-NJWKR5WR.mjs → chunk-CEYNTMQP.mjs} +1 -1
  54. package/dist/{chunk-CIOLL5LX.mjs → chunk-CN6SZKJZ.mjs} +1 -1
  55. package/dist/{chunk-WDSOII5A.cjs → chunk-COJRGW3A.cjs} +2 -2
  56. package/dist/{chunk-DYLDZJQC.cjs → chunk-COL2MXGC.cjs} +4 -4
  57. package/dist/chunk-CRY23RMB.mjs +30 -0
  58. package/dist/{chunk-CKGEV2JL.cjs → chunk-CV2EDA3W.cjs} +2 -2
  59. package/dist/{chunk-7AAMQGY2.cjs → chunk-CYWVJ3HF.cjs} +7 -7
  60. package/dist/{chunk-EEYL7PDI.cjs → chunk-D5WTSBUX.cjs} +7 -7
  61. package/dist/{chunk-ASZIBFA6.cjs → chunk-DG2EVWIW.cjs} +10 -10
  62. package/dist/chunk-DGJ7E77I.mjs +23 -0
  63. package/dist/{chunk-B7PLWNPX.mjs → chunk-DSQPFXYL.mjs} +22 -24
  64. package/dist/chunk-DVUN6GQI.cjs +21 -0
  65. package/dist/chunk-E7ACJ3NX.cjs +45 -0
  66. package/dist/{chunk-T4U3BG2V.mjs → chunk-EGJLY5VZ.mjs} +1 -1
  67. package/dist/{chunk-IPMQ63BJ.cjs → chunk-EMZEL54F.cjs} +27 -49
  68. package/dist/{chunk-7AEOJFD4.cjs → chunk-EOTGD64D.cjs} +2 -2
  69. package/dist/{chunk-K2ZYSKRU.mjs → chunk-EZ536NLQ.mjs} +1 -1
  70. package/dist/chunk-FB3M2JJV.cjs +21 -0
  71. package/dist/{chunk-DDU3SPCC.mjs → chunk-FUMJBAQI.mjs} +57 -4
  72. package/dist/{chunk-4TYIH6V3.mjs → chunk-G45SP3DA.mjs} +91 -61
  73. package/dist/{chunk-HB65PF7F.cjs → chunk-GBRIW266.cjs} +2 -2
  74. package/dist/{chunk-RPTRTGC2.cjs → chunk-GEGPGQVH.cjs} +15 -15
  75. package/dist/chunk-GHQA7PER.mjs +107 -0
  76. package/dist/{chunk-XQ3MWA3D.mjs → chunk-GJKFQHUX.mjs} +3 -3
  77. package/dist/{chunk-ND3WJ63Z.cjs → chunk-GVRVRBDU.cjs} +2 -2
  78. package/dist/chunk-GZ2BG42R.mjs +34 -0
  79. package/dist/chunk-H3JRYX2U.mjs +19 -0
  80. package/dist/{chunk-T66ETI7E.mjs → chunk-HBEU2PU2.mjs} +6 -1
  81. package/dist/{chunk-EVBYVJTW.mjs → chunk-HGN7J4CP.mjs} +2 -2
  82. package/dist/{chunk-SMXN2KOV.mjs → chunk-HGTL7DFT.mjs} +1 -1
  83. package/dist/{chunk-QO2AM6MF.mjs → chunk-HIDTQ4Z2.mjs} +1 -1
  84. package/dist/{chunk-3NIMV5PH.mjs → chunk-HUPECWNG.mjs} +1 -1
  85. package/dist/{chunk-6WH6PWTJ.cjs → chunk-HVACIZB5.cjs} +7 -19
  86. package/dist/{chunk-R4HT3SYR.cjs → chunk-HZBP6QTE.cjs} +2 -2
  87. package/dist/{chunk-2GXIGEKC.mjs → chunk-IKSER6BF.mjs} +2 -2
  88. package/dist/{chunk-UQQBUPGF.mjs → chunk-IPMWGCAI.mjs} +5 -21
  89. package/dist/{chunk-Q7WCKEXG.cjs → chunk-JF43YF6J.cjs} +3 -3
  90. package/dist/{chunk-MXGPFCLN.cjs → chunk-JVZ6J2UX.cjs} +2 -2
  91. package/dist/{chunk-EY6PKK4X.cjs → chunk-KKGDRIR2.cjs} +2 -2
  92. package/dist/{chunk-SAXISARG.cjs → chunk-KWSH253U.cjs} +2 -2
  93. package/dist/{chunk-K2BQNNEX.cjs → chunk-L6W77P4B.cjs} +8 -8
  94. package/dist/{chunk-N4Y5CBOI.cjs → chunk-LGUQR5AR.cjs} +4 -4
  95. package/dist/{chunk-MYZHDWBF.mjs → chunk-LJYIEOGQ.mjs} +11 -11
  96. package/dist/{chunk-332A4MHC.mjs → chunk-LNYUFL3Q.mjs} +1 -1
  97. package/dist/{chunk-JFPIUDGT.mjs → chunk-LOMLR5AA.mjs} +1 -1
  98. package/dist/{chunk-6D7FGGSX.cjs → chunk-MMQR4IEY.cjs} +27 -27
  99. package/dist/{chunk-BUAWPPXA.cjs → chunk-MQ5DGLVE.cjs} +11 -11
  100. package/dist/{chunk-EXY6WRH4.mjs → chunk-N6KP2HIC.mjs} +2 -2
  101. package/dist/{chunk-NKGUQZTD.cjs → chunk-NC2U7QTW.cjs} +2 -2
  102. package/dist/{chunk-V75PKBIV.cjs → chunk-NEJKCSS5.cjs} +9 -9
  103. package/dist/{chunk-R5UREEMP.cjs → chunk-NHFIDL5X.cjs} +8 -8
  104. package/dist/{chunk-JNV3UBBP.cjs → chunk-NIACIZWY.cjs} +6 -22
  105. package/dist/{chunk-PC5DHSC4.mjs → chunk-NKUK73WB.mjs} +71 -1
  106. package/dist/{chunk-5OZS5UJX.cjs → chunk-NSPAT6XV.cjs} +7 -7
  107. package/dist/{chunk-4BQPIY5Z.mjs → chunk-O2NGB7YP.mjs} +1 -1
  108. package/dist/{chunk-7H7U2X45.cjs → chunk-O3DFVRON.cjs} +17 -13
  109. package/dist/{chunk-IAFCABPY.mjs → chunk-O5YP3JQ4.mjs} +1 -1
  110. package/dist/chunk-OBWKFURE.cjs +2 -0
  111. package/dist/{chunk-S37MJNNP.cjs → chunk-OCADGDGL.cjs} +2 -2
  112. package/dist/{chunk-UMGNAR3W.cjs → chunk-OON7LFBQ.cjs} +8 -8
  113. package/dist/{chunk-ZSAPBZ36.mjs → chunk-OW653F7T.mjs} +1 -1
  114. package/dist/{chunk-GQYUSBSO.mjs → chunk-P3FBRYWH.mjs} +3 -10
  115. package/dist/{chunk-P3YSHGT5.mjs → chunk-P55DAW6H.mjs} +1 -1
  116. package/dist/{chunk-JOOURIX7.cjs → chunk-P6E4WLMD.cjs} +4 -4
  117. package/dist/{chunk-SCUMWMIN.mjs → chunk-PC42NEBI.mjs} +1 -1
  118. package/dist/{chunk-F3HOBNGR.cjs → chunk-PMG3NZF5.cjs} +4 -4
  119. package/dist/{chunk-PV6CEMTT.cjs → chunk-PWZ4F3WY.cjs} +4 -4
  120. package/dist/{chunk-MK2CWAFC.mjs → chunk-PZDC5ZKG.mjs} +5 -5
  121. package/dist/{chunk-LVIZRMYN.cjs → chunk-QF3JWGWX.cjs} +2 -2
  122. package/dist/{chunk-BXZSWY4N.mjs → chunk-QYJZ5KA6.mjs} +1 -1
  123. package/dist/{chunk-AE5YDMFT.mjs → chunk-QYYMLZFE.mjs} +3 -3
  124. package/dist/{chunk-JYYAGDLZ.cjs → chunk-R22VW3EK.cjs} +2 -2
  125. package/dist/{chunk-U22YVR7M.mjs → chunk-RLY4A3IY.mjs} +15 -6
  126. package/dist/{chunk-OLYHHP67.mjs → chunk-RS4T6S3Z.mjs} +1 -1
  127. package/dist/{chunk-L2XJ5Q7T.cjs → chunk-RTZNHV43.cjs} +21 -21
  128. package/dist/{chunk-D562KO2I.mjs → chunk-RWHVZM2B.mjs} +2 -2
  129. package/dist/{chunk-PR3BCKLJ.mjs → chunk-S4BL7C3Y.mjs} +1 -1
  130. package/dist/chunk-S4C7HO32.cjs +36 -0
  131. package/dist/{chunk-DAVMLI3P.cjs → chunk-SNUQOJLK.cjs} +4 -4
  132. package/dist/{chunk-KY2PYKDZ.mjs → chunk-SO5KFX2C.mjs} +1 -1
  133. package/dist/{chunk-WDS3VL7E.mjs → chunk-SQJL67BU.mjs} +3 -3
  134. package/dist/{chunk-RW4T7UBU.cjs → chunk-STJMH4NX.cjs} +3 -3
  135. package/dist/{chunk-KIZ7WH7H.cjs → chunk-SUWJDU3Y.cjs} +59 -61
  136. package/dist/chunk-T2BDPMCF.cjs +358 -0
  137. package/dist/{chunk-U5W4ZALG.cjs → chunk-T2OAWYOU.cjs} +6 -6
  138. package/dist/{chunk-RGOZPSTI.mjs → chunk-TMBHKVKH.mjs} +1 -1
  139. package/dist/{chunk-VTW2DF63.mjs → chunk-TWDDNHRP.mjs} +1 -1
  140. package/dist/chunk-U4AANBRZ.mjs +1 -0
  141. package/dist/{chunk-DDIB73SZ.mjs → chunk-UB3ELCFR.mjs} +4 -4
  142. package/dist/chunk-UCAIVC2B.cjs +32 -0
  143. package/dist/{chunk-EK3BTKZP.cjs → chunk-UFYHIDMC.cjs} +123 -26
  144. package/dist/{chunk-KQW3YARN.cjs → chunk-UTHAZV2T.cjs} +62 -9
  145. package/dist/{chunk-G5VBLDAM.mjs → chunk-VBEVJE7Q.mjs} +1 -1
  146. package/dist/{chunk-66NKH2SV.cjs → chunk-VW2NEQHK.cjs} +6 -6
  147. package/dist/{chunk-VWVYCQWF.mjs → chunk-WBM7ATPT.mjs} +1 -1
  148. package/dist/{chunk-QBAZ6TKZ.cjs → chunk-WQT7JQN4.cjs} +2 -2
  149. package/dist/{chunk-DAA2GQAS.cjs → chunk-WRJAYU2L.cjs} +27 -27
  150. package/dist/{chunk-GTBXRWCK.cjs → chunk-WYD3KNAT.cjs} +3 -3
  151. package/dist/{chunk-EBFPZBUQ.cjs → chunk-WYUJM72T.cjs} +7 -7
  152. package/dist/{chunk-XTLGNJIO.mjs → chunk-XC25ZQ7H.mjs} +1 -1
  153. package/dist/{chunk-4PMXRQXC.cjs → chunk-XDIHVSZ5.cjs} +6 -6
  154. package/dist/{chunk-7ACZU3BT.mjs → chunk-XHNM6XE3.mjs} +1 -1
  155. package/dist/{chunk-WHV6Z7YX.mjs → chunk-XIESS6HW.mjs} +1 -1
  156. package/dist/{chunk-IU65XB2K.cjs → chunk-XMVARRN6.cjs} +2 -2
  157. package/dist/{chunk-UIJEAY6H.mjs → chunk-XTZURZIR.mjs} +1 -1
  158. package/dist/{chunk-7AZ3PLUC.mjs → chunk-XZLQHASB.mjs} +1 -1
  159. package/dist/{chunk-SRZ56OJH.mjs → chunk-XZTEU7ME.mjs} +3 -3
  160. package/dist/{chunk-RLTLA7VS.mjs → chunk-Y2IIKDRY.mjs} +1 -1
  161. package/dist/{chunk-5AKVDZMA.cjs → chunk-YAFKQ5ZV.cjs} +12 -12
  162. package/dist/{chunk-3DIFS7CO.mjs → chunk-YBUMQX6M.mjs} +1 -1
  163. package/dist/{chunk-CR6JOOO3.cjs → chunk-YGZHBIZP.cjs} +3 -10
  164. package/dist/{chunk-TWQONYWC.mjs → chunk-YMMSHGYC.mjs} +1 -1
  165. package/dist/{chunk-ZS7ESTKH.cjs → chunk-Z42BBOSG.cjs} +8 -12
  166. package/dist/{chunk-ZA7WOIIB.mjs → chunk-Z7PWETGZ.mjs} +1 -1
  167. package/dist/{chunk-3ZEQVODC.cjs → chunk-ZAK7AFVY.cjs} +2 -2
  168. package/dist/{chunk-W3IHFG4B.cjs → chunk-ZG33TW5I.cjs} +8 -8
  169. package/dist/chunk-ZQ2DPA2M.mjs +43 -0
  170. package/dist/{chunk-AHD46BFN.mjs → chunk-ZQOQB6GF.mjs} +1 -1
  171. package/dist/dial/DialPanel.cjs +89 -87
  172. package/dist/dial/DialPanel.d.cts +2 -3
  173. package/dist/dial/DialPanel.d.ts +2 -3
  174. package/dist/dial/DialPanel.mjs +88 -86
  175. package/dist/dial/DialProvider.d.cts +16 -51
  176. package/dist/dial/DialProvider.d.ts +16 -51
  177. package/dist/dial/index.cjs +105 -103
  178. package/dist/dial/index.d.cts +2 -1
  179. package/dist/dial/index.d.ts +2 -1
  180. package/dist/dial/index.mjs +88 -86
  181. package/dist/dial/types.cjs +4 -0
  182. package/dist/dial/types.d.cts +110 -0
  183. package/dist/dial/types.d.ts +110 -0
  184. package/dist/dial/types.mjs +1 -0
  185. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +93 -91
  186. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +1 -2
  187. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +1 -2
  188. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +88 -86
  189. package/dist/dial/wrapped-inputs/DialInputs.cjs +102 -100
  190. package/dist/dial/wrapped-inputs/DialInputs.d.cts +1 -2
  191. package/dist/dial/wrapped-inputs/DialInputs.d.ts +1 -2
  192. package/dist/dial/wrapped-inputs/DialInputs.mjs +88 -86
  193. package/dist/dial/wrapped-inputs/DialInterfaceInput.cjs +129 -0
  194. package/dist/dial/wrapped-inputs/DialInterfaceInput.d.cts +8 -0
  195. package/dist/dial/wrapped-inputs/DialInterfaceInput.d.ts +8 -0
  196. package/dist/dial/wrapped-inputs/DialInterfaceInput.mjs +120 -0
  197. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +84 -83
  198. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +1 -2
  199. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +1 -2
  200. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +83 -82
  201. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +89 -87
  202. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +88 -86
  203. package/dist/dial/wrapped-inputs/index.cjs +109 -107
  204. package/dist/dial/wrapped-inputs/index.d.cts +1 -2
  205. package/dist/dial/wrapped-inputs/index.d.ts +1 -2
  206. package/dist/dial/wrapped-inputs/index.mjs +88 -86
  207. package/dist/highlight-cursor/cursor-provider.cjs +3 -3
  208. package/dist/highlight-cursor/cursor-provider.mjs +2 -2
  209. package/dist/highlight-cursor/enhanced-components.cjs +14 -14
  210. package/dist/highlight-cursor/enhanced-components.d.cts +1 -1
  211. package/dist/highlight-cursor/enhanced-components.d.ts +1 -1
  212. package/dist/highlight-cursor/enhanced-components.mjs +9 -9
  213. package/dist/highlight-cursor/index.cjs +19 -19
  214. package/dist/highlight-cursor/index.mjs +10 -10
  215. package/dist/hooks/clientOnly.cjs +4 -12
  216. package/dist/hooks/clientOnly.d.cts +9 -15
  217. package/dist/hooks/clientOnly.d.ts +9 -15
  218. package/dist/hooks/clientOnly.mjs +1 -1
  219. package/dist/hooks/cn.cjs +2 -2
  220. package/dist/hooks/cn.mjs +1 -1
  221. package/dist/hooks/index.cjs +8 -16
  222. package/dist/hooks/index.d.cts +2 -1
  223. package/dist/hooks/index.d.ts +2 -1
  224. package/dist/hooks/index.mjs +3 -3
  225. package/dist/hooks/useIsMobile.cjs +2 -2
  226. package/dist/hooks/useIsMobile.mjs +1 -1
  227. package/dist/index.cjs +466 -384
  228. package/dist/index.css +0 -63
  229. package/dist/index.d.cts +9 -6
  230. package/dist/index.d.ts +9 -6
  231. package/dist/index.mjs +88 -86
  232. package/dist/ui/DialBadge.cjs +8 -8
  233. package/dist/ui/DialBadge.mjs +4 -4
  234. package/dist/ui/UIKitBadge.cjs +8 -8
  235. package/dist/ui/UIKitBadge.mjs +4 -4
  236. package/dist/ui/avatar.cjs +8 -8
  237. package/dist/ui/avatar.mjs +4 -4
  238. package/dist/ui/badge.cjs +6 -6
  239. package/dist/ui/badge.d.cts +2 -2
  240. package/dist/ui/badge.d.ts +2 -2
  241. package/dist/ui/badge.mjs +4 -4
  242. package/dist/ui/button.cjs +6 -6
  243. package/dist/ui/button.d.cts +1 -1
  244. package/dist/ui/button.d.ts +1 -1
  245. package/dist/ui/button.mjs +4 -4
  246. package/dist/ui/card.cjs +12 -11
  247. package/dist/ui/card.d.cts +14 -2
  248. package/dist/ui/card.d.ts +14 -2
  249. package/dist/ui/card.mjs +5 -4
  250. package/dist/ui/checkbox.cjs +5 -5
  251. package/dist/ui/checkbox.mjs +4 -4
  252. package/dist/ui/collapsible.cjs +7 -7
  253. package/dist/ui/collapsible.mjs +4 -4
  254. package/dist/ui/context-menu.cjs +76 -0
  255. package/dist/ui/context-menu.d.cts +28 -0
  256. package/dist/ui/context-menu.d.ts +28 -0
  257. package/dist/ui/context-menu.mjs +11 -0
  258. package/dist/ui/drawer.cjs +14 -14
  259. package/dist/ui/drawer.mjs +4 -4
  260. package/dist/ui/dropdown.cjs +19 -19
  261. package/dist/ui/dropdown.mjs +4 -4
  262. package/dist/ui/icons/index.cjs +9 -9
  263. package/dist/ui/icons/index.mjs +1 -1
  264. package/dist/ui/index.cjs +423 -334
  265. package/dist/ui/index.d.cts +6 -4
  266. package/dist/ui/index.d.ts +6 -4
  267. package/dist/ui/index.mjs +82 -81
  268. package/dist/ui/inputs/color-input.cjs +6 -6
  269. package/dist/ui/inputs/color-input.mjs +5 -5
  270. package/dist/ui/inputs/index.cjs +53 -53
  271. package/dist/ui/inputs/index.mjs +23 -23
  272. package/dist/ui/inputs/input-numbers.cjs +6 -6
  273. package/dist/ui/inputs/input-numbers.mjs +5 -5
  274. package/dist/ui/inputs/input.cjs +7 -7
  275. package/dist/ui/inputs/input.d.cts +1 -1
  276. package/dist/ui/inputs/input.d.ts +1 -1
  277. package/dist/ui/inputs/input.mjs +4 -4
  278. package/dist/ui/inputs/number-inputs/CmInput.cjs +7 -7
  279. package/dist/ui/inputs/number-inputs/CmInput.mjs +6 -6
  280. package/dist/ui/inputs/number-inputs/DegInput.cjs +7 -7
  281. package/dist/ui/inputs/number-inputs/DegInput.mjs +6 -6
  282. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +9 -9
  283. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +8 -8
  284. package/dist/ui/inputs/number-inputs/EulerInput.cjs +8 -8
  285. package/dist/ui/inputs/number-inputs/EulerInput.mjs +7 -7
  286. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +8 -8
  287. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +7 -7
  288. package/dist/ui/inputs/number-inputs/InchInput.cjs +7 -7
  289. package/dist/ui/inputs/number-inputs/InchInput.mjs +6 -6
  290. package/dist/ui/inputs/number-inputs/IntInput.cjs +7 -7
  291. package/dist/ui/inputs/number-inputs/IntInput.mjs +6 -6
  292. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +8 -8
  293. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +7 -7
  294. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +8 -8
  295. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +7 -7
  296. package/dist/ui/inputs/number-inputs/RadInput.cjs +7 -7
  297. package/dist/ui/inputs/number-inputs/RadInput.mjs +6 -6
  298. package/dist/ui/inputs/number-inputs/TimeInput.cjs +7 -7
  299. package/dist/ui/inputs/number-inputs/TimeInput.mjs +6 -6
  300. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +8 -8
  301. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +7 -7
  302. package/dist/ui/inputs/number-inputs/VectorInput.cjs +7 -7
  303. package/dist/ui/inputs/number-inputs/VectorInput.mjs +6 -6
  304. package/dist/ui/inputs/number-inputs/index.cjs +34 -34
  305. package/dist/ui/inputs/number-inputs/index.mjs +18 -18
  306. package/dist/ui/inputs/presets-input.cjs +8 -8
  307. package/dist/ui/inputs/presets-input.mjs +7 -7
  308. package/dist/ui/inputs/presets-rad-input.cjs +9 -9
  309. package/dist/ui/inputs/presets-rad-input.mjs +8 -8
  310. package/dist/ui/inputs/text-input.cjs +6 -6
  311. package/dist/ui/inputs/text-input.mjs +5 -5
  312. package/dist/ui/label.cjs +5 -5
  313. package/dist/ui/label.mjs +4 -4
  314. package/dist/ui/layout.cjs +5 -5
  315. package/dist/ui/layout.mjs +4 -4
  316. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +6 -6
  317. package/dist/ui/layouts/dock-layout/DockLayoutView.d.cts +2 -1
  318. package/dist/ui/layouts/dock-layout/DockLayoutView.d.ts +2 -1
  319. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +5 -5
  320. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +10 -10
  321. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
  322. package/dist/ui/layouts/dock-layout/index.cjs +12 -12
  323. package/dist/ui/layouts/dock-layout/index.mjs +5 -5
  324. package/dist/ui/layouts/index.cjs +19 -19
  325. package/dist/ui/layouts/index.mjs +8 -8
  326. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +10 -10
  327. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +4 -4
  328. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +6 -6
  329. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.cts +13 -1
  330. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.ts +13 -1
  331. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +5 -5
  332. package/dist/ui/layouts/liquid-layout/index.cjs +6 -6
  333. package/dist/ui/layouts/liquid-layout/index.mjs +5 -5
  334. package/dist/ui/modal.cjs +14 -14
  335. package/dist/ui/modal.mjs +4 -4
  336. package/dist/ui/navigation.cjs +6 -6
  337. package/dist/ui/navigation.mjs +5 -5
  338. package/dist/ui/pagination.cjs +12 -12
  339. package/dist/ui/pagination.mjs +5 -5
  340. package/dist/ui/popover.cjs +8 -8
  341. package/dist/ui/popover.mjs +4 -4
  342. package/dist/ui/progress.cjs +5 -5
  343. package/dist/ui/progress.d.cts +1 -1
  344. package/dist/ui/progress.d.ts +1 -1
  345. package/dist/ui/progress.mjs +4 -4
  346. package/dist/ui/radio-group.cjs +6 -6
  347. package/dist/ui/radio-group.mjs +4 -4
  348. package/dist/ui/resizable.cjs +7 -7
  349. package/dist/ui/resizable.mjs +4 -4
  350. package/dist/ui/select.cjs +15 -15
  351. package/dist/ui/select.d.cts +1 -1
  352. package/dist/ui/select.d.ts +1 -1
  353. package/dist/ui/select.mjs +4 -4
  354. package/dist/ui/separator.cjs +5 -5
  355. package/dist/ui/separator.mjs +4 -4
  356. package/dist/ui/sheet.cjs +12 -12
  357. package/dist/ui/sheet.d.cts +26 -13
  358. package/dist/ui/sheet.d.ts +26 -13
  359. package/dist/ui/sheet.mjs +4 -4
  360. package/dist/ui/sidebar.cjs +34 -34
  361. package/dist/ui/sidebar.mjs +10 -10
  362. package/dist/ui/simple-tree-view.cjs +5 -5
  363. package/dist/ui/simple-tree-view.mjs +4 -4
  364. package/dist/ui/skeleton.cjs +5 -5
  365. package/dist/ui/skeleton.mjs +4 -4
  366. package/dist/ui/slider.cjs +5 -5
  367. package/dist/ui/slider.mjs +4 -4
  368. package/dist/ui/switch.cjs +5 -5
  369. package/dist/ui/switch.mjs +4 -4
  370. package/dist/ui/table.cjs +12 -12
  371. package/dist/ui/table.mjs +4 -4
  372. package/dist/ui/tabs.cjs +8 -8
  373. package/dist/ui/tabs.d.cts +21 -6
  374. package/dist/ui/tabs.d.ts +21 -6
  375. package/dist/ui/tabs.mjs +4 -4
  376. package/dist/ui/textarea.cjs +5 -5
  377. package/dist/ui/textarea.d.cts +1 -1
  378. package/dist/ui/textarea.d.ts +1 -1
  379. package/dist/ui/textarea.mjs +4 -4
  380. package/dist/ui/theme/ThemeProvider.d.cts +1 -1
  381. package/dist/ui/theme/ThemeProvider.d.ts +1 -1
  382. package/dist/ui/theme/ThemeToggles.cjs +8 -12
  383. package/dist/ui/theme/ThemeToggles.d.cts +1 -7
  384. package/dist/ui/theme/ThemeToggles.d.ts +1 -7
  385. package/dist/ui/theme/ThemeToggles.mjs +6 -6
  386. package/dist/ui/theme/index.cjs +8 -12
  387. package/dist/ui/theme/index.d.cts +1 -1
  388. package/dist/ui/theme/index.d.ts +1 -1
  389. package/dist/ui/theme/index.mjs +6 -6
  390. package/dist/ui/toast.cjs +19 -3
  391. package/dist/ui/toast.d.cts +1 -1
  392. package/dist/ui/toast.d.ts +1 -1
  393. package/dist/ui/toast.mjs +17 -1
  394. package/dist/ui/toggle-buttons.cjs +9 -9
  395. package/dist/ui/toggle-buttons.mjs +4 -4
  396. package/dist/ui/toggle-group.cjs +7 -7
  397. package/dist/ui/toggle-group.mjs +4 -4
  398. package/dist/ui/toggle.cjs +6 -6
  399. package/dist/ui/toggle.mjs +4 -4
  400. package/dist/ui/toolbar.cjs +7 -7
  401. package/dist/ui/toolbar.mjs +4 -4
  402. package/dist/ui/tooltip.cjs +8 -8
  403. package/dist/ui/tooltip.d.cts +2 -2
  404. package/dist/ui/tooltip.d.ts +2 -2
  405. package/dist/ui/tooltip.mjs +4 -4
  406. package/dist/ui/tree-view/TreeSearchBar.cjs +7 -7
  407. package/dist/ui/tree-view/TreeSearchBar.mjs +6 -6
  408. package/dist/ui/tree-view/TreeView.cjs +8 -6
  409. package/dist/ui/tree-view/TreeView.d.cts +12 -6
  410. package/dist/ui/tree-view/TreeView.d.ts +12 -6
  411. package/dist/ui/tree-view/TreeView.mjs +6 -4
  412. package/dist/ui/tree-view/hooks.cjs +31 -3
  413. package/dist/ui/tree-view/hooks.d.cts +33 -1
  414. package/dist/ui/tree-view/hooks.d.ts +33 -1
  415. package/dist/ui/tree-view/hooks.mjs +1 -1
  416. package/dist/ui/tree-view/index.cjs +47 -18
  417. package/dist/ui/tree-view/index.d.cts +1 -1
  418. package/dist/ui/tree-view/index.d.ts +1 -1
  419. package/dist/ui/tree-view/index.mjs +9 -8
  420. package/dist/ui/tree-view-legacy.cjs +11 -11
  421. package/dist/ui/tree-view-legacy.mjs +7 -7
  422. package/dist/ui/waterfall/CursorOverlay.cjs +5 -5
  423. package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
  424. package/dist/ui/waterfall/TimelineEvent.cjs +5 -5
  425. package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
  426. package/dist/ui/waterfall/TimelineProcessBar.cjs +5 -5
  427. package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
  428. package/dist/ui/waterfall/Wedges.cjs +6 -6
  429. package/dist/ui/waterfall/Wedges.mjs +4 -4
  430. package/dist/ui/waterfall/index.cjs +17 -16
  431. package/dist/ui/waterfall/index.mjs +16 -15
  432. package/package.json +2 -1
  433. package/src/auth/components/index.ts +1 -1
  434. package/src/dial/DialPanel.tsx +53 -28
  435. package/src/dial/DialProvider.tsx +20 -68
  436. package/src/dial/index.ts +7 -5
  437. package/src/dial/types.ts +40 -0
  438. package/src/dial/wrapped-inputs/ControlledInputs.tsx +6 -5
  439. package/src/dial/wrapped-inputs/DialInputs.tsx +2 -1
  440. package/src/dial/wrapped-inputs/DialInterfaceInput.tsx +44 -0
  441. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +3 -2
  442. package/src/dial/wrapped-inputs/DialVectorInput.tsx +3 -18
  443. package/src/hooks/clientOnly.tsx +20 -23
  444. package/src/hooks/cn.ts +5 -0
  445. package/src/hooks/useIsMobile.ts +14 -30
  446. package/src/index.css +0 -1
  447. package/src/ui/DialBadge.tsx +7 -5
  448. package/src/ui/card.tsx +76 -4
  449. package/src/ui/context-menu.tsx +358 -0
  450. package/src/ui/index.ts +2 -0
  451. package/src/ui/inputs/number-inputs/EulerRadInput.tsx +43 -42
  452. package/src/ui/inputs/number-inputs/VectorInput.tsx +0 -1
  453. package/src/ui/inputs/presets-rad-input.tsx +5 -2
  454. package/src/ui/inputs/text-input.tsx +1 -1
  455. package/src/ui/layouts/dock-layout/DockLayoutView.tsx +15 -4
  456. package/src/ui/layouts/dock-layout/LayoutSlots.tsx +14 -5
  457. package/src/ui/layouts/liquid-layout/LiquidLayoutView.tsx +44 -5
  458. package/src/ui/progress.tsx +7 -14
  459. package/src/ui/separator.tsx +1 -1
  460. package/src/ui/sheet.tsx +14 -116
  461. package/src/ui/sidebar.tsx +18 -19
  462. package/src/ui/tabs.tsx +27 -57
  463. package/src/ui/theme/ThemeToggles.tsx +1 -21
  464. package/src/ui/theme/index.ts +1 -1
  465. package/src/ui/toast.tsx +15 -16
  466. package/src/ui/tooltip.tsx +3 -30
  467. package/src/ui/tree-view/TreeView.tsx +147 -18
  468. package/src/ui/tree-view/hooks.tsx +148 -0
  469. package/src/ui/tree-view/types.ts +1 -1
  470. package/src/ui/waterfall/TimelineProcessBar.tsx +10 -4
  471. package/dist/chunk-4F2GSF2T.mjs +0 -29
  472. package/dist/chunk-A6EASR27.mjs +0 -193
  473. package/dist/chunk-EOSYXHEH.mjs +0 -27
  474. package/dist/chunk-EXXV3BXT.cjs +0 -23
  475. package/dist/chunk-FZAGJSW2.cjs +0 -47
  476. package/dist/chunk-IPQU5CJD.mjs +0 -21
  477. package/dist/chunk-JR4TVE43.cjs +0 -31
  478. package/dist/chunk-MFYDZKQF.mjs +0 -28
  479. package/dist/chunk-RTYZO2AC.cjs +0 -30
  480. package/dist/chunk-UK3UBVT4.cjs +0 -222
  481. package/dist/chunk-XHJDRQD7.mjs +0 -29
  482. package/dist/chunk-Y2XVZEXM.mjs +0 -45
  483. package/dist/chunk-ZF435JZL.cjs +0 -21
  484. package/dist/dial/DialProvider.example.cjs +0 -72
  485. package/dist/dial/DialProvider.example.d.cts +0 -7
  486. package/dist/dial/DialProvider.example.d.ts +0 -7
  487. package/dist/dial/DialProvider.example.mjs +0 -68
  488. package/dist/styles/toast.css +0 -64
  489. package/dist/styles/toast.d.cts +0 -2
  490. package/dist/styles/toast.d.ts +0 -2
  491. package/src/dial/DialProvider.example.tsx +0 -80
  492. package/src/styles/toast.css +0 -67
  493. /package/dist/{chunk-YYLBP356.mjs → chunk-6THKQIF7.mjs} +0 -0
  494. /package/dist/{chunk-YWECB5GR.cjs → chunk-F4NQLN5E.cjs} +0 -0
@@ -1,20 +1,13 @@
1
- import { type ComponentProps } from "react"
2
- import * as ProgressPrimitive from "@radix-ui/react-progress"
1
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
2
+ import { type ComponentProps } from "react";
3
3
 
4
- import { cn } from "../hooks"
4
+ import { cn } from "../hooks";
5
5
 
6
- function Progress({
7
- className,
8
- value,
9
- ...props
10
- }: ComponentProps<typeof ProgressPrimitive.Root>) {
6
+ function Progress({ className, value, ...props }: ComponentProps<typeof ProgressPrimitive.Root>) {
11
7
  return (
12
8
  <ProgressPrimitive.Root
13
9
  data-slot="progress"
14
- className={cn(
15
- "bg-bg-secondary relative h-2 w-full overflow-hidden rounded-uk-xl",
16
- className
17
- )}
10
+ className={cn("bg-bg-secondary rounded-uk-xl relative h-2 w-full overflow-hidden", className)}
18
11
  {...props}
19
12
  >
20
13
  <ProgressPrimitive.Indicator
@@ -23,7 +16,7 @@ function Progress({
23
16
  style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
24
17
  />
25
18
  </ProgressPrimitive.Root>
26
- )
19
+ );
27
20
  }
28
21
 
29
- export { Progress }
22
+ export { Progress };
@@ -11,7 +11,7 @@ function Separator({
11
11
  }: ComponentProps<typeof SeparatorPrimitive.Root>) {
12
12
  return (
13
13
  <SeparatorPrimitive.Root
14
- data-slot="separator-root"
14
+ data-slot="separator"
15
15
  decorative={decorative}
16
16
  orientation={orientation}
17
17
  className={cn(
package/src/ui/sheet.tsx CHANGED
@@ -2,75 +2,29 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
2
2
  import { XIcon } from "lucide-react";
3
3
  import { ComponentProps } from "react";
4
4
 
5
- import { cn, createClientOnlyComponent } from "../hooks";
5
+ import { cn } from "../hooks";
6
6
 
7
7
  /**
8
8
  * Sheet root using dialog primitives.
9
9
  */
10
- function SheetRoot({ ...props }: ComponentProps<typeof SheetPrimitive.Root>) {
10
+ function Sheet({ ...props }: ComponentProps<typeof SheetPrimitive.Root>) {
11
11
  return <SheetPrimitive.Root data-slot="sheet" {...props} />;
12
12
  }
13
13
 
14
- function SheetFallback({ ...props }: ComponentProps<"div">) {
15
- return <div data-slot="sheet" {...props} />;
16
- }
17
-
18
- const Sheet = createClientOnlyComponent(SheetRoot, SheetFallback);
19
-
20
14
  /**
21
15
  * Trigger element that opens the sheet.
22
16
  */
23
- function SheetTriggerRoot({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>) {
17
+ function SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>) {
24
18
  return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;
25
19
  }
26
20
 
27
- function SheetTriggerFallback({
28
- asChild,
29
- children,
30
- ...props
31
- }: ComponentProps<"button"> & { asChild?: boolean }) {
32
- if (asChild) {
33
- return <>{children}</>;
34
- }
35
- return (
36
- <button data-slot="sheet-trigger" {...props}>
37
- {children}
38
- </button>
39
- );
40
- }
41
-
42
- const SheetTrigger = createClientOnlyComponent(SheetTriggerRoot, SheetTriggerFallback);
43
-
44
21
  /**
45
22
  * Close control for the sheet.
46
23
  */
47
- function SheetCloseRoot({ ...props }: ComponentProps<typeof SheetPrimitive.Close>) {
48
- return (
49
- <SheetPrimitive.Close
50
- data-slot="sheet-close"
51
- className={cn("focus:ring-0 focus:outline-none")}
52
- {...props}
53
- />
54
- );
24
+ function SheetClose({ ...props }: ComponentProps<typeof SheetPrimitive.Close>) {
25
+ return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;
55
26
  }
56
27
 
57
- function SheetCloseFallback({
58
- asChild,
59
- children,
60
- ...props
61
- }: ComponentProps<"button"> & { asChild?: boolean }) {
62
- if (asChild) {
63
- return <>{children}</>;
64
- }
65
- return (
66
- <button data-slot="sheet-close" className={cn("focus:ring-0 focus:outline-none")} {...props}>
67
- {children}
68
- </button>
69
- );
70
- }
71
-
72
- const SheetClose = createClientOnlyComponent(SheetCloseRoot, SheetCloseFallback);
73
-
74
28
  /**
75
29
  * Portal for sheet overlay and content.
76
30
  */
@@ -97,7 +51,7 @@ function SheetOverlay({ className, ...props }: ComponentProps<typeof SheetPrimit
97
51
  /**
98
52
  * Sliding panel content for the sheet.
99
53
  */
100
- function SheetContentRoot({
54
+ function SheetContent({
101
55
  className,
102
56
  children,
103
57
  side = "right",
@@ -111,21 +65,21 @@ function SheetContentRoot({
111
65
  <SheetPrimitive.Content
112
66
  data-slot="sheet-content"
113
67
  className={cn(
114
- "liquid-dark:liquid-dark-bg liquid-light:liquid-light-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",
68
+ "liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
115
69
  side === "right" &&
116
- "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-[340px]",
70
+ "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
117
71
  side === "left" &&
118
- "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-[340px]",
72
+ "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
119
73
  side === "top" &&
120
- "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto",
74
+ "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
121
75
  side === "bottom" &&
122
- "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto",
76
+ "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
123
77
  className,
124
78
  )}
125
79
  {...props}
126
80
  >
127
81
  {children}
128
- <SheetPrimitive.Close className="text-icon-primary hover:text-icon-highlight absolute top-4 right-4 disabled:pointer-events-none">
82
+ <SheetPrimitive.Close className="ring-offset-bg-primary focus:ring-bg-mask data-[state=open]:bg-bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none">
129
83
  <XIcon className="size-4" />
130
84
  <span className="sr-only">Close</span>
131
85
  </SheetPrimitive.Close>
@@ -134,38 +88,6 @@ function SheetContentRoot({
134
88
  );
135
89
  }
136
90
 
137
- function SheetContentFallback({
138
- className,
139
- children,
140
- side = "right",
141
- ...props
142
- }: ComponentProps<"div"> & {
143
- side?: "top" | "right" | "bottom" | "left";
144
- }) {
145
- return (
146
- <div
147
- data-slot="sheet-content"
148
- className={cn(
149
- "liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
150
- side === "right" && "inset-y-0 right-0 h-full w-[340px]",
151
- side === "left" && "inset-y-0 left-0 h-full w-[340px]",
152
- side === "top" && "inset-x-0 top-0 h-auto",
153
- side === "bottom" && "inset-x-0 bottom-0 h-auto",
154
- className,
155
- )}
156
- {...props}
157
- >
158
- {children}
159
- <button className="text-icon-primary hover:text-icon-highlight absolute top-4 right-4 disabled:pointer-events-none">
160
- <XIcon className="size-4" />
161
- <span className="sr-only">Close</span>
162
- </button>
163
- </div>
164
- );
165
- }
166
-
167
- const SheetContent = createClientOnlyComponent(SheetContentRoot, SheetContentFallback);
168
-
169
91
  /**
170
92
  * Header section inside the sheet.
171
93
  */
@@ -195,7 +117,7 @@ function SheetFooter({ className, ...props }: ComponentProps<"div">) {
195
117
  /**
196
118
  * Title text for the sheet.
197
119
  */
198
- function SheetTitleRoot({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>) {
120
+ function SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>) {
199
121
  return (
200
122
  <SheetPrimitive.Title
201
123
  data-slot="sheet-title"
@@ -205,22 +127,10 @@ function SheetTitleRoot({ className, ...props }: ComponentProps<typeof SheetPrim
205
127
  );
206
128
  }
207
129
 
208
- function SheetTitleFallback({ className, ...props }: ComponentProps<"h2">) {
209
- return (
210
- <h2
211
- data-slot="sheet-title"
212
- className={cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className)}
213
- {...props}
214
- />
215
- );
216
- }
217
-
218
- const SheetTitle = createClientOnlyComponent(SheetTitleRoot, SheetTitleFallback);
219
-
220
130
  /**
221
131
  * Secondary description text for the sheet.
222
132
  */
223
- function SheetDescriptionRoot({
133
+ function SheetDescription({
224
134
  className,
225
135
  ...props
226
136
  }: ComponentProps<typeof SheetPrimitive.Description>) {
@@ -233,18 +143,6 @@ function SheetDescriptionRoot({
233
143
  );
234
144
  }
235
145
 
236
- function SheetDescriptionFallback({ className, ...props }: ComponentProps<"p">) {
237
- return (
238
- <p
239
- data-slot="sheet-description"
240
- className={cn("text-text-secondary text-uk-md leading-uk-md", className)}
241
- {...props}
242
- />
243
- );
244
- }
245
-
246
- const SheetDescription = createClientOnlyComponent(SheetDescriptionRoot, SheetDescriptionFallback);
247
-
248
146
  export {
249
147
  Sheet,
250
148
  SheetTrigger,
@@ -2,15 +2,15 @@ import { Slot } from "@radix-ui/react-slot";
2
2
  import { cva, VariantProps } from "class-variance-authority";
3
3
  import { PanelLeftIcon } from "lucide-react";
4
4
  import {
5
+ ComponentProps,
5
6
  createContext,
7
+ CSSProperties,
8
+ MouseEvent,
6
9
  useCallback,
7
10
  useContext,
8
11
  useEffect,
9
12
  useMemo,
10
13
  useState,
11
- CSSProperties,
12
- ComponentProps,
13
- MouseEvent,
14
14
  } from "react";
15
15
 
16
16
  import { cn } from "../hooks";
@@ -152,7 +152,10 @@ function Sidebar({
152
152
  return (
153
153
  <div
154
154
  data-slot="sidebar"
155
- className={cn("flex h-full w-(--sidebar-width) flex-col", className)}
155
+ className={cn(
156
+ "bg-bg-primary text-text-primary flex h-full w-(--sidebar-width) flex-col",
157
+ className,
158
+ )}
156
159
  {...props}
157
160
  >
158
161
  {children}
@@ -187,7 +190,7 @@ function Sidebar({
187
190
 
188
191
  return (
189
192
  <div
190
- className="group peer hidden md:block"
193
+ className="group peer text-text-primary hidden md:block"
191
194
  data-state={state}
192
195
  data-collapsible={state === "collapsed" ? collapsible : ""}
193
196
  data-variant={variant}
@@ -232,7 +235,7 @@ function Sidebar({
232
235
  }
233
236
 
234
237
  function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button>) {
235
- const { toggleSidebar, state } = useSidebar();
238
+ const { toggleSidebar } = useSidebar();
236
239
 
237
240
  return (
238
241
  <Button
@@ -240,12 +243,7 @@ function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof
240
243
  data-slot="sidebar-trigger"
241
244
  variant="ghost"
242
245
  icon={true}
243
- className={cn(
244
- "absolute top-[0px] size-7 transition-[left] duration-200 ease-linear",
245
- state === "collapsed" && "left-[2px]",
246
- state === "expanded" && "left-[var(--sidebar-width)]",
247
- className,
248
- )}
246
+ className={cn("size-7 transition-[left] duration-200 ease-linear", className)}
249
247
  onClick={(event: MouseEvent<HTMLButtonElement>) => {
250
248
  onClick?.(event);
251
249
  toggleSidebar();
@@ -288,7 +286,7 @@ function SidebarInset({ className, ...props }: ComponentProps<"main">) {
288
286
  <main
289
287
  data-slot="sidebar-inset"
290
288
  className={cn(
291
- "relative flex w-full flex-1 flex-col",
289
+ "bg-bg-primary relative flex w-full flex-1 flex-col",
292
290
  "md:peer-data-[variant=inset]:rounded-uk-xl md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
293
291
  className,
294
292
  )}
@@ -338,7 +336,7 @@ function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separat
338
336
  <Separator
339
337
  data-slot="sidebar-separator"
340
338
  data-sidebar="separator"
341
- className={cn("bg-line-primary", className)}
339
+ className={cn("bg-line-primary mr-0", className)}
342
340
  {...props}
343
341
  />
344
342
  );
@@ -350,7 +348,7 @@ function SidebarContent({ className, ...props }: ComponentProps<"div">) {
350
348
  data-slot="sidebar-content"
351
349
  data-sidebar="content"
352
350
  className={cn(
353
- "px-md lgflex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
351
+ "px-md flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
354
352
  className,
355
353
  )}
356
354
  {...props}
@@ -454,17 +452,18 @@ function SidebarMenuItem({ className, ...props }: ComponentProps<"li">) {
454
452
  }
455
453
 
456
454
  const sidebarMenuButtonVariants = cva(
457
- "peer/menu-button flex w-full items-center gap-md overflow-hidden rounde-uk-md text-left text-uk-lg leading-uk-lg outline-hidden ring-sidebar-ring transition-[width,height,padding] text-text-primary focus-visible:ring-2 active:text-text-highlight disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 font-medium group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-[16px] [&>svg]:shrink-0",
455
+ "peer/menu-button flex w-full items-center gap-md overflow-hidden rounded-uk-md p-2 text-left text-uk-lg leading-uk-lg outline-hidden ring-sidebar-ring transition-[width,height,padding] text-text-primary hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-bg-secondary active:text-text-highlight disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium data-[active=true]:bg-bg-secondary data-[active=true]:text-text-highlight group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg:not([class*='size-'])]:size-4 [&>svg:not([class*='size-'])]:shrink-0",
458
456
  {
459
457
  variants: {
460
458
  variant: {
461
- default: "",
462
- outline: "",
459
+ default: "hover:bg-bg-secondary hover:text-secondary",
460
+ outline:
461
+ "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-bg-tertiary hover:text-text-tertiary hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",
463
462
  },
464
463
  size: {
465
464
  default: "h-[36px] text-uk-lg leading-uk-lg",
466
465
  sm: "h-[30px] text-uk-sm leading-uk-sm",
467
- lg: "h-[32px] text-uk-lg leading-uk-lg group-data-[collapsible=icon]:p-0!",
466
+ lg: "h-[32px] text-uk-lg leading-uk-lg px-lg py-sm group-data-[collapsible=icon]:p-0!",
468
467
  },
469
468
  },
470
469
  defaultVariants: {
package/src/ui/tabs.tsx CHANGED
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
3
3
  import { type ComponentProps, createContext, useContext } from "react";
4
4
 
5
5
  import { TabsCursorProvider, useTabsCursor } from "../highlight-cursor/tabs-cursor-context";
6
- import { cn, createClientOnlyComponent } from "../hooks";
6
+ import { cn } from "../hooks";
7
7
 
8
8
  interface TabsContextType {
9
9
  size?: "sm" | "base" | "lg";
@@ -29,7 +29,7 @@ interface TabsProps extends ComponentProps<typeof TabsPrimitive.Root> {
29
29
  * @param props -
30
30
  * @param className -
31
31
  * @param size - Control size ("sm" | "base" | "lg"), defaults to "base" */
32
- function TabsRoot({ className, size = "base", ...props }: TabsProps) {
32
+ function Tabs({ className, size = "base", ...props }: TabsProps) {
33
33
  return (
34
34
  <TabsContext.Provider value={{ size }}>
35
35
  <TabsPrimitive.Root
@@ -41,16 +41,6 @@ function TabsRoot({ className, size = "base", ...props }: TabsProps) {
41
41
  );
42
42
  }
43
43
 
44
- function TabsFallback({ className, size = "base", ...props }: TabsProps & ComponentProps<"div">) {
45
- return (
46
- <TabsContext.Provider value={{ size }}>
47
- <div data-slot="tabs" className={cn("flex w-full flex-col", className)} {...props} />
48
- </TabsContext.Provider>
49
- );
50
- }
51
-
52
- const Tabs = createClientOnlyComponent(TabsRoot, TabsFallback);
53
-
54
44
  const tabsListVariants = cva(["inline-flex", "items-center", "justify-center"], {
55
45
  variants: {
56
46
  size: {
@@ -69,36 +59,38 @@ type TabsListProps = ComponentProps<typeof TabsPrimitive.List>;
69
59
  /**
70
60
  * Container for tab triggers. Emits cursor interactions for visual effects.
71
61
  */
72
- function TabsListRoot({ className, ...props }: TabsListProps) {
73
- const { setCursorTarget } = useTabsCursor();
62
+ function TabsList({ className, onMouseLeave, ...props }: TabsListProps) {
74
63
  const { size } = useTabsContext();
75
64
  return (
76
65
  <TabsCursorProvider>
77
- <TabsPrimitive.List
78
- onMouseLeave={() => setCursorTarget(null)}
79
- data-slot="tabs-list"
80
- className={cn(tabsListVariants({ size }), "justify-start", className)}
81
- {...props}
82
- />
66
+ <TabsListInner className={className} size={size} onMouseLeave={onMouseLeave} {...props} />
83
67
  </TabsCursorProvider>
84
68
  );
85
69
  }
86
70
 
87
- function TabsListFallback({ className, ...props }: TabsListProps & ComponentProps<"div">) {
88
- const { size } = useTabsContext();
71
+ function TabsListInner({
72
+ className,
73
+ size,
74
+ onMouseLeave,
75
+ ...props
76
+ }: TabsListProps & { size?: "sm" | "base" | "lg" }) {
77
+ const { setCursorTarget } = useTabsCursor();
78
+
79
+ const handleMouseLeave = (e: React.MouseEvent<HTMLDivElement>) => {
80
+ setCursorTarget(null);
81
+ onMouseLeave?.(e);
82
+ };
83
+
89
84
  return (
90
- <TabsCursorProvider>
91
- <div
92
- data-slot="tabs-list"
93
- className={cn(tabsListVariants({ size }), "justify-start", className)}
94
- {...props}
95
- />
96
- </TabsCursorProvider>
85
+ <TabsPrimitive.List
86
+ onMouseLeave={handleMouseLeave}
87
+ data-slot="tabs-list"
88
+ className={cn(tabsListVariants({ size }), "justify-start", className)}
89
+ {...props}
90
+ />
97
91
  );
98
92
  }
99
93
 
100
- const TabsList = createClientOnlyComponent(TabsListRoot, TabsListFallback);
101
-
102
94
  const tabsTriggerVariants = cva(
103
95
  [
104
96
  "inline-flex",
@@ -114,8 +106,9 @@ const tabsTriggerVariants = cva(
114
106
  "shrink-0",
115
107
  "[&_svg]:shrink-0",
116
108
  "outline-none",
117
- "text-text-primary",
109
+ "text-text-secondary",
118
110
  "data-[state=active]:bg-bg-secondary",
111
+ "data-[state=active]:text-text-primary",
119
112
  "data-[state=active]:font-medium",
120
113
  ],
121
114
  {
@@ -137,7 +130,7 @@ type TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;
137
130
  /**
138
131
  * Single tab trigger button.
139
132
  */
140
- function TabsTriggerRoot({ className, ...props }: TabsTriggerProps) {
133
+ function TabsTrigger({ className, ...props }: TabsTriggerProps) {
141
134
  const { setCursorTarget } = useTabsCursor();
142
135
  const { size } = useTabsContext();
143
136
  return (
@@ -150,27 +143,12 @@ function TabsTriggerRoot({ className, ...props }: TabsTriggerProps) {
150
143
  );
151
144
  }
152
145
 
153
- function TabsTriggerFallback({ className, ...props }: TabsTriggerProps & ComponentProps<"button">) {
154
- const { setCursorTarget } = useTabsCursor();
155
- const { size } = useTabsContext();
156
- return (
157
- <button
158
- onMouseEnter={(e) => setCursorTarget(e.currentTarget)}
159
- data-slot="tabs-trigger"
160
- className={cn(tabsTriggerVariants({ size }), className)}
161
- {...props}
162
- />
163
- );
164
- }
165
-
166
- const TabsTrigger = createClientOnlyComponent(TabsTriggerRoot, TabsTriggerFallback);
167
-
168
146
  type TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;
169
147
 
170
148
  /**
171
149
  * Content area for a tab panel.
172
150
  */
173
- function TabsContentRoot({ className, ...props }: TabsContentProps) {
151
+ function TabsContent({ className, ...props }: TabsContentProps) {
174
152
  return (
175
153
  <TabsPrimitive.Content
176
154
  data-slot="tabs-content"
@@ -180,13 +158,5 @@ function TabsContentRoot({ className, ...props }: TabsContentProps) {
180
158
  );
181
159
  }
182
160
 
183
- function TabsContentFallback({ className, ...props }: TabsContentProps & ComponentProps<"div">) {
184
- return (
185
- <div data-slot="tabs-content" className={cn("flex-1 outline-none", className)} {...props} />
186
- );
187
- }
188
-
189
- const TabsContent = createClientOnlyComponent(TabsContentRoot, TabsContentFallback);
190
-
191
161
  export { Tabs, TabsList, TabsTrigger, TabsContent };
192
162
  export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps };
@@ -5,7 +5,6 @@ import React, { type ComponentProps } from "react";
5
5
  import { Button } from "../button";
6
6
  import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip";
7
7
  import { useTheme } from "./ThemeProvider";
8
- import { cn } from "../../hooks";
9
8
 
10
9
  type LiquidToggleProps = Omit<ComponentProps<typeof Button>, "onClick" | "children">;
11
10
 
@@ -27,7 +26,7 @@ export const LiquidToggle: React.FC<LiquidToggleProps> = ({ className, ...props
27
26
  {isLiquid ? <PanelsTopLeft size={20} /> : <LayoutTemplate size={20} />}
28
27
  </Button>
29
28
  </TooltipTrigger>
30
- <TooltipContent>{isLiquid ? "Dock Menu Panels" : "Floating Menu Panels"}</TooltipContent>
29
+ <TooltipContent>{isLiquid ? "Dock Layout" : "Liquid Layout"}</TooltipContent>
31
30
  </Tooltip>
32
31
  );
33
32
  };
@@ -63,22 +62,3 @@ export const ThemeColorToggle: React.FC<ThemeColorToggleProps> = (props) => {
63
62
  </Button>
64
63
  );
65
64
  };
66
-
67
- type ThemeTogglesProps = {
68
- className?: string;
69
- liquidToggleProps?: Omit<LiquidToggleProps, "className">;
70
- colorToggleProps?: Omit<ThemeColorToggleProps, "className">;
71
- };
72
-
73
- export const ThemeToggles: React.FC<ThemeTogglesProps> = ({
74
- className,
75
- liquidToggleProps = {},
76
- colorToggleProps = {},
77
- }) => {
78
- return (
79
- <div className={cn("flex", className)}>
80
- <LiquidToggle {...liquidToggleProps} />
81
- <ThemeColorToggle {...colorToggleProps} />
82
- </div>
83
- );
84
- };
@@ -1,5 +1,5 @@
1
1
  export { useTheme, ThemeProvider, defaultThemes, computeTheme } from "./ThemeProvider";
2
- export { LiquidToggle, ThemeColorToggle, ThemeToggles } from "./ThemeToggles";
2
+ export { LiquidToggle, ThemeColorToggle } from "./ThemeToggles";
3
3
  export { ThemeScript } from "./themeScript";
4
4
 
5
5
  export type {
package/src/ui/toast.tsx CHANGED
@@ -1,27 +1,26 @@
1
- import { useEffect, useState } from "react";
2
- import { Toaster as Sonner, ToasterProps, toast } from "sonner";
1
+ import { CSSProperties } from "react";
2
+ import { toast, Toaster as Sonner, type ToasterProps } from "sonner";
3
+
4
+ import { useTheme } from "./theme";
3
5
 
4
6
  /**
5
7
  * Client-only Toaster wrapper applying default classes.
6
8
  */
7
- const Toaster = ({ ...props }: ToasterProps) => {
8
- const [isClient, setIsClient] = useState(false);
9
9
 
10
- useEffect(() => {
11
- setIsClient(true);
12
- }, []);
13
-
14
- // Don't render anything during SSR
15
- if (!isClient) {
16
- return null;
17
- }
10
+ const Toaster = ({ ...props }: ToasterProps) => {
11
+ const { baseTheme = "system" } = useTheme();
18
12
 
19
13
  return (
20
14
  <Sonner
21
- toastOptions={{
22
- className: "vk-toast liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg",
23
- descriptionClassName: "vk-toast-description",
24
- }}
15
+ theme={baseTheme}
16
+ className="toaster group"
17
+ style={
18
+ {
19
+ "--normal-bg": "var(--bg-primary)",
20
+ "--normal-text": "var(--text-primary)",
21
+ "--normal-border": "var(--bg-secondary)",
22
+ } as CSSProperties
23
+ }
25
24
  {...props}
26
25
  />
27
26
  );
@@ -8,7 +8,6 @@ import { cn } from "../hooks";
8
8
  */
9
9
  function TooltipProvider({
10
10
  delayDuration = 0,
11
- children,
12
11
  ...props
13
12
  }: ComponentProps<typeof TooltipPrimitive.Provider>) {
14
13
  return (
@@ -16,32 +15,17 @@ function TooltipProvider({
16
15
  data-slot="tooltip-provider"
17
16
  delayDuration={delayDuration}
18
17
  {...props}
19
- >
20
- {children}
21
- </TooltipPrimitive.Provider>
18
+ />
22
19
  );
23
20
  }
24
21
 
25
22
  /**
26
23
  * Wrapper root for a tooltip. Skips tooltip logic during SSR.
27
24
  */
28
- function Tooltip({ children, ...props }: ComponentProps<typeof TooltipPrimitive.Root>) {
29
- const [isClient, setIsClient] = useState(false);
30
-
31
- useEffect(() => {
32
- setIsClient(true);
33
- }, []);
34
-
35
- // During SSR, just render children without tooltip functionality
36
- if (!isClient) {
37
- return <>{children}</>;
38
- }
39
-
25
+ function Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>) {
40
26
  return (
41
27
  <TooltipProvider>
42
- <TooltipPrimitive.Root data-slot="tooltip" {...props}>
43
- {children}
44
- </TooltipPrimitive.Root>
28
+ <TooltipPrimitive.Root data-slot="tooltip" {...props} />
45
29
  </TooltipProvider>
46
30
  );
47
31
  }
@@ -50,17 +34,6 @@ function Tooltip({ children, ...props }: ComponentProps<typeof TooltipPrimitive.
50
34
  * Element that triggers the tooltip.
51
35
  */
52
36
  function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>) {
53
- const [isClient, setIsClient] = useState(false);
54
-
55
- useEffect(() => {
56
- setIsClient(true);
57
- }, []);
58
-
59
- // During SSR, just render children without tooltip functionality
60
- if (!isClient) {
61
- return <>{props.children}</>;
62
- }
63
-
64
37
  return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />;
65
38
  }
66
39