@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
|
@@ -81,8 +81,8 @@ async function createTimeZoneItems(locale, messages, mode, referenceDate, standa
|
|
|
81
81
|
if (timeZoneA.startsWith(gmtTimeZoneString) && timeZoneB.startsWith(gmtTimeZoneString)) {
|
|
82
82
|
const offsetStringA = timeZoneA.substring(gmtTimeZoneString.length);
|
|
83
83
|
const offsetStringB = timeZoneB.substring(gmtTimeZoneString.length);
|
|
84
|
-
const offsetA = offsetStringA === "" ? 0 : parseInt(offsetStringA);
|
|
85
|
-
const offsetB = offsetStringB === "" ? 0 : parseInt(offsetStringB);
|
|
84
|
+
const offsetA = offsetStringA === "" ? 0 : parseInt(offsetStringA, 10);
|
|
85
|
+
const offsetB = offsetStringB === "" ? 0 : parseInt(offsetStringB, 10);
|
|
86
86
|
return offsetB - offsetA;
|
|
87
87
|
}
|
|
88
88
|
return labeledTimeZoneA.localeCompare(labeledTimeZoneB);
|
|
@@ -167,7 +167,7 @@ function getMessageOrKeyFallback(messages, key) {
|
|
|
167
167
|
return messages[key] || key;
|
|
168
168
|
}
|
|
169
169
|
function getCity(timeZone) {
|
|
170
|
-
return timeZone.split("/").pop();
|
|
170
|
+
return timeZone.split("/").pop() ?? "";
|
|
171
171
|
}
|
|
172
172
|
function toUserFriendlyName(timeZoneName) {
|
|
173
173
|
return timeZoneName.replace(/_/g, " ");
|
|
@@ -190,14 +190,14 @@ function flattenTimeZoneItems(timeZoneItems) {
|
|
|
190
190
|
return hasGroups(timeZoneItems) ? timeZoneItems.flatMap((item) => item.items) : timeZoneItems;
|
|
191
191
|
}
|
|
192
192
|
function findTimeZoneItemByProp(timeZoneItems, prop, valueToMatch) {
|
|
193
|
-
return valueToMatch
|
|
193
|
+
return valueToMatch === void 0 || timeZoneItems === void 0 ? void 0 : flattenTimeZoneItems(timeZoneItems).find(
|
|
194
194
|
(item) => (
|
|
195
195
|
// intentional == to match string to number
|
|
196
196
|
item[prop] == valueToMatch
|
|
197
197
|
)
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}`;
|
|
200
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;--calcite-combobox-corner-radius: var(--calcite-input-time-zone-corner-radius, var(--calcite-corner-radius))}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}`;
|
|
201
201
|
class InputTimeZone extends LitElement {
|
|
202
202
|
constructor() {
|
|
203
203
|
super(...arguments);
|
|
@@ -304,7 +304,7 @@ class InputTimeZone extends LitElement {
|
|
|
304
304
|
if (!normalized) {
|
|
305
305
|
if (this.clearable) {
|
|
306
306
|
this._value = normalized;
|
|
307
|
-
this.selectedTimeZoneItem =
|
|
307
|
+
this.selectedTimeZoneItem = void 0;
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
310
|
this._value = oldValue;
|
|
@@ -326,7 +326,9 @@ class InputTimeZone extends LitElement {
|
|
|
326
326
|
if (this.mode !== "region" || !this.selectedTimeZoneItem) {
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
|
-
this.comboboxRef.value
|
|
329
|
+
if (this.comboboxRef.value) {
|
|
330
|
+
this.comboboxRef.value.selectedItems[0].heading = this.getItemLabel(this.selectedTimeZoneItem, open);
|
|
331
|
+
}
|
|
330
332
|
}
|
|
331
333
|
onComboboxBeforeClose(event) {
|
|
332
334
|
event.stopPropagation();
|
|
@@ -346,13 +348,13 @@ class InputTimeZone extends LitElement {
|
|
|
346
348
|
if (!selectedItem) {
|
|
347
349
|
this._value = "";
|
|
348
350
|
this.requestUpdate("value", previousValue);
|
|
349
|
-
this.selectedTimeZoneItem =
|
|
351
|
+
this.selectedTimeZoneItem = void 0;
|
|
350
352
|
this.calciteInputTimeZoneChange.emit();
|
|
351
353
|
return;
|
|
352
354
|
}
|
|
353
|
-
const selected = this.findTimeZoneItemByLabel(selectedItem.getAttribute("data-label"));
|
|
354
|
-
const selectedValue = `${selected
|
|
355
|
-
if (this.value === selectedValue && selected
|
|
355
|
+
const selected = this.findTimeZoneItemByLabel(selectedItem.getAttribute("data-label") ?? void 0);
|
|
356
|
+
const selectedValue = selected?.value === void 0 ? void 0 : `${selected?.value}`;
|
|
357
|
+
if (this.value === selectedValue && selected?.label === this.selectedTimeZoneItem?.label) {
|
|
356
358
|
return;
|
|
357
359
|
}
|
|
358
360
|
this._value = selectedValue;
|
|
@@ -382,7 +384,7 @@ class InputTimeZone extends LitElement {
|
|
|
382
384
|
}
|
|
383
385
|
updateTimeZoneSelection() {
|
|
384
386
|
if (this.value === "" && this.clearable) {
|
|
385
|
-
this.selectedTimeZoneItem =
|
|
387
|
+
this.selectedTimeZoneItem = void 0;
|
|
386
388
|
return;
|
|
387
389
|
}
|
|
388
390
|
const fallbackValue = this.mode === "offset" ? getUserTimeZoneOffset() : getUserTimeZoneName();
|
|
@@ -19,9 +19,9 @@ import type { ListDisplayMode, ListDragDetail } from "./interfaces.js";
|
|
|
19
19
|
*/
|
|
20
20
|
export abstract class List extends LitElement {
|
|
21
21
|
/** When provided, the method will be called to determine whether the element can move from the list. */
|
|
22
|
-
accessor canPull: (detail: ListDragDetail) => boolean | "clone";
|
|
22
|
+
accessor canPull: ((detail: ListDragDetail) => boolean | "clone") | undefined;
|
|
23
23
|
/** When provided, the method will be called to determine whether the element can be added from another list. */
|
|
24
|
-
accessor canPut: (detail: ListDragDetail) => boolean;
|
|
24
|
+
accessor canPut: ((detail: ListDragDetail) => boolean) | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
27
27
|
*
|
|
@@ -112,8 +112,8 @@ export abstract class List extends LitElement {
|
|
|
112
112
|
accessor loading: boolean;
|
|
113
113
|
/** Overrides individual strings used by the component. */
|
|
114
114
|
accessor messageOverrides: {
|
|
115
|
-
filterEnabled?: string;
|
|
116
|
-
total?: string;
|
|
115
|
+
filterEnabled?: string | undefined;
|
|
116
|
+
total?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
119
119
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
@@ -64,9 +64,9 @@ export abstract class ListItem extends LitElement {
|
|
|
64
64
|
accessor label: string | undefined;
|
|
65
65
|
/** Overrides individual strings used by the component. */
|
|
66
66
|
accessor messageOverrides: {
|
|
67
|
-
close?: string;
|
|
68
|
-
expand?: string;
|
|
69
|
-
collapse?: string;
|
|
67
|
+
close?: string | undefined;
|
|
68
|
+
expand?: string | undefined;
|
|
69
|
+
collapse?: string | undefined;
|
|
70
70
|
};
|
|
71
71
|
/** Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`. */
|
|
72
72
|
accessor metadata: Record<string, unknown> | undefined;
|
|
@@ -97,9 +97,7 @@ export abstract class ListItem extends LitElement {
|
|
|
97
97
|
*/
|
|
98
98
|
accessor sortHandleOpen: boolean;
|
|
99
99
|
/**
|
|
100
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
101
|
-
*
|
|
102
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
100
|
+
* 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.
|
|
103
101
|
*
|
|
104
102
|
* @default false
|
|
105
103
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ListItem } from "./customElement.js";
|
|
2
2
|
|
|
3
3
|
export type ItemData = {
|
|
4
|
-
label
|
|
5
|
-
description
|
|
6
|
-
metadata
|
|
4
|
+
label?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
metadata?: Record<string, unknown>;
|
|
7
7
|
el: ListItem;
|
|
8
8
|
heading?: string[];
|
|
9
9
|
};
|
|
@@ -15,7 +15,7 @@ export abstract class Menu extends LitElement {
|
|
|
15
15
|
*/
|
|
16
16
|
accessor layout: Layout;
|
|
17
17
|
/** Overrides individual strings used by the component. */
|
|
18
|
-
accessor messageOverrides: { more?: string; };
|
|
18
|
+
accessor messageOverrides: { more?: string | undefined; };
|
|
19
19
|
/**
|
|
20
20
|
* Sets focus on the component's first focusable element.
|
|
21
21
|
*
|
|
@@ -40,8 +40,8 @@ export abstract class MenuItem extends LitElement {
|
|
|
40
40
|
accessor label: string;
|
|
41
41
|
/** Overrides individual strings used by the component. */
|
|
42
42
|
accessor messageOverrides: {
|
|
43
|
-
submenu?: string;
|
|
44
|
-
open?: string;
|
|
43
|
+
submenu?: string | undefined;
|
|
44
|
+
open?: string | undefined;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* When `true`, the component will display any slotted `calcite-menu-item` in an open overflow menu.
|
|
@@ -36,9 +36,7 @@ export abstract class Meter extends LitElement {
|
|
|
36
36
|
*/
|
|
37
37
|
accessor fillType: MeterFillType;
|
|
38
38
|
/**
|
|
39
|
-
* Specifies the `id` of the component's associated form.
|
|
40
|
-
*
|
|
41
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
39
|
+
* Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists.
|
|
42
40
|
*
|
|
43
41
|
* @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
|
|
44
42
|
*/
|
|
@@ -98,13 +98,13 @@ class Meter extends LitElement {
|
|
|
98
98
|
}
|
|
99
99
|
calculateValues() {
|
|
100
100
|
const { min, max, low, high, value } = this;
|
|
101
|
-
const lowPercent = 100 * (low - min) / (max - min);
|
|
102
|
-
const highPercent = 100 * (high - min) / (max - min);
|
|
103
|
-
const currentPercent = 100 * (value - min) / (max - min);
|
|
104
|
-
if (!low || low < min || low > high || low > max) {
|
|
101
|
+
const lowPercent = low === void 0 ? NaN : 100 * (low - min) / (max - min);
|
|
102
|
+
const highPercent = high === void 0 ? NaN : 100 * (high - min) / (max - min);
|
|
103
|
+
const currentPercent = value === void 0 ? NaN : 100 * (value - min) / (max - min);
|
|
104
|
+
if (!low || low < min || high !== void 0 && low > high || low > max) {
|
|
105
105
|
this.low = min;
|
|
106
106
|
}
|
|
107
|
-
if (!high || high > max || high < low || high < min) {
|
|
107
|
+
if (!high || high > max || low !== void 0 && high < low || high < min) {
|
|
108
108
|
this.high = max;
|
|
109
109
|
}
|
|
110
110
|
if (!value) {
|
|
@@ -140,10 +140,10 @@ class Meter extends LitElement {
|
|
|
140
140
|
const { low, high, min, max, value } = this;
|
|
141
141
|
const lowest = low ? low : min;
|
|
142
142
|
const highest = high ? high : max;
|
|
143
|
-
const aboveLowest = value >= lowest;
|
|
144
|
-
const belowLowest = value < lowest;
|
|
145
|
-
const aboveHighest = value >= highest;
|
|
146
|
-
const belowHighest = value < highest;
|
|
143
|
+
const aboveLowest = value !== void 0 && value >= lowest;
|
|
144
|
+
const belowLowest = value !== void 0 && value < lowest;
|
|
145
|
+
const aboveHighest = value !== void 0 && value >= highest;
|
|
146
|
+
const belowHighest = value !== void 0 && value < highest;
|
|
147
147
|
if (!value || !low && belowHighest || belowLowest) {
|
|
148
148
|
return CSS.success;
|
|
149
149
|
} else if (aboveLowest && belowHighest) {
|
|
@@ -19,7 +19,7 @@ import type { Scale } from "../interfaces.js";
|
|
|
19
19
|
*/
|
|
20
20
|
export abstract class Navigation extends LitElement {
|
|
21
21
|
/** When `navigationAction` is `true`, specifies an accessible label for the `calcite-action`. */
|
|
22
|
-
accessor label: string;
|
|
22
|
+
accessor label: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.
|
|
25
25
|
*
|
|
@@ -40,6 +40,15 @@ class Navigation extends LitElement {
|
|
|
40
40
|
this.updateNavigationUser();
|
|
41
41
|
this.updateNestedNavigation();
|
|
42
42
|
});
|
|
43
|
+
this.logoSlotHasElements = false;
|
|
44
|
+
this.navigationActionSlotHasElements = false;
|
|
45
|
+
this.primaryContentCenterSlotHasElements = false;
|
|
46
|
+
this.primaryContentEndSlotHasElements = false;
|
|
47
|
+
this.primaryContentStartSlotHasElements = false;
|
|
48
|
+
this.progressSlotHasElement = false;
|
|
49
|
+
this.secondarySlotHasElements = false;
|
|
50
|
+
this.tertiarySlotHasElements = false;
|
|
51
|
+
this.userSlotHasElements = false;
|
|
43
52
|
this.navigationAction = false;
|
|
44
53
|
this.scale = "m";
|
|
45
54
|
this.calciteNavigationActionSelect = createEvent({ cancelable: false });
|
|
@@ -17,15 +17,15 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
17
17
|
*/
|
|
18
18
|
accessor active: boolean;
|
|
19
19
|
/** Specifies a description for the component. Displays below the `heading`. */
|
|
20
|
-
accessor description: string;
|
|
20
|
+
accessor description: string | undefined;
|
|
21
21
|
/** Specifies the component's heading text. */
|
|
22
|
-
accessor heading: string;
|
|
22
|
+
accessor heading: string | undefined;
|
|
23
23
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
24
|
-
accessor headingLevel: HeadingLevel;
|
|
24
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
25
25
|
/** Specifies the URL destination of the component, which can be set as an absolute or relative path. */
|
|
26
|
-
accessor href: string;
|
|
26
|
+
accessor href: string | undefined;
|
|
27
27
|
/** Specifies an icon to display. */
|
|
28
|
-
accessor icon: IconName;
|
|
28
|
+
accessor icon: IconName | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
31
31
|
*
|
|
@@ -33,21 +33,21 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
33
33
|
*/
|
|
34
34
|
accessor iconFlipRtl: boolean;
|
|
35
35
|
/** Specifies an accessible label for the component. */
|
|
36
|
-
accessor label: string;
|
|
36
|
+
accessor label: string | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Defines the relationship between the `href` value and the current document.
|
|
39
39
|
*
|
|
40
40
|
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
41
41
|
*/
|
|
42
|
-
accessor rel: string;
|
|
42
|
+
accessor rel: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Specifies where to open the linked document defined in the `href` property.
|
|
45
45
|
*
|
|
46
46
|
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
47
47
|
*/
|
|
48
|
-
accessor target: string;
|
|
48
|
+
accessor target: string | undefined;
|
|
49
49
|
/** Specifies the `src` to an image. */
|
|
50
|
-
accessor thumbnail: string;
|
|
50
|
+
accessor thumbnail: string | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* Sets focus on the component.
|
|
53
53
|
*
|
|
@@ -17,9 +17,9 @@ export abstract class NavigationUser extends LitElement {
|
|
|
17
17
|
*/
|
|
18
18
|
accessor active: boolean;
|
|
19
19
|
/** Specifies the full name of the user. */
|
|
20
|
-
accessor fullName: string;
|
|
20
|
+
accessor fullName: string | undefined;
|
|
21
21
|
/** Specifies an accessible label for the component. */
|
|
22
|
-
accessor label: string;
|
|
22
|
+
accessor label: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* When `true`, hides the `fullName` and `username` contents.
|
|
25
25
|
*
|
|
@@ -27,11 +27,11 @@ export abstract class NavigationUser extends LitElement {
|
|
|
27
27
|
*/
|
|
28
28
|
accessor textDisabled: boolean;
|
|
29
29
|
/** Specifies the `src` to an image (remember to add a token if the user is private). */
|
|
30
|
-
accessor thumbnail: string;
|
|
30
|
+
accessor thumbnail: string | undefined;
|
|
31
31
|
/** Specifies the unique id of the user. */
|
|
32
|
-
accessor userId: string;
|
|
32
|
+
accessor userId: string | undefined;
|
|
33
33
|
/** Specifies the username of the user. */
|
|
34
|
-
accessor username: string;
|
|
34
|
+
accessor username: string | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Sets focus on the component.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export abstract class Notice extends LitElement {
|
|
|
41
41
|
*/
|
|
42
42
|
accessor closable: boolean;
|
|
43
43
|
/** When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon. */
|
|
44
|
-
accessor icon: IconName | boolean;
|
|
44
|
+
accessor icon: IconName | boolean | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
47
47
|
*
|
|
@@ -55,7 +55,7 @@ export abstract class Notice extends LitElement {
|
|
|
55
55
|
*/
|
|
56
56
|
accessor kind: Extract<"brand" | "danger" | "info" | "success" | "warning" | "neutral", Kind>;
|
|
57
57
|
/** Overrides individual strings used by the component. */
|
|
58
|
-
accessor messageOverrides: { close?: string; };
|
|
58
|
+
accessor messageOverrides: { close?: string | undefined; };
|
|
59
59
|
/**
|
|
60
60
|
* When `true`, the component is visible.
|
|
61
61
|
*
|
|
@@ -9,7 +9,7 @@ export abstract class Option extends LitElement {
|
|
|
9
9
|
*/
|
|
10
10
|
accessor disabled: boolean;
|
|
11
11
|
/** Specifies an accessible label for the component. */
|
|
12
|
-
accessor label: string;
|
|
12
|
+
accessor label: string | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* When `true`, the component is selected.
|
|
15
15
|
*
|
|
@@ -20,10 +20,10 @@ export abstract class Pagination extends LitElement {
|
|
|
20
20
|
accessor groupSeparator: boolean;
|
|
21
21
|
/** Overrides individual strings used by the component. */
|
|
22
22
|
accessor messageOverrides: {
|
|
23
|
-
next?: string;
|
|
24
|
-
previous?: string;
|
|
25
|
-
first?: string;
|
|
26
|
-
last?: string;
|
|
23
|
+
next?: string | undefined;
|
|
24
|
+
previous?: string | undefined;
|
|
25
|
+
first?: string | undefined;
|
|
26
|
+
last?: string | undefined;
|
|
27
27
|
};
|
|
28
28
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
29
29
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
@@ -40,7 +40,7 @@ class Pagination extends LitElement {
|
|
|
40
40
|
super(...arguments);
|
|
41
41
|
this.resizeHandler = ({ contentRect: { width } }) => this.setMaxItemsToBreakpoint(width);
|
|
42
42
|
this.resizeObserver = createObserver("resize", (entries) => entries.forEach(this.resizeHandler));
|
|
43
|
-
this.messages = useT9n();
|
|
43
|
+
this.messages = useT9n({ blocking: true });
|
|
44
44
|
this.focusSetter = useSetFocus()(this);
|
|
45
45
|
this.isXXSmall = false;
|
|
46
46
|
this.lastStartItem = 1;
|
|
@@ -187,11 +187,11 @@ class Pagination extends LitElement {
|
|
|
187
187
|
}
|
|
188
188
|
handlePageClick(event) {
|
|
189
189
|
const target = event.target;
|
|
190
|
-
this.startItem = parseInt(target.value);
|
|
190
|
+
this.startItem = parseInt(target.value, 10);
|
|
191
191
|
this.emitUpdate();
|
|
192
192
|
}
|
|
193
193
|
renderEllipsis(type) {
|
|
194
|
-
return keyed(type, html`<span class=${safeClassMap(CSS.ellipsis)}>…</span>`)
|
|
194
|
+
return html`<li aria-hidden=true role=presentation>${keyed(type, html`<span class=${safeClassMap(CSS.ellipsis)}>…</span>`)}</li>`;
|
|
195
195
|
}
|
|
196
196
|
renderItems() {
|
|
197
197
|
const { totalItems, pageSize, startItem, maxItems, totalPages, lastStartItem, isXXSmall } = this;
|
|
@@ -48,13 +48,13 @@ export abstract class Panel extends LitElement {
|
|
|
48
48
|
/** Passes a function to run before the component closes. */
|
|
49
49
|
accessor beforeClose: (() => Promise<void>) | undefined;
|
|
50
50
|
/**
|
|
51
|
-
* When `true`, displays a close button in the component.
|
|
51
|
+
* When `true`, displays a close button in the trailing side of the component's header.
|
|
52
52
|
*
|
|
53
53
|
* @default false
|
|
54
54
|
*/
|
|
55
55
|
accessor closable: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* When `true`, the component
|
|
57
|
+
* When `true`, hides the component.
|
|
58
58
|
*
|
|
59
59
|
* @default false
|
|
60
60
|
*/
|
|
@@ -103,7 +103,7 @@ export abstract class Panel extends LitElement {
|
|
|
103
103
|
* @default false
|
|
104
104
|
*/
|
|
105
105
|
accessor loading: boolean;
|
|
106
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
106
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
107
107
|
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* When `true`, the action menu items in the `header-menu-actions` slot are open.
|
|
@@ -119,10 +119,10 @@ export abstract class Panel extends LitElement {
|
|
|
119
119
|
accessor menuPlacement: LogicalPlacement;
|
|
120
120
|
/** Overrides individual strings used by the component. */
|
|
121
121
|
accessor messageOverrides: {
|
|
122
|
-
close?: string;
|
|
123
|
-
options?: string;
|
|
124
|
-
collapse?: string;
|
|
125
|
-
expand?: string;
|
|
122
|
+
close?: string | undefined;
|
|
123
|
+
options?: string | undefined;
|
|
124
|
+
collapse?: string | undefined;
|
|
125
|
+
expand?: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
/**
|
|
128
128
|
* Specifies the type of positioning to use for overlaid content, where:
|
|
@@ -141,9 +141,7 @@ export abstract class Panel extends LitElement {
|
|
|
141
141
|
*/
|
|
142
142
|
accessor scale: Scale;
|
|
143
143
|
/**
|
|
144
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
145
|
-
*
|
|
146
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
144
|
+
* 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.
|
|
147
145
|
*
|
|
148
146
|
* @default false
|
|
149
147
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -14,6 +14,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
|
|
|
14
14
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
15
15
|
import { s as styles$1 } from "../../chunks/header.js";
|
|
16
16
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
17
|
+
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
17
18
|
import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources8.js";
|
|
18
19
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
19
20
|
class Panel extends LitElement {
|
|
@@ -24,6 +25,18 @@ class Panel extends LitElement {
|
|
|
24
25
|
this.messages = useT9n();
|
|
25
26
|
this._closed = false;
|
|
26
27
|
this.focusSetter = useSetFocus()(this);
|
|
28
|
+
this.focusTrapController = useFocusTrap({
|
|
29
|
+
focusTrapOptions: {
|
|
30
|
+
allowOutsideClick: true,
|
|
31
|
+
escapeDeactivates: (event) => {
|
|
32
|
+
if (!event.defaultPrevented && this.closable) {
|
|
33
|
+
this.emitCloseEvent();
|
|
34
|
+
event.preventDefault();
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
})(this);
|
|
27
40
|
this.interactiveContainer = useInteractive(this);
|
|
28
41
|
this.hasActionBar = false;
|
|
29
42
|
this.hasContentBottom = false;
|
|
@@ -46,6 +59,7 @@ class Panel extends LitElement {
|
|
|
46
59
|
this.disabled = false;
|
|
47
60
|
this.iconFlipRtl = false;
|
|
48
61
|
this.loading = false;
|
|
62
|
+
this.focusTrapEnabled = false;
|
|
49
63
|
this.menuOpen = false;
|
|
50
64
|
this.menuPlacement = defaultEndMenuPlacement;
|
|
51
65
|
this.overlayPositioning = "absolute";
|
|
@@ -60,7 +74,7 @@ class Panel extends LitElement {
|
|
|
60
74
|
this.listen("calcitePanelClose", this.panelCloseHandler);
|
|
61
75
|
}
|
|
62
76
|
static {
|
|
63
|
-
this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
77
|
+
this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], focusTrapEnabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
64
78
|
}
|
|
65
79
|
static {
|
|
66
80
|
this.styles = [styles$1, styles];
|
|
@@ -80,6 +94,10 @@ class Panel extends LitElement {
|
|
|
80
94
|
async setFocus(options) {
|
|
81
95
|
return this.focusSetter(() => this.containerRef.value, options);
|
|
82
96
|
}
|
|
97
|
+
async updateFocusTrapElements(extraContainers) {
|
|
98
|
+
this.focusTrapController.setExtraContainers(extraContainers);
|
|
99
|
+
this.focusTrapController.updateContainerElements();
|
|
100
|
+
}
|
|
83
101
|
willUpdate(changes) {
|
|
84
102
|
if (changes.has("collapsed") && this.hasUpdated) {
|
|
85
103
|
if (this.collapsed) {
|
|
@@ -89,10 +107,22 @@ class Panel extends LitElement {
|
|
|
89
107
|
}
|
|
90
108
|
}
|
|
91
109
|
}
|
|
110
|
+
updated(changes) {
|
|
111
|
+
if (changes.has("focusTrapEnabled") || changes.has("closable") || changes.has("closed")) {
|
|
112
|
+
if (!this.closed && this.closable && this.focusTrapEnabled) {
|
|
113
|
+
this.focusTrapController.activate();
|
|
114
|
+
} else {
|
|
115
|
+
this.focusTrapController.deactivate();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
92
119
|
disconnectedCallback() {
|
|
93
120
|
super.disconnectedCallback();
|
|
94
121
|
this.resizeObserver?.disconnect();
|
|
95
122
|
}
|
|
123
|
+
focusTrapDisabledOverride() {
|
|
124
|
+
return !this.focusTrapEnabled || !this.closable || this.closed;
|
|
125
|
+
}
|
|
96
126
|
async setClosedState(value) {
|
|
97
127
|
if (this.beforeClose && value) {
|
|
98
128
|
try {
|
|
@@ -122,10 +152,11 @@ class Panel extends LitElement {
|
|
|
122
152
|
this.calcitePanelClose.emit();
|
|
123
153
|
}
|
|
124
154
|
panelKeyDownHandler(event) {
|
|
125
|
-
if (
|
|
126
|
-
|
|
127
|
-
this.emitCloseEvent();
|
|
155
|
+
if (event.key !== "Escape" || event.defaultPrevented || this.closed || !this.closable) {
|
|
156
|
+
return;
|
|
128
157
|
}
|
|
158
|
+
event.preventDefault();
|
|
159
|
+
this.emitCloseEvent();
|
|
129
160
|
}
|
|
130
161
|
panelCloseHandler(event) {
|
|
131
162
|
if (event.defaultPrevented || event.target !== this.el) {
|
|
@@ -255,8 +286,9 @@ class Panel extends LitElement {
|
|
|
255
286
|
return html`<div class=${safeClassMap(CSS.fabContainer)} .hidden=${!this.hasFab}><slot name=${SLOTS.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`;
|
|
256
287
|
}
|
|
257
288
|
render() {
|
|
258
|
-
const { disabled, loading, closed } = this;
|
|
259
|
-
const
|
|
289
|
+
const { disabled, loading, closed, heading, description, focusTrapEnabled, closable } = this;
|
|
290
|
+
const hasDialogRole = focusTrapEnabled && closable;
|
|
291
|
+
const panelNode = html`<div .ariaBusy=${loading} .ariaDescription=${hasDialogRole && description ? description : void 0} .ariaLabel=${hasDialogRole && heading ? heading : void 0} .ariaLive=${hasDialogRole ? "polite" : void 0} class=${safeClassMap(CSS.container)} .hidden=${closed} .role=${hasDialogRole ? "dialog" : "article"} ${ref(this.containerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${keyed("alerts", html`<slot name=${SLOTS.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`;
|
|
260
292
|
return this.interactiveContainer({ disabled, children: html`${loading ? html`<calcite-scrim .loading=${loading}></calcite-scrim>` : null}${panelNode}` });
|
|
261
293
|
}
|
|
262
294
|
}
|
|
@@ -32,7 +32,7 @@ export abstract class Popover extends LitElement {
|
|
|
32
32
|
* @default false
|
|
33
33
|
*/
|
|
34
34
|
accessor flipDisabled: boolean;
|
|
35
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
35
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
36
36
|
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* When `true`, prevents focus trapping.
|
|
@@ -61,7 +61,7 @@ export abstract class Popover extends LitElement {
|
|
|
61
61
|
*/
|
|
62
62
|
accessor label: string;
|
|
63
63
|
/** Overrides individual strings used by the component. */
|
|
64
|
-
accessor messageOverrides: { close?: string; };
|
|
64
|
+
accessor messageOverrides: { close?: string | undefined; };
|
|
65
65
|
/** Specifies the distance to position the component away from the `referenceElement`. */
|
|
66
66
|
accessor offsetDistance: number;
|
|
67
67
|
/**
|
|
@@ -117,9 +117,7 @@ export abstract class Popover extends LitElement {
|
|
|
117
117
|
*/
|
|
118
118
|
accessor scale: Scale;
|
|
119
119
|
/**
|
|
120
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
121
|
-
*
|
|
122
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
120
|
+
* 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.
|
|
123
121
|
*
|
|
124
122
|
* @default false
|
|
125
123
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -21,11 +21,7 @@ export abstract class RadioButton extends LitElement {
|
|
|
21
21
|
* @default false
|
|
22
22
|
*/
|
|
23
23
|
accessor disabled: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the `id` of the component's associated form.
|
|
26
|
-
*
|
|
27
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
28
|
-
*/
|
|
24
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
29
25
|
accessor form: string | undefined;
|
|
30
26
|
/** Specifies the component's label text. */
|
|
31
27
|
accessor labelText: string | undefined;
|