@vuer-ai/vuer-uikit 0.0.101 → 0.0.103

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 (436) hide show
  1. package/dist/SyncScroll/SyncScroll.cjs +4 -4
  2. package/dist/SyncScroll/SyncScroll.mjs +4 -4
  3. package/dist/SyncScroll/index.cjs +4 -4
  4. package/dist/SyncScroll/index.mjs +4 -4
  5. package/dist/auth/context/auth-context.cjs +10 -0
  6. package/dist/auth/context/auth-context.d.cts +15 -0
  7. package/dist/auth/context/auth-context.d.ts +15 -0
  8. package/dist/auth/context/auth-context.mjs +1 -0
  9. package/dist/auth/handler/create-client.cjs +12 -0
  10. package/dist/auth/handler/create-client.d.cts +7 -0
  11. package/dist/auth/handler/create-client.d.ts +7 -0
  12. package/dist/auth/handler/create-client.mjs +3 -0
  13. package/dist/auth/handler/sign-in-handler.cjs +11 -0
  14. package/dist/auth/handler/sign-in-handler.d.cts +7 -0
  15. package/dist/auth/handler/sign-in-handler.d.ts +7 -0
  16. package/dist/auth/handler/sign-in-handler.mjs +2 -0
  17. package/dist/auth/hooks/use-vuer-auth.cjs +11 -0
  18. package/dist/auth/hooks/use-vuer-auth.d.cts +9 -0
  19. package/dist/auth/hooks/use-vuer-auth.d.ts +9 -0
  20. package/dist/auth/hooks/use-vuer-auth.mjs +2 -0
  21. package/dist/auth/hooks/use-vuer-method.cjs +14 -0
  22. package/dist/auth/hooks/use-vuer-method.d.cts +11 -0
  23. package/dist/auth/hooks/use-vuer-method.d.ts +11 -0
  24. package/dist/auth/hooks/use-vuer-method.mjs +5 -0
  25. package/dist/auth/index.cjs +33 -0
  26. package/dist/auth/index.d.cts +10 -0
  27. package/dist/auth/index.d.ts +10 -0
  28. package/dist/auth/index.mjs +8 -0
  29. package/dist/auth/localstorage-key.cjs +14 -0
  30. package/dist/auth/localstorage-key.d.cts +4 -0
  31. package/dist/auth/localstorage-key.d.ts +4 -0
  32. package/dist/auth/localstorage-key.mjs +1 -0
  33. package/dist/auth/types.cjs +14 -0
  34. package/dist/auth/types.d.cts +3481 -0
  35. package/dist/auth/types.d.ts +3481 -0
  36. package/dist/auth/types.mjs +1 -0
  37. package/dist/auth/vuer-auth-provider.cjs +14 -0
  38. package/dist/auth/vuer-auth-provider.d.cts +9 -0
  39. package/dist/auth/vuer-auth-provider.d.ts +9 -0
  40. package/dist/auth/vuer-auth-provider.mjs +5 -0
  41. package/dist/{chunk-OJUK6WJ5.mjs → chunk-24IUD6Q3.mjs} +1 -1
  42. package/dist/{chunk-BMJX3SEO.cjs → chunk-2EG65KGO.cjs} +2 -2
  43. package/dist/{chunk-EC4HJUX6.cjs → chunk-2PJO5UJL.cjs} +11 -11
  44. package/dist/{chunk-LPA6WYFD.cjs → chunk-2WD4ZL27.cjs} +4 -4
  45. package/dist/chunk-3IVDCAFM.mjs +10 -0
  46. package/dist/{chunk-ZZLF2YWP.mjs → chunk-3TUONMQ6.mjs} +1 -1
  47. package/dist/{chunk-TPPM276W.mjs → chunk-3VVQWVDE.mjs} +1 -1
  48. package/dist/chunk-4B44SRRP.cjs +12 -0
  49. package/dist/{chunk-NT5ZTF56.mjs → chunk-4JGGLCXT.mjs} +1 -1
  50. package/dist/{chunk-YMSWUGHW.cjs → chunk-4PKPCOAF.cjs} +2 -1
  51. package/dist/{chunk-KMCZXNKA.mjs → chunk-4THQPG6Y.mjs} +1 -1
  52. package/dist/{chunk-62VCQ2SU.cjs → chunk-4WRTIOGZ.cjs} +3 -2
  53. package/dist/{chunk-55RSKLJ5.cjs → chunk-5JPYU5A6.cjs} +11 -11
  54. package/dist/{chunk-PQEAXTVY.mjs → chunk-5KJP6A6C.mjs} +12 -26
  55. package/dist/{chunk-ZNPI2TYG.mjs → chunk-5MBEK77I.mjs} +5 -13
  56. package/dist/{chunk-G7FYBSFO.cjs → chunk-5SP25SO3.cjs} +15 -14
  57. package/dist/chunk-5XBMFADS.cjs +42 -0
  58. package/dist/{chunk-HKJCPZZG.cjs → chunk-64L2SNKA.cjs} +2 -2
  59. package/dist/chunk-6BD5MQ5R.cjs +8 -0
  60. package/dist/{chunk-ZPH5LMEM.mjs → chunk-6NSQLHKC.mjs} +1 -1
  61. package/dist/{chunk-OYNLQTHW.cjs → chunk-6QU4J3HY.cjs} +23 -25
  62. package/dist/{chunk-2FGRTFK4.mjs → chunk-6XOTWZFC.mjs} +2 -2
  63. package/dist/{chunk-AAWWWYRN.cjs → chunk-7GJVMFKJ.cjs} +4 -4
  64. package/dist/{chunk-C4E2MFZB.mjs → chunk-7HOEFGEO.mjs} +1 -1
  65. package/dist/chunk-7KQXX7QB.mjs +54 -0
  66. package/dist/{chunk-W3RJNSWQ.mjs → chunk-7NOBQH7O.mjs} +2 -2
  67. package/dist/{chunk-OTR4SFDC.cjs → chunk-A2UZY7Y2.cjs} +2 -2
  68. package/dist/chunk-ACYOVCGH.mjs +30 -0
  69. package/dist/chunk-ACYZOKPT.mjs +64 -0
  70. package/dist/chunk-AJQEHMYV.cjs +47 -0
  71. package/dist/{chunk-7YMH34JL.cjs → chunk-AOV3ADTV.cjs} +2 -2
  72. package/dist/{chunk-AIYM5PFP.cjs → chunk-BXBSZOBU.cjs} +8 -4
  73. package/dist/{chunk-5WDPNBQW.cjs → chunk-C6L7YIGW.cjs} +2 -1
  74. package/dist/{chunk-CZ2YNM7Y.mjs → chunk-CGUQWS2I.mjs} +1 -1
  75. package/dist/chunk-CHYXRETV.cjs +23 -0
  76. package/dist/{chunk-INHZ5D7P.mjs → chunk-CZ4GQOXG.mjs} +1 -6
  77. package/dist/{chunk-5EXV5EWF.mjs → chunk-D5H4XX6Q.mjs} +1 -1
  78. package/dist/{chunk-MUQYO2G3.cjs → chunk-D5WOPTKY.cjs} +2 -2
  79. package/dist/{chunk-CWAVHHJA.cjs → chunk-EAXBNWXE.cjs} +2 -2
  80. package/dist/{chunk-EAZQH4IX.mjs → chunk-EOSYXHEH.mjs} +1 -1
  81. package/dist/{chunk-MIGXY5PR.mjs → chunk-EXQQRW7T.mjs} +1 -1
  82. package/dist/chunk-FBAOEFDU.mjs +24 -0
  83. package/dist/{chunk-7LLDKYND.mjs → chunk-FK6ZROZE.mjs} +31 -29
  84. package/dist/{chunk-EBBHJLUX.mjs → chunk-G4Q5ALRW.mjs} +2 -1
  85. package/dist/chunk-G6U2K2GR.cjs +32 -0
  86. package/dist/{chunk-DREOOKO2.cjs → chunk-GOGJVFRN.cjs} +4 -4
  87. package/dist/{chunk-W3J4QTKS.cjs → chunk-H6MFBIRB.cjs} +7 -7
  88. package/dist/{chunk-TZC4ST5T.cjs → chunk-HA6M4XKT.cjs} +24 -337
  89. package/dist/{chunk-NSQOQD43.cjs → chunk-HBIZQDDS.cjs} +1 -6
  90. package/dist/{chunk-7RIGSS5X.cjs → chunk-HN3AMWUM.cjs} +2 -2
  91. package/dist/chunk-HPK4YEVK.cjs +27 -0
  92. package/dist/{chunk-M5UZ3SBY.cjs → chunk-I2BVWNRP.cjs} +218 -51
  93. package/dist/chunk-IXNXSECD.mjs +45 -0
  94. package/dist/chunk-IY36FZ5R.mjs +40 -0
  95. package/dist/{chunk-FFCQKAQA.cjs → chunk-JFIAWTRH.cjs} +2 -2
  96. package/dist/{chunk-AEVZSYGJ.cjs → chunk-JFJRNNPQ.cjs} +2 -2
  97. package/dist/chunk-JLWAIMUZ.cjs +26 -0
  98. package/dist/{chunk-7R2ZBAE6.mjs → chunk-JUSFLIU5.mjs} +1 -1
  99. package/dist/{chunk-K22BEXUA.mjs → chunk-JVV7W3TP.mjs} +1 -1
  100. package/dist/{chunk-VO3C6RE2.mjs → chunk-JWUIZX35.mjs} +2 -2
  101. package/dist/{chunk-6TSA7KXX.cjs → chunk-JWVH6R35.cjs} +1 -1
  102. package/dist/chunk-JYIVDUDL.cjs +66 -0
  103. package/dist/{chunk-NTGUD2JN.mjs → chunk-KBC7VNER.mjs} +1 -1
  104. package/dist/{chunk-CX6OFX5Z.mjs → chunk-KJH46JR3.mjs} +2 -1
  105. package/dist/{chunk-JM6NBUDT.cjs → chunk-KR7VBV3B.cjs} +31 -30
  106. package/dist/chunk-LBGZKACW.cjs +30 -0
  107. package/dist/{chunk-2CZEFXEW.cjs → chunk-LFSCJLL2.cjs} +5 -13
  108. package/dist/{chunk-3UEVUYFQ.cjs → chunk-LQGXG373.cjs} +4 -6
  109. package/dist/{chunk-4XUJBMDE.mjs → chunk-LRSDE62T.mjs} +4 -6
  110. package/dist/chunk-LSKJOUAE.cjs +56 -0
  111. package/dist/chunk-M6JLGVJ7.mjs +28 -0
  112. package/dist/{chunk-D3IW2NW6.mjs → chunk-MG5TTPA7.mjs} +3 -2
  113. package/dist/{chunk-NO35POZW.mjs → chunk-MHJM7YMG.mjs} +4 -33
  114. package/dist/{chunk-ZAP4EHBO.cjs → chunk-MIT3YWUC.cjs} +2 -2
  115. package/dist/{chunk-3THWK3HB.mjs → chunk-NHG2ROYB.mjs} +2 -1
  116. package/dist/{chunk-GDUVAZDW.cjs → chunk-NSUFTZNC.cjs} +2 -2
  117. package/dist/{chunk-BIUDC66P.mjs → chunk-OLVOIUCE.mjs} +12 -14
  118. package/dist/{chunk-VTEWRMGQ.mjs → chunk-OPYMZDEZ.mjs} +3 -3
  119. package/dist/{chunk-V2IP7UUV.mjs → chunk-PIC2EJWA.mjs} +2 -2
  120. package/dist/chunk-PKSIXQJX.mjs +20 -0
  121. package/dist/{chunk-YUHHUSIO.cjs → chunk-PTCDBU72.cjs} +2 -2
  122. package/dist/{chunk-SQQXY4AY.mjs → chunk-PTGMHZFS.mjs} +1 -1
  123. package/dist/chunk-PZMA33PL.mjs +25 -0
  124. package/dist/{chunk-GWIACOMY.cjs → chunk-Q2HC5ZL4.cjs} +3 -38
  125. package/dist/{chunk-IJGCH57E.cjs → chunk-QHAGQCVF.cjs} +1 -1
  126. package/dist/{chunk-CUOGY4FW.mjs → chunk-QZUTRJSP.mjs} +2 -2
  127. package/dist/{chunk-LG3PNH2P.mjs → chunk-RIJUPORK.mjs} +1 -1
  128. package/dist/{chunk-SUSABE24.mjs → chunk-S6PSU47F.mjs} +1 -1
  129. package/dist/{chunk-A2PCEL5S.mjs → chunk-S7SGB2FD.mjs} +3 -3
  130. package/dist/{chunk-QBFOBDBC.cjs → chunk-SHHQDSSI.cjs} +2 -2
  131. package/dist/chunk-SMIACO56.mjs +330 -0
  132. package/dist/{chunk-UCRLH44Q.cjs → chunk-SPRBKXGP.cjs} +2 -2
  133. package/dist/{chunk-73VF2W3D.mjs → chunk-SUEFWFPX.mjs} +2 -2
  134. package/dist/{chunk-PIXIN3IG.mjs → chunk-SYX6TMCQ.mjs} +1 -1
  135. package/dist/chunk-TC3W4VRO.mjs +6 -0
  136. package/dist/{chunk-L26ULDYM.mjs → chunk-THMYDDZF.mjs} +1 -1
  137. package/dist/{chunk-OWEYAVGT.mjs → chunk-TYXRHZZG.mjs} +8 -5
  138. package/dist/{chunk-LP3AGGRK.cjs → chunk-UTS56UA5.cjs} +1 -1
  139. package/dist/{chunk-OMZHB2FB.cjs → chunk-V3VUFIG3.cjs} +4 -2
  140. package/dist/{chunk-6CM4GYJU.mjs → chunk-VEWWUO2N.mjs} +1 -1
  141. package/dist/{chunk-76V4RD4V.cjs → chunk-VLOFKTSL.cjs} +3 -3
  142. package/dist/{chunk-RU423LFT.cjs → chunk-VQP3QBC6.cjs} +1 -1
  143. package/dist/{chunk-6J7ZVRSY.mjs → chunk-VUMOJPEC.mjs} +1 -1
  144. package/dist/chunk-WGVKFNG6.mjs +5 -0
  145. package/dist/{chunk-JD4J3RDN.cjs → chunk-WHV4VATL.cjs} +12 -26
  146. package/dist/{chunk-QUFZWF4E.cjs → chunk-WRKB3W2J.cjs} +6 -6
  147. package/dist/{chunk-JA6XS5KY.cjs → chunk-WZGZX3S2.cjs} +3 -3
  148. package/dist/{chunk-XGGAJUY3.cjs → chunk-XURKXOZK.cjs} +2 -2
  149. package/dist/{chunk-U7XH7M5B.mjs → chunk-Y2H4A5AC.mjs} +8 -9
  150. package/dist/{chunk-MDR7WUX6.cjs → chunk-Y5SVZCPQ.cjs} +13 -14
  151. package/dist/{chunk-AJYO5W6O.mjs → chunk-YHY6SXVJ.mjs} +11 -10
  152. package/dist/{chunk-PO2LYHDO.mjs → chunk-YKHK6C4Q.mjs} +4 -2
  153. package/dist/{chunk-MEE3IHTT.mjs → chunk-YLDDI6SZ.mjs} +186 -23
  154. package/dist/{chunk-LPVBUX2J.cjs → chunk-YQ5KKJQ3.cjs} +2 -1
  155. package/dist/{chunk-5TXABUNC.mjs → chunk-ZNM6PNI6.mjs} +1 -1
  156. package/dist/{chunk-EQIEKFCA.cjs → chunk-ZRRCYQ53.cjs} +3 -3
  157. package/dist/{chunk-MCYFLR4F.cjs → chunk-ZS7ESTKH.cjs} +1 -1
  158. package/dist/chunk-ZULCZ5L6.cjs +8 -0
  159. package/dist/dial/DialPanel.cjs +71 -70
  160. package/dist/dial/DialPanel.mjs +70 -69
  161. package/dist/dial/DialProvider.d.cts +1 -0
  162. package/dist/dial/DialProvider.d.ts +1 -0
  163. package/dist/dial/index.cjs +87 -86
  164. package/dist/dial/index.mjs +70 -69
  165. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +78 -73
  166. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +2 -1
  167. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +2 -1
  168. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +70 -69
  169. package/dist/dial/wrapped-inputs/DialInputs.cjs +90 -81
  170. package/dist/dial/wrapped-inputs/DialInputs.d.cts +3 -1
  171. package/dist/dial/wrapped-inputs/DialInputs.d.ts +3 -1
  172. package/dist/dial/wrapped-inputs/DialInputs.mjs +70 -69
  173. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +124 -0
  174. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +16 -0
  175. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +16 -0
  176. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +115 -0
  177. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +71 -70
  178. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +70 -69
  179. package/dist/dial/wrapped-inputs/index.cjs +103 -86
  180. package/dist/dial/wrapped-inputs/index.d.cts +3 -2
  181. package/dist/dial/wrapped-inputs/index.d.ts +3 -2
  182. package/dist/dial/wrapped-inputs/index.mjs +70 -69
  183. package/dist/highlight-cursor/enhanced-components.cjs +13 -13
  184. package/dist/highlight-cursor/enhanced-components.mjs +8 -8
  185. package/dist/highlight-cursor/index.cjs +13 -13
  186. package/dist/highlight-cursor/index.mjs +8 -8
  187. package/dist/hooks/index.cjs +21 -21
  188. package/dist/hooks/index.mjs +4 -4
  189. package/dist/hooks/useQueryParams.cjs +3 -3
  190. package/dist/hooks/useQueryParams.mjs +2 -2
  191. package/dist/index.cjs +437 -456
  192. package/dist/index.css +28 -21
  193. package/dist/index.d.cts +4 -3
  194. package/dist/index.d.ts +4 -3
  195. package/dist/index.mjs +70 -69
  196. package/dist/styles/theme.css +15 -8
  197. package/dist/ui/DialBadge.cjs +12 -8
  198. package/dist/ui/DialBadge.d.cts +11 -6
  199. package/dist/ui/DialBadge.d.ts +11 -6
  200. package/dist/ui/DialBadge.mjs +5 -5
  201. package/dist/ui/UIKitBadge.cjs +9 -9
  202. package/dist/ui/UIKitBadge.mjs +5 -5
  203. package/dist/ui/avatar.cjs +9 -33
  204. package/dist/ui/avatar.d.cts +4 -61
  205. package/dist/ui/avatar.d.ts +4 -61
  206. package/dist/ui/avatar.mjs +5 -5
  207. package/dist/ui/badge.cjs +7 -7
  208. package/dist/ui/badge.mjs +5 -5
  209. package/dist/ui/button.cjs +7 -7
  210. package/dist/ui/button.mjs +5 -5
  211. package/dist/ui/card.cjs +12 -12
  212. package/dist/ui/card.mjs +5 -5
  213. package/dist/ui/checkbox.cjs +4 -4
  214. package/dist/ui/checkbox.mjs +4 -4
  215. package/dist/ui/collapsible.cjs +4 -4
  216. package/dist/ui/collapsible.mjs +4 -4
  217. package/dist/ui/drawer.cjs +15 -15
  218. package/dist/ui/drawer.mjs +5 -5
  219. package/dist/ui/dropdown.cjs +20 -20
  220. package/dist/ui/dropdown.d.cts +18 -27
  221. package/dist/ui/dropdown.d.ts +18 -27
  222. package/dist/ui/dropdown.mjs +5 -5
  223. package/dist/ui/index.cjs +396 -415
  224. package/dist/ui/index.d.cts +4 -3
  225. package/dist/ui/index.d.ts +4 -3
  226. package/dist/ui/index.mjs +68 -67
  227. package/dist/ui/inputs/color-input.cjs +7 -7
  228. package/dist/ui/inputs/color-input.mjs +6 -6
  229. package/dist/ui/inputs/index.cjs +62 -57
  230. package/dist/ui/inputs/index.d.cts +1 -0
  231. package/dist/ui/inputs/index.d.ts +1 -0
  232. package/dist/ui/inputs/index.mjs +25 -24
  233. package/dist/ui/inputs/input-numbers.cjs +7 -7
  234. package/dist/ui/inputs/input-numbers.mjs +6 -6
  235. package/dist/ui/inputs/input.cjs +8 -8
  236. package/dist/ui/inputs/input.mjs +5 -5
  237. package/dist/ui/inputs/number-inputs/CmInput.cjs +8 -8
  238. package/dist/ui/inputs/number-inputs/CmInput.mjs +7 -7
  239. package/dist/ui/inputs/number-inputs/DegInput.cjs +8 -8
  240. package/dist/ui/inputs/number-inputs/DegInput.mjs +7 -7
  241. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +10 -10
  242. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +9 -9
  243. package/dist/ui/inputs/number-inputs/EulerInput.cjs +9 -9
  244. package/dist/ui/inputs/number-inputs/EulerInput.mjs +8 -8
  245. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +9 -10
  246. package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +6 -3
  247. package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +6 -3
  248. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +8 -9
  249. package/dist/ui/inputs/number-inputs/InchInput.cjs +8 -8
  250. package/dist/ui/inputs/number-inputs/InchInput.mjs +7 -7
  251. package/dist/ui/inputs/number-inputs/IntInput.cjs +8 -8
  252. package/dist/ui/inputs/number-inputs/IntInput.mjs +7 -7
  253. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +9 -9
  254. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +8 -8
  255. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +9 -9
  256. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +8 -8
  257. package/dist/ui/inputs/number-inputs/RadInput.cjs +8 -8
  258. package/dist/ui/inputs/number-inputs/RadInput.d.cts +1 -0
  259. package/dist/ui/inputs/number-inputs/RadInput.d.ts +1 -0
  260. package/dist/ui/inputs/number-inputs/RadInput.mjs +7 -7
  261. package/dist/ui/inputs/number-inputs/TimeInput.cjs +8 -8
  262. package/dist/ui/inputs/number-inputs/TimeInput.mjs +7 -7
  263. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +9 -9
  264. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +8 -8
  265. package/dist/ui/inputs/number-inputs/VectorInput.cjs +8 -8
  266. package/dist/ui/inputs/number-inputs/VectorInput.mjs +7 -7
  267. package/dist/ui/inputs/number-inputs/index.cjs +42 -42
  268. package/dist/ui/inputs/number-inputs/index.mjs +19 -19
  269. package/dist/ui/inputs/presets-input.cjs +9 -9
  270. package/dist/ui/inputs/presets-input.mjs +8 -8
  271. package/dist/ui/inputs/presets-rad-input.cjs +24 -0
  272. package/dist/ui/inputs/presets-rad-input.d.cts +17 -0
  273. package/dist/ui/inputs/presets-rad-input.d.ts +17 -0
  274. package/dist/ui/inputs/presets-rad-input.mjs +15 -0
  275. package/dist/ui/inputs/text-input.cjs +7 -7
  276. package/dist/ui/inputs/text-input.mjs +6 -6
  277. package/dist/ui/label.cjs +4 -4
  278. package/dist/ui/label.mjs +4 -4
  279. package/dist/ui/layout.cjs +4 -4
  280. package/dist/ui/layout.mjs +4 -4
  281. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +6 -6
  282. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +5 -5
  283. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +4 -4
  284. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
  285. package/dist/ui/layouts/dock-layout/index.cjs +6 -6
  286. package/dist/ui/layouts/dock-layout/index.mjs +5 -5
  287. package/dist/ui/layouts/index.cjs +10 -10
  288. package/dist/ui/layouts/index.mjs +8 -8
  289. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +11 -11
  290. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +5 -5
  291. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +7 -7
  292. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +6 -6
  293. package/dist/ui/layouts/liquid-layout/index.cjs +7 -7
  294. package/dist/ui/layouts/liquid-layout/index.mjs +6 -6
  295. package/dist/ui/modal.cjs +15 -15
  296. package/dist/ui/modal.mjs +5 -5
  297. package/dist/ui/navigation.cjs +7 -7
  298. package/dist/ui/navigation.mjs +6 -6
  299. package/dist/ui/pagination.cjs +13 -13
  300. package/dist/ui/pagination.mjs +6 -6
  301. package/dist/ui/panel.cjs +12 -12
  302. package/dist/ui/panel.mjs +5 -5
  303. package/dist/ui/popover.cjs +9 -9
  304. package/dist/ui/popover.mjs +5 -5
  305. package/dist/ui/radio-group.cjs +4 -4
  306. package/dist/ui/radio-group.mjs +4 -4
  307. package/dist/ui/resizable.cjs +4 -4
  308. package/dist/ui/resizable.mjs +4 -4
  309. package/dist/ui/select.cjs +16 -16
  310. package/dist/ui/select.mjs +5 -5
  311. package/dist/ui/separator.cjs +4 -4
  312. package/dist/ui/separator.mjs +4 -4
  313. package/dist/ui/sheet.cjs +13 -13
  314. package/dist/ui/sheet.mjs +5 -5
  315. package/dist/ui/sidebar.cjs +34 -34
  316. package/dist/ui/sidebar.mjs +10 -10
  317. package/dist/ui/simple-tree-view.cjs +4 -4
  318. package/dist/ui/simple-tree-view.mjs +4 -4
  319. package/dist/ui/skeleton.cjs +4 -4
  320. package/dist/ui/skeleton.mjs +4 -4
  321. package/dist/ui/slider.cjs +4 -4
  322. package/dist/ui/slider.mjs +4 -4
  323. package/dist/ui/switch.cjs +4 -4
  324. package/dist/ui/switch.mjs +4 -4
  325. package/dist/ui/table.cjs +4 -4
  326. package/dist/ui/table.mjs +4 -4
  327. package/dist/ui/tabs.cjs +4 -4
  328. package/dist/ui/tabs.mjs +4 -4
  329. package/dist/ui/textarea.cjs +4 -4
  330. package/dist/ui/textarea.mjs +4 -4
  331. package/dist/ui/theme/ThemeProvider.cjs +16 -20
  332. package/dist/ui/theme/ThemeProvider.d.cts +3 -10
  333. package/dist/ui/theme/ThemeProvider.d.ts +3 -10
  334. package/dist/ui/theme/ThemeProvider.mjs +2 -2
  335. package/dist/ui/theme/ThemeToggles.cjs +12 -12
  336. package/dist/ui/theme/ThemeToggles.mjs +9 -9
  337. package/dist/ui/theme/index.cjs +17 -21
  338. package/dist/ui/theme/index.d.cts +1 -1
  339. package/dist/ui/theme/index.d.ts +1 -1
  340. package/dist/ui/theme/index.mjs +9 -9
  341. package/dist/ui/theme/themeScript.cjs +2 -2
  342. package/dist/ui/theme/themeScript.d.cts +1 -2
  343. package/dist/ui/theme/themeScript.d.ts +1 -2
  344. package/dist/ui/theme/themeScript.mjs +1 -1
  345. package/dist/ui/toast.cjs +3 -3
  346. package/dist/ui/toast.mjs +1 -1
  347. package/dist/ui/toggle-buttons.cjs +4 -4
  348. package/dist/ui/toggle-buttons.mjs +4 -4
  349. package/dist/ui/toggle-group.cjs +4 -4
  350. package/dist/ui/toggle-group.mjs +4 -4
  351. package/dist/ui/toggle.cjs +4 -4
  352. package/dist/ui/toggle.mjs +4 -4
  353. package/dist/ui/toolbar.cjs +8 -8
  354. package/dist/ui/toolbar.mjs +5 -5
  355. package/dist/ui/tooltip.cjs +9 -9
  356. package/dist/ui/tooltip.mjs +5 -5
  357. package/dist/ui/tree-view/TreeSearchBar.cjs +8 -8
  358. package/dist/ui/tree-view/TreeSearchBar.mjs +7 -7
  359. package/dist/ui/tree-view/TreeView.cjs +4 -4
  360. package/dist/ui/tree-view/TreeView.mjs +4 -4
  361. package/dist/ui/tree-view/index.cjs +9 -9
  362. package/dist/ui/tree-view/index.mjs +8 -8
  363. package/dist/ui/tree-view-legacy.cjs +11 -11
  364. package/dist/ui/tree-view-legacy.mjs +7 -7
  365. package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
  366. package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
  367. package/dist/ui/waterfall/NavigationControls.cjs +2 -2
  368. package/dist/ui/waterfall/NavigationControls.mjs +1 -1
  369. package/dist/ui/waterfall/Tick.cjs +2 -2
  370. package/dist/ui/waterfall/Tick.mjs +1 -1
  371. package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
  372. package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
  373. package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
  374. package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
  375. package/dist/ui/waterfall/Wedges.cjs +4 -4
  376. package/dist/ui/waterfall/Wedges.mjs +4 -4
  377. package/dist/ui/waterfall/index.cjs +16 -16
  378. package/dist/ui/waterfall/index.mjs +15 -15
  379. package/package.json +7 -1
  380. package/src/auth/context/auth-context.ts +16 -0
  381. package/src/auth/handler/create-client.ts +23 -0
  382. package/src/auth/handler/sign-in-handler.ts +66 -0
  383. package/src/auth/hooks/use-vuer-auth.ts +10 -0
  384. package/src/auth/hooks/use-vuer-method.ts +35 -0
  385. package/src/auth/index.ts +6 -0
  386. package/src/auth/localstorage-key.ts +3 -0
  387. package/src/auth/types.ts +56 -0
  388. package/src/auth/vuer-auth-provider.tsx +35 -0
  389. package/src/dial/DialPanel.tsx +47 -4
  390. package/src/dial/DialProvider.tsx +1 -0
  391. package/src/dial/wrapped-inputs/ControlledInputs.tsx +17 -0
  392. package/src/dial/wrapped-inputs/DialInputs.tsx +77 -0
  393. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +79 -0
  394. package/src/dial/wrapped-inputs/index.ts +6 -0
  395. package/src/styles/theme.css +75 -28
  396. package/src/ui/DialBadge.tsx +18 -7
  397. package/src/ui/avatar.tsx +4 -85
  398. package/src/ui/badge.tsx +1 -1
  399. package/src/ui/button.tsx +0 -5
  400. package/src/ui/card.tsx +3 -2
  401. package/src/ui/drawer.tsx +1 -1
  402. package/src/ui/dropdown.tsx +25 -368
  403. package/src/ui/inputs/index.tsx +1 -0
  404. package/src/ui/inputs/input.tsx +3 -5
  405. package/src/ui/inputs/number-inputs/EulerRadInput.tsx +46 -5
  406. package/src/ui/inputs/number-inputs/RadInput.tsx +31 -5
  407. package/src/ui/inputs/presets-rad-input.tsx +77 -0
  408. package/src/ui/layouts/dock-layout/DockLayoutView.tsx +6 -82
  409. package/src/ui/layouts/liquid-layout/LayoutSlots.tsx +2 -2
  410. package/src/ui/modal.tsx +2 -1
  411. package/src/ui/panel.tsx +2 -1
  412. package/src/ui/popover.tsx +4 -2
  413. package/src/ui/select.tsx +2 -1
  414. package/src/ui/sheet.tsx +2 -2
  415. package/src/ui/sidebar.tsx +8 -9
  416. package/src/ui/theme/ThemeProvider.tsx +69 -52
  417. package/src/ui/theme/ThemeToggles.tsx +12 -12
  418. package/src/ui/theme/index.ts +6 -16
  419. package/src/ui/theme/themeScript.tsx +24 -50
  420. package/src/ui/toast.tsx +1 -1
  421. package/src/ui/toolbar.tsx +3 -3
  422. package/src/ui/tooltip.tsx +5 -13
  423. package/src/ui/waterfall/NavigationControls.tsx +1 -1
  424. package/src/ui/waterfall/Tick.tsx +1 -1
  425. package/src/ui/waterfall/index.tsx +4 -3
  426. package/dist/chunk-5T7MTIHW.mjs +0 -75
  427. package/dist/chunk-DVKONMS7.cjs +0 -20
  428. package/dist/chunk-GPV4XELL.mjs +0 -18
  429. package/dist/chunk-H2GERFBG.cjs +0 -13
  430. package/dist/chunk-H4IDSUG5.mjs +0 -643
  431. package/dist/chunk-KAA4NEHL.cjs +0 -77
  432. package/dist/chunk-TY47DFGO.mjs +0 -11
  433. package/dist/{chunk-ADYUCJMQ.mjs → chunk-2KQRWXNO.mjs} +0 -0
  434. package/dist/{chunk-SQRAUVEP.cjs → chunk-63OJOP6W.cjs} +0 -0
  435. package/dist/{chunk-LYZJNEOR.cjs → chunk-Q4XH2Z5M.cjs} +1 -1
  436. package/dist/{chunk-OEIF3JCH.mjs → chunk-U3LN5NB6.mjs} +1 -1
