@esri/calcite-components 5.2.0-next.5 → 5.2.0-next.51
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/27YYIR6K.js +2 -0
- package/dist/cdn/2HDRYG3M.js +2 -0
- package/dist/cdn/2KVSVGPZ.js +2 -0
- package/dist/cdn/2MDR3YPU.js +2 -0
- package/dist/cdn/2TEBIGRG.js +2 -0
- package/dist/cdn/2XRXW5WJ.js +2 -0
- package/dist/cdn/2Y7HJHVP.js +2 -0
- package/dist/cdn/33XIUBFW.js +4 -0
- package/dist/cdn/{3L4DDI45.js → 3HRK4SIW.js} +1 -1
- package/dist/cdn/{NN2IHPEX.js → 43M7T45H.js} +1 -1
- package/dist/cdn/4NTWEC4C.js +2 -0
- package/dist/cdn/4TO23BV4.js +2 -0
- package/dist/cdn/4XBQEF7L.js +2 -0
- package/dist/cdn/{M5TS7WI7.js → 4YQPK6ES.js} +1 -1
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/5J66CX7P.js +2 -0
- package/dist/cdn/5MDO2B37.js +2 -0
- package/dist/cdn/5QLQZ3FN.js +2 -0
- package/dist/cdn/{F4ZYZO6J.js → 5RNPDMF2.js} +1 -1
- package/dist/cdn/5WM2I45W.js +2 -0
- package/dist/cdn/{HZVGGFHL.js → 64YMJBZZ.js} +1 -1
- package/dist/cdn/66YMIVMC.js +2 -0
- package/dist/cdn/6EXKM2ML.js +2 -0
- package/dist/cdn/6HO77J6T.js +2 -0
- package/dist/cdn/73XTMYB6.js +2 -0
- package/dist/cdn/76KVX4B7.js +2 -0
- package/dist/cdn/76ZYXGRY.js +2 -0
- package/dist/cdn/7KM6PEAO.js +2 -0
- package/dist/cdn/7UFHHDWQ.js +2 -0
- package/dist/cdn/7XE2BKKY.js +2 -0
- package/dist/cdn/APLOAUMO.js +2 -0
- package/dist/cdn/{MPZEO75L.js → ATO5HGZN.js} +1 -1
- package/dist/cdn/AVPK5VBD.js +2 -0
- package/dist/cdn/{HB6ZWNJ6.js → B2TNIEW3.js} +1 -1
- package/dist/cdn/B5DXUTFL.js +2 -0
- package/dist/cdn/{PLP76FWF.js → BAUPYISA.js} +1 -1
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{QGJHYPKZ.js → BQ27S7LT.js} +1 -1
- package/dist/cdn/BWM5XLRY.js +2 -0
- package/dist/cdn/CC5SFMPC.js +2 -0
- package/dist/cdn/CKA4MFHD.js +2 -0
- package/dist/cdn/CKSU2JN7.js +20 -0
- package/dist/cdn/CSKT2575.js +2 -0
- package/dist/cdn/DACOJMJV.js +2 -0
- package/dist/cdn/DEM6WWUS.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DMK27J6W.js +2 -0
- package/dist/cdn/{YPPRNINV.js → DRKLOFZZ.js} +1 -1
- package/dist/cdn/DSF3U5QO.js +2 -0
- package/dist/cdn/E4RJ4R3X.js +2 -0
- package/dist/cdn/ECLI2KIJ.js +2 -0
- package/dist/cdn/EF36O6P6.js +2 -0
- package/dist/cdn/EOSQONY2.js +2 -0
- package/dist/cdn/FNZSFQYE.js +2 -0
- package/dist/cdn/FVPB7L5J.js +2 -0
- package/dist/cdn/{HHE6MZFG.js → G5PZE3RW.js} +1 -1
- package/dist/cdn/GH3XYO4N.js +2 -0
- package/dist/cdn/GKYUUELE.js +4 -0
- package/dist/cdn/{MMDRAXBD.js → H7QC5AY6.js} +1 -1
- package/dist/cdn/HNXICR4F.js +2 -0
- package/dist/cdn/HOS7YXPP.js +2 -0
- package/dist/cdn/HRSIX6SO.js +2 -0
- package/dist/cdn/{QDVQOMAF.js → HSO4KPOQ.js} +1 -1
- package/dist/cdn/HVNUBXM5.js +2 -0
- package/dist/cdn/HZPKL6NY.js +3 -0
- package/dist/cdn/IE5G6O52.js +2 -0
- package/dist/cdn/IEIIWDML.js +2 -0
- package/dist/cdn/J65IBMKU.js +2 -0
- package/dist/cdn/JYPFN53C.js +2 -0
- package/dist/cdn/K7NZHQL6.js +2 -0
- package/dist/cdn/{QJ3HRQHV.js → KE25YOWC.js} +1 -1
- package/dist/cdn/KFSZBCPH.js +2 -0
- package/dist/cdn/{7RH2SJQU.js → KHK7J6IE.js} +1 -1
- package/dist/cdn/KIJX4TLZ.js +2 -0
- package/dist/cdn/KLL4S456.js +2 -0
- package/dist/cdn/{KANZL7X4.js → KN6BH5QA.js} +1 -1
- package/dist/cdn/{DNCMORYJ.js → KNTIU7B6.js} +1 -1
- package/dist/cdn/KOPPGROZ.js +2 -0
- package/dist/cdn/KQTLHKRN.js +2 -0
- package/dist/cdn/KULTRKZL.js +2 -0
- package/dist/cdn/L224KCOI.js +2 -0
- package/dist/cdn/{24HIUUSA.js → L5S3O4ZK.js} +1 -1
- package/dist/cdn/LUYJUBP7.js +2 -0
- package/dist/cdn/M75NOFQP.js +2 -0
- package/dist/cdn/M7KP26CY.js +2 -0
- package/dist/cdn/MFDA2OUR.js +2 -0
- package/dist/cdn/MIAPUEU4.js +2 -0
- package/dist/cdn/MJ5ROJA4.js +2 -0
- package/dist/cdn/N7SQSMPQ.js +2 -0
- package/dist/cdn/NAHIFA4F.js +2 -0
- package/dist/cdn/NCUXUMBU.js +2 -0
- package/dist/cdn/NF7NM4EC.js +2 -0
- package/dist/cdn/{MWYYOL2T.js → NK2I57OA.js} +1 -1
- package/dist/cdn/NNRA34VX.js +2 -0
- package/dist/cdn/NRLB6IFE.js +2 -0
- package/dist/cdn/O46NANBE.js +2 -0
- package/dist/cdn/{CDH5LXVD.js → ODRFLVW5.js} +1 -1
- package/dist/cdn/OEREUZGO.js +2 -0
- package/dist/cdn/OGPS3PB3.js +2 -0
- package/dist/cdn/OKN43VP5.js +2 -0
- package/dist/cdn/{QD3AIKVA.js → ORQRAMY3.js} +1 -1
- package/dist/cdn/OXBDGOJD.js +2 -0
- package/dist/cdn/P5QVNOJV.js +2 -0
- package/dist/cdn/P7GRG22F.js +2 -0
- package/dist/cdn/PB3C664M.js +2 -0
- package/dist/cdn/PCBDGQ4J.js +2 -0
- package/dist/cdn/PDC4QPCI.js +2 -0
- package/dist/cdn/PESUGKR3.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/Q6LKF7SP.js +2 -0
- package/dist/cdn/Q7B2QAPN.js +2 -0
- package/dist/cdn/QWHWRQBF.js +2 -0
- package/dist/cdn/R36AFCES.js +2 -0
- package/dist/cdn/RCYEVVYP.js +2 -0
- package/dist/cdn/RJLZ3CSA.js +2 -0
- package/dist/cdn/{SEFQONXQ.js → RRA4RJOO.js} +1 -1
- package/dist/cdn/RROJOJFB.js +2 -0
- package/dist/cdn/RRPA7NB4.js +2 -0
- package/dist/cdn/S6WTOHBZ.js +2 -0
- package/dist/cdn/{WSZT4GBO.js → S7XKI7YU.js} +1 -1
- package/dist/cdn/S7YMS5IN.js +2 -0
- package/dist/cdn/SQGA3UND.js +2 -0
- package/dist/cdn/T3LSROZR.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → TFGN3C6X.js} +1 -1
- package/dist/cdn/THNBYDTL.js +2 -0
- package/dist/cdn/THXSMECI.js +2 -0
- package/dist/cdn/{HJXYIWMX.js → TJG7VOM4.js} +1 -1
- package/dist/cdn/TJLKYFR6.js +2 -0
- package/dist/cdn/TSQHGSFP.js +2 -0
- package/dist/cdn/TXRTWBIB.js +2 -0
- package/dist/cdn/UBSPPXKG.js +2 -0
- package/dist/cdn/UZH6SGJE.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/VOLJFPQE.js +2 -0
- package/dist/cdn/WH6UUJUP.js +2 -0
- package/dist/cdn/WOIATOWA.js +2 -0
- package/dist/cdn/{DWSDEXRF.js → WPMX4RRZ.js} +1 -1
- package/dist/cdn/WVILGTYY.js +2 -0
- package/dist/cdn/{YCNLKQMF.js → WXUNDUA5.js} +1 -1
- package/dist/cdn/X5CTWRF2.js +2 -0
- package/dist/cdn/XBBPDLMI.js +2 -0
- package/dist/cdn/{I4WD7S3Q.js → XBPQ64A6.js} +1 -1
- package/dist/cdn/XFISEQOY.js +2 -0
- package/dist/cdn/{TOBPOAGZ.js → XG567JTC.js} +1 -1
- package/dist/cdn/XIX56OS2.js +2 -0
- package/dist/cdn/{SR455Z6P.js → XMCTANRY.js} +1 -1
- package/dist/cdn/XNLDUIVX.js +2 -0
- package/dist/cdn/XOYDFWCV.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YS7ZE6JF.js +2 -0
- package/dist/cdn/YY4V6ORK.js +2 -0
- package/dist/cdn/YYZW4JB2.js +2 -0
- package/dist/cdn/{KSCSAABI.js → ZAJIXOE6.js} +1 -1
- package/dist/cdn/ZEN5OHWM.js +2 -0
- package/dist/cdn/ZHFVBZK7.js +2 -0
- package/dist/cdn/ZNJ2XDGO.js +2 -0
- package/dist/cdn/ZR3LBIFK.js +2 -0
- package/dist/cdn/ZSAAJ4BI.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/deleteAndReplaceFeatures16.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.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/moveAndRotate16.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate32.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/assets/input-time-zone/t9n/messages.de.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 +28 -360
- package/dist/chunks/floating-ui.js +25 -15
- package/dist/chunks/label.js +1 -140
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/manager.js +8 -7
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources12.js +29 -16
- package/dist/chunks/resources13.js +27 -0
- package/dist/chunks/resources14.js +39 -0
- 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 +3 -2
- package/dist/chunks/runtime.js +55 -8
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/useForm.js +8 -6
- 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 +4 -4
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +3 -3
- package/dist/components/calcite-accordion/customElement.d.ts +6 -7
- package/dist/components/calcite-accordion-item/customElement.d.ts +10 -5
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-action/customElement.d.ts +11 -6
- package/dist/components/calcite-action/customElement.js +28 -12
- package/dist/components/calcite-action-bar/customElement.d.ts +41 -14
- package/dist/components/calcite-action-bar/customElement.js +430 -79
- package/dist/components/calcite-action-group/customElement.d.ts +25 -15
- package/dist/components/calcite-action-group/customElement.js +61 -51
- package/dist/components/calcite-action-menu/customElement.d.ts +15 -5
- package/dist/components/calcite-action-menu/customElement.js +80 -38
- package/dist/components/calcite-action-pad/customElement.d.ts +13 -9
- package/dist/components/calcite-action-pad/customElement.js +4 -5
- package/dist/components/calcite-alert/customElement.d.ts +9 -5
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +13 -9
- package/dist/components/calcite-autocomplete/customElement.js +32 -27
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -2
- package/dist/components/calcite-autocomplete-item/customElement.js +8 -2
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +7 -0
- package/dist/components/calcite-autocomplete-item-group/customElement.js +23 -3
- package/dist/components/calcite-avatar/customElement.d.ts +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +26 -10
- package/dist/components/calcite-block/customElement.js +29 -7
- package/dist/components/calcite-block/index.js +1 -0
- package/dist/components/calcite-block/types.d.ts +1 -0
- package/dist/components/calcite-block-group/customElement.d.ts +16 -4
- package/dist/components/calcite-block-group/customElement.js +40 -3
- package/dist/components/calcite-block-section/customElement.d.ts +14 -10
- package/dist/components/calcite-block-section/customElement.js +3 -4
- package/dist/components/calcite-button/customElement.d.ts +14 -6
- package/dist/components/calcite-button/customElement.js +6 -6
- package/dist/components/calcite-card/customElement.d.ts +8 -4
- package/dist/components/calcite-card/customElement.js +0 -11
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.js +28 -19
- package/dist/components/calcite-carousel/customElement.d.ts +13 -9
- package/dist/components/calcite-carousel/customElement.js +3 -3
- package/dist/components/calcite-checkbox/customElement.d.ts +12 -4
- package/dist/components/calcite-checkbox/customElement.js +4 -10
- package/dist/components/calcite-chip/customElement.d.ts +9 -5
- package/dist/components/calcite-chip/customElement.js +6 -13
- package/dist/components/calcite-chip-group/customElement.d.ts +6 -9
- package/dist/components/calcite-chip-group/customElement.js +22 -19
- package/dist/components/calcite-color-picker/customElement.d.ts +28 -24
- package/dist/components/calcite-color-picker/customElement.js +13 -9
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +40 -37
- package/dist/components/calcite-combobox/customElement.js +21 -21
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
- package/dist/components/calcite-combobox-item/customElement.js +3 -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 +48 -26
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -5
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +16 -11
- package/dist/components/calcite-dialog/customElement.d.ts +30 -26
- package/dist/components/calcite-dialog/customElement.js +7 -8
- package/dist/components/calcite-dropdown/customElement.d.ts +8 -7
- package/dist/components/calcite-dropdown/customElement.js +48 -9
- package/dist/components/calcite-dropdown-group/customElement.d.ts +6 -8
- package/dist/components/calcite-dropdown-group/customElement.js +44 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +9 -9
- package/dist/components/calcite-dropdown-item/customElement.js +4 -4
- package/dist/components/calcite-fab/customElement.d.ts +2 -2
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +8 -4
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/types/index.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +18 -14
- 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 +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.d.ts +13 -9
- package/dist/components/calcite-handle/customElement.js +3 -4
- package/dist/components/calcite-icon/customElement.d.ts +3 -3
- package/dist/components/calcite-icon/customElement.js +3 -5
- package/dist/components/calcite-icon/types.d.ts +16 -0
- package/dist/components/calcite-inline-editable/customElement.d.ts +19 -11
- 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 +45 -10
- package/dist/components/calcite-input/customElement.js +98 -15
- package/dist/components/calcite-input-date-picker/customElement.d.ts +40 -13
- package/dist/components/calcite-input-date-picker/customElement.js +102 -41
- package/dist/components/calcite-input-date-picker/index.js +1 -0
- package/dist/components/calcite-input-message/customElement.d.ts +2 -2
- package/dist/components/calcite-input-message/customElement.js +6 -8
- package/dist/components/calcite-input-number/customElement.d.ts +49 -12
- package/dist/components/calcite-input-number/customElement.js +88 -12
- package/dist/components/calcite-input-text/customElement.d.ts +45 -10
- package/dist/components/calcite-input-text/customElement.js +84 -16
- package/dist/components/calcite-input-time-picker/customElement.d.ts +49 -28
- 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 +636 -619
- package/dist/components/calcite-input-time-zone/customElement.js +7 -14
- package/dist/components/calcite-label/customElement.d.ts +4 -2
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +27 -32
- package/dist/components/calcite-list/customElement.js +3 -3
- package/dist/components/calcite-list-item/customElement.d.ts +10 -6
- package/dist/components/calcite-list-item/customElement.js +3 -4
- package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +3 -3
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +6 -2
- package/dist/components/calcite-menu/customElement.js +44 -26
- package/dist/components/calcite-menu-item/customElement.d.ts +9 -5
- package/dist/components/calcite-menu-item/customElement.js +6 -54
- package/dist/components/calcite-meter/customElement.d.ts +9 -6
- package/dist/components/calcite-meter/customElement.js +10 -10
- package/dist/components/calcite-navigation/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -10
- package/dist/components/calcite-navigation-logo/customElement.js +3 -2
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +2 -1
- package/dist/components/calcite-notice/customElement.d.ts +12 -6
- 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 +10 -6
- package/dist/components/calcite-pagination/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.d.ts +14 -10
- package/dist/components/calcite-panel/customElement.js +40 -8
- package/dist/components/calcite-popover/customElement.d.ts +16 -12
- package/dist/components/calcite-radio-button/customElement.d.ts +6 -2
- package/dist/components/calcite-radio-button/customElement.js +5 -4
- package/dist/components/calcite-radio-button-group/customElement.d.ts +11 -5
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +15 -7
- 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 +22 -11
- package/dist/components/calcite-segmented-control/customElement.js +6 -12
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +3 -3
- package/dist/components/calcite-select/customElement.d.ts +21 -11
- package/dist/components/calcite-select/customElement.js +5 -5
- package/dist/components/calcite-sheet/customElement.d.ts +18 -14
- package/dist/components/calcite-sheet/customElement.js +8 -23
- 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 +29 -18
- package/dist/components/calcite-shell-panel/customElement.js +162 -35
- package/dist/components/calcite-slider/customElement.d.ts +13 -7
- package/dist/components/calcite-slider/customElement.js +14 -10
- package/dist/components/calcite-sort-handle/customElement.d.ts +24 -20
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +3 -3
- package/dist/components/calcite-sortable-list/customElement.js +5 -6
- package/dist/components/calcite-split-button/customElement.d.ts +9 -7
- package/dist/components/calcite-split-button/customElement.js +2 -2
- package/dist/components/calcite-stepper/customElement.d.ts +10 -6
- package/dist/components/calcite-stepper/customElement.js +20 -12
- package/dist/components/calcite-stepper-item/customElement.d.ts +8 -4
- package/dist/components/calcite-stepper-item/customElement.js +6 -22
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +5 -44
- package/dist/components/calcite-swatch-group/customElement.d.ts +6 -9
- package/dist/components/calcite-swatch-group/customElement.js +31 -22
- package/dist/components/calcite-switch/customElement.d.ts +19 -2
- 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 +8 -4
- package/dist/components/calcite-tab-nav/customElement.js +66 -28
- package/dist/components/calcite-tab-title/customElement.d.ts +9 -5
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.d.ts +22 -14
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +16 -11
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +12 -8
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.d.ts +6 -5
- package/dist/components/calcite-table-row/customElement.js +26 -15
- package/dist/components/calcite-tabs/customElement.d.ts +8 -2
- package/dist/components/calcite-tabs/customElement.js +14 -8
- package/dist/components/calcite-text-area/customElement.d.ts +15 -9
- package/dist/components/calcite-text-area/customElement.js +25 -24
- package/dist/components/calcite-tile/customElement.d.ts +3 -3
- package/dist/components/calcite-tile/customElement.js +6 -20
- package/dist/components/calcite-tile-group/customElement.d.ts +10 -10
- package/dist/components/calcite-tile-group/customElement.js +31 -23
- package/dist/components/calcite-time-picker/customElement.d.ts +25 -21
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +5 -5
- package/dist/components/calcite-tree/customElement.d.ts +10 -16
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
- package/dist/components/calcite-tree-item/customElement.js +2 -2
- 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 +22 -22
- 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 +27 -16
- package/dist/utils/date.d.ts +2 -2
- package/package.json +15 -14
- package/dist/cdn/244ERQCM.js +0 -2
- package/dist/cdn/2IU3EHCK.js +0 -4
- package/dist/cdn/2PWHFBYE.js +0 -2
- package/dist/cdn/2TEG5UFR.js +0 -2
- package/dist/cdn/322PFF7Z.js +0 -2
- package/dist/cdn/36ZG4GBQ.js +0 -2
- package/dist/cdn/3CMHSLTX.js +0 -2
- package/dist/cdn/3HX4E5AT.js +0 -2
- package/dist/cdn/3PIM6BMO.js +0 -2
- package/dist/cdn/45ELN2PJ.js +0 -2
- package/dist/cdn/46EH3H4M.js +0 -2
- package/dist/cdn/4IS55ZBO.js +0 -2
- package/dist/cdn/4ZNLMI7C.js +0 -2
- package/dist/cdn/55RYBWXB.js +0 -2
- package/dist/cdn/5BTPWVDT.js +0 -2
- package/dist/cdn/5BZENCNG.js +0 -2
- package/dist/cdn/5CSUX3V5.js +0 -2
- package/dist/cdn/5EKUTIXQ.js +0 -2
- package/dist/cdn/5NRU7OJF.js +0 -2
- package/dist/cdn/5Y6744HE.js +0 -2
- package/dist/cdn/5ZQXBBQQ.js +0 -2
- package/dist/cdn/6OC2BJBW.js +0 -2
- package/dist/cdn/6S2O33VJ.js +0 -2
- package/dist/cdn/7BA5SO53.js +0 -2
- package/dist/cdn/7BR2ER3N.js +0 -2
- package/dist/cdn/7EJ24UTN.js +0 -2
- package/dist/cdn/7HV3O3DF.js +0 -2
- package/dist/cdn/7OHPGPMA.js +0 -2
- package/dist/cdn/7Y3S5Y55.js +0 -2
- package/dist/cdn/7ZFIBIHG.js +0 -2
- package/dist/cdn/AK6XLW7N.js +0 -2
- package/dist/cdn/AO3P5HVZ.js +0 -2
- package/dist/cdn/BP25LS3Z.js +0 -2
- package/dist/cdn/BXU65LPT.js +0 -2
- package/dist/cdn/C3PA7JRL.js +0 -2
- package/dist/cdn/COKKZKHK.js +0 -2
- package/dist/cdn/DHNR7VLX.js +0 -2
- package/dist/cdn/DMOGCVWZ.js +0 -2
- package/dist/cdn/DUY5W2J3.js +0 -2
- package/dist/cdn/E3RCK74P.js +0 -2
- package/dist/cdn/EFVZRX3W.js +0 -2
- package/dist/cdn/ETT4WWDK.js +0 -2
- package/dist/cdn/EVU777DB.js +0 -2
- package/dist/cdn/F5AGI2QN.js +0 -2
- package/dist/cdn/F5S74A6J.js +0 -2
- package/dist/cdn/FAMZWCRE.js +0 -2
- package/dist/cdn/FGRTUJKR.js +0 -2
- package/dist/cdn/FTXCSWSH.js +0 -2
- package/dist/cdn/FYEPBQFF.js +0 -2
- package/dist/cdn/G6G7V52J.js +0 -2
- package/dist/cdn/GHJCL53I.js +0 -4
- package/dist/cdn/GX6IID4J.js +0 -2
- package/dist/cdn/HFYWGKZY.js +0 -2
- package/dist/cdn/HIELBAF7.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/I46XWJBK.js +0 -2
- package/dist/cdn/ILPIQWU7.js +0 -2
- package/dist/cdn/IOFLSPTQ.js +0 -2
- package/dist/cdn/IYXJEO3U.js +0 -2
- package/dist/cdn/J4SYG3DY.js +0 -2
- package/dist/cdn/J6UBJZOW.js +0 -2
- package/dist/cdn/JCZW5TS2.js +0 -2
- package/dist/cdn/JRKNYKHL.js +0 -2
- package/dist/cdn/JSQBAVBT.js +0 -2
- package/dist/cdn/K6XQCMHC.js +0 -2
- package/dist/cdn/KBJCC6M3.js +0 -2
- package/dist/cdn/KG2UEHKF.js +0 -2
- package/dist/cdn/KW6UJGMB.js +0 -2
- package/dist/cdn/KZQTUYY3.js +0 -2
- package/dist/cdn/L47IPAUB.js +0 -3
- package/dist/cdn/LCFR6GTY.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/M4NJVOHB.js +0 -2
- package/dist/cdn/MCWOYBP4.js +0 -2
- package/dist/cdn/MPLVWYDA.js +0 -2
- package/dist/cdn/MWLCAYYX.js +0 -2
- package/dist/cdn/MZWGXNX4.js +0 -2
- package/dist/cdn/NBZOLUHH.js +0 -2
- package/dist/cdn/NWEOQPRQ.js +0 -2
- package/dist/cdn/NXZ67AHU.js +0 -2
- package/dist/cdn/O3BCYJMC.js +0 -2
- package/dist/cdn/O5PLNZUB.js +0 -2
- package/dist/cdn/OD7YQVTL.js +0 -2
- package/dist/cdn/ODO44U4I.js +0 -2
- package/dist/cdn/OIS2OCUI.js +0 -20
- package/dist/cdn/PBTE3AQR.js +0 -2
- package/dist/cdn/PCVAFTNV.js +0 -2
- package/dist/cdn/PEL5LMQA.js +0 -2
- package/dist/cdn/PKHPMEIN.js +0 -2
- package/dist/cdn/PQOWSFUI.js +0 -2
- package/dist/cdn/PRWKGDJR.js +0 -2
- package/dist/cdn/Q6E7AO5H.js +0 -2
- package/dist/cdn/QKS7EOFA.js +0 -2
- package/dist/cdn/QMBCFBKX.js +0 -2
- package/dist/cdn/QP2DLERM.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/R7RCLEUS.js +0 -2
- package/dist/cdn/REGGVDSA.js +0 -2
- package/dist/cdn/RL6433GX.js +0 -2
- package/dist/cdn/RNBHN3DC.js +0 -2
- package/dist/cdn/RNPVTYW7.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/SIBHS5A2.js +0 -2
- package/dist/cdn/T5AZQF23.js +0 -2
- package/dist/cdn/TH2V4WUT.js +0 -2
- package/dist/cdn/TNFD3HYK.js +0 -2
- package/dist/cdn/TTYV37HC.js +0 -2
- package/dist/cdn/TYZTOEVY.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/U32ZDPXB.js +0 -2
- package/dist/cdn/UWAER5W3.js +0 -2
- package/dist/cdn/V3PU3YQV.js +0 -2
- package/dist/cdn/VQAXZFZK.js +0 -2
- package/dist/cdn/VWOB3FKQ.js +0 -2
- package/dist/cdn/WJ5ZTHI4.js +0 -2
- package/dist/cdn/WY3R7VLJ.js +0 -2
- package/dist/cdn/X2K2EAV2.js +0 -2
- package/dist/cdn/X3DDLV2Y.js +0 -2
- package/dist/cdn/Y3CYF4JT.js +0 -2
- package/dist/cdn/Y6HZAGBB.js +0 -2
- package/dist/cdn/Z5GDMSB2.js +0 -2
- package/dist/cdn/Z5OIB5PU.js +0 -2
- package/dist/cdn/ZMMAK3SH.js +0 -2
- package/dist/chunks/core.js +0 -11
- package/dist/chunks/global.js +0 -23
- package/dist/chunks/logger.js +0 -50
- package/dist/components/calcite-icon/interfaces.d.ts +0 -10
- /package/dist/cdn/{WXZMRXAK.js → 5IJ25RMA.js} +0 -0
- /package/dist/cdn/{2OKTIK5P.js → 7L4EZFYG.js} +0 -0
- /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
7
7
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
8
|
-
import {
|
|
8
|
+
import { u as useLabel } from "../../chunks/useLabel.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
10
|
import { S as SLOTS$1 } from "../../chunks/resources7.js";
|
|
11
11
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
@@ -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);
|
|
@@ -197,7 +197,7 @@ function findTimeZoneItemByProp(timeZoneItems, 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}
|
|
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}`;
|
|
201
201
|
class InputTimeZone extends LitElement {
|
|
202
202
|
constructor() {
|
|
203
203
|
super(...arguments);
|
|
@@ -208,6 +208,7 @@ class InputTimeZone extends LitElement {
|
|
|
208
208
|
this.messages = useT9n({ blocking: true });
|
|
209
209
|
this.focusSetter = useSetFocus()(this);
|
|
210
210
|
this.interactiveContainer = useInteractive(this);
|
|
211
|
+
this.labelable = useLabel(this);
|
|
211
212
|
this.#valueUpdateContext = null;
|
|
212
213
|
this.clearable = false;
|
|
213
214
|
this.disabled = false;
|
|
@@ -228,7 +229,7 @@ class InputTimeZone extends LitElement {
|
|
|
228
229
|
this.calciteInputTimeZoneOpen = createEvent({ cancelable: false });
|
|
229
230
|
}
|
|
230
231
|
static {
|
|
231
|
-
this.properties = { selectedTimeZoneItem: [16, {}, { state: true }], timeZoneItems: [16, {}, { state: true }], clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], mode: [3, {}, { reflect: true }], name: [3, {}, { reflect: true }], offsetStyle: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], readOnly: [7, {}, { reflect: true, type: Boolean }], referenceDate: 1, required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean
|
|
232
|
+
this.properties = { selectedTimeZoneItem: [16, {}, { state: true }], timeZoneItems: [16, {}, { state: true }], clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], labelText: 1, maxItems: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], mode: [3, {}, { reflect: true }], name: [3, {}, { reflect: true }], offsetStyle: [3, {}, { reflect: true }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], referenceDate: 1, required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], validationIcon: [3, { converter: stringOrBoolean }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
232
233
|
}
|
|
233
234
|
static {
|
|
234
235
|
this.formAssociated = true;
|
|
@@ -250,10 +251,6 @@ class InputTimeZone extends LitElement {
|
|
|
250
251
|
async setFocus(options) {
|
|
251
252
|
return this.focusSetter(() => this.comboboxRef.value, options);
|
|
252
253
|
}
|
|
253
|
-
connectedCallback() {
|
|
254
|
-
super.connectedCallback();
|
|
255
|
-
connectLabel(this);
|
|
256
|
-
}
|
|
257
254
|
async load() {
|
|
258
255
|
this.normalizer = await getNormalizer(this.mode);
|
|
259
256
|
await this.updateTimeZoneItems();
|
|
@@ -278,10 +275,6 @@ class InputTimeZone extends LitElement {
|
|
|
278
275
|
loaded() {
|
|
279
276
|
this.openChanged();
|
|
280
277
|
}
|
|
281
|
-
disconnectedCallback() {
|
|
282
|
-
super.disconnectedCallback();
|
|
283
|
-
disconnectLabel(this);
|
|
284
|
-
}
|
|
285
278
|
async handleTimeZoneItemPropsChange() {
|
|
286
279
|
if (!this.timeZoneItems || !this.hasUpdated) {
|
|
287
280
|
return;
|
|
@@ -407,7 +400,7 @@ class InputTimeZone extends LitElement {
|
|
|
407
400
|
return !metadata.country || open || !selected ? label : getSelectedRegionTimeZoneLabel(label, metadata.country, this.messages);
|
|
408
401
|
}
|
|
409
402
|
render() {
|
|
410
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} .labelText=${this.labelText} lang=${this.messages._lang ?? nothing} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.
|
|
403
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} .labelText=${this.labelText} lang=${this.messages._lang ?? nothing} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.placeholder || this.messages[`${this.mode}Placeholder`]} placeholder-icon=search .readOnly=${this.readOnly} .required=${this.required} .scale=${this.scale} .selectionMode=${this.clearable ? "single" : "single-persist"} .status=${this.status} .topLayerDisabled=${this.topLayerDisabled} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${ref(this.comboboxRef)}>${this.renderItems()}<slot name=${SLOTS.labelContent} slot=${SLOTS$1.labelContent}></slot></calcite-combobox>` });
|
|
411
404
|
}
|
|
412
405
|
renderItems() {
|
|
413
406
|
if (this.mode === "region") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Alignment, Scale } from "../
|
|
3
|
+
import type { Alignment, Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-label-margin-bottom] - Specifies the component's bottom spacing.
|
|
@@ -17,7 +17,9 @@ export abstract class Label extends LitElement {
|
|
|
17
17
|
/** Specifies the `id` of the component the label is bound to. Use when the component the label is bound to does not reside within the component. */
|
|
18
18
|
accessor for: string | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* Defines the component's layout in relation to the slotted component. Use `"inline"` positions to wrap the label and slotted component on the same line.
|
|
20
|
+
* Defines the component's layout in relation to the slotted component. Use `"inline"` positions to wrap the label and slotted component on the same line.
|
|
21
|
+
*
|
|
22
|
+
* [Deprecated] The `"default"` value is deprecated in v3.3.0, removal target v6.0.0 - use `"block"` instead.
|
|
21
23
|
*
|
|
22
24
|
* @default "default"
|
|
23
25
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { l as labelConnectedEvent, a as associateExplicitLabelToUnlabeledComponent, b as labelDisconnectedEvent } from "../../chunks/
|
|
5
|
+
import { l as labelConnectedEvent, a as associateExplicitLabelToUnlabeledComponent, b as labelDisconnectedEvent } from "../../chunks/useLabel.js";
|
|
6
6
|
const CSS = {
|
|
7
7
|
container: "container"
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { FlipContext } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { FlipContext } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Any attributes placed on <calcite-link> component will propagate to the rendered child
|
|
@@ -36,7 +36,7 @@ class Link extends LitElement {
|
|
|
36
36
|
this.listen("click", this.clickHandler);
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
|
-
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {
|
|
39
|
+
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], rel: 1, target: 1 };
|
|
40
40
|
}
|
|
41
41
|
static {
|
|
42
42
|
this.styles = styles;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { InteractionMode, Scale, SelectionMode } from "../
|
|
4
|
-
import type { ItemData } from "../calcite-list-item/
|
|
3
|
+
import type { InteractionMode, Scale, SelectionMode } from "../types.js";
|
|
4
|
+
import type { ItemData } from "../calcite-list-item/types.js";
|
|
5
5
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
6
6
|
import type { ListItem } from "../calcite-list-item/customElement.js";
|
|
7
7
|
import type { SelectionAppearance } from "./resources.js";
|
|
8
|
-
import type { ListDisplayMode, ListDragDetail } from "./
|
|
8
|
+
import type { ListDisplayMode, ListDragDetail } from "./types.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
@@ -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
|
*
|
|
@@ -29,11 +29,10 @@ export abstract class List extends LitElement {
|
|
|
29
29
|
*/
|
|
30
30
|
accessor disabled: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* Specifies the nesting behavior of `calcite-list-item`s
|
|
32
|
+
* Specifies the nesting behavior of `calcite-list-item`s.
|
|
33
33
|
*
|
|
34
|
-
* `"flat"` displays `calcite-list-item`s in a uniform list
|
|
35
|
-
*
|
|
36
|
-
* `"nested"` displays `calcite-list-item`s under their parent element.
|
|
34
|
+
* - `"flat"` displays `calcite-list-item`s in a uniform list.
|
|
35
|
+
* - `"nested"` displays `calcite-list-item`s under their parent element.
|
|
37
36
|
*
|
|
38
37
|
* The parent component's behavior should follow throughout its child elements.
|
|
39
38
|
*
|
|
@@ -85,13 +84,10 @@ export abstract class List extends LitElement {
|
|
|
85
84
|
*/
|
|
86
85
|
accessor group: string | undefined;
|
|
87
86
|
/**
|
|
88
|
-
* Specifies the interaction mode of the component
|
|
89
|
-
*
|
|
90
|
-
* `"interactive"` allows interaction styling and pointer changes on hover,
|
|
91
|
-
*
|
|
92
|
-
* `"static"` does not allow interaction styling and pointer changes on hover -
|
|
87
|
+
* Specifies the interaction mode of the component.
|
|
93
88
|
*
|
|
94
|
-
*
|
|
89
|
+
* - `"interactive"` allows interaction styling and pointer changes on hover.
|
|
90
|
+
* - `"static"` does not allow interaction styling and pointer changes on hover. Should only be used when `selectionMode` is `"none"`.
|
|
95
91
|
*
|
|
96
92
|
* @default "interactive"
|
|
97
93
|
*/
|
|
@@ -110,10 +106,14 @@ export abstract class List extends LitElement {
|
|
|
110
106
|
* @default false
|
|
111
107
|
*/
|
|
112
108
|
accessor loading: boolean;
|
|
113
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Replace localized message strings with your own strings.
|
|
111
|
+
*
|
|
112
|
+
* _**Note**: Individual message keys may change between releases._
|
|
113
|
+
*/
|
|
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;
|
|
@@ -126,27 +126,22 @@ export abstract class List extends LitElement {
|
|
|
126
126
|
/** The currently selected items. */
|
|
127
127
|
get selectedItems(): ListItem[];
|
|
128
128
|
/**
|
|
129
|
-
* Specifies the selection appearance
|
|
129
|
+
* Specifies the selection appearance.
|
|
130
130
|
*
|
|
131
|
-
* `"icon"` displays a checkmark or dot
|
|
132
|
-
*
|
|
133
|
-
* `"border"` [Deprecated] -
|
|
134
|
-
*
|
|
135
|
-
* `"highlight"` displays background highlight.
|
|
131
|
+
* - `"icon"` displays a checkmark or dot.
|
|
132
|
+
* - `"highlight"` displays background highlight.
|
|
133
|
+
* - `"border"` displays a border. [Deprecated] in v5.0.0, removal target v6.0.0 - use `"highlight"` instead.
|
|
136
134
|
*
|
|
137
135
|
* @default "icon"
|
|
138
136
|
*/
|
|
139
137
|
accessor selectionAppearance: Extract<"icon" | "border" | "highlight", SelectionAppearance>;
|
|
140
138
|
/**
|
|
141
|
-
* Specifies the selection mode of the component
|
|
142
|
-
*
|
|
143
|
-
* `"multiple"` allows any number of selections,
|
|
144
|
-
*
|
|
145
|
-
* `"single"` allows only one selection,
|
|
146
|
-
*
|
|
147
|
-
* `"single-persist"` allows one selection and prevents de-selection, and
|
|
139
|
+
* Specifies the selection mode of the component.
|
|
148
140
|
*
|
|
149
|
-
* `"
|
|
141
|
+
* - `"multiple"` allows any number of selections.
|
|
142
|
+
* - `"single"` allows only one selection.
|
|
143
|
+
* - `"single-persist"` allows one selection and prevents de-selection.
|
|
144
|
+
* - `"none"` does not allow any selections.
|
|
150
145
|
*
|
|
151
146
|
* @default "none"
|
|
152
147
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
2
|
+
import { D as DEBOUNCE, l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref } from "lit/directives/ref.js";
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
5
|
import { debounce } from "es-toolkit";
|
|
6
6
|
import { css, html } from "lit";
|
|
7
7
|
import { LitElement, createEvent, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { o as slotChangeHasContent, s as slotChangeHasAssignedElement, i as getRootNode } from "../../chunks/dom.js";
|
|
9
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { l as listItemSelector, i as isListItem, a as listSelector, u as updateListItemChildren, b as listItemGroupSelector, e as expandedAncestors } from "../../chunks/utils4.js";
|
|
11
11
|
import { S as SLOTS$1 } from "../../chunks/resources10.js";
|
|
@@ -563,7 +563,7 @@ class List extends LitElement {
|
|
|
563
563
|
}
|
|
564
564
|
handleInteractionModeWarning() {
|
|
565
565
|
if (this.interactionMode === "static" && this.selectionMode !== "none" && this.selectionAppearance === "border") {
|
|
566
|
-
|
|
566
|
+
logger.warn(`selection-appearance="border" requires interaction-mode="interactive"`);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
validateSortMenuItem({ fromEl, toEl, dragEl, newIndex, oldIndex, type }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale, FlipContext } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { Scale, FlipContext } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-list-background-color-hover] - Specifies the component's background color when hovered.
|
|
@@ -62,11 +62,15 @@ export abstract class ListItem extends LitElement {
|
|
|
62
62
|
accessor iconStart: IconName | undefined;
|
|
63
63
|
/** Specifies an accessible label for the component, displays above the `description`. */
|
|
64
64
|
accessor label: string | undefined;
|
|
65
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Replace localized message strings with your own strings.
|
|
67
|
+
*
|
|
68
|
+
* _**Note**: Individual message keys may change between releases._
|
|
69
|
+
*/
|
|
66
70
|
accessor messageOverrides: {
|
|
67
|
-
close?: string;
|
|
68
|
-
expand?: string;
|
|
69
|
-
collapse?: string;
|
|
71
|
+
close?: string | undefined;
|
|
72
|
+
expand?: string | undefined;
|
|
73
|
+
collapse?: string | undefined;
|
|
70
74
|
};
|
|
71
75
|
/** Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`. */
|
|
72
76
|
accessor metadata: Record<string, unknown> | undefined;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as customElement } from "../../chunks/runtime.js";
|
|
2
|
+
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed } from "lit/directives/keyed.js";
|
|
4
4
|
import { isEqual } from "es-toolkit";
|
|
5
5
|
import { css, html, nothing } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
8
8
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
9
|
-
import { s as slotChangeHasAssignedElement,
|
|
9
|
+
import { s as slotChangeHasAssignedElement, A as getFirstTabbable } from "../../chunks/dom.js";
|
|
10
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
11
11
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
12
|
-
import { l as logger } from "../../chunks/logger.js";
|
|
13
12
|
import { s as styles$1 } from "../../chunks/sortable.js";
|
|
14
13
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
15
14
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -74,7 +73,7 @@ class ListItem extends LitElement {
|
|
|
74
73
|
this.listen("calciteInternalListDefaultSlotChange", this.handleCalciteInternalListDefaultSlotChanges);
|
|
75
74
|
}
|
|
76
75
|
static {
|
|
77
|
-
this.properties = { hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasCustomContent: [16, {}, { state: true }], level: [16, {}, { state: true }], expandable: [16, {}, { state: true }], parentListEl: [16, {}, { state: true }], active: [5, {}, { type: Boolean }], bordered: [5, {}, { type: Boolean }], sortDisabled: [5, {}, { type: Boolean }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], dragDisabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], filterHidden: [7, {}, { reflect: true, type: Boolean }], interactionMode: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], metadata: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], addToItems: [0, {}, { attribute: false }], moveToItems: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], setPosition: [9, {}, { type: Number }], setSize: [9, {}, { type: Number }], sortHandleOpen: [7, {}, { reflect: true, type: Boolean }], unavailable: [7, {}, { reflect: true, type: Boolean }], value: 1, iconStart: [3, {
|
|
76
|
+
this.properties = { hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasCustomContent: [16, {}, { state: true }], level: [16, {}, { state: true }], expandable: [16, {}, { state: true }], parentListEl: [16, {}, { state: true }], active: [5, {}, { type: Boolean }], bordered: [5, {}, { type: Boolean }], sortDisabled: [5, {}, { type: Boolean }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], dragDisabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], filterHidden: [7, {}, { reflect: true, type: Boolean }], interactionMode: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], metadata: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], addToItems: [0, {}, { attribute: false }], moveToItems: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }], setPosition: [9, {}, { type: Number }], setSize: [9, {}, { type: Number }], sortHandleOpen: [7, {}, { reflect: true, type: Boolean }], unavailable: [7, {}, { reflect: true, type: Boolean }], value: 1, iconStart: [3, {}, { reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
78
77
|
}
|
|
79
78
|
static {
|
|
80
79
|
this.styles = [styles, styles$1];
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-list-background-color] - Specifies the component's background color.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -14,8 +14,12 @@ export abstract class Menu extends LitElement {
|
|
|
14
14
|
* @default "horizontal"
|
|
15
15
|
*/
|
|
16
16
|
accessor layout: Layout;
|
|
17
|
-
/**
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Replace localized message strings with your own strings.
|
|
19
|
+
*
|
|
20
|
+
* _**Note**: Individual message keys may change between releases._
|
|
21
|
+
*/
|
|
22
|
+
accessor messageOverrides: { more?: string | undefined; };
|
|
19
23
|
/**
|
|
20
24
|
* Sets focus on the component's first focusable element.
|
|
21
25
|
*
|
|
@@ -3,9 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement } from "@arcgis/lumina";
|
|
5
5
|
import { useWatchAttributes } from "@arcgis/lumina/controllers";
|
|
6
|
-
import {
|
|
6
|
+
import { d as focusElementInGroup, a as slotChangeGetAssignedElements, k as focusElement } from "../../chunks/dom.js";
|
|
7
7
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
8
8
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
9
|
+
import { i as isMenuItem } from "../../chunks/resources12.js";
|
|
9
10
|
const styles = css`:host{display:flex;line-height:var(--calcite-font-line-height-fixed-lg)}ul{margin:0;display:inline-flex;block-size:100%;align-items:center;padding:0}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
10
11
|
class Menu extends LitElement {
|
|
11
12
|
constructor() {
|
|
@@ -15,7 +16,7 @@ class Menu extends LitElement {
|
|
|
15
16
|
this.messages = useT9n();
|
|
16
17
|
this.focusSetter = useSetFocus()(this);
|
|
17
18
|
this.layout = "horizontal";
|
|
18
|
-
this.listen("
|
|
19
|
+
this.listen("keydown", this.calciteInternalNavMenuItemKeyEvent);
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
22
|
this.properties = { label: 1, layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }] };
|
|
@@ -39,46 +40,63 @@ class Menu extends LitElement {
|
|
|
39
40
|
this.setMenuItemLayout(this.menuItems, this.layout);
|
|
40
41
|
}
|
|
41
42
|
calciteInternalNavMenuItemKeyEvent(event) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
if (event.defaultPrevented) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const target = this.getMenuItemFromEvent(event);
|
|
47
|
+
if (!target) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const submenuItems = this.getSubmenuItems(target);
|
|
51
|
+
const hasSubmenu = submenuItems.length > 0;
|
|
52
|
+
const key = event.key;
|
|
53
|
+
let handled = false;
|
|
46
54
|
if (key === "ArrowDown") {
|
|
47
55
|
if (target.layout === "vertical") {
|
|
48
56
|
focusElementInGroup(this.menuItems, target, "next", false, false);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
handled = true;
|
|
58
|
+
} else if (target.open && hasSubmenu) {
|
|
59
|
+
submenuItems[0].setFocus();
|
|
60
|
+
handled = true;
|
|
53
61
|
}
|
|
54
62
|
} else if (key === "ArrowUp") {
|
|
55
|
-
if (
|
|
63
|
+
if (target.layout === "vertical") {
|
|
56
64
|
focusElementInGroup(this.menuItems, target, "previous", false, false);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
65
|
+
handled = true;
|
|
66
|
+
} else if (target.open && hasSubmenu) {
|
|
67
|
+
submenuItems[submenuItems.length - 1].setFocus();
|
|
68
|
+
handled = true;
|
|
61
69
|
}
|
|
62
70
|
} else if (key === "ArrowRight") {
|
|
63
71
|
if (this.layout === "horizontal") {
|
|
64
72
|
focusElementInGroup(this.menuItems, target, "next", false, false);
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
73
|
+
handled = true;
|
|
74
|
+
} else if (target.open && hasSubmenu) {
|
|
75
|
+
submenuItems[0].setFocus();
|
|
76
|
+
handled = true;
|
|
69
77
|
}
|
|
70
78
|
} else if (key === "ArrowLeft") {
|
|
71
79
|
if (this.layout === "horizontal") {
|
|
72
80
|
focusElementInGroup(this.menuItems, target, "previous", false, false);
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
handled = true;
|
|
82
|
+
} else if (target.parentElement?.tagName === "CALCITE-MENU-ITEM") {
|
|
83
|
+
this.focusParentElement(target);
|
|
84
|
+
handled = true;
|
|
77
85
|
}
|
|
78
|
-
} else if (key === "Escape") {
|
|
79
|
-
this.focusParentElement(
|
|
86
|
+
} else if (key === "Escape" && target.parentElement?.tagName === "CALCITE-MENU-ITEM") {
|
|
87
|
+
this.focusParentElement(target);
|
|
88
|
+
handled = true;
|
|
80
89
|
}
|
|
81
|
-
|
|
90
|
+
if (handled) {
|
|
91
|
+
event.preventDefault();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
getMenuItemFromEvent(event) {
|
|
95
|
+
const target = event.composedPath().find(isMenuItem);
|
|
96
|
+
return target && this.menuItems.includes(target) ? target : void 0;
|
|
97
|
+
}
|
|
98
|
+
getSubmenuItems(menuItem) {
|
|
99
|
+
return Array.from(menuItem.children).filter(isMenuItem).filter((child) => child.matches('[slot="submenu-item"]'));
|
|
82
100
|
}
|
|
83
101
|
handleMenuSlotChange(event) {
|
|
84
102
|
this.menuItems = slotChangeGetAssignedElements(event);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { FlipContext } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { FlipContext } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-menu-item-accent-color] - When `active`, specifies the component's border color.
|
|
@@ -38,10 +38,14 @@ export abstract class MenuItem extends LitElement {
|
|
|
38
38
|
* @required
|
|
39
39
|
*/
|
|
40
40
|
accessor label: string;
|
|
41
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Replace localized message strings with your own strings.
|
|
43
|
+
*
|
|
44
|
+
* _**Note**: Individual message keys may change between releases._
|
|
45
|
+
*/
|
|
42
46
|
accessor messageOverrides: {
|
|
43
|
-
submenu?: string;
|
|
44
|
-
open?: string;
|
|
47
|
+
submenu?: string | undefined;
|
|
48
|
+
open?: string | undefined;
|
|
45
49
|
};
|
|
46
50
|
/**
|
|
47
51
|
* When `true`, the component will display any slotted `calcite-menu-item` in an open overflow menu.
|
|
@@ -8,36 +8,7 @@ import { useDirection } from "@arcgis/lumina/controllers";
|
|
|
8
8
|
import { a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
|
-
|
|
12
|
-
container: "container",
|
|
13
|
-
content: "content",
|
|
14
|
-
dropdownVertical: "dropdown--vertical",
|
|
15
|
-
dropdownMenuItems: "dropdown-menu-items",
|
|
16
|
-
dropdownAction: "dropdown-action",
|
|
17
|
-
layoutVertical: "layout--vertical",
|
|
18
|
-
hoverHrefIcon: "hover-href-icon",
|
|
19
|
-
icon: "icon",
|
|
20
|
-
iconBreadcrumb: "icon--breadcrumb",
|
|
21
|
-
iconDropdown: "icon--dropdown",
|
|
22
|
-
iconEnd: "icon--end",
|
|
23
|
-
iconStart: "icon--start",
|
|
24
|
-
isParentVertical: "parent--vertical",
|
|
25
|
-
itemContent: "item-content",
|
|
26
|
-
open: "open",
|
|
27
|
-
nested: "nested",
|
|
28
|
-
textContainer: "text-container"
|
|
29
|
-
};
|
|
30
|
-
const SLOTS = {
|
|
31
|
-
submenuItem: "submenu-item"
|
|
32
|
-
};
|
|
33
|
-
const ICONS = {
|
|
34
|
-
arrowLeft: "arrow-left",
|
|
35
|
-
arrowRight: "arrow-right",
|
|
36
|
-
chevronLeft: "chevron-left",
|
|
37
|
-
chevronRight: "chevron-right",
|
|
38
|
-
chevronUp: "chevron-up",
|
|
39
|
-
chevronDown: "chevron-down"
|
|
40
|
-
};
|
|
11
|
+
import { C as CSS, I as ICONS, S as SLOTS } from "../../chunks/resources12.js";
|
|
41
12
|
const styles = css`:host{--calcite-internal-menu-item-border: 1px solid var(--calcite-menu-item-sub-menu-border-color, var(--calcite-color-border-3));position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.item-content{background-color:var(--calcite-menu-background-color, var(--calcite-internal-menu-background-color, var(--calcite-color-foreground-1)))}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);outline:2px solid transparent;outline-offset:2px;text-decoration:none;padding-block-start:.125rem;border-block-end:.125rem solid var(--calcite-color-transparent);background-color:var(--calcite-menu-background-color, var(--calcite-internal-menu-background-color, var(--calcite-color-foreground-1)));color:var(--calcite-menu-text-color, var(--calcite-internal-menu-text-color, var(--calcite-color-text-2)))}.content:hover{--calcite-internal-menu-background-color: var(--calcite-color-foreground-2)}.content:focus{border-block-end-width:4px;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))));padding-block-start:.25rem;border-block-end-width:.25rem}.content:active{--calcite-internal-menu-background-color: var(--calcite-color-foreground-3);--calcite-internal-menu-text-color: var(--calcite-color-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:var(--calcite-space-md);border-block-end:0;border-inline-end:.25rem solid var(--calcite-color-transparent)}:host([layout=vertical]) .content{padding-inline:.75rem}:host([active]) .content{--calcite-internal-menu-text-color: var(--calcite-color-text-1);border-color:var(--calcite-menu-item-accent-color, var(--calcite-color-brand))}:host([active]) .icon{--calcite-internal-menu-item-icon-color: var( --calcite-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-brand)) )}.icon{color:var(--calcite-menu-text-color, var(--calcite-icon-color, var(--calcite-internal-menu-item-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-3)))))}.icon--start{margin-inline-end:.75rem}.icon--end{margin-inline-start:.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:.5rem}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:.5rem}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:.5rem}:host([breadcrumb]) .content{padding-inline-end:.75rem}.dropdown-action{position:relative;align-self:center;--calcite-action-background-color: var(--calcite-menu-background-color);--calcite-action-text-color: var(--calcite-menu-text-color);margin-inline-start:var(--calcite-spacing-xxs)}.dropdown-action:after{position:absolute;display:block;inline-size:1px;content:"";inset-inline-start:calc(-1 * var(--calcite-spacing-xxs));inset-block:var(--calcite-spacing-xxs);background-color:var(--calcite-color-border-3)}.dropdown-action:active{--calcite-action-background-color-press: var(--calcite-menu-background-color)}:host([layout=vertical]) .dropdown-action{margin-inline-end:var(--calcite-spacing-xxs)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;box-shadow:var(--calcite-shadow-md);border:var(--calcite-internal-menu-item-border);border-radius:var(--calcite-menu-item-sub-menu-corner-radius, var(--calcite-corner-radius));inset-block-start:100%;z-index:var(--calcite-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translate(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([layout=vertical]) .dropdown--vertical.dropdown-menu-items{border:none}:host([layout=vertical]) .dropdown--vertical.dropdown-menu-items:after{content:"";border-block-start:var(--calcite-internal-menu-item-border);position:absolute;inset-block-start:0;inset-inline:var(--calcite-space-md) 0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translate(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
42
13
|
class MenuItem extends LitElement {
|
|
43
14
|
constructor() {
|
|
@@ -53,7 +24,6 @@ class MenuItem extends LitElement {
|
|
|
53
24
|
this.breadcrumb = false;
|
|
54
25
|
this.isTopLevelItem = false;
|
|
55
26
|
this.open = false;
|
|
56
|
-
this.calciteInternalMenuItemKeyEvent = createEvent();
|
|
57
27
|
this.calciteMenuItemSelect = createEvent();
|
|
58
28
|
this.listenOn(window, "click", this.handleClickOut);
|
|
59
29
|
this.listen("focusout", this.handleFocusOut);
|
|
@@ -61,7 +31,7 @@ class MenuItem extends LitElement {
|
|
|
61
31
|
this.listen("focus", this.focusHandler);
|
|
62
32
|
}
|
|
63
33
|
static {
|
|
64
|
-
this.properties = { hasSubmenu: [16, {}, { state: true }], submenuItems: [16, {}, { state: true }], active: [7, {}, { reflect: true, type: Boolean }], breadcrumb: [7, {}, { reflect: true, type: Boolean }], href: 1, iconEnd: [3, {
|
|
34
|
+
this.properties = { hasSubmenu: [16, {}, { state: true }], submenuItems: [16, {}, { state: true }], active: [7, {}, { reflect: true, type: Boolean }], breadcrumb: [7, {}, { reflect: true, type: Boolean }], href: 1, iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], isTopLevelItem: [5, {}, { type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], rel: [3, {}, { reflect: true }], target: [3, {}, { reflect: true }], text: 1, topLevelMenuLayout: 1 };
|
|
65
35
|
}
|
|
66
36
|
static {
|
|
67
37
|
this.styles = styles;
|
|
@@ -105,7 +75,7 @@ class MenuItem extends LitElement {
|
|
|
105
75
|
this.hasSubmenu = this.submenuItems.length > 0;
|
|
106
76
|
}
|
|
107
77
|
async keyDownHandler(event) {
|
|
108
|
-
const { hasSubmenu, href, layout, open
|
|
78
|
+
const { hasSubmenu, href, layout, open } = this;
|
|
109
79
|
const key = event.key;
|
|
110
80
|
const targetIsDropdown = event.target === this.dropdownActionRef.value;
|
|
111
81
|
if (event.defaultPrevented) {
|
|
@@ -124,39 +94,21 @@ class MenuItem extends LitElement {
|
|
|
124
94
|
} else if (key === "Escape") {
|
|
125
95
|
if (open) {
|
|
126
96
|
this.open = false;
|
|
97
|
+
event.preventDefault();
|
|
127
98
|
return;
|
|
128
99
|
}
|
|
129
|
-
this.calciteInternalMenuItemKeyEvent.emit({ event });
|
|
130
|
-
event.preventDefault();
|
|
131
100
|
} else if (key === "ArrowDown" || key === "ArrowUp") {
|
|
132
|
-
event.preventDefault();
|
|
133
101
|
if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === "horizontal") {
|
|
134
102
|
this.open = true;
|
|
103
|
+
event.preventDefault();
|
|
135
104
|
return;
|
|
136
105
|
}
|
|
137
|
-
this.calciteInternalMenuItemKeyEvent.emit({
|
|
138
|
-
event,
|
|
139
|
-
children: submenuItems,
|
|
140
|
-
isSubmenuOpen: open && hasSubmenu
|
|
141
|
-
});
|
|
142
|
-
} else if (key === "ArrowLeft") {
|
|
143
|
-
event.preventDefault();
|
|
144
|
-
this.calciteInternalMenuItemKeyEvent.emit({
|
|
145
|
-
event,
|
|
146
|
-
children: submenuItems,
|
|
147
|
-
isSubmenuOpen: true
|
|
148
|
-
});
|
|
149
106
|
} else if (key === "ArrowRight") {
|
|
150
|
-
event.preventDefault();
|
|
151
107
|
if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === "vertical") {
|
|
152
108
|
this.open = true;
|
|
109
|
+
event.preventDefault();
|
|
153
110
|
return;
|
|
154
111
|
}
|
|
155
|
-
this.calciteInternalMenuItemKeyEvent.emit({
|
|
156
|
-
event,
|
|
157
|
-
children: submenuItems,
|
|
158
|
-
isSubmenuOpen: open && hasSubmenu
|
|
159
|
-
});
|
|
160
112
|
}
|
|
161
113
|
}
|
|
162
114
|
selectMenuItem(event) {
|