@esri/calcite-components 5.2.0-next.2 → 5.2.0-next.21
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/cdn/272JE4T2.js +2 -0
- package/dist/cdn/2F4MPSIU.js +2 -0
- package/dist/cdn/2JGUT2QI.js +2 -0
- package/dist/cdn/2JILEOJW.js +2 -0
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/{G4ZSDWUZ.js → 2YUN7R23.js} +1 -1
- package/dist/cdn/{YL4XYPPL.js → 3ES6MC2M.js} +1 -1
- package/dist/cdn/3I2BUVSG.js +2 -0
- package/dist/cdn/{FEMVD7MC.js → 3JCYJQN7.js} +1 -1
- package/dist/cdn/3RWXOX6F.js +2 -0
- package/dist/cdn/3XFDNORV.js +2 -0
- package/dist/cdn/3XNKB4LT.js +2 -0
- package/dist/cdn/{BDJAXYZ6.js → 426HUAXX.js} +1 -1
- package/dist/cdn/47XLG5YV.js +2 -0
- package/dist/cdn/4HBUNZIM.js +2 -0
- package/dist/cdn/4KLGMAQB.js +2 -0
- package/dist/cdn/4LZCIWN2.js +2 -0
- package/dist/cdn/4WVXINWO.js +20 -0
- package/dist/cdn/56JRN55F.js +2 -0
- package/dist/cdn/56NWOB2H.js +2 -0
- package/dist/cdn/5EOX7NEX.js +2 -0
- package/dist/cdn/5FZL7744.js +2 -0
- package/dist/cdn/5U52USCL.js +2 -0
- package/dist/cdn/5VCUPUNM.js +2 -0
- package/dist/cdn/{XD2JOD4K.js → 7A2PNBBN.js} +1 -1
- package/dist/cdn/{BBQFFEZH.js → 7BYI7SPD.js} +1 -1
- package/dist/cdn/7DG2R3OP.js +2 -0
- package/dist/cdn/{HIXRGJPQ.js → 7F62KAGK.js} +1 -1
- package/dist/cdn/{4XBIPWD2.js → 7MK2ZF4L.js} +1 -1
- package/dist/cdn/7UKOH7BP.js +2 -0
- package/dist/cdn/{GUSPFAZS.js → A66UUYDP.js} +1 -1
- package/dist/cdn/AIYTOT7G.js +2 -0
- package/dist/cdn/AKQOSNJ4.js +2 -0
- package/dist/cdn/{MIE7SGGW.js → AL7MCNIT.js} +1 -1
- package/dist/cdn/{F25HCCSH.js → AWWSYSFZ.js} +1 -1
- package/dist/cdn/B3LFVY3M.js +2 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/C6IQSTJA.js +2 -0
- package/dist/cdn/CABYCECQ.js +2 -0
- package/dist/cdn/CJ7YLUIT.js +2 -0
- package/dist/cdn/{EL7GGALP.js → CNKLVNBN.js} +1 -1
- package/dist/cdn/CUPOES2M.js +2 -0
- package/dist/cdn/DFB6ZYV7.js +2 -0
- package/dist/cdn/{B5M44JJO.js → DLRZL6VP.js} +1 -1
- package/dist/cdn/DNYCTXXF.js +2 -0
- package/dist/cdn/E42FZREV.js +2 -0
- package/dist/cdn/EAVZBUUO.js +2 -0
- package/dist/cdn/EBUGQXPB.js +2 -0
- package/dist/cdn/ECA6D3BY.js +2 -0
- package/dist/cdn/EHSCOSXB.js +2 -0
- package/dist/cdn/F3LAVUQV.js +2 -0
- package/dist/cdn/F7DR7O35.js +2 -0
- package/dist/cdn/{6A4WSEWS.js → FBIHAO55.js} +1 -1
- package/dist/cdn/FHOVIOY2.js +2 -0
- package/dist/cdn/FYTLOVRA.js +2 -0
- package/dist/cdn/{QIW2VXWS.js → GBRXDUNR.js} +1 -1
- package/dist/cdn/GEJMEJ3S.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → GHDKS4TD.js} +1 -1
- package/dist/cdn/{XR4GGZRV.js → GP3JS5Z3.js} +1 -1
- package/dist/cdn/GXD243NQ.js +2 -0
- package/dist/cdn/HCCW2HVH.js +2 -0
- package/dist/cdn/HMBUAJ3C.js +2 -0
- package/dist/cdn/HPX2NCMW.js +2 -0
- package/dist/cdn/HR2CVDVP.js +2 -0
- package/dist/cdn/{U5IWCBXE.js → HWXH6W2L.js} +1 -1
- package/dist/cdn/ICC77N4O.js +2 -0
- package/dist/cdn/IFNI622P.js +2 -0
- package/dist/cdn/IRMP3YN4.js +2 -0
- package/dist/cdn/IX4C6Q7V.js +2 -0
- package/dist/cdn/J5V74PPK.js +2 -0
- package/dist/cdn/{NF3TF2WJ.js → JMNMINM4.js} +1 -1
- package/dist/cdn/{KQN3IXDE.js → JRIHW6MN.js} +1 -1
- package/dist/cdn/JTQM2TTD.js +2 -0
- package/dist/cdn/JZVDDOLT.js +2 -0
- package/dist/cdn/K42J27GZ.js +2 -0
- package/dist/cdn/KGBTQAAG.js +2 -0
- package/dist/cdn/KV7UW3YJ.js +2 -0
- package/dist/cdn/KX4TG57C.js +2 -0
- package/dist/cdn/L6DQTGEQ.js +2 -0
- package/dist/cdn/LL2AKBZL.js +2 -0
- package/dist/cdn/LSUIVEP3.js +2 -0
- package/dist/cdn/{CC6MIBOX.js → M4FNVXZ2.js} +1 -1
- package/dist/cdn/MV6B53QB.js +2 -0
- package/dist/cdn/{4AM5CFW2.js → N5YHLBDH.js} +1 -1
- package/dist/cdn/NBFB52UI.js +2 -0
- package/dist/cdn/{QXVZRQDN.js → NQRE6JP2.js} +1 -1
- package/dist/cdn/O442DH6W.js +2 -0
- package/dist/cdn/{ATPHVTBE.js → O5RU3VB7.js} +2 -2
- package/dist/cdn/OIO5CL6R.js +2 -0
- package/dist/cdn/OPEIRYVW.js +2 -0
- package/dist/cdn/OUCV3THM.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → P5E4K2YU.js} +1 -1
- package/dist/cdn/P5VEJH27.js +2 -0
- package/dist/cdn/{S5JJMYDX.js → PKH35RAY.js} +1 -1
- package/dist/cdn/{UOQXEKIF.js → PN34TX2Y.js} +1 -1
- package/dist/cdn/PO4IIXQB.js +2 -0
- package/dist/cdn/Q2IZW7BR.js +2 -0
- package/dist/cdn/{4PN5ZOFS.js → Q4NJGVJB.js} +1 -1
- package/dist/cdn/{NFPHYIMY.js → Q5VG5AQG.js} +1 -1
- package/dist/cdn/QQDQTFWB.js +2 -0
- package/dist/cdn/QW6A2JKZ.js +2 -0
- package/dist/cdn/R6GL2MQY.js +2 -0
- package/dist/cdn/{WYJ5MJ5T.js → RNVT5N2K.js} +1 -1
- package/dist/cdn/{UMHABPZB.js → RXB5QVOF.js} +1 -1
- package/dist/cdn/{57I2TDEP.js → SAQXF3O4.js} +1 -1
- package/dist/cdn/SAX2IWNQ.js +2 -0
- package/dist/cdn/{45HPDOT4.js → SBLTFKZU.js} +1 -1
- package/dist/cdn/SGHQJIEB.js +2 -0
- package/dist/cdn/SOLXBNIY.js +2 -0
- package/dist/cdn/{IVJANKWM.js → SVIKF2RJ.js} +1 -1
- package/dist/cdn/SVKMC3IH.js +2 -0
- package/dist/cdn/{FPVMYG6A.js → TD2CYHOH.js} +1 -1
- package/dist/cdn/TJHEX4FQ.js +2 -0
- package/dist/cdn/TOGTOADC.js +2 -0
- package/dist/cdn/TUFMKQOT.js +2 -0
- package/dist/cdn/{B34QFBVX.js → TXVTI6LX.js} +1 -1
- package/dist/cdn/U5VEPYIN.js +2 -0
- package/dist/cdn/UDEXLFZX.js +2 -0
- package/dist/cdn/UGQ7QEUT.js +2 -0
- package/dist/cdn/UISSIQ32.js +2 -0
- package/dist/cdn/{IOBH7Q3C.js → UJQCS2W7.js} +2 -2
- package/dist/cdn/UUBGEQCK.js +3 -0
- package/dist/cdn/UVN2552D.js +2 -0
- package/dist/cdn/V6IGQUSK.js +2 -0
- package/dist/cdn/{DJL42XA3.js → VESLJKC6.js} +1 -1
- package/dist/cdn/VFRHRLG4.js +2 -0
- package/dist/cdn/{7Q57OJ6S.js → VJPWPUVR.js} +1 -1
- package/dist/cdn/VYLHCMIN.js +2 -0
- package/dist/cdn/{KPR7F2IQ.js → VZY2QL4T.js} +1 -1
- package/dist/cdn/{YEFCURY4.js → W6TKTKZ2.js} +1 -1
- package/dist/cdn/{GBNEJ7ZF.js → WCIWAXVM.js} +1 -1
- package/dist/cdn/WETW5UXF.js +2 -0
- package/dist/cdn/WGYDUGAX.js +2 -0
- package/dist/cdn/{QLMCMCFN.js → WHODE5V4.js} +1 -1
- package/dist/cdn/WM43COV2.js +2 -0
- package/dist/cdn/WOT3ORF2.js +2 -0
- package/dist/cdn/{AV53YUYO.js → WPHP6PNQ.js} +1 -1
- package/dist/cdn/WQPTKDSB.js +2 -0
- package/dist/cdn/{AFNW6NWU.js → WTRCWKFF.js} +1 -1
- package/dist/cdn/{PKAYPMQL.js → X4KXT3UH.js} +1 -1
- package/dist/cdn/{AOWO3CEE.js → XDZYR57Z.js} +1 -1
- package/dist/cdn/XGVUKAR6.js +2 -0
- package/dist/cdn/{TE3IGQZH.js → XUWMJEUC.js} +1 -1
- package/dist/cdn/{2U7LTQ5E.js → XYWGIRGB.js} +1 -1
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YNAVDDAP.js +2 -0
- package/dist/cdn/YPDRWI4Z.js +2 -0
- package/dist/cdn/YWS6ADXE.js +2 -0
- package/dist/cdn/{X33GQ3A3.js → ZBZNZWOA.js} +1 -1
- package/dist/cdn/ZJMGR5TI.js +2 -0
- package/dist/cdn/ZM2ZOPHJ.js +2 -0
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/arcgisEnterprise16.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise24.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise32.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/smartSearch16.json +1 -0
- package/dist/cdn/assets/icon/smartSearch24.json +1 -0
- package/dist/cdn/assets/icon/smartSearch32.json +1 -0
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/userSave16.json +1 -0
- package/dist/cdn/assets/icon/userSave24.json +1 -0
- package/dist/cdn/assets/icon/userSave32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
- package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +9 -14
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -5
- package/dist/chunks/useForm.js +8 -6
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +28 -24
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +58 -5
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
- package/dist/components/calcite-action/customElement.d.ts +5 -8
- package/dist/components/calcite-action/customElement.js +26 -10
- package/dist/components/calcite-action-bar/customElement.d.ts +13 -6
- package/dist/components/calcite-action-bar/customElement.js +21 -8
- package/dist/components/calcite-action-group/customElement.d.ts +3 -5
- package/dist/components/calcite-action-menu/customElement.d.ts +3 -5
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-action-pad/customElement.d.ts +4 -4
- package/dist/components/calcite-alert/customElement.d.ts +2 -4
- package/dist/components/calcite-autocomplete/customElement.d.ts +6 -12
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +7 -9
- package/dist/components/calcite-block-group/customElement.d.ts +2 -2
- package/dist/components/calcite-block-section/customElement.d.ts +2 -2
- package/dist/components/calcite-button/customElement.d.ts +2 -6
- package/dist/components/calcite-card/customElement.d.ts +2 -2
- package/dist/components/calcite-carousel/customElement.d.ts +7 -7
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +2 -6
- package/dist/components/calcite-chip/customElement.d.ts +2 -2
- package/dist/components/calcite-chip/customElement.js +4 -3
- package/dist/components/calcite-color-picker/customElement.d.ts +20 -20
- package/dist/components/calcite-color-picker/customElement.js +6 -2
- package/dist/components/calcite-combobox/customElement.d.ts +25 -30
- package/dist/components/calcite-combobox/customElement.js +80 -74
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +2 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +15 -15
- package/dist/components/calcite-date-picker/customElement.js +18 -18
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +4 -4
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +14 -9
- package/dist/components/calcite-dialog/customElement.d.ts +12 -14
- package/dist/components/calcite-dialog/customElement.js +5 -6
- package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
- package/dist/components/calcite-dropdown/customElement.js +10 -7
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown-item/customElement.js +3 -3
- package/dist/components/calcite-filter/customElement.d.ts +2 -2
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +10 -12
- package/dist/components/calcite-flow-item/customElement.js +9 -7
- package/dist/components/calcite-graph/customElement.d.ts +3 -3
- package/dist/components/calcite-graph/customElement.js +11 -15
- package/dist/components/calcite-handle/customElement.d.ts +7 -7
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +4 -4
- package/dist/components/calcite-icon/interfaces.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +4 -2
- package/dist/components/calcite-input/customElement.d.ts +26 -27
- package/dist/components/calcite-input/customElement.js +14 -12
- package/dist/components/calcite-input-date-picker/customElement.d.ts +30 -29
- package/dist/components/calcite-input-date-picker/customElement.js +17 -17
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -3
- package/dist/components/calcite-input-number/customElement.d.ts +25 -28
- package/dist/components/calcite-input-number/customElement.js +14 -12
- package/dist/components/calcite-input-text/customElement.d.ts +21 -22
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +29 -30
- package/dist/components/calcite-input-time-picker/customElement.js +34 -10
- package/dist/components/calcite-input-time-zone/customElement.d.ts +619 -622
- package/dist/components/calcite-input-time-zone/customElement.js +14 -12
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list-item/customElement.d.ts +4 -6
- package/dist/components/calcite-list-item/interfaces.d.ts +3 -3
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-meter/customElement.js +9 -9
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +9 -9
- package/dist/components/calcite-navigation-logo/customElement.js +1 -0
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +1 -0
- package/dist/components/calcite-notice/customElement.d.ts +2 -2
- package/dist/components/calcite-option/customElement.d.ts +1 -1
- package/dist/components/calcite-option/customElement.js +1 -0
- package/dist/components/calcite-pagination/customElement.d.ts +4 -4
- package/dist/components/calcite-pagination/customElement.js +3 -3
- package/dist/components/calcite-panel/customElement.d.ts +8 -10
- package/dist/components/calcite-panel/customElement.js +38 -6
- package/dist/components/calcite-popover/customElement.d.ts +3 -5
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +4 -8
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +8 -11
- package/dist/components/calcite-segmented-control/customElement.js +2 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.d.ts +7 -11
- package/dist/components/calcite-sheet/customElement.d.ts +6 -8
- package/dist/components/calcite-sheet/customElement.js +7 -22
- package/dist/components/calcite-shell/customElement.d.ts +2 -0
- package/dist/components/calcite-shell/customElement.js +3 -14
- package/dist/components/calcite-shell-panel/customElement.d.ts +4 -4
- package/dist/components/calcite-shell-panel/customElement.js +4 -16
- package/dist/components/calcite-slider/customElement.d.ts +14 -18
- package/dist/components/calcite-slider/customElement.js +19 -20
- package/dist/components/calcite-sort-handle/customElement.d.ts +16 -18
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +3 -3
- package/dist/components/calcite-split-button/customElement.d.ts +12 -14
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +4 -4
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +6 -6
- package/dist/components/calcite-stepper-item/customElement.js +8 -24
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +8 -6
- package/dist/components/calcite-switch/customElement.d.ts +6 -10
- package/dist/components/calcite-tab-nav/customElement.d.ts +2 -2
- package/dist/components/calcite-tab-nav/customElement.js +65 -27
- package/dist/components/calcite-tab-title/customElement.d.ts +1 -1
- package/dist/components/calcite-tab-title/customElement.js +4 -0
- package/dist/components/calcite-table/customElement.d.ts +11 -5
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +5 -5
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +7 -7
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +26 -15
- package/dist/components/calcite-tabs/customElement.d.ts +6 -0
- package/dist/components/calcite-tabs/customElement.js +14 -8
- package/dist/components/calcite-text-area/customElement.d.ts +6 -10
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.d.ts +2 -2
- package/dist/components/calcite-time-picker/customElement.d.ts +15 -15
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -4
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useTime.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +10 -10
- package/dist/types/lumina.d.ts +5 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +5 -5
- package/dist/types/stencil.d.ts +5 -5
- package/dist/utils/date.d.ts +2 -2
- package/package.json +13 -10
- package/dist/cdn/2AZU4JLL.js +0 -2
- package/dist/cdn/2C57GVL7.js +0 -2
- package/dist/cdn/2RCOMSJ4.js +0 -2
- package/dist/cdn/3FH6QU7Y.js +0 -2
- package/dist/cdn/3GSXR65T.js +0 -2
- package/dist/cdn/43MK3FDM.js +0 -2
- package/dist/cdn/4C4FXK46.js +0 -2
- package/dist/cdn/4CHUXMKI.js +0 -2
- package/dist/cdn/5EY2EEDX.js +0 -2
- package/dist/cdn/5GA4KYR2.js +0 -2
- package/dist/cdn/5ISZFTOQ.js +0 -2
- package/dist/cdn/6WR7WF5X.js +0 -2
- package/dist/cdn/6ZDUL7DM.js +0 -2
- package/dist/cdn/7IOEAAJN.js +0 -2
- package/dist/cdn/7JMYJBWS.js +0 -2
- package/dist/cdn/A2QVKNTN.js +0 -2
- package/dist/cdn/AA7ZRB5K.js +0 -2
- package/dist/cdn/AI4EP5I7.js +0 -2
- package/dist/cdn/AO3S4HXU.js +0 -2
- package/dist/cdn/BETERP4W.js +0 -2
- package/dist/cdn/BUNBY5RM.js +0 -2
- package/dist/cdn/C4VPLSW7.js +0 -2
- package/dist/cdn/C7C55I5S.js +0 -2
- package/dist/cdn/CAWTUKNX.js +0 -2
- package/dist/cdn/CFFCEFZK.js +0 -2
- package/dist/cdn/CQ6NGNY6.js +0 -2
- package/dist/cdn/CYCLHZ3A.js +0 -2
- package/dist/cdn/D6PPMEQM.js +0 -2
- package/dist/cdn/DI3IXSN2.js +0 -2
- package/dist/cdn/DJIJFKYH.js +0 -2
- package/dist/cdn/E3RE3E2N.js +0 -2
- package/dist/cdn/EGQ75QVP.js +0 -2
- package/dist/cdn/ENNOBBY4.js +0 -2
- package/dist/cdn/EXXGZUR3.js +0 -2
- package/dist/cdn/F7AKW6A4.js +0 -2
- package/dist/cdn/FFUBSUZQ.js +0 -2
- package/dist/cdn/FLX6RAXY.js +0 -20
- package/dist/cdn/FVB2OZEH.js +0 -2
- package/dist/cdn/GBGFI7SS.js +0 -2
- package/dist/cdn/GGCO6DJE.js +0 -2
- package/dist/cdn/GLH6ZAVP.js +0 -2
- package/dist/cdn/GMY4OPXB.js +0 -2
- package/dist/cdn/GNF44UQG.js +0 -2
- package/dist/cdn/GOBJFJO6.js +0 -2
- package/dist/cdn/H2JTOLL2.js +0 -2
- package/dist/cdn/HBRGGPQS.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/I2ZCMXRB.js +0 -2
- package/dist/cdn/IJZH5BV3.js +0 -2
- package/dist/cdn/J32XKCXC.js +0 -2
- package/dist/cdn/JL5V6LHI.js +0 -2
- package/dist/cdn/JQVKQIWK.js +0 -2
- package/dist/cdn/JW2SKWED.js +0 -2
- package/dist/cdn/JZCXLE2H.js +0 -2
- package/dist/cdn/KQ322MPA.js +0 -2
- package/dist/cdn/KVWHPPP5.js +0 -2
- package/dist/cdn/KZUHKTIQ.js +0 -2
- package/dist/cdn/LJJZC4QK.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LRPJV2DQ.js +0 -2
- package/dist/cdn/LVF7G7IY.js +0 -2
- package/dist/cdn/LZDIBXYZ.js +0 -2
- package/dist/cdn/MNBJJORH.js +0 -2
- package/dist/cdn/MSB35HIA.js +0 -2
- package/dist/cdn/N7DI6G6M.js +0 -2
- package/dist/cdn/OGWGMCYY.js +0 -2
- package/dist/cdn/OLCC5YK5.js +0 -2
- package/dist/cdn/OQY72DXY.js +0 -2
- package/dist/cdn/OTKKHBLB.js +0 -2
- package/dist/cdn/PO4GQAOO.js +0 -3
- package/dist/cdn/PYEU7ILW.js +0 -2
- package/dist/cdn/QNSEEZF5.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QXIJOBKX.js +0 -2
- package/dist/cdn/R2DOA2MN.js +0 -2
- package/dist/cdn/RC3UVUK3.js +0 -2
- package/dist/cdn/RE4YAX46.js +0 -2
- package/dist/cdn/RQVOT4ZO.js +0 -2
- package/dist/cdn/RXXRSLAB.js +0 -2
- package/dist/cdn/SU44IFYE.js +0 -2
- package/dist/cdn/SVEPQ765.js +0 -2
- package/dist/cdn/SVIANZ3V.js +0 -2
- package/dist/cdn/T5VR3PV2.js +0 -2
- package/dist/cdn/TD2P54UR.js +0 -2
- package/dist/cdn/TDOPUO3L.js +0 -2
- package/dist/cdn/TEGKHQ5W.js +0 -2
- package/dist/cdn/TJC3KPVJ.js +0 -2
- package/dist/cdn/TWT5XRCW.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/V3ADMKIU.js +0 -2
- package/dist/cdn/W5TTJ4T3.js +0 -2
- package/dist/cdn/W6UFYWVG.js +0 -2
- package/dist/cdn/W7BKEQCB.js +0 -2
- package/dist/cdn/W7DJIM2F.js +0 -2
- package/dist/cdn/XNAMWMN5.js +0 -2
- package/dist/cdn/XZJNPGQT.js +0 -2
- package/dist/cdn/Y3U2N2BQ.js +0 -2
- package/dist/cdn/YAQRXHHQ.js +0 -2
- package/dist/cdn/YYGQFOZ7.js +0 -2
- package/dist/cdn/ZLOMPF4H.js +0 -2
|
@@ -20,8 +20,9 @@ export abstract class ActionBar extends LitElement {
|
|
|
20
20
|
/** Specifies an accessible name for the first `calcite-action-group`. */
|
|
21
21
|
accessor actionsStartGroupLabel: string | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* When `true`, the expand
|
|
23
|
+
* When `true`, the expand/collapse toggle button is not shown.
|
|
24
24
|
*
|
|
25
|
+
* @deprecated in v5.2.0, removal target v6.0.0 - Use `expandToggleDisabled` instead.
|
|
25
26
|
* @default false
|
|
26
27
|
*/
|
|
27
28
|
accessor expandDisabled: boolean;
|
|
@@ -38,6 +39,12 @@ export abstract class ActionBar extends LitElement {
|
|
|
38
39
|
* @default "end"
|
|
39
40
|
*/
|
|
40
41
|
accessor expandPosition: Extract<"start" | "end", Position>;
|
|
42
|
+
/**
|
|
43
|
+
* When `true`, the expand/collapse toggle button is not shown.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
accessor expandToggleDisabled: boolean;
|
|
41
48
|
/**
|
|
42
49
|
* When `true`, the component is in a floating state.
|
|
43
50
|
*
|
|
@@ -52,10 +59,10 @@ export abstract class ActionBar extends LitElement {
|
|
|
52
59
|
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
53
60
|
/** Overrides individual strings used by the component. */
|
|
54
61
|
accessor messageOverrides: {
|
|
55
|
-
expand?: string;
|
|
56
|
-
collapse?: string;
|
|
57
|
-
expandLabel?: string;
|
|
58
|
-
collapseLabel?: string;
|
|
62
|
+
expand?: string | undefined;
|
|
63
|
+
collapse?: string | undefined;
|
|
64
|
+
expandLabel?: string | undefined;
|
|
65
|
+
collapseLabel?: string | undefined;
|
|
59
66
|
};
|
|
60
67
|
/**
|
|
61
68
|
* When `true`, disables automatically overflowing `calcite-action`s that won't fit into menus.
|
|
@@ -74,7 +81,7 @@ export abstract class ActionBar extends LitElement {
|
|
|
74
81
|
*/
|
|
75
82
|
accessor overlayPositioning: OverlayPositioning;
|
|
76
83
|
/**
|
|
77
|
-
* When `
|
|
84
|
+
* When `expandToggleDisabled` is `false`, specifies the expand toggle's chevron direction, where:
|
|
78
85
|
*
|
|
79
86
|
* `"start"` positions the expand toggle's chevron away from the start of the component when `expanded` is `false`, and
|
|
80
87
|
* `"end"` positions the expand toggle's chevron away from the end of the component when `expanded` is `false`.
|
|
@@ -10,6 +10,7 @@ import { c as createObserver } from "../../chunks/observers.js";
|
|
|
10
10
|
import { o as overflowActions, q as queryActions, t as toggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
11
11
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
12
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
13
|
+
import { l as logger } from "../../chunks/logger.js";
|
|
13
14
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
14
15
|
import { i as isAction } from "../../chunks/resources.js";
|
|
15
16
|
const calculateMaxItems = ({
|
|
@@ -59,15 +60,15 @@ class ActionBar extends LitElement {
|
|
|
59
60
|
this.mutationObserver = createObserver("mutation", () => this.mutationObserverHandler());
|
|
60
61
|
this.cancelable = useCancelable()(this);
|
|
61
62
|
this.resize = debounce(({ width, height }) => {
|
|
62
|
-
const { expanded,
|
|
63
|
+
const { expanded, expandToggleDisabled, layout, overflowActionsDisabled, expandPosition } = this;
|
|
63
64
|
if (overflowActionsDisabled || layout === "vertical" && !height || layout === "horizontal" && !width || !this.containerRef.value) {
|
|
64
65
|
return;
|
|
65
66
|
}
|
|
66
67
|
this.updateGroups();
|
|
67
68
|
const itemSizes = this.getItemSizes();
|
|
68
69
|
const { actionGroups } = this;
|
|
69
|
-
const actionsEndCount = this.hasActionsEnd || !
|
|
70
|
-
const actionsStartCount = this.hasActionsStart || !
|
|
70
|
+
const actionsEndCount = this.hasActionsEnd || !expandToggleDisabled && expandPosition === "end" ? 1 : 0;
|
|
71
|
+
const actionsStartCount = this.hasActionsStart || !expandToggleDisabled && expandPosition === "start" ? 1 : 0;
|
|
71
72
|
const groupCount = actionGroups.length + actionsEndCount + actionsStartCount;
|
|
72
73
|
let bufferSize = groupCount;
|
|
73
74
|
const actionBarContainerStyle = getComputedStyle(this.containerRef.value);
|
|
@@ -117,7 +118,7 @@ class ActionBar extends LitElement {
|
|
|
117
118
|
this.hasActionsEnd = false;
|
|
118
119
|
this.hasActionsStart = false;
|
|
119
120
|
this.floating = false;
|
|
120
|
-
this.
|
|
121
|
+
this.expandToggleDisabled = false;
|
|
121
122
|
this.expanded = false;
|
|
122
123
|
this.expandPosition = "end";
|
|
123
124
|
this.layout = "vertical";
|
|
@@ -132,11 +133,23 @@ class ActionBar extends LitElement {
|
|
|
132
133
|
this.listen("keydown", this.handleKeyDown);
|
|
133
134
|
}
|
|
134
135
|
static {
|
|
135
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], actionsEndGroupLabel: 1, actionsStartGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], expandPosition: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
136
|
+
this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], actionsEndGroupLabel: 1, actionsStartGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandToggleDisabled: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], expandPosition: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
136
137
|
}
|
|
137
138
|
static {
|
|
138
139
|
this.styles = styles;
|
|
139
140
|
}
|
|
141
|
+
get expandDisabled() {
|
|
142
|
+
return this.expandToggleDisabled;
|
|
143
|
+
}
|
|
144
|
+
set expandDisabled(value) {
|
|
145
|
+
logger.deprecated("property", {
|
|
146
|
+
component: this,
|
|
147
|
+
name: "expandDisabled",
|
|
148
|
+
removalVersion: 6,
|
|
149
|
+
suggested: "expandToggleDisabled"
|
|
150
|
+
});
|
|
151
|
+
this.expandToggleDisabled = value;
|
|
152
|
+
}
|
|
140
153
|
async overflowActions() {
|
|
141
154
|
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
|
142
155
|
}
|
|
@@ -153,7 +166,7 @@ class ActionBar extends LitElement {
|
|
|
153
166
|
this.cancelable.add(this.resize);
|
|
154
167
|
}
|
|
155
168
|
willUpdate(changes) {
|
|
156
|
-
if (changes.has("expandDisabled") && (this.hasUpdated || this.expandDisabled !== false) || changes.has("expandPosition") && (this.hasUpdated || this.expandPosition !== "end")) {
|
|
169
|
+
if (changes.has("expandDisabled") && (this.hasUpdated || this.expandDisabled !== false) || changes.has("expandToggleDisabled") && (this.hasUpdated || this.expandToggleDisabled !== false) || changes.has("expandPosition") && (this.hasUpdated || this.expandPosition !== "end")) {
|
|
157
170
|
this.overflowActions();
|
|
158
171
|
}
|
|
159
172
|
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
@@ -306,9 +319,9 @@ class ActionBar extends LitElement {
|
|
|
306
319
|
return ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, direction: this.direction, el, expanded, expandLabel: messages.expandLabel, expandText: messages.expand, position, ref: this.setExpandToggleEl, scale, toggle: toggleExpand, tooltip: this.expandTooltip });
|
|
307
320
|
}
|
|
308
321
|
renderActionsGroup(position) {
|
|
309
|
-
const {
|
|
322
|
+
const { expandToggleDisabled, scale, layout, overlayPositioning, expandPosition } = this;
|
|
310
323
|
const isStart = position === "start";
|
|
311
|
-
const hasExpandToggle = !
|
|
324
|
+
const hasExpandToggle = !expandToggleDisabled && expandPosition === position;
|
|
312
325
|
const slotName = isStart ? SLOTS.actionsStart : SLOTS.actionsEnd;
|
|
313
326
|
const onSlotChange = isStart ? this.handleActionsStartSlotChange : this.handleActionsEndSlotChange;
|
|
314
327
|
const label = isStart ? this.actionsStartGroupLabel : this.actionsEndGroupLabel;
|
|
@@ -32,7 +32,7 @@ export abstract class ActionGroup extends LitElement {
|
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
34
|
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
35
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
35
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
36
36
|
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* When `true`, the `calcite-action-menu` is open.
|
|
@@ -43,7 +43,7 @@ export abstract class ActionGroup extends LitElement {
|
|
|
43
43
|
/** Specifies the position of the action menu. */
|
|
44
44
|
accessor menuPlacement: LogicalPlacement | undefined;
|
|
45
45
|
/** Overrides individual strings used by the component. */
|
|
46
|
-
accessor messageOverrides: { more?: string; };
|
|
46
|
+
accessor messageOverrides: { more?: string | undefined; };
|
|
47
47
|
/**
|
|
48
48
|
* When `true`, the component's actions will not be overflowed into a menu by a parent `calcite-action-bar`.
|
|
49
49
|
*
|
|
@@ -83,9 +83,7 @@ export abstract class ActionGroup extends LitElement {
|
|
|
83
83
|
*/
|
|
84
84
|
accessor selectionMode: Extract<"single" | "single-persist" | "multiple" | "none", SelectionMode>;
|
|
85
85
|
/**
|
|
86
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
87
|
-
*
|
|
88
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
86
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
89
87
|
*
|
|
90
88
|
* @default false
|
|
91
89
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -22,8 +22,8 @@ export abstract class ActionMenu extends LitElement {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
accessor expanded: boolean;
|
|
25
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
26
|
-
accessor flipPlacements: FlipPlacement[];
|
|
25
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
26
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Specifies an accessible label for the component.
|
|
29
29
|
*
|
|
@@ -59,9 +59,7 @@ export abstract class ActionMenu extends LitElement {
|
|
|
59
59
|
*/
|
|
60
60
|
accessor scale: Scale;
|
|
61
61
|
/**
|
|
62
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
63
|
-
*
|
|
64
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
62
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
65
63
|
*
|
|
66
64
|
* @default false
|
|
67
65
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -177,7 +177,7 @@ class ActionMenu extends LitElement {
|
|
|
177
177
|
}
|
|
178
178
|
menuButtonEl.removeEventListener("click", this.menuButtonClick);
|
|
179
179
|
menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
|
|
180
|
-
this.menuButtonEl =
|
|
180
|
+
this.menuButtonEl = void 0;
|
|
181
181
|
}
|
|
182
182
|
setMenuButtonEl(event) {
|
|
183
183
|
const actions = event.target.assignedElements({
|
|
@@ -213,7 +213,7 @@ class ActionMenu extends LitElement {
|
|
|
213
213
|
setTooltipReferenceElement() {
|
|
214
214
|
const { tooltipEl, expanded, menuButtonEl, open } = this;
|
|
215
215
|
if (tooltipEl) {
|
|
216
|
-
tooltipEl.referenceElement = !expanded && !open ? menuButtonEl :
|
|
216
|
+
tooltipEl.referenceElement = !expanded && !open ? menuButtonEl : void 0;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
updateActions(actions) {
|
|
@@ -288,7 +288,7 @@ class ActionMenu extends LitElement {
|
|
|
288
288
|
const { actionElements, activeMenuItemIndex, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
289
289
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
290
290
|
const activeDescendantId = activeAction?.id || null;
|
|
291
|
-
return html`<calcite-popover auto-close .flipPlacements=${flipPlacements} focus-trap-disabled .label=${label} offset-distance=0 @calcitePopoverClose=${this.handlePopoverClose} @calcitePopoverOpen=${this.handlePopoverOpen} .overlayPositioning=${overlayPositioning} .placement=${placement} pointer-disabled .referenceElement=${menuButtonEl} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} trigger-disabled ${ref(this.setPopoverEl)}><div aria-activedescendant=${activeDescendantId ?? nothing} aria-labelledby=${menuButtonEl?.id ?? nothing} class=${safeClassMap(CSS.menu)} id=${menuId ?? nothing} @click=${this.handleCalciteActionClick} role=menu tabindex=-1><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></calcite-popover>`;
|
|
291
|
+
return html`<calcite-popover auto-close .flipPlacements=${flipPlacements} focus-trap-disabled .label=${label} offset-distance=0 @calcitePopoverClose=${this.handlePopoverClose} @calcitePopoverOpen=${this.handlePopoverOpen} .overlayPositioning=${overlayPositioning} .placement=${placement} pointer-disabled .referenceElement=${menuButtonEl} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} trigger-disabled ${ref(this.setPopoverEl)}><div aria-activedescendant=${activeDescendantId ?? void 0 ?? nothing} aria-labelledby=${menuButtonEl?.id ?? nothing} class=${safeClassMap(CSS.menu)} id=${menuId ?? nothing} @click=${this.handleCalciteActionClick} role=menu tabindex=-1><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></calcite-popover>`;
|
|
292
292
|
}
|
|
293
293
|
render() {
|
|
294
294
|
return html`${this.renderMenuButton()}${this.renderMenuItems()}<slot name=${SLOTS.tooltip} @slotchange=${this.updateTooltip}></slot>`;
|
|
@@ -34,10 +34,10 @@ export abstract class ActionPad extends LitElement {
|
|
|
34
34
|
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
35
35
|
/** Overrides individual strings used by the component. */
|
|
36
36
|
accessor messageOverrides: {
|
|
37
|
-
expand?: string;
|
|
38
|
-
collapse?: string;
|
|
39
|
-
expandLabel?: string;
|
|
40
|
-
collapseLabel?: string;
|
|
37
|
+
expand?: string | undefined;
|
|
38
|
+
collapse?: string | undefined;
|
|
39
|
+
expandLabel?: string | undefined;
|
|
40
|
+
collapseLabel?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* Specifies the type of positioning to use for overlaid content, where:
|
|
@@ -57,7 +57,7 @@ export abstract class Alert extends LitElement {
|
|
|
57
57
|
*/
|
|
58
58
|
accessor label: string;
|
|
59
59
|
/** Overrides individual strings used by the component. */
|
|
60
|
-
accessor messageOverrides: { close?: string; };
|
|
60
|
+
accessor messageOverrides: { close?: string | undefined; };
|
|
61
61
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
62
62
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
63
63
|
/**
|
|
@@ -85,9 +85,7 @@ export abstract class Alert extends LitElement {
|
|
|
85
85
|
*/
|
|
86
86
|
accessor scale: Scale;
|
|
87
87
|
/**
|
|
88
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
89
|
-
*
|
|
90
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
88
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
91
89
|
*
|
|
92
90
|
* @default false
|
|
93
91
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -53,13 +53,9 @@ export abstract class Autocomplete extends LitElement {
|
|
|
53
53
|
* @default false
|
|
54
54
|
*/
|
|
55
55
|
accessor disabled: boolean;
|
|
56
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
56
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
57
57
|
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* Specifies the `id` of the component's associated form.
|
|
60
|
-
*
|
|
61
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
62
|
-
*/
|
|
58
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
63
59
|
accessor form: string | undefined;
|
|
64
60
|
/**
|
|
65
61
|
* When `true` or not set, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
|
|
@@ -94,9 +90,9 @@ export abstract class Autocomplete extends LitElement {
|
|
|
94
90
|
accessor maxLength: number | undefined;
|
|
95
91
|
/** Overrides individual strings used by the component. */
|
|
96
92
|
accessor messageOverrides: {
|
|
97
|
-
clear?: string;
|
|
98
|
-
loading?: string;
|
|
99
|
-
required?: string;
|
|
93
|
+
clear?: string | undefined;
|
|
94
|
+
loading?: string | undefined;
|
|
95
|
+
required?: string | undefined;
|
|
100
96
|
};
|
|
101
97
|
/**
|
|
102
98
|
* When the component resides in a form,
|
|
@@ -180,9 +176,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
180
176
|
/** Specifies the component's suffix text. */
|
|
181
177
|
accessor suffixText: string | undefined;
|
|
182
178
|
/**
|
|
183
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
184
|
-
*
|
|
185
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
179
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
186
180
|
*
|
|
187
181
|
* @default false
|
|
188
182
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -12,7 +12,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
12
12
|
* @slot [content-start] - A slot for adding non-actionable elements before content of the component.
|
|
13
13
|
*/
|
|
14
14
|
export abstract class AutocompleteItem extends LitElement {
|
|
15
|
-
/** Specifies a description for the component. Displays below the label
|
|
15
|
+
/** Specifies a description for the component. Displays below the `label`. */
|
|
16
16
|
accessor description: string | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
@@ -35,7 +35,7 @@ export abstract class Block extends LitElement {
|
|
|
35
35
|
* @default false
|
|
36
36
|
*/
|
|
37
37
|
accessor collapsible: boolean;
|
|
38
|
-
/** Specifies a description for the component. Displays below the heading
|
|
38
|
+
/** Specifies a description for the component. Displays below the `heading`. */
|
|
39
39
|
accessor description: string | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
@@ -80,7 +80,7 @@ export abstract class Block extends LitElement {
|
|
|
80
80
|
* @default false
|
|
81
81
|
*/
|
|
82
82
|
accessor loading: boolean;
|
|
83
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
83
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
84
84
|
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Determines where the action menu will be positioned.
|
|
@@ -90,10 +90,10 @@ export abstract class Block extends LitElement {
|
|
|
90
90
|
accessor menuPlacement: LogicalPlacement;
|
|
91
91
|
/** Overrides individual strings used by the component. */
|
|
92
92
|
accessor messageOverrides: {
|
|
93
|
-
collapse?: string;
|
|
94
|
-
expand?: string;
|
|
95
|
-
loading?: string;
|
|
96
|
-
options?: string;
|
|
93
|
+
collapse?: string | undefined;
|
|
94
|
+
expand?: string | undefined;
|
|
95
|
+
loading?: string | undefined;
|
|
96
|
+
options?: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
99
|
* When `true`, expands the component and its contents.
|
|
@@ -131,9 +131,7 @@ export abstract class Block extends LitElement {
|
|
|
131
131
|
*/
|
|
132
132
|
accessor status: Status | undefined;
|
|
133
133
|
/**
|
|
134
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
135
|
-
*
|
|
136
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
134
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
137
135
|
*
|
|
138
136
|
* @default false
|
|
139
137
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -6,9 +6,9 @@ import type { BlockDragDetail } from "./interfaces.js";
|
|
|
6
6
|
/** @slot - A slot for adding `calcite-block` elements. */
|
|
7
7
|
export abstract class BlockGroup extends LitElement {
|
|
8
8
|
/** When provided, the method will be called to determine whether the element can move from the component. */
|
|
9
|
-
accessor canPull: (detail: BlockDragDetail) => boolean | "clone";
|
|
9
|
+
accessor canPull: ((detail: BlockDragDetail) => boolean | "clone") | undefined;
|
|
10
10
|
/** When provided, the method will be called to determine whether the element can be added from another component. */
|
|
11
|
-
accessor canPut: (detail: BlockDragDetail) => boolean;
|
|
11
|
+
accessor canPut: ((detail: BlockDragDetail) => boolean) | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
14
14
|
*
|
|
@@ -28,8 +28,8 @@ export abstract class BlockSection extends LitElement {
|
|
|
28
28
|
accessor iconStart: IconName | undefined;
|
|
29
29
|
/** Overrides individual strings used by the component. */
|
|
30
30
|
accessor messageOverrides: {
|
|
31
|
-
collapse?: string;
|
|
32
|
-
expand?: string;
|
|
31
|
+
collapse?: string | undefined;
|
|
32
|
+
expand?: string | undefined;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* When `true`, expands the component and its contents.
|
|
@@ -45,11 +45,7 @@ export abstract class Button extends LitElement {
|
|
|
45
45
|
* @see [MDN - Global download attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).
|
|
46
46
|
*/
|
|
47
47
|
accessor download: string | boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Specifies the `id` of the component's associated form.
|
|
50
|
-
*
|
|
51
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
52
|
-
*/
|
|
48
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
53
49
|
accessor form: string | undefined;
|
|
54
50
|
/** Specifies the URL of the linked resource, which can be set as an absolute or relative path. */
|
|
55
51
|
accessor href: string | undefined;
|
|
@@ -74,7 +70,7 @@ export abstract class Button extends LitElement {
|
|
|
74
70
|
*/
|
|
75
71
|
accessor loading: boolean;
|
|
76
72
|
/** Overrides individual strings used by the component. */
|
|
77
|
-
accessor messageOverrides: { loading?: string; };
|
|
73
|
+
accessor messageOverrides: { loading?: string | undefined; };
|
|
78
74
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
79
75
|
accessor name: string | undefined;
|
|
80
76
|
/**
|
|
@@ -39,8 +39,8 @@ export abstract class Card extends LitElement {
|
|
|
39
39
|
accessor loading: boolean;
|
|
40
40
|
/** Overrides individual strings used by the component. */
|
|
41
41
|
accessor messageOverrides: {
|
|
42
|
-
select?: string;
|
|
43
|
-
loading?: string;
|
|
42
|
+
select?: string | undefined;
|
|
43
|
+
loading?: string | undefined;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Specifies the size of the component. When contained in a parent `calcite-card-group`, inherits the parent's `scale` value, but can be overridden if needed.
|
|
@@ -56,13 +56,13 @@ export abstract class Carousel extends LitElement {
|
|
|
56
56
|
accessor label: string;
|
|
57
57
|
/** Overrides individual strings used by the component. */
|
|
58
58
|
accessor messageOverrides: {
|
|
59
|
-
previous?: string;
|
|
60
|
-
next?: string;
|
|
61
|
-
play?: string;
|
|
62
|
-
pause?: string;
|
|
63
|
-
carousel?: string;
|
|
64
|
-
carouselItemProgress?: string;
|
|
65
|
-
paginationStatus?: string;
|
|
59
|
+
previous?: string | undefined;
|
|
60
|
+
next?: string | undefined;
|
|
61
|
+
play?: string | undefined;
|
|
62
|
+
pause?: string | undefined;
|
|
63
|
+
carousel?: string | undefined;
|
|
64
|
+
carouselItemProgress?: string | undefined;
|
|
65
|
+
paginationStatus?: string | undefined;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* When `true`, the component's pagination controls are hidden.
|
|
@@ -87,7 +87,7 @@ class Carousel extends LitElement {
|
|
|
87
87
|
this.slideDurationRemaining = time;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
this.messages = useT9n();
|
|
90
|
+
this.messages = useT9n({ blocking: true });
|
|
91
91
|
this.focusSetter = useSetFocus()(this);
|
|
92
92
|
this.interactiveContainer = useInteractive(this);
|
|
93
93
|
this.itemDirection = "standby";
|
|
@@ -287,7 +287,7 @@ class Carousel extends LitElement {
|
|
|
287
287
|
}
|
|
288
288
|
handleItemSelection(event) {
|
|
289
289
|
const item = event.currentTarget;
|
|
290
|
-
const requestedPosition = parseInt(item.dataset.index);
|
|
290
|
+
const requestedPosition = parseInt(item.dataset.index, 10);
|
|
291
291
|
if (requestedPosition === this.selectedIndex) {
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
@@ -22,11 +22,7 @@ export abstract class Checkbox extends LitElement {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
accessor disabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the `id` of the component's associated form.
|
|
27
|
-
*
|
|
28
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
29
|
-
*/
|
|
25
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
30
26
|
accessor form: string | undefined;
|
|
31
27
|
/**
|
|
32
28
|
* When `true`, the component is initially indeterminate, which is independent from its `checked` value.
|
|
@@ -42,7 +38,7 @@ export abstract class Checkbox extends LitElement {
|
|
|
42
38
|
/** Specifies the component's label text. */
|
|
43
39
|
accessor labelText: string | undefined;
|
|
44
40
|
/** Overrides individual strings used by the component. */
|
|
45
|
-
accessor messageOverrides: { required?: string; };
|
|
41
|
+
accessor messageOverrides: { required?: string | undefined; };
|
|
46
42
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
47
43
|
accessor name: string | undefined;
|
|
48
44
|
/**
|
|
@@ -48,7 +48,7 @@ export abstract class Chip extends LitElement {
|
|
|
48
48
|
*/
|
|
49
49
|
accessor disabled: boolean;
|
|
50
50
|
/** Specifies an icon to display. */
|
|
51
|
-
accessor icon: IconName;
|
|
51
|
+
accessor icon: IconName | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
54
54
|
*
|
|
@@ -68,7 +68,7 @@ export abstract class Chip extends LitElement {
|
|
|
68
68
|
*/
|
|
69
69
|
accessor label: string;
|
|
70
70
|
/** Overrides individual strings used by the component. */
|
|
71
|
-
accessor messageOverrides: { dismissLabel?: string; };
|
|
71
|
+
accessor messageOverrides: { dismissLabel?: string | undefined; };
|
|
72
72
|
/**
|
|
73
73
|
* Specifies the size of the component.
|
|
74
74
|
*
|
|
@@ -16,7 +16,7 @@ class Chip extends LitElement {
|
|
|
16
16
|
super();
|
|
17
17
|
this.closeButtonRef = createRef();
|
|
18
18
|
this.containerRef = createRef();
|
|
19
|
-
this.messages = useT9n();
|
|
19
|
+
this.messages = useT9n({ blocking: true });
|
|
20
20
|
this.focusSetter = useSetFocus()(this);
|
|
21
21
|
this.interactiveContainer = useInteractive(this);
|
|
22
22
|
this.hasImage = false;
|
|
@@ -53,6 +53,7 @@ class Chip extends LitElement {
|
|
|
53
53
|
} else if (this.closable) {
|
|
54
54
|
return this.closeButtonRef.value;
|
|
55
55
|
}
|
|
56
|
+
return;
|
|
56
57
|
}, options);
|
|
57
58
|
}
|
|
58
59
|
async load() {
|
|
@@ -135,7 +136,7 @@ class Chip extends LitElement {
|
|
|
135
136
|
if (this.selectionMode === "single") {
|
|
136
137
|
this.calciteInternalSyncSelectedChips.emit();
|
|
137
138
|
}
|
|
138
|
-
const selectedInParent = this.parentChipGroup
|
|
139
|
+
const selectedInParent = this.parentChipGroup?.selectedItems.includes(this.el);
|
|
139
140
|
if (!selectedInParent && selected && this.selectionMode !== "multiple") {
|
|
140
141
|
this.calciteInternalChipSelect.emit();
|
|
141
142
|
}
|
|
@@ -162,7 +163,7 @@ class Chip extends LitElement {
|
|
|
162
163
|
render() {
|
|
163
164
|
const { disabled } = this;
|
|
164
165
|
const disableInteraction = disabled || !disabled && !this.interactive;
|
|
165
|
-
const role = this.selectionMode === "multiple" && this.interactive ? "checkbox" : this.selectionMode !== "none" && this.interactive ? "radio" : this.interactive ? "button" : "img";
|
|
166
|
+
const role = this.selectionMode === "multiple" && this.interactive ? "checkbox" : this.selectionMode !== "none" && this.interactive ? "radio" : this.interactive ? "button" : this.closable ? void 0 : "img";
|
|
166
167
|
return this.interactiveContainer({ disabled, children: html`<div .ariaChecked=${this.selectionMode !== "none" && this.interactive ? this.selected : void 0} .ariaLabel=${this.label} class=${safeClassMap({
|
|
167
168
|
[CSS.container]: true,
|
|
168
169
|
[CSS.textSlotted]: this.hasText,
|
|
@@ -73,26 +73,26 @@ export abstract class ColorPicker extends LitElement {
|
|
|
73
73
|
accessor hexDisabled: boolean;
|
|
74
74
|
/** Overrides individual strings used by the component. */
|
|
75
75
|
accessor messageOverrides: {
|
|
76
|
-
b?: string;
|
|
77
|
-
blue?: string;
|
|
78
|
-
deleteColor?: string;
|
|
79
|
-
g?: string;
|
|
80
|
-
green?: string;
|
|
81
|
-
h?: string;
|
|
82
|
-
hsv?: string;
|
|
83
|
-
hex?: string;
|
|
84
|
-
hue?: string;
|
|
85
|
-
noColor?: string;
|
|
86
|
-
opacity?: string;
|
|
87
|
-
r?: string;
|
|
88
|
-
red?: string;
|
|
89
|
-
rgb?: string;
|
|
90
|
-
s?: string;
|
|
91
|
-
saturation?: string;
|
|
92
|
-
saveColor?: string;
|
|
93
|
-
saved?: string;
|
|
94
|
-
v?: string;
|
|
95
|
-
value?: string;
|
|
76
|
+
b?: string | undefined;
|
|
77
|
+
blue?: string | undefined;
|
|
78
|
+
deleteColor?: string | undefined;
|
|
79
|
+
g?: string | undefined;
|
|
80
|
+
green?: string | undefined;
|
|
81
|
+
h?: string | undefined;
|
|
82
|
+
hsv?: string | undefined;
|
|
83
|
+
hex?: string | undefined;
|
|
84
|
+
hue?: string | undefined;
|
|
85
|
+
noColor?: string | undefined;
|
|
86
|
+
opacity?: string | undefined;
|
|
87
|
+
r?: string | undefined;
|
|
88
|
+
red?: string | undefined;
|
|
89
|
+
rgb?: string | undefined;
|
|
90
|
+
s?: string | undefined;
|
|
91
|
+
saturation?: string | undefined;
|
|
92
|
+
saveColor?: string | undefined;
|
|
93
|
+
saved?: string | undefined;
|
|
94
|
+
v?: string | undefined;
|
|
95
|
+
value?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
98
98
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
@@ -828,7 +828,10 @@ class ColorPicker extends LitElement {
|
|
|
828
828
|
return channels;
|
|
829
829
|
}
|
|
830
830
|
getAdjustedScopePosition(left, top) {
|
|
831
|
-
return [
|
|
831
|
+
return [
|
|
832
|
+
left === void 0 ? NaN : left - SCOPE_SIZE / 2,
|
|
833
|
+
top === void 0 ? NaN : top - SCOPE_SIZE / 2
|
|
834
|
+
];
|
|
832
835
|
}
|
|
833
836
|
render() {
|
|
834
837
|
const { channelsDisabled, color, colorFieldScopeLeft, colorFieldScopeTop, staticDimensions: { thumb: { radius: thumbRadius } }, fieldDisabled, hexDisabled, hueScopeLeft, messages, alphaChannel, opacityScopeLeft, savedColors, savedDisabled, scale, scopeOrientation } = this;
|
|
@@ -876,7 +879,8 @@ class ColorPicker extends LitElement {
|
|
|
876
879
|
return keyed(channelMode, html`<calcite-tab class=${safeClassMap(CSS.control)} .selected=${selected}><div class=${safeClassMap(CSS.channels)} dir=ltr>${channelsToRender.map((channelValue, index) => {
|
|
877
880
|
const isAlphaChannel = index === 3;
|
|
878
881
|
if (isAlphaChannel) {
|
|
879
|
-
channelValue =
|
|
882
|
+
channelValue = // channels can only be undefined when clearable
|
|
883
|
+
clearable && !channelValue ? channelValue : alphaToOpacity(channelValue);
|
|
880
884
|
}
|
|
881
885
|
return this.renderChannel(channelValue, index, channelAriaLabels[index], direction, isAlphaChannel ? "%" : "");
|
|
882
886
|
})}</div></calcite-tab>`);
|