@vuer-ai/vuer-uikit 0.0.101 → 0.0.102

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 (386) 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-MDR7WUX6.cjs → chunk-2JV7MJIF.cjs} +10 -11
  44. package/dist/{chunk-LPA6WYFD.cjs → chunk-2WD4ZL27.cjs} +4 -4
  45. package/dist/chunk-3IVDCAFM.mjs +10 -0
  46. package/dist/{chunk-U7XH7M5B.mjs → chunk-3NSSQHRK.mjs} +7 -8
  47. package/dist/{chunk-OWEYAVGT.mjs → chunk-3OMGBQ7I.mjs} +8 -5
  48. package/dist/chunk-3PDV3ZKD.cjs +26 -0
  49. package/dist/{chunk-ZZLF2YWP.mjs → chunk-3TUONMQ6.mjs} +1 -1
  50. package/dist/{chunk-TPPM276W.mjs → chunk-3VVQWVDE.mjs} +1 -1
  51. package/dist/{chunk-JA6XS5KY.cjs → chunk-3XTBLV6T.cjs} +3 -3
  52. package/dist/chunk-4B44SRRP.cjs +12 -0
  53. package/dist/{chunk-NT5ZTF56.mjs → chunk-4JGGLCXT.mjs} +1 -1
  54. package/dist/{chunk-KMCZXNKA.mjs → chunk-4THQPG6Y.mjs} +1 -1
  55. package/dist/{chunk-PQEAXTVY.mjs → chunk-5KJP6A6C.mjs} +12 -26
  56. package/dist/chunk-5XBMFADS.cjs +42 -0
  57. package/dist/{chunk-HKJCPZZG.cjs → chunk-64L2SNKA.cjs} +2 -2
  58. package/dist/chunk-6BD5MQ5R.cjs +8 -0
  59. package/dist/chunk-6DYF6WO6.mjs +24 -0
  60. package/dist/{chunk-2FGRTFK4.mjs → chunk-6XOTWZFC.mjs} +2 -2
  61. package/dist/{chunk-AAWWWYRN.cjs → chunk-7GJVMFKJ.cjs} +4 -4
  62. package/dist/{chunk-C4E2MFZB.mjs → chunk-7HOEFGEO.mjs} +1 -1
  63. package/dist/chunk-7KQXX7QB.mjs +54 -0
  64. package/dist/{chunk-AJYO5W6O.mjs → chunk-7P563TWH.mjs} +4 -4
  65. package/dist/{chunk-BIUDC66P.mjs → chunk-7UO6NLB6.mjs} +9 -11
  66. package/dist/{chunk-OTR4SFDC.cjs → chunk-A2UZY7Y2.cjs} +2 -2
  67. package/dist/chunk-ACYOVCGH.mjs +30 -0
  68. package/dist/chunk-ACYZOKPT.mjs +64 -0
  69. package/dist/chunk-AJQEHMYV.cjs +47 -0
  70. package/dist/{chunk-7YMH34JL.cjs → chunk-AOV3ADTV.cjs} +2 -2
  71. package/dist/{chunk-A2PCEL5S.mjs → chunk-AYYX3TVN.mjs} +2 -2
  72. package/dist/{chunk-MEE3IHTT.mjs → chunk-BFNETXJK.mjs} +185 -22
  73. package/dist/{chunk-62VCQ2SU.cjs → chunk-BSOJYJ4D.cjs} +1 -1
  74. package/dist/{chunk-QUFZWF4E.cjs → chunk-C7WHIFJZ.cjs} +4 -4
  75. package/dist/chunk-CFOMX6SF.mjs +328 -0
  76. package/dist/{chunk-CZ2YNM7Y.mjs → chunk-CGUQWS2I.mjs} +1 -1
  77. package/dist/chunk-CHYXRETV.cjs +23 -0
  78. package/dist/{chunk-INHZ5D7P.mjs → chunk-CZ4GQOXG.mjs} +1 -6
  79. package/dist/{chunk-CUOGY4FW.mjs → chunk-D4DKSGER.mjs} +1 -1
  80. package/dist/{chunk-MUQYO2G3.cjs → chunk-D5WOPTKY.cjs} +2 -2
  81. package/dist/{chunk-D3IW2NW6.mjs → chunk-E2EMVLII.mjs} +1 -1
  82. package/dist/{chunk-CWAVHHJA.cjs → chunk-EAXBNWXE.cjs} +2 -2
  83. package/dist/{chunk-73VF2W3D.mjs → chunk-EI5ZOFWX.mjs} +1 -1
  84. package/dist/{chunk-MIGXY5PR.mjs → chunk-EXQQRW7T.mjs} +1 -1
  85. package/dist/{chunk-7LLDKYND.mjs → chunk-FK6ZROZE.mjs} +31 -29
  86. package/dist/chunk-G6U2K2GR.cjs +32 -0
  87. package/dist/{chunk-DREOOKO2.cjs → chunk-GOGJVFRN.cjs} +4 -4
  88. package/dist/{chunk-W3J4QTKS.cjs → chunk-H6MFBIRB.cjs} +7 -7
  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-EC4HJUX6.cjs → chunk-IQ5MDNCR.cjs} +4 -4
  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-G7FYBSFO.cjs → chunk-JMFTHHHE.cjs} +5 -5
  98. package/dist/{chunk-7R2ZBAE6.mjs → chunk-JUSFLIU5.mjs} +1 -1
  99. package/dist/chunk-JYIVDUDL.cjs +66 -0
  100. package/dist/{chunk-NTGUD2JN.mjs → chunk-KBC7VNER.mjs} +1 -1
  101. package/dist/{chunk-JM6NBUDT.cjs → chunk-KR7VBV3B.cjs} +31 -30
  102. package/dist/{chunk-VTEWRMGQ.mjs → chunk-KRNKB4FM.mjs} +3 -3
  103. package/dist/{chunk-3UEVUYFQ.cjs → chunk-LQGXG373.cjs} +4 -6
  104. package/dist/{chunk-4XUJBMDE.mjs → chunk-LRSDE62T.mjs} +4 -6
  105. package/dist/chunk-LSKJOUAE.cjs +56 -0
  106. package/dist/{chunk-NO35POZW.mjs → chunk-MHJM7YMG.mjs} +4 -33
  107. package/dist/{chunk-ZAP4EHBO.cjs → chunk-MIT3YWUC.cjs} +2 -2
  108. package/dist/{chunk-GDUVAZDW.cjs → chunk-NSUFTZNC.cjs} +2 -2
  109. package/dist/{chunk-V2IP7UUV.mjs → chunk-PIC2EJWA.mjs} +2 -2
  110. package/dist/chunk-PKSIXQJX.mjs +20 -0
  111. package/dist/{chunk-YUHHUSIO.cjs → chunk-PTCDBU72.cjs} +2 -2
  112. package/dist/{chunk-SQQXY4AY.mjs → chunk-PTGMHZFS.mjs} +1 -1
  113. package/dist/chunk-PZMA33PL.mjs +25 -0
  114. package/dist/{chunk-GWIACOMY.cjs → chunk-Q2HC5ZL4.cjs} +3 -38
  115. package/dist/{chunk-OYNLQTHW.cjs → chunk-RGV3EB3K.cjs} +11 -13
  116. package/dist/{chunk-LG3PNH2P.mjs → chunk-RIJUPORK.mjs} +1 -1
  117. package/dist/{chunk-QBFOBDBC.cjs → chunk-RZILHP75.cjs} +2 -2
  118. package/dist/{chunk-UCRLH44Q.cjs → chunk-SPRBKXGP.cjs} +2 -2
  119. package/dist/{chunk-PIXIN3IG.mjs → chunk-SYX6TMCQ.mjs} +1 -1
  120. package/dist/chunk-TC3W4VRO.mjs +6 -0
  121. package/dist/{chunk-L26ULDYM.mjs → chunk-THMYDDZF.mjs} +1 -1
  122. package/dist/{chunk-VO3C6RE2.mjs → chunk-UA3OTLX4.mjs} +2 -2
  123. package/dist/{chunk-6CM4GYJU.mjs → chunk-VEWWUO2N.mjs} +1 -1
  124. package/dist/{chunk-76V4RD4V.cjs → chunk-VLOFKTSL.cjs} +3 -3
  125. package/dist/{chunk-6J7ZVRSY.mjs → chunk-VUMOJPEC.mjs} +1 -1
  126. package/dist/chunk-WGVKFNG6.mjs +5 -0
  127. package/dist/{chunk-JD4J3RDN.cjs → chunk-WHV4VATL.cjs} +12 -26
  128. package/dist/{chunk-55RSKLJ5.cjs → chunk-XG56MLQH.cjs} +4 -4
  129. package/dist/{chunk-TZC4ST5T.cjs → chunk-XOIIYO5J.cjs} +20 -335
  130. package/dist/{chunk-M5UZ3SBY.cjs → chunk-Z6KE4XDB.cjs} +214 -47
  131. package/dist/{chunk-AIYM5PFP.cjs → chunk-ZFIEYXJO.cjs} +8 -4
  132. package/dist/{chunk-5TXABUNC.mjs → chunk-ZNM6PNI6.mjs} +1 -1
  133. package/dist/{chunk-EQIEKFCA.cjs → chunk-ZRRCYQ53.cjs} +3 -3
  134. package/dist/chunk-ZULCZ5L6.cjs +8 -0
  135. package/dist/dial/DialPanel.cjs +67 -66
  136. package/dist/dial/DialPanel.mjs +66 -65
  137. package/dist/dial/index.cjs +83 -82
  138. package/dist/dial/index.mjs +66 -65
  139. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +74 -69
  140. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +2 -1
  141. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +2 -1
  142. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +66 -65
  143. package/dist/dial/wrapped-inputs/DialInputs.cjs +86 -77
  144. package/dist/dial/wrapped-inputs/DialInputs.d.cts +3 -1
  145. package/dist/dial/wrapped-inputs/DialInputs.d.ts +3 -1
  146. package/dist/dial/wrapped-inputs/DialInputs.mjs +66 -65
  147. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +124 -0
  148. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +16 -0
  149. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +16 -0
  150. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +115 -0
  151. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +67 -66
  152. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +66 -65
  153. package/dist/dial/wrapped-inputs/index.cjs +99 -82
  154. package/dist/dial/wrapped-inputs/index.d.cts +3 -2
  155. package/dist/dial/wrapped-inputs/index.d.ts +3 -2
  156. package/dist/dial/wrapped-inputs/index.mjs +66 -65
  157. package/dist/highlight-cursor/enhanced-components.cjs +12 -12
  158. package/dist/highlight-cursor/enhanced-components.mjs +7 -7
  159. package/dist/highlight-cursor/index.cjs +12 -12
  160. package/dist/highlight-cursor/index.mjs +7 -7
  161. package/dist/hooks/index.cjs +21 -21
  162. package/dist/hooks/index.mjs +4 -4
  163. package/dist/hooks/useQueryParams.cjs +3 -3
  164. package/dist/hooks/useQueryParams.mjs +2 -2
  165. package/dist/index.cjs +404 -423
  166. package/dist/index.css +13 -13
  167. package/dist/index.d.cts +4 -3
  168. package/dist/index.d.ts +4 -3
  169. package/dist/index.mjs +66 -65
  170. package/dist/ui/DialBadge.cjs +12 -8
  171. package/dist/ui/DialBadge.d.cts +11 -6
  172. package/dist/ui/DialBadge.d.ts +11 -6
  173. package/dist/ui/DialBadge.mjs +5 -5
  174. package/dist/ui/UIKitBadge.cjs +9 -9
  175. package/dist/ui/UIKitBadge.mjs +5 -5
  176. package/dist/ui/avatar.cjs +9 -33
  177. package/dist/ui/avatar.d.cts +4 -61
  178. package/dist/ui/avatar.d.ts +4 -61
  179. package/dist/ui/avatar.mjs +5 -5
  180. package/dist/ui/badge.cjs +4 -4
  181. package/dist/ui/badge.mjs +4 -4
  182. package/dist/ui/button.cjs +7 -7
  183. package/dist/ui/button.mjs +5 -5
  184. package/dist/ui/card.cjs +12 -12
  185. package/dist/ui/card.mjs +5 -5
  186. package/dist/ui/checkbox.cjs +4 -4
  187. package/dist/ui/checkbox.mjs +4 -4
  188. package/dist/ui/collapsible.cjs +4 -4
  189. package/dist/ui/collapsible.mjs +4 -4
  190. package/dist/ui/drawer.cjs +4 -4
  191. package/dist/ui/drawer.mjs +4 -4
  192. package/dist/ui/dropdown.cjs +20 -20
  193. package/dist/ui/dropdown.d.cts +18 -27
  194. package/dist/ui/dropdown.d.ts +18 -27
  195. package/dist/ui/dropdown.mjs +5 -5
  196. package/dist/ui/index.cjs +354 -373
  197. package/dist/ui/index.d.cts +4 -3
  198. package/dist/ui/index.d.ts +4 -3
  199. package/dist/ui/index.mjs +63 -62
  200. package/dist/ui/inputs/color-input.cjs +7 -7
  201. package/dist/ui/inputs/color-input.mjs +6 -6
  202. package/dist/ui/inputs/index.cjs +62 -57
  203. package/dist/ui/inputs/index.d.cts +1 -0
  204. package/dist/ui/inputs/index.d.ts +1 -0
  205. package/dist/ui/inputs/index.mjs +25 -24
  206. package/dist/ui/inputs/input-numbers.cjs +7 -7
  207. package/dist/ui/inputs/input-numbers.mjs +6 -6
  208. package/dist/ui/inputs/input.cjs +8 -8
  209. package/dist/ui/inputs/input.mjs +5 -5
  210. package/dist/ui/inputs/number-inputs/CmInput.cjs +8 -8
  211. package/dist/ui/inputs/number-inputs/CmInput.mjs +7 -7
  212. package/dist/ui/inputs/number-inputs/DegInput.cjs +8 -8
  213. package/dist/ui/inputs/number-inputs/DegInput.mjs +7 -7
  214. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +10 -10
  215. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +9 -9
  216. package/dist/ui/inputs/number-inputs/EulerInput.cjs +9 -9
  217. package/dist/ui/inputs/number-inputs/EulerInput.mjs +8 -8
  218. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +9 -10
  219. package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +6 -3
  220. package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +6 -3
  221. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +8 -9
  222. package/dist/ui/inputs/number-inputs/InchInput.cjs +8 -8
  223. package/dist/ui/inputs/number-inputs/InchInput.mjs +7 -7
  224. package/dist/ui/inputs/number-inputs/IntInput.cjs +8 -8
  225. package/dist/ui/inputs/number-inputs/IntInput.mjs +7 -7
  226. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +9 -9
  227. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +8 -8
  228. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +9 -9
  229. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +8 -8
  230. package/dist/ui/inputs/number-inputs/RadInput.cjs +8 -8
  231. package/dist/ui/inputs/number-inputs/RadInput.d.cts +1 -0
  232. package/dist/ui/inputs/number-inputs/RadInput.d.ts +1 -0
  233. package/dist/ui/inputs/number-inputs/RadInput.mjs +7 -7
  234. package/dist/ui/inputs/number-inputs/TimeInput.cjs +8 -8
  235. package/dist/ui/inputs/number-inputs/TimeInput.mjs +7 -7
  236. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +9 -9
  237. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +8 -8
  238. package/dist/ui/inputs/number-inputs/VectorInput.cjs +8 -8
  239. package/dist/ui/inputs/number-inputs/VectorInput.mjs +7 -7
  240. package/dist/ui/inputs/number-inputs/index.cjs +42 -42
  241. package/dist/ui/inputs/number-inputs/index.mjs +19 -19
  242. package/dist/ui/inputs/presets-input.cjs +9 -9
  243. package/dist/ui/inputs/presets-input.mjs +8 -8
  244. package/dist/ui/inputs/presets-rad-input.cjs +24 -0
  245. package/dist/ui/inputs/presets-rad-input.d.cts +17 -0
  246. package/dist/ui/inputs/presets-rad-input.d.ts +17 -0
  247. package/dist/ui/inputs/presets-rad-input.mjs +15 -0
  248. package/dist/ui/inputs/text-input.cjs +7 -7
  249. package/dist/ui/inputs/text-input.mjs +6 -6
  250. package/dist/ui/label.cjs +4 -4
  251. package/dist/ui/label.mjs +4 -4
  252. package/dist/ui/layout.cjs +4 -4
  253. package/dist/ui/layout.mjs +4 -4
  254. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +4 -4
  255. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +4 -4
  256. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +4 -4
  257. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
  258. package/dist/ui/layouts/dock-layout/index.cjs +4 -4
  259. package/dist/ui/layouts/dock-layout/index.mjs +4 -4
  260. package/dist/ui/layouts/index.cjs +8 -8
  261. package/dist/ui/layouts/index.mjs +7 -7
  262. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +11 -11
  263. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +5 -5
  264. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +7 -7
  265. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +6 -6
  266. package/dist/ui/layouts/liquid-layout/index.cjs +7 -7
  267. package/dist/ui/layouts/liquid-layout/index.mjs +6 -6
  268. package/dist/ui/modal.cjs +4 -4
  269. package/dist/ui/modal.mjs +4 -4
  270. package/dist/ui/navigation.cjs +7 -7
  271. package/dist/ui/navigation.mjs +6 -6
  272. package/dist/ui/pagination.cjs +13 -13
  273. package/dist/ui/pagination.mjs +6 -6
  274. package/dist/ui/panel.cjs +4 -4
  275. package/dist/ui/panel.mjs +4 -4
  276. package/dist/ui/popover.cjs +4 -4
  277. package/dist/ui/popover.mjs +4 -4
  278. package/dist/ui/radio-group.cjs +4 -4
  279. package/dist/ui/radio-group.mjs +4 -4
  280. package/dist/ui/resizable.cjs +4 -4
  281. package/dist/ui/resizable.mjs +4 -4
  282. package/dist/ui/select.cjs +4 -4
  283. package/dist/ui/select.mjs +4 -4
  284. package/dist/ui/separator.cjs +4 -4
  285. package/dist/ui/separator.mjs +4 -4
  286. package/dist/ui/sheet.cjs +4 -4
  287. package/dist/ui/sheet.mjs +4 -4
  288. package/dist/ui/sidebar.cjs +32 -32
  289. package/dist/ui/sidebar.mjs +8 -8
  290. package/dist/ui/simple-tree-view.cjs +4 -4
  291. package/dist/ui/simple-tree-view.mjs +4 -4
  292. package/dist/ui/skeleton.cjs +4 -4
  293. package/dist/ui/skeleton.mjs +4 -4
  294. package/dist/ui/slider.cjs +4 -4
  295. package/dist/ui/slider.mjs +4 -4
  296. package/dist/ui/switch.cjs +4 -4
  297. package/dist/ui/switch.mjs +4 -4
  298. package/dist/ui/table.cjs +4 -4
  299. package/dist/ui/table.mjs +4 -4
  300. package/dist/ui/tabs.cjs +4 -4
  301. package/dist/ui/tabs.mjs +4 -4
  302. package/dist/ui/textarea.cjs +4 -4
  303. package/dist/ui/textarea.mjs +4 -4
  304. package/dist/ui/theme/ThemeProvider.cjs +16 -20
  305. package/dist/ui/theme/ThemeProvider.d.cts +3 -10
  306. package/dist/ui/theme/ThemeProvider.d.ts +3 -10
  307. package/dist/ui/theme/ThemeProvider.mjs +2 -2
  308. package/dist/ui/theme/ThemeToggles.cjs +11 -11
  309. package/dist/ui/theme/ThemeToggles.mjs +8 -8
  310. package/dist/ui/theme/index.cjs +16 -20
  311. package/dist/ui/theme/index.d.cts +1 -1
  312. package/dist/ui/theme/index.d.ts +1 -1
  313. package/dist/ui/theme/index.mjs +8 -8
  314. package/dist/ui/theme/themeScript.cjs +2 -2
  315. package/dist/ui/theme/themeScript.d.cts +1 -2
  316. package/dist/ui/theme/themeScript.d.ts +1 -2
  317. package/dist/ui/theme/themeScript.mjs +1 -1
  318. package/dist/ui/toggle-buttons.cjs +4 -4
  319. package/dist/ui/toggle-buttons.mjs +4 -4
  320. package/dist/ui/toggle-group.cjs +4 -4
  321. package/dist/ui/toggle-group.mjs +4 -4
  322. package/dist/ui/toggle.cjs +4 -4
  323. package/dist/ui/toggle.mjs +4 -4
  324. package/dist/ui/toolbar.cjs +8 -8
  325. package/dist/ui/toolbar.mjs +5 -5
  326. package/dist/ui/tooltip.cjs +4 -4
  327. package/dist/ui/tooltip.mjs +4 -4
  328. package/dist/ui/tree-view/TreeSearchBar.cjs +7 -7
  329. package/dist/ui/tree-view/TreeSearchBar.mjs +6 -6
  330. package/dist/ui/tree-view/TreeView.cjs +4 -4
  331. package/dist/ui/tree-view/TreeView.mjs +4 -4
  332. package/dist/ui/tree-view/index.cjs +8 -8
  333. package/dist/ui/tree-view/index.mjs +7 -7
  334. package/dist/ui/tree-view-legacy.cjs +10 -10
  335. package/dist/ui/tree-view-legacy.mjs +6 -6
  336. package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
  337. package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
  338. package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
  339. package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
  340. package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
  341. package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
  342. package/dist/ui/waterfall/Wedges.cjs +4 -4
  343. package/dist/ui/waterfall/Wedges.mjs +4 -4
  344. package/dist/ui/waterfall/index.cjs +12 -12
  345. package/dist/ui/waterfall/index.mjs +11 -11
  346. package/package.json +7 -1
  347. package/src/auth/context/auth-context.ts +16 -0
  348. package/src/auth/handler/create-client.ts +23 -0
  349. package/src/auth/handler/sign-in-handler.ts +66 -0
  350. package/src/auth/hooks/use-vuer-auth.ts +10 -0
  351. package/src/auth/hooks/use-vuer-method.ts +35 -0
  352. package/src/auth/index.ts +6 -0
  353. package/src/auth/localstorage-key.ts +3 -0
  354. package/src/auth/types.ts +56 -0
  355. package/src/auth/vuer-auth-provider.tsx +35 -0
  356. package/src/dial/DialPanel.tsx +46 -3
  357. package/src/dial/wrapped-inputs/ControlledInputs.tsx +17 -0
  358. package/src/dial/wrapped-inputs/DialInputs.tsx +77 -0
  359. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +79 -0
  360. package/src/dial/wrapped-inputs/index.ts +6 -0
  361. package/src/ui/DialBadge.tsx +18 -7
  362. package/src/ui/avatar.tsx +4 -85
  363. package/src/ui/button.tsx +0 -5
  364. package/src/ui/card.tsx +1 -1
  365. package/src/ui/dropdown.tsx +21 -366
  366. package/src/ui/inputs/index.tsx +1 -0
  367. package/src/ui/inputs/input.tsx +3 -5
  368. package/src/ui/inputs/number-inputs/EulerRadInput.tsx +46 -5
  369. package/src/ui/inputs/number-inputs/RadInput.tsx +31 -5
  370. package/src/ui/inputs/presets-rad-input.tsx +77 -0
  371. package/src/ui/layouts/liquid-layout/LayoutSlots.tsx +2 -2
  372. package/src/ui/sidebar.tsx +7 -8
  373. package/src/ui/theme/ThemeProvider.tsx +69 -52
  374. package/src/ui/theme/ThemeToggles.tsx +12 -12
  375. package/src/ui/theme/index.ts +6 -16
  376. package/src/ui/theme/themeScript.tsx +24 -50
  377. package/src/ui/toolbar.tsx +3 -3
  378. package/dist/chunk-DVKONMS7.cjs +0 -20
  379. package/dist/chunk-GPV4XELL.mjs +0 -18
  380. package/dist/chunk-H2GERFBG.cjs +0 -13
  381. package/dist/chunk-H4IDSUG5.mjs +0 -643
  382. package/dist/chunk-TY47DFGO.mjs +0 -11
  383. package/dist/{chunk-ADYUCJMQ.mjs → chunk-2KQRWXNO.mjs} +0 -0
  384. package/dist/{chunk-SQRAUVEP.cjs → chunk-63OJOP6W.cjs} +0 -0
  385. package/dist/{chunk-LYZJNEOR.cjs → chunk-Q4XH2Z5M.cjs} +1 -1
  386. package/dist/{chunk-OEIF3JCH.mjs → chunk-U3LN5NB6.mjs} +1 -1
