@vuer-ai/vuer-uikit 0.0.120 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (790) hide show
  1. package/README.md +28 -0
  2. package/dist/SyncScroll/SyncScroll.cjs +13 -13
  3. package/dist/SyncScroll/SyncScroll.mjs +6 -6
  4. package/dist/SyncScroll/index.cjs +13 -13
  5. package/dist/SyncScroll/index.mjs +6 -6
  6. package/dist/SyncScroll/useSyncScroll.d.cts +5 -5
  7. package/dist/SyncScroll/useSyncScroll.d.ts +5 -5
  8. package/dist/{chunk-42WQWP6X.cjs → chunk-22T2AL3G.cjs} +8 -8
  9. package/dist/{chunk-NMRFBO43.mjs → chunk-2IMCDH5J.mjs} +3 -3
  10. package/dist/{chunk-EOLUDKZ3.mjs → chunk-2J466BYZ.mjs} +26 -47
  11. package/dist/{chunk-LVIZRMYN.cjs → chunk-2KBNQ5PY.cjs} +2 -2
  12. package/dist/{chunk-S7CCCMMU.cjs → chunk-34NDAZS6.cjs} +18 -9
  13. package/dist/{chunk-DM43KZU7.cjs → chunk-3F3LBOQJ.cjs} +2 -2
  14. package/dist/chunk-3JMUI4R2.cjs +136 -0
  15. package/dist/{chunk-CWS5PF67.cjs → chunk-3UQ323EB.cjs} +8 -42
  16. package/dist/{chunk-QXFFRQ7E.mjs → chunk-44U6VC46.mjs} +543 -95
  17. package/dist/{chunk-JW456O5K.mjs → chunk-4FB6B2ES.mjs} +1 -1
  18. package/dist/{chunk-66NKH2SV.cjs → chunk-4FIP3EXW.cjs} +6 -6
  19. package/dist/chunk-4SI4QV5R.cjs +14 -0
  20. package/dist/{chunk-IAFCABPY.mjs → chunk-4W7JKZVN.mjs} +3 -2
  21. package/dist/{chunk-EEGQLTSQ.cjs → chunk-4WWGBRQV.cjs} +77 -0
  22. package/dist/chunk-4Y5IF7R5.mjs +322 -0
  23. package/dist/chunk-52GNIM6H.mjs +12 -0
  24. package/dist/{chunk-X6WOCNBX.cjs → chunk-57NITJN5.cjs} +2 -2
  25. package/dist/{chunk-LMYA5IOK.mjs → chunk-5GBMVMLS.mjs} +4 -4
  26. package/dist/{chunk-QWBMDS3S.cjs → chunk-5HT74RHB.cjs} +5 -5
  27. package/dist/{chunk-4ODJAEOM.mjs → chunk-5JYH7TXY.mjs} +1 -1
  28. package/dist/{chunk-2CD4D2BR.cjs → chunk-6CJWNYHL.cjs} +3 -3
  29. package/dist/{chunk-CRX2ZCM2.cjs → chunk-6LTCLQH3.cjs} +6 -1
  30. package/dist/{chunk-WKK5UX2W.mjs → chunk-6U6LRS37.mjs} +2 -2
  31. package/dist/{chunk-4OUQ6NSX.cjs → chunk-6VIKDPCD.cjs} +2 -2
  32. package/dist/{chunk-6D7FGGSX.cjs → chunk-753HUOAI.cjs} +26 -26
  33. package/dist/{chunk-LYGYXV7S.cjs → chunk-7ICRKPIO.cjs} +16 -16
  34. package/dist/chunk-7MKCWXNV.cjs +32 -0
  35. package/dist/{chunk-FMKD5JBL.mjs → chunk-7TD77VF4.mjs} +10 -6
  36. package/dist/{chunk-5ARBIWXX.cjs → chunk-7TXGEIV3.cjs} +10 -10
  37. package/dist/chunk-7WJ73FEI.mjs +43 -0
  38. package/dist/{chunk-SLXM4F24.cjs → chunk-7YFUNCKT.cjs} +9 -9
  39. package/dist/{chunk-LGFWHV23.cjs → chunk-ACGXE2IO.cjs} +2 -2
  40. package/dist/{chunk-IU65XB2K.cjs → chunk-AFALU3AK.cjs} +2 -2
  41. package/dist/{chunk-EGIIZWP3.mjs → chunk-AFR23IX6.mjs} +1 -1
  42. package/dist/{chunk-CXPF274N.mjs → chunk-BK77KKIM.mjs} +1 -1
  43. package/dist/{chunk-4PMXRQXC.cjs → chunk-BNXJ5VBE.cjs} +6 -6
  44. package/dist/{chunk-3DIFS7CO.mjs → chunk-BPCD4L7T.mjs} +1 -1
  45. package/dist/{chunk-JQYMF2FW.cjs → chunk-BSDIS4KS.cjs} +4 -4
  46. package/dist/{chunk-REZAPK6Z.mjs → chunk-BTGAKK3B.mjs} +1 -1
  47. package/dist/{chunk-TB5L3GBP.cjs → chunk-BXJTOIRR.cjs} +584 -133
  48. package/dist/{chunk-35ZN6IW7.mjs → chunk-BYZ7HIIK.mjs} +1 -1
  49. package/dist/{chunk-XS5IUI62.cjs → chunk-BZI74LKX.cjs} +3 -2
  50. package/dist/{chunk-2IS7TXTN.mjs → chunk-CENP2PIB.mjs} +1 -1
  51. package/dist/{chunk-SAXISARG.cjs → chunk-CMO3SLOU.cjs} +2 -2
  52. package/dist/{chunk-CIOLL5LX.mjs → chunk-CN6SZKJZ.mjs} +1 -1
  53. package/dist/chunk-CRY23RMB.mjs +30 -0
  54. package/dist/{chunk-7AAMQGY2.cjs → chunk-CYWVJ3HF.cjs} +7 -7
  55. package/dist/{chunk-EVBYVJTW.mjs → chunk-D2LUQKPM.mjs} +130 -91
  56. package/dist/chunk-DF7WIFZK.cjs +316 -0
  57. package/dist/chunk-DKLVWYTC.cjs +71 -0
  58. package/dist/chunk-DKWLF3KW.mjs +149 -0
  59. package/dist/{chunk-F2LEYFWW.cjs → chunk-DPJPOBUT.cjs} +5 -5
  60. package/dist/{chunk-SR3M2R3S.mjs → chunk-DSQPFXYL.mjs} +22 -24
  61. package/dist/chunk-DVUN6GQI.cjs +21 -0
  62. package/dist/{chunk-7ACZU3BT.mjs → chunk-EG6JETUN.mjs} +1 -1
  63. package/dist/{chunk-T4U3BG2V.mjs → chunk-EGJLY5VZ.mjs} +1 -1
  64. package/dist/{chunk-AE5YDMFT.mjs → chunk-EXM6QMNR.mjs} +3 -3
  65. package/dist/{chunk-H6JGIEAU.mjs → chunk-EYMZP5PL.mjs} +1 -1
  66. package/dist/{chunk-K2ZYSKRU.mjs → chunk-EZ536NLQ.mjs} +1 -1
  67. package/dist/chunk-FRM27RLN.cjs +264 -0
  68. package/dist/chunk-FTB337IJ.cjs +143 -0
  69. package/dist/{chunk-7A5EMDZH.mjs → chunk-G35PQKU5.mjs} +5 -5
  70. package/dist/{chunk-ZJSL6HSL.mjs → chunk-GAAP5JO4.mjs} +1 -1
  71. package/dist/chunk-GHQA7PER.mjs +107 -0
  72. package/dist/{chunk-ND3WJ63Z.cjs → chunk-GVRVRBDU.cjs} +2 -2
  73. package/dist/chunk-GZ2BG42R.mjs +34 -0
  74. package/dist/chunk-H3JRYX2U.mjs +19 -0
  75. package/dist/{chunk-T66ETI7E.mjs → chunk-HBEU2PU2.mjs} +6 -1
  76. package/dist/{chunk-SMXN2KOV.mjs → chunk-HGTL7DFT.mjs} +1 -1
  77. package/dist/{chunk-JFPIUDGT.mjs → chunk-HI4LO6IJ.mjs} +1 -1
  78. package/dist/{chunk-QO2AM6MF.mjs → chunk-HIDTQ4Z2.mjs} +1 -1
  79. package/dist/{chunk-DDU3SPCC.mjs → chunk-HNW2DRPV.mjs} +58 -9
  80. package/dist/{chunk-5AKVDZMA.cjs → chunk-HSUL5OUG.cjs} +14 -13
  81. package/dist/{chunk-EY6PKK4X.cjs → chunk-I2COLDHC.cjs} +2 -2
  82. package/dist/chunk-IAWMCOHS.cjs +45 -0
  83. package/dist/chunk-IM5QVMGO.cjs +2 -0
  84. package/dist/{chunk-UQQBUPGF.mjs → chunk-IPMWGCAI.mjs} +5 -21
  85. package/dist/{chunk-SCUMWMIN.mjs → chunk-ITOTSGSL.mjs} +1 -1
  86. package/dist/{chunk-NJWKR5WR.mjs → chunk-IYTGWOZY.mjs} +1 -1
  87. package/dist/chunk-J74A5LNZ.cjs +179 -0
  88. package/dist/{chunk-CKGEV2JL.cjs → chunk-JDEZ6NNG.cjs} +2 -2
  89. package/dist/chunk-JEWTYDLX.cjs +119 -0
  90. package/dist/{chunk-Q7WCKEXG.cjs → chunk-JF43YF6J.cjs} +3 -3
  91. package/dist/chunk-JTFQFULL.cjs +166 -0
  92. package/dist/{chunk-XQ3MWA3D.mjs → chunk-KXKUQSNY.mjs} +3 -3
  93. package/dist/chunk-L2AKG4VJ.mjs +258 -0
  94. package/dist/{chunk-ZCSJGDX7.mjs → chunk-L2DME42Q.mjs} +1 -1
  95. package/dist/{chunk-K2BQNNEX.cjs → chunk-L6W77P4B.cjs} +8 -8
  96. package/dist/{chunk-N4Y5CBOI.cjs → chunk-LGUQR5AR.cjs} +4 -4
  97. package/dist/{chunk-ZA7WOIIB.mjs → chunk-LHP7FLGK.mjs} +1 -1
  98. package/dist/{chunk-MYZHDWBF.mjs → chunk-LLFE3UHZ.mjs} +10 -10
  99. package/dist/{chunk-332A4MHC.mjs → chunk-LNYUFL3Q.mjs} +1 -1
  100. package/dist/{chunk-BUAWPPXA.cjs → chunk-MQ5DGLVE.cjs} +11 -11
  101. package/dist/{chunk-EXY6WRH4.mjs → chunk-N6KP2HIC.mjs} +2 -2
  102. package/dist/{chunk-V75PKBIV.cjs → chunk-NEJKCSS5.cjs} +9 -9
  103. package/dist/{chunk-KPGZOX2A.cjs → chunk-NHFIDL5X.cjs} +5 -5
  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-NUBFD3YP.mjs +117 -0
  108. package/dist/{chunk-4BQPIY5Z.mjs → chunk-O2NGB7YP.mjs} +1 -1
  109. package/dist/{chunk-7H7U2X45.cjs → chunk-O3DFVRON.cjs} +17 -13
  110. package/dist/chunk-O57DAVOQ.mjs +1 -0
  111. package/dist/{chunk-S37MJNNP.cjs → chunk-OCADGDGL.cjs} +2 -2
  112. package/dist/{chunk-ZSAPBZ36.mjs → chunk-OW653F7T.mjs} +1 -1
  113. package/dist/{chunk-GRXUYMZJ.cjs → chunk-OX5FXH6W.cjs} +4 -4
  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-WDSOII5A.cjs → chunk-P7J7XHDE.cjs} +2 -2
  118. package/dist/chunk-PHRZ5JE6.mjs +1 -0
  119. package/dist/{chunk-F3HOBNGR.cjs → chunk-PMG3NZF5.cjs} +4 -4
  120. package/dist/chunk-PMYOKSO3.mjs +30 -0
  121. package/dist/chunk-PTUZYCOY.mjs +314 -0
  122. package/dist/{chunk-PV6CEMTT.cjs → chunk-PWZ4F3WY.cjs} +4 -4
  123. package/dist/{chunk-QBAZ6TKZ.cjs → chunk-PZZW3E5D.cjs} +2 -2
  124. package/dist/chunk-Q3UN25WC.mjs +141 -0
  125. package/dist/{chunk-MXGPFCLN.cjs → chunk-QS6WNNLM.cjs} +2 -2
  126. package/dist/{chunk-PR3BCKLJ.mjs → chunk-QSDYNIZB.mjs} +2 -1
  127. package/dist/{chunk-GTBXRWCK.cjs → chunk-QTLUPDLH.cjs} +8 -7
  128. package/dist/{chunk-BXZSWY4N.mjs → chunk-QYJZ5KA6.mjs} +1 -1
  129. package/dist/{chunk-JYYAGDLZ.cjs → chunk-R22VW3EK.cjs} +2 -2
  130. package/dist/{chunk-NKGUQZTD.cjs → chunk-RHVKIZMQ.cjs} +2 -2
  131. package/dist/{chunk-U22YVR7M.mjs → chunk-RLY4A3IY.mjs} +15 -6
  132. package/dist/{chunk-OJOWMXXY.mjs → chunk-RR76Z6OK.mjs} +3 -3
  133. package/dist/{chunk-D562KO2I.mjs → chunk-RWHVZM2B.mjs} +2 -2
  134. package/dist/chunk-S4C7HO32.cjs +36 -0
  135. package/dist/chunk-SBAVMK7J.cjs +181 -0
  136. package/dist/{chunk-DAVMLI3P.cjs → chunk-SNUQOJLK.cjs} +4 -4
  137. package/dist/{chunk-KY2PYKDZ.mjs → chunk-SO5KFX2C.mjs} +1 -1
  138. package/dist/{chunk-HB65PF7F.cjs → chunk-SOHGIAGF.cjs} +2 -2
  139. package/dist/{chunk-RW4T7UBU.cjs → chunk-STJMH4NX.cjs} +3 -3
  140. package/dist/{chunk-VYINXXYX.cjs → chunk-SUWJDU3Y.cjs} +59 -61
  141. package/dist/chunk-T2BDPMCF.cjs +358 -0
  142. package/dist/{chunk-U5W4ZALG.cjs → chunk-T2OAWYOU.cjs} +6 -6
  143. package/dist/{chunk-Q7VP2WSX.mjs → chunk-TCCFFSXM.mjs} +29 -12
  144. package/dist/{chunk-PRNBDGOF.cjs → chunk-THE6FZKP.cjs} +29 -49
  145. package/dist/{chunk-RGOZPSTI.mjs → chunk-TMBHKVKH.mjs} +1 -1
  146. package/dist/chunk-TQOGGHSJ.mjs +23 -0
  147. package/dist/{chunk-VTW2DF63.mjs → chunk-TWDDNHRP.mjs} +1 -1
  148. package/dist/{chunk-DDIB73SZ.mjs → chunk-UB3ELCFR.mjs} +4 -4
  149. package/dist/{chunk-XTLGNJIO.mjs → chunk-UBGNADCN.mjs} +1 -1
  150. package/dist/chunk-UCAIVC2B.cjs +32 -0
  151. package/dist/chunk-UEHPZIQB.cjs +2 -0
  152. package/dist/{chunk-ASZIBFA6.cjs → chunk-UZTOUPJ7.cjs} +131 -92
  153. package/dist/{chunk-3NIMV5PH.mjs → chunk-V4THHKSO.mjs} +1 -1
  154. package/dist/{chunk-G5VBLDAM.mjs → chunk-VBEVJE7Q.mjs} +1 -1
  155. package/dist/chunk-VDYJAOMN.mjs +177 -0
  156. package/dist/{chunk-64VVW5YR.mjs → chunk-VLNU7Y2K.mjs} +8 -43
  157. package/dist/{chunk-ZS7ESTKH.cjs → chunk-VT6E2N6C.cjs} +8 -12
  158. package/dist/{chunk-OLYHHP67.mjs → chunk-VWLZKPDB.mjs} +6 -5
  159. package/dist/{chunk-UMGNAR3W.cjs → chunk-W22SQYEO.cjs} +8 -8
  160. package/dist/{chunk-VWVYCQWF.mjs → chunk-WBM7ATPT.mjs} +1 -1
  161. package/dist/{chunk-CH3BSVL4.cjs → chunk-WGY33IHV.cjs} +2 -2
  162. package/dist/{chunk-DAA2GQAS.cjs → chunk-WRJAYU2L.cjs} +27 -27
  163. package/dist/{chunk-7AEOJFD4.cjs → chunk-WX3VWVWD.cjs} +2 -2
  164. package/dist/{chunk-EBFPZBUQ.cjs → chunk-WYUJM72T.cjs} +7 -7
  165. package/dist/{chunk-EK3BTKZP.cjs → chunk-WZQ2BT3P.cjs} +142 -26
  166. package/dist/{chunk-KR7VBV3B.cjs → chunk-XIDCYS6G.cjs} +2 -1
  167. package/dist/{chunk-WHV6Z7YX.mjs → chunk-XIESS6HW.mjs} +1 -1
  168. package/dist/{chunk-UIJEAY6H.mjs → chunk-XTZURZIR.mjs} +1 -1
  169. package/dist/{chunk-7AZ3PLUC.mjs → chunk-XZLQHASB.mjs} +1 -1
  170. package/dist/{chunk-SRZ56OJH.mjs → chunk-XZTEU7ME.mjs} +3 -3
  171. package/dist/{chunk-RLTLA7VS.mjs → chunk-Y2IIKDRY.mjs} +1 -1
  172. package/dist/chunk-YDF6VWBW.cjs +151 -0
  173. package/dist/{chunk-CR6JOOO3.cjs → chunk-YGZHBIZP.cjs} +3 -10
  174. package/dist/{chunk-TWQONYWC.mjs → chunk-YMMSHGYC.mjs} +1 -1
  175. package/dist/chunk-YQL6JDVP.cjs +21 -0
  176. package/dist/{chunk-Q37KC3CL.mjs → chunk-YRNI7ZJ7.mjs} +134 -18
  177. package/dist/{chunk-3ZEQVODC.cjs → chunk-ZAK7AFVY.cjs} +2 -2
  178. package/dist/{chunk-W3IHFG4B.cjs → chunk-ZG33TW5I.cjs} +8 -8
  179. package/dist/{chunk-FK6ZROZE.mjs → chunk-ZJYPKTF4.mjs} +2 -1
  180. package/dist/chunk-ZMRODJ3I.mjs +149 -0
  181. package/dist/{chunk-AHD46BFN.mjs → chunk-ZQOQB6GF.mjs} +1 -1
  182. package/dist/dial/DialPanel.cjs +104 -92
  183. package/dist/dial/DialPanel.d.cts +5 -5
  184. package/dist/dial/DialPanel.d.ts +5 -5
  185. package/dist/dial/DialPanel.mjs +103 -91
  186. package/dist/dial/DialProvider.d.cts +16 -51
  187. package/dist/dial/DialProvider.d.ts +16 -51
  188. package/dist/dial/IconRenderer.d.cts +2 -2
  189. package/dist/dial/IconRenderer.d.ts +2 -2
  190. package/dist/dial/components/DialButton.cjs +22 -0
  191. package/dist/dial/components/DialButton.d.cts +28 -0
  192. package/dist/dial/components/DialButton.d.ts +28 -0
  193. package/dist/dial/components/DialButton.mjs +13 -0
  194. package/dist/dial/components/DialCustom.cjs +11 -0
  195. package/dist/dial/components/DialCustom.d.cts +34 -0
  196. package/dist/dial/components/DialCustom.d.ts +34 -0
  197. package/dist/dial/components/DialCustom.mjs +2 -0
  198. package/dist/dial/components/index.cjs +29 -0
  199. package/dist/dial/components/index.d.cts +4 -0
  200. package/dist/dial/components/index.d.ts +4 -0
  201. package/dist/dial/components/index.mjs +16 -0
  202. package/dist/dial/index.cjs +128 -108
  203. package/dist/dial/index.d.cts +5 -1
  204. package/dist/dial/index.d.ts +5 -1
  205. package/dist/dial/index.mjs +103 -91
  206. package/dist/dial/types.cjs +4 -0
  207. package/dist/dial/types.d.cts +21 -0
  208. package/dist/dial/types.d.ts +21 -0
  209. package/dist/dial/types.mjs +1 -0
  210. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +108 -96
  211. package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +8 -8
  212. package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +8 -8
  213. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +103 -91
  214. package/dist/dial/wrapped-inputs/DialArrayInput.cjs +139 -0
  215. package/dist/dial/wrapped-inputs/DialArrayInput.d.cts +20 -0
  216. package/dist/dial/wrapped-inputs/DialArrayInput.d.ts +20 -0
  217. package/dist/dial/wrapped-inputs/DialArrayInput.mjs +130 -0
  218. package/dist/dial/wrapped-inputs/DialInputs.cjs +117 -105
  219. package/dist/dial/wrapped-inputs/DialInputs.d.cts +19 -17
  220. package/dist/dial/wrapped-inputs/DialInputs.d.ts +19 -17
  221. package/dist/dial/wrapped-inputs/DialInputs.mjs +103 -91
  222. package/dist/dial/wrapped-inputs/DialInterfaceInput.cjs +139 -0
  223. package/dist/dial/wrapped-inputs/DialInterfaceInput.d.cts +13 -0
  224. package/dist/dial/wrapped-inputs/DialInterfaceInput.d.ts +13 -0
  225. package/dist/dial/wrapped-inputs/DialInterfaceInput.mjs +130 -0
  226. package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +94 -86
  227. package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +4 -4
  228. package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +4 -4
  229. package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +93 -85
  230. package/dist/dial/wrapped-inputs/DialTupleInput.cjs +139 -0
  231. package/dist/dial/wrapped-inputs/DialTupleInput.d.cts +18 -0
  232. package/dist/dial/wrapped-inputs/DialTupleInput.d.ts +18 -0
  233. package/dist/dial/wrapped-inputs/DialTupleInput.mjs +130 -0
  234. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +104 -92
  235. package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +2 -2
  236. package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +2 -2
  237. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +103 -91
  238. package/dist/dial/wrapped-inputs/index.cjs +132 -112
  239. package/dist/dial/wrapped-inputs/index.d.cts +4 -2
  240. package/dist/dial/wrapped-inputs/index.d.ts +4 -2
  241. package/dist/dial/wrapped-inputs/index.mjs +103 -91
  242. package/dist/highlight-cursor/cursor-context.d.cts +2 -2
  243. package/dist/highlight-cursor/cursor-context.d.ts +2 -2
  244. package/dist/highlight-cursor/cursor-provider.cjs +3 -3
  245. package/dist/highlight-cursor/cursor-provider.d.cts +1 -1
  246. package/dist/highlight-cursor/cursor-provider.d.ts +1 -1
  247. package/dist/highlight-cursor/cursor-provider.mjs +2 -2
  248. package/dist/highlight-cursor/enhanced-components.cjs +16 -16
  249. package/dist/highlight-cursor/enhanced-components.d.cts +4 -4
  250. package/dist/highlight-cursor/enhanced-components.d.ts +4 -4
  251. package/dist/highlight-cursor/enhanced-components.mjs +11 -11
  252. package/dist/highlight-cursor/index.cjs +21 -21
  253. package/dist/highlight-cursor/index.mjs +12 -12
  254. package/dist/highlight-cursor/types.d.cts +2 -1
  255. package/dist/highlight-cursor/types.d.ts +2 -1
  256. package/dist/highlight-cursor/with-cursor.d.cts +2 -2
  257. package/dist/highlight-cursor/with-cursor.d.ts +2 -2
  258. package/dist/hooks/clientOnly.d.cts +4 -4
  259. package/dist/hooks/clientOnly.d.ts +4 -4
  260. package/dist/hooks/cn.cjs +2 -2
  261. package/dist/hooks/cn.mjs +1 -1
  262. package/dist/hooks/index.cjs +22 -22
  263. package/dist/hooks/index.mjs +5 -5
  264. package/dist/hooks/useIsMobile.cjs +2 -2
  265. package/dist/hooks/useIsMobile.mjs +1 -1
  266. package/dist/index.cjs +587 -407
  267. package/dist/index.css +13 -76
  268. package/dist/index.d.cts +20 -6
  269. package/dist/index.d.ts +20 -6
  270. package/dist/index.mjs +103 -91
  271. package/dist/schema-types-D9b7Dc1G.d.cts +163 -0
  272. package/dist/schema-types-D9b7Dc1G.d.ts +163 -0
  273. package/dist/styles/theme.css +1 -1
  274. package/dist/ui/DialBadge.cjs +10 -10
  275. package/dist/ui/DialBadge.mjs +6 -6
  276. package/dist/ui/UIKitBadge.cjs +10 -10
  277. package/dist/ui/UIKitBadge.mjs +6 -6
  278. package/dist/ui/alert-dialog.cjs +60 -0
  279. package/dist/ui/alert-dialog.d.cts +17 -0
  280. package/dist/ui/alert-dialog.d.ts +17 -0
  281. package/dist/ui/alert-dialog.mjs +11 -0
  282. package/dist/ui/avatar.cjs +10 -10
  283. package/dist/ui/avatar.d.cts +2 -2
  284. package/dist/ui/avatar.d.ts +2 -2
  285. package/dist/ui/avatar.mjs +6 -6
  286. package/dist/ui/badge.cjs +8 -8
  287. package/dist/ui/badge.d.cts +2 -2
  288. package/dist/ui/badge.d.ts +2 -2
  289. package/dist/ui/badge.mjs +6 -6
  290. package/dist/ui/button.cjs +8 -8
  291. package/dist/ui/button.d.cts +3 -3
  292. package/dist/ui/button.d.ts +3 -3
  293. package/dist/ui/button.mjs +6 -6
  294. package/dist/ui/card.cjs +14 -13
  295. package/dist/ui/card.d.cts +14 -2
  296. package/dist/ui/card.d.ts +14 -2
  297. package/dist/ui/card.mjs +7 -6
  298. package/dist/ui/checkbox.cjs +7 -7
  299. package/dist/ui/checkbox.mjs +6 -6
  300. package/dist/ui/collapsible.cjs +9 -9
  301. package/dist/ui/collapsible.mjs +6 -6
  302. package/dist/ui/context-menu.cjs +76 -0
  303. package/dist/ui/context-menu.d.cts +28 -0
  304. package/dist/ui/context-menu.d.ts +28 -0
  305. package/dist/ui/context-menu.mjs +11 -0
  306. package/dist/ui/drag-selectable/createSelectable.d.cts +2 -2
  307. package/dist/ui/drag-selectable/createSelectable.d.ts +2 -2
  308. package/dist/ui/drawer.cjs +16 -16
  309. package/dist/ui/drawer.d.cts +11 -11
  310. package/dist/ui/drawer.d.ts +11 -11
  311. package/dist/ui/drawer.mjs +6 -6
  312. package/dist/ui/dropdown.cjs +21 -21
  313. package/dist/ui/dropdown.mjs +6 -6
  314. package/dist/ui/index.cjs +485 -317
  315. package/dist/ui/index.d.cts +15 -5
  316. package/dist/ui/index.d.ts +15 -5
  317. package/dist/ui/index.mjs +90 -82
  318. package/dist/ui/inputs/color-input.cjs +8 -8
  319. package/dist/ui/inputs/color-input.d.cts +7 -3
  320. package/dist/ui/inputs/color-input.d.ts +7 -3
  321. package/dist/ui/inputs/color-input.mjs +7 -7
  322. package/dist/ui/inputs/index.cjs +56 -56
  323. package/dist/ui/inputs/index.mjs +25 -25
  324. package/dist/ui/inputs/input-numbers.cjs +8 -8
  325. package/dist/ui/inputs/input-numbers.d.cts +7 -3
  326. package/dist/ui/inputs/input-numbers.d.ts +7 -3
  327. package/dist/ui/inputs/input-numbers.mjs +7 -7
  328. package/dist/ui/inputs/input.cjs +9 -9
  329. package/dist/ui/inputs/input.d.cts +4 -4
  330. package/dist/ui/inputs/input.d.ts +4 -4
  331. package/dist/ui/inputs/input.mjs +6 -6
  332. package/dist/ui/inputs/number-inputs/CmInput.cjs +9 -9
  333. package/dist/ui/inputs/number-inputs/CmInput.d.cts +2 -2
  334. package/dist/ui/inputs/number-inputs/CmInput.d.ts +2 -2
  335. package/dist/ui/inputs/number-inputs/CmInput.mjs +8 -8
  336. package/dist/ui/inputs/number-inputs/DegInput.cjs +9 -9
  337. package/dist/ui/inputs/number-inputs/DegInput.d.cts +2 -2
  338. package/dist/ui/inputs/number-inputs/DegInput.d.ts +2 -2
  339. package/dist/ui/inputs/number-inputs/DegInput.mjs +8 -8
  340. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +11 -11
  341. package/dist/ui/inputs/number-inputs/EulerDegInput.d.cts +2 -2
  342. package/dist/ui/inputs/number-inputs/EulerDegInput.d.ts +2 -2
  343. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +10 -10
  344. package/dist/ui/inputs/number-inputs/EulerInput.cjs +10 -10
  345. package/dist/ui/inputs/number-inputs/EulerInput.d.cts +2 -2
  346. package/dist/ui/inputs/number-inputs/EulerInput.d.ts +2 -2
  347. package/dist/ui/inputs/number-inputs/EulerInput.mjs +9 -9
  348. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +10 -10
  349. package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +2 -2
  350. package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +2 -2
  351. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +9 -9
  352. package/dist/ui/inputs/number-inputs/InchInput.cjs +9 -9
  353. package/dist/ui/inputs/number-inputs/InchInput.d.cts +2 -2
  354. package/dist/ui/inputs/number-inputs/InchInput.d.ts +2 -2
  355. package/dist/ui/inputs/number-inputs/InchInput.mjs +8 -8
  356. package/dist/ui/inputs/number-inputs/IntInput.cjs +9 -9
  357. package/dist/ui/inputs/number-inputs/IntInput.d.cts +2 -2
  358. package/dist/ui/inputs/number-inputs/IntInput.d.ts +2 -2
  359. package/dist/ui/inputs/number-inputs/IntInput.mjs +8 -8
  360. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +10 -10
  361. package/dist/ui/inputs/number-inputs/KVectorInput.d.cts +2 -2
  362. package/dist/ui/inputs/number-inputs/KVectorInput.d.ts +2 -2
  363. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +9 -9
  364. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +10 -10
  365. package/dist/ui/inputs/number-inputs/QuaternionInput.d.cts +2 -2
  366. package/dist/ui/inputs/number-inputs/QuaternionInput.d.ts +2 -2
  367. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +9 -9
  368. package/dist/ui/inputs/number-inputs/RadInput.cjs +9 -9
  369. package/dist/ui/inputs/number-inputs/RadInput.d.cts +2 -2
  370. package/dist/ui/inputs/number-inputs/RadInput.d.ts +2 -2
  371. package/dist/ui/inputs/number-inputs/RadInput.mjs +8 -8
  372. package/dist/ui/inputs/number-inputs/TimeInput.cjs +9 -9
  373. package/dist/ui/inputs/number-inputs/TimeInput.d.cts +2 -2
  374. package/dist/ui/inputs/number-inputs/TimeInput.d.ts +2 -2
  375. package/dist/ui/inputs/number-inputs/TimeInput.mjs +8 -8
  376. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +10 -10
  377. package/dist/ui/inputs/number-inputs/Vec3Input.d.cts +2 -2
  378. package/dist/ui/inputs/number-inputs/Vec3Input.d.ts +2 -2
  379. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +9 -9
  380. package/dist/ui/inputs/number-inputs/VectorInput.cjs +9 -9
  381. package/dist/ui/inputs/number-inputs/VectorInput.d.cts +4 -2
  382. package/dist/ui/inputs/number-inputs/VectorInput.d.ts +4 -2
  383. package/dist/ui/inputs/number-inputs/VectorInput.mjs +8 -8
  384. package/dist/ui/inputs/number-inputs/index.cjs +42 -42
  385. package/dist/ui/inputs/number-inputs/index.mjs +20 -20
  386. package/dist/ui/inputs/presets-input.cjs +10 -10
  387. package/dist/ui/inputs/presets-input.d.cts +2 -2
  388. package/dist/ui/inputs/presets-input.d.ts +2 -2
  389. package/dist/ui/inputs/presets-input.mjs +9 -9
  390. package/dist/ui/inputs/presets-rad-input.cjs +11 -11
  391. package/dist/ui/inputs/presets-rad-input.d.cts +2 -2
  392. package/dist/ui/inputs/presets-rad-input.d.ts +2 -2
  393. package/dist/ui/inputs/presets-rad-input.mjs +10 -10
  394. package/dist/ui/inputs/text-input.cjs +8 -8
  395. package/dist/ui/inputs/text-input.d.cts +2 -2
  396. package/dist/ui/inputs/text-input.d.ts +2 -2
  397. package/dist/ui/inputs/text-input.mjs +7 -7
  398. package/dist/ui/label.cjs +7 -7
  399. package/dist/ui/label.d.cts +4 -4
  400. package/dist/ui/label.d.ts +4 -4
  401. package/dist/ui/label.mjs +6 -6
  402. package/dist/ui/layout.cjs +7 -7
  403. package/dist/ui/layout.mjs +6 -6
  404. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +8 -8
  405. package/dist/ui/layouts/dock-layout/DockLayoutView.d.cts +2 -1
  406. package/dist/ui/layouts/dock-layout/DockLayoutView.d.ts +2 -1
  407. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +7 -7
  408. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +12 -12
  409. package/dist/ui/layouts/dock-layout/LayoutSlots.d.cts +3 -3
  410. package/dist/ui/layouts/dock-layout/LayoutSlots.d.ts +3 -3
  411. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +6 -6
  412. package/dist/ui/layouts/dock-layout/index.cjs +14 -14
  413. package/dist/ui/layouts/dock-layout/index.mjs +7 -7
  414. package/dist/ui/layouts/index.cjs +20 -20
  415. package/dist/ui/layouts/index.mjs +9 -9
  416. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +12 -12
  417. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +6 -6
  418. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +8 -8
  419. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.cts +13 -1
  420. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.ts +13 -1
  421. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +7 -7
  422. package/dist/ui/layouts/liquid-layout/index.cjs +8 -8
  423. package/dist/ui/layouts/liquid-layout/index.mjs +7 -7
  424. package/dist/ui/modal.cjs +16 -16
  425. package/dist/ui/modal.mjs +6 -6
  426. package/dist/ui/navigation.cjs +8 -8
  427. package/dist/ui/navigation.d.cts +2 -2
  428. package/dist/ui/navigation.d.ts +2 -2
  429. package/dist/ui/navigation.mjs +7 -7
  430. package/dist/ui/pagination.cjs +14 -14
  431. package/dist/ui/pagination.mjs +7 -7
  432. package/dist/ui/popover.cjs +14 -10
  433. package/dist/ui/popover.d.cts +18 -8
  434. package/dist/ui/popover.d.ts +18 -8
  435. package/dist/ui/popover.mjs +6 -6
  436. package/dist/ui/progress.cjs +7 -7
  437. package/dist/ui/progress.d.cts +1 -1
  438. package/dist/ui/progress.d.ts +1 -1
  439. package/dist/ui/progress.mjs +6 -6
  440. package/dist/ui/radio-group.cjs +8 -8
  441. package/dist/ui/radio-group.mjs +6 -6
  442. package/dist/ui/resizable.cjs +9 -9
  443. package/dist/ui/resizable.d.cts +2 -2
  444. package/dist/ui/resizable.d.ts +2 -2
  445. package/dist/ui/resizable.mjs +6 -6
  446. package/dist/ui/select.cjs +17 -17
  447. package/dist/ui/select.d.cts +3 -2
  448. package/dist/ui/select.d.ts +3 -2
  449. package/dist/ui/select.mjs +6 -6
  450. package/dist/ui/separator.cjs +7 -7
  451. package/dist/ui/separator.mjs +6 -6
  452. package/dist/ui/sheet.cjs +14 -14
  453. package/dist/ui/sheet.d.cts +26 -13
  454. package/dist/ui/sheet.d.ts +26 -13
  455. package/dist/ui/sheet.mjs +6 -6
  456. package/dist/ui/sidebar.cjs +36 -36
  457. package/dist/ui/sidebar.mjs +12 -12
  458. package/dist/ui/simple-tree-view.cjs +7 -7
  459. package/dist/ui/simple-tree-view.d.cts +2 -2
  460. package/dist/ui/simple-tree-view.d.ts +2 -2
  461. package/dist/ui/simple-tree-view.mjs +6 -6
  462. package/dist/ui/skeleton.cjs +7 -7
  463. package/dist/ui/skeleton.mjs +6 -6
  464. package/dist/ui/slider.cjs +7 -7
  465. package/dist/ui/slider.d.cts +2 -2
  466. package/dist/ui/slider.d.ts +2 -2
  467. package/dist/ui/slider.mjs +6 -6
  468. package/dist/ui/switch.cjs +7 -7
  469. package/dist/ui/switch.d.cts +4 -1
  470. package/dist/ui/switch.d.ts +4 -1
  471. package/dist/ui/switch.mjs +6 -6
  472. package/dist/ui/table.cjs +14 -14
  473. package/dist/ui/table.d.cts +9 -9
  474. package/dist/ui/table.d.ts +9 -9
  475. package/dist/ui/table.mjs +6 -6
  476. package/dist/ui/tabs.cjs +14 -10
  477. package/dist/ui/tabs.d.cts +25 -7
  478. package/dist/ui/tabs.d.ts +25 -7
  479. package/dist/ui/tabs.mjs +6 -6
  480. package/dist/ui/textarea.cjs +7 -7
  481. package/dist/ui/textarea.d.cts +1 -1
  482. package/dist/ui/textarea.d.ts +1 -1
  483. package/dist/ui/textarea.mjs +6 -6
  484. package/dist/ui/theme/ThemeProvider.cjs +15 -15
  485. package/dist/ui/theme/ThemeProvider.d.cts +3 -3
  486. package/dist/ui/theme/ThemeProvider.d.ts +3 -3
  487. package/dist/ui/theme/ThemeProvider.mjs +1 -1
  488. package/dist/ui/theme/ThemeToggles.cjs +11 -11
  489. package/dist/ui/theme/ThemeToggles.d.cts +18 -3
  490. package/dist/ui/theme/ThemeToggles.d.ts +18 -3
  491. package/dist/ui/theme/ThemeToggles.mjs +9 -9
  492. package/dist/ui/theme/index.cjs +15 -15
  493. package/dist/ui/theme/index.mjs +9 -9
  494. package/dist/ui/theme/themeScript.d.cts +2 -2
  495. package/dist/ui/theme/themeScript.d.ts +2 -2
  496. package/dist/ui/toast.cjs +19 -3
  497. package/dist/ui/toast.d.cts +1 -1
  498. package/dist/ui/toast.d.ts +1 -1
  499. package/dist/ui/toast.mjs +17 -1
  500. package/dist/ui/toggle-buttons.cjs +11 -11
  501. package/dist/ui/toggle-buttons.d.cts +7 -7
  502. package/dist/ui/toggle-buttons.d.ts +7 -7
  503. package/dist/ui/toggle-buttons.mjs +6 -6
  504. package/dist/ui/toggle-group.cjs +9 -9
  505. package/dist/ui/toggle-group.d.cts +3 -3
  506. package/dist/ui/toggle-group.d.ts +3 -3
  507. package/dist/ui/toggle-group.mjs +6 -6
  508. package/dist/ui/toggle.cjs +8 -8
  509. package/dist/ui/toggle.mjs +6 -6
  510. package/dist/ui/toolbar.cjs +9 -9
  511. package/dist/ui/toolbar.mjs +6 -6
  512. package/dist/ui/tooltip.cjs +10 -10
  513. package/dist/ui/tooltip.d.cts +2 -2
  514. package/dist/ui/tooltip.d.ts +2 -2
  515. package/dist/ui/tooltip.mjs +6 -6
  516. package/dist/ui/tree-view/TreeSearchBar.cjs +9 -9
  517. package/dist/ui/tree-view/TreeSearchBar.mjs +8 -8
  518. package/dist/ui/tree-view/TreeView.cjs +10 -8
  519. package/dist/ui/tree-view/TreeView.d.cts +12 -6
  520. package/dist/ui/tree-view/TreeView.d.ts +12 -6
  521. package/dist/ui/tree-view/TreeView.mjs +8 -6
  522. package/dist/ui/tree-view/hooks.cjs +31 -3
  523. package/dist/ui/tree-view/hooks.d.cts +33 -1
  524. package/dist/ui/tree-view/hooks.d.ts +33 -1
  525. package/dist/ui/tree-view/hooks.mjs +1 -1
  526. package/dist/ui/tree-view/index.cjs +49 -20
  527. package/dist/ui/tree-view/index.d.cts +1 -1
  528. package/dist/ui/tree-view/index.d.ts +1 -1
  529. package/dist/ui/tree-view/index.mjs +11 -10
  530. package/dist/ui/tree-view/types.d.cts +1 -0
  531. package/dist/ui/tree-view/types.d.ts +1 -0
  532. package/dist/ui/tree-view-legacy.cjs +13 -13
  533. package/dist/ui/tree-view-legacy.mjs +9 -9
  534. package/dist/ui/virtual-grid/VirtualGrid.cjs +21 -0
  535. package/dist/ui/virtual-grid/VirtualGrid.d.cts +10 -0
  536. package/dist/ui/virtual-grid/VirtualGrid.d.ts +10 -0
  537. package/dist/ui/virtual-grid/VirtualGrid.mjs +12 -0
  538. package/dist/ui/virtual-grid/index.cjs +26 -0
  539. package/dist/ui/virtual-grid/index.d.cts +4 -0
  540. package/dist/ui/virtual-grid/index.d.ts +4 -0
  541. package/dist/ui/virtual-grid/index.mjs +13 -0
  542. package/dist/ui/virtual-grid/types.cjs +2 -0
  543. package/dist/ui/virtual-grid/types.d.cts +70 -0
  544. package/dist/ui/virtual-grid/types.d.ts +70 -0
  545. package/dist/ui/virtual-grid/types.mjs +1 -0
  546. package/dist/ui/virtual-grid/useVirtualGrid.cjs +10 -0
  547. package/dist/ui/virtual-grid/useVirtualGrid.d.cts +9 -0
  548. package/dist/ui/virtual-grid/useVirtualGrid.d.ts +9 -0
  549. package/dist/ui/virtual-grid/useVirtualGrid.mjs +1 -0
  550. package/dist/ui/virtual-list/VirtualList.cjs +21 -0
  551. package/dist/ui/virtual-list/VirtualList.d.cts +10 -0
  552. package/dist/ui/virtual-list/VirtualList.d.ts +10 -0
  553. package/dist/ui/virtual-list/VirtualList.mjs +12 -0
  554. package/dist/ui/virtual-list/index.cjs +26 -0
  555. package/dist/ui/virtual-list/index.d.cts +4 -0
  556. package/dist/ui/virtual-list/index.d.ts +4 -0
  557. package/dist/ui/virtual-list/index.mjs +13 -0
  558. package/dist/ui/virtual-list/types.cjs +2 -0
  559. package/dist/ui/virtual-list/types.d.cts +54 -0
  560. package/dist/ui/virtual-list/types.d.ts +54 -0
  561. package/dist/ui/virtual-list/types.mjs +1 -0
  562. package/dist/ui/virtual-list/useVirtualList.cjs +10 -0
  563. package/dist/ui/virtual-list/useVirtualList.d.cts +9 -0
  564. package/dist/ui/virtual-list/useVirtualList.d.ts +9 -0
  565. package/dist/ui/virtual-list/useVirtualList.mjs +1 -0
  566. package/dist/ui/waterfall/CursorOverlay.cjs +7 -7
  567. package/dist/ui/waterfall/CursorOverlay.mjs +6 -6
  568. package/dist/ui/waterfall/NavigationControls.d.cts +2 -2
  569. package/dist/ui/waterfall/NavigationControls.d.ts +2 -2
  570. package/dist/ui/waterfall/TimelineEvent.cjs +7 -7
  571. package/dist/ui/waterfall/TimelineEvent.mjs +6 -6
  572. package/dist/ui/waterfall/TimelineProcessBar.cjs +7 -7
  573. package/dist/ui/waterfall/TimelineProcessBar.mjs +6 -6
  574. package/dist/ui/waterfall/Wedges.cjs +8 -8
  575. package/dist/ui/waterfall/Wedges.mjs +6 -6
  576. package/dist/ui/waterfall/WheelZoomContext.d.cts +2 -2
  577. package/dist/ui/waterfall/WheelZoomContext.d.ts +2 -2
  578. package/dist/ui/waterfall/hooks/useTimelineState.d.cts +4 -3
  579. package/dist/ui/waterfall/hooks/useTimelineState.d.ts +4 -3
  580. package/dist/ui/waterfall/hooks/useViewport.d.cts +4 -4
  581. package/dist/ui/waterfall/hooks/useViewport.d.ts +4 -4
  582. package/dist/ui/waterfall/index.cjs +20 -19
  583. package/dist/ui/waterfall/index.d.cts +2 -2
  584. package/dist/ui/waterfall/index.d.ts +2 -2
  585. package/dist/ui/waterfall/index.mjs +19 -18
  586. package/package.json +6 -9
  587. package/src/dial/DialPanel.tsx +167 -30
  588. package/src/dial/DialProvider.tsx +20 -68
  589. package/src/dial/components/DialButton.tsx +52 -0
  590. package/src/dial/components/DialCustom.tsx +45 -0
  591. package/src/dial/components/index.ts +3 -0
  592. package/src/dial/index.ts +11 -6
  593. package/src/dial/types.ts +32 -0
  594. package/src/dial/wrapped-inputs/ControlledInputs.tsx +22 -16
  595. package/src/dial/wrapped-inputs/DialArrayInput.tsx +175 -0
  596. package/src/dial/wrapped-inputs/DialInputs.tsx +119 -23
  597. package/src/dial/wrapped-inputs/DialInterfaceInput.tsx +80 -0
  598. package/src/dial/wrapped-inputs/DialPresetsInput.tsx +4 -3
  599. package/src/dial/wrapped-inputs/DialTupleInput.tsx +102 -0
  600. package/src/dial/wrapped-inputs/DialVectorInput.tsx +11 -21
  601. package/src/dial/wrapped-inputs/index.ts +6 -0
  602. package/src/highlight-cursor/cursor-provider.tsx +279 -131
  603. package/src/highlight-cursor/types.ts +2 -1
  604. package/src/hooks/cn.ts +5 -0
  605. package/src/hooks/useIsMobile.ts +14 -30
  606. package/src/index.css +0 -1
  607. package/src/styles/theme.css +2 -2
  608. package/src/ui/DialBadge.tsx +7 -5
  609. package/src/ui/alert-dialog.tsx +168 -0
  610. package/src/ui/badge.tsx +1 -0
  611. package/src/ui/card.tsx +76 -8
  612. package/src/ui/context-menu.tsx +358 -0
  613. package/src/ui/index.ts +6 -0
  614. package/src/ui/inputs/color-input.tsx +92 -8
  615. package/src/ui/inputs/input-numbers.tsx +148 -92
  616. package/src/ui/inputs/number-inputs/EulerRadInput.tsx +43 -42
  617. package/src/ui/inputs/number-inputs/VectorInput.tsx +2 -1
  618. package/src/ui/inputs/presets-rad-input.tsx +5 -2
  619. package/src/ui/inputs/text-input.tsx +1 -1
  620. package/src/ui/layouts/dock-layout/DockLayoutView.tsx +15 -4
  621. package/src/ui/layouts/dock-layout/LayoutSlots.tsx +14 -5
  622. package/src/ui/layouts/liquid-layout/LiquidLayoutView.tsx +44 -5
  623. package/src/ui/popover.tsx +10 -49
  624. package/src/ui/progress.tsx +7 -14
  625. package/src/ui/select.tsx +5 -2
  626. package/src/ui/separator.tsx +1 -1
  627. package/src/ui/sheet.tsx +14 -116
  628. package/src/ui/sidebar.tsx +18 -19
  629. package/src/ui/switch.tsx +7 -2
  630. package/src/ui/tabs.tsx +29 -58
  631. package/src/ui/theme/ThemeProvider.tsx +4 -3
  632. package/src/ui/theme/ThemeToggles.tsx +48 -12
  633. package/src/ui/toast.tsx +13 -16
  634. package/src/ui/tooltip.tsx +3 -30
  635. package/src/ui/tree-view/TreeView.tsx +179 -21
  636. package/src/ui/tree-view/hooks.tsx +148 -0
  637. package/src/ui/tree-view/types.ts +2 -1
  638. package/src/ui/virtual-grid/VirtualGrid.tsx +345 -0
  639. package/src/ui/virtual-grid/index.ts +10 -0
  640. package/src/ui/virtual-grid/types.ts +72 -0
  641. package/src/ui/virtual-grid/useVirtualGrid.ts +243 -0
  642. package/src/ui/virtual-list/VirtualList.tsx +207 -0
  643. package/src/ui/virtual-list/index.ts +8 -0
  644. package/src/ui/virtual-list/types.ts +54 -0
  645. package/src/ui/virtual-list/useVirtualList.ts +203 -0
  646. package/src/ui/waterfall/TimelineProcessBar.tsx +10 -4
  647. package/dist/auth/components/index.cjs +0 -128
  648. package/dist/auth/components/index.d.cts +0 -2
  649. package/dist/auth/components/index.d.ts +0 -2
  650. package/dist/auth/components/index.mjs +0 -119
  651. package/dist/auth/components/user-avatar/index.cjs +0 -127
  652. package/dist/auth/components/user-avatar/index.d.cts +0 -8
  653. package/dist/auth/components/user-avatar/index.d.ts +0 -8
  654. package/dist/auth/components/user-avatar/index.mjs +0 -118
  655. package/dist/auth/context/user-context.cjs +0 -10
  656. package/dist/auth/context/user-context.d.cts +0 -13
  657. package/dist/auth/context/user-context.d.ts +0 -13
  658. package/dist/auth/context/user-context.mjs +0 -1
  659. package/dist/auth/handler/fetch-auth.cjs +0 -11
  660. package/dist/auth/handler/fetch-auth.d.cts +0 -3
  661. package/dist/auth/handler/fetch-auth.d.ts +0 -3
  662. package/dist/auth/handler/fetch-auth.mjs +0 -2
  663. package/dist/auth/handler/fetch-server.cjs +0 -11
  664. package/dist/auth/handler/fetch-server.d.cts +0 -3
  665. package/dist/auth/handler/fetch-server.d.ts +0 -3
  666. package/dist/auth/handler/fetch-server.mjs +0 -2
  667. package/dist/auth/handler/get-session.cjs +0 -12
  668. package/dist/auth/handler/get-session.d.cts +0 -21
  669. package/dist/auth/handler/get-session.d.ts +0 -21
  670. package/dist/auth/handler/get-session.mjs +0 -3
  671. package/dist/auth/handler/get-sessions.cjs +0 -12
  672. package/dist/auth/handler/get-sessions.d.cts +0 -21
  673. package/dist/auth/handler/get-sessions.d.ts +0 -21
  674. package/dist/auth/handler/get-sessions.mjs +0 -3
  675. package/dist/auth/handler/sign-in-handler.cjs +0 -11
  676. package/dist/auth/handler/sign-in-handler.d.cts +0 -6
  677. package/dist/auth/handler/sign-in-handler.d.ts +0 -6
  678. package/dist/auth/handler/sign-in-handler.mjs +0 -2
  679. package/dist/auth/handler/sign-out-handler.cjs +0 -12
  680. package/dist/auth/handler/sign-out-handler.d.cts +0 -5
  681. package/dist/auth/handler/sign-out-handler.d.ts +0 -5
  682. package/dist/auth/handler/sign-out-handler.mjs +0 -3
  683. package/dist/auth/hooks/use-sign-in.cjs +0 -14
  684. package/dist/auth/hooks/use-sign-in.d.cts +0 -9
  685. package/dist/auth/hooks/use-sign-in.d.ts +0 -9
  686. package/dist/auth/hooks/use-sign-in.mjs +0 -5
  687. package/dist/auth/hooks/use-sign-out.cjs +0 -15
  688. package/dist/auth/hooks/use-sign-out.d.cts +0 -6
  689. package/dist/auth/hooks/use-sign-out.d.ts +0 -6
  690. package/dist/auth/hooks/use-sign-out.mjs +0 -6
  691. package/dist/auth/hooks/use-user.cjs +0 -11
  692. package/dist/auth/hooks/use-user.d.cts +0 -8
  693. package/dist/auth/hooks/use-user.d.ts +0 -8
  694. package/dist/auth/hooks/use-user.mjs +0 -2
  695. package/dist/auth/hooks/use-vuer-sessions.cjs +0 -15
  696. package/dist/auth/hooks/use-vuer-sessions.d.cts +0 -9
  697. package/dist/auth/hooks/use-vuer-sessions.d.ts +0 -9
  698. package/dist/auth/hooks/use-vuer-sessions.mjs +0 -6
  699. package/dist/auth/index.cjs +0 -165
  700. package/dist/auth/index.d.cts +0 -13
  701. package/dist/auth/index.d.ts +0 -13
  702. package/dist/auth/index.mjs +0 -124
  703. package/dist/auth/localstorage-key.cjs +0 -14
  704. package/dist/auth/localstorage-key.d.cts +0 -4
  705. package/dist/auth/localstorage-key.d.ts +0 -4
  706. package/dist/auth/localstorage-key.mjs +0 -1
  707. package/dist/auth/types.d.cts +0 -27
  708. package/dist/auth/types.d.ts +0 -27
  709. package/dist/auth/vuer-user-provider.cjs +0 -14
  710. package/dist/auth/vuer-user-provider.d.cts +0 -9
  711. package/dist/auth/vuer-user-provider.d.ts +0 -9
  712. package/dist/auth/vuer-user-provider.mjs +0 -5
  713. package/dist/chunk-2DXJJLJL.mjs +0 -51
  714. package/dist/chunk-2GXIGEKC.mjs +0 -66
  715. package/dist/chunk-3WMO5QJJ.cjs +0 -8
  716. package/dist/chunk-5OHAV55L.mjs +0 -24
  717. package/dist/chunk-6C53NKMF.mjs +0 -206
  718. package/dist/chunk-6GJM7TPE.cjs +0 -28
  719. package/dist/chunk-7E5Y224I.cjs +0 -14
  720. package/dist/chunk-7R5HY3IM.cjs +0 -12
  721. package/dist/chunk-EMVKGL5D.mjs +0 -28
  722. package/dist/chunk-EMXEFZEB.cjs +0 -30
  723. package/dist/chunk-EOSYXHEH.mjs +0 -27
  724. package/dist/chunk-EXXV3BXT.cjs +0 -23
  725. package/dist/chunk-F4Z5KATZ.cjs +0 -8
  726. package/dist/chunk-FROQ45MN.mjs +0 -6
  727. package/dist/chunk-FZAGJSW2.cjs +0 -47
  728. package/dist/chunk-H7RH4CZ7.cjs +0 -54
  729. package/dist/chunk-HOMAESTR.mjs +0 -12
  730. package/dist/chunk-IPQU5CJD.mjs +0 -21
  731. package/dist/chunk-JR4TVE43.cjs +0 -31
  732. package/dist/chunk-KIZEJMW4.cjs +0 -15
  733. package/dist/chunk-KQW3YARN.cjs +0 -117
  734. package/dist/chunk-L2XJ5Q7T.cjs +0 -58
  735. package/dist/chunk-LAPOK2L4.mjs +0 -193
  736. package/dist/chunk-MFYDZKQF.mjs +0 -28
  737. package/dist/chunk-MNCBTS63.cjs +0 -68
  738. package/dist/chunk-MO5V43Z3.mjs +0 -13
  739. package/dist/chunk-MRMSCW3P.cjs +0 -19
  740. package/dist/chunk-OOHCJIRV.cjs +0 -26
  741. package/dist/chunk-PX2H7Z4D.mjs +0 -26
  742. package/dist/chunk-PXDT5GFJ.mjs +0 -13
  743. package/dist/chunk-Q3CJUGX3.cjs +0 -21
  744. package/dist/chunk-Q76WU4DL.cjs +0 -17
  745. package/dist/chunk-R4HT3SYR.cjs +0 -208
  746. package/dist/chunk-RSBVQ7SJ.cjs +0 -54
  747. package/dist/chunk-RTYZO2AC.cjs +0 -30
  748. package/dist/chunk-SO2UTKSV.mjs +0 -17
  749. package/dist/chunk-UT7B4TLZ.mjs +0 -5
  750. package/dist/chunk-V4KDK3BN.mjs +0 -52
  751. package/dist/chunk-V5T6XOSB.cjs +0 -222
  752. package/dist/chunk-VSFPXAGN.mjs +0 -10
  753. package/dist/chunk-VSIOXWSI.cjs +0 -53
  754. package/dist/chunk-WDS3VL7E.mjs +0 -56
  755. package/dist/chunk-X3H6FYAM.cjs +0 -15
  756. package/dist/chunk-XHJDRQD7.mjs +0 -29
  757. package/dist/chunk-Y2XVZEXM.mjs +0 -45
  758. package/dist/chunk-Z7BZFZEV.mjs +0 -15
  759. package/dist/dial/DialProvider.example.cjs +0 -72
  760. package/dist/dial/DialProvider.example.d.cts +0 -7
  761. package/dist/dial/DialProvider.example.d.ts +0 -7
  762. package/dist/dial/DialProvider.example.mjs +0 -68
  763. package/dist/styles/toast.css +0 -64
  764. package/dist/styles/toast.d.cts +0 -2
  765. package/dist/styles/toast.d.ts +0 -2
  766. package/src/auth/components/index.ts +0 -1
  767. package/src/auth/components/user-avatar/index.tsx +0 -94
  768. package/src/auth/context/user-context.ts +0 -15
  769. package/src/auth/handler/fetch-auth.ts +0 -10
  770. package/src/auth/handler/fetch-server.ts +0 -10
  771. package/src/auth/handler/get-session.ts +0 -19
  772. package/src/auth/handler/get-sessions.ts +0 -16
  773. package/src/auth/handler/sign-in-handler.ts +0 -64
  774. package/src/auth/handler/sign-out-handler.ts +0 -9
  775. package/src/auth/hooks/use-sign-in.ts +0 -33
  776. package/src/auth/hooks/use-sign-out.ts +0 -30
  777. package/src/auth/hooks/use-user.ts +0 -10
  778. package/src/auth/hooks/use-vuer-sessions.ts +0 -29
  779. package/src/auth/index.ts +0 -12
  780. package/src/auth/localstorage-key.ts +0 -3
  781. package/src/auth/types.ts +0 -38
  782. package/src/auth/vuer-user-provider.tsx +0 -58
  783. package/src/dial/DialProvider.example.tsx +0 -80
  784. package/src/styles/toast.css +0 -67
  785. /package/dist/{auth/types.mjs → chunk-6NZ5VXK7.mjs} +0 -0
  786. /package/dist/{chunk-UXWS62ZO.mjs → chunk-6THKQIF7.mjs} +0 -0
  787. /package/dist/{auth/types.cjs → chunk-AS3GNGJN.cjs} +0 -0
  788. /package/dist/{chunk-NK7L5H2Y.cjs → chunk-DPILGC4Y.cjs} +0 -0
  789. /package/dist/{chunk-YWECB5GR.cjs → chunk-F4NQLN5E.cjs} +0 -0
  790. /package/dist/{chunk-YYLBP356.mjs → chunk-NU5W73NH.mjs} +0 -0
