@esri/calcite-components 5.2.0-next.4 → 5.2.0-next.41
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/26B43NOX.js +2 -0
- package/dist/cdn/27J6EX4H.js +2 -0
- package/dist/cdn/2HWISWWB.js +2 -0
- package/dist/cdn/2XKW633K.js +2 -0
- package/dist/cdn/3EYZC3SN.js +2 -0
- package/dist/cdn/3JH2OFHX.js +2 -0
- package/dist/cdn/3K5AKLMO.js +2 -0
- package/dist/cdn/3LWW3IUS.js +2 -0
- package/dist/cdn/{DGXWUFHV.js → 3QIP5RJL.js} +1 -1
- package/dist/cdn/43AVSQSH.js +2 -0
- package/dist/cdn/4UXHPA73.js +2 -0
- package/dist/cdn/52WDKMXM.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → 53PNWBFM.js} +1 -1
- package/dist/cdn/5CK2R5LF.js +2 -0
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/5HJ4I2AM.js +2 -0
- package/dist/cdn/5JQVADCK.js +2 -0
- package/dist/cdn/5UBPIAPT.js +2 -0
- package/dist/cdn/62QHJEOL.js +2 -0
- package/dist/cdn/6GGOV5WL.js +2 -0
- package/dist/cdn/6L6SKSGQ.js +2 -0
- package/dist/cdn/6MN5ABWR.js +2 -0
- package/dist/cdn/{5J5YPAQF.js → 6QDLNWSN.js} +1 -1
- package/dist/cdn/{PQIVVLWM.js → 7G4BVJYG.js} +1 -1
- package/dist/cdn/7JSWJOTT.js +2 -0
- package/dist/cdn/7MVTHLFR.js +2 -0
- package/dist/cdn/7S6P5V6S.js +2 -0
- package/dist/cdn/A5P5KMRQ.js +2 -0
- package/dist/cdn/ABKSY7OM.js +2 -0
- package/dist/cdn/AKWBXPKT.js +2 -0
- package/dist/cdn/ALYYYYSE.js +2 -0
- package/dist/cdn/AONRB2VZ.js +2 -0
- package/dist/cdn/{YM3XWOJY.js → B4AGOFO6.js} +1 -1
- package/dist/cdn/B5G2TRW5.js +2 -0
- package/dist/cdn/BAF6PWDR.js +2 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{R4LR6JBT.js → BIYJJMGW.js} +1 -1
- package/dist/cdn/BPBVS5FR.js +2 -0
- package/dist/cdn/BUI23KLA.js +2 -0
- package/dist/cdn/BYZVOO2P.js +2 -0
- package/dist/cdn/C27XN3F4.js +2 -0
- package/dist/cdn/C2TBMNFU.js +2 -0
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/{7CTKDBNP.js → C5WSTUYQ.js} +1 -1
- package/dist/cdn/CBVNWHGO.js +2 -0
- package/dist/cdn/{B255QVJJ.js → D765H6FK.js} +1 -1
- package/dist/cdn/DHOIJMY5.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DMK27J6W.js +2 -0
- package/dist/cdn/EADU3BA3.js +2 -0
- package/dist/cdn/EFJUQMWG.js +2 -0
- package/dist/cdn/EGWNP7O2.js +2 -0
- package/dist/cdn/EO6FPSS5.js +2 -0
- package/dist/cdn/EW4M5XKO.js +2 -0
- package/dist/cdn/F2LG7C6F.js +2 -0
- package/dist/cdn/FBE47ZLF.js +2 -0
- package/dist/cdn/FPPGZJAI.js +2 -0
- package/dist/cdn/{FWMASCBJ.js → FTHTE3TW.js} +1 -1
- package/dist/cdn/G2HGLNUQ.js +2 -0
- package/dist/cdn/{JL6EDIGB.js → G623ZHZE.js} +1 -1
- package/dist/cdn/{AV2KGCM3.js → GHYT4TSF.js} +1 -1
- package/dist/cdn/GJ3DAY34.js +2 -0
- package/dist/cdn/GT3AY5PV.js +2 -0
- package/dist/cdn/{L4565LYV.js → GTCDEISR.js} +1 -1
- package/dist/cdn/H3ZUT3EF.js +2 -0
- package/dist/cdn/HF6UZYPE.js +2 -0
- package/dist/cdn/HGGBTM7L.js +2 -0
- package/dist/cdn/HJZUIGO4.js +2 -0
- package/dist/cdn/HU3HMBGZ.js +2 -0
- package/dist/cdn/I57Y33ZS.js +2 -0
- package/dist/cdn/IGFFZYPH.js +2 -0
- package/dist/cdn/IL5NN4VO.js +2 -0
- package/dist/cdn/{JNWSTJU6.js → INASGIR3.js} +1 -1
- package/dist/cdn/J65IBMKU.js +2 -0
- package/dist/cdn/J7QTL4RP.js +2 -0
- package/dist/cdn/{CCXEESJV.js → JC3N5Z6M.js} +1 -1
- package/dist/cdn/JRJJXW7S.js +2 -0
- package/dist/cdn/JVHDUGSB.js +2 -0
- package/dist/cdn/KA4IJFDT.js +2 -0
- package/dist/cdn/KKNHAEV2.js +2 -0
- package/dist/cdn/KKWYQZA5.js +2 -0
- package/dist/cdn/KN7F7ZFZ.js +2 -0
- package/dist/cdn/KOOYHM3J.js +2 -0
- package/dist/cdn/KYUAIBOB.js +2 -0
- package/dist/cdn/L56TURMR.js +2 -0
- package/dist/cdn/L7IP5TS4.js +2 -0
- package/dist/cdn/LGUNNSM6.js +2 -0
- package/dist/cdn/LSZHFGPR.js +2 -0
- package/dist/cdn/M3Q4VNWA.js +2 -0
- package/dist/cdn/MBM7UIXE.js +2 -0
- package/dist/cdn/N5ATPSCJ.js +2 -0
- package/dist/cdn/N6UJD7P6.js +2 -0
- package/dist/cdn/NDEQD737.js +2 -0
- package/dist/cdn/{TWVG44TI.js → NFRHR32K.js} +1 -1
- package/dist/cdn/O2LRIMJK.js +2 -0
- package/dist/cdn/{NY4L6FEN.js → O3ACYO4B.js} +1 -1
- package/dist/cdn/{NTTXPITY.js → O4TOAPWP.js} +1 -1
- package/dist/cdn/ODGVHVD7.js +2 -0
- package/dist/cdn/ONCMVKQN.js +2 -0
- package/dist/cdn/{IOQX4VTU.js → OYFXBIHT.js} +1 -1
- package/dist/cdn/{N5DDKO3N.js → P372COYS.js} +1 -1
- package/dist/cdn/PCGI6KRU.js +2 -0
- package/dist/cdn/PFKDROYY.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/PUZVGDIL.js +2 -0
- package/dist/cdn/PY62WXQS.js +2 -0
- package/dist/cdn/{UJQUDROZ.js → QC4U5OAE.js} +1 -1
- package/dist/cdn/QCWTDKIP.js +2 -0
- package/dist/cdn/QLUZMGER.js +2 -0
- package/dist/cdn/QOI7A4CX.js +2 -0
- package/dist/cdn/QOMCEKSV.js +2 -0
- package/dist/cdn/{2WTFQ6VU.js → QQZKAT7E.js} +1 -1
- package/dist/cdn/QYZN6QCM.js +20 -0
- package/dist/cdn/RJJYWGEP.js +2 -0
- package/dist/cdn/RRYCWXOT.js +4 -0
- package/dist/cdn/RXFVNPOV.js +2 -0
- package/dist/cdn/RY3SGNGT.js +2 -0
- package/dist/cdn/RYA2FB6F.js +2 -0
- package/dist/cdn/SBC7DUHY.js +2 -0
- package/dist/cdn/SRYPHTKQ.js +2 -0
- package/dist/cdn/SUXTCC5Z.js +2 -0
- package/dist/cdn/SWDVMB5L.js +2 -0
- package/dist/cdn/T26MBNVN.js +2 -0
- package/dist/cdn/T65AD6QS.js +2 -0
- package/dist/cdn/TC6JRYNG.js +2 -0
- package/dist/cdn/{TZEYHRND.js → TDZLKYDM.js} +1 -1
- package/dist/cdn/{Q74VIYYT.js → TLHSIAO4.js} +1 -1
- package/dist/cdn/{VFE65IIH.js → TVAMUDTN.js} +1 -1
- package/dist/cdn/TWDA3PKI.js +2 -0
- package/dist/cdn/U5XQPYHT.js +3 -0
- package/dist/cdn/{5F5N45N2.js → UCOCOHHJ.js} +1 -1
- package/dist/cdn/{JJRBBNII.js → UNTLYDHV.js} +1 -1
- package/dist/cdn/UTINKSJR.js +2 -0
- package/dist/cdn/VDLVYMTH.js +2 -0
- package/dist/cdn/VMK262QR.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/VPHPEJGT.js +2 -0
- package/dist/cdn/VUE25WNJ.js +2 -0
- package/dist/cdn/W7CYC7WW.js +2 -0
- package/dist/cdn/WRACZVBJ.js +2 -0
- package/dist/cdn/WYTNRIBT.js +2 -0
- package/dist/cdn/{7KZDKRE5.js → X2XSGTDU.js} +1 -1
- package/dist/cdn/{NKZDXCA3.js → X7UGVQXT.js} +1 -1
- package/dist/cdn/YGN4ZJUD.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/{XZ3BWCEM.js → YNS3MRN3.js} +1 -1
- package/dist/cdn/YXIGQJJX.js +2 -0
- package/dist/cdn/YXZKUPH5.js +2 -0
- package/dist/cdn/Z2HUDOFZ.js +2 -0
- package/dist/cdn/Z7VWFRQ5.js +2 -0
- package/dist/cdn/ZBCLYVBD.js +2 -0
- package/dist/cdn/ZCRQBBYM.js +2 -0
- package/dist/cdn/ZFGPGIPS.js +2 -0
- package/dist/cdn/ZMIIVA7V.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/loadConfiguration16.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration24.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration32.json +1 -0
- package/dist/cdn/assets/icon/publish32.json +1 -1
- package/dist/cdn/assets/icon/radarChart16.json +1 -0
- package/dist/cdn/assets/icon/radarChart24.json +1 -0
- package/dist/cdn/assets/icon/radarChart32.json +1 -0
- package/dist/cdn/assets/icon/treeMap16.json +1 -0
- package/dist/cdn/assets/icon/treeMap24.json +1 -0
- package/dist/cdn/assets/icon/treeMap32.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/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.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.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.ar.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.el.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.es.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-TW.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.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.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.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.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.ar.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.el.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.es.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ExpandToggle.js +12 -46
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +27 -359
- package/dist/chunks/floating-ui.js +23 -13
- package/dist/chunks/label.js +1 -140
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/manager.js +6 -6
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources2.js +10 -14
- package/dist/chunks/resources3.js +17 -9
- package/dist/chunks/resources5.js +2 -0
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -5
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useForm.js +9 -7
- package/dist/chunks/useInlineEditable.js +53 -0
- package/dist/chunks/useLabel.js +150 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +25 -24
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-accordion/customElement.d.ts +5 -6
- package/dist/components/calcite-accordion-item/customElement.d.ts +8 -3
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-action/customElement.d.ts +9 -4
- package/dist/components/calcite-action/customElement.js +27 -11
- package/dist/components/calcite-action-bar/customElement.d.ts +40 -13
- package/dist/components/calcite-action-bar/customElement.js +416 -74
- package/dist/components/calcite-action-group/customElement.d.ts +23 -13
- package/dist/components/calcite-action-group/customElement.js +61 -51
- package/dist/components/calcite-action-menu/customElement.d.ts +14 -4
- package/dist/components/calcite-action-menu/customElement.js +80 -38
- package/dist/components/calcite-action-pad/customElement.d.ts +12 -8
- package/dist/components/calcite-action-pad/customElement.js +2 -2
- package/dist/components/calcite-alert/customElement.d.ts +6 -2
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +11 -7
- package/dist/components/calcite-autocomplete/customElement.js +5 -5
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +24 -8
- package/dist/components/calcite-block/customElement.js +28 -5
- package/dist/components/calcite-block/index.js +1 -0
- package/dist/components/calcite-block/interface.d.ts +1 -0
- package/dist/components/calcite-block-group/customElement.d.ts +15 -3
- package/dist/components/calcite-block-group/customElement.js +40 -3
- package/dist/components/calcite-block-section/customElement.d.ts +11 -7
- package/dist/components/calcite-block-section/customElement.js +2 -2
- package/dist/components/calcite-button/customElement.d.ts +11 -3
- package/dist/components/calcite-button/customElement.js +5 -5
- package/dist/components/calcite-card/customElement.d.ts +7 -3
- package/dist/components/calcite-carousel/customElement.d.ts +12 -8
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +11 -3
- package/dist/components/calcite-checkbox/customElement.js +4 -10
- package/dist/components/calcite-chip/customElement.d.ts +7 -3
- package/dist/components/calcite-chip/customElement.js +6 -5
- package/dist/components/calcite-chip-group/customElement.d.ts +5 -8
- package/dist/components/calcite-color-picker/customElement.d.ts +25 -21
- package/dist/components/calcite-color-picker/customElement.js +7 -3
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +47 -44
- package/dist/components/calcite-combobox/customElement.js +41 -37
- package/dist/components/calcite-combobox-item/customElement.d.ts +5 -5
- package/dist/components/calcite-combobox-item/customElement.js +4 -3
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +21 -17
- package/dist/components/calcite-date-picker/customElement.js +45 -23
- 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 +15 -10
- package/dist/components/calcite-dialog/customElement.d.ts +27 -23
- package/dist/components/calcite-dialog/customElement.js +6 -7
- package/dist/components/calcite-dropdown/customElement.d.ts +7 -6
- package/dist/components/calcite-dropdown/customElement.js +11 -8
- package/dist/components/calcite-dropdown-group/customElement.d.ts +5 -7
- 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 +4 -4
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +7 -3
- package/dist/components/calcite-flow/types/index.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +16 -12
- package/dist/components/calcite-flow-item/customElement.js +9 -7
- package/dist/components/calcite-focus-trap/customElement.d.ts +6 -6
- 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 +12 -8
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-icon/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.js +2 -3
- package/dist/components/calcite-icon/interfaces.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +18 -10
- package/dist/components/calcite-inline-editable/customElement.js +30 -18
- package/dist/components/calcite-inline-editable/index.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +42 -7
- package/dist/components/calcite-input/customElement.js +96 -13
- package/dist/components/calcite-input-date-picker/customElement.d.ts +38 -11
- package/dist/components/calcite-input-date-picker/customElement.js +100 -39
- package/dist/components/calcite-input-date-picker/index.js +1 -0
- package/dist/components/calcite-input-message/customElement.js +6 -8
- package/dist/components/calcite-input-number/customElement.d.ts +46 -9
- package/dist/components/calcite-input-number/customElement.js +86 -10
- package/dist/components/calcite-input-text/customElement.d.ts +43 -8
- package/dist/components/calcite-input-text/customElement.js +84 -16
- package/dist/components/calcite-input-time-picker/customElement.d.ts +47 -26
- package/dist/components/calcite-input-time-picker/customElement.js +22 -16
- package/dist/components/calcite-input-time-picker/index.js +1 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +633 -616
- package/dist/components/calcite-input-time-zone/customElement.js +7 -14
- package/dist/components/calcite-label/customElement.d.ts +3 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +24 -29
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +8 -4
- package/dist/components/calcite-list-item/customElement.js +2 -2
- package/dist/components/calcite-list-item/interfaces.d.ts +3 -3
- package/dist/components/calcite-menu/customElement.d.ts +6 -2
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -3
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.d.ts +7 -4
- package/dist/components/calcite-meter/customElement.js +10 -10
- 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 +2 -1
- 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 +10 -4
- package/dist/components/calcite-notice/customElement.js +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 +9 -5
- package/dist/components/calcite-pagination/customElement.js +3 -3
- package/dist/components/calcite-panel/customElement.d.ts +12 -8
- package/dist/components/calcite-panel/customElement.js +40 -8
- package/dist/components/calcite-popover/customElement.d.ts +15 -11
- package/dist/components/calcite-radio-button/customElement.d.ts +5 -1
- package/dist/components/calcite-radio-button/customElement.js +5 -4
- package/dist/components/calcite-radio-button-group/customElement.d.ts +9 -3
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +13 -5
- package/dist/components/calcite-rating/customElement.js +5 -11
- package/dist/components/calcite-scrim/customElement.d.ts +6 -2
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +20 -9
- package/dist/components/calcite-segmented-control/customElement.js +6 -12
- package/dist/components/calcite-segmented-control-item/customElement.js +3 -3
- package/dist/components/calcite-select/customElement.d.ts +19 -9
- package/dist/components/calcite-select/customElement.js +5 -5
- package/dist/components/calcite-sheet/customElement.d.ts +16 -12
- 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 +137 -21
- package/dist/components/calcite-shell-panel/customElement.d.ts +27 -16
- package/dist/components/calcite-shell-panel/customElement.js +161 -34
- package/dist/components/calcite-slider/customElement.d.ts +9 -3
- package/dist/components/calcite-slider/customElement.js +14 -10
- package/dist/components/calcite-sort-handle/customElement.d.ts +22 -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 +4 -4
- package/dist/components/calcite-split-button/customElement.d.ts +6 -4
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +8 -4
- package/dist/components/calcite-stepper-item/customElement.d.ts +8 -4
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch-group/customElement.d.ts +5 -8
- package/dist/components/calcite-switch/customElement.d.ts +18 -1
- package/dist/components/calcite-switch/customElement.js +6 -11
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +7 -3
- package/dist/components/calcite-tab-nav/customElement.js +65 -27
- package/dist/components/calcite-tab-title/customElement.d.ts +6 -2
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.d.ts +20 -12
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +15 -10
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +11 -7
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.d.ts +5 -4
- 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 +13 -7
- package/dist/components/calcite-text-area/customElement.js +25 -24
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-tile/customElement.js +2 -2
- package/dist/components/calcite-tile-group/customElement.d.ts +9 -9
- package/dist/components/calcite-time-picker/customElement.d.ts +24 -20
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +4 -4
- package/dist/components/calcite-tree/customElement.d.ts +9 -15
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useTime.d.ts +4 -4
- 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 +21 -21
- package/dist/types/lumina.d.ts +25 -14
- package/dist/types/preact.d.ts +25 -14
- package/dist/types/react.d.ts +25 -14
- package/dist/types/stencil.d.ts +25 -14
- package/dist/utils/date.d.ts +2 -2
- package/package.json +18 -15
- package/dist/cdn/24XW36XW.js +0 -2
- package/dist/cdn/2BIW77FS.js +0 -2
- package/dist/cdn/2CPNDRJN.js +0 -4
- package/dist/cdn/2GFEIPYA.js +0 -2
- package/dist/cdn/2GIYJ5S4.js +0 -2
- package/dist/cdn/2NVBHC4D.js +0 -2
- package/dist/cdn/3AZFSAZW.js +0 -2
- package/dist/cdn/3GYZZNF6.js +0 -2
- package/dist/cdn/3VTWLNYM.js +0 -2
- package/dist/cdn/3W6YYTUS.js +0 -2
- package/dist/cdn/44WTMUOU.js +0 -2
- package/dist/cdn/4ENZX7JD.js +0 -2
- package/dist/cdn/4XXCMSYK.js +0 -2
- package/dist/cdn/5BRHCY56.js +0 -2
- package/dist/cdn/5HQW2B4L.js +0 -2
- package/dist/cdn/5MJOA2EC.js +0 -2
- package/dist/cdn/5Z6Y27PN.js +0 -2
- package/dist/cdn/6M54QVXX.js +0 -2
- package/dist/cdn/AC3VJGBR.js +0 -2
- package/dist/cdn/AH2ILKOU.js +0 -2
- package/dist/cdn/ARJXIE5E.js +0 -2
- package/dist/cdn/BC2RGQAT.js +0 -2
- package/dist/cdn/BKETK56P.js +0 -2
- package/dist/cdn/BQXZQXDH.js +0 -2
- package/dist/cdn/BUA4VQLY.js +0 -2
- package/dist/cdn/BXPPKXA4.js +0 -2
- package/dist/cdn/C5UFPB7M.js +0 -2
- package/dist/cdn/C7G4TGZX.js +0 -2
- package/dist/cdn/CARY3C4R.js +0 -2
- package/dist/cdn/CF6R3CEF.js +0 -2
- package/dist/cdn/CHVPHDET.js +0 -2
- package/dist/cdn/CKNWJGRW.js +0 -2
- package/dist/cdn/CMY74TQR.js +0 -2
- package/dist/cdn/CORQ5EDZ.js +0 -2
- package/dist/cdn/CP4Z56ZR.js +0 -2
- package/dist/cdn/CTLPGOB7.js +0 -2
- package/dist/cdn/CYYQXD64.js +0 -2
- package/dist/cdn/D7PUB2VW.js +0 -2
- package/dist/cdn/DFHWYAUO.js +0 -2
- package/dist/cdn/DM5PCYTC.js +0 -2
- package/dist/cdn/DYLGNP2R.js +0 -2
- package/dist/cdn/EPBMP22J.js +0 -2
- package/dist/cdn/EW27G33J.js +0 -2
- package/dist/cdn/EWIM5HH4.js +0 -2
- package/dist/cdn/F2DLFMMQ.js +0 -2
- package/dist/cdn/FSYJWUBV.js +0 -2
- package/dist/cdn/G2WKLE63.js +0 -2
- package/dist/cdn/GBYDFEYR.js +0 -2
- package/dist/cdn/GCQOLCYX.js +0 -2
- package/dist/cdn/GLB7VDX7.js +0 -2
- package/dist/cdn/GWO7M4CB.js +0 -2
- package/dist/cdn/HHOCH2WQ.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/HPI37X3H.js +0 -2
- package/dist/cdn/HUHXPX4S.js +0 -2
- package/dist/cdn/I2YZCTNB.js +0 -2
- package/dist/cdn/I62TONNU.js +0 -2
- package/dist/cdn/IC76575N.js +0 -2
- package/dist/cdn/IKJKNZRO.js +0 -2
- package/dist/cdn/IWFPWFJR.js +0 -2
- package/dist/cdn/JACGCENG.js +0 -2
- package/dist/cdn/JMOU4F7W.js +0 -2
- package/dist/cdn/JOSZJ4U5.js +0 -2
- package/dist/cdn/JXHQEAMO.js +0 -2
- package/dist/cdn/KAINKHTB.js +0 -2
- package/dist/cdn/L7ZU6UHP.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LQPCOJZC.js +0 -2
- package/dist/cdn/MFPSZIXT.js +0 -2
- package/dist/cdn/MHDQTRTS.js +0 -2
- package/dist/cdn/MU324X7S.js +0 -2
- package/dist/cdn/NNVS72ZQ.js +0 -2
- package/dist/cdn/NO2IBH5N.js +0 -2
- package/dist/cdn/NUPS67PK.js +0 -2
- package/dist/cdn/O7X3EP3R.js +0 -2
- package/dist/cdn/OGL4GEZF.js +0 -2
- package/dist/cdn/OH6YFLLX.js +0 -2
- package/dist/cdn/P6AYQBI6.js +0 -2
- package/dist/cdn/PFQXFR3J.js +0 -2
- package/dist/cdn/PT3URJPT.js +0 -2
- package/dist/cdn/Q6D2HYAM.js +0 -2
- package/dist/cdn/QNANJC5N.js +0 -2
- package/dist/cdn/QURCJOLS.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QZXRRHZI.js +0 -2
- package/dist/cdn/R2HCYTV3.js +0 -2
- package/dist/cdn/RLQPAL3G.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/S6A7QIY2.js +0 -2
- package/dist/cdn/S6CBIU4I.js +0 -2
- package/dist/cdn/S7RFXIID.js +0 -2
- package/dist/cdn/T2LA26T7.js +0 -2
- package/dist/cdn/TFI32YIW.js +0 -2
- package/dist/cdn/TJKKXO65.js +0 -2
- package/dist/cdn/TTBDTS7V.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/U6OTDRDG.js +0 -2
- package/dist/cdn/U7OV6L43.js +0 -2
- package/dist/cdn/UF2N6ABQ.js +0 -2
- package/dist/cdn/UFPS5THO.js +0 -2
- package/dist/cdn/UJRHNVSJ.js +0 -2
- package/dist/cdn/UMVL2A7E.js +0 -2
- package/dist/cdn/USMDWOOR.js +0 -2
- package/dist/cdn/UWAER5W3.js +0 -2
- package/dist/cdn/UZLV6ZKB.js +0 -2
- package/dist/cdn/VIAY4ZRC.js +0 -2
- package/dist/cdn/VMUOIKWP.js +0 -2
- package/dist/cdn/VXQU67VG.js +0 -2
- package/dist/cdn/WV7Y7ZAG.js +0 -3
- package/dist/cdn/X4J4PEMW.js +0 -20
- package/dist/cdn/XCKTCFWS.js +0 -2
- package/dist/cdn/XFLOOJCN.js +0 -2
- package/dist/cdn/XI3FBKU5.js +0 -2
- package/dist/cdn/XJQE4TBM.js +0 -2
- package/dist/cdn/XL7EXU56.js +0 -2
- package/dist/cdn/XSDBVOII.js +0 -2
- package/dist/cdn/XUGBNEVM.js +0 -2
- package/dist/cdn/Y6TCI7PY.js +0 -2
- package/dist/cdn/YZTUQM6P.js +0 -2
- package/dist/cdn/Z32RDX4L.js +0 -2
- package/dist/cdn/Z3TMJ6KM.js +0 -2
- package/dist/cdn/ZN2URSJV.js +0 -2
- /package/dist/cdn/{WXZMRXAK.js → 5IJ25RMA.js} +0 -0
|
@@ -15,6 +15,12 @@ import type { Columns } from "./interfaces.js";
|
|
|
15
15
|
* @slot [menu-tooltip] - A slot for adding a `calcite-tooltip` for the menu.
|
|
16
16
|
*/
|
|
17
17
|
export abstract class ActionGroup extends LitElement {
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the `calcite-action`s in the group.
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
get actions(): Action[];
|
|
18
24
|
/** Specifies the number of columns. */
|
|
19
25
|
accessor columns: Columns | undefined;
|
|
20
26
|
/**
|
|
@@ -42,8 +48,12 @@ export abstract class ActionGroup extends LitElement {
|
|
|
42
48
|
accessor menuOpen: boolean;
|
|
43
49
|
/** Specifies the position of the action menu. */
|
|
44
50
|
accessor menuPlacement: LogicalPlacement | undefined;
|
|
45
|
-
/**
|
|
46
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Replace localized message strings with your own strings.
|
|
53
|
+
*
|
|
54
|
+
* _**Note**: Individual message keys may change between releases._
|
|
55
|
+
*/
|
|
56
|
+
accessor messageOverrides: { more?: string | undefined; };
|
|
47
57
|
/**
|
|
48
58
|
* When `true`, the component's actions will not be overflowed into a menu by a parent `calcite-action-bar`.
|
|
49
59
|
*
|
|
@@ -51,11 +61,11 @@ export abstract class ActionGroup extends LitElement {
|
|
|
51
61
|
*/
|
|
52
62
|
accessor overflowActionsDisabled: boolean;
|
|
53
63
|
/**
|
|
54
|
-
* Specifies the type of positioning to use for overlaid content
|
|
64
|
+
* Specifies the type of positioning to use for overlaid content.
|
|
55
65
|
*
|
|
56
|
-
* `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout
|
|
66
|
+
* - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
|
|
57
67
|
*
|
|
58
|
-
* `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
68
|
+
* - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
59
69
|
*
|
|
60
70
|
* @default "absolute"
|
|
61
71
|
*/
|
|
@@ -69,15 +79,12 @@ export abstract class ActionGroup extends LitElement {
|
|
|
69
79
|
/** Specifies the active actions in the group. */
|
|
70
80
|
get selectedActions(): Action[];
|
|
71
81
|
/**
|
|
72
|
-
* Specifies the selection mode of the component
|
|
73
|
-
*
|
|
74
|
-
* `"multiple"` allows any number of selections,
|
|
75
|
-
*
|
|
76
|
-
* `"single"` allows only one selection,
|
|
77
|
-
*
|
|
78
|
-
* `"single-persist"` allows one selection and prevents de-selection, and
|
|
82
|
+
* Specifies the selection mode of the component.
|
|
79
83
|
*
|
|
80
|
-
* `"
|
|
84
|
+
* - `"multiple"` allows any number of selections.
|
|
85
|
+
* - `"single"` allows only one selection.
|
|
86
|
+
* - `"single-persist"` allows one selection and prevents de-selection.
|
|
87
|
+
* - `"none"` disables selection (default).
|
|
81
88
|
*
|
|
82
89
|
* @default "none"
|
|
83
90
|
*/
|
|
@@ -102,9 +109,12 @@ export abstract class ActionGroup extends LitElement {
|
|
|
102
109
|
readonly calciteActionGroupCollapse: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
103
110
|
/** Fires when the component's content area is expanded. */
|
|
104
111
|
readonly calciteActionGroupExpand: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
112
|
+
/** Fires after the component's slotted `calcite-action`s change. */
|
|
113
|
+
readonly calciteInternalActionGroupActionsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
105
114
|
readonly "@eventTypes": {
|
|
106
115
|
calciteActionGroupChange: ActionGroup["calciteActionGroupChange"]["detail"];
|
|
107
116
|
calciteActionGroupCollapse: ActionGroup["calciteActionGroupCollapse"]["detail"];
|
|
108
117
|
calciteActionGroupExpand: ActionGroup["calciteActionGroupExpand"]["detail"];
|
|
118
|
+
calciteInternalActionGroupActionsChange: ActionGroup["calciteInternalActionGroupActionsChange"]["detail"];
|
|
109
119
|
};
|
|
110
120
|
}
|
|
@@ -2,28 +2,22 @@
|
|
|
2
2
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
6
|
-
import { S as SLOTS } from "../../chunks/
|
|
7
|
-
import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
5
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
+
import { S as SLOTS } from "../../chunks/resources3.js";
|
|
7
|
+
import { b as getSlotAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
8
8
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
9
9
|
import { i as isAction } from "../../chunks/resources.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
|
-
import { I as ICONS, S as SLOTS$1, C as CSS } from "../../chunks/
|
|
11
|
+
import { I as ICONS, S as SLOTS$1, C as CSS } from "../../chunks/resources2.js";
|
|
12
12
|
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-group-gap: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm-plus)}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0;gap:var(--calcite-internal-action-group-gap)}.container{display:flex;flex-grow:1;flex-direction:column;gap:inherit}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;gap:var(--calcite-action-group-gap, var(--calcite-internal-action-group-gap));grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
13
|
-
var __defProp = Object.defineProperty;
|
|
14
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
15
|
-
var result = void 0;
|
|
16
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
17
|
-
if (decorator = decorators[i])
|
|
18
|
-
result = decorator(target, key, result) || result;
|
|
19
|
-
if (result) __defProp(target, key, result);
|
|
20
|
-
return result;
|
|
21
|
-
};
|
|
22
13
|
class ActionGroup extends LitElement {
|
|
23
14
|
constructor() {
|
|
24
15
|
super();
|
|
25
16
|
this.messages = useT9n();
|
|
17
|
+
this._actions = [];
|
|
26
18
|
this.focusSetter = useSetFocus()(this);
|
|
19
|
+
this.defaultSlotRef = createRef();
|
|
20
|
+
this.menuActionsSlotRef = createRef();
|
|
27
21
|
this.hasMenuActions = false;
|
|
28
22
|
this.expanded = false;
|
|
29
23
|
this.layout = "vertical";
|
|
@@ -37,10 +31,11 @@ class ActionGroup extends LitElement {
|
|
|
37
31
|
this.calciteActionGroupCollapse = createEvent({ cancelable: false });
|
|
38
32
|
this.calciteActionGroupExpand = createEvent({ cancelable: false });
|
|
39
33
|
this.calciteActionGroupChange = createEvent({ cancelable: false });
|
|
34
|
+
this.calciteInternalActionGroupActionsChange = createEvent({ cancelable: false });
|
|
40
35
|
this.listen("click", this.handleActionClick);
|
|
41
36
|
}
|
|
42
37
|
static {
|
|
43
|
-
this.properties = { hasMenuActions: [16, {}, { state: true }], columns: [11, {}, { type: Number, reflect: true }], expanded: [7, {}, { reflect: true, type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], selectedActions: [0, {}, { attribute: false }] };
|
|
38
|
+
this.properties = { hasMenuActions: [16, {}, { state: true }], columns: [11, {}, { type: Number, reflect: true }], expanded: [7, {}, { reflect: true, type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], actions: [32, {}, { attribute: false, readOnly: true }], selectedActions: [0, {}, { attribute: false }] };
|
|
44
39
|
}
|
|
45
40
|
static {
|
|
46
41
|
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
@@ -48,23 +43,15 @@ class ActionGroup extends LitElement {
|
|
|
48
43
|
static {
|
|
49
44
|
this.styles = styles;
|
|
50
45
|
}
|
|
46
|
+
get actions() {
|
|
47
|
+
return this._actions;
|
|
48
|
+
}
|
|
51
49
|
async setFocus(options) {
|
|
52
50
|
return this.focusSetter(() => this.el, options);
|
|
53
51
|
}
|
|
54
52
|
willUpdate(changes) {
|
|
55
53
|
if (this.hasUpdated || changes.has("selectionMode")) {
|
|
56
|
-
|
|
57
|
-
this.setRoleOnActions();
|
|
58
|
-
} else if (this.selectionMode === "none") {
|
|
59
|
-
this.clearActionAriaAttributes();
|
|
60
|
-
}
|
|
61
|
-
if (this.selectionMode === "single" || this.selectionMode === "single-persist") {
|
|
62
|
-
const selected = this.actions?.filter((action) => action.active) ?? [];
|
|
63
|
-
if (selected.length > 1) {
|
|
64
|
-
this.actions.forEach((action) => this.updateAction(action, action === selected[selected.length - 1]));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
this.updateSelectedActions(this.selectionMode === "none" ? [] : this.actions?.filter((action) => action.active) ?? []);
|
|
54
|
+
this.syncSelectionState();
|
|
68
55
|
}
|
|
69
56
|
if (changes.has("expanded")) {
|
|
70
57
|
if (this.hasUpdated || this.expanded !== false) {
|
|
@@ -80,34 +67,60 @@ class ActionGroup extends LitElement {
|
|
|
80
67
|
}
|
|
81
68
|
}
|
|
82
69
|
setActiveAction(index, active) {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
70
|
+
const nextActive = !active.active;
|
|
71
|
+
switch (this.selectionMode) {
|
|
72
|
+
case "multiple":
|
|
73
|
+
this.updateAction(active, nextActive);
|
|
74
|
+
break;
|
|
75
|
+
case "single":
|
|
76
|
+
this.actions.forEach((action, i) => this.updateAction(action, i === index && nextActive));
|
|
77
|
+
break;
|
|
78
|
+
case "single-persist":
|
|
79
|
+
if (!this.actions[index].active) {
|
|
80
|
+
this.actions.forEach((action, i) => this.updateAction(action, i === index));
|
|
81
|
+
this.updateSelectedActions([active]);
|
|
82
|
+
this.calciteActionGroupChange.emit();
|
|
83
|
+
}
|
|
84
|
+
return;
|
|
85
|
+
default:
|
|
86
|
+
return;
|
|
89
87
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
this.updateSelectedActions(this.actions.filter((action) => action.active));
|
|
89
|
+
this.calciteActionGroupChange.emit();
|
|
90
|
+
}
|
|
91
|
+
setMenuOpen(event) {
|
|
92
|
+
this.menuOpen = !!event.currentTarget.open;
|
|
93
|
+
}
|
|
94
|
+
syncSelectionState() {
|
|
95
|
+
if (this.selectionMode !== "none") {
|
|
96
|
+
this.setRoleOnActions();
|
|
97
|
+
} else {
|
|
98
|
+
this.clearActionAriaAttributes();
|
|
96
99
|
}
|
|
97
|
-
if (this.selectionMode === "single-persist") {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
this.
|
|
101
|
-
this.calciteActionGroupChange.emit();
|
|
100
|
+
if (this.selectionMode === "single" || this.selectionMode === "single-persist") {
|
|
101
|
+
const selected = this.actions.filter((action) => action.active);
|
|
102
|
+
if (selected.length > 1) {
|
|
103
|
+
this.actions.forEach((action) => this.updateAction(action, action === selected.at(-1)));
|
|
102
104
|
}
|
|
103
|
-
return;
|
|
104
105
|
}
|
|
106
|
+
this.updateSelectedActions(this.selectionMode === "none" ? [] : this.actions.filter((action) => action.active));
|
|
105
107
|
}
|
|
106
|
-
|
|
107
|
-
this.
|
|
108
|
+
syncActions() {
|
|
109
|
+
const defaultActions = this.defaultSlotRef.value ? getSlotAssignedElements(this.defaultSlotRef.value, "calcite-action") : [];
|
|
110
|
+
const menuActions = this.menuActionsSlotRef.value ? getSlotAssignedElements(this.menuActionsSlotRef.value, "calcite-action") : [];
|
|
111
|
+
this._actions = [...defaultActions, ...menuActions];
|
|
112
|
+
this.syncSelectionState();
|
|
113
|
+
}
|
|
114
|
+
syncActionsAndEmitChange() {
|
|
115
|
+
this.syncActions();
|
|
116
|
+
this.calciteInternalActionGroupActionsChange.emit();
|
|
117
|
+
}
|
|
118
|
+
handleDefaultSlotChange() {
|
|
119
|
+
this.syncActionsAndEmitChange();
|
|
108
120
|
}
|
|
109
121
|
handleMenuActionsSlotChange(event) {
|
|
110
122
|
this.hasMenuActions = slotChangeHasAssignedElement(event);
|
|
123
|
+
this.syncActionsAndEmitChange();
|
|
111
124
|
}
|
|
112
125
|
handleActionClick(event) {
|
|
113
126
|
const target = event.composedPath().find((element) => isAction(element));
|
|
@@ -162,15 +175,12 @@ class ActionGroup extends LitElement {
|
|
|
162
175
|
}
|
|
163
176
|
renderMenu() {
|
|
164
177
|
const { expanded, menuOpen, scale, layout, messages, overlayPositioning, hasMenuActions, menuFlipPlacements, menuPlacement } = this;
|
|
165
|
-
return html`<calcite-action-menu .expanded=${expanded} .flipPlacements=${menuFlipPlacements ?? (layout === "horizontal" ? ["top", "bottom"] : ["left", "right"])} .hidden=${!hasMenuActions} .label=${messages.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${menuOpen} .overlayPositioning=${overlayPositioning} .placement=${menuPlacement ?? (layout === "horizontal" ? "bottom-start" : "leading-start")} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled}><calcite-action .aria=${{ expanded }} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS.trigger} .text=${messages.more} .textEnabled=${expanded}></calcite-action><slot name=${SLOTS$1.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${SLOTS$1.menuTooltip} slot=${SLOTS.tooltip}></slot></calcite-action-menu>`;
|
|
178
|
+
return html`<calcite-action-menu .expanded=${expanded} .flipPlacements=${menuFlipPlacements ?? (layout === "horizontal" ? ["top", "bottom"] : ["left", "right"])} .hidden=${!hasMenuActions} .label=${messages.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${menuOpen} .overlayPositioning=${overlayPositioning} .placement=${menuPlacement ?? (layout === "horizontal" ? "bottom-start" : "leading-start")} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled}><calcite-action .aria=${{ expanded }} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS.trigger} .text=${messages.more} .textEnabled=${expanded}></calcite-action><slot name=${SLOTS$1.menuActions} @slotchange=${this.handleMenuActionsSlotChange} ${ref(this.menuActionsSlotRef)}></slot><slot name=${SLOTS$1.menuTooltip} slot=${SLOTS.tooltip}></slot></calcite-action-menu>`;
|
|
166
179
|
}
|
|
167
180
|
render() {
|
|
168
|
-
return html`<div .ariaLabel=${this.label} class=${safeClassMap(CSS.container)} .role=${this.selectionMode === "multiple" || this.selectionMode === "none" ? "group" : "radiogroup"}><slot></slot>${this.renderMenu()}</div>`;
|
|
181
|
+
return html`<div .ariaLabel=${this.label} class=${safeClassMap(CSS.container)} .role=${this.selectionMode === "multiple" || this.selectionMode === "none" ? "group" : "radiogroup"}><slot @slotchange=${this.handleDefaultSlotChange} ${ref(this.defaultSlotRef)}></slot>${this.renderMenu()}</div>`;
|
|
169
182
|
}
|
|
170
183
|
}
|
|
171
|
-
__decorateClass([
|
|
172
|
-
queryAssignedElements({ selector: "calcite-action" })
|
|
173
|
-
], ActionGroup.prototype, "actions");
|
|
174
184
|
customElement("calcite-action-group", ActionGroup);
|
|
175
185
|
export {
|
|
176
186
|
ActionGroup
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
|
|
4
4
|
import type { Appearance, Scale } from "../interfaces.js";
|
|
5
|
+
import type { Action } from "../calcite-action/customElement.js";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @cssproperty [--calcite-action-menu-items-space] - Specifies the space between actions in the menu.
|
|
@@ -10,6 +11,12 @@ import type { Appearance, Scale } from "../interfaces.js";
|
|
|
10
11
|
* @slot [tooltip] - A slot for adding a tooltip for the menu.
|
|
11
12
|
*/
|
|
12
13
|
export abstract class ActionMenu extends LitElement {
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the `calcite-action`s in the menu.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
get actions(): Action[];
|
|
13
20
|
/**
|
|
14
21
|
* Specifies the appearance of the component.
|
|
15
22
|
*
|
|
@@ -23,7 +30,7 @@ export abstract class ActionMenu extends LitElement {
|
|
|
23
30
|
*/
|
|
24
31
|
accessor expanded: boolean;
|
|
25
32
|
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
26
|
-
accessor flipPlacements: FlipPlacement[];
|
|
33
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
27
34
|
/**
|
|
28
35
|
* Specifies an accessible label for the component.
|
|
29
36
|
*
|
|
@@ -37,11 +44,11 @@ export abstract class ActionMenu extends LitElement {
|
|
|
37
44
|
*/
|
|
38
45
|
accessor open: boolean;
|
|
39
46
|
/**
|
|
40
|
-
* Specifies the type of positioning to use for overlaid content
|
|
47
|
+
* Specifies the type of positioning to use for overlaid content.
|
|
41
48
|
*
|
|
42
|
-
* `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout
|
|
49
|
+
* - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
|
|
43
50
|
*
|
|
44
|
-
* `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
51
|
+
* - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
45
52
|
*
|
|
46
53
|
* @default "absolute"
|
|
47
54
|
*/
|
|
@@ -78,9 +85,12 @@ export abstract class ActionMenu extends LitElement {
|
|
|
78
85
|
readonly calciteActionMenuExpand: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
79
86
|
/** Fires when the `open` property is toggled. */
|
|
80
87
|
readonly calciteActionMenuOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
88
|
+
/** Fires after the component's slotted `calcite-action`s change. */
|
|
89
|
+
readonly calciteInternalActionMenuActionsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
81
90
|
readonly "@eventTypes": {
|
|
82
91
|
calciteActionMenuCollapse: ActionMenu["calciteActionMenuCollapse"]["detail"];
|
|
83
92
|
calciteActionMenuExpand: ActionMenu["calciteActionMenuExpand"]["detail"];
|
|
84
93
|
calciteActionMenuOpen: ActionMenu["calciteActionMenuOpen"]["detail"];
|
|
94
|
+
calciteInternalActionMenuActionsChange: ActionMenu["calciteInternalActionMenuActionsChange"]["detail"];
|
|
85
95
|
};
|
|
86
96
|
}
|
|
@@ -1,30 +1,35 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { ref } from "lit/directives/ref.js";
|
|
4
3
|
import { css, html, nothing } from "lit";
|
|
5
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { g as getRoundRobinIndex } from "../../chunks/array.js";
|
|
7
7
|
import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
8
|
+
import { b as getSlotAssignedElements } from "../../chunks/dom.js";
|
|
8
9
|
import { g as guid } from "../../chunks/guid.js";
|
|
9
10
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
10
11
|
import { i as isAction } from "../../chunks/resources.js";
|
|
12
|
+
import { i as isActionGroup } from "../../chunks/resources2.js";
|
|
11
13
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
|
-
import { I as IDS,
|
|
14
|
+
import { I as IDS, C as CSS, S as SLOTS, a as ICONS } from "../../chunks/resources3.js";
|
|
13
15
|
const styles = css`:host([scale=s]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-menu-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm-plus));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm-plus)}:host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-relative-lg)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);padding-block-end:var(--calcite-internal-action-menu-padding)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-internal-action-menu-gap);padding:var(--calcite-internal-action-menu-padding)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
14
16
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
15
17
|
class ActionMenu extends LitElement {
|
|
16
18
|
constructor() {
|
|
17
|
-
super(
|
|
19
|
+
super();
|
|
18
20
|
this.guid = guid();
|
|
19
|
-
this.
|
|
21
|
+
this._actions = [];
|
|
22
|
+
this.navigableActions = [];
|
|
23
|
+
this.defaultSlotRef = createRef();
|
|
24
|
+
this.triggerSlotRef = createRef();
|
|
20
25
|
this.menuButtonClick = () => {
|
|
21
26
|
this.toggleOpen();
|
|
22
27
|
};
|
|
23
28
|
this.menuButtonId = IDS.button(this.guid);
|
|
24
29
|
this.menuButtonKeyDown = (event) => {
|
|
25
30
|
const { key } = event;
|
|
26
|
-
const {
|
|
27
|
-
if (!
|
|
31
|
+
const { activeMenuItemIndex, navigableActions, open } = this;
|
|
32
|
+
if (!navigableActions.length) {
|
|
28
33
|
return;
|
|
29
34
|
}
|
|
30
35
|
if (isActivationKey(key)) {
|
|
@@ -33,7 +38,7 @@ class ActionMenu extends LitElement {
|
|
|
33
38
|
this.toggleOpen();
|
|
34
39
|
return;
|
|
35
40
|
}
|
|
36
|
-
const action =
|
|
41
|
+
const action = navigableActions[activeMenuItemIndex];
|
|
37
42
|
if (action) {
|
|
38
43
|
action.click();
|
|
39
44
|
} else {
|
|
@@ -49,7 +54,7 @@ class ActionMenu extends LitElement {
|
|
|
49
54
|
event.preventDefault();
|
|
50
55
|
return;
|
|
51
56
|
}
|
|
52
|
-
this.handleActionNavigation(event, key,
|
|
57
|
+
this.handleActionNavigation(event, key, navigableActions);
|
|
53
58
|
};
|
|
54
59
|
this.menuId = IDS.menu(this.guid);
|
|
55
60
|
this._open = false;
|
|
@@ -68,7 +73,7 @@ class ActionMenu extends LitElement {
|
|
|
68
73
|
if (!event.composedPath().some(isAction)) {
|
|
69
74
|
return;
|
|
70
75
|
}
|
|
71
|
-
this.activeMenuItemIndex = this.
|
|
76
|
+
this.activeMenuItemIndex = this.navigableActions.findIndex((action) => action === event.target);
|
|
72
77
|
};
|
|
73
78
|
this.activeMenuItemIndex = -1;
|
|
74
79
|
this.appearance = "solid";
|
|
@@ -80,9 +85,11 @@ class ActionMenu extends LitElement {
|
|
|
80
85
|
this.calciteActionMenuCollapse = createEvent({ cancelable: false });
|
|
81
86
|
this.calciteActionMenuExpand = createEvent({ cancelable: false });
|
|
82
87
|
this.calciteActionMenuOpen = createEvent({ cancelable: false });
|
|
88
|
+
this.calciteInternalActionMenuActionsChange = createEvent({ cancelable: false });
|
|
89
|
+
this.listen("calciteInternalActionGroupActionsChange", this.handleActionGroupActionsChange);
|
|
83
90
|
}
|
|
84
91
|
static {
|
|
85
|
-
this.properties = { activeMenuItemIndex: [16, {}, { state: true }], menuButtonEl: [16, {}, { state: true }], appearance: [3, {}, { reflect: true }], expanded: [7, {}, { reflect: true, type: Boolean }], flipPlacements: [0, {}, { attribute: false }], label: 1, open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }] };
|
|
92
|
+
this.properties = { activeMenuItemIndex: [16, {}, { state: true }], menuButtonEl: [16, {}, { state: true }], appearance: [3, {}, { reflect: true }], expanded: [7, {}, { reflect: true, type: Boolean }], flipPlacements: [0, {}, { attribute: false }], label: 1, open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], actions: [32, {}, { attribute: false, readOnly: true }] };
|
|
86
93
|
}
|
|
87
94
|
static {
|
|
88
95
|
this.styles = styles;
|
|
@@ -97,6 +104,9 @@ class ActionMenu extends LitElement {
|
|
|
97
104
|
this.openHandler(open);
|
|
98
105
|
}
|
|
99
106
|
}
|
|
107
|
+
get actions() {
|
|
108
|
+
return this._actions;
|
|
109
|
+
}
|
|
100
110
|
async setFocus(options) {
|
|
101
111
|
return this.focusSetter(() => this.menuButtonEl, options);
|
|
102
112
|
}
|
|
@@ -110,7 +120,7 @@ class ActionMenu extends LitElement {
|
|
|
110
120
|
this.expandedHandler();
|
|
111
121
|
}
|
|
112
122
|
if (changes.has("activeMenuItemIndex") && (this.hasUpdated || this.activeMenuItemIndex !== -1)) {
|
|
113
|
-
this.updateActions(this.
|
|
123
|
+
this.updateActions(this.navigableActions);
|
|
114
124
|
}
|
|
115
125
|
if (changes.has("expanded") && this.hasUpdated) {
|
|
116
126
|
if (this.expanded) {
|
|
@@ -177,15 +187,51 @@ class ActionMenu extends LitElement {
|
|
|
177
187
|
}
|
|
178
188
|
menuButtonEl.removeEventListener("click", this.menuButtonClick);
|
|
179
189
|
menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
|
|
180
|
-
this.menuButtonEl =
|
|
190
|
+
this.menuButtonEl = void 0;
|
|
181
191
|
}
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
this.
|
|
192
|
+
syncActions() {
|
|
193
|
+
const triggerSlot = this.triggerSlotRef.value;
|
|
194
|
+
const triggerActions = triggerSlot ? getSlotAssignedElements(triggerSlot, "calcite-action").filter((action) => !action.classList.contains(CSS.defaultTrigger)) : [];
|
|
195
|
+
const triggerActionsSet = new Set(triggerActions);
|
|
196
|
+
const defaultActions = this.defaultSlotRef.value ? getSlotAssignedElements(this.defaultSlotRef.value).flatMap((element) => {
|
|
197
|
+
if (isAction(element)) {
|
|
198
|
+
return element;
|
|
199
|
+
}
|
|
200
|
+
if (isActionGroup(element)) {
|
|
201
|
+
return element.actions;
|
|
202
|
+
}
|
|
203
|
+
return [];
|
|
204
|
+
}) : [];
|
|
205
|
+
const dedupedActions = [];
|
|
206
|
+
const seenActions = /* @__PURE__ */ new Set();
|
|
207
|
+
[...triggerActions, ...defaultActions].forEach((action) => {
|
|
208
|
+
if (seenActions.has(action)) {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
seenActions.add(action);
|
|
212
|
+
dedupedActions.push(action);
|
|
213
|
+
});
|
|
214
|
+
this._actions = dedupedActions;
|
|
215
|
+
this.navigableActions = dedupedActions.filter((action) => !triggerActionsSet.has(action) && !action.disabled && !action.hidden);
|
|
216
|
+
if (!this.open || !this.navigableActions.length) {
|
|
217
|
+
this.activeMenuItemIndex = -1;
|
|
218
|
+
} else if (this.activeMenuItemIndex < 0 || this.activeMenuItemIndex >= this.navigableActions.length) {
|
|
219
|
+
this.activeMenuItemIndex = 0;
|
|
220
|
+
}
|
|
221
|
+
this.updateActions(this.navigableActions);
|
|
222
|
+
}
|
|
223
|
+
setMenuButtonEl() {
|
|
224
|
+
this.slottedMenuButtonEl = this.triggerSlotRef.value ? getSlotAssignedElements(this.triggerSlotRef.value, "calcite-action")[0] : void 0;
|
|
187
225
|
this.connectMenuButtonEl();
|
|
188
226
|
}
|
|
227
|
+
syncActionsAndEmitChange() {
|
|
228
|
+
this.syncActions();
|
|
229
|
+
this.calciteInternalActionMenuActionsChange.emit();
|
|
230
|
+
}
|
|
231
|
+
handleTriggerSlotChange() {
|
|
232
|
+
this.setMenuButtonEl();
|
|
233
|
+
this.syncActionsAndEmitChange();
|
|
234
|
+
}
|
|
189
235
|
setDefaultMenuButtonEl(el) {
|
|
190
236
|
this.defaultMenuButtonEl = el;
|
|
191
237
|
this.connectMenuButtonEl();
|
|
@@ -198,7 +244,7 @@ class ActionMenu extends LitElement {
|
|
|
198
244
|
el.open = this.open;
|
|
199
245
|
}
|
|
200
246
|
handleCalciteActionClick(event) {
|
|
201
|
-
if (this.
|
|
247
|
+
if (this.navigableActions.some((action) => event.composedPath().includes(action))) {
|
|
202
248
|
this.open = false;
|
|
203
249
|
this.setFocus();
|
|
204
250
|
}
|
|
@@ -213,27 +259,23 @@ class ActionMenu extends LitElement {
|
|
|
213
259
|
setTooltipReferenceElement() {
|
|
214
260
|
const { tooltipEl, expanded, menuButtonEl, open } = this;
|
|
215
261
|
if (tooltipEl) {
|
|
216
|
-
tooltipEl.referenceElement = !expanded && !open ? menuButtonEl :
|
|
262
|
+
tooltipEl.referenceElement = !expanded && !open ? menuButtonEl : void 0;
|
|
217
263
|
}
|
|
218
264
|
}
|
|
219
265
|
updateActions(actions) {
|
|
220
|
-
actions
|
|
266
|
+
actions.forEach(this.updateAction);
|
|
221
267
|
}
|
|
222
|
-
async handleDefaultSlotChange(
|
|
223
|
-
const actions = event.target.assignedElements({
|
|
224
|
-
flatten: true
|
|
225
|
-
}).reduce((previousValue, currentValue) => {
|
|
226
|
-
if (currentValue?.matches("calcite-action")) {
|
|
227
|
-
previousValue.push(currentValue);
|
|
228
|
-
return previousValue;
|
|
229
|
-
}
|
|
230
|
-
if (currentValue?.matches("calcite-action-group")) {
|
|
231
|
-
return previousValue.concat(Array.from(currentValue.querySelectorAll("calcite-action")));
|
|
232
|
-
}
|
|
233
|
-
return previousValue;
|
|
234
|
-
}, []);
|
|
268
|
+
async handleDefaultSlotChange() {
|
|
235
269
|
await this.componentOnReady();
|
|
236
|
-
this.
|
|
270
|
+
this.syncActionsAndEmitChange();
|
|
271
|
+
}
|
|
272
|
+
handleActionGroupActionsChange(event) {
|
|
273
|
+
const group = event.target;
|
|
274
|
+
const slottedActionGroups = this.defaultSlotRef.value ? getSlotAssignedElements(this.defaultSlotRef.value).filter((element) => isActionGroup(element)) : [];
|
|
275
|
+
if (!slottedActionGroups.includes(group)) {
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
this.syncActionsAndEmitChange();
|
|
237
279
|
}
|
|
238
280
|
isValidKey(key, supportedKeys) {
|
|
239
281
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -281,14 +323,14 @@ class ActionMenu extends LitElement {
|
|
|
281
323
|
}
|
|
282
324
|
renderMenuButton() {
|
|
283
325
|
const { appearance, label, scale, expanded } = this;
|
|
284
|
-
const menuButtonSlot = html`<slot name=${SLOTS.trigger} @slotchange=${this.
|
|
326
|
+
const menuButtonSlot = html`<slot name=${SLOTS.trigger} @slotchange=${this.handleTriggerSlotChange} ${ref(this.triggerSlotRef)}><calcite-action .appearance=${appearance} .aria=${{ expanded }} class=${safeClassMap(CSS.defaultTrigger)} .icon=${ICONS.menu} .scale=${scale} .text=${label} .textEnabled=${expanded} ${ref(this.setDefaultMenuButtonEl)}></calcite-action></slot>`;
|
|
285
327
|
return menuButtonSlot;
|
|
286
328
|
}
|
|
287
329
|
renderMenuItems() {
|
|
288
|
-
const {
|
|
289
|
-
const activeAction =
|
|
330
|
+
const { navigableActions, activeMenuItemIndex, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
331
|
+
const activeAction = navigableActions[activeMenuItemIndex];
|
|
290
332
|
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>`;
|
|
333
|
+
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} ${ref(this.defaultSlotRef)}></slot></div></calcite-popover>`;
|
|
292
334
|
}
|
|
293
335
|
render() {
|
|
294
336
|
return html`${this.renderMenuButton()}${this.renderMenuItems()}<slot name=${SLOTS.tooltip} @slotchange=${this.updateTooltip}></slot>`;
|
|
@@ -32,19 +32,23 @@ export abstract class ActionPad extends LitElement {
|
|
|
32
32
|
* @default "vertical"
|
|
33
33
|
*/
|
|
34
34
|
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
35
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Replace localized message strings with your own strings.
|
|
37
|
+
*
|
|
38
|
+
* _**Note**: Individual message keys may change between releases._
|
|
39
|
+
*/
|
|
36
40
|
accessor messageOverrides: {
|
|
37
|
-
expand?: string;
|
|
38
|
-
collapse?: string;
|
|
39
|
-
expandLabel?: string;
|
|
40
|
-
collapseLabel?: string;
|
|
41
|
+
expand?: string | undefined;
|
|
42
|
+
collapse?: string | undefined;
|
|
43
|
+
expandLabel?: string | undefined;
|
|
44
|
+
collapseLabel?: string | undefined;
|
|
41
45
|
};
|
|
42
46
|
/**
|
|
43
|
-
* Specifies the type of positioning to use for overlaid content
|
|
47
|
+
* Specifies the type of positioning to use for overlaid content.
|
|
44
48
|
*
|
|
45
|
-
* `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout
|
|
49
|
+
* - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
|
|
46
50
|
*
|
|
47
|
-
* `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
51
|
+
* - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
48
52
|
*
|
|
49
53
|
* @default "absolute"
|
|
50
54
|
*/
|
|
@@ -4,7 +4,7 @@ import { css, html } from "lit";
|
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
6
|
import { a as slotChangeGetAssignedElements, f as focusElementInGroup } from "../../chunks/dom.js";
|
|
7
|
-
import {
|
|
7
|
+
import { l as legacyToggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
8
8
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
10
|
import { i as isAction } from "../../chunks/resources.js";
|
|
@@ -69,7 +69,7 @@ class ActionPad extends LitElement {
|
|
|
69
69
|
}
|
|
70
70
|
willUpdate(changes) {
|
|
71
71
|
if (changes.has("expanded") && this.hasUpdated) {
|
|
72
|
-
|
|
72
|
+
legacyToggleChildActionText({ el: this.el, expanded: this.expanded });
|
|
73
73
|
}
|
|
74
74
|
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
75
75
|
this.updateGroups();
|
|
@@ -56,8 +56,12 @@ export abstract class Alert extends LitElement {
|
|
|
56
56
|
* @required
|
|
57
57
|
*/
|
|
58
58
|
accessor label: string;
|
|
59
|
-
/**
|
|
60
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Replace localized message strings with your own strings.
|
|
61
|
+
*
|
|
62
|
+
* _**Note**: Individual message keys may change between releases._
|
|
63
|
+
*/
|
|
64
|
+
accessor messageOverrides: { close?: string | undefined; };
|
|
61
65
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
62
66
|
accessor numberingSystem: NumberingSystem | undefined;
|
|
63
67
|
/**
|
|
@@ -4,7 +4,7 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
|
-
import { s as slotChangeHasAssignedElement,
|
|
7
|
+
import { s as slotChangeHasAssignedElement, d as setRequestedIcon } from "../../chunks/dom.js";
|
|
8
8
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
9
9
|
import { N as NumberStringFormat } from "../../chunks/locale.js";
|
|
10
10
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
@@ -129,7 +129,7 @@ class Alert extends LitElement {
|
|
|
129
129
|
this.calciteAlertOpen = createEvent({ cancelable: false });
|
|
130
130
|
}
|
|
131
131
|
static {
|
|
132
|
-
this.properties = { hasEndActions: [16, {}, { state: true }], isFocused: [16, {}, { state: true }], numberStringFormatter: [16, {}, { state: true }], active: [5, {}, { type: Boolean }], autoClose: [7, {}, { reflect: true, type: Boolean }], autoCloseDuration: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean
|
|
132
|
+
this.properties = { hasEndActions: [16, {}, { state: true }], isFocused: [16, {}, { state: true }], numberStringFormatter: [16, {}, { state: true }], active: [5, {}, { type: Boolean }], autoClose: [7, {}, { reflect: true, type: Boolean }], autoCloseDuration: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], kind: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], numberingSystem: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], openAlertCount: [9, {}, { type: Number }], placement: [3, {}, { reflect: true }], queue: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
133
133
|
}
|
|
134
134
|
static {
|
|
135
135
|
this.styles = styles;
|