@@ -0,0 +1,79 @@
1
+ import React from "react";
2
+
3
+ import { PresetsInput } from "../../ui/inputs/presets-input";
4
+ import { FormLayout, Label } from "../../index";
5
+ import { LabelPositionT, useDialSchema } from "../DialProvider";
6
+
7
+ interface DialPresetsInputProps {
8
+ name: string;
9
+ label?: string;
10
+ size?: "sm" | "md" | "lg";
11
+ labelPosition?: LabelPositionT;
12
+ options: Array<string | number | { label: string; value: string | number }>;
13
+ }
14
+
15
+ const DialInputWrapper: React.FC<{
16
+ label?: string;
17
+ children: React.ReactElement;
18
+ }> = ({ label, children }) => {
19
+ if (!label) {
20
+ return <>{children}</>;
21
+ }
22
+
23
+ return (
24
+ <FormLayout orientation="label-top">
25
+ <Label size="sm">{label}</Label>
26
+ {children}
27
+ </FormLayout>
28
+ );
29
+ };
30
+
31
+ export const DialPresetsInput: React.FC<DialPresetsInputProps> = ({
32
+ name,
33
+ label,
34
+ size = "sm",
35
+ labelPosition,
36
+ options,
37
+ }) => {
38
+ const { getValue, setValue } = useDialSchema();
39
+ const value = (getValue(name) ?? 0) as number;
40
+
41
+ // Extract preset values from options
42
+ const presets = options
43
+ .slice(0, 3)
44
+ .map((opt) => {
45
+ if (typeof opt === "number") return opt;
46
+ if (typeof opt === "string") return parseFloat(opt);
47
+ return typeof opt.value === "number" ? opt.value : parseFloat(opt.value as string);
48
+ }) as [number, number, number];
49
+
50
+ // Pad with zeros if less than 3 presets
51
+ while (presets.length < 3) {
52
+ presets.push(0);
53
+ }
54
+
55
+ if (labelPosition === "inline") {
56
+ return (
57
+ <div className="flex items-center gap-2">
58
+ {label && <Label size="sm">{label}</Label>}
59
+ <PresetsInput
60
+ value={value}
61
+ onChange={(val) => setValue(name, val)}
62
+ size={size}
63
+ presets={presets}
64
+ />
65
+ </div>
66
+ );
67
+ } else {
68
+ return (
69
+ <DialInputWrapper label={label}>
70
+ <PresetsInput
71
+ value={value}
72
+ onChange={(val) => setValue(name, val)}
73
+ size={size}
74
+ presets={presets}
75
+ />
76
+ </DialInputWrapper>
77
+ );
78
+ }
79
+ };
@@ -4,6 +4,7 @@ export {
4
4
  DialNumberInput,
5
5
  DialSelectInput,
6
6
  DialSliderInput,
7
+ DialColorInput,
7
8
  } from "./ControlledInputs";