@@ -1,27 +1,32 @@
1
- import { DialPresetsInput } from './chunk-LMYA5IOK.mjs';
2
- import { useDialSchema } from './chunk-ZTGJIGBC.mjs';
1
+ import { DialPresetsInput } from './chunk-5GBMVMLS.mjs';
2
+ import { Vec3Input } from './chunk-UBGNADCN.mjs';
3
+ import { EulerRadInput } from './chunk-7WJ73FEI.mjs';
4
+ import { InchInput } from './chunk-HI4LO6IJ.mjs';
5
+ import { IntInput } from './chunk-BPCD4L7T.mjs';
6
+ import { QuaternionInput } from './chunk-IYTGWOZY.mjs';
7
+ import { TimeInput } from './chunk-GAAP5JO4.mjs';
8
+ import { CmInput } from './chunk-BTGAKK3B.mjs';
9
+ import { DegInput } from './chunk-EYMZP5PL.mjs';
10
+ import { EulerDegInput } from './chunk-EG6JETUN.mjs';
11
+ import { EulerInput } from './chunk-L2DME42Q.mjs';
12
+ import { VectorInput } from './chunk-V4THHKSO.mjs';
13
+ import { TextInput } from './chunk-P55DAW6H.mjs';
14
+ import { ColorInput } from './chunk-NUBFD3YP.mjs';
15
+ import { RadInput } from './chunk-ITOTSGSL.mjs';
16
+ import { InputNumbers } from './chunk-D2LUQKPM.mjs';
17
+ import { Slider } from './chunk-XIESS6HW.mjs';
18
+ import { Switch } from './chunk-VWLZKPDB.mjs';
19
+ import { Label } from './chunk-XTZURZIR.mjs';
20
+ import { FormLayout } from './chunk-TMBHKVKH.mjs';
21
+ import { DialButton } from './chunk-PMYOKSO3.mjs';
22
+ import { DialCustom } from './chunk-52GNIM6H.mjs';
23
+ import { InputRoot } from './chunk-HGTL7DFT.mjs';
24
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-4W7JKZVN.mjs';
25
+ import { Button } from './chunk-5JYH7TXY.mjs';
26
+ import { useDialSchema, DialProvider } from './chunk-ZTGJIGBC.mjs';
3
27
  import { IconRenderer } from './chunk-6YMDD5CU.mjs';