@@ -0,0 +1,328 @@
1
+ import { cn } from './chunk-HMN4IKTG.mjs';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+ import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ function DropdownMenu({ ...props }) {
7
+ return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
8
+ }
9
+ function DropdownMenuPortal({ ...props }) {
10
+ return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
11
+ }
12
+ function DropdownMenuTrigger({ ...props }) {
13
+ return /* @__PURE__ */ jsx(
14
+ DropdownMenuPrimitive.Trigger,
15
+ {
16
+ "data-slot": "dropdown-menu-trigger",
17
+ className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
18
+ ...props
19
+ }
20
+ );
21
+ }
22
+ function DropdownMenuContent({
23
+ className,
24
+ sideOffset = 4,
25
+ ...props
26
+ }) {
27
+ return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
28
+ DropdownMenuPrimitive.Content,
29
+ {
30
+ "data-slot": "dropdown-menu-content",
31
+ sideOffset,
32
+ className: cn(
33
+ [
34
+ "bg-bg-primary",
35
+ "p-md",
36
+ "data-[state=open]:animate-in",
37
+ "data-[state=closed]:animate-out",
38
+ "data-[state=closed]:fade-out-0",
39
+ "data-[state=open]:fade-in-0",
40
+ "data-[state=closed]:zoom-out-95",
41
+ "data-[state=open]:zoom-in-95",
42
+ "data-[side=bottom]:slide-in-from-top-2",
43
+ "data-[side=left]:slide-in-from-right-2",
44
+ "data-[side=right]:slide-in-from-left-2",
45
+ "data-[side=top]:slide-in-from-bottom-2",
46
+ "relative",
47
+ "z-50",
48
+ "max-h-(--radix-dropdown-menu-content-available-height)",
49
+ "origin-(--radix-dropdown-menu-content-transform-origin)",
50
+ "overflow-x-hidden",
51
+ "overflow-y-auto",
52
+ "rounded-uk-md",
53
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
54
+ "liquid:liquid-bg"
55
+ ],
56
+ className
57
+ ),
58
+ ...props
59
+ }
60
+ ) });
61
+ }
62
+ function DropdownMenuGroup({
63
+ className,
64
+ ...props
65
+ }) {
66
+ return /* @__PURE__ */ jsx(
67
+ DropdownMenuPrimitive.Group,
68
+ {
69
+ "data-slot": "dropdown-menu-group",
70
+ className: cn("space-y-xs", className),
71
+ ...props
72
+ }
73
+ );
74
+ }
75
+ function DropdownMenuItem({
76
+ className,
77
+ inset,
78
+ variant = "default",
79
+ ...props
80
+ }) {
81
+ return /* @__PURE__ */ jsx(
82
+ DropdownMenuPrimitive.Item,
83
+ {
84
+ "data-slot": "dropdown-menu-item",
85
+ "data-inset": inset,
86
+ "data-variant": variant,
87
+ className: cn(
88
+ [
89
+ "w-full",
90
+ "flex",
91
+ "gap-md",
92
+ "items-center",
93
+ "px-sm",
94
+ "py-xs",
95
+ "relative",
96
+ "cursor-default",
97
+ "rounded-uk-xs",
98
+ "text-uk-sm",
99
+ "leading-uk-sm",
100
+ "outline-hidden",
101
+ "select-none",
102
+ "hover:bg-bg-tertiary",
103
+ "data-[disabled]:pointer-events-none",
104
+ "data-[disabled]:text-bg-quaternary",
105
+ "[&_svg]:pointer-events-none",
106
+ "[&_svg]:shrink-0",
107
+ "[&_svg:not([class*='size-'])]:size-4",
108
+ "[&_svg:not([class*='text-'])]:text-muted-foreground"
109
+ ],
110
+ className
111
+ ),
112
+ ...props
113
+ }
114
+ );
115
+ }
116
+ function DropdownMenuCheckboxItem({
117
+ className,
118
+ children,
119
+ checked,
120
+ ...props
121
+ }) {
122
+ return /* @__PURE__ */ jsxs(
123
+ DropdownMenuPrimitive.CheckboxItem,
124
+ {
125
+ "data-slot": "dropdown-menu-checkbox-item",
126
+ className: cn(
127
+ [
128
+ "w-full",
129
+ "flex",
130
+ "gap-md",
131
+ "items-center",
132
+ "pr-md",
133
+ "pl-[calc(var(--spacing-xl)*1.8)]",
134
+ "py-xs",
135
+ "relative",
136
+ "cursor-default",
137
+ "rounded-uk-xs",
138
+ "text-uk-sm",
139
+ "leading-uk-sm",
140
+ "outline-hidden",
141
+ "select-none",
142
+ "hover:bg-bg-tertiary",
143
+ "data-[disabled]:pointer-events-none",
144
+ "data-[disabled]:text-bg-quaternary",
145
+ "[&_svg:not([class*='size-'])]:size-4",
146
+ "[&_svg]:pointer-events-none",
147
+ "[&_svg]:shrink-0"
148
+ ],
149
+ className
150
+ ),
151
+ checked,
152
+ ...props,
153
+ children: [
154
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
155
+ children
156
+ ]
157
+ }
158
+ );
159
+ }
160
+ function DropdownMenuRadioGroup({
161
+ ...props
162
+ }) {
163
+ return /* @__PURE__ */ jsx(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
164
+ }
165
+ function DropdownMenuRadioItem({
166
+ className,
167
+ children,
168
+ ...props
169
+ }) {
170
+ return /* @__PURE__ */ jsxs(
171
+ DropdownMenuPrimitive.RadioItem,
172
+ {
173
+ "data-slot": "dropdown-menu-radio-item",
174
+ className: cn(
175
+ [
176
+ "w-full",
177
+ "hover:bg-bg-tertiary",
178
+ "outline-hidden",
179
+ "relative",
180
+ "flex",
181
+ "cursor-default",
182
+ "select-none",
183
+ "items-center",
184
+ "gap-md",
185
+ "rounded-uk-xs",
186
+ "py-xs",
187
+ "pl-[calc(var(--spacing-xl)*1.8)]",
188
+ "pr-md",
189
+ "text-uk-sm",
190
+ "leading-uk-sm",
191
+ "data-[disabled]:pointer-events-none",
192
+ "data-[disabled]:text-bg-quaternary",
193
+ "[&_svg:not([class*='size-'])]:size-4",
194
+ "[&_svg]:pointer-events-none",
195
+ "[&_svg]:shrink-0"
196
+ ],
197
+ className
198
+ ),
199
+ ...props,
200
+ children: [
201
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
202
+ children
203
+ ]
204
+ }
205
+ );
206
+ }
207
+ function DropdownMenuLabel({
208
+ className,
209
+ inset,
210
+ ...props
211
+ }) {
212
+ return /* @__PURE__ */ jsx(
213
+ DropdownMenuPrimitive.Label,
214
+ {
215
+ "data-slot": "dropdown-menu-label",
216
+ "data-inset": inset,
217
+ className: cn("text-text-secondary text-uk-sm leading-uk-sm pb-lg pt-xs px-sm", className),
218
+ ...props
219
+ }
220
+ );
221
+ }
222
+ function DropdownMenuSeparator({
223
+ className,
224
+ ...props
225
+ }) {
226
+ return /* @__PURE__ */ jsx(
227
+ DropdownMenuPrimitive.Separator,
228
+ {
229
+ "data-slot": "dropdown-menu-separator",
230
+ className: cn("bg-line-primary my-lg pointer-events-none h-px", className),
231
+ ...props
232
+ }
233
+ );
234
+ }
235
+ function DropdownMenuShortcut({ className, ...props }) {
236
+ return /* @__PURE__ */ jsx(
237
+ "span",
238
+ {
239
+ "data-slot": "dropdown-menu-shortcut",
240
+ className: cn("text-text-tertiary text-uk-sm leading-uk-sm ml-auto", className),
241
+ ...props
242
+ }
243
+ );
244
+ }
245
+ function DropdownMenuSub({ ...props }) {
246
+ return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
247
+ }
248
+ function DropdownMenuSubTrigger({
249
+ className,
250
+ inset,
251
+ children,
252
+ ...props
253
+ }) {
254
+ return /* @__PURE__ */ jsxs(
255
+ DropdownMenuPrimitive.SubTrigger,
256
+ {
257
+ "data-slot": "dropdown-menu-sub-trigger",
258
+ "data-inset": inset,
259
+ className: cn(
260
+ "w-full",
261
+ "flex",
262
+ "gap-md",
263
+ "items-center",
264
+ "px-sm",
265
+ "py-xs",
266
+ "relative",
267
+ "cursor-default",
268
+ "rounded-uk-xs",
269
+ "text-uk-sm",
270
+ "leading-uk-sm",
271
+ "outline-hidden",
272
+ "select-none",
273
+ "hover:bg-bg-tertiary",
274
+ "data-[state=open]:bg-bg-tertiary",
275
+ "data-[disabled]:pointer-events-none",
276
+ "data-[disabled]:text-bg-quaternary",
277
+ "[&_svg]:pointer-events-none",
278
+ "[&_svg]:shrink-0",
279
+ "[&_svg:not([class*='size-'])]:size-4",
280
+ "[&_svg:not([class*='text-'])]:text-muted-foreground",
281
+ className
282
+ ),
283
+ ...props,
284
+ children: [
285
+ children,
286
+ /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto size-4" })
287
+ ]
288
+ }
289
+ );
290
+ }
291
+ function DropdownMenuSubContent({
292
+ className,
293
+ ...props
294
+ }) {
295
+ return /* @__PURE__ */ jsx(
296
+ DropdownMenuPrimitive.SubContent,
297
+ {
298
+ "data-slot": "dropdown-menu-sub-content",
299
+ className: cn(
300
+ "bg-bg-primary",
301
+ "p-md",
302
+ "data-[state=open]:animate-in",
303
+ "data-[state=closed]:animate-out",
304
+ "data-[state=closed]:fade-out-0",
305
+ "data-[state=open]:fade-in-0",
306
+ "data-[state=closed]:zoom-out-95",
307
+ "data-[state=open]:zoom-in-95",
308
+ "data-[side=bottom]:slide-in-from-top-2",
309
+ "data-[side=left]:slide-in-from-right-2",
310
+ "data-[side=right]:slide-in-from-left-2",
311
+ "data-[side=top]:slide-in-from-bottom-2",
312
+ "relative",
313
+ "z-50",
314
+ "max-h-(--radix-dropdown-menu-content-available-height)",
315
+ "origin-(--radix-dropdown-menu-content-transform-origin)",
316
+ "overflow-x-hidden",
317
+ "overflow-y-auto",
318
+ "rounded-uk-md",
319
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
320
+ "liquid:liquid-bg",
321
+ className
322
+ ),
323
+ ...props
324
+ }
325
+ );
326
+ }
327
+
328
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -1,4 +1,4 @@
1
- import { InputNumbers } from './chunk-C4E2MFZB.mjs';
1
+ import { InputNumbers } from './chunk-7HOEFGEO.mjs';
2
2
  import { forwardRef } from 'react';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var betterAuth = require('better-auth');
4
+ var plugins$1 = require('better-auth/client/plugins');
5
+ var plugins = require('better-auth/plugins');
6
+
7
+ // src/auth/types.ts
8
+ var auth = betterAuth.betterAuth({
9
+ plugins: [
10
+ plugins.customSession(async (session) => {
11
+ return {
12
+ ...session,
13
+ session: { ...session.session, sessionToken: "" }
14
+ };
15
+ })
16
+ ]
17
+ });
18
+ var options = {
19
+ plugins: [plugins$1.customSessionClient()]
20
+ };
21
+
22
+ exports.auth = auth;
23
+ exports.options = options;
@@ -19,12 +19,7 @@ var 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
- "focus-visible:bg-brand-tertiary",
26
- "aria-invalid:ring-destructive/20",
27
- "aria-invalid:border-destructive"
22
+ "focus-visible:bg-brand-tertiary"
28
23
  ],
