silver-ui 0.3.0 → 0.4.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 +1 -1
- package/dist/chunk-2A3V6OR7.cjs +112 -0
- package/dist/chunk-2A3V6OR7.cjs.map +1 -0
- package/dist/{chunk-HLN3JQYD.js → chunk-2LABTS4P.js} +18 -58
- package/dist/chunk-2LABTS4P.js.map +1 -0
- package/dist/{chunk-GI5MVVIX.js → chunk-2N6FOSNM.js} +15 -14
- package/dist/chunk-2N6FOSNM.js.map +1 -0
- package/dist/chunk-2PSZAWLC.js +8 -0
- package/dist/chunk-2PSZAWLC.js.map +1 -0
- package/dist/{chunk-YGYA4BYN.js → chunk-2RKMG2TC.js} +19 -18
- package/dist/chunk-2RKMG2TC.js.map +1 -0
- package/dist/{chunk-5MDH6QZE.js → chunk-2XAA3CM5.js} +7 -10
- package/dist/chunk-2XAA3CM5.js.map +1 -0
- package/dist/{chunk-EMHLPPQZ.js → chunk-3CJC4QE6.js} +4 -4
- package/dist/chunk-3CJC4QE6.js.map +1 -0
- package/dist/{chunk-P3SMNZCT.js → chunk-3JPUXC5U.js} +3 -3
- package/dist/{chunk-P3SMNZCT.js.map → chunk-3JPUXC5U.js.map} +1 -1
- package/dist/{chunk-OJCJPYXE.js → chunk-3OIUA2NY.js} +9 -8
- package/dist/chunk-3OIUA2NY.js.map +1 -0
- package/dist/chunk-3ZV3EGGK.cjs +470 -0
- package/dist/chunk-3ZV3EGGK.cjs.map +1 -0
- package/dist/{chunk-BERQEJYB.js → chunk-4H7X5FGX.js} +7 -6
- package/dist/chunk-4H7X5FGX.js.map +1 -0
- package/dist/{chunk-EUN5TCB2.js → chunk-52WQDDWQ.js} +18 -20
- package/dist/chunk-52WQDDWQ.js.map +1 -0
- package/dist/{chunk-UMGW7WJI.cjs → chunk-5D2OR64D.cjs} +11 -9
- package/dist/chunk-5D2OR64D.cjs.map +1 -0
- package/dist/{chunk-YAIEA2YE.cjs → chunk-5PX76QOL.cjs} +3 -3
- package/dist/{chunk-YAIEA2YE.cjs.map → chunk-5PX76QOL.cjs.map} +1 -1
- package/dist/{chunk-HM7IEGQ2.cjs → chunk-5YS43PSQ.cjs} +7 -7
- package/dist/chunk-5YS43PSQ.cjs.map +1 -0
- package/dist/{chunk-AH4AMQEO.js → chunk-6ONAGCCZ.js} +262 -208
- package/dist/chunk-6ONAGCCZ.js.map +1 -0
- package/dist/{chunk-S54CKWKV.js → chunk-6ULCJ3XZ.js} +4 -4
- package/dist/{chunk-S54CKWKV.js.map → chunk-6ULCJ3XZ.js.map} +1 -1
- package/dist/{chunk-6XESVFC3.js → chunk-6XWXBXYE.js} +90 -75
- package/dist/chunk-6XWXBXYE.js.map +1 -0
- package/dist/{chunk-EXYBQVZT.js → chunk-7BSFKG7N.js} +3 -3
- package/dist/{chunk-EXYBQVZT.js.map → chunk-7BSFKG7N.js.map} +1 -1
- package/dist/{chunk-7GN6YTSS.cjs → chunk-7CCXHH6Y.cjs} +7 -7
- package/dist/chunk-7CCXHH6Y.cjs.map +1 -0
- package/dist/{chunk-3PDUOYAT.cjs → chunk-7U7JMRVF.cjs} +28 -30
- package/dist/chunk-7U7JMRVF.cjs.map +1 -0
- package/dist/chunk-AFI4V7LI.js +393 -0
- package/dist/chunk-AFI4V7LI.js.map +1 -0
- package/dist/{chunk-DSNJDFO3.cjs → chunk-AHVHLNHU.cjs} +18 -17
- package/dist/chunk-AHVHLNHU.cjs.map +1 -0
- package/dist/{chunk-35MFOORC.js → chunk-AJ6X62AI.js} +5 -5
- package/dist/{chunk-35MFOORC.js.map → chunk-AJ6X62AI.js.map} +1 -1
- package/dist/{chunk-OMHOVHPX.js → chunk-AP7BDTTF.js} +4 -4
- package/dist/{chunk-OMHOVHPX.js.map → chunk-AP7BDTTF.js.map} +1 -1
- package/dist/{chunk-4T62TLOD.cjs → chunk-AWDIKDX5.cjs} +10 -10
- package/dist/{chunk-4T62TLOD.cjs.map → chunk-AWDIKDX5.cjs.map} +1 -1
- package/dist/chunk-BCCPNGUV.js +162 -0
- package/dist/chunk-BCCPNGUV.js.map +1 -0
- package/dist/{chunk-PTJ5YZFY.cjs → chunk-BLRWA445.cjs} +242 -182
- package/dist/chunk-BLRWA445.cjs.map +1 -0
- package/dist/{chunk-67VLK263.js → chunk-BSAZRW6T.js} +13 -10
- package/dist/chunk-BSAZRW6T.js.map +1 -0
- package/dist/{chunk-I2X2Z7FA.cjs → chunk-BUESV4DR.cjs} +9 -9
- package/dist/{chunk-I2X2Z7FA.cjs.map → chunk-BUESV4DR.cjs.map} +1 -1
- package/dist/{chunk-UJODHP7E.cjs → chunk-BULJWVPU.cjs} +18 -17
- package/dist/chunk-BULJWVPU.cjs.map +1 -0
- package/dist/{chunk-PNYF6NS4.cjs → chunk-C6EYCIKJ.cjs} +9 -8
- package/dist/chunk-C6EYCIKJ.cjs.map +1 -0
- package/dist/{chunk-ZTQQ2O6O.cjs → chunk-C732WXKS.cjs} +36 -34
- package/dist/chunk-C732WXKS.cjs.map +1 -0
- package/dist/{chunk-GTPRZCNZ.js → chunk-CGYZ6QWY.js} +4 -4
- package/dist/{chunk-GTPRZCNZ.js.map → chunk-CGYZ6QWY.js.map} +1 -1
- package/dist/{chunk-X5ZQRMEM.cjs → chunk-CKTXDIH4.cjs} +39 -40
- package/dist/chunk-CKTXDIH4.cjs.map +1 -0
- package/dist/{chunk-PYW5UO2Z.js → chunk-D3LZQ5QS.js} +4 -4
- package/dist/chunk-D3LZQ5QS.js.map +1 -0
- package/dist/{chunk-WNGBWUWZ.cjs → chunk-DIRVAHOF.cjs} +6 -6
- package/dist/{chunk-WNGBWUWZ.cjs.map → chunk-DIRVAHOF.cjs.map} +1 -1
- package/dist/{chunk-K77D7H4V.cjs → chunk-DP7VC4FW.cjs} +7 -6
- package/dist/chunk-DP7VC4FW.cjs.map +1 -0
- package/dist/{chunk-4I6VIR44.cjs → chunk-DVGLYE3G.cjs} +16 -15
- package/dist/chunk-DVGLYE3G.cjs.map +1 -0
- package/dist/{chunk-ISYUZ5FS.js → chunk-DWUEPOYH.js} +31 -29
- package/dist/chunk-DWUEPOYH.js.map +1 -0
- package/dist/chunk-DXPQRAGI.js +110 -0
- package/dist/chunk-DXPQRAGI.js.map +1 -0
- package/dist/{chunk-P4A7GWQY.cjs → chunk-E2A3GJSN.cjs} +9 -8
- package/dist/chunk-E2A3GJSN.cjs.map +1 -0
- package/dist/{chunk-32G54PL3.cjs → chunk-EALKX3ST.cjs} +9 -8
- package/dist/chunk-EALKX3ST.cjs.map +1 -0
- package/dist/{chunk-ZW2ATXTL.js → chunk-EBDODJ5X.js} +8 -7
- package/dist/chunk-EBDODJ5X.js.map +1 -0
- package/dist/chunk-FB245S6T.cjs +395 -0
- package/dist/chunk-FB245S6T.cjs.map +1 -0
- package/dist/{chunk-RNB4BDEG.js → chunk-FDUO2HVX.js} +3 -3
- package/dist/{chunk-RNB4BDEG.js.map → chunk-FDUO2HVX.js.map} +1 -1
- package/dist/{chunk-JAHKLROD.cjs → chunk-FDZQPWFZ.cjs} +13 -12
- package/dist/chunk-FDZQPWFZ.cjs.map +1 -0
- package/dist/{chunk-KIGRE6NA.js → chunk-FMLIYHDP.js} +5 -5
- package/dist/{chunk-KIGRE6NA.js.map → chunk-FMLIYHDP.js.map} +1 -1
- package/dist/{chunk-4YQSKCVF.cjs → chunk-FNOUX5T2.cjs} +5 -5
- package/dist/{chunk-4YQSKCVF.cjs.map → chunk-FNOUX5T2.cjs.map} +1 -1
- package/dist/{chunk-LFRTNC7M.cjs → chunk-FNZOICR4.cjs} +7 -7
- package/dist/{chunk-LFRTNC7M.cjs.map → chunk-FNZOICR4.cjs.map} +1 -1
- package/dist/{chunk-4M2KCZMO.js → chunk-FP5E5BUM.js} +5 -4
- package/dist/chunk-FP5E5BUM.js.map +1 -0
- package/dist/{chunk-VSEKSDTK.js → chunk-G2U2W422.js} +8 -7
- package/dist/chunk-G2U2W422.js.map +1 -0
- package/dist/{chunk-MAL4D4LR.cjs → chunk-G2WW52GO.cjs} +14 -13
- package/dist/chunk-G2WW52GO.cjs.map +1 -0
- package/dist/{chunk-FQSOUCZS.cjs → chunk-G3KKLGZU.cjs} +9 -9
- package/dist/{chunk-FQSOUCZS.cjs.map → chunk-G3KKLGZU.cjs.map} +1 -1
- package/dist/{chunk-IKF6VHA4.cjs → chunk-GC5VUTUR.cjs} +4 -4
- package/dist/{chunk-IKF6VHA4.cjs.map → chunk-GC5VUTUR.cjs.map} +1 -1
- package/dist/{chunk-ITDQSF2O.cjs → chunk-GL7PSN7H.cjs} +17 -16
- package/dist/chunk-GL7PSN7H.cjs.map +1 -0
- package/dist/{chunk-WMXIUOOU.cjs → chunk-GYVWTH3U.cjs} +3 -3
- package/dist/{chunk-WMXIUOOU.cjs.map → chunk-GYVWTH3U.cjs.map} +1 -1
- package/dist/{chunk-ACQMLJ4I.cjs → chunk-H2CZ6IE5.cjs} +42 -39
- package/dist/chunk-H2CZ6IE5.cjs.map +1 -0
- package/dist/{chunk-CZNN2GOC.js → chunk-H7HQYBPH.js} +25 -26
- package/dist/chunk-H7HQYBPH.js.map +1 -0
- package/dist/{chunk-ZNUOFLCQ.js → chunk-HINS4GY6.js} +3 -3
- package/dist/chunk-HINS4GY6.js.map +1 -0
- package/dist/{chunk-PXTE3XRD.js → chunk-HNZWPIJE.js} +74 -68
- package/dist/chunk-HNZWPIJE.js.map +1 -0
- package/dist/{chunk-Y5SXQR52.cjs → chunk-IA5GII7N.cjs} +33 -22
- package/dist/chunk-IA5GII7N.cjs.map +1 -0
- package/dist/{chunk-EHCAF6D3.js → chunk-IAVZKGZS.js} +14 -3
- package/dist/chunk-IAVZKGZS.js.map +1 -0
- package/dist/{chunk-XM3AZXOA.js → chunk-ILEKDNP7.js} +6 -6
- package/dist/{chunk-XM3AZXOA.js.map → chunk-ILEKDNP7.js.map} +1 -1
- package/dist/{chunk-XSQOHNIF.js → chunk-J3DNWPXJ.js} +3 -3
- package/dist/{chunk-XSQOHNIF.js.map → chunk-J3DNWPXJ.js.map} +1 -1
- package/dist/{chunk-25FU5AVR.cjs → chunk-J4OEETYQ.cjs} +14 -13
- package/dist/chunk-J4OEETYQ.cjs.map +1 -0
- package/dist/{chunk-4Z62KDKI.js → chunk-J5IRFGUP.js} +25 -14
- package/dist/chunk-J5IRFGUP.js.map +1 -0
- package/dist/{chunk-2YC7SMVF.js → chunk-JDAJ2HJQ.js} +7 -6
- package/dist/chunk-JDAJ2HJQ.js.map +1 -0
- package/dist/{chunk-AGJ5SZCM.js → chunk-JIVYPJKO.js} +6 -6
- package/dist/{chunk-AGJ5SZCM.js.map → chunk-JIVYPJKO.js.map} +1 -1
- package/dist/{chunk-U2WVHZ24.cjs → chunk-JJ324PSZ.cjs} +6 -6
- package/dist/chunk-JJ324PSZ.cjs.map +1 -0
- package/dist/{chunk-WWB4NSEY.cjs → chunk-JSINCF2R.cjs} +10 -10
- package/dist/{chunk-WWB4NSEY.cjs.map → chunk-JSINCF2R.cjs.map} +1 -1
- package/dist/{chunk-BJD32VBQ.cjs → chunk-JTFNNEWR.cjs} +90 -75
- package/dist/chunk-JTFNNEWR.cjs.map +1 -0
- package/dist/{chunk-YAYINZT2.cjs → chunk-JYVYCU22.cjs} +3 -3
- package/dist/{chunk-YAYINZT2.cjs.map → chunk-JYVYCU22.cjs.map} +1 -1
- package/dist/chunk-K3XHXWBW.js +242 -0
- package/dist/chunk-K3XHXWBW.js.map +1 -0
- package/dist/{chunk-TRK2ZZFB.cjs → chunk-K4ZJNQTX.cjs} +6 -5
- package/dist/chunk-K4ZJNQTX.cjs.map +1 -0
- package/dist/{chunk-WA4VZ363.cjs → chunk-KDR5DCYL.cjs} +13 -12
- package/dist/chunk-KDR5DCYL.cjs.map +1 -0
- package/dist/{chunk-2D6SGEPH.cjs → chunk-KXIILLQD.cjs} +16 -11
- package/dist/chunk-KXIILLQD.cjs.map +1 -0
- package/dist/{chunk-ZNZ67KFM.js → chunk-L6VSBBPP.js} +9 -8
- package/dist/chunk-L6VSBBPP.js.map +1 -0
- package/dist/{chunk-YJJOKZN2.js → chunk-LNT2IFOA.js} +4 -4
- package/dist/{chunk-YJJOKZN2.js.map → chunk-LNT2IFOA.js.map} +1 -1
- package/dist/{chunk-IXJOPMJX.cjs → chunk-LO5NZY7N.cjs} +7 -6
- package/dist/chunk-LO5NZY7N.cjs.map +1 -0
- package/dist/{chunk-AADUJ6CN.js → chunk-LQIZSE3O.js} +212 -183
- package/dist/chunk-LQIZSE3O.js.map +1 -0
- package/dist/{chunk-OJKZS6HG.cjs → chunk-LUQVSNQL.cjs} +265 -211
- package/dist/chunk-LUQVSNQL.cjs.map +1 -0
- package/dist/{chunk-BYBVI7UN.js → chunk-LY6Z6A54.js} +10 -9
- package/dist/chunk-LY6Z6A54.js.map +1 -0
- package/dist/{chunk-JMNH45Q3.cjs → chunk-M26XECB2.cjs} +91 -97
- package/dist/chunk-M26XECB2.cjs.map +1 -0
- package/dist/chunk-M2MC3E27.cjs +220 -0
- package/dist/chunk-M2MC3E27.cjs.map +1 -0
- package/dist/chunk-MAYQGKKW.cjs +193 -0
- package/dist/chunk-MAYQGKKW.cjs.map +1 -0
- package/dist/{chunk-2IKWX66Q.js → chunk-MI5QU37D.js} +5 -5
- package/dist/{chunk-2IKWX66Q.js.map → chunk-MI5QU37D.js.map} +1 -1
- package/dist/{chunk-XVRQSTUF.js → chunk-N2TNBDQI.js} +4 -3
- package/dist/chunk-N2TNBDQI.js.map +1 -0
- package/dist/{chunk-H2SGYAUO.js → chunk-NFABMGNH.js} +56 -46
- package/dist/chunk-NFABMGNH.js.map +1 -0
- package/dist/{chunk-76FHSISK.cjs → chunk-NHXJVSZZ.cjs} +7 -10
- package/dist/chunk-NHXJVSZZ.cjs.map +1 -0
- package/dist/chunk-NI55JEYL.js +213 -0
- package/dist/chunk-NI55JEYL.js.map +1 -0
- package/dist/{chunk-BDPE6ZKX.cjs → chunk-O2WICOUK.cjs} +5 -5
- package/dist/{chunk-BDPE6ZKX.cjs.map → chunk-O2WICOUK.cjs.map} +1 -1
- package/dist/{chunk-ATDW2VII.cjs → chunk-OBWWRRL6.cjs} +66 -51
- package/dist/chunk-OBWWRRL6.cjs.map +1 -0
- package/dist/{chunk-3DW2N6UN.js → chunk-PIOMR4X2.js} +5 -5
- package/dist/{chunk-3DW2N6UN.js.map → chunk-PIOMR4X2.js.map} +1 -1
- package/dist/{chunk-7P3VY5JZ.js → chunk-PIZMCOKL.js} +9 -8
- package/dist/chunk-PIZMCOKL.js.map +1 -0
- package/dist/{chunk-W3QVSVL7.cjs → chunk-PQEFVHJZ.cjs} +12 -11
- package/dist/chunk-PQEFVHJZ.cjs.map +1 -0
- package/dist/chunk-QAO6QMNQ.cjs +10 -0
- package/dist/chunk-QAO6QMNQ.cjs.map +1 -0
- package/dist/{chunk-CFOGSQCG.cjs → chunk-QATCDVZ6.cjs} +14 -13
- package/dist/chunk-QATCDVZ6.cjs.map +1 -0
- package/dist/{chunk-YBPG5RPR.cjs → chunk-QOKEU3DC.cjs} +22 -62
- package/dist/chunk-QOKEU3DC.cjs.map +1 -0
- package/dist/{chunk-J2FCNWYM.js → chunk-QRFDPG34.js} +85 -91
- package/dist/chunk-QRFDPG34.js.map +1 -0
- package/dist/{chunk-UYXQBM2B.cjs → chunk-QVNDZZS6.cjs} +10 -10
- package/dist/{chunk-UYXQBM2B.cjs.map → chunk-QVNDZZS6.cjs.map} +1 -1
- package/dist/{chunk-AMG3S252.js → chunk-QY6OMQW6.js} +11 -10
- package/dist/chunk-QY6OMQW6.js.map +1 -0
- package/dist/{chunk-XIFLSMGW.js → chunk-R6CMJMIJ.js} +3 -3
- package/dist/{chunk-XIFLSMGW.js.map → chunk-R6CMJMIJ.js.map} +1 -1
- package/dist/{chunk-K6CQ45C2.js → chunk-RLOGQBFD.js} +10 -9
- package/dist/chunk-RLOGQBFD.js.map +1 -0
- package/dist/{chunk-5Q5TJUHI.js → chunk-S7INL5NI.js} +12 -7
- package/dist/chunk-S7INL5NI.js.map +1 -0
- package/dist/{chunk-VYFMYXU4.js → chunk-SBOXHIES.js} +234 -174
- package/dist/chunk-SBOXHIES.js.map +1 -0
- package/dist/{chunk-YXYD5HKL.cjs → chunk-SBS7U7CN.cjs} +6 -6
- package/dist/{chunk-YXYD5HKL.cjs.map → chunk-SBS7U7CN.cjs.map} +1 -1
- package/dist/chunk-SCGXGVNN.cjs +244 -0
- package/dist/chunk-SCGXGVNN.cjs.map +1 -0
- package/dist/{chunk-XQU4ECJY.js → chunk-SOCSUNIM.js} +19 -18
- package/dist/chunk-SOCSUNIM.js.map +1 -0
- package/dist/chunk-SR5VVJ5Y.cjs +164 -0
- package/dist/chunk-SR5VVJ5Y.cjs.map +1 -0
- package/dist/{chunk-SEAVOF6B.js → chunk-SSAYBCAD.js} +9 -7
- package/dist/chunk-SSAYBCAD.js.map +1 -0
- package/dist/{chunk-L6JT244G.cjs → chunk-SSOAZZNR.cjs} +4 -3
- package/dist/chunk-SSOAZZNR.cjs.map +1 -0
- package/dist/{chunk-24J3BUKL.js → chunk-SUH62Z64.js} +3 -3
- package/dist/{chunk-24J3BUKL.js.map → chunk-SUH62Z64.js.map} +1 -1
- package/dist/{chunk-3WMLV4VP.cjs → chunk-TBOQTPRO.cjs} +9 -9
- package/dist/chunk-TBOQTPRO.cjs.map +1 -0
- package/dist/chunk-TCTPR7YQ.js +191 -0
- package/dist/chunk-TCTPR7YQ.js.map +1 -0
- package/dist/{chunk-SFT5LCQP.cjs → chunk-TF7XVTSP.cjs} +61 -51
- package/dist/chunk-TF7XVTSP.cjs.map +1 -0
- package/dist/{chunk-PXVVTPRJ.js → chunk-TKTLWX2V.js} +11 -10
- package/dist/chunk-TKTLWX2V.js.map +1 -0
- package/dist/{chunk-ZXPKFGRB.cjs → chunk-TPB53MHV.cjs} +82 -76
- package/dist/chunk-TPB53MHV.cjs.map +1 -0
- package/dist/chunk-TQA3BI7M.cjs +216 -0
- package/dist/chunk-TQA3BI7M.cjs.map +1 -0
- package/dist/{chunk-MACIT6C6.js → chunk-U6NH54YD.js} +7 -6
- package/dist/chunk-U6NH54YD.js.map +1 -0
- package/dist/{chunk-NUTB2K4G.js → chunk-U7ALNPFJ.js} +3 -3
- package/dist/{chunk-NUTB2K4G.js.map → chunk-U7ALNPFJ.js.map} +1 -1
- package/dist/{chunk-S4GLMGFI.js → chunk-UKW2C5RN.js} +6 -5
- package/dist/chunk-UKW2C5RN.js.map +1 -0
- package/dist/chunk-UUVLEOSD.js +216 -0
- package/dist/chunk-UUVLEOSD.js.map +1 -0
- package/dist/{chunk-BA2VUDQS.js → chunk-VFGSNR35.js} +4 -4
- package/dist/{chunk-BA2VUDQS.js.map → chunk-VFGSNR35.js.map} +1 -1
- package/dist/{chunk-6ADWXOZ2.cjs → chunk-VGHNBMEJ.cjs} +6 -6
- package/dist/{chunk-6ADWXOZ2.cjs.map → chunk-VGHNBMEJ.cjs.map} +1 -1
- package/dist/{chunk-UR7RYJOU.cjs → chunk-VHKA25IV.cjs} +20 -17
- package/dist/chunk-VHKA25IV.cjs.map +1 -0
- package/dist/{chunk-E7UOFIBW.cjs → chunk-VK4O6W2K.cjs} +8 -7
- package/dist/chunk-VK4O6W2K.cjs.map +1 -0
- package/dist/{chunk-2VOB6LEI.js → chunk-VQ7U3ASC.js} +4 -4
- package/dist/{chunk-2VOB6LEI.js.map → chunk-VQ7U3ASC.js.map} +1 -1
- package/dist/{chunk-E4KM3RQ2.js → chunk-VUCMGGU5.js} +32 -17
- package/dist/chunk-VUCMGGU5.js.map +1 -0
- package/dist/{chunk-UY3MYNI6.js → chunk-W2Q4PQ6I.js} +6 -5
- package/dist/chunk-W2Q4PQ6I.js.map +1 -0
- package/dist/{chunk-RKMW3ZOK.js → chunk-W3C6QQF7.js} +5 -5
- package/dist/{chunk-RKMW3ZOK.js.map → chunk-W3C6QQF7.js.map} +1 -1
- package/dist/{chunk-GEGYC7CE.js → chunk-WBGFFP3G.js} +7 -7
- package/dist/chunk-WBGFFP3G.js.map +1 -0
- package/dist/{chunk-5BLNJVIA.js → chunk-WBQNPBXR.js} +10 -9
- package/dist/chunk-WBQNPBXR.js.map +1 -0
- package/dist/{chunk-ZH3GKYUZ.js → chunk-WY5BOT7O.js} +4 -4
- package/dist/{chunk-ZH3GKYUZ.js.map → chunk-WY5BOT7O.js.map} +1 -1
- package/dist/{chunk-PLXUM7U6.cjs → chunk-X574M2JB.cjs} +13 -13
- package/dist/{chunk-PLXUM7U6.cjs.map → chunk-X574M2JB.cjs.map} +1 -1
- package/dist/{chunk-ZNPTARIS.cjs → chunk-XLKXFJMU.cjs} +8 -8
- package/dist/{chunk-ZNPTARIS.cjs.map → chunk-XLKXFJMU.cjs.map} +1 -1
- package/dist/{chunk-W5G7ZDQ6.cjs → chunk-XLNRO3S6.cjs} +4 -4
- package/dist/{chunk-W5G7ZDQ6.cjs.map → chunk-XLNRO3S6.cjs.map} +1 -1
- package/dist/{chunk-A66NIFJE.cjs → chunk-XXBA3KSH.cjs} +5 -5
- package/dist/{chunk-A66NIFJE.cjs.map → chunk-XXBA3KSH.cjs.map} +1 -1
- package/dist/{chunk-PXIWITSS.js → chunk-YAWVGZRC.js} +6 -6
- package/dist/{chunk-PXIWITSS.js.map → chunk-YAWVGZRC.js.map} +1 -1
- package/dist/{chunk-BFWKL5MJ.cjs → chunk-YHBYVERE.cjs} +29 -28
- package/dist/chunk-YHBYVERE.cjs.map +1 -0
- package/dist/{chunk-CPOYENSZ.cjs → chunk-YO3MBGBP.cjs} +4 -4
- package/dist/{chunk-CPOYENSZ.cjs.map → chunk-YO3MBGBP.cjs.map} +1 -1
- package/dist/{chunk-MQQ4GSUG.cjs → chunk-YVHWOKR7.cjs} +33 -32
- package/dist/chunk-YVHWOKR7.cjs.map +1 -0
- package/dist/{chunk-C264Z2GQ.cjs → chunk-YWGYN6YV.cjs} +11 -10
- package/dist/chunk-YWGYN6YV.cjs.map +1 -0
- package/dist/{chunk-KFEXS6OK.cjs → chunk-YY6KJO5Z.cjs} +15 -14
- package/dist/chunk-YY6KJO5Z.cjs.map +1 -0
- package/dist/{chunk-IG4UJZ6B.js → chunk-YYNWZRXZ.js} +24 -21
- package/dist/chunk-YYNWZRXZ.js.map +1 -0
- package/dist/{chunk-5QPM5LUS.cjs → chunk-Z6RT3WPE.cjs} +15 -4
- package/dist/chunk-Z6RT3WPE.cjs.map +1 -0
- package/dist/{chunk-7FY26X2V.js → chunk-ZAX2UJBC.js} +8 -7
- package/dist/chunk-ZAX2UJBC.js.map +1 -0
- package/dist/{chunk-WATCCAQU.js → chunk-ZEA2VYX4.js} +5 -4
- package/dist/chunk-ZEA2VYX4.js.map +1 -0
- package/dist/{chunk-AXT4VA5N.cjs → chunk-ZFBQ4R7M.cjs} +11 -10
- package/dist/chunk-ZFBQ4R7M.cjs.map +1 -0
- package/dist/{chunk-AX6HC2YY.cjs → chunk-ZN7CULIL.cjs} +3 -3
- package/dist/{chunk-AX6HC2YY.cjs.map → chunk-ZN7CULIL.cjs.map} +1 -1
- package/dist/{chunk-OHKL4DOV.js → chunk-ZQUPAIBS.js} +8 -7
- package/dist/chunk-ZQUPAIBS.js.map +1 -0
- package/dist/{chunk-JVLE7PCJ.cjs → chunk-ZTWBG2XY.cjs} +8 -8
- package/dist/{chunk-JVLE7PCJ.cjs.map → chunk-ZTWBG2XY.cjs.map} +1 -1
- package/dist/components/Accordion/AccordionItem.recipe.d.ts +1 -1
- package/dist/components/Accordion/index.cjs +6 -7
- package/dist/components/Accordion/index.js +3 -4
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.recipe.d.ts +1 -1
- package/dist/components/Alert/index.cjs +13 -13
- package/dist/components/Alert/index.js +12 -12
- package/dist/components/AlertDialog/index.cjs +16 -16
- package/dist/components/AlertDialog/index.js +14 -14
- package/dist/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/components/AppShell/index.cjs +21 -21
- package/dist/components/AppShell/index.js +18 -18
- package/dist/components/AspectRatio/index.cjs +3 -3
- package/dist/components/AspectRatio/index.js +2 -2
- package/dist/components/AutocompleteInput/AutocompleteInput.d.ts +9 -2
- package/dist/components/AutocompleteInput/AutocompleteInput.d.ts.map +1 -1
- package/dist/components/AutocompleteInput/AutocompleteInput.recipe.d.ts +42 -0
- package/dist/components/AutocompleteInput/AutocompleteInput.recipe.d.ts.map +1 -0
- package/dist/components/AutocompleteInput/AutocompleteInputItem.d.ts +27 -4
- package/dist/components/AutocompleteInput/AutocompleteInputItem.d.ts.map +1 -1
- package/dist/components/AutocompleteInput/BaseAutocompleteInput.d.ts +25 -3
- package/dist/components/AutocompleteInput/BaseAutocompleteInput.d.ts.map +1 -1
- package/dist/components/AutocompleteInput/index.cjs +21 -21
- package/dist/components/AutocompleteInput/index.d.ts +1 -1
- package/dist/components/AutocompleteInput/index.d.ts.map +1 -1
- package/dist/components/AutocompleteInput/index.js +16 -16
- package/dist/components/AutocompleteInput/types.d.ts +42 -6
- package/dist/components/AutocompleteInput/types.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarStatusDot.d.ts.map +1 -1
- package/dist/components/Avatar/index.cjs +7 -7
- package/dist/components/Avatar/index.js +4 -4
- package/dist/components/AvatarGroup/index.cjs +7 -7
- package/dist/components/AvatarGroup/index.js +5 -5
- package/dist/components/Badge/index.cjs +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Blockquote/Blockquote.d.ts.map +1 -1
- package/dist/components/Blockquote/index.cjs +5 -5
- package/dist/components/Blockquote/index.js +4 -4
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/BreadcrumbItem.recipe.d.ts +22 -0
- package/dist/components/Breadcrumbs/BreadcrumbItem.recipe.d.ts.map +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.recipe.d.ts +4 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.recipe.d.ts.map +1 -0
- package/dist/components/Breadcrumbs/index.cjs +11 -10
- package/dist/components/Breadcrumbs/index.js +8 -7
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.recipe.d.ts +80 -62
- package/dist/components/Button/Button.recipe.d.ts.map +1 -1
- package/dist/components/Button/index.cjs +12 -12
- package/dist/components/Button/index.js +11 -11
- package/dist/components/ButtonGroup/index.cjs +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.recipe.d.ts +86 -0
- package/dist/components/Calendar/Calendar.recipe.d.ts.map +1 -0
- package/dist/components/Calendar/index.cjs +13 -13
- package/dist/components/Calendar/index.js +12 -12
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Center/index.cjs +1 -1
- package/dist/components/Center/index.js +1 -1
- package/dist/components/CheckboxInput/CheckboxInput.d.ts.map +1 -1
- package/dist/components/CheckboxInput/CheckboxInput.recipe.d.ts +39 -0
- package/dist/components/CheckboxInput/CheckboxInput.recipe.d.ts.map +1 -0
- package/dist/components/CheckboxInput/index.cjs +13 -13
- package/dist/components/CheckboxInput/index.js +12 -12
- package/dist/components/CodeBlock/index.cjs +14 -14
- package/dist/components/CodeBlock/index.js +13 -13
- package/dist/components/ContextMenu/index.cjs +18 -18
- package/dist/components/ContextMenu/index.js +16 -16
- package/dist/components/DateInput/DateInput.d.ts +5 -1
- package/dist/components/DateInput/DateInput.d.ts.map +1 -1
- package/dist/components/DateInput/index.cjs +17 -17
- package/dist/components/DateInput/index.js +16 -16
- package/dist/components/DateRangeInput/DateRangeInput.d.ts.map +1 -1
- package/dist/components/DateRangeInput/index.cjs +17 -17
- package/dist/components/DateRangeInput/index.js +16 -16
- package/dist/components/DateTimeInput/DateTimeInput.d.ts.map +1 -1
- package/dist/components/DateTimeInput/index.cjs +19 -19
- package/dist/components/DateTimeInput/index.js +18 -18
- package/dist/components/Dialog/index.cjs +5 -6
- package/dist/components/Dialog/index.js +3 -4
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Divider/index.cjs +5 -5
- package/dist/components/Divider/index.js +4 -4
- package/dist/components/Drawer/index.cjs +4 -4
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenuItem.recipe.d.ts +36 -0
- package/dist/components/DropdownMenu/DropdownMenuItem.recipe.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.cjs +19 -19
- package/dist/components/DropdownMenu/index.js +15 -15
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.recipe.d.ts +13 -4
- package/dist/components/EmptyState/EmptyState.recipe.d.ts.map +1 -1
- package/dist/components/EmptyState/index.cjs +8 -7
- package/dist/components/EmptyState/index.js +7 -6
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/index.cjs +11 -11
- package/dist/components/Field/index.js +9 -9
- package/dist/components/FileInput/FileInput.d.ts.map +1 -1
- package/dist/components/FileInput/index.cjs +15 -15
- package/dist/components/FileInput/index.js +14 -14
- package/dist/components/HoverCard/index.cjs +5 -5
- package/dist/components/HoverCard/index.js +3 -3
- package/dist/components/HoverCard/useHoverCard.d.ts.map +1 -1
- package/dist/components/Icon/index.cjs +1 -1
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
- package/dist/components/InputGroup/index.cjs +14 -14
- package/dist/components/InputGroup/index.js +10 -10
- package/dist/components/Item/Item.d.ts.map +1 -1
- package/dist/components/Item/index.cjs +9 -9
- package/dist/components/Item/index.js +8 -8
- package/dist/components/Kbd/index.cjs +4 -5
- package/dist/components/Kbd/index.js +3 -4
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.d.ts.map +1 -1
- package/dist/components/Layout/index.cjs +17 -17
- package/dist/components/Layout/index.js +12 -12
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/components/Lightbox/index.cjs +14 -14
- package/dist/components/Lightbox/index.js +12 -12
- package/dist/components/Link/index.cjs +9 -9
- package/dist/components/Link/index.js +6 -6
- package/dist/components/List/List.d.ts.map +1 -1
- package/dist/components/List/List.recipe.d.ts +42 -0
- package/dist/components/List/List.recipe.d.ts.map +1 -0
- package/dist/components/List/ListItem.d.ts.map +1 -1
- package/dist/components/List/index.cjs +12 -11
- package/dist/components/List/index.js +10 -9
- package/dist/components/MetadataList/index.cjs +7 -8
- package/dist/components/MetadataList/index.js +5 -6
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.cjs +17 -17
- package/dist/components/MultiSelect/index.js +16 -16
- package/dist/components/NavIcon/index.cjs +3 -3
- package/dist/components/NavIcon/index.js +2 -2
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput/index.cjs +16 -16
- package/dist/components/NumberInput/index.js +15 -15
- package/dist/components/Pagination/index.cjs +13 -13
- package/dist/components/Pagination/index.js +12 -12
- package/dist/components/PasswordInput/index.cjs +17 -17
- package/dist/components/PasswordInput/index.js +16 -16
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/index.cjs +14 -14
- package/dist/components/Popover/index.js +12 -12
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Progress/Progress.recipe.d.ts +34 -16
- package/dist/components/Progress/Progress.recipe.d.ts.map +1 -1
- package/dist/components/Progress/index.cjs +5 -4
- package/dist/components/Progress/index.js +4 -3
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroupItem.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.cjs +14 -14
- package/dist/components/RadioGroup/index.js +12 -12
- package/dist/components/Rating/index.cjs +5 -6
- package/dist/components/Rating/index.js +4 -5
- package/dist/components/Schedule/ListView.d.ts.map +1 -1
- package/dist/components/Schedule/MonthlyView.d.ts.map +1 -1
- package/dist/components/Schedule/TimeGridView.d.ts.map +1 -1
- package/dist/components/Schedule/index.cjs +27 -27
- package/dist/components/Schedule/index.js +16 -16
- package/dist/components/Schedule/shared.d.ts.map +1 -1
- package/dist/components/SearchFilterInput/SearchFilterInput.d.ts.map +1 -1
- package/dist/components/SearchFilterInput/index.cjs +36 -36
- package/dist/components/SearchFilterInput/index.js +28 -28
- package/dist/components/SegmentedControl/index.cjs +5 -5
- package/dist/components/SegmentedControl/index.js +3 -3
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.recipe.d.ts +25 -0
- package/dist/components/Select/Select.recipe.d.ts.map +1 -0
- package/dist/components/Select/SelectOption.d.ts.map +1 -1
- package/dist/components/Select/index.cjs +19 -19
- package/dist/components/Select/index.js +17 -17
- package/dist/components/SideNav/SideNav.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavHeading.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavItem.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavSection.d.ts.map +1 -1
- package/dist/components/SideNav/index.cjs +20 -20
- package/dist/components/SideNav/index.js +14 -14
- package/dist/components/Skeleton/index.cjs +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slider/index.cjs +11 -11
- package/dist/components/Slider/index.js +10 -10
- package/dist/components/Spinner/index.cjs +7 -8
- package/dist/components/Spinner/index.js +6 -7
- package/dist/components/SplitButton/index.cjs +17 -17
- package/dist/components/SplitButton/index.js +16 -16
- package/dist/components/Stack/HStack.d.ts +1 -1
- package/dist/components/Stack/HStack.d.ts.map +1 -1
- package/dist/components/Stack/VStack.d.ts +1 -1
- package/dist/components/Stack/VStack.d.ts.map +1 -1
- package/dist/components/Stack/index.cjs +4 -4
- package/dist/components/Stack/index.d.ts +1 -1
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stack/{Stack.d.ts → internal/Stack.d.ts} +13 -3
- package/dist/components/Stack/internal/Stack.d.ts.map +1 -0
- package/dist/components/Stack/{Stack.recipe.d.ts → internal/Stack.recipe.d.ts} +1 -1
- package/dist/components/Stack/internal/Stack.recipe.d.ts.map +1 -0
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/index.cjs +9 -9
- package/dist/components/Stepper/index.js +6 -6
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/index.cjs +10 -10
- package/dist/components/Switch/index.js +9 -9
- package/dist/components/Table/BaseTable.d.ts.map +1 -1
- package/dist/components/Table/index.cjs +59 -59
- package/dist/components/Table/index.js +31 -31
- package/dist/components/Table/plugins/filtering/useTableFiltering.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/index.cjs +18 -18
- package/dist/components/Tabs/index.js +13 -13
- package/dist/components/Tag/Tag.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.recipe.d.ts +103 -68
- package/dist/components/Tag/Tag.recipe.d.ts.map +1 -1
- package/dist/components/Tag/index.cjs +9 -8
- package/dist/components/Tag/index.js +8 -7
- package/dist/components/TagsInput/TagsInput.d.ts +3 -1
- package/dist/components/TagsInput/TagsInput.d.ts.map +1 -1
- package/dist/components/TagsInput/index.cjs +18 -18
- package/dist/components/TagsInput/index.js +17 -17
- package/dist/components/Text/Heading.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/index.cjs +6 -6
- package/dist/components/Text/index.js +4 -4
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/index.cjs +12 -12
- package/dist/components/TextArea/index.js +11 -11
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/TextInput/index.cjs +16 -16
- package/dist/components/TextInput/index.js +15 -15
- package/dist/components/Thumbnail/Thumbnail.recipe.d.ts +1 -1
- package/dist/components/Thumbnail/index.cjs +13 -13
- package/dist/components/Thumbnail/index.js +12 -12
- package/dist/components/TimeInput/TimeInput.d.ts +10 -2
- package/dist/components/TimeInput/TimeInput.d.ts.map +1 -1
- package/dist/components/TimeInput/index.cjs +15 -15
- package/dist/components/TimeInput/index.js +14 -14
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toast/Toast.recipe.d.ts +39 -0
- package/dist/components/Toast/Toast.recipe.d.ts.map +1 -0
- package/dist/components/Toast/ToastViewport.d.ts.map +1 -1
- package/dist/components/Toast/index.cjs +15 -15
- package/dist/components/Toast/index.js +12 -12
- package/dist/components/ToggleButton/index.cjs +10 -11
- package/dist/components/ToggleButton/index.js +8 -9
- package/dist/components/Tooltip/index.cjs +5 -5
- package/dist/components/Tooltip/index.js +3 -3
- package/dist/components/Tooltip/useTooltip.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavHeading.d.ts.map +1 -1
- package/dist/components/TopNav/index.cjs +20 -20
- package/dist/components/TopNav/index.js +14 -14
- package/dist/components/TreeView/TreeView.d.ts.map +1 -1
- package/dist/components/TreeView/TreeViewItem.d.ts.map +1 -1
- package/dist/components/TreeView/index.cjs +4 -3
- package/dist/components/TreeView/index.js +3 -2
- package/dist/index.cjs +248 -248
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +77 -77
- package/dist/internal/HoverLayerTrigger.d.ts.map +1 -1
- package/dist/internal/MobileNav/MobileNav.d.ts.map +1 -1
- package/dist/internal/OverflowList.d.ts.map +1 -1
- package/dist/internal/index.d.ts +1 -0
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/isReactNode.d.ts +3 -0
- package/dist/internal/isReactNode.d.ts.map +1 -0
- package/dist/internal/useLayer.d.ts.map +1 -1
- package/dist/internal/useSelectListbox.d.ts +2 -2
- package/dist/internal/useSelectListbox.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-25FU5AVR.cjs.map +0 -1
- package/dist/chunk-2D6SGEPH.cjs.map +0 -1
- package/dist/chunk-2TGDDZG6.cjs +0 -441
- package/dist/chunk-2TGDDZG6.cjs.map +0 -1
- package/dist/chunk-2YC7SMVF.js.map +0 -1
- package/dist/chunk-32G54PL3.cjs.map +0 -1
- package/dist/chunk-3PDUOYAT.cjs.map +0 -1
- package/dist/chunk-3WMLV4VP.cjs.map +0 -1
- package/dist/chunk-4I6VIR44.cjs.map +0 -1
- package/dist/chunk-4M2KCZMO.js.map +0 -1
- package/dist/chunk-4YESF35X.cjs +0 -211
- package/dist/chunk-4YESF35X.cjs.map +0 -1
- package/dist/chunk-4Z62KDKI.js.map +0 -1
- package/dist/chunk-5BLNJVIA.js.map +0 -1
- package/dist/chunk-5MDH6QZE.js.map +0 -1
- package/dist/chunk-5Q5TJUHI.js.map +0 -1
- package/dist/chunk-5QPM5LUS.cjs.map +0 -1
- package/dist/chunk-67VLK263.js.map +0 -1
- package/dist/chunk-6BK4LUK4.cjs +0 -17
- package/dist/chunk-6BK4LUK4.cjs.map +0 -1
- package/dist/chunk-6D3FA247.js +0 -126
- package/dist/chunk-6D3FA247.js.map +0 -1
- package/dist/chunk-6XESVFC3.js.map +0 -1
- package/dist/chunk-76FHSISK.cjs.map +0 -1
- package/dist/chunk-77RGTGRM.cjs +0 -128
- package/dist/chunk-77RGTGRM.cjs.map +0 -1
- package/dist/chunk-7FY26X2V.js.map +0 -1
- package/dist/chunk-7GN6YTSS.cjs.map +0 -1
- package/dist/chunk-7P3VY5JZ.js.map +0 -1
- package/dist/chunk-AADUJ6CN.js.map +0 -1
- package/dist/chunk-ACQMLJ4I.cjs.map +0 -1
- package/dist/chunk-AH4AMQEO.js.map +0 -1
- package/dist/chunk-AMG3S252.js.map +0 -1
- package/dist/chunk-ATDW2VII.cjs.map +0 -1
- package/dist/chunk-AXT4VA5N.cjs.map +0 -1
- package/dist/chunk-BERQEJYB.js.map +0 -1
- package/dist/chunk-BFWKL5MJ.cjs.map +0 -1
- package/dist/chunk-BJD32VBQ.cjs.map +0 -1
- package/dist/chunk-BYBVI7UN.js.map +0 -1
- package/dist/chunk-C264Z2GQ.cjs.map +0 -1
- package/dist/chunk-CFOGSQCG.cjs.map +0 -1
- package/dist/chunk-CZNN2GOC.js.map +0 -1
- package/dist/chunk-DSNJDFO3.cjs.map +0 -1
- package/dist/chunk-E2JZGYKU.cjs +0 -181
- package/dist/chunk-E2JZGYKU.cjs.map +0 -1
- package/dist/chunk-E4KM3RQ2.js.map +0 -1
- package/dist/chunk-E7UOFIBW.cjs.map +0 -1
- package/dist/chunk-EFO5NDBJ.js +0 -191
- package/dist/chunk-EFO5NDBJ.js.map +0 -1
- package/dist/chunk-EHCAF6D3.js.map +0 -1
- package/dist/chunk-EMHLPPQZ.js.map +0 -1
- package/dist/chunk-EUN5TCB2.js.map +0 -1
- package/dist/chunk-GEGYC7CE.js.map +0 -1
- package/dist/chunk-GI5MVVIX.js.map +0 -1
- package/dist/chunk-GUKZNXTB.js +0 -15
- package/dist/chunk-GUKZNXTB.js.map +0 -1
- package/dist/chunk-H2SGYAUO.js.map +0 -1
- package/dist/chunk-HLN3JQYD.js.map +0 -1
- package/dist/chunk-HM7IEGQ2.cjs.map +0 -1
- package/dist/chunk-IG4UJZ6B.js.map +0 -1
- package/dist/chunk-ISYUZ5FS.js.map +0 -1
- package/dist/chunk-ITDQSF2O.cjs.map +0 -1
- package/dist/chunk-IXJOPMJX.cjs.map +0 -1
- package/dist/chunk-J2FCNWYM.js.map +0 -1
- package/dist/chunk-JAHKLROD.cjs.map +0 -1
- package/dist/chunk-JMNH45Q3.cjs.map +0 -1
- package/dist/chunk-K6CQ45C2.js.map +0 -1
- package/dist/chunk-K77D7H4V.cjs.map +0 -1
- package/dist/chunk-KFEXS6OK.cjs.map +0 -1
- package/dist/chunk-L6JT244G.cjs.map +0 -1
- package/dist/chunk-L6WUK7O4.js +0 -207
- package/dist/chunk-L6WUK7O4.js.map +0 -1
- package/dist/chunk-LJLCGQRV.js +0 -99
- package/dist/chunk-LJLCGQRV.js.map +0 -1
- package/dist/chunk-MACIT6C6.js.map +0 -1
- package/dist/chunk-MAL4D4LR.cjs.map +0 -1
- package/dist/chunk-MMST4VXH.cjs +0 -392
- package/dist/chunk-MMST4VXH.cjs.map +0 -1
- package/dist/chunk-MQQ4GSUG.cjs.map +0 -1
- package/dist/chunk-OHKL4DOV.js.map +0 -1
- package/dist/chunk-OJCJPYXE.js.map +0 -1
- package/dist/chunk-OJKZS6HG.cjs.map +0 -1
- package/dist/chunk-P4A7GWQY.cjs.map +0 -1
- package/dist/chunk-P4TOIB2A.cjs +0 -101
- package/dist/chunk-P4TOIB2A.cjs.map +0 -1
- package/dist/chunk-PJXJOI73.js +0 -232
- package/dist/chunk-PJXJOI73.js.map +0 -1
- package/dist/chunk-PNYF6NS4.cjs.map +0 -1
- package/dist/chunk-PTJ5YZFY.cjs.map +0 -1
- package/dist/chunk-PXTE3XRD.js.map +0 -1
- package/dist/chunk-PXVVTPRJ.js.map +0 -1
- package/dist/chunk-PYW5UO2Z.js.map +0 -1
- package/dist/chunk-S4GLMGFI.js.map +0 -1
- package/dist/chunk-SEAVOF6B.js.map +0 -1
- package/dist/chunk-SFT5LCQP.cjs.map +0 -1
- package/dist/chunk-SSOHJEHS.js +0 -390
- package/dist/chunk-SSOHJEHS.js.map +0 -1
- package/dist/chunk-TO3ZPSYO.cjs +0 -234
- package/dist/chunk-TO3ZPSYO.cjs.map +0 -1
- package/dist/chunk-TRK2ZZFB.cjs.map +0 -1
- package/dist/chunk-U2WVHZ24.cjs.map +0 -1
- package/dist/chunk-UJODHP7E.cjs.map +0 -1
- package/dist/chunk-UMGW7WJI.cjs.map +0 -1
- package/dist/chunk-UR7RYJOU.cjs.map +0 -1
- package/dist/chunk-UX2Z7LRM.cjs +0 -194
- package/dist/chunk-UX2Z7LRM.cjs.map +0 -1
- package/dist/chunk-UY3MYNI6.js.map +0 -1
- package/dist/chunk-VSEKSDTK.js.map +0 -1
- package/dist/chunk-VYFMYXU4.js.map +0 -1
- package/dist/chunk-W3QVSVL7.cjs.map +0 -1
- package/dist/chunk-WA4VZ363.cjs.map +0 -1
- package/dist/chunk-WATCCAQU.js.map +0 -1
- package/dist/chunk-X5ZQRMEM.cjs.map +0 -1
- package/dist/chunk-XQU4ECJY.js.map +0 -1
- package/dist/chunk-XVRQSTUF.js.map +0 -1
- package/dist/chunk-Y5SXQR52.cjs.map +0 -1
- package/dist/chunk-YBPG5RPR.cjs.map +0 -1
- package/dist/chunk-YGYA4BYN.js.map +0 -1
- package/dist/chunk-ZC6GLBEL.js +0 -179
- package/dist/chunk-ZC6GLBEL.js.map +0 -1
- package/dist/chunk-ZNUOFLCQ.js.map +0 -1
- package/dist/chunk-ZNZ67KFM.js.map +0 -1
- package/dist/chunk-ZTQQ2O6O.cjs.map +0 -1
- package/dist/chunk-ZW2ATXTL.js.map +0 -1
- package/dist/chunk-ZXPKFGRB.cjs.map +0 -1
- package/dist/components/Stack/Stack.d.ts.map +0 -1
- package/dist/components/Stack/Stack.recipe.d.ts.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { plainDateIsEqual, plainDateIsBefore, plainDateGetWeekNumber, plainDateFormat, DATE_FORMAT_MONTH_YEAR, plainDateIsInRange, DATE_FORMAT_WITH_WEEKDAY, getDaysInMonth, plainDateCreate, plainDateDayOfWeek, plainDateIsAfter, plainDateToday } from './chunk-QSEDH7T2.js';
|
|
2
2
|
import { getBrowserTimezoneID } from './chunk-OX4ZMUF4.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Button } from './chunk-2LABTS4P.js';
|
|
4
|
+
import { sva } from './chunk-IAVZKGZS.js';
|
|
5
|
+
import { cx } from './chunk-PPNETWIP.js';
|
|
6
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
6
7
|
import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|
7
8
|
import { memo, useMemo, useCallback, useEffect, useRef, useState, useImperativeHandle } from 'react';
|
|
8
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -107,149 +108,217 @@ function useGridFocus({
|
|
|
107
108
|
);
|
|
108
109
|
return { gridRef, handleKeyDown, focusCell, focusFirst, focusLast };
|
|
109
110
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
gridTemplateColumns: "auto repeat(7, 1fr)"
|
|
160
|
-
}),
|
|
161
|
-
weekRow: css({
|
|
162
|
-
display: "contents"
|
|
163
|
-
}),
|
|
164
|
-
weekNumber: css({
|
|
165
|
-
display: "flex",
|
|
166
|
-
alignItems: "center",
|
|
167
|
-
justifyContent: "center",
|
|
168
|
-
w: "component.md",
|
|
169
|
-
h: "component.md",
|
|
170
|
-
color: "fg.muted",
|
|
171
|
-
fontSize: "sm"
|
|
172
|
-
}),
|
|
173
|
-
cell: css({
|
|
174
|
-
position: "relative",
|
|
175
|
-
display: "flex",
|
|
176
|
-
alignItems: "center",
|
|
177
|
-
justifyContent: "center",
|
|
178
|
-
h: "component.md",
|
|
179
|
-
isolation: "isolate"
|
|
180
|
-
}),
|
|
181
|
-
rangeBackground: css({
|
|
182
|
-
position: "absolute",
|
|
183
|
-
insetBlock: "2px",
|
|
184
|
-
insetInline: 0,
|
|
185
|
-
bg: "bg.selected"
|
|
186
|
-
}),
|
|
187
|
-
previewBackground: css({
|
|
188
|
-
position: "absolute",
|
|
189
|
-
insetBlock: "2px",
|
|
190
|
-
insetInline: 0,
|
|
191
|
-
bg: "bg.subtle"
|
|
192
|
-
}),
|
|
193
|
-
rangeLeft: css({
|
|
194
|
-
left: "2px",
|
|
195
|
-
borderTopLeftRadius: "full",
|
|
196
|
-
borderBottomLeftRadius: "full"
|
|
197
|
-
}),
|
|
198
|
-
rangeRight: css({
|
|
199
|
-
right: "2px",
|
|
200
|
-
borderTopRightRadius: "full",
|
|
201
|
-
borderBottomRightRadius: "full"
|
|
202
|
-
}),
|
|
203
|
-
day: css({
|
|
204
|
-
position: "relative",
|
|
205
|
-
zIndex: 1,
|
|
206
|
-
display: "flex",
|
|
207
|
-
alignItems: "center",
|
|
208
|
-
justifyContent: "center",
|
|
209
|
-
w: "component.sm",
|
|
210
|
-
h: "component.sm",
|
|
211
|
-
p: 0,
|
|
212
|
-
borderWidth: 0,
|
|
213
|
-
borderStyle: "none",
|
|
214
|
-
borderRadius: "full",
|
|
215
|
-
bg: "transparent",
|
|
216
|
-
color: "fg",
|
|
217
|
-
cursor: "pointer",
|
|
218
|
-
fontFamily: "inherit",
|
|
219
|
-
fontSize: "md",
|
|
220
|
-
transitionProperty: "background-color, color",
|
|
221
|
-
transitionDuration: "fast",
|
|
222
|
-
_hover: {
|
|
223
|
-
bg: "bg.subtle"
|
|
111
|
+
|
|
112
|
+
// src/components/Calendar/Calendar.recipe.ts
|
|
113
|
+
var calendarRecipe = sva({
|
|
114
|
+
slots: [
|
|
115
|
+
"root",
|
|
116
|
+
"header",
|
|
117
|
+
"monthYear",
|
|
118
|
+
"months",
|
|
119
|
+
"monthGrid",
|
|
120
|
+
"weekHeader",
|
|
121
|
+
"dayName",
|
|
122
|
+
"daysGrid",
|
|
123
|
+
"weekRow",
|
|
124
|
+
"weekNumber",
|
|
125
|
+
"cell",
|
|
126
|
+
"rangeBackground",
|
|
127
|
+
"day"
|
|
128
|
+
],
|
|
129
|
+
base: {
|
|
130
|
+
root: {
|
|
131
|
+
display: "inline-block",
|
|
132
|
+
minW: "220px",
|
|
133
|
+
color: "fg",
|
|
134
|
+
fontFamily: "body"
|
|
135
|
+
},
|
|
136
|
+
header: {
|
|
137
|
+
display: "flex",
|
|
138
|
+
alignItems: "center",
|
|
139
|
+
justifyContent: "space-between",
|
|
140
|
+
gap: "2",
|
|
141
|
+
mb: "2"
|
|
142
|
+
},
|
|
143
|
+
monthYear: {
|
|
144
|
+
flex: 1,
|
|
145
|
+
textAlign: "center",
|
|
146
|
+
fontSize: "sm",
|
|
147
|
+
fontWeight: "semibold"
|
|
148
|
+
},
|
|
149
|
+
months: {
|
|
150
|
+
display: "flex",
|
|
151
|
+
gap: "4"
|
|
152
|
+
},
|
|
153
|
+
monthGrid: {
|
|
154
|
+
flex: "1 1 0"
|
|
155
|
+
},
|
|
156
|
+
weekHeader: {
|
|
157
|
+
display: "grid",
|
|
158
|
+
gridTemplateColumns: "repeat(7, 1fr)",
|
|
159
|
+
mb: "1"
|
|
224
160
|
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
161
|
+
dayName: {
|
|
162
|
+
display: "flex",
|
|
163
|
+
alignItems: "center",
|
|
164
|
+
justifyContent: "center",
|
|
165
|
+
w: "component.md",
|
|
166
|
+
h: "component.md",
|
|
167
|
+
color: "fg.muted",
|
|
168
|
+
fontSize: "sm"
|
|
230
169
|
},
|
|
231
|
-
|
|
232
|
-
|
|
170
|
+
daysGrid: {
|
|
171
|
+
display: "grid",
|
|
172
|
+
gridTemplateColumns: "repeat(7, 1fr)"
|
|
173
|
+
},
|
|
174
|
+
weekRow: {
|
|
175
|
+
display: "contents"
|
|
176
|
+
},
|
|
177
|
+
weekNumber: {
|
|
178
|
+
display: "flex",
|
|
179
|
+
alignItems: "center",
|
|
180
|
+
justifyContent: "center",
|
|
181
|
+
w: "component.md",
|
|
182
|
+
h: "component.md",
|
|
183
|
+
color: "fg.muted",
|
|
184
|
+
fontSize: "sm"
|
|
185
|
+
},
|
|
186
|
+
cell: {
|
|
187
|
+
position: "relative",
|
|
188
|
+
display: "flex",
|
|
189
|
+
alignItems: "center",
|
|
190
|
+
justifyContent: "center",
|
|
191
|
+
h: "component.md",
|
|
192
|
+
isolation: "isolate"
|
|
193
|
+
},
|
|
194
|
+
rangeBackground: {
|
|
195
|
+
position: "absolute",
|
|
196
|
+
insetBlock: "2px",
|
|
197
|
+
insetInline: 0
|
|
198
|
+
},
|
|
199
|
+
day: {
|
|
200
|
+
position: "relative",
|
|
201
|
+
zIndex: 1,
|
|
202
|
+
display: "flex",
|
|
203
|
+
alignItems: "center",
|
|
204
|
+
justifyContent: "center",
|
|
205
|
+
w: "component.sm",
|
|
206
|
+
h: "component.sm",
|
|
207
|
+
p: 0,
|
|
208
|
+
borderWidth: 0,
|
|
209
|
+
borderStyle: "none",
|
|
210
|
+
borderRadius: "full",
|
|
211
|
+
bg: "transparent",
|
|
212
|
+
color: "fg",
|
|
213
|
+
cursor: "pointer",
|
|
214
|
+
fontFamily: "inherit",
|
|
215
|
+
fontSize: "md",
|
|
216
|
+
transitionProperty: "background-color, color",
|
|
217
|
+
transitionDuration: "fast",
|
|
218
|
+
_hover: {
|
|
219
|
+
bg: "bg.subtle"
|
|
220
|
+
},
|
|
221
|
+
_focusVisible: {
|
|
222
|
+
outlineWidth: "focus",
|
|
223
|
+
outlineStyle: "solid",
|
|
224
|
+
outlineColor: "primary",
|
|
225
|
+
outlineOffset: "focusOffset"
|
|
226
|
+
},
|
|
227
|
+
_disabled: {
|
|
228
|
+
cursor: "not-allowed"
|
|
229
|
+
}
|
|
233
230
|
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
231
|
+
},
|
|
232
|
+
variants: {
|
|
233
|
+
// Reserve a leading column for ISO week numbers in the header and grid.
|
|
234
|
+
hasWeekNumbers: {
|
|
235
|
+
true: {
|
|
236
|
+
weekHeader: { gridTemplateColumns: "auto repeat(7, 1fr)" },
|
|
237
|
+
daysGrid: { gridTemplateColumns: "auto repeat(7, 1fr)" }
|
|
238
|
+
},
|
|
239
|
+
false: {}
|
|
240
|
+
},
|
|
241
|
+
isOutside: {
|
|
242
|
+
true: { day: { color: "fg.muted", opacity: 0.55 } },
|
|
243
|
+
false: {}
|
|
244
|
+
},
|
|
245
|
+
// Marker variant; the today ring is suppressed for selected/in-range days,
|
|
246
|
+
// so the real styling lives in compoundVariants below.
|
|
247
|
+
isToday: {
|
|
248
|
+
true: {},
|
|
249
|
+
false: {}
|
|
250
|
+
},
|
|
251
|
+
isSelected: {
|
|
252
|
+
true: {
|
|
253
|
+
day: {
|
|
254
|
+
bg: "primary",
|
|
255
|
+
color: "fg.onPrimary",
|
|
256
|
+
_hover: { bg: "primary" }
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
false: {}
|
|
260
|
+
},
|
|
261
|
+
// Marker variant; only used to suppress the today ring on range middles.
|
|
262
|
+
isInRange: {
|
|
263
|
+
true: {},
|
|
264
|
+
false: {}
|
|
265
|
+
},
|
|
266
|
+
// Declared after isOutside so the disabled opacity wins when both apply.
|
|
267
|
+
// Outside days are `aria-disabled` but intentionally not natively
|
|
268
|
+
// `disabled` (that would drop them from useGridFocus's dense-grid index
|
|
269
|
+
// math), so the not-allowed cursor is driven from this variant rather than
|
|
270
|
+
// the native `:disabled` pseudo.
|
|
271
|
+
isDisabled: {
|
|
272
|
+
true: { day: { opacity: 0.35, cursor: "not-allowed" } },
|
|
273
|
+
false: {}
|
|
274
|
+
},
|
|
275
|
+
rangeTone: {
|
|
276
|
+
range: { rangeBackground: { bg: "bg.selected" } },
|
|
277
|
+
preview: { rangeBackground: { bg: "bg.subtle" } }
|
|
278
|
+
},
|
|
279
|
+
roundedStart: {
|
|
280
|
+
true: {
|
|
281
|
+
rangeBackground: {
|
|
282
|
+
left: "2px",
|
|
283
|
+
borderTopLeftRadius: "full",
|
|
284
|
+
borderBottomLeftRadius: "full"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
false: {}
|
|
288
|
+
},
|
|
289
|
+
roundedEnd: {
|
|
290
|
+
true: {
|
|
291
|
+
rangeBackground: {
|
|
292
|
+
right: "2px",
|
|
293
|
+
borderTopRightRadius: "full",
|
|
294
|
+
borderBottomRightRadius: "full"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
false: {}
|
|
247
298
|
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
299
|
+
},
|
|
300
|
+
compoundVariants: [
|
|
301
|
+
{
|
|
302
|
+
isToday: true,
|
|
303
|
+
isSelected: false,
|
|
304
|
+
isInRange: false,
|
|
305
|
+
css: {
|
|
306
|
+
day: { boxShadow: "inset 0 0 0 1px token(colors.border.emphasized)" }
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
defaultVariants: {
|
|
311
|
+
hasWeekNumbers: false,
|
|
312
|
+
isOutside: false,
|
|
313
|
+
isToday: false,
|
|
314
|
+
isSelected: false,
|
|
315
|
+
isInRange: false,
|
|
316
|
+
isDisabled: false,
|
|
317
|
+
rangeTone: "range",
|
|
318
|
+
roundedStart: false,
|
|
319
|
+
roundedEnd: false
|
|
320
|
+
}
|
|
321
|
+
});
|
|
253
322
|
function generateCalendarDays({
|
|
254
323
|
year,
|
|
255
324
|
month,
|
|
@@ -293,13 +362,6 @@ function checkDateDisabled(date, options) {
|
|
|
293
362
|
}
|
|
294
363
|
return options.getIsDateDisabled?.(date) ?? false;
|
|
295
364
|
}
|
|
296
|
-
function plainDateFromDataAttribute(value) {
|
|
297
|
-
return plainDateCreate(
|
|
298
|
-
parseInt(value.slice(0, 4)),
|
|
299
|
-
parseInt(value.slice(5, 7)),
|
|
300
|
-
parseInt(value.slice(8, 10))
|
|
301
|
-
);
|
|
302
|
-
}
|
|
303
365
|
function getSelectedTabDate({
|
|
304
366
|
days,
|
|
305
367
|
getIsDisabled,
|
|
@@ -377,10 +439,10 @@ function Calendar({
|
|
|
377
439
|
const lastVisibleMonth = visibleMonths.at(-1) ?? baseMonth;
|
|
378
440
|
const canNavigateNext = max == null || plainDateIsAfter(max.with({ day: 1 }), lastVisibleMonth);
|
|
379
441
|
const navigateMonth = useCallback(
|
|
380
|
-
(delta,
|
|
442
|
+
(delta, nextFocus) => {
|
|
381
443
|
const nextMonth = baseMonth.add({ months: delta });
|
|
382
|
-
if (
|
|
383
|
-
setPendingFocus(
|
|
444
|
+
if (nextFocus != null) {
|
|
445
|
+
setPendingFocus(nextFocus);
|
|
384
446
|
}
|
|
385
447
|
onViewDateChange?.(nextMonth);
|
|
386
448
|
if (!isViewDateControlled) {
|
|
@@ -420,17 +482,18 @@ function Calendar({
|
|
|
420
482
|
[mode, onChange, rangeSelectionStart]
|
|
421
483
|
);
|
|
422
484
|
const handleNavigateNext = useCallback(
|
|
423
|
-
(
|
|
485
|
+
(nextFocus) => navigateMonth(1, nextFocus),
|
|
424
486
|
[navigateMonth]
|
|
425
487
|
);
|
|
426
488
|
const handleNavigatePrevious = useCallback(
|
|
427
|
-
(
|
|
489
|
+
(nextFocus) => navigateMonth(-1, nextFocus),
|
|
428
490
|
[navigateMonth]
|
|
429
491
|
);
|
|
430
492
|
const handlePendingFocusHandled = useCallback(
|
|
431
493
|
() => setPendingFocus(null),
|
|
432
494
|
[]
|
|
433
495
|
);
|
|
496
|
+
const styles = calendarRecipe();
|
|
434
497
|
return (
|
|
435
498
|
// eslint-disable-next-line jsx-a11y-x/no-static-element-interactions
|
|
436
499
|
/* @__PURE__ */ jsxs(
|
|
@@ -555,7 +618,7 @@ var MonthGrid = memo(function MonthGrid2({
|
|
|
555
618
|
const getFocusedDate = useCallback(() => {
|
|
556
619
|
const activeElement = document.activeElement;
|
|
557
620
|
const date = activeElement?.dataset.date;
|
|
558
|
-
return date == null ? null :
|
|
621
|
+
return date == null ? null : Temporal.PlainDate.from(date);
|
|
559
622
|
}, []);
|
|
560
623
|
const { gridRef, handleKeyDown } = useGridFocus({
|
|
561
624
|
columns: 7,
|
|
@@ -563,25 +626,27 @@ var MonthGrid = memo(function MonthGrid2({
|
|
|
563
626
|
onNavigateBefore: (_column, offset) => {
|
|
564
627
|
const focusedDate = getFocusedDate();
|
|
565
628
|
if (focusedDate != null) {
|
|
566
|
-
onNavigatePrevious(focusedDate
|
|
629
|
+
onNavigatePrevious(focusedDate.subtract({ days: offset }));
|
|
567
630
|
}
|
|
568
631
|
},
|
|
569
632
|
onNavigateAfter: (_column, offset) => {
|
|
570
633
|
const focusedDate = getFocusedDate();
|
|
571
634
|
if (focusedDate != null) {
|
|
572
|
-
onNavigateNext(focusedDate
|
|
635
|
+
onNavigateNext(focusedDate.add({ days: offset }));
|
|
573
636
|
}
|
|
574
637
|
},
|
|
638
|
+
// Page keys move a whole month, keeping the same day. Temporal's default
|
|
639
|
+
// `constrain` overflow clamps to the month's last day (e.g. Jan 31 -> Feb 28).
|
|
575
640
|
onPageUp: () => {
|
|
576
641
|
const focusedDate = getFocusedDate();
|
|
577
642
|
if (focusedDate != null) {
|
|
578
|
-
onNavigatePrevious(focusedDate
|
|
643
|
+
onNavigatePrevious(focusedDate.subtract({ months: 1 }));
|
|
579
644
|
}
|
|
580
645
|
},
|
|
581
646
|
onPageDown: () => {
|
|
582
647
|
const focusedDate = getFocusedDate();
|
|
583
648
|
if (focusedDate != null) {
|
|
584
|
-
onNavigateNext(focusedDate
|
|
649
|
+
onNavigateNext(focusedDate.add({ months: 1 }));
|
|
585
650
|
}
|
|
586
651
|
}
|
|
587
652
|
});
|
|
@@ -613,28 +678,18 @@ var MonthGrid = memo(function MonthGrid2({
|
|
|
613
678
|
previewEnd = plainDateIsBefore(hoveredDate, rangeSelectionStart) ? rangeSelectionStart : hoveredDate;
|
|
614
679
|
}
|
|
615
680
|
}
|
|
681
|
+
const isSelectingRange = mode === "range" && rangeSelectionStart != null;
|
|
682
|
+
const styles = calendarRecipe({ hasWeekNumbers });
|
|
616
683
|
return /* @__PURE__ */ jsxs("div", { className: styles.monthGrid, children: [
|
|
617
|
-
/* @__PURE__ */ jsxs(
|
|
618
|
-
"div",
|
|
619
|
-
{
|
|
620
|
-
|
|
621
|
-
styles.weekHeader,
|
|
622
|
-
hasWeekNumbers ? styles.weekHeaderWithNumbers : void 0
|
|
623
|
-
),
|
|
624
|
-
children: [
|
|
625
|
-
hasWeekNumbers ? /* @__PURE__ */ jsx("div", { className: styles.dayName }) : null,
|
|
626
|
-
dayNames.map((dayName) => /* @__PURE__ */ jsx("div", { className: styles.dayName, role: "columnheader", children: dayName }, dayName))
|
|
627
|
-
]
|
|
628
|
-
}
|
|
629
|
-
),
|
|
684
|
+
/* @__PURE__ */ jsxs("div", { className: styles.weekHeader, children: [
|
|
685
|
+
hasWeekNumbers ? /* @__PURE__ */ jsx("div", { className: styles.dayName }) : null,
|
|
686
|
+
dayNames.map((dayName) => /* @__PURE__ */ jsx("div", { className: styles.dayName, role: "columnheader", children: dayName }, dayName))
|
|
687
|
+
] }),
|
|
630
688
|
/* @__PURE__ */ jsx(
|
|
631
689
|
"div",
|
|
632
690
|
{
|
|
633
691
|
"aria-label": plainDateFormat(month, DATE_FORMAT_MONTH_YEAR),
|
|
634
|
-
className:
|
|
635
|
-
styles.daysGrid,
|
|
636
|
-
hasWeekNumbers ? styles.daysGridWithNumbers : void 0
|
|
637
|
-
),
|
|
692
|
+
className: styles.daysGrid,
|
|
638
693
|
onKeyDown: handleKeyDown,
|
|
639
694
|
ref: gridRef,
|
|
640
695
|
role: "grid",
|
|
@@ -655,6 +710,7 @@ var MonthGrid = memo(function MonthGrid2({
|
|
|
655
710
|
dayIndex,
|
|
656
711
|
hasOutsideDays,
|
|
657
712
|
isDisabled: isDisabled(day.date),
|
|
713
|
+
isSelectingRange,
|
|
658
714
|
isTabbable: tabbableDate != null && plainDateIsEqual(tabbableDate, day.date),
|
|
659
715
|
mode,
|
|
660
716
|
onDayClick,
|
|
@@ -689,12 +745,13 @@ var DayCell = memo(function DayCell2({
|
|
|
689
745
|
today,
|
|
690
746
|
hasOutsideDays,
|
|
691
747
|
isDisabled,
|
|
748
|
+
isSelectingRange,
|
|
692
749
|
isTabbable,
|
|
693
750
|
onDayClick,
|
|
694
751
|
onDayHover
|
|
695
752
|
}) {
|
|
696
753
|
if (day.isOutside && !hasOutsideDays) {
|
|
697
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
754
|
+
return /* @__PURE__ */ jsx("div", { className: calendarRecipe().cell });
|
|
698
755
|
}
|
|
699
756
|
const effectivelyDisabled = isDisabled || day.isOutside;
|
|
700
757
|
const isToday = plainDateIsEqual(day.date, today);
|
|
@@ -707,40 +764,33 @@ var DayCell = memo(function DayCell2({
|
|
|
707
764
|
const isPreviewEnd = previewEnd != null && plainDateIsEqual(day.date, previewEnd);
|
|
708
765
|
const isFirstColumn = dayIndex === 0;
|
|
709
766
|
const isLastColumn = dayIndex === 6;
|
|
767
|
+
const styles = calendarRecipe({
|
|
768
|
+
isOutside: day.isOutside,
|
|
769
|
+
isToday,
|
|
770
|
+
isSelected: isSelected || isRangeStart || isRangeEnd,
|
|
771
|
+
isInRange,
|
|
772
|
+
isDisabled: effectivelyDisabled
|
|
773
|
+
});
|
|
774
|
+
const rangeBackgroundClass = calendarRecipe({
|
|
775
|
+
rangeTone: "range",
|
|
776
|
+
roundedStart: isRangeStart || isFirstColumn,
|
|
777
|
+
roundedEnd: isRangeEnd || isLastColumn
|
|
778
|
+
}).rangeBackground;
|
|
779
|
+
const previewBackgroundClass = calendarRecipe({
|
|
780
|
+
rangeTone: "preview",
|
|
781
|
+
roundedStart: isPreviewStart || isFirstColumn,
|
|
782
|
+
roundedEnd: isPreviewEnd || isLastColumn
|
|
783
|
+
}).rangeBackground;
|
|
710
784
|
return /* @__PURE__ */ jsxs("div", { className: styles.cell, children: [
|
|
711
|
-
isInRange ? /* @__PURE__ */ jsx(
|
|
712
|
-
|
|
713
|
-
{
|
|
714
|
-
className: cx(
|
|
715
|
-
styles.rangeBackground,
|
|
716
|
-
isRangeStart || isFirstColumn ? styles.rangeLeft : void 0,
|
|
717
|
-
isRangeEnd || isLastColumn ? styles.rangeRight : void 0
|
|
718
|
-
)
|
|
719
|
-
}
|
|
720
|
-
) : null,
|
|
721
|
-
isInPreview ? /* @__PURE__ */ jsx(
|
|
722
|
-
"div",
|
|
723
|
-
{
|
|
724
|
-
className: cx(
|
|
725
|
-
styles.previewBackground,
|
|
726
|
-
isPreviewStart || isFirstColumn ? styles.rangeLeft : void 0,
|
|
727
|
-
isPreviewEnd || isLastColumn ? styles.rangeRight : void 0
|
|
728
|
-
)
|
|
729
|
-
}
|
|
730
|
-
) : null,
|
|
785
|
+
isInRange ? /* @__PURE__ */ jsx("div", { className: rangeBackgroundClass }) : null,
|
|
786
|
+
isInPreview ? /* @__PURE__ */ jsx("div", { className: previewBackgroundClass }) : null,
|
|
731
787
|
/* @__PURE__ */ jsx(
|
|
732
788
|
"button",
|
|
733
789
|
{
|
|
734
790
|
"aria-disabled": effectivelyDisabled || void 0,
|
|
735
791
|
"aria-label": plainDateFormat(day.date, DATE_FORMAT_WITH_WEEKDAY),
|
|
736
792
|
"aria-selected": isSelected || isInRange || void 0,
|
|
737
|
-
className:
|
|
738
|
-
styles.day,
|
|
739
|
-
day.isOutside ? styles.dayOutside : void 0,
|
|
740
|
-
isToday && !isSelected && !isInRange ? styles.dayToday : void 0,
|
|
741
|
-
isSelected || isRangeStart || isRangeEnd ? styles.daySelected : void 0,
|
|
742
|
-
effectivelyDisabled ? styles.dayDisabled : void 0
|
|
743
|
-
),
|
|
793
|
+
className: styles.day,
|
|
744
794
|
"data-date": day.date.toString(),
|
|
745
795
|
disabled: isDisabled,
|
|
746
796
|
onClick: () => {
|
|
@@ -749,11 +799,15 @@ var DayCell = memo(function DayCell2({
|
|
|
749
799
|
}
|
|
750
800
|
},
|
|
751
801
|
onMouseEnter: () => {
|
|
752
|
-
if (!effectivelyDisabled) {
|
|
802
|
+
if (isSelectingRange && !effectivelyDisabled) {
|
|
753
803
|
onDayHover(day.date);
|
|
754
804
|
}
|
|
755
805
|
},
|
|
756
|
-
onMouseLeave: () =>
|
|
806
|
+
onMouseLeave: () => {
|
|
807
|
+
if (isSelectingRange) {
|
|
808
|
+
onDayHover(null);
|
|
809
|
+
}
|
|
810
|
+
},
|
|
757
811
|
role: "gridcell",
|
|
758
812
|
tabIndex: isTabbable ? 0 : -1,
|
|
759
813
|
type: "button",
|
|
@@ -765,5 +819,5 @@ var DayCell = memo(function DayCell2({
|
|
|
765
819
|
Calendar.displayName = "Calendar";
|
|
766
820
|
|
|
767
821
|
export { Calendar };
|
|
768
|
-
//# sourceMappingURL=chunk-
|
|
769
|
-
//# sourceMappingURL=chunk-
|
|
822
|
+
//# sourceMappingURL=chunk-6ONAGCCZ.js.map
|
|
823
|
+
//# sourceMappingURL=chunk-6ONAGCCZ.js.map
|