4
- import { IntInput } from './chunk-3DIFS7CO.mjs';
5
- import { QuaternionInput } from './chunk-NJWKR5WR.mjs';
6
- import { TimeInput } from './chunk-ZJSL6HSL.mjs';
7
- import { Vec3Input } from './chunk-XTLGNJIO.mjs';
8
- import { CmInput } from './chunk-REZAPK6Z.mjs';
9
- import { DegInput } from './chunk-H6JGIEAU.mjs';
10
- import { EulerDegInput } from './chunk-7ACZU3BT.mjs';
11
- import { EulerInput } from './chunk-ZCSJGDX7.mjs';
12
- import { EulerRadInput } from './chunk-Y2XVZEXM.mjs';
13
- import { VectorInput } from './chunk-3NIMV5PH.mjs';
14
- import { InchInput } from './chunk-JFPIUDGT.mjs';
15
- import { ColorInput } from './chunk-2GXIGEKC.mjs';
16
- import { RadInput } from './chunk-SCUMWMIN.mjs';
17
- import { InputNumbers } from './chunk-EVBYVJTW.mjs';
18
- import { TextInput } from './chunk-P3YSHGT5.mjs';
19
- import { Slider } from './chunk-WHV6Z7YX.mjs';
20
- import { Switch } from './chunk-OLYHHP67.mjs';
21
- import { Label } from './chunk-UIJEAY6H.mjs';
22
- import { FormLayout } from './chunk-RGOZPSTI.mjs';
23
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-IAFCABPY.mjs';
24
- import { useCallback } from 'react';
28
+ import { useMemo, useCallback } from 'react';
29
+ import { LockKeyhole, LockOpen, X, Plus } from 'lucide-react';
25
30
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
26
31
 