29
24
  {
30
25
  variants: {
@@ -1,5 +1,5 @@
1
1
  import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-ZNPI2TYG.mjs';
2
- import { InputRoot, InputSlot } from './chunk-4XUJBMDE.mjs';
2
+ import { InputRoot, InputSlot } from './chunk-LRSDE62T.mjs';
3
3
  import { SyncScroll } from './chunk-PDOFOJ4P.mjs';
4
4
  import { cn } from './chunk-HMN4IKTG.mjs';
5
5
  import { Search, CaseSensitive, Regex, ChevronDown } from 'lucide-react';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkBMJX3SEO_cjs = require('./chunk-BMJX3SEO.cjs');
3
+ var chunk2EG65KGO_cjs = require('./chunk-2EG65KGO.cjs');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
7
  var EulerDegInput = react.forwardRef(
8
8
  function EulerDegInput2(props, ref) {
9
- return /* @__PURE__ */ jsxRuntime.jsx(chunkBMJX3SEO_cjs.EulerInput, { ref, unit: "deg", ...props });
9
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2EG65KGO_cjs.EulerInput, { ref, unit: "deg", ...props });
10
10
  }
11
11
  );
12
12
 
@@ -8,7 +8,7 @@ var cardVariants = cva(
8
8
  "flex-col",
9
9
  "rounded-uk-lg",
10
10
  "bg-bg-primary",
11
- "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
11
+ "liquid:shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
12
12
  "liquid:liquid-bg"
13
13
  ],
14
14
  {
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkFFCQKAQA_cjs = require('./chunk-FFCQKAQA.cjs');
3
+ var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
7
  var QuaternionInput = react.forwardRef(function QuaternionInput2({ value, onValuesChange, ...props }, ref) {
8
8
  return /* @__PURE__ */ jsxRuntime.jsx(
9
- chunkFFCQKAQA_cjs.VectorInput,
9
+ chunkJFIAWTRH_cjs.VectorInput,
10
10
  {
11
11
  ref,
12
12
  value,
@@ -1,5 +1,5 @@
1
1
  import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-ZNPI2TYG.mjs';
2
- import { InputRoot, InputSlot } from './chunk-4XUJBMDE.mjs';
2
+ import { InputRoot, InputSlot } from './chunk-LRSDE62T.mjs';
3
3
  import { cn } from './chunk-HMN4IKTG.mjs';
4
4
  import { Search, CaseSensitive, Regex } from 'lucide-react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { InputRoot, InputSlot } from './chunk-4XUJBMDE.mjs';
1
+ import { InputRoot, InputSlot } from './chunk-LRSDE62T.mjs';
2
2
  import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import { forwardRef, useState } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { ThemeScript } from './chunk-PQEAXTVY.mjs';
1
+ import { ThemeScript } from './chunk-5KJP6A6C.mjs';
2
2
  import { createContext, useContext, useMemo, useState, useCallback, useEffect } from 'react';
3
3
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
4
4
 
@@ -29,21 +29,23 @@ var computeTheme = (baseTheme, isLiquid, systemIsDark) => {
29
29
  }
30
30
  return isLiquid ? `liquid-${resolvedBase}` : resolvedBase;
31
31
  };
32
- var parseOldTheme = (oldTheme) => {
33
- if (oldTheme === "system") {
34
- return { baseTheme: "system", isLiquid: false };
35
- }
36
- if (oldTheme.startsWith("liquid-")) {
37
- const base = oldTheme.replace("liquid-", "");
38
- return { baseTheme: base, isLiquid: true };
39
- }
40
- return { baseTheme: oldTheme, isLiquid: false };
41
- };
42
- var useTheme = () => {
32
+ function useTheme(selector) {
43
33
  const context = useContext(ThemeContext);
44
34
  if (context === void 0) throw new Error("useTheme must be used within a ThemeProvider");
45
- return context;
46
- };
35
+ return useMemo(
36
+ () => {
37
+ if (!selector) {
38
+ return context;
39
+ } else if (typeof selector === "function") {
40
+ return selector(context);
41
+ } else {
42
+ return context[selector];
43
+ }
44
+ },
45
+ // eslint-disable-next-line react-hooks/exhaustive-deps
46
+ [context]
47
+ );
48
+ }
47
49
  var ThemeProvider = (props) => {
48
50
  const context = useContext(ThemeContext);
49
51
  if (context) return /* @__PURE__ */ jsx(Fragment, { children: props.children });
@@ -95,8 +97,7 @@ var Theme = ({
95
97
  );
96
98
  const resolvedTheme = useMemo(() => {
97
99
  if (forcedTheme) {
98
- const parsed = parseOldTheme(forcedTheme);
99
- return computeTheme(parsed.baseTheme, parsed.isLiquid, systemIsDark);
100
+ return forcedTheme;
100
101
  }
101
102
  return computedTheme;
102
103
  }, [forcedTheme, computedTheme, systemIsDark]);
@@ -128,10 +129,13 @@ var Theme = ({
128
129
  },
129
130
  [attribute, attrs, disableTransitionOnChange, enableColorScheme, nonce, value]
130
131
  );
131
- const setBaseTheme = useCallback((newBaseTheme) => {
132
- setBaseThemeState(newBaseTheme);
133
- saveToLS(`${storageKey}-base`, newBaseTheme);
134
- }, [storageKey]);
132
+ const setBaseTheme = useCallback(
133
+ (newBaseTheme) => {
134
+ setBaseThemeState(newBaseTheme);
135
+ saveToLS(`${storageKey}-base`, newBaseTheme);
136
+ },
137
+ [storageKey]
138
+ );
135
139
  const toggleLiquid = useCallback(() => {
136
140
  setIsLiquidState((prev) => {
137
141
  const newValue = !prev;
@@ -139,13 +143,10 @@ var Theme = ({
139
143
  return newValue;
140
144
  });
141
145
  }, [storageKey]);
142
- const handleMediaQuery = useCallback(
143
- (e) => {
144
- const isDark = e.matches;
145
- setSystemIsDark(isDark);
146
- },
147
- []
148
- );
146
+ const handleMediaQuery = useCallback((e) => {
147
+ const isDark = e.matches;
148
+ setSystemIsDark(isDark);
149
+ }, []);
149
150
  useEffect(() => {
150
151
  const media = window.matchMedia(MEDIA);
151
152
  media.addListener(handleMediaQuery);
@@ -201,7 +202,8 @@ var Theme = ({
201
202
  attribute,
202
203
  enableSystem,
203
204
  enableColorScheme,
204
- defaultTheme: initialState.baseTheme === "system" ? "system" : initialState.isLiquid ? `liquid-${initialState.baseTheme}` : initialState.baseTheme,
205
+ defaultBaseTheme: initialState.baseTheme,
206
+ defaultIsLiquid: initialState.isLiquid,
205
207
  value,
206
208
  themes,
207
209
  nonce,
@@ -240,4 +242,4 @@ var getSystemTheme = (e) => {
240
242
  return isDark ? "liquid-dark" : "liquid-light";
241
243
  };
242
244
 
243
- export { MEDIA, Theme, ThemeContext, ThemeProvider, colorSchemes, computeTheme, defaultThemes, disableAnimation, getFromLS, getSystemTheme, getTheme, isServer, parseOldTheme, saveToLS, useTheme };
245
+ export { MEDIA, Theme, ThemeContext, ThemeProvider, colorSchemes, computeTheme, defaultThemes, disableAnimation, getFromLS, getSystemTheme, getTheme, isServer, saveToLS, useTheme };
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ var chunkHPK4YEVK_cjs = require('./chunk-HPK4YEVK.cjs');
4
+ var chunkZULCZ5L6_cjs = require('./chunk-ZULCZ5L6.cjs');
5
+ var chunk6BD5MQ5R_cjs = require('./chunk-6BD5MQ5R.cjs');
6
+ var react = require('react');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ function VuerAuthProvider({ children, baseURL }) {
10
+ const authClient = react.useRef(chunkHPK4YEVK_cjs.createClient(baseURL));
11
+ const { data, isPending, refetch } = authClient.current.useSession();
12
+ react.useEffect(() => {
13
+ const searchParams = new URLSearchParams(window.location.search);
14
+ const session = searchParams.get("token");
15
+ if (session) {
16
+ localStorage.setItem(chunk6BD5MQ5R_cjs.bearerToken, encodeURIComponent(session));
17
+ refetch();
18
+ window.history.replaceState({}, "", window.location.pathname);
19
+ }
20
+ }, [refetch]);
21
+ return /* @__PURE__ */ jsxRuntime.jsx(
22
+ chunkZULCZ5L6_cjs.AuthContext.Provider,
23
+ {
24
+ value: react.useMemo(() => {
25
+ return { data, isPending, refetch, authClient: authClient.current, baseURL };
26
+ }, [baseURL, data, isPending, refetch]),
27
+ children
28
+ }
29
+ );
30
+ }
31
+
32
+ exports.VuerAuthProvider = VuerAuthProvider;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk3UEVUYFQ_cjs = require('./chunk-3UEVUYFQ.cjs');
3
+ var chunkLQGXG373_cjs = require('./chunk-LQGXG373.cjs');
4
4
  var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var React = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
@@ -243,7 +243,7 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
243
243
  ]),
244
244
  style: useGrid ? gridStyles : void 0,
245
245
  children: value.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
246
- chunk3UEVUYFQ_cjs.InputRoot,
246
+ chunkLQGXG373_cjs.InputRoot,
247
247
  {
248
248
  ref: (r) => {
249
249
  inputs.current.set(index.toString(), r);
@@ -282,7 +282,7 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
282
282
  ]),
283
283
  children: [
284
284
  prefix?.[index] && /* @__PURE__ */ jsxRuntime.jsx(
285
- chunk3UEVUYFQ_cjs.InputSlot,
285
+ chunkLQGXG373_cjs.InputSlot,
286
286
  {
287
287
  side: "left",
288
288
  className: chunkOHIB3TEN_cjs.cn(
@@ -294,7 +294,7 @@ var InputNumbers = React.forwardRef(function InputNumbers2({
294
294
  }
295
295
  ),
296
296
  suffix?.[index] && /* @__PURE__ */ jsxRuntime.jsx(
297
- chunk3UEVUYFQ_cjs.InputSlot,
297
+ chunkLQGXG373_cjs.InputSlot,
298
298
  {
299
299
  side: "right",
300
300
  className: chunkOHIB3TEN_cjs.cn(
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUCRLH44Q_cjs = require('./chunk-UCRLH44Q.cjs');
3
+ var chunkSPRBKXGP_cjs = require('./chunk-SPRBKXGP.cjs');
4
4
  var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
@@ -17,18 +17,18 @@ var LiquidLayoutView = ({
17
17
  bottomClassName,
18
18
  contentClassName
19
19
  }) => {
20
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkUCRLH44Q_cjs.LiquidLayout, { className, children: [
20
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkSPRBKXGP_cjs.LiquidLayout, { className, children: [
21
21
  /* @__PURE__ */ jsxRuntime.jsx(
22
- chunkUCRLH44Q_cjs.LiquidLayoutContent,
22
+ chunkSPRBKXGP_cjs.LiquidLayoutContent,
23
23
  {
24
24
  className: chunkOHIB3TEN_cjs.cn("absolute flex flex-col items-center justify-center", contentClassName),
25
25
  children
26
26
  }
27
27
  ),
28
- bottom && /* @__PURE__ */ jsxRuntime.jsx(chunkUCRLH44Q_cjs.LiquidLayoutBottom, { className: chunkOHIB3TEN_cjs.cn("mt-4", bottomClassName), children: bottom }),
29
- right && /* @__PURE__ */ jsxRuntime.jsx(chunkUCRLH44Q_cjs.LiquidLayoutRight, { className: rightClassName, children: right }),
30
- left && /* @__PURE__ */ jsxRuntime.jsx(chunkUCRLH44Q_cjs.LiquidLayoutLeft, { className: leftClassName, children: left }),
31
- top && /* @__PURE__ */ jsxRuntime.jsx(chunkUCRLH44Q_cjs.LiquidLayoutTop, { className: topClassName, children: top })
28
+ bottom && /* @__PURE__ */ jsxRuntime.jsx(chunkSPRBKXGP_cjs.LiquidLayoutBottom, { className: chunkOHIB3TEN_cjs.cn("mt-4", bottomClassName), children: bottom }),
29
+ right && /* @__PURE__ */ jsxRuntime.jsx(chunkSPRBKXGP_cjs.LiquidLayoutRight, { className: rightClassName, children: right }),
30
+ left && /* @__PURE__ */ jsxRuntime.jsx(chunkSPRBKXGP_cjs.LiquidLayoutLeft, { className: leftClassName, children: left }),
31
+ top && /* @__PURE__ */ jsxRuntime.jsx(chunkSPRBKXGP_cjs.LiquidLayoutTop, { className: topClassName, children: top })
32
32
  ] });
33
33
  };
34
34
 
@@ -21,12 +21,7 @@ var buttonVariants = classVarianceAuthority.cva(
21
21
  "disabled:pointer-events-none",
22
22
  "disabled:bg-bg-tertiary",
23
23
  "disabled:text-text-tertiary",
24
- "focus-visible:border-ring",
25
- "focus-visible:ring-ring/50",
26
- "focus-visible:ring-[3px]",
27
- "focus-visible:bg-brand-tertiary",
28
- "aria-invalid:ring-destructive/20",
29
- "aria-invalid:border-destructive"
24
+ "focus-visible:bg-brand-tertiary"
30
25
  ],
31
26
  {
32
27
  variants: {
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkFFCQKAQA_cjs = require('./chunk-FFCQKAQA.cjs');
3
+ var chunkJFIAWTRH_cjs = require('./chunk-JFIAWTRH.cjs');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
7
  var Vec3Input = react.forwardRef(function Vec3Input2({ value, onValuesChange, ...props }, ref) {
8
8
  return /* @__PURE__ */ jsxRuntime.jsx(
9
- chunkFFCQKAQA_cjs.VectorInput,
9
+ chunkJFIAWTRH_cjs.VectorInput,
10
10
  {
11
11
  ref,
12
12
  value,