8
9
 
9
10
  // UIKit wrapped inputs
@@ -20,7 +21,12 @@ export {
20
21
  DialInchInput,
21
22
  DialTimeInput,
22
23
  DialTextInput,
24
+ DialEulerRadInput,
25
+ DialNumberRadInput,
23
26
  } from "./DialInputs";
24
27
 
28
+ // Presets input
29
+ export { DialPresetsInput } from "./DialPresetsInput";
30
+
25
31
  // Variable-dimension vector input
26
32
  export { DialVectorInput } from "./DialVectorInput";
@@ -1,60 +1,107 @@
1
1
  @import "./variables.css";
2
2
 
3
+ @custom-variant liquid-dark (&:is(.liquid-dark *));
4
+ @custom-variant liquid-light (&:is(.liquid-light *));
3
5
  @custom-variant liquid (&:is(.liquid-dark *, .liquid-light *));
4
6
 
5
- @utility liquid-bg {
7
+ @utility liquid-dark-bg {
6
8
  background: linear-gradient(
7
9
  147.1deg,
8
- rgba(172, 172, 172, 0.1) 0%,
9
- rgba(74, 74, 74, 0.1) 105.28%
10
+ rgba(50, 50, 50, 0.6) 0%,
11
+ rgba(70, 70, 70, 0.6) 105.28%
10
12
  ) !important;
11
13
  backdrop-filter: blur(20px) !important;
12
14
  }
13
15
 
14
- @utility liquid-bg-tooltip-arrow {
15
- background: rgba(74, 74, 74, 0.1) !important;
16
- backdrop-filter: blur(2px) !important;
16
+ @utility liquid-light-bg {
17
+ background: linear-gradient(
18
+ 147.1deg,
19
+ rgba(236, 236, 236, 0.6) 0%,
20
+ rgba(202, 202, 202, 0.6) 105.28%
21
+ ) !important;
22
+ backdrop-filter: blur(20px) !important;
23
+ }
24
+
25
+ @utility liquid-dark-bg-tooltip-arrow {
26
+ background: rgba(70, 70, 70, 0.8) !important;
27
+ backdrop-filter: blur(4px) !important;
28
+ }
29
+
30
+ @utility liquid-light-bg-tooltip-arrow {
31
+ background: rgba(202, 202, 202, 0.8) !important;
32
+ backdrop-filter: blur(4px) !important;
17
33
  }
18
34
 
19
- @utility liquid-bg-tooltip-content {
20
- background: rgba(74, 74, 74, 0.1) !important;
21
- backdrop-filter: blur(2px) !important;
35
+ @utility liquid-dark-bg-tooltip-top {
36
+ background: linear-gradient(
37
+ to bottom,
38
+ rgba(50, 50, 50, 0.8) 0%,
39
+ rgba(70, 70, 70, 0.8) 100%
40
+ ) !important;
41
+ backdrop-filter: blur(4px) !important;
22
42
  }
23
43
 
24
- @utility liquid-bg-tooltip-top {
44
+ @utility liquid-light-bg-tooltip-top {
25
45
  background: linear-gradient(
26
46
  to bottom,
27
- rgba(172, 172, 172, 0.1) 0%,
28
- rgba(74, 74, 74, 0.1) 100%
47
+ rgba(236, 236, 236, 0.8) 0%,
48
+ rgba(202, 202, 202, 0.8) 100%
29
49
  ) !important;
30
- backdrop-filter: blur(2px) !important;
50
+ backdrop-filter: blur(4px) !important;
31
51
  }
32
52
 
33
- @utility liquid-bg-tooltip-bottom {
53
+ @utility liquid-dark-bg-tooltip-bottom {
34
54
  background: linear-gradient(
35
55
  to top,
36
- rgba(172, 172, 172, 0.1) 0%,
37
- rgba(74, 74, 74, 0.1) 100%
56
+ rgba(50, 50, 50, 0.8) 0%,
57
+ rgba(70, 70, 70, 0.8) 100%
38
58
  ) !important;
39
- backdrop-filter: blur(2px) !important;
59
+ backdrop-filter: blur(4px) !important;
40
60
  }
41
61
 
42
- @utility liquid-bg-tooltip-left {
62
+ @utility liquid-light-bg-tooltip-bottom {
63
+ background: linear-gradient(
64
+ to top,
65
+ rgba(236, 236, 236, 0.8) 0%,
66
+ rgba(202, 202, 202, 0.8) 100%
67
+ ) !important;
68
+ backdrop-filter: blur(4px) !important;
69
+ }
70
+
71
+ @utility liquid-dark-bg-tooltip-left {
72
+ background: linear-gradient(
73
+ to right,
74
+ rgba(50, 50, 50, 0.8) 0%,
75
+ rgba(70, 70, 70, 0.8) 100%
76
+ ) !important;
77
+ backdrop-filter: blur(4px) !important;
78
+ }
79
+
80
+ @utility liquid-light-bg-tooltip-left {
43
81
  background: linear-gradient(
44
82
  to right,
45
- rgba(172, 172, 172, 0.1) 0%,
46
- rgba(74, 74, 74, 0.1) 100%
83
+ rgba(236, 236, 236, 0.8) 0%,
84
+ rgba(202, 202, 202, 0.8) 100%
47
85
  ) !important;
48
- backdrop-filter: blur(2px) !important;
86
+ backdrop-filter: blur(4px) !important;
49
87
  }
50
88
 
51
- @utility liquid-bg-tooltip-right {
89
+ @utility liquid-dark-bg-tooltip-right {
52
90
  background: linear-gradient(
53
91
  to left,
54
- rgba(172, 172, 172, 0.1),
55
- rgba(74, 74, 74, 0.1)
92
+ rgba(50, 50, 50, 0.8) 0%,
93
+ rgba(70, 70, 70, 0.8) 100%
56
94
  ) !important;
57
- backdrop-filter: blur(2px) !important;
95
+ backdrop-filter: blur(4px) !important;
96
+ }
97
+
98
+ @utility liquid-light-bg-tooltip-right {
99
+ background: linear-gradient(
100
+ to left,
101
+ rgba(236, 236, 236, 0.8) 0%,
102
+ rgba(202, 202, 202, 0.8) 100%
103
+ ) !important;
104
+ backdrop-filter: blur(4px) !important;
58
105
  }
59
106
 
60
107
  @utility scrollbar-hide {
@@ -70,7 +117,7 @@
70
117
  &::-webkit-scrollbar-track {
71
118
  background: transparent;
72
119
  }
73
-
120
+
74
121
  &::-webkit-scrollbar-thumb {
75
122
  background: var(--bg-tertiary);
76
123
  border-radius: 4px;
@@ -123,8 +170,8 @@
123
170
  --radius-uk-lg: calc(var(--radius) + 10px); /* 12px */
124
171
  --radius-uk-xl: calc(var(--radius) + 13px); /* 16px */
125
172
  /* spacing */
126
- --spacing-xxs: calc(var(--spacing) - 2px); /* 2px */
127
- --spacing-xs: var(--spacing); /* 4px */
173
+ --spacing-xxs: calc(var(--spacing) - 3px); /* 2px */
174
+ --spacing-xs: calc(var(--spacing) - 1px); /* 4px */
128
175
  --spacing-sm: calc(var(--spacing) + 2px); /* 6px */
129
176
  --spacing-md: calc(var(--spacing) + 4px); /* 8px */
130
177
  --spacing-lg: calc(var(--spacing) + 9px); /* 12px */
@@ -2,9 +2,14 @@ import { GitBranch } from "lucide-react";
2
2
  import React from "react";
3
3
  import { cn } from "../hooks";
4
4
 
5
- // Version info for dial-cli package
6
- const DIAL_PACKAGE_NAME = "@vuer-ai/dial-cli";
7
- const DIAL_PACKAGE_VERSION = "0.0.3";
5
+ // Version info for dial-cli package (injected at build time)
6
+ declare const __DIAL_VERSION__: string;
7
+ declare const __DIAL_PACKAGE_NAME__: string;
8
+ declare const __DIAL_GIT_HASH__: string;
9
+
10
+ const DIAL_PACKAGE_NAME = typeof __DIAL_PACKAGE_NAME__ !== "undefined" ? __DIAL_PACKAGE_NAME__ : "@vuer-ai/dial-cli";
11
+ const DIAL_PACKAGE_VERSION = typeof __DIAL_VERSION__ !== "undefined" ? __DIAL_VERSION__ : "dev";
12
+ const DIAL_GIT_HASH = typeof __DIAL_GIT_HASH__ !== "undefined" ? __DIAL_GIT_HASH__ : "unknown";
8
13
 
9
14
  interface DialBadgeProps {
10
15
  /**
@@ -27,11 +32,15 @@ interface DialBadgeProps {
27
32
  * Whether to show the version
28
33
  */
29
34
  version?: boolean;
35
+ /**
36
+ * Whether to show the git hash instead of version
37
+ */
38
+ hash?: boolean;
30
39
  }
31
40
 
32
41
  /**
33
- * Badge component that displays the dial-cli package version
34
- * Format: [ dial-cli | v0.0.3 ]
42
+ * Badge component that displays the dial-cli package version or git hash
43
+ * Format: [ dial-cli | v0.0.11 ] or [ dial-cli | abc1234 ]
35
44
  */
36
45
  function DialBadge({
37
46
  className,
@@ -39,9 +48,11 @@ function DialBadge({
39
48
  prefix = true,
40
49
  linkable = true,
41
50
  version = true,
51
+ hash = false,
42
52
  }: DialBadgeProps) {
43
53
  const packageShortName = "dial-cli";
44
- const versionText = version ? (prefix ? `v${DIAL_PACKAGE_VERSION}` : DIAL_PACKAGE_VERSION) : undefined;
54
+ const displayValue = hash ? DIAL_GIT_HASH : DIAL_PACKAGE_VERSION;
55
+ const versionText = version || hash ? (prefix && !hash ? `v${displayValue}` : displayValue) : undefined;
45
56
  const npmUrl = `https://www.npmjs.com/package/${DIAL_PACKAGE_NAME}/v/${DIAL_PACKAGE_VERSION}`;
46
57
 
47
58
  return (
@@ -93,5 +104,5 @@ function DialBadge({
93
104
  );
94
105
  }
95
106
 
96
- export { DialBadge, DIAL_PACKAGE_VERSION, DIAL_PACKAGE_NAME };
107
+ export { DialBadge, DIAL_PACKAGE_VERSION, DIAL_PACKAGE_NAME, DIAL_GIT_HASH };
97
108
  export type { DialBadgeProps };
package/src/ui/avatar.tsx CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
2
2
  import React, { ComponentProps } from "react";
3
3
 
4
- import { cn, createClientOnlyComponent } from "../hooks";
4
+ import { cn } from "../hooks";
5
5
 
6
6
  /**
7
7
  * Avatar root component that displays a user's profile image with fallback support.
@@ -10,10 +10,7 @@ import { cn, createClientOnlyComponent } from "../hooks";
10
10
  * @param className - Additional CSS classes to apply
11
11
  * @param props - All standard Radix Avatar.Root props are supported
12
12
  */
13
- export const AvatarRoot = ({
14
- className,
15
- ...props
16
- }: ComponentProps<typeof AvatarPrimitive.Root>) => (
13
+ export const Avatar = ({ className, ...props }: ComponentProps<typeof AvatarPrimitive.Root>) => (
17
14
  <AvatarPrimitive.Root
18
15
  data-slot="avatar"
19
16
  className={cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className)}
@@ -21,41 +18,15 @@ export const AvatarRoot = ({
21
18
  />
22
19
  );
23
20
 
24
- /**
25
- * SSR fallback component for Avatar when client-side rendering is not available.
26
- * @param className - Additional CSS classes to apply
27
- */
28
- export const AvatarSSRFallback = ({ className }: { className?: string }) => (
29
- <span
30
- data-slot="avatar"
31
- className={cn("relative flex size-[24px] shrink-0 overflow-hidden rounded-full", className)}
32
- />
33
- );
34
-
35
- /**
36
- * Main Avatar component with client-side rendering support and SSR fallback.
37
- * Use this as the container for AvatarImage and AvatarFallback components.
38
- *
39
- * @example
40
- * ```tsx
41
- * <Avatar>
42
- * <AvatarImage src="/avatar.jpg" alt="User" />
43
- * <AvatarFallback>JD</AvatarFallback>
44
- * </Avatar>
45
- * ```
46
- */
47
- export const Avatar = createClientOnlyComponent(AvatarRoot, AvatarSSRFallback);
48
-
49
21
  /**
50
22
  * Avatar image component for displaying the actual user image.
51
23
  * If the image fails to load, it will automatically fall back to AvatarFallback.
52
24
  *
53
25
  * @param src - Image source URL
54
- * @param alt - Alternative text for the image
55
26
  * @param className - Additional CSS classes to apply
56
27
  * @param props - All standard img element props are supported
57
28
  */
58
- export const AvatarImageRoot = ({
29
+ export const AvatarImage = ({
59
30
  className,
60
31
  ...props
61
32
  }: ComponentProps<typeof AvatarPrimitive.Image>) => (
@@ -66,25 +37,6 @@ export const AvatarImageRoot = ({
66
37
  />
67
38
  );
68
39
 
69
- /**
70
- * SSR fallback component for AvatarImage when client-side rendering is not available.
71
- * @param className - Additional CSS classes to apply
72
- */
73
- export const AvatarImageFallback = ({ className }: { className?: string }) => (
74
- <span data-slot="avatar-image" className={cn("aspect-square size-full", className)} />
75
- );
76
-
77
- /**
78
- * Avatar image component with client-side rendering support and SSR fallback.
79
- * Displays the user's profile image with automatic fallback support.
80
- *
81
- * @example
82
- * ```tsx
83
- * <AvatarImage src="/user-avatar.jpg" alt="John Doe" />
84
- * ```
85
- */
86
- export const AvatarImage = createClientOnlyComponent(AvatarImageRoot, AvatarImageFallback);
87
-
88
40
  /**
89
41
  * Avatar fallback component that displays when the image fails to load.
90
42
  * Typically contains user initials or a default icon.
@@ -93,7 +45,7 @@ export const AvatarImage = createClientOnlyComponent(AvatarImageRoot, AvatarImag
93
45
  * @param children - Content to display (usually initials)
94
46
  * @param props - All standard Radix Avatar.Fallback props are supported
95
47
  */
96
- export const AvatarFallbackRoot = ({
48
+ export const AvatarFallback = ({
97
49
  className,
98
50
  ...props
99
51
  }: ComponentProps<typeof AvatarPrimitive.Fallback>) => (
@@ -107,39 +59,6 @@ export const AvatarFallbackRoot = ({
107
59
  />
108
60
  );
109
61
 
110
- /**
111
- * SSR fallback component for AvatarFallback when client-side rendering is not available.
112
- * @param className - Additional CSS classes to apply
113
- * @param children - Content to display (usually initials)
114
- */
115
- export const AvatarFallbackSSR = ({
116
- className,
117
- ...props
118
- }: {
119
- className?: string;
120
- children?: React.ReactNode;
121
- }) => (
122
- <span
123
- data-slot="avatar-fallback"
124
- className={cn(
125
- "bg-bg-tertiary flex size-full items-center justify-center rounded-full",
126
- className,
127
- )}
128
- {...props}
129
- />
130
- );
131
-
132
- /**
133
- * Avatar fallback component with client-side rendering support and SSR fallback.
134
- * Displays fallback content when the avatar image fails to load.
135
- *
136
- * @example
137
- * ```tsx
138
- * <AvatarFallback>JD</AvatarFallback>
139
- * ```
140
- */
141
- export const AvatarFallback = createClientOnlyComponent(AvatarFallbackRoot, AvatarFallbackSSR);
142
-
143
62
  /**
144
63
  * Props for the AvatarGroup component.
145
64
  */
package/src/ui/badge.tsx CHANGED
@@ -13,7 +13,7 @@ const badgeVariants = cva(
13
13
  "px-md",
14
14
  "py-xxs",
15
15
  "align-middle",
16
- "text-uk-sm",
16
+ "text-xs",
17
17
  "leading-uk-sm",
18
18
  "w-fit",
19
19
  "whitespace-nowrap",
package/src/ui/button.tsx CHANGED
@@ -19,12 +19,7 @@ export const buttonVariants = cva(
19
19
  "disabled:pointer-events-none",
20
20
  "disabled:bg-bg-tertiary",
21
21
  "disabled:text-text-tertiary",
22
- "focus-visible:border-ring",
23
- "focus-visible:ring-ring/50",
24
- "focus-visible:ring-[3px]",
25
22
  "focus-visible:bg-brand-tertiary",
26
- "aria-invalid:ring-destructive/20",
27
- "aria-invalid:border-destructive",
28
23
  ],
29
24
  {
30
25
  variants: {
package/src/ui/card.tsx CHANGED
@@ -12,8 +12,9 @@ const cardVariants = cva(
12
12
  "flex-col",
13
13
  "rounded-uk-lg",
14
14
  "bg-bg-primary",
15
- "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
16
- "liquid:liquid-bg",
15
+ "liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
16
+ "liquid-dark:liquid-dark-bg",
17
+ "liquid-light:liquid-light-bg",
17
18
  ],
18
19
  {
19
20
  variants: {
package/src/ui/drawer.tsx CHANGED
@@ -64,7 +64,7 @@ function DrawerContent({
64
64
  <DrawerPrimitive.Content
65
65
  data-slot="drawer-content"
66
66
  className={cn(
67
- "group/drawer-content bg-bg-primary liquid:liquid-bg p-xl fixed z-50 flex h-auto flex-col shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
67
+ "group/drawer-content bg-bg-primary liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg p-xl fixed z-50 flex h-auto flex-col shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
68
68
  "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh]",
69
69
  "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:pt-0",
70
70
  "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-[340px]",