27
32
  var DialInputWrapper = ({
@@ -34,7 +39,7 @@ var DialInputWrapper = ({
34
39
  return /* @__PURE__ */ jsx(Fragment, { children });
35
40
  }
36
41
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, className: "overflow-x-hidden", children: [
37
- /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
42
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
38
43
  /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
39
44
  label
40
45
  ] }),
@@ -55,16 +60,77 @@ var DialVec3Input = ({
55
60
  const value = getValue(name) ?? [0, 0, 0];
56
61
  const minArray = min !== void 0 ? [min, min, min] : void 0;
57
62
  const maxArray = max !== void 0 ? [max, max, max] : void 0;
63
+ const isLockable = ["position", "rotation", "scale"].includes(name);
64
+ const disabledFields = getValue("disabledFields") ?? [];
65
+ const disabled = useMemo(() => {
66
+ if (!isLockable) return void 0;
67
+ return [
68
+ disabledFields.includes(`${name}.0`),
69
+ disabledFields.includes(`${name}.1`),
70
+ disabledFields.includes(`${name}.2`)
71
+ ];
72
+ }, [isLockable, name, disabledFields]);
73
+ const handleSuffixBatchAction = useCallback(
74
+ (indices) => {
75
+ if (indices.length === 0) return;
76
+ const firstIndex = indices[0];
77
+ const firstFieldName = `${name}.${firstIndex}`;
78
+ const shouldLock = !disabledFields.includes(firstFieldName);
79
+ const newDisabledFields = [...disabledFields];
80
+ indices.forEach((index) => {
81
+ const fieldName = `${name}.${index}`;
82
+ const fieldIndex = newDisabledFields.indexOf(fieldName);
83
+ if (shouldLock && fieldIndex === -1) {
84
+ newDisabledFields.push(fieldName);
85
+ } else if (!shouldLock && fieldIndex > -1) {
86
+ newDisabledFields.splice(fieldIndex, 1);
87
+ }
88
+ });
89
+ setValue("disabledFields", newDisabledFields);
90
+ },
91
+ [name, disabledFields, setValue]
92
+ );
93
+ const suffix = useMemo(() => {
94
+ if (!isLockable) return void 0;
95
+ return [0, 1, 2].map((index) => {
96
+ const isLocked = disabled?.[index] ?? false;
97
+ return /* @__PURE__ */ jsx(
98
+ Button,
99
+ {
100
+ variant: "ghost",
101
+ size: "sm",
102
+ icon: true,
103
+ className: "hover:bg-shadow-secondary size-4 p-0",
104
+ title: isLocked ? `Unlock ${["X", "Y", "Z"][index]}` : `Lock ${["X", "Y", "Z"][index]}`,
105
+ children: isLocked ? /* @__PURE__ */ jsx(LockKeyhole, { strokeWidth: 1.5, className: "text-icon-tertiary size-2.5" }) : /* @__PURE__ */ jsx(LockOpen, { strokeWidth: 1.5, className: "text-icon-tertiary size-2.5" })
106
+ }
107
+ );
108
+ });
109
+ }, [isLockable, disabled]);
110
+ const handleValueChange = useCallback(
111
+ (newValue) => {
112
+ if (!isLockable || !disabled) {
113
+ setValue(name, newValue);
114
+ return;
115
+ }
116
+ const filteredValue = newValue.map((v, i) => disabled[i] ? value[i] : v);
117
+ setValue(name, filteredValue);
118
+ },
119
+ [name, setValue, value, isLockable, disabled]
120
+ );
58
121
  if (labelPosition === "inline") {
59
122
  return /* @__PURE__ */ jsx(
60
123
  Vec3Input,
61
124
  {
62
125
  value,
63
- onValuesChange: (val) => setValue(name, val),
126
+ onValuesChange: handleValueChange,
64
127
  size,
65
128
  step,
66
129
  min: minArray,
67
130
  max: maxArray,
131
+ disabledItems: disabled,
132
+ suffix,
133
+ onSuffixBatchAction: isLockable ? handleSuffixBatchAction : void 0,
68
134
  prefix: label ? [label, "", ""] : void 0
69
135
  }
70
136
  );
@@ -73,11 +139,14 @@ var DialVec3Input = ({
73
139
  Vec3Input,
74
140
  {
75
141
  value,
76
- onValuesChange: (val) => setValue(name, val),
142
+ onValuesChange: handleValueChange,
77
143
  size,
78
144
  step,
79
145
  min: minArray,
80
- max: maxArray
146
+ max: maxArray,
147
+ disabledItems: disabled,
148
+ suffix,
149
+ onSuffixBatchAction: isLockable ? handleSuffixBatchAction : void 0
81
150
  }
82
151
  ) });
83
152
  }
@@ -401,7 +470,7 @@ var DialTextInput = ({
401
470
  }
402
471
  );
403
472
  } else {
404
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
473
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, labelPosition, children: /* @__PURE__ */ jsx(
405
474
  TextInput,
406
475
  {
407
476
  value,
@@ -418,7 +487,9 @@ var DialEulerRadInput = ({
418
487
  size = "sm",
419
488
  step,
420
489
  labelPosition,
421
- icon
490
+ icon,
491
+ format = "rad"
492
+ // Default to radians
422
493
  }) => {
423
494
  const { getValue, setValue } = useDialSchema();
424
495
  const value = getValue(name) ?? [0, 0, 0];
@@ -430,7 +501,7 @@ var DialEulerRadInput = ({
430
501
  onValuesChange: (val) => setValue(name, val),
431
502
  size,
432
503
  step,
433
- display: "deg",
504
+ display: format,
434
505
  prefix: label ? [label, "", ""] : void 0
435
506
  }
436
507
  );
@@ -442,7 +513,7 @@ var DialEulerRadInput = ({
442
513
  onValuesChange: (val) => setValue(name, val),
443
514
  size,
444
515
  step,
445
- display: "deg"
516
+ display: format
446
517
  }
447
518
  ) });
448
519
  }
@@ -453,28 +524,35 @@ var DialNumberRadInput = ({
453
524
  size = "sm",
454
525
  step,
455
526
  labelPosition,
456
- icon
527
+ icon,
528
+ format = "rad"
529
+ // Default to radians
457
530
  }) => {
458
531
  const { getValue, setValue } = useDialSchema();
459
532
  const value = getValue(name) ?? 0;
460
- const degValue = value * 180 / Math.PI;
461
- const handleChange = (deg) => {
462
- const rad = deg * Math.PI / 180;
463
- setValue(name, rad);
464
- };
465
533
  if (labelPosition === "inline") {
466
534
  return /* @__PURE__ */ jsx(
467
- DegInput,
535
+ RadInput,
468
536
  {
469
- value: degValue,
470
- onChange: handleChange,
537
+ value,
538
+ onChange: (val) => setValue(name, val),
539
+ display: format,
471
540
  size,
472
541
  step,
473
542
  prefix: label ? [label] : void 0
474
543
  }
475
544
  );
476
545
  } else {
477
- return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(DegInput, { value: degValue, onChange: handleChange, size, step }) });
546
+ return /* @__PURE__ */ jsx(DialInputWrapper, { name, label, icon, children: /* @__PURE__ */ jsx(
547
+ RadInput,
548
+ {
549
+ value,
550
+ onChange: (val) => setValue(name, val),
551
+ display: format,
552
+ size,
553
+ step
554
+ }
555
+ ) });
478
556
  }
479
557
  };
