@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.
- package/README.md +28 -0
- package/dist/SyncScroll/SyncScroll.cjs +13 -13
- package/dist/SyncScroll/SyncScroll.mjs +6 -6
- package/dist/SyncScroll/index.cjs +13 -13
- package/dist/SyncScroll/index.mjs +6 -6
- package/dist/SyncScroll/useSyncScroll.d.cts +5 -5
- package/dist/SyncScroll/useSyncScroll.d.ts +5 -5
- package/dist/{chunk-42WQWP6X.cjs → chunk-22T2AL3G.cjs} +8 -8
- package/dist/{chunk-NMRFBO43.mjs → chunk-2IMCDH5J.mjs} +3 -3
- package/dist/{chunk-EOLUDKZ3.mjs → chunk-2J466BYZ.mjs} +26 -47
- package/dist/{chunk-LVIZRMYN.cjs → chunk-2KBNQ5PY.cjs} +2 -2
- package/dist/{chunk-S7CCCMMU.cjs → chunk-34NDAZS6.cjs} +18 -9
- package/dist/{chunk-DM43KZU7.cjs → chunk-3F3LBOQJ.cjs} +2 -2
- package/dist/chunk-3JMUI4R2.cjs +136 -0
- package/dist/{chunk-CWS5PF67.cjs → chunk-3UQ323EB.cjs} +8 -42
- package/dist/{chunk-QXFFRQ7E.mjs → chunk-44U6VC46.mjs} +543 -95
- package/dist/{chunk-JW456O5K.mjs → chunk-4FB6B2ES.mjs} +1 -1
- package/dist/{chunk-66NKH2SV.cjs → chunk-4FIP3EXW.cjs} +6 -6
- package/dist/chunk-4SI4QV5R.cjs +14 -0
- package/dist/{chunk-IAFCABPY.mjs → chunk-4W7JKZVN.mjs} +3 -2
- package/dist/{chunk-EEGQLTSQ.cjs → chunk-4WWGBRQV.cjs} +77 -0
- package/dist/chunk-4Y5IF7R5.mjs +322 -0
- package/dist/chunk-52GNIM6H.mjs +12 -0
- package/dist/{chunk-X6WOCNBX.cjs → chunk-57NITJN5.cjs} +2 -2
- package/dist/{chunk-LMYA5IOK.mjs → chunk-5GBMVMLS.mjs} +4 -4
- package/dist/{chunk-QWBMDS3S.cjs → chunk-5HT74RHB.cjs} +5 -5
- package/dist/{chunk-4ODJAEOM.mjs → chunk-5JYH7TXY.mjs} +1 -1
- package/dist/{chunk-2CD4D2BR.cjs → chunk-6CJWNYHL.cjs} +3 -3
- package/dist/{chunk-CRX2ZCM2.cjs → chunk-6LTCLQH3.cjs} +6 -1
- package/dist/{chunk-WKK5UX2W.mjs → chunk-6U6LRS37.mjs} +2 -2
- package/dist/{chunk-4OUQ6NSX.cjs → chunk-6VIKDPCD.cjs} +2 -2
- package/dist/{chunk-6D7FGGSX.cjs → chunk-753HUOAI.cjs} +26 -26
- package/dist/{chunk-LYGYXV7S.cjs → chunk-7ICRKPIO.cjs} +16 -16
- package/dist/chunk-7MKCWXNV.cjs +32 -0
- package/dist/{chunk-FMKD5JBL.mjs → chunk-7TD77VF4.mjs} +10 -6
- package/dist/{chunk-5ARBIWXX.cjs → chunk-7TXGEIV3.cjs} +10 -10
- package/dist/chunk-7WJ73FEI.mjs +43 -0
- package/dist/{chunk-SLXM4F24.cjs → chunk-7YFUNCKT.cjs} +9 -9
- package/dist/{chunk-LGFWHV23.cjs → chunk-ACGXE2IO.cjs} +2 -2
- package/dist/{chunk-IU65XB2K.cjs → chunk-AFALU3AK.cjs} +2 -2
- package/dist/{chunk-EGIIZWP3.mjs → chunk-AFR23IX6.mjs} +1 -1
- package/dist/{chunk-CXPF274N.mjs → chunk-BK77KKIM.mjs} +1 -1
- package/dist/{chunk-4PMXRQXC.cjs → chunk-BNXJ5VBE.cjs} +6 -6
- package/dist/{chunk-3DIFS7CO.mjs → chunk-BPCD4L7T.mjs} +1 -1
- package/dist/{chunk-JQYMF2FW.cjs → chunk-BSDIS4KS.cjs} +4 -4
- package/dist/{chunk-REZAPK6Z.mjs → chunk-BTGAKK3B.mjs} +1 -1
- package/dist/{chunk-TB5L3GBP.cjs → chunk-BXJTOIRR.cjs} +584 -133
- package/dist/{chunk-35ZN6IW7.mjs → chunk-BYZ7HIIK.mjs} +1 -1
- package/dist/{chunk-XS5IUI62.cjs → chunk-BZI74LKX.cjs} +3 -2
- package/dist/{chunk-2IS7TXTN.mjs → chunk-CENP2PIB.mjs} +1 -1
- package/dist/{chunk-SAXISARG.cjs → chunk-CMO3SLOU.cjs} +2 -2
- package/dist/{chunk-CIOLL5LX.mjs → chunk-CN6SZKJZ.mjs} +1 -1
- package/dist/chunk-CRY23RMB.mjs +30 -0
- package/dist/{chunk-7AAMQGY2.cjs → chunk-CYWVJ3HF.cjs} +7 -7
- package/dist/{chunk-EVBYVJTW.mjs → chunk-D2LUQKPM.mjs} +130 -91
- package/dist/chunk-DF7WIFZK.cjs +316 -0
- package/dist/chunk-DKLVWYTC.cjs +71 -0
- package/dist/chunk-DKWLF3KW.mjs +149 -0
- package/dist/{chunk-F2LEYFWW.cjs → chunk-DPJPOBUT.cjs} +5 -5
- package/dist/{chunk-SR3M2R3S.mjs → chunk-DSQPFXYL.mjs} +22 -24
- package/dist/chunk-DVUN6GQI.cjs +21 -0
- package/dist/{chunk-7ACZU3BT.mjs → chunk-EG6JETUN.mjs} +1 -1
- package/dist/{chunk-T4U3BG2V.mjs → chunk-EGJLY5VZ.mjs} +1 -1
- package/dist/{chunk-AE5YDMFT.mjs → chunk-EXM6QMNR.mjs} +3 -3
- package/dist/{chunk-H6JGIEAU.mjs → chunk-EYMZP5PL.mjs} +1 -1
- package/dist/{chunk-K2ZYSKRU.mjs → chunk-EZ536NLQ.mjs} +1 -1
- package/dist/chunk-FRM27RLN.cjs +264 -0
- package/dist/chunk-FTB337IJ.cjs +143 -0
- package/dist/{chunk-7A5EMDZH.mjs → chunk-G35PQKU5.mjs} +5 -5
- package/dist/{chunk-ZJSL6HSL.mjs → chunk-GAAP5JO4.mjs} +1 -1
- package/dist/chunk-GHQA7PER.mjs +107 -0
- package/dist/{chunk-ND3WJ63Z.cjs → chunk-GVRVRBDU.cjs} +2 -2
- package/dist/chunk-GZ2BG42R.mjs +34 -0
- package/dist/chunk-H3JRYX2U.mjs +19 -0
- package/dist/{chunk-T66ETI7E.mjs → chunk-HBEU2PU2.mjs} +6 -1
- package/dist/{chunk-SMXN2KOV.mjs → chunk-HGTL7DFT.mjs} +1 -1
- package/dist/{chunk-JFPIUDGT.mjs → chunk-HI4LO6IJ.mjs} +1 -1
- package/dist/{chunk-QO2AM6MF.mjs → chunk-HIDTQ4Z2.mjs} +1 -1
- package/dist/{chunk-DDU3SPCC.mjs → chunk-HNW2DRPV.mjs} +58 -9
- package/dist/{chunk-5AKVDZMA.cjs → chunk-HSUL5OUG.cjs} +14 -13
- package/dist/{chunk-EY6PKK4X.cjs → chunk-I2COLDHC.cjs} +2 -2
- package/dist/chunk-IAWMCOHS.cjs +45 -0
- package/dist/chunk-IM5QVMGO.cjs +2 -0
- package/dist/{chunk-UQQBUPGF.mjs → chunk-IPMWGCAI.mjs} +5 -21
- package/dist/{chunk-SCUMWMIN.mjs → chunk-ITOTSGSL.mjs} +1 -1
- package/dist/{chunk-NJWKR5WR.mjs → chunk-IYTGWOZY.mjs} +1 -1
- package/dist/chunk-J74A5LNZ.cjs +179 -0
- package/dist/{chunk-CKGEV2JL.cjs → chunk-JDEZ6NNG.cjs} +2 -2
- package/dist/chunk-JEWTYDLX.cjs +119 -0
- package/dist/{chunk-Q7WCKEXG.cjs → chunk-JF43YF6J.cjs} +3 -3
- package/dist/chunk-JTFQFULL.cjs +166 -0
- package/dist/{chunk-XQ3MWA3D.mjs → chunk-KXKUQSNY.mjs} +3 -3
- package/dist/chunk-L2AKG4VJ.mjs +258 -0
- package/dist/{chunk-ZCSJGDX7.mjs → chunk-L2DME42Q.mjs} +1 -1
- package/dist/{chunk-K2BQNNEX.cjs → chunk-L6W77P4B.cjs} +8 -8
- package/dist/{chunk-N4Y5CBOI.cjs → chunk-LGUQR5AR.cjs} +4 -4
- package/dist/{chunk-ZA7WOIIB.mjs → chunk-LHP7FLGK.mjs} +1 -1
- package/dist/{chunk-MYZHDWBF.mjs → chunk-LLFE3UHZ.mjs} +10 -10
- package/dist/{chunk-332A4MHC.mjs → chunk-LNYUFL3Q.mjs} +1 -1
- package/dist/{chunk-BUAWPPXA.cjs → chunk-MQ5DGLVE.cjs} +11 -11
- package/dist/{chunk-EXY6WRH4.mjs → chunk-N6KP2HIC.mjs} +2 -2
- package/dist/{chunk-V75PKBIV.cjs → chunk-NEJKCSS5.cjs} +9 -9
- package/dist/{chunk-KPGZOX2A.cjs → chunk-NHFIDL5X.cjs} +5 -5
- package/dist/{chunk-JNV3UBBP.cjs → chunk-NIACIZWY.cjs} +6 -22
- package/dist/{chunk-PC5DHSC4.mjs → chunk-NKUK73WB.mjs} +71 -1
- package/dist/{chunk-5OZS5UJX.cjs → chunk-NSPAT6XV.cjs} +7 -7
- package/dist/chunk-NUBFD3YP.mjs +117 -0
- package/dist/{chunk-4BQPIY5Z.mjs → chunk-O2NGB7YP.mjs} +1 -1
- package/dist/{chunk-7H7U2X45.cjs → chunk-O3DFVRON.cjs} +17 -13
- package/dist/chunk-O57DAVOQ.mjs +1 -0
- package/dist/{chunk-S37MJNNP.cjs → chunk-OCADGDGL.cjs} +2 -2
- package/dist/{chunk-ZSAPBZ36.mjs → chunk-OW653F7T.mjs} +1 -1
- package/dist/{chunk-GRXUYMZJ.cjs → chunk-OX5FXH6W.cjs} +4 -4
- package/dist/{chunk-GQYUSBSO.mjs → chunk-P3FBRYWH.mjs} +3 -10
- package/dist/{chunk-P3YSHGT5.mjs → chunk-P55DAW6H.mjs} +1 -1
- package/dist/{chunk-JOOURIX7.cjs → chunk-P6E4WLMD.cjs} +4 -4
- package/dist/{chunk-WDSOII5A.cjs → chunk-P7J7XHDE.cjs} +2 -2
- package/dist/chunk-PHRZ5JE6.mjs +1 -0
- package/dist/{chunk-F3HOBNGR.cjs → chunk-PMG3NZF5.cjs} +4 -4
- package/dist/chunk-PMYOKSO3.mjs +30 -0
- package/dist/chunk-PTUZYCOY.mjs +314 -0
- package/dist/{chunk-PV6CEMTT.cjs → chunk-PWZ4F3WY.cjs} +4 -4
- package/dist/{chunk-QBAZ6TKZ.cjs → chunk-PZZW3E5D.cjs} +2 -2
- package/dist/chunk-Q3UN25WC.mjs +141 -0
- package/dist/{chunk-MXGPFCLN.cjs → chunk-QS6WNNLM.cjs} +2 -2
- package/dist/{chunk-PR3BCKLJ.mjs → chunk-QSDYNIZB.mjs} +2 -1
- package/dist/{chunk-GTBXRWCK.cjs → chunk-QTLUPDLH.cjs} +8 -7
- package/dist/{chunk-BXZSWY4N.mjs → chunk-QYJZ5KA6.mjs} +1 -1
- package/dist/{chunk-JYYAGDLZ.cjs → chunk-R22VW3EK.cjs} +2 -2
- package/dist/{chunk-NKGUQZTD.cjs → chunk-RHVKIZMQ.cjs} +2 -2
- package/dist/{chunk-U22YVR7M.mjs → chunk-RLY4A3IY.mjs} +15 -6
- package/dist/{chunk-OJOWMXXY.mjs → chunk-RR76Z6OK.mjs} +3 -3
- package/dist/{chunk-D562KO2I.mjs → chunk-RWHVZM2B.mjs} +2 -2
- package/dist/chunk-S4C7HO32.cjs +36 -0
- package/dist/chunk-SBAVMK7J.cjs +181 -0
- package/dist/{chunk-DAVMLI3P.cjs → chunk-SNUQOJLK.cjs} +4 -4
- package/dist/{chunk-KY2PYKDZ.mjs → chunk-SO5KFX2C.mjs} +1 -1
- package/dist/{chunk-HB65PF7F.cjs → chunk-SOHGIAGF.cjs} +2 -2
- package/dist/{chunk-RW4T7UBU.cjs → chunk-STJMH4NX.cjs} +3 -3
- package/dist/{chunk-VYINXXYX.cjs → chunk-SUWJDU3Y.cjs} +59 -61
- package/dist/chunk-T2BDPMCF.cjs +358 -0
- package/dist/{chunk-U5W4ZALG.cjs → chunk-T2OAWYOU.cjs} +6 -6
- package/dist/{chunk-Q7VP2WSX.mjs → chunk-TCCFFSXM.mjs} +29 -12
- package/dist/{chunk-PRNBDGOF.cjs → chunk-THE6FZKP.cjs} +29 -49
- package/dist/{chunk-RGOZPSTI.mjs → chunk-TMBHKVKH.mjs} +1 -1
- package/dist/chunk-TQOGGHSJ.mjs +23 -0
- package/dist/{chunk-VTW2DF63.mjs → chunk-TWDDNHRP.mjs} +1 -1
- package/dist/{chunk-DDIB73SZ.mjs → chunk-UB3ELCFR.mjs} +4 -4
- package/dist/{chunk-XTLGNJIO.mjs → chunk-UBGNADCN.mjs} +1 -1
- package/dist/chunk-UCAIVC2B.cjs +32 -0
- package/dist/chunk-UEHPZIQB.cjs +2 -0
- package/dist/{chunk-ASZIBFA6.cjs → chunk-UZTOUPJ7.cjs} +131 -92
- package/dist/{chunk-3NIMV5PH.mjs → chunk-V4THHKSO.mjs} +1 -1
- package/dist/{chunk-G5VBLDAM.mjs → chunk-VBEVJE7Q.mjs} +1 -1
- package/dist/chunk-VDYJAOMN.mjs +177 -0
- package/dist/{chunk-64VVW5YR.mjs → chunk-VLNU7Y2K.mjs} +8 -43
- package/dist/{chunk-ZS7ESTKH.cjs → chunk-VT6E2N6C.cjs} +8 -12
- package/dist/{chunk-OLYHHP67.mjs → chunk-VWLZKPDB.mjs} +6 -5
- package/dist/{chunk-UMGNAR3W.cjs → chunk-W22SQYEO.cjs} +8 -8
- package/dist/{chunk-VWVYCQWF.mjs → chunk-WBM7ATPT.mjs} +1 -1
- package/dist/{chunk-CH3BSVL4.cjs → chunk-WGY33IHV.cjs} +2 -2
- package/dist/{chunk-DAA2GQAS.cjs → chunk-WRJAYU2L.cjs} +27 -27
- package/dist/{chunk-7AEOJFD4.cjs → chunk-WX3VWVWD.cjs} +2 -2
- package/dist/{chunk-EBFPZBUQ.cjs → chunk-WYUJM72T.cjs} +7 -7
- package/dist/{chunk-EK3BTKZP.cjs → chunk-WZQ2BT3P.cjs} +142 -26
- package/dist/{chunk-KR7VBV3B.cjs → chunk-XIDCYS6G.cjs} +2 -1
- package/dist/{chunk-WHV6Z7YX.mjs → chunk-XIESS6HW.mjs} +1 -1
- package/dist/{chunk-UIJEAY6H.mjs → chunk-XTZURZIR.mjs} +1 -1
- package/dist/{chunk-7AZ3PLUC.mjs → chunk-XZLQHASB.mjs} +1 -1
- package/dist/{chunk-SRZ56OJH.mjs → chunk-XZTEU7ME.mjs} +3 -3
- package/dist/{chunk-RLTLA7VS.mjs → chunk-Y2IIKDRY.mjs} +1 -1
- package/dist/chunk-YDF6VWBW.cjs +151 -0
- package/dist/{chunk-CR6JOOO3.cjs → chunk-YGZHBIZP.cjs} +3 -10
- package/dist/{chunk-TWQONYWC.mjs → chunk-YMMSHGYC.mjs} +1 -1
- package/dist/chunk-YQL6JDVP.cjs +21 -0
- package/dist/{chunk-Q37KC3CL.mjs → chunk-YRNI7ZJ7.mjs} +134 -18
- package/dist/{chunk-3ZEQVODC.cjs → chunk-ZAK7AFVY.cjs} +2 -2
- package/dist/{chunk-W3IHFG4B.cjs → chunk-ZG33TW5I.cjs} +8 -8
- package/dist/{chunk-FK6ZROZE.mjs → chunk-ZJYPKTF4.mjs} +2 -1
- package/dist/chunk-ZMRODJ3I.mjs +149 -0
- package/dist/{chunk-AHD46BFN.mjs → chunk-ZQOQB6GF.mjs} +1 -1
- package/dist/dial/DialPanel.cjs +104 -92
- package/dist/dial/DialPanel.d.cts +5 -5
- package/dist/dial/DialPanel.d.ts +5 -5
- package/dist/dial/DialPanel.mjs +103 -91
- package/dist/dial/DialProvider.d.cts +16 -51
- package/dist/dial/DialProvider.d.ts +16 -51
- package/dist/dial/IconRenderer.d.cts +2 -2
- package/dist/dial/IconRenderer.d.ts +2 -2
- package/dist/dial/components/DialButton.cjs +22 -0
- package/dist/dial/components/DialButton.d.cts +28 -0
- package/dist/dial/components/DialButton.d.ts +28 -0
- package/dist/dial/components/DialButton.mjs +13 -0
- package/dist/dial/components/DialCustom.cjs +11 -0
- package/dist/dial/components/DialCustom.d.cts +34 -0
- package/dist/dial/components/DialCustom.d.ts +34 -0
- package/dist/dial/components/DialCustom.mjs +2 -0
- package/dist/dial/components/index.cjs +29 -0
- package/dist/dial/components/index.d.cts +4 -0
- package/dist/dial/components/index.d.ts +4 -0
- package/dist/dial/components/index.mjs +16 -0
- package/dist/dial/index.cjs +128 -108
- package/dist/dial/index.d.cts +5 -1
- package/dist/dial/index.d.ts +5 -1
- package/dist/dial/index.mjs +103 -91
- package/dist/dial/types.cjs +4 -0
- package/dist/dial/types.d.cts +21 -0
- package/dist/dial/types.d.ts +21 -0
- package/dist/dial/types.mjs +1 -0
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +108 -96
- package/dist/dial/wrapped-inputs/ControlledInputs.d.cts +8 -8
- package/dist/dial/wrapped-inputs/ControlledInputs.d.ts +8 -8
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +103 -91
- package/dist/dial/wrapped-inputs/DialArrayInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.d.cts +20 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.d.ts +20 -0
- package/dist/dial/wrapped-inputs/DialArrayInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialInputs.cjs +117 -105
- package/dist/dial/wrapped-inputs/DialInputs.d.cts +19 -17
- package/dist/dial/wrapped-inputs/DialInputs.d.ts +19 -17
- package/dist/dial/wrapped-inputs/DialInputs.mjs +103 -91
- package/dist/dial/wrapped-inputs/DialInterfaceInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.d.cts +13 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.d.ts +13 -0
- package/dist/dial/wrapped-inputs/DialInterfaceInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +94 -86
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.cts +4 -4
- package/dist/dial/wrapped-inputs/DialPresetsInput.d.ts +4 -4
- package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +93 -85
- package/dist/dial/wrapped-inputs/DialTupleInput.cjs +139 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.d.cts +18 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.d.ts +18 -0
- package/dist/dial/wrapped-inputs/DialTupleInput.mjs +130 -0
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +104 -92
- package/dist/dial/wrapped-inputs/DialVectorInput.d.cts +2 -2
- package/dist/dial/wrapped-inputs/DialVectorInput.d.ts +2 -2
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +103 -91
- package/dist/dial/wrapped-inputs/index.cjs +132 -112
- package/dist/dial/wrapped-inputs/index.d.cts +4 -2
- package/dist/dial/wrapped-inputs/index.d.ts +4 -2
- package/dist/dial/wrapped-inputs/index.mjs +103 -91
- package/dist/highlight-cursor/cursor-context.d.cts +2 -2
- package/dist/highlight-cursor/cursor-context.d.ts +2 -2
- package/dist/highlight-cursor/cursor-provider.cjs +3 -3
- package/dist/highlight-cursor/cursor-provider.d.cts +1 -1
- package/dist/highlight-cursor/cursor-provider.d.ts +1 -1
- package/dist/highlight-cursor/cursor-provider.mjs +2 -2
- package/dist/highlight-cursor/enhanced-components.cjs +16 -16
- package/dist/highlight-cursor/enhanced-components.d.cts +4 -4
- package/dist/highlight-cursor/enhanced-components.d.ts +4 -4
- package/dist/highlight-cursor/enhanced-components.mjs +11 -11
- package/dist/highlight-cursor/index.cjs +21 -21
- package/dist/highlight-cursor/index.mjs +12 -12
- package/dist/highlight-cursor/types.d.cts +2 -1
- package/dist/highlight-cursor/types.d.ts +2 -1
- package/dist/highlight-cursor/with-cursor.d.cts +2 -2
- package/dist/highlight-cursor/with-cursor.d.ts +2 -2
- package/dist/hooks/clientOnly.d.cts +4 -4
- package/dist/hooks/clientOnly.d.ts +4 -4
- package/dist/hooks/cn.cjs +2 -2
- package/dist/hooks/cn.mjs +1 -1
- package/dist/hooks/index.cjs +22 -22
- package/dist/hooks/index.mjs +5 -5
- package/dist/hooks/useIsMobile.cjs +2 -2
- package/dist/hooks/useIsMobile.mjs +1 -1
- package/dist/index.cjs +587 -407
- package/dist/index.css +13 -76
- package/dist/index.d.cts +20 -6
- package/dist/index.d.ts +20 -6
- package/dist/index.mjs +103 -91
- package/dist/schema-types-D9b7Dc1G.d.cts +163 -0
- package/dist/schema-types-D9b7Dc1G.d.ts +163 -0
- package/dist/styles/theme.css +1 -1
- package/dist/ui/DialBadge.cjs +10 -10
- package/dist/ui/DialBadge.mjs +6 -6
- package/dist/ui/UIKitBadge.cjs +10 -10
- package/dist/ui/UIKitBadge.mjs +6 -6
- package/dist/ui/alert-dialog.cjs +60 -0
- package/dist/ui/alert-dialog.d.cts +17 -0
- package/dist/ui/alert-dialog.d.ts +17 -0
- package/dist/ui/alert-dialog.mjs +11 -0
- package/dist/ui/avatar.cjs +10 -10
- package/dist/ui/avatar.d.cts +2 -2
- package/dist/ui/avatar.d.ts +2 -2
- package/dist/ui/avatar.mjs +6 -6
- package/dist/ui/badge.cjs +8 -8
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.mjs +6 -6
- package/dist/ui/button.cjs +8 -8
- package/dist/ui/button.d.cts +3 -3
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.mjs +6 -6
- package/dist/ui/card.cjs +14 -13
- package/dist/ui/card.d.cts +14 -2
- package/dist/ui/card.d.ts +14 -2
- package/dist/ui/card.mjs +7 -6
- package/dist/ui/checkbox.cjs +7 -7
- package/dist/ui/checkbox.mjs +6 -6
- package/dist/ui/collapsible.cjs +9 -9
- package/dist/ui/collapsible.mjs +6 -6
- package/dist/ui/context-menu.cjs +76 -0
- package/dist/ui/context-menu.d.cts +28 -0
- package/dist/ui/context-menu.d.ts +28 -0
- package/dist/ui/context-menu.mjs +11 -0
- package/dist/ui/drag-selectable/createSelectable.d.cts +2 -2
- package/dist/ui/drag-selectable/createSelectable.d.ts +2 -2
- package/dist/ui/drawer.cjs +16 -16
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/drawer.mjs +6 -6
- package/dist/ui/dropdown.cjs +21 -21
- package/dist/ui/dropdown.mjs +6 -6
- package/dist/ui/index.cjs +485 -317
- package/dist/ui/index.d.cts +15 -5
- package/dist/ui/index.d.ts +15 -5
- package/dist/ui/index.mjs +90 -82
- package/dist/ui/inputs/color-input.cjs +8 -8
- package/dist/ui/inputs/color-input.d.cts +7 -3
- package/dist/ui/inputs/color-input.d.ts +7 -3
- package/dist/ui/inputs/color-input.mjs +7 -7
- package/dist/ui/inputs/index.cjs +56 -56
- package/dist/ui/inputs/index.mjs +25 -25
- package/dist/ui/inputs/input-numbers.cjs +8 -8
- package/dist/ui/inputs/input-numbers.d.cts +7 -3
- package/dist/ui/inputs/input-numbers.d.ts +7 -3
- package/dist/ui/inputs/input-numbers.mjs +7 -7
- package/dist/ui/inputs/input.cjs +9 -9
- package/dist/ui/inputs/input.d.cts +4 -4
- package/dist/ui/inputs/input.d.ts +4 -4
- package/dist/ui/inputs/input.mjs +6 -6
- package/dist/ui/inputs/number-inputs/CmInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/CmInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/CmInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/CmInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/DegInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/DegInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/DegInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/DegInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +11 -11
- package/dist/ui/inputs/number-inputs/EulerDegInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerDegInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/EulerRadInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/InchInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/InchInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/InchInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/InchInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/IntInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/IntInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/IntInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/IntInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/KVectorInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/KVectorInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +10 -10
- package/dist/ui/inputs/number-inputs/QuaternionInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/QuaternionInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +9 -9
- package/dist/ui/inputs/number-inputs/RadInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/RadInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/RadInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/RadInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/TimeInput.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/TimeInput.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +10 -10
- package/dist/ui/inputs/number-inputs/Vec3Input.d.cts +2 -2
- package/dist/ui/inputs/number-inputs/Vec3Input.d.ts +2 -2
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +9 -9
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +9 -9
- package/dist/ui/inputs/number-inputs/VectorInput.d.cts +4 -2
- package/dist/ui/inputs/number-inputs/VectorInput.d.ts +4 -2
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +8 -8
- package/dist/ui/inputs/number-inputs/index.cjs +42 -42
- package/dist/ui/inputs/number-inputs/index.mjs +20 -20
- package/dist/ui/inputs/presets-input.cjs +10 -10
- package/dist/ui/inputs/presets-input.d.cts +2 -2
- package/dist/ui/inputs/presets-input.d.ts +2 -2
- package/dist/ui/inputs/presets-input.mjs +9 -9
- package/dist/ui/inputs/presets-rad-input.cjs +11 -11
- package/dist/ui/inputs/presets-rad-input.d.cts +2 -2
- package/dist/ui/inputs/presets-rad-input.d.ts +2 -2
- package/dist/ui/inputs/presets-rad-input.mjs +10 -10
- package/dist/ui/inputs/text-input.cjs +8 -8
- package/dist/ui/inputs/text-input.d.cts +2 -2
- package/dist/ui/inputs/text-input.d.ts +2 -2
- package/dist/ui/inputs/text-input.mjs +7 -7
- package/dist/ui/label.cjs +7 -7
- package/dist/ui/label.d.cts +4 -4
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.mjs +6 -6
- package/dist/ui/layout.cjs +7 -7
- package/dist/ui/layout.mjs +6 -6
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +8 -8
- package/dist/ui/layouts/dock-layout/DockLayoutView.d.cts +2 -1
- package/dist/ui/layouts/dock-layout/DockLayoutView.d.ts +2 -1
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +7 -7
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +12 -12
- package/dist/ui/layouts/dock-layout/LayoutSlots.d.cts +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.d.ts +3 -3
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +6 -6
- package/dist/ui/layouts/dock-layout/index.cjs +14 -14
- package/dist/ui/layouts/dock-layout/index.mjs +7 -7
- package/dist/ui/layouts/index.cjs +20 -20
- package/dist/ui/layouts/index.mjs +9 -9
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +12 -12
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +6 -6
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +8 -8
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.cts +13 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.d.ts +13 -1
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +7 -7
- package/dist/ui/layouts/liquid-layout/index.cjs +8 -8
- package/dist/ui/layouts/liquid-layout/index.mjs +7 -7
- package/dist/ui/modal.cjs +16 -16
- package/dist/ui/modal.mjs +6 -6
- package/dist/ui/navigation.cjs +8 -8
- package/dist/ui/navigation.d.cts +2 -2
- package/dist/ui/navigation.d.ts +2 -2
- package/dist/ui/navigation.mjs +7 -7
- package/dist/ui/pagination.cjs +14 -14
- package/dist/ui/pagination.mjs +7 -7
- package/dist/ui/popover.cjs +14 -10
- package/dist/ui/popover.d.cts +18 -8
- package/dist/ui/popover.d.ts +18 -8
- package/dist/ui/popover.mjs +6 -6
- package/dist/ui/progress.cjs +7 -7
- package/dist/ui/progress.d.cts +1 -1
- package/dist/ui/progress.d.ts +1 -1
- package/dist/ui/progress.mjs +6 -6
- package/dist/ui/radio-group.cjs +8 -8
- package/dist/ui/radio-group.mjs +6 -6
- package/dist/ui/resizable.cjs +9 -9
- package/dist/ui/resizable.d.cts +2 -2
- package/dist/ui/resizable.d.ts +2 -2
- package/dist/ui/resizable.mjs +6 -6
- package/dist/ui/select.cjs +17 -17
- package/dist/ui/select.d.cts +3 -2
- package/dist/ui/select.d.ts +3 -2
- package/dist/ui/select.mjs +6 -6
- package/dist/ui/separator.cjs +7 -7
- package/dist/ui/separator.mjs +6 -6
- package/dist/ui/sheet.cjs +14 -14
- package/dist/ui/sheet.d.cts +26 -13
- package/dist/ui/sheet.d.ts +26 -13
- package/dist/ui/sheet.mjs +6 -6
- package/dist/ui/sidebar.cjs +36 -36
- package/dist/ui/sidebar.mjs +12 -12
- package/dist/ui/simple-tree-view.cjs +7 -7
- package/dist/ui/simple-tree-view.d.cts +2 -2
- package/dist/ui/simple-tree-view.d.ts +2 -2
- package/dist/ui/simple-tree-view.mjs +6 -6
- package/dist/ui/skeleton.cjs +7 -7
- package/dist/ui/skeleton.mjs +6 -6
- package/dist/ui/slider.cjs +7 -7
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/slider.mjs +6 -6
- package/dist/ui/switch.cjs +7 -7
- package/dist/ui/switch.d.cts +4 -1
- package/dist/ui/switch.d.ts +4 -1
- package/dist/ui/switch.mjs +6 -6
- package/dist/ui/table.cjs +14 -14
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/table.mjs +6 -6
- package/dist/ui/tabs.cjs +14 -10
- package/dist/ui/tabs.d.cts +25 -7
- package/dist/ui/tabs.d.ts +25 -7
- package/dist/ui/tabs.mjs +6 -6
- package/dist/ui/textarea.cjs +7 -7
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.mjs +6 -6
- package/dist/ui/theme/ThemeProvider.cjs +15 -15
- package/dist/ui/theme/ThemeProvider.d.cts +3 -3
- package/dist/ui/theme/ThemeProvider.d.ts +3 -3
- package/dist/ui/theme/ThemeProvider.mjs +1 -1
- package/dist/ui/theme/ThemeToggles.cjs +11 -11
- package/dist/ui/theme/ThemeToggles.d.cts +18 -3
- package/dist/ui/theme/ThemeToggles.d.ts +18 -3
- package/dist/ui/theme/ThemeToggles.mjs +9 -9
- package/dist/ui/theme/index.cjs +15 -15
- package/dist/ui/theme/index.mjs +9 -9
- package/dist/ui/theme/themeScript.d.cts +2 -2
- package/dist/ui/theme/themeScript.d.ts +2 -2
- package/dist/ui/toast.cjs +19 -3
- package/dist/ui/toast.d.cts +1 -1
- package/dist/ui/toast.d.ts +1 -1
- package/dist/ui/toast.mjs +17 -1
- package/dist/ui/toggle-buttons.cjs +11 -11
- package/dist/ui/toggle-buttons.d.cts +7 -7
- package/dist/ui/toggle-buttons.d.ts +7 -7
- package/dist/ui/toggle-buttons.mjs +6 -6
- package/dist/ui/toggle-group.cjs +9 -9
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.ts +3 -3
- package/dist/ui/toggle-group.mjs +6 -6
- package/dist/ui/toggle.cjs +8 -8
- package/dist/ui/toggle.mjs +6 -6
- package/dist/ui/toolbar.cjs +9 -9
- package/dist/ui/toolbar.mjs +6 -6
- package/dist/ui/tooltip.cjs +10 -10
- package/dist/ui/tooltip.d.cts +2 -2
- package/dist/ui/tooltip.d.ts +2 -2
- package/dist/ui/tooltip.mjs +6 -6
- package/dist/ui/tree-view/TreeSearchBar.cjs +9 -9
- package/dist/ui/tree-view/TreeSearchBar.mjs +8 -8
- package/dist/ui/tree-view/TreeView.cjs +10 -8
- package/dist/ui/tree-view/TreeView.d.cts +12 -6
- package/dist/ui/tree-view/TreeView.d.ts +12 -6
- package/dist/ui/tree-view/TreeView.mjs +8 -6
- package/dist/ui/tree-view/hooks.cjs +31 -3
- package/dist/ui/tree-view/hooks.d.cts +33 -1
- package/dist/ui/tree-view/hooks.d.ts +33 -1
- package/dist/ui/tree-view/hooks.mjs +1 -1
- package/dist/ui/tree-view/index.cjs +49 -20
- package/dist/ui/tree-view/index.d.cts +1 -1
- package/dist/ui/tree-view/index.d.ts +1 -1
- package/dist/ui/tree-view/index.mjs +11 -10
- package/dist/ui/tree-view/types.d.cts +1 -0
- package/dist/ui/tree-view/types.d.ts +1 -0
- package/dist/ui/tree-view-legacy.cjs +13 -13
- package/dist/ui/tree-view-legacy.mjs +9 -9
- package/dist/ui/virtual-grid/VirtualGrid.cjs +21 -0
- package/dist/ui/virtual-grid/VirtualGrid.d.cts +10 -0
- package/dist/ui/virtual-grid/VirtualGrid.d.ts +10 -0
- package/dist/ui/virtual-grid/VirtualGrid.mjs +12 -0
- package/dist/ui/virtual-grid/index.cjs +26 -0
- package/dist/ui/virtual-grid/index.d.cts +4 -0
- package/dist/ui/virtual-grid/index.d.ts +4 -0
- package/dist/ui/virtual-grid/index.mjs +13 -0
- package/dist/ui/virtual-grid/types.cjs +2 -0
- package/dist/ui/virtual-grid/types.d.cts +70 -0
- package/dist/ui/virtual-grid/types.d.ts +70 -0
- package/dist/ui/virtual-grid/types.mjs +1 -0
- package/dist/ui/virtual-grid/useVirtualGrid.cjs +10 -0
- package/dist/ui/virtual-grid/useVirtualGrid.d.cts +9 -0
- package/dist/ui/virtual-grid/useVirtualGrid.d.ts +9 -0
- package/dist/ui/virtual-grid/useVirtualGrid.mjs +1 -0
- package/dist/ui/virtual-list/VirtualList.cjs +21 -0
- package/dist/ui/virtual-list/VirtualList.d.cts +10 -0
- package/dist/ui/virtual-list/VirtualList.d.ts +10 -0
- package/dist/ui/virtual-list/VirtualList.mjs +12 -0
- package/dist/ui/virtual-list/index.cjs +26 -0
- package/dist/ui/virtual-list/index.d.cts +4 -0
- package/dist/ui/virtual-list/index.d.ts +4 -0
- package/dist/ui/virtual-list/index.mjs +13 -0
- package/dist/ui/virtual-list/types.cjs +2 -0
- package/dist/ui/virtual-list/types.d.cts +54 -0
- package/dist/ui/virtual-list/types.d.ts +54 -0
- package/dist/ui/virtual-list/types.mjs +1 -0
- package/dist/ui/virtual-list/useVirtualList.cjs +10 -0
- package/dist/ui/virtual-list/useVirtualList.d.cts +9 -0
- package/dist/ui/virtual-list/useVirtualList.d.ts +9 -0
- package/dist/ui/virtual-list/useVirtualList.mjs +1 -0
- package/dist/ui/waterfall/CursorOverlay.cjs +7 -7
- package/dist/ui/waterfall/CursorOverlay.mjs +6 -6
- package/dist/ui/waterfall/NavigationControls.d.cts +2 -2
- package/dist/ui/waterfall/NavigationControls.d.ts +2 -2
- package/dist/ui/waterfall/TimelineEvent.cjs +7 -7
- package/dist/ui/waterfall/TimelineEvent.mjs +6 -6
- package/dist/ui/waterfall/TimelineProcessBar.cjs +7 -7
- package/dist/ui/waterfall/TimelineProcessBar.mjs +6 -6
- package/dist/ui/waterfall/Wedges.cjs +8 -8
- package/dist/ui/waterfall/Wedges.mjs +6 -6
- package/dist/ui/waterfall/WheelZoomContext.d.cts +2 -2
- package/dist/ui/waterfall/WheelZoomContext.d.ts +2 -2
- package/dist/ui/waterfall/hooks/useTimelineState.d.cts +4 -3
- package/dist/ui/waterfall/hooks/useTimelineState.d.ts +4 -3
- package/dist/ui/waterfall/hooks/useViewport.d.cts +4 -4
- package/dist/ui/waterfall/hooks/useViewport.d.ts +4 -4
- package/dist/ui/waterfall/index.cjs +20 -19
- package/dist/ui/waterfall/index.d.cts +2 -2
- package/dist/ui/waterfall/index.d.ts +2 -2
- package/dist/ui/waterfall/index.mjs +19 -18
- package/package.json +6 -9
- package/src/dial/DialPanel.tsx +167 -30
- package/src/dial/DialProvider.tsx +20 -68
- package/src/dial/components/DialButton.tsx +52 -0
- package/src/dial/components/DialCustom.tsx +45 -0
- package/src/dial/components/index.ts +3 -0
- package/src/dial/index.ts +11 -6
- package/src/dial/types.ts +32 -0
- package/src/dial/wrapped-inputs/ControlledInputs.tsx +22 -16
- package/src/dial/wrapped-inputs/DialArrayInput.tsx +175 -0
- package/src/dial/wrapped-inputs/DialInputs.tsx +119 -23
- package/src/dial/wrapped-inputs/DialInterfaceInput.tsx +80 -0
- package/src/dial/wrapped-inputs/DialPresetsInput.tsx +4 -3
- package/src/dial/wrapped-inputs/DialTupleInput.tsx +102 -0
- package/src/dial/wrapped-inputs/DialVectorInput.tsx +11 -21
- package/src/dial/wrapped-inputs/index.ts +6 -0
- package/src/highlight-cursor/cursor-provider.tsx +279 -131
- package/src/highlight-cursor/types.ts +2 -1
- package/src/hooks/cn.ts +5 -0
- package/src/hooks/useIsMobile.ts +14 -30
- package/src/index.css +0 -1
- package/src/styles/theme.css +2 -2
- package/src/ui/DialBadge.tsx +7 -5
- package/src/ui/alert-dialog.tsx +168 -0
- package/src/ui/badge.tsx +1 -0
- package/src/ui/card.tsx +76 -8
- package/src/ui/context-menu.tsx +358 -0
- package/src/ui/index.ts +6 -0
- package/src/ui/inputs/color-input.tsx +92 -8
- package/src/ui/inputs/input-numbers.tsx +148 -92
- package/src/ui/inputs/number-inputs/EulerRadInput.tsx +43 -42
- package/src/ui/inputs/number-inputs/VectorInput.tsx +2 -1
- package/src/ui/inputs/presets-rad-input.tsx +5 -2
- package/src/ui/inputs/text-input.tsx +1 -1
- package/src/ui/layouts/dock-layout/DockLayoutView.tsx +15 -4
- package/src/ui/layouts/dock-layout/LayoutSlots.tsx +14 -5
- package/src/ui/layouts/liquid-layout/LiquidLayoutView.tsx +44 -5
- package/src/ui/popover.tsx +10 -49
- package/src/ui/progress.tsx +7 -14
- package/src/ui/select.tsx +5 -2
- package/src/ui/separator.tsx +1 -1
- package/src/ui/sheet.tsx +14 -116
- package/src/ui/sidebar.tsx +18 -19
- package/src/ui/switch.tsx +7 -2
- package/src/ui/tabs.tsx +29 -58
- package/src/ui/theme/ThemeProvider.tsx +4 -3
- package/src/ui/theme/ThemeToggles.tsx +48 -12
- package/src/ui/toast.tsx +13 -16
- package/src/ui/tooltip.tsx +3 -30
- package/src/ui/tree-view/TreeView.tsx +179 -21
- package/src/ui/tree-view/hooks.tsx +148 -0
- package/src/ui/tree-view/types.ts +2 -1
- package/src/ui/virtual-grid/VirtualGrid.tsx +345 -0
- package/src/ui/virtual-grid/index.ts +10 -0
- package/src/ui/virtual-grid/types.ts +72 -0
- package/src/ui/virtual-grid/useVirtualGrid.ts +243 -0
- package/src/ui/virtual-list/VirtualList.tsx +207 -0
- package/src/ui/virtual-list/index.ts +8 -0
- package/src/ui/virtual-list/types.ts +54 -0
- package/src/ui/virtual-list/useVirtualList.ts +203 -0
- package/src/ui/waterfall/TimelineProcessBar.tsx +10 -4
- package/dist/auth/components/index.cjs +0 -128
- package/dist/auth/components/index.d.cts +0 -2
- package/dist/auth/components/index.d.ts +0 -2
- package/dist/auth/components/index.mjs +0 -119
- package/dist/auth/components/user-avatar/index.cjs +0 -127
- package/dist/auth/components/user-avatar/index.d.cts +0 -8
- package/dist/auth/components/user-avatar/index.d.ts +0 -8
- package/dist/auth/components/user-avatar/index.mjs +0 -118
- package/dist/auth/context/user-context.cjs +0 -10
- package/dist/auth/context/user-context.d.cts +0 -13
- package/dist/auth/context/user-context.d.ts +0 -13
- package/dist/auth/context/user-context.mjs +0 -1
- package/dist/auth/handler/fetch-auth.cjs +0 -11
- package/dist/auth/handler/fetch-auth.d.cts +0 -3
- package/dist/auth/handler/fetch-auth.d.ts +0 -3
- package/dist/auth/handler/fetch-auth.mjs +0 -2
- package/dist/auth/handler/fetch-server.cjs +0 -11
- package/dist/auth/handler/fetch-server.d.cts +0 -3
- package/dist/auth/handler/fetch-server.d.ts +0 -3
- package/dist/auth/handler/fetch-server.mjs +0 -2
- package/dist/auth/handler/get-session.cjs +0 -12
- package/dist/auth/handler/get-session.d.cts +0 -21
- package/dist/auth/handler/get-session.d.ts +0 -21
- package/dist/auth/handler/get-session.mjs +0 -3
- package/dist/auth/handler/get-sessions.cjs +0 -12
- package/dist/auth/handler/get-sessions.d.cts +0 -21
- package/dist/auth/handler/get-sessions.d.ts +0 -21
- package/dist/auth/handler/get-sessions.mjs +0 -3
- package/dist/auth/handler/sign-in-handler.cjs +0 -11
- package/dist/auth/handler/sign-in-handler.d.cts +0 -6
- package/dist/auth/handler/sign-in-handler.d.ts +0 -6
- package/dist/auth/handler/sign-in-handler.mjs +0 -2
- package/dist/auth/handler/sign-out-handler.cjs +0 -12
- package/dist/auth/handler/sign-out-handler.d.cts +0 -5
- package/dist/auth/handler/sign-out-handler.d.ts +0 -5
- package/dist/auth/handler/sign-out-handler.mjs +0 -3
- package/dist/auth/hooks/use-sign-in.cjs +0 -14
- package/dist/auth/hooks/use-sign-in.d.cts +0 -9
- package/dist/auth/hooks/use-sign-in.d.ts +0 -9
- package/dist/auth/hooks/use-sign-in.mjs +0 -5
- package/dist/auth/hooks/use-sign-out.cjs +0 -15
- package/dist/auth/hooks/use-sign-out.d.cts +0 -6
- package/dist/auth/hooks/use-sign-out.d.ts +0 -6
- package/dist/auth/hooks/use-sign-out.mjs +0 -6
- package/dist/auth/hooks/use-user.cjs +0 -11
- package/dist/auth/hooks/use-user.d.cts +0 -8
- package/dist/auth/hooks/use-user.d.ts +0 -8
- package/dist/auth/hooks/use-user.mjs +0 -2
- package/dist/auth/hooks/use-vuer-sessions.cjs +0 -15
- package/dist/auth/hooks/use-vuer-sessions.d.cts +0 -9
- package/dist/auth/hooks/use-vuer-sessions.d.ts +0 -9
- package/dist/auth/hooks/use-vuer-sessions.mjs +0 -6
- package/dist/auth/index.cjs +0 -165
- package/dist/auth/index.d.cts +0 -13
- package/dist/auth/index.d.ts +0 -13
- package/dist/auth/index.mjs +0 -124
- package/dist/auth/localstorage-key.cjs +0 -14
- package/dist/auth/localstorage-key.d.cts +0 -4
- package/dist/auth/localstorage-key.d.ts +0 -4
- package/dist/auth/localstorage-key.mjs +0 -1
- package/dist/auth/types.d.cts +0 -27
- package/dist/auth/types.d.ts +0 -27
- package/dist/auth/vuer-user-provider.cjs +0 -14
- package/dist/auth/vuer-user-provider.d.cts +0 -9
- package/dist/auth/vuer-user-provider.d.ts +0 -9
- package/dist/auth/vuer-user-provider.mjs +0 -5
- package/dist/chunk-2DXJJLJL.mjs +0 -51
- package/dist/chunk-2GXIGEKC.mjs +0 -66
- package/dist/chunk-3WMO5QJJ.cjs +0 -8
- package/dist/chunk-5OHAV55L.mjs +0 -24
- package/dist/chunk-6C53NKMF.mjs +0 -206
- package/dist/chunk-6GJM7TPE.cjs +0 -28
- package/dist/chunk-7E5Y224I.cjs +0 -14
- package/dist/chunk-7R5HY3IM.cjs +0 -12
- package/dist/chunk-EMVKGL5D.mjs +0 -28
- package/dist/chunk-EMXEFZEB.cjs +0 -30
- package/dist/chunk-EOSYXHEH.mjs +0 -27
- package/dist/chunk-EXXV3BXT.cjs +0 -23
- package/dist/chunk-F4Z5KATZ.cjs +0 -8
- package/dist/chunk-FROQ45MN.mjs +0 -6
- package/dist/chunk-FZAGJSW2.cjs +0 -47
- package/dist/chunk-H7RH4CZ7.cjs +0 -54
- package/dist/chunk-HOMAESTR.mjs +0 -12
- package/dist/chunk-IPQU5CJD.mjs +0 -21
- package/dist/chunk-JR4TVE43.cjs +0 -31
- package/dist/chunk-KIZEJMW4.cjs +0 -15
- package/dist/chunk-KQW3YARN.cjs +0 -117
- package/dist/chunk-L2XJ5Q7T.cjs +0 -58
- package/dist/chunk-LAPOK2L4.mjs +0 -193
- package/dist/chunk-MFYDZKQF.mjs +0 -28
- package/dist/chunk-MNCBTS63.cjs +0 -68
- package/dist/chunk-MO5V43Z3.mjs +0 -13
- package/dist/chunk-MRMSCW3P.cjs +0 -19
- package/dist/chunk-OOHCJIRV.cjs +0 -26
- package/dist/chunk-PX2H7Z4D.mjs +0 -26
- package/dist/chunk-PXDT5GFJ.mjs +0 -13
- package/dist/chunk-Q3CJUGX3.cjs +0 -21
- package/dist/chunk-Q76WU4DL.cjs +0 -17
- package/dist/chunk-R4HT3SYR.cjs +0 -208
- package/dist/chunk-RSBVQ7SJ.cjs +0 -54
- package/dist/chunk-RTYZO2AC.cjs +0 -30
- package/dist/chunk-SO2UTKSV.mjs +0 -17
- package/dist/chunk-UT7B4TLZ.mjs +0 -5
- package/dist/chunk-V4KDK3BN.mjs +0 -52
- package/dist/chunk-V5T6XOSB.cjs +0 -222
- package/dist/chunk-VSFPXAGN.mjs +0 -10
- package/dist/chunk-VSIOXWSI.cjs +0 -53
- package/dist/chunk-WDS3VL7E.mjs +0 -56
- package/dist/chunk-X3H6FYAM.cjs +0 -15
- package/dist/chunk-XHJDRQD7.mjs +0 -29
- package/dist/chunk-Y2XVZEXM.mjs +0 -45
- package/dist/chunk-Z7BZFZEV.mjs +0 -15
- package/dist/dial/DialProvider.example.cjs +0 -72
- package/dist/dial/DialProvider.example.d.cts +0 -7
- package/dist/dial/DialProvider.example.d.ts +0 -7
- package/dist/dial/DialProvider.example.mjs +0 -68
- package/dist/styles/toast.css +0 -64
- package/dist/styles/toast.d.cts +0 -2
- package/dist/styles/toast.d.ts +0 -2
- package/src/auth/components/index.ts +0 -1
- package/src/auth/components/user-avatar/index.tsx +0 -94
- package/src/auth/context/user-context.ts +0 -15
- package/src/auth/handler/fetch-auth.ts +0 -10
- package/src/auth/handler/fetch-server.ts +0 -10
- package/src/auth/handler/get-session.ts +0 -19
- package/src/auth/handler/get-sessions.ts +0 -16
- package/src/auth/handler/sign-in-handler.ts +0 -64
- package/src/auth/handler/sign-out-handler.ts +0 -9
- package/src/auth/hooks/use-sign-in.ts +0 -33
- package/src/auth/hooks/use-sign-out.ts +0 -30
- package/src/auth/hooks/use-user.ts +0 -10
- package/src/auth/hooks/use-vuer-sessions.ts +0 -29
- package/src/auth/index.ts +0 -12
- package/src/auth/localstorage-key.ts +0 -3
- package/src/auth/types.ts +0 -38
- package/src/auth/vuer-user-provider.tsx +0 -58
- package/src/dial/DialProvider.example.tsx +0 -80
- package/src/styles/toast.css +0 -67
- /package/dist/{auth/types.mjs → chunk-6NZ5VXK7.mjs} +0 -0
- /package/dist/{chunk-UXWS62ZO.mjs → chunk-6THKQIF7.mjs} +0 -0
- /package/dist/{auth/types.cjs → chunk-AS3GNGJN.cjs} +0 -0
- /package/dist/{chunk-NK7L5H2Y.cjs → chunk-DPILGC4Y.cjs} +0 -0
- /package/dist/{chunk-YWECB5GR.cjs → chunk-F4NQLN5E.cjs} +0 -0
- /package/dist/{chunk-YYLBP356.mjs → chunk-NU5W73NH.mjs} +0 -0
package/src/ui/popover.tsx
CHANGED
|
@@ -1,49 +1,33 @@
|
|
|
1
1
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
|
-
import { cn
|
|
4
|
+
import { cn } from "../hooks";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Popover root based on Radix primitives.
|
|
8
8
|
*/
|
|
9
|
-
function
|
|
9
|
+
function Popover({ ...props }: ComponentProps<typeof PopoverPrimitive.Root>) {
|
|
10
10
|
return <PopoverPrimitive.Root data-slot="popover" {...props} />;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
function PopoverFallback({ ...props }: ComponentProps<"div">) {
|
|
14
|
-
return <div data-slot="popover" {...props} />;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const Popover = createClientOnlyComponent(PopoverRoot, PopoverFallback);
|
|
18
|
-
|
|
19
13
|
/**
|
|
20
14
|
* Element that opens the popover.
|
|
21
15
|
*/
|
|
22
|
-
function
|
|
16
|
+
function PopoverTrigger({ ...props }: ComponentProps<typeof PopoverPrimitive.Trigger>) {
|
|
23
17
|
return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />;
|
|
24
18
|
}
|
|
25
19
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (asChild) {
|
|
32
|
-
return <>{children}</>;
|
|
33
|
-
}
|
|
34
|
-
return (
|
|
35
|
-
<button data-slot="popover-trigger" {...props}>
|
|
36
|
-
{children}
|
|
37
|
-
</button>
|
|
38
|
-
);
|
|
20
|
+
/**
|
|
21
|
+
* Element that opens the popover.
|
|
22
|
+
*/
|
|
23
|
+
function PopoverClose({ ...props }: ComponentProps<typeof PopoverPrimitive.Close>) {
|
|
24
|
+
return <PopoverPrimitive.Close data-slot="popover-close" {...props} />;
|
|
39
25
|
}
|
|
40
26
|
|
|
41
|
-
const PopoverTrigger = createClientOnlyComponent(PopoverTriggerRoot, PopoverTriggerFallback);
|
|
42
|
-
|
|
43
27
|
/**
|
|
44
28
|
* Floating content panel for the popover.
|
|
45
29
|
*/
|
|
46
|
-
function
|
|
30
|
+
function PopoverContent({
|
|
47
31
|
className,
|
|
48
32
|
align = "center",
|
|
49
33
|
sideOffset = 4,
|
|
@@ -84,31 +68,8 @@ function PopoverContentRoot({
|
|
|
84
68
|
);
|
|
85
69
|
}
|
|
86
70
|
|
|
87
|
-
function PopoverContentFallback({ className, ...props }: ComponentProps<"div">) {
|
|
88
|
-
return (
|
|
89
|
-
<div
|
|
90
|
-
data-slot="popover-content"
|
|
91
|
-
className={cn(
|
|
92
|
-
"bg-bg-primary",
|
|
93
|
-
"rounded-uk-lg",
|
|
94
|
-
"p-xl",
|
|
95
|
-
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
96
|
-
"z-20",
|
|
97
|
-
"border-none",
|
|
98
|
-
"outline-hidden",
|
|
99
|
-
"liquid-dark:liquid-dark-bg",
|
|
100
|
-
"liquid-light:liquid-light-bg",
|
|
101
|
-
className,
|
|
102
|
-
)}
|
|
103
|
-
{...props}
|
|
104
|
-
/>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const PopoverContent = createClientOnlyComponent(PopoverContentRoot, PopoverContentFallback);
|
|
109
|
-
|
|
110
71
|
function PopoverAnchor({ ...props }: ComponentProps<typeof PopoverPrimitive.Anchor>) {
|
|
111
72
|
return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />;
|
|
112
73
|
}
|
|
113
74
|
|
|
114
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
75
|
+
export { Popover, PopoverTrigger, PopoverClose, PopoverContent, PopoverAnchor };
|
package/src/ui/progress.tsx
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2
|
+
import { type ComponentProps } from "react";
|
|
3
3
|
|
|
4
|
-
import { cn } from "../hooks"
|
|
4
|
+
import { cn } from "../hooks";
|
|
5
5
|
|
|
6
|
-
function Progress({
|
|
7
|
-
className,
|
|
8
|
-
value,
|
|
9
|
-
...props
|
|
10
|
-
}: ComponentProps<typeof ProgressPrimitive.Root>) {
|
|
6
|
+
function Progress({ className, value, ...props }: ComponentProps<typeof ProgressPrimitive.Root>) {
|
|
11
7
|
return (
|
|
12
8
|
<ProgressPrimitive.Root
|
|
13
9
|
data-slot="progress"
|
|
14
|
-
className={cn(
|
|
15
|
-
"bg-bg-secondary relative h-2 w-full overflow-hidden rounded-uk-xl",
|
|
16
|
-
className
|
|
17
|
-
)}
|
|
10
|
+
className={cn("bg-bg-secondary rounded-uk-xl relative h-2 w-full overflow-hidden", className)}
|
|
18
11
|
{...props}
|
|
19
12
|
>
|
|
20
13
|
<ProgressPrimitive.Indicator
|
|
@@ -23,7 +16,7 @@ function Progress({
|
|
|
23
16
|
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
|
|
24
17
|
/>
|
|
25
18
|
</ProgressPrimitive.Root>
|
|
26
|
-
)
|
|
19
|
+
);
|
|
27
20
|
}
|
|
28
21
|
|
|
29
|
-
export { Progress }
|
|
22
|
+
export { Progress };
|
package/src/ui/select.tsx
CHANGED
|
@@ -100,7 +100,9 @@ export const selectTriggerVariants = cva(
|
|
|
100
100
|
|
|
101
101
|
interface SelectTriggerProps
|
|
102
102
|
extends Omit<ComponentProps<typeof SelectPrimitive.Trigger>, "ref">,
|
|
103
|
-
VariantProps<typeof selectTriggerVariants> {
|
|
103
|
+
VariantProps<typeof selectTriggerVariants> {
|
|
104
|
+
icon?: ReactNode;
|
|
105
|
+
}
|
|
104
106
|
|
|
105
107
|
/**
|
|
106
108
|
* Trigger button for the select.
|
|
@@ -113,6 +115,7 @@ export function SelectTrigger({
|
|
|
113
115
|
state,
|
|
114
116
|
font,
|
|
115
117
|
align,
|
|
118
|
+
icon,
|
|
116
119
|
...props
|
|
117
120
|
}: SelectTriggerProps) {
|
|
118
121
|
return (
|
|
@@ -133,7 +136,7 @@ export function SelectTrigger({
|
|
|
133
136
|
>
|
|
134
137
|
{children}
|
|
135
138
|
<SelectPrimitive.Icon asChild>
|
|
136
|
-
<ChevronDownIcon className="opacity-50" />
|
|
139
|
+
{icon || <ChevronDownIcon className="opacity-50" />}
|
|
137
140
|
</SelectPrimitive.Icon>
|
|
138
141
|
</SelectPrimitive.Trigger>
|
|
139
142
|
);
|
package/src/ui/separator.tsx
CHANGED
package/src/ui/sheet.tsx
CHANGED
|
@@ -2,75 +2,29 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
|
2
2
|
import { XIcon } from "lucide-react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
|
-
import { cn
|
|
5
|
+
import { cn } from "../hooks";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Sheet root using dialog primitives.
|
|
9
9
|
*/
|
|
10
|
-
function
|
|
10
|
+
function Sheet({ ...props }: ComponentProps<typeof SheetPrimitive.Root>) {
|
|
11
11
|
return <SheetPrimitive.Root data-slot="sheet" {...props} />;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
function SheetFallback({ ...props }: ComponentProps<"div">) {
|
|
15
|
-
return <div data-slot="sheet" {...props} />;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const Sheet = createClientOnlyComponent(SheetRoot, SheetFallback);
|
|
19
|
-
|
|
20
14
|
/**
|
|
21
15
|
* Trigger element that opens the sheet.
|
|
22
16
|
*/
|
|
23
|
-
function
|
|
17
|
+
function SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>) {
|
|
24
18
|
return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;
|
|
25
19
|
}
|
|
26
20
|
|
|
27
|
-
function SheetTriggerFallback({
|
|
28
|
-
asChild,
|
|
29
|
-
children,
|
|
30
|
-
...props
|
|
31
|
-
}: ComponentProps<"button"> & { asChild?: boolean }) {
|
|
32
|
-
if (asChild) {
|
|
33
|
-
return <>{children}</>;
|
|
34
|
-
}
|
|
35
|
-
return (
|
|
36
|
-
<button data-slot="sheet-trigger" {...props}>
|
|
37
|
-
{children}
|
|
38
|
-
</button>
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
const SheetTrigger = createClientOnlyComponent(SheetTriggerRoot, SheetTriggerFallback);
|
|
43
|
-
|
|
44
21
|
/**
|
|
45
22
|
* Close control for the sheet.
|
|
46
23
|
*/
|
|
47
|
-
function
|
|
48
|
-
return
|
|
49
|
-
<SheetPrimitive.Close
|
|
50
|
-
data-slot="sheet-close"
|
|
51
|
-
className={cn("focus:ring-0 focus:outline-none")}
|
|
52
|
-
{...props}
|
|
53
|
-
/>
|
|
54
|
-
);
|
|
24
|
+
function SheetClose({ ...props }: ComponentProps<typeof SheetPrimitive.Close>) {
|
|
25
|
+
return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;
|
|
55
26
|
}
|
|
56
27
|
|
|
57
|
-
function SheetCloseFallback({
|
|
58
|
-
asChild,
|
|
59
|
-
children,
|
|
60
|
-
...props
|
|
61
|
-
}: ComponentProps<"button"> & { asChild?: boolean }) {
|
|
62
|
-
if (asChild) {
|
|
63
|
-
return <>{children}</>;
|
|
64
|
-
}
|
|
65
|
-
return (
|
|
66
|
-
<button data-slot="sheet-close" className={cn("focus:ring-0 focus:outline-none")} {...props}>
|
|
67
|
-
{children}
|
|
68
|
-
</button>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
const SheetClose = createClientOnlyComponent(SheetCloseRoot, SheetCloseFallback);
|
|
73
|
-
|
|
74
28
|
/**
|
|
75
29
|
* Portal for sheet overlay and content.
|
|
76
30
|
*/
|
|
@@ -97,7 +51,7 @@ function SheetOverlay({ className, ...props }: ComponentProps<typeof SheetPrimit
|
|
|
97
51
|
/**
|
|
98
52
|
* Sliding panel content for the sheet.
|
|
99
53
|
*/
|
|
100
|
-
function
|
|
54
|
+
function SheetContent({
|
|
101
55
|
className,
|
|
102
56
|
children,
|
|
103
57
|
side = "right",
|
|
@@ -111,21 +65,21 @@ function SheetContentRoot({
|
|
|
111
65
|
<SheetPrimitive.Content
|
|
112
66
|
data-slot="sheet-content"
|
|
113
67
|
className={cn(
|
|
114
|
-
"liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out
|
|
68
|
+
"liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
115
69
|
side === "right" &&
|
|
116
|
-
"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-
|
|
70
|
+
"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
117
71
|
side === "left" &&
|
|
118
|
-
"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-
|
|
72
|
+
"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
119
73
|
side === "top" &&
|
|
120
|
-
"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto",
|
|
74
|
+
"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
121
75
|
side === "bottom" &&
|
|
122
|
-
"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto",
|
|
76
|
+
"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
123
77
|
className,
|
|
124
78
|
)}
|
|
125
79
|
{...props}
|
|
126
80
|
>
|
|
127
81
|
{children}
|
|
128
|
-
<SheetPrimitive.Close className="
|
|
82
|
+
<SheetPrimitive.Close className="ring-offset-bg-primary focus:ring-bg-mask data-[state=open]:bg-bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none">
|
|
129
83
|
<XIcon className="size-4" />
|
|
130
84
|
<span className="sr-only">Close</span>
|
|
131
85
|
</SheetPrimitive.Close>
|
|
@@ -134,38 +88,6 @@ function SheetContentRoot({
|
|
|
134
88
|
);
|
|
135
89
|
}
|
|
136
90
|
|
|
137
|
-
function SheetContentFallback({
|
|
138
|
-
className,
|
|
139
|
-
children,
|
|
140
|
-
side = "right",
|
|
141
|
-
...props
|
|
142
|
-
}: ComponentProps<"div"> & {
|
|
143
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
144
|
-
}) {
|
|
145
|
-
return (
|
|
146
|
-
<div
|
|
147
|
-
data-slot="sheet-content"
|
|
148
|
-
className={cn(
|
|
149
|
-
"liquid-dark:liquid-dark-bg liquid-light:liquid-light-bg bg-bg-primary p-xl fixed z-50 flex flex-col gap-4 shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
150
|
-
side === "right" && "inset-y-0 right-0 h-full w-[340px]",
|
|
151
|
-
side === "left" && "inset-y-0 left-0 h-full w-[340px]",
|
|
152
|
-
side === "top" && "inset-x-0 top-0 h-auto",
|
|
153
|
-
side === "bottom" && "inset-x-0 bottom-0 h-auto",
|
|
154
|
-
className,
|
|
155
|
-
)}
|
|
156
|
-
{...props}
|
|
157
|
-
>
|
|
158
|
-
{children}
|
|
159
|
-
<button className="text-icon-primary hover:text-icon-highlight absolute top-4 right-4 disabled:pointer-events-none">
|
|
160
|
-
<XIcon className="size-4" />
|
|
161
|
-
<span className="sr-only">Close</span>
|
|
162
|
-
</button>
|
|
163
|
-
</div>
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
const SheetContent = createClientOnlyComponent(SheetContentRoot, SheetContentFallback);
|
|
168
|
-
|
|
169
91
|
/**
|
|
170
92
|
* Header section inside the sheet.
|
|
171
93
|
*/
|
|
@@ -195,7 +117,7 @@ function SheetFooter({ className, ...props }: ComponentProps<"div">) {
|
|
|
195
117
|
/**
|
|
196
118
|
* Title text for the sheet.
|
|
197
119
|
*/
|
|
198
|
-
function
|
|
120
|
+
function SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>) {
|
|
199
121
|
return (
|
|
200
122
|
<SheetPrimitive.Title
|
|
201
123
|
data-slot="sheet-title"
|
|
@@ -205,22 +127,10 @@ function SheetTitleRoot({ className, ...props }: ComponentProps<typeof SheetPrim
|
|
|
205
127
|
);
|
|
206
128
|
}
|
|
207
129
|
|
|
208
|
-
function SheetTitleFallback({ className, ...props }: ComponentProps<"h2">) {
|
|
209
|
-
return (
|
|
210
|
-
<h2
|
|
211
|
-
data-slot="sheet-title"
|
|
212
|
-
className={cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className)}
|
|
213
|
-
{...props}
|
|
214
|
-
/>
|
|
215
|
-
);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
const SheetTitle = createClientOnlyComponent(SheetTitleRoot, SheetTitleFallback);
|
|
219
|
-
|
|
220
130
|
/**
|
|
221
131
|
* Secondary description text for the sheet.
|
|
222
132
|
*/
|
|
223
|
-
function
|
|
133
|
+
function SheetDescription({
|
|
224
134
|
className,
|
|
225
135
|
...props
|
|
226
136
|
}: ComponentProps<typeof SheetPrimitive.Description>) {
|
|
@@ -233,18 +143,6 @@ function SheetDescriptionRoot({
|
|
|
233
143
|
);
|
|
234
144
|
}
|
|
235
145
|
|
|
236
|
-
function SheetDescriptionFallback({ className, ...props }: ComponentProps<"p">) {
|
|
237
|
-
return (
|
|
238
|
-
<p
|
|
239
|
-
data-slot="sheet-description"
|
|
240
|
-
className={cn("text-text-secondary text-uk-md leading-uk-md", className)}
|
|
241
|
-
{...props}
|
|
242
|
-
/>
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
const SheetDescription = createClientOnlyComponent(SheetDescriptionRoot, SheetDescriptionFallback);
|
|
247
|
-
|
|
248
146
|
export {
|
|
249
147
|
Sheet,
|
|
250
148
|
SheetTrigger,
|
package/src/ui/sidebar.tsx
CHANGED
|
@@ -2,15 +2,15 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
2
2
|
import { cva, VariantProps } from "class-variance-authority";
|
|
3
3
|
import { PanelLeftIcon } from "lucide-react";
|
|
4
4
|
import {
|
|
5
|
+
ComponentProps,
|
|
5
6
|
createContext,
|
|
7
|
+
CSSProperties,
|
|
8
|
+
MouseEvent,
|
|
6
9
|
useCallback,
|
|
7
10
|
useContext,
|
|
8
11
|
useEffect,
|
|
9
12
|
useMemo,
|
|
10
13
|
useState,
|
|
11
|
-
CSSProperties,
|
|
12
|
-
ComponentProps,
|
|
13
|
-
MouseEvent,
|
|
14
14
|
} from "react";
|
|
15
15
|
|
|
16
16
|
import { cn } from "../hooks";
|
|
@@ -152,7 +152,10 @@ function Sidebar({
|
|
|
152
152
|
return (
|
|
153
153
|
<div
|
|
154
154
|
data-slot="sidebar"
|
|
155
|
-
className={cn(
|
|
155
|
+
className={cn(
|
|
156
|
+
"bg-bg-primary text-text-primary flex h-full w-(--sidebar-width) flex-col",
|
|
157
|
+
className,
|
|
158
|
+
)}
|
|
156
159
|
{...props}
|
|
157
160
|
>
|
|
158
161
|
{children}
|
|
@@ -187,7 +190,7 @@ function Sidebar({
|
|
|
187
190
|
|
|
188
191
|
return (
|
|
189
192
|
<div
|
|
190
|
-
className="group peer hidden md:block"
|
|
193
|
+
className="group peer text-text-primary hidden md:block"
|
|
191
194
|
data-state={state}
|
|
192
195
|
data-collapsible={state === "collapsed" ? collapsible : ""}
|
|
193
196
|
data-variant={variant}
|
|
@@ -232,7 +235,7 @@ function Sidebar({
|
|
|
232
235
|
}
|
|
233
236
|
|
|
234
237
|
function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button>) {
|
|
235
|
-
const { toggleSidebar
|
|
238
|
+
const { toggleSidebar } = useSidebar();
|
|
236
239
|
|
|
237
240
|
return (
|
|
238
241
|
<Button
|
|
@@ -240,12 +243,7 @@ function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof
|
|
|
240
243
|
data-slot="sidebar-trigger"
|
|
241
244
|
variant="ghost"
|
|
242
245
|
icon={true}
|
|
243
|
-
className={cn(
|
|
244
|
-
"absolute top-[0px] size-7 transition-[left] duration-200 ease-linear",
|
|
245
|
-
state === "collapsed" && "left-[2px]",
|
|
246
|
-
state === "expanded" && "left-[var(--sidebar-width)]",
|
|
247
|
-
className,
|
|
248
|
-
)}
|
|
246
|
+
className={cn("size-7 transition-[left] duration-200 ease-linear", className)}
|
|
249
247
|
onClick={(event: MouseEvent<HTMLButtonElement>) => {
|
|
250
248
|
onClick?.(event);
|
|
251
249
|
toggleSidebar();
|
|
@@ -288,7 +286,7 @@ function SidebarInset({ className, ...props }: ComponentProps<"main">) {
|
|
|
288
286
|
<main
|
|
289
287
|
data-slot="sidebar-inset"
|
|
290
288
|
className={cn(
|
|
291
|
-
"relative flex w-full flex-1 flex-col",
|
|
289
|
+
"bg-bg-primary relative flex w-full flex-1 flex-col",
|
|
292
290
|
"md:peer-data-[variant=inset]:rounded-uk-xl md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
293
291
|
className,
|
|
294
292
|
)}
|
|
@@ -338,7 +336,7 @@ function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separat
|
|
|
338
336
|
<Separator
|
|
339
337
|
data-slot="sidebar-separator"
|
|
340
338
|
data-sidebar="separator"
|
|
341
|
-
className={cn("bg-line-primary", className)}
|
|
339
|
+
className={cn("bg-line-primary mr-0", className)}
|
|
342
340
|
{...props}
|
|
343
341
|
/>
|
|
344
342
|
);
|
|
@@ -350,7 +348,7 @@ function SidebarContent({ className, ...props }: ComponentProps<"div">) {
|
|
|
350
348
|
data-slot="sidebar-content"
|
|
351
349
|
data-sidebar="content"
|
|
352
350
|
className={cn(
|
|
353
|
-
"px-md
|
|
351
|
+
"px-md flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
354
352
|
className,
|
|
355
353
|
)}
|
|
356
354
|
{...props}
|
|
@@ -454,17 +452,18 @@ function SidebarMenuItem({ className, ...props }: ComponentProps<"li">) {
|
|
|
454
452
|
}
|
|
455
453
|
|
|
456
454
|
const sidebarMenuButtonVariants = cva(
|
|
457
|
-
"peer/menu-button flex w-full items-center gap-md overflow-hidden
|
|
455
|
+
"peer/menu-button flex w-full items-center gap-md overflow-hidden rounded-uk-md p-2 text-left text-uk-lg leading-uk-lg outline-hidden ring-sidebar-ring transition-[width,height,padding] text-text-primary hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-bg-secondary active:text-text-highlight disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium data-[active=true]:bg-bg-secondary data-[active=true]:text-text-highlight group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg:not([class*='size-'])]:size-4 [&>svg:not([class*='size-'])]:shrink-0",
|
|
458
456
|
{
|
|
459
457
|
variants: {
|
|
460
458
|
variant: {
|
|
461
|
-
default: "",
|
|
462
|
-
outline:
|
|
459
|
+
default: "hover:bg-bg-secondary hover:text-secondary",
|
|
460
|
+
outline:
|
|
461
|
+
"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-bg-tertiary hover:text-text-tertiary hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",
|
|
463
462
|
},
|
|
464
463
|
size: {
|
|
465
464
|
default: "h-[36px] text-uk-lg leading-uk-lg",
|
|
466
465
|
sm: "h-[30px] text-uk-sm leading-uk-sm",
|
|
467
|
-
lg: "h-[32px] text-uk-lg leading-uk-lg group-data-[collapsible=icon]:p-0!",
|
|
466
|
+
lg: "h-[32px] text-uk-lg leading-uk-lg px-lg py-sm group-data-[collapsible=icon]:p-0!",
|
|
468
467
|
},
|
|
469
468
|
},
|
|
470
469
|
defaultVariants: {
|
package/src/ui/switch.tsx
CHANGED
|
@@ -3,16 +3,19 @@ import { type ComponentProps } from "react";
|
|
|
3
3
|
|
|
4
4
|
import { cn } from "../hooks";
|
|
5
5
|
|
|
6
|
+
interface Props extends ComponentProps<typeof SwitchPrimitive.Root> {
|
|
7
|
+
thumbClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
/**
|
|
7
11
|
* Toggle switch control.
|
|
8
12
|
* todo: need to add sizing - Ge
|
|
9
13
|
*/
|
|
10
|
-
function Switch({ className, ...props }:
|
|
14
|
+
function Switch({ className, thumbClassName, ...props }: Props) {
|
|
11
15
|
return (
|
|
12
16
|
<SwitchPrimitive.Root
|
|
13
17
|
data-slot="switch"
|
|
14
18
|
className={cn(
|
|
15
|
-
className,
|
|
16
19
|
"group",
|
|
17
20
|
"w-[32px]",
|
|
18
21
|
"h-[16px]",
|
|
@@ -21,6 +24,7 @@ function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.R
|
|
|
21
24
|
"aria-checked:bg-brand-primary",
|
|
22
25
|
"disabled:bg-bg-secondary",
|
|
23
26
|
"disabled:cursor-not-allowed",
|
|
27
|
+
className,
|
|
24
28
|
)}
|
|
25
29
|
{...props}
|
|
26
30
|
>
|
|
@@ -36,6 +40,7 @@ function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.R
|
|
|
36
40
|
"duration-200",
|
|
37
41
|
"translate-x-[2px]",
|
|
38
42
|
"data-[state=checked]:translate-x-[18px]",
|
|
43
|
+
thumbClassName,
|
|
39
44
|
)}
|
|
40
45
|
/>
|
|
41
46
|
</SwitchPrimitive.Root>
|
package/src/ui/tabs.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
import { type ComponentProps, createContext, useContext } from "react";
|
|
4
4
|
|
|
5
5
|
import { TabsCursorProvider, useTabsCursor } from "../highlight-cursor/tabs-cursor-context";
|
|
6
|
-
import { cn
|
|
6
|
+
import { cn } from "../hooks";
|
|
7
7
|
|
|
8
8
|
interface TabsContextType {
|
|
9
9
|
size?: "sm" | "base" | "lg";
|
|
@@ -29,7 +29,7 @@ interface TabsProps extends ComponentProps<typeof TabsPrimitive.Root> {
|
|
|
29
29
|
* @param props -
|
|
30
30
|
* @param className -
|
|
31
31
|
* @param size - Control size ("sm" | "base" | "lg"), defaults to "base" */
|
|
32
|
-
function
|
|
32
|
+
function Tabs({ className, size = "base", ...props }: TabsProps) {
|
|
33
33
|
return (
|
|
34
34
|
<TabsContext.Provider value={{ size }}>
|
|
35
35
|
<TabsPrimitive.Root
|
|
@@ -41,16 +41,6 @@ function TabsRoot({ className, size = "base", ...props }: TabsProps) {
|
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
function TabsFallback({ className, size = "base", ...props }: TabsProps & ComponentProps<"div">) {
|
|
45
|
-
return (
|
|
46
|
-
<TabsContext.Provider value={{ size }}>
|
|
47
|
-
<div data-slot="tabs" className={cn("flex w-full flex-col", className)} {...props} />
|
|
48
|
-
</TabsContext.Provider>
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const Tabs = createClientOnlyComponent(TabsRoot, TabsFallback);
|
|
53
|
-
|
|
54
44
|
const tabsListVariants = cva(["inline-flex", "items-center", "justify-center"], {
|
|
55
45
|
variants: {
|
|
56
46
|
size: {
|
|
@@ -69,38 +59,41 @@ type TabsListProps = ComponentProps<typeof TabsPrimitive.List>;
|
|
|
69
59
|
/**
|
|
70
60
|
* Container for tab triggers. Emits cursor interactions for visual effects.
|
|
71
61
|
*/
|
|
72
|
-
function
|
|
73
|
-
const { setCursorTarget } = useTabsCursor();
|
|
62
|
+
function TabsList({ className, onMouseLeave, ...props }: TabsListProps) {
|
|
74
63
|
const { size } = useTabsContext();
|
|
75
64
|
return (
|
|
76
65
|
<TabsCursorProvider>
|
|
77
|
-
<
|
|
78
|
-
onMouseLeave={() => setCursorTarget(null)}
|
|
79
|
-
data-slot="tabs-list"
|
|
80
|
-
className={cn(tabsListVariants({ size }), "justify-start", className)}
|
|
81
|
-
{...props}
|
|
82
|
-
/>
|
|
66
|
+
<TabsListInner className={className} size={size} onMouseLeave={onMouseLeave} {...props} />
|
|
83
67
|
</TabsCursorProvider>
|
|
84
68
|
);
|
|
85
69
|
}
|
|
86
70
|
|
|
87
|
-
function
|
|
88
|
-
|
|
71
|
+
function TabsListInner({
|
|
72
|
+
className,
|
|
73
|
+
size,
|
|
74
|
+
onMouseLeave,
|
|
75
|
+
...props
|
|
76
|
+
}: TabsListProps & { size?: "sm" | "base" | "lg" }) {
|
|
77
|
+
const { setCursorTarget } = useTabsCursor();
|
|
78
|
+
|
|
79
|
+
const handleMouseLeave = (e: React.MouseEvent<HTMLDivElement>) => {
|
|
80
|
+
setCursorTarget(null);
|
|
81
|
+
onMouseLeave?.(e);
|
|
82
|
+
};
|
|
83
|
+
|
|
89
84
|
return (
|
|
90
|
-
<
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</TabsCursorProvider>
|
|
85
|
+
<TabsPrimitive.List
|
|
86
|
+
onMouseLeave={handleMouseLeave}
|
|
87
|
+
data-slot="tabs-list"
|
|
88
|
+
className={cn(tabsListVariants({ size }), "justify-start", className)}
|
|
89
|
+
{...props}
|
|
90
|
+
/>
|
|
97
91
|
);
|
|
98
92
|
}
|
|
99
93
|
|
|
100
|
-
const TabsList = createClientOnlyComponent(TabsListRoot, TabsListFallback);
|
|
101
|
-
|
|
102
94
|
const tabsTriggerVariants = cva(
|
|
103
95
|
[
|
|
96
|
+
"cursor-pointer",
|
|
104
97
|
"inline-flex",
|
|
105
98
|
"items-center",
|
|
106
99
|
"justify-center",
|
|
@@ -114,8 +107,9 @@ const tabsTriggerVariants = cva(
|
|
|
114
107
|
"shrink-0",
|
|
115
108
|
"[&_svg]:shrink-0",
|
|
116
109
|
"outline-none",
|
|
117
|
-
"text-text-
|
|
110
|
+
"text-text-secondary",
|
|
118
111
|
"data-[state=active]:bg-bg-secondary",
|
|
112
|
+
"data-[state=active]:text-text-primary",
|
|
119
113
|
"data-[state=active]:font-medium",
|
|
120
114
|
],
|
|
121
115
|
{
|
|
@@ -137,7 +131,7 @@ type TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;
|
|
|
137
131
|
/**
|
|
138
132
|
* Single tab trigger button.
|
|
139
133
|
*/
|
|
140
|
-
function
|
|
134
|
+
function TabsTrigger({ className, ...props }: TabsTriggerProps) {
|
|
141
135
|
const { setCursorTarget } = useTabsCursor();
|
|
142
136
|
const { size } = useTabsContext();
|
|
143
137
|
return (
|
|
@@ -150,27 +144,12 @@ function TabsTriggerRoot({ className, ...props }: TabsTriggerProps) {
|
|
|
150
144
|
);
|
|
151
145
|
}
|
|
152
146
|
|
|
153
|
-
function TabsTriggerFallback({ className, ...props }: TabsTriggerProps & ComponentProps<"button">) {
|
|
154
|
-
const { setCursorTarget } = useTabsCursor();
|
|
155
|
-
const { size } = useTabsContext();
|
|
156
|
-
return (
|
|
157
|
-
<button
|
|
158
|
-
onMouseEnter={(e) => setCursorTarget(e.currentTarget)}
|
|
159
|
-
data-slot="tabs-trigger"
|
|
160
|
-
className={cn(tabsTriggerVariants({ size }), className)}
|
|
161
|
-
{...props}
|
|
162
|
-
/>
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
const TabsTrigger = createClientOnlyComponent(TabsTriggerRoot, TabsTriggerFallback);
|
|
167
|
-
|
|
168
147
|
type TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;
|
|
169
148
|
|
|
170
149
|
/**
|
|
171
150
|
* Content area for a tab panel.
|
|
172
151
|
*/
|
|
173
|
-
function
|
|
152
|
+
function TabsContent({ className, ...props }: TabsContentProps) {
|
|
174
153
|
return (
|
|
175
154
|
<TabsPrimitive.Content
|
|
176
155
|
data-slot="tabs-content"
|
|
@@ -180,13 +159,5 @@ function TabsContentRoot({ className, ...props }: TabsContentProps) {
|
|
|
180
159
|
);
|
|
181
160
|
}
|
|
182
161
|
|
|
183
|
-
|
|
184
|
-
return (
|
|
185
|
-
<div data-slot="tabs-content" className={cn("flex-1 outline-none", className)} {...props} />
|
|
186
|
-
);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
const TabsContent = createClientOnlyComponent(TabsContentRoot, TabsContentFallback);
|
|
190
|
-
|
|
191
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
162
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, TabsListInner };
|
|
192
163
|
export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps };
|