480
558
  var DialVectorInput2 = ({
@@ -514,25 +592,17 @@ var DialVectorInput2 = ({
514
592
  const steps = schema.steps || [];
515
593
  const mins = schema.mins || [];
516
594
  const maxs = schema.maxs || [];
517
- const tags = schema.tags || {};
518
- const vectorValue = Array.isArray(value) ? value.concat(Array(Math.max(0, dimensions - value.length)).fill(0)) : Array(dimensions).fill(0);
595
+ const defaults = Array.isArray(schema.value) ? schema.value : [];
596
+ const vectorValue = Array.isArray(value) ? value.concat(
597
+ Array.from(
598
+ { length: Math.max(0, dimensions - value.length) },
599
+ (_, i) => defaults[value.length + i] !== void 0 ? defaults[value.length + i] : 0
600
+ )
601
+ ) : Array.from({ length: dimensions }, (_, i) => defaults[i] !== void 0 ? defaults[i] : 0);
519
602
  const hasMixedTypes = dtypes.some((dtype) => dtype === "boolean");
520
- let gridAutoFlow;
521
- let gridColumns;
522
- let gridRows;
523
- if (typeof tags.col === "number") {
524
- gridAutoFlow = "column";
525
- gridRows = tags.col;
526
- gridColumns = void 0;
527
- } else if (typeof tags.row === "number") {
528
- gridAutoFlow = "row";
529
- gridColumns = tags.row;
530
- gridRows = void 0;
531
- } else {
532
- gridAutoFlow = "row";
533
- gridColumns = void 0;
534
- gridRows = void 0;
535
- }
603
+ const gridAutoFlow = schema.vectorFlow === "row" ? "row" : "column";
604
+ const gridColumns = typeof schema.vectorCols === "number" ? schema.vectorCols : void 0;
605
+ const gridRows = typeof schema.vectorRows === "number" ? schema.vectorRows : void 0;
536
606
  if (hasMixedTypes) {
537
607
  const numberIndices = [];
538
608
  const booleanIndices = [];
@@ -641,7 +711,7 @@ var DialVectorInput2 = ({
641
711
  return inputComponent;
642
712
  }
643
713
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
644
- /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
714
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
645
715
  /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
646
716
  label
647
717
  ] }),
@@ -658,6 +728,296 @@ var DialVectorInput2 = ({
658
728
  ] })
659
729
  ] });
660
730
  };
731
+ var DialTupleInput = ({
732
+ name,
733
+ label,
734
+ labelPosition = "top",
735
+ icon
736
+ }) => {
737
+ const { getValue, setValue, schemas } = useDialSchema();
738
+ const values = useMemo(() => getValue(name) || [], [getValue, name]);
739
+ const handleElementChange = useCallback(
740
+ (elementName, value) => {
741
+ const newValues = Array.isArray(values) ? [...values] : [];
742
+ const schema2 = schemas.find((s) => s.name === name);
743
+ if (!schema2 || !schema2.typeDefinition?.schemas) {
744
+ return;
745
+ }
746
+ const elementIndex = schema2.typeDefinition.schemas.findIndex((s) => s.name === elementName);
747
+ if (elementIndex >= 0) {
748
+ newValues[elementIndex] = value;
749
+ setValue(name, newValues);
750
+ }
751
+ },
752
+ [name, setValue, values, schemas]
753
+ );
754
+ const schema = schemas.find((s) => s.name === name);
755
+ if (!schema || !schema.typeDefinition?.schemas) {
756
+ return null;
757
+ }
758
+ const valuesObject = {};
759
+ schema.typeDefinition.schemas.forEach((elemSchema, index) => {
760
+ valuesObject[elemSchema.name] = Array.isArray(values) ? values[index] : void 0;
761
+ });
762
+ const tupleContent = /* @__PURE__ */ jsx("div", { className: "border-surface-secondary flex flex-col gap-2 rounded-md border p-2", children: /* @__PURE__ */ jsx(
763
+ DialProvider,
764
+ {
765
+ schemas: schema.typeDefinition.schemas,
766
+ values: valuesObject,
767
+ onValueChange: handleElementChange,
768
+ children: /* @__PURE__ */ jsx(
769
+ DialPanel,
770
+ {
771
+ schemas: schema.typeDefinition.schemas,
772
+ groups: schema.typeDefinition.groups,
773
+ labelLayout: schema.labelPosition
774
+ }
775
+ )
776
+ }
777
+ ) });
778
+ if (!label) {
779
+ return tupleContent;
780
+ }
781
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
782
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
783
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
784
+ label
785
+ ] }),
786
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pl-1.5", children: [
787
+ schema.helpText && /* @__PURE__ */ jsxs(
788
+ "span",
789
+ {
790
+ className: "text-text-secondary cursor-help text-xs",
791
+ title: schema.helpText,
792
+ children: [
793
+ "\u24D8 ",
794
+ schema.helpText
795
+ ]
796
+ }
797
+ ),
798
+ tupleContent
799
+ ] })
800
+ ] });
801
+ };
802
+ var DialArrayInput = ({
803
+ name,
804
+ label,
805
+ labelPosition = "top",
806
+ icon
807
+ }) => {
808
+ const { getValue, setValue, schemas } = useDialSchema();
809
+ const schema = schemas.find((s) => s.name === name);
810
+ const arrayValue = useMemo(
811
+ () => getValue(name) || [],
812
+ [getValue, name]
813
+ );
814
+ const elementType = schema?.arrayElementType || "string";
815
+ const handleAddItem = useCallback(() => {
816
+ const newValue = [...arrayValue];
817
+ switch (elementType) {
818
+ case "number":
819
+ newValue.push(0);
820
+ break;
821
+ case "boolean":
822
+ newValue.push(false);
823
+ break;
824
+ default:
825
+ newValue.push("");
826
+ break;
827
+ }
828
+ setValue(name, newValue);
829
+ }, [arrayValue, elementType, name, setValue]);
830
+ const handleRemoveItem = useCallback(
831
+ (index) => {
832
+ const newValue = arrayValue.filter((_, i) => i !== index);
833
+ setValue(name, newValue);
834
+ },
835
+ [arrayValue, name, setValue]
836
+ );
837
+ const handleItemChange = useCallback(
838
+ (index, value) => {
839
+ const newValue = [...arrayValue];
840
+ newValue[index] = value;
841
+ setValue(name, newValue);
842
+ },
843
+ [arrayValue, name, setValue]
844
+ );
845
+ if (!schema) {
846
+ return null;
847
+ }
848
+ const renderItemInput = (item, index) => {
849
+ const itemKey = `${name}-${index}`;
850
+ switch (elementType) {
851
+ case "boolean":
852
+ return /* @__PURE__ */ jsx(
853
+ Switch,
854
+ {
855
+ checked: item,
856
+ onCheckedChange: (checked) => handleItemChange(index, checked)
857
+ },
858
+ itemKey
859
+ );
860
+ case "number":
861
+ return /* @__PURE__ */ jsx(
862
+ InputRoot,
863
+ {
864
+ type: "number",
865
+ value: item,
866
+ onChange: (e) => handleItemChange(index, Number(e.target.value)),
867
+ className: "flex-1",
868
+ step: schema.step || 0.1,
869
+ min: schema.min,
870
+ max: schema.max
871
+ },
872
+ itemKey
873
+ );
874
+ default:
875
+ return /* @__PURE__ */ jsx(
876
+ InputRoot,
877
+ {
878
+ type: "text",
879
+ value: item,
880
+ onChange: (e) => handleItemChange(index, e.target.value),
881
+ className: "flex-1",
882
+ placeholder: schema.placeholder
883
+ },
884
+ itemKey
885
+ );
886
+ }
887
+ };
888
+ const arrayContent = /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
889
+ arrayValue.map((item, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
890
+ /* @__PURE__ */ jsxs("span", { className: "text-text-secondary min-w-[20px] text-xs", children: [
891
+ index + 1,
892
+ "."
893
+ ] }),
894
+ renderItemInput(item, index),
895
+ /* @__PURE__ */ jsx(
896
+ Button,
897
+ {
898
+ variant: "ghost",
899
+ size: "sm",
900
+ icon: true,
901
+ onClick: () => handleRemoveItem(index),
902
+ className: "h-8 w-8",
903
+ title: "Remove item",
904
+ children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
905
+ }
906
+ )
907
+ ] }, `${name}-item-${index}`)),
908
+ /* @__PURE__ */ jsxs(Button, { variant: "secondary", size: "sm", onClick: handleAddItem, className: "self-start", children: [
909
+ /* @__PURE__ */ jsx(Plus, { className: "mr-1 h-4 w-4" }),
910
+ "Add ",
911
+ elementType
912
+ ] }),
913
+ arrayValue.length === 0 && /* @__PURE__ */ jsxs("div", { className: "text-text-secondary text-sm italic", children: [
914
+ 'No items. Click "Add ',
915
+ elementType,
916
+ '" to start.'
917
+ ] })
918
+ ] });
919
+ if (!label) {
920
+ return arrayContent;
921
+ }
922
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
923
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
924
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
925
+ label
926
+ ] }),
927
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pl-1.5", children: [
928
+ schema.helpText && /* @__PURE__ */ jsxs(
929
+ "span",
930
+ {
931
+ className: "text-text-secondary cursor-help text-xs",
932
+ title: schema.helpText,
933
+ children: [
934
+ "\u24D8 ",
935
+ schema.helpText
936
+ ]
937
+ }
938
+ ),
939
+ /* @__PURE__ */ jsx("div", { className: "border-surface-secondary rounded-md border p-2", children: arrayContent })
940
+ ] })
941
+ ] });
942
+ };
943
+ var DialInterfaceInput = ({
944
+ name,
945
+ label,
946
+ labelPosition = "top",
947
+ icon
948
+ }) => {
949
+ const { getValue, setValue, schemas } = useDialSchema();
950
+ const values = getValue(name);
951
+ const handlePropertyChange = useCallback(
952
+ (propName, value) => {
953
+ const newValues = { ...values };
954
+ newValues[propName] = value;
955
+ setValue(name, newValues);
956
+ },
957
+ [name, setValue, values]
958
+ );
959
+ const schema = schemas.find((s) => s.name === name);
960
+ if (!schema || !schema.typeDefinition?.schemas) {
961
+ return null;
962
+ }
963
+ const interfaceContent = /* @__PURE__ */ jsx("div", { className: "border-surface-secondary flex flex-col gap-2 rounded-md border p-2", children: /* @__PURE__ */ jsx(
964
+ DialProvider,
965
+ {
966
+ schemas: schema.typeDefinition.schemas,
967
+ values,
968
+ onValueChange: handlePropertyChange,
969
+ children: /* @__PURE__ */ jsx(
970
+ DialPanel,
971
+ {
972
+ schemas: schema.typeDefinition.schemas,
973
+ groups: schema.typeDefinition.groups,
974
+ labelLayout: schema.labelPosition
975
+ }
976
+ )
977
+ }
978
+ ) });
979
+ if (!label) {
980
+ return interfaceContent;
981
+ }
982
+ return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, children: [
983
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
984
+ /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
985
+ label
986
+ ] }),
987
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pl-1.5", children: [
988
+ schema.helpText && /* @__PURE__ */ jsxs(
989
+ "span",
990
+ {
991
+ className: "text-text-secondary cursor-help text-xs",
992
+ title: schema.helpText,
993
+ children: [
994
+ "\u24D8 ",
995
+ schema.helpText
996
+ ]
997
+ }
998
+ ),
999
+ interfaceContent
1000
+ ] })
1001
+ ] });
1002
+ };
1003
+ var generateGroupStyle = (config) => {
1004
+ const layout = config?.layout ?? "grid";
1005
+ if (layout === "grid") {
1006
+ return {
1007
+ display: "grid",
1008
+ gap: "0.5rem",
1009
+ gridAutoFlow: config?.gridFlow,
1010
+ gridTemplateColumns: config?.gridColTemplate ? config.gridColTemplate : config?.gridCols ? `repeat(${config.gridCols}, 1fr)` : "1fr",
1011
+ gridTemplateRows: config?.gridRowTemplate ? config.gridRowTemplate : config?.gridRows ? `repeat(${config.gridRows}, 1fr)` : void 0
1012
+ };
1013
+ }
1014
+ return {
1015
+ display: "flex",
1016
+ gap: "0.5rem",
1017
+ flexWrap: config?.flexWrap ?? "wrap",
1018
+ justifyContent: config?.flexJustifyContent
1019
+ };
1020
+ };
661
1021
  var DialPanel = ({
662
1022
  schemas,
663
1023
  groups: groupConfigs,
@@ -669,19 +1029,10 @@ var DialPanel = ({
669
1029
  groupConfigMap[config.name] = config;
670
1030
  });
671
1031
  }
672
- schemas.forEach((schema) => {
673
- const grouping = schema.tags?.grouping;
674
- if (grouping && !groupConfigMap[grouping]) {
675
- groupConfigMap[grouping] = { name: grouping };
676
- }
677
- if (grouping && schema.tags?.noWrap && groupConfigMap[grouping]) {
678
- groupConfigMap[grouping].noWrap = true;
679
- }
680
- });
681
1032
  const groupedSchemas = {};
682
1033
  const ungrouped = [];
683
1034
  schemas.forEach((schema) => {
684
- const grouping = schema.tags?.grouping;
1035
+ const grouping = schema?.grouping;
685
1036
  if (grouping) {
686
1037
  if (!groupedSchemas[grouping]) {
687
1038
  groupedSchemas[grouping] = [];
@@ -692,10 +1043,44 @@ var DialPanel = ({
692
1043
  }
693
1044
  });
694
1045
  const renderSchemaInput = (schema) => {
695
- const { name, dtype, icon, min, max, step, options, tags } = schema;
696
- const effectiveLabelPosition = tags?.labelPosition || labelLayout;
1046
+ const { name, dtype, icon, min, max, step, options } = schema;
1047
+ const effectiveLabelPosition = schema?.labelPosition || labelLayout;
697
1048
  const label = schema.label || name.charAt(0).toUpperCase() + name.slice(1);
698
1049
  switch (dtype) {
1050
+ case "tuple":
1051
+ return /* @__PURE__ */ jsx(
1052
+ DialTupleInput,
1053
+ {
1054
+ name,
1055
+ label,
1056
+ labelPosition: effectiveLabelPosition,
1057
+ icon
1058
+ },
1059
+ name
1060
+ );
1061
+ case "array":
1062
+ return /* @__PURE__ */ jsx(
1063
+ DialArrayInput,
1064
+ {
1065
+ name,
1066
+ label,
1067
+ labelPosition: effectiveLabelPosition,
1068
+ icon
1069
+ },
1070
+ name
1071
+ );
1072
+ case "interface":
1073
+ case "object":
1074
+ return /* @__PURE__ */ jsx(
1075
+ DialInterfaceInput,
1076
+ {
1077
+ name,
1078
+ label,
1079
+ labelPosition: effectiveLabelPosition,
1080
+ icon
1081
+ },
1082
+ name
1083
+ );
699
1084
  case "vector3":
700
1085
  return /* @__PURE__ */ jsx(
701
1086
  DialVec3Input,
@@ -711,6 +1096,19 @@ var DialPanel = ({
711
1096
  name
712
1097
  );
713
1098
  case "euler":
1099
+ case "euler-rad":
1100
+ return /* @__PURE__ */ jsx(
1101
+ DialEulerRadInput,
1102
+ {
1103
+ name,
1104
+ label,
1105
+ step: step || 1e-3,
1106
+ labelPosition: effectiveLabelPosition,
1107
+ icon
1108
+ },
1109
+ name
1110
+ );
1111
+ case "euler-deg":
714
1112
  return /* @__PURE__ */ jsx(
715
1113
  DialEulerDegInput,
716
1114
  {
@@ -722,7 +1120,7 @@ var DialPanel = ({
722
1120
  },
723
1121
  name
724
1122
  );
725
- case "euler-rad":
1123
+ case "euler-pi":
726
1124
  return /* @__PURE__ */ jsx(
727
1125
  DialEulerRadInput,
728
1126
  {
@@ -730,7 +1128,8 @@ var DialPanel = ({
730
1128
  label,
731
1129
  step: step || 1e-3,
732
1130
  labelPosition: effectiveLabelPosition,
733
- icon
1131
+ icon,
1132
+ format: "pi"
734
1133
  },
735
1134
  name
736
1135
  );
@@ -835,6 +1234,7 @@ var DialPanel = ({
835
1234
  return /* @__PURE__ */ jsx(DialColorInput, { name, label, icon }, name);
836
1235
  case "string":
837
1236
  case "text":
1237
+ case "select":
838
1238
  if (options && options.length > 0) {
839
1239
  return /* @__PURE__ */ jsx(
840
1240
  DialSelectInput,
@@ -859,21 +1259,69 @@ var DialPanel = ({
859
1259
  },
860
1260
  name
861
1261
  );
1262
+ case "button":
1263
+ return /* @__PURE__ */ jsx(
1264
+ DialButton,
1265
+ {
1266
+ name,
1267
+ label,
1268
+ icon,
1269
+ onClick: schema.onClick,
1270
+ variant: schema.variant,
1271
+ disabled: schema.disabled
1272
+ },
1273
+ name
1274
+ );
1275
+ case "custom":
1276
+ if (!schema.render && !schema.children) {
1277
+ console.warn(
1278
+ `DialPanel: dtype="custom" requires either render or children for "${name}"`
1279
+ );
1280
+ return null;
1281
+ }
1282
+ return /* @__PURE__ */ jsx(
1283
+ DialCustom,
1284
+ {
1285
+ schema,
1286
+ render: schema.render,
1287
+ children: schema.children
1288
+ },
1289
+ name
1290
+ );
862
1291
  default:
863
1292
  return null;
864
1293
  }
865
1294
  };
1295
+ const wrapWithStyle = (schema, component) => {
1296
+ const spanStyle = {};
1297
+ if (schema.colSpan) {
1298
+ spanStyle.gridColumn = `span ${schema.colSpan}`;
1299
+ }
1300
+ if (schema.rowSpan) {
1301
+ spanStyle.gridRow = `span ${schema.rowSpan}`;
1302
+ }
1303
+ if (Object.keys(spanStyle).length > 0) {
1304
+ return /* @__PURE__ */ jsx("div", { style: spanStyle, children: component }, schema.name);
1305
+ }
1306
+ return component;
1307
+ };
1308
+ const sortedGroups = Object.entries(groupedSchemas).sort(([nameA], [nameB]) => {
1309
+ const lowerA = nameA.toLowerCase();
1310
+ const lowerB = nameB.toLowerCase();
1311
+ if (lowerA === "transform") return -1;
1312
+ if (lowerB === "transform") return 1;
1313
+ return lowerA.localeCompare(lowerB);
1314
+ });
866
1315
  return /* @__PURE__ */ jsxs("div", { className: "dial-schema-renderer space-y-4", children: [
867
- Object.entries(groupedSchemas).map(([name, schemaList]) => {
1316
+ sortedGroups.map(([name, schemaList]) => {
868
1317
  const groupConfig = groupConfigMap[name];
869
- const hasNoWrap = groupConfig?.noWrap;
870
- const layoutClass = hasNoWrap ? "flex flex-row flex-no-wrap gap-2" : "flex flex-row gap-2";
1318
+ const groupStyle = generateGroupStyle(groupConfig);
871
1319
  return /* @__PURE__ */ jsxs("div", { className: "dial-group", children: [
872
- /* @__PURE__ */ jsx("div", { className: "text-text-primary mb-2 font-medium", children: name }),
873
- /* @__PURE__ */ jsx("div", { className: `dial-row ${layoutClass}`, children: schemaList.map(renderSchemaInput) })
1320
+ /* @__PURE__ */ jsx("div", { className: "text-text-primary mb-2 pl-1.5 font-medium capitalize", children: name }),
1321
+ /* @__PURE__ */ jsx("div", { className: "dial-row", style: groupStyle, children: schemaList.map((schema) => wrapWithStyle(schema, renderSchemaInput(schema))) })
874
1322
  ] }, name);
875
1323
  }),
876
- ungrouped.length > 0 && /* @__PURE__ */ jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsx("div", { className: "dial-row grid grid-cols-1 gap-2", children: ungrouped.map(renderSchemaInput) }) })
1324
+ ungrouped.length > 0 && /* @__PURE__ */ jsx("div", { className: "dial-group", children: /* @__PURE__ */ jsx("div", { className: "dial-row grid grid-cols-1 gap-2", children: ungrouped.map((schema) => wrapWithStyle(schema, renderSchemaInput(schema))) }) })
877
1325
  ] });
878
1326
  };
879
1327
  var DialInputWrapper2 = ({ label, labelPosition = "top", icon, children }) => {
@@ -881,7 +1329,7 @@ var DialInputWrapper2 = ({ label, labelPosition = "top", icon, children }) => {
881
1329
  return /* @__PURE__ */ jsx(Fragment, { children });
882
1330
  }
883
1331
  return /* @__PURE__ */ jsxs(FormLayout, { orientation: `label-${labelPosition}`, className: "overflow-x-hidden", children: [
884
- /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1", children: [
1332
+ /* @__PURE__ */ jsxs(Label, { size: "sm", className: "flex items-center gap-1 pl-1.5", children: [
885
1333
  /* @__PURE__ */ jsx(IconRenderer, { iconName: icon, size: 14, className: "text-text-secondary" }),
886
1334
  label
887
1335
  ] }),
@@ -934,24 +1382,24 @@ var DialBooleanInput = ({
934
1382
  }) => {
935
1383
  const { getValue, setValue } = useDialSchema();
936
1384
  const value = getValue(name) ?? false;
937
- const handleChange = useCallback((checked) => setValue(name, checked), [name]);
1385
+ const handleChange = useCallback((checked) => setValue(name, checked), [name, setValue]);
938
1386
  const switchProps = {
939
1387
  checked: value,
940
1388
  onCheckedChange: handleChange
941
1389
  };
942
1390
  if (!label || labelPosition === "inline") {
943
- return /* @__PURE__ */ jsx(Switch, { ...switchProps });
1391
+ return /* @__PURE__ */ jsx(Switch, { className: "ml-1.5", ...switchProps });
944
1392
  }
945
- return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, icon, ...props, children: /* @__PURE__ */ jsx(Switch, { ...switchProps }) });
1393
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, labelPosition, icon, ...props, children: /* @__PURE__ */ jsx(Switch, { className: "ml-1.5", ...switchProps }) });
946
1394
  };
947
1395
  var DialColorInput = ({ name, label, icon, ...props }) => {
948
1396
  const { getValue, setValue } = useDialSchema();
949
- const value = getValue(name) ?? "";
950
- const handleChange = useCallback(
951
- (e) => setValue(name, e.target.value),
952
- [name]
1397
+ const value = getValue(name);
1398
+ const handleValueChange = useCallback(
1399
+ (hexColor) => setValue(name, hexColor),
1400
+ [name, setValue]
953
1401
  );
954
- const inputComp = /* @__PURE__ */ jsx(ColorInput, { value, onChange: handleChange, prefix: label });
1402
+ const inputComp = /* @__PURE__ */ jsx(ColorInput, { className: "ml-1.5", value: value ?? "", onValueChange: handleValueChange });
955
1403
  return /* @__PURE__ */ jsx(DialInputWrapper2, { label, icon, ...props, children: inputComp });
956
1404
  };
957
1405
  var DialSelectInput = ({
@@ -969,7 +1417,7 @@ var DialSelectInput = ({
969
1417
  const parsed = !isNaN(Number(val)) ? Number(val) : val;
970
1418
  setValue(name, parsed);
971
1419
  },
972
- [name]
1420
+ [name, setValue]
973
1421
  );
974
1422
  const selectComponent = /* @__PURE__ */ jsxs(Select, { value: String(value), onValueChange: handleValueChange, children: [
975
1423
  /* @__PURE__ */ jsx(SelectTrigger, { size, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an option" }) }),
@@ -988,19 +1436,19 @@ var DialSliderInput = ({
988
1436
  }) => {
989
1437
  const { getValue, setValue } = useDialSchema();
990
1438
  const value = getValue(name) ?? min;
991
- const handleValueChange = useCallback(([val]) => setValue(name, val), [name]);
1439
+ const handleValueChange = useCallback(([val]) => setValue(name, val), [name, setValue]);
992
1440
  const sliderProps = {
993
1441
  value: [value],
994
1442
  onValueChange: handleValueChange,
995
1443
  min,
996
1444
  max,
997
1445
  step,
998
- className: "flex-1"
1446
+ className: "flex-1 pl-1.5"
999
1447
  };
1000
- return /* @__PURE__ */ jsxs(DialInputWrapper2, { label, icon, ...props, children: [
1448
+ return /* @__PURE__ */ jsx(DialInputWrapper2, { label, icon, ...props, children: /* @__PURE__ */ jsxs("div", { className: "flex", children: [
1001
1449
  /* @__PURE__ */ jsx(Slider, { ...sliderProps }),
1002
1450
  /* @__PURE__ */ jsx("span", { className: "text-text-secondary w-12 text-right text-sm", children: value })
1003
- ] });
1451
+ ] }) });
1004
1452
  };
1005
1453
 
1006
- export { DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialNumberInput, DialNumberRadInput, DialPanel, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialVec3Input, DialVectorInput, DialVectorInput2 };
1454
+ export { DialArrayInput, DialBooleanInput, DialCmInput, DialColorInput, DialDegInput, DialEulerDegInput, DialEulerInput, DialEulerRadInput, DialInchInput, DialIntInput, DialInterfaceInput, DialNumberInput, DialNumberRadInput, DialPanel, DialQuaternionInput, DialRadInput, DialSelectInput, DialSliderInput, DialTextInput, DialTimeInput, DialTupleInput, DialVec3Input, DialVectorInput, DialVectorInput2 };