@esri/calcite-components 5.2.0-next.6 → 5.2.0-next.60
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/23T3Y3GE.js +2 -0
- package/dist/cdn/27YYIR6K.js +2 -0
- package/dist/cdn/2ARHNZAY.js +2 -0
- package/dist/cdn/2J4XUWYO.js +2 -0
- package/dist/cdn/2LGV2LIH.js +2 -0
- package/dist/cdn/2T3YF4F5.js +2 -0
- package/dist/cdn/2YMRGSC2.js +2 -0
- package/dist/cdn/{JTUQOIII.js → 34KZEKP6.js} +1 -1
- package/dist/cdn/36CTZGVO.js +2 -0
- package/dist/cdn/3GFZCW2S.js +2 -0
- package/dist/cdn/3IN37UDC.js +2 -0
- package/dist/cdn/3NO7PELQ.js +2 -0
- package/dist/cdn/3QHHINS4.js +2 -0
- package/dist/cdn/{WYO3R6BR.js → 42URAKLO.js} +1 -1
- package/dist/cdn/475RERZF.js +2 -0
- package/dist/cdn/4PLXA7BH.js +2 -0
- package/dist/cdn/4PQZTDQS.js +2 -0
- package/dist/cdn/4XWM4DFD.js +2 -0
- package/dist/cdn/4Y4M7ARD.js +2 -0
- package/dist/cdn/4ZPZCAFM.js +2 -0
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/5I7G6JLY.js +2 -0
- package/dist/cdn/5J66CX7P.js +2 -0
- package/dist/cdn/5TCFZJXA.js +2 -0
- package/dist/cdn/6EXKM2ML.js +2 -0
- package/dist/cdn/6GIAYW5Y.js +2 -0
- package/dist/cdn/{HELW7C5O.js → 6JKGSMCW.js} +1 -1
- package/dist/cdn/6KHTU4WL.js +4 -0
- package/dist/cdn/6MKIZYKA.js +2 -0
- package/dist/cdn/6PUJMHS6.js +2 -0
- package/dist/cdn/6XXNQZL3.js +2 -0
- package/dist/cdn/{UGLRJ7LC.js → 73DCL4EG.js} +1 -1
- package/dist/cdn/{L22NWLBO.js → 7B3O2EE3.js} +1 -1
- package/dist/cdn/7KM6PEAO.js +2 -0
- package/dist/cdn/A6LKKOEC.js +2 -0
- package/dist/cdn/ACHOOOAZ.js +2 -0
- package/dist/cdn/AQM2QT52.js +2 -0
- package/dist/cdn/B5YC7TWO.js +2 -0
- package/dist/cdn/B7MWEAQW.js +2 -0
- package/dist/cdn/BBYH4VYJ.js +20 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/BNEP76EX.js +2 -0
- package/dist/cdn/BYK32J57.js +2 -0
- package/dist/cdn/{Z2RDFJ3O.js → CA7N26MN.js} +1 -1
- package/dist/cdn/COOXR4KA.js +2 -0
- package/dist/cdn/CU7WIQWZ.js +2 -0
- package/dist/cdn/{STVS4SFC.js → CUQN2MHW.js} +1 -1
- package/dist/cdn/{6SWGOABM.js → CUQRFILK.js} +1 -1
- package/dist/cdn/CVTNS4ZW.js +2 -0
- package/dist/cdn/D4HCATE5.js +2 -0
- package/dist/cdn/DHYGUT4H.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DKLOOOBU.js +2 -0
- package/dist/cdn/DM7VOJLG.js +2 -0
- package/dist/cdn/DMK27J6W.js +2 -0
- package/dist/cdn/{3KPPK6JG.js → DWYPBWH7.js} +1 -1
- package/dist/cdn/EFRZQV4R.js +2 -0
- package/dist/cdn/F3NWTLHV.js +2 -0
- package/dist/cdn/F5H4HXRA.js +2 -0
- package/dist/cdn/F6HWYMLX.js +2 -0
- package/dist/cdn/FASMUSKO.js +2 -0
- package/dist/cdn/FD6VNHL5.js +2 -0
- package/dist/cdn/FJFIDF5X.js +2 -0
- package/dist/cdn/FKLTSNHW.js +2 -0
- package/dist/cdn/FLYZR7QZ.js +2 -0
- package/dist/cdn/{RZKOBNPA.js → FMZ7VG53.js} +1 -1
- package/dist/cdn/FWMG52AT.js +2 -0
- package/dist/cdn/G4LVXPLG.js +2 -0
- package/dist/cdn/GGIMBRK5.js +2 -0
- package/dist/cdn/GH3XYO4N.js +2 -0
- package/dist/cdn/GQ4X2OQC.js +2 -0
- package/dist/cdn/H6OMFL4C.js +2 -0
- package/dist/cdn/HFQIDIEB.js +2 -0
- package/dist/cdn/HTH5EB4X.js +2 -0
- package/dist/cdn/{3VB4KSXM.js → HXXSSS5Y.js} +1 -1
- package/dist/cdn/I54WYWFN.js +2 -0
- package/dist/cdn/IOP2EC5Y.js +2 -0
- package/dist/cdn/IPNE6GDG.js +2 -0
- package/dist/cdn/IUYFTZHO.js +2 -0
- package/dist/cdn/{ISVN563X.js → J3MBWPYJ.js} +1 -1
- package/dist/cdn/J65IBMKU.js +2 -0
- package/dist/cdn/J7EXMBEP.js +2 -0
- package/dist/cdn/JQDPL76A.js +2 -0
- package/dist/cdn/{RWYSLJFS.js → JU5FEMV5.js} +1 -1
- package/dist/cdn/K3KC5TPO.js +2 -0
- package/dist/cdn/KAOEUJGH.js +2 -0
- package/dist/cdn/KOR4DYKT.js +2 -0
- package/dist/cdn/KQ64XM4H.js +2 -0
- package/dist/cdn/{O63QYVPR.js → KSWOOKHU.js} +1 -1
- package/dist/cdn/KYZ65ICN.js +2 -0
- package/dist/cdn/L47MJPUD.js +2 -0
- package/dist/cdn/{CKF3HEXO.js → LGSKYEBT.js} +1 -1
- package/dist/cdn/{OFWHQQ3T.js → LO2P3XQL.js} +1 -1
- package/dist/cdn/LUB3SEVD.js +2 -0
- package/dist/cdn/M2UESRI2.js +2 -0
- package/dist/cdn/{NKMMLWMY.js → M65UUX2N.js} +1 -1
- package/dist/cdn/MFM5H6QD.js +2 -0
- package/dist/cdn/MH2UJM2V.js +2 -0
- package/dist/cdn/MRXU2NCN.js +2 -0
- package/dist/cdn/NL25RJTH.js +2 -0
- package/dist/cdn/NQREOOD2.js +2 -0
- package/dist/cdn/NSQP35ZL.js +2 -0
- package/dist/cdn/NXWKWQ5V.js +2 -0
- package/dist/cdn/{2VQ4SQ6E.js → O3AFQFUF.js} +1 -1
- package/dist/cdn/O4YJ665R.js +2 -0
- package/dist/cdn/O6ITH3QQ.js +2 -0
- package/dist/cdn/{T6FWGIF5.js → OSKBKN3N.js} +1 -1
- package/dist/cdn/PAL5PWBK.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/PMLCHLIE.js +2 -0
- package/dist/cdn/PMPJTYON.js +2 -0
- package/dist/cdn/PMT6RP6F.js +2 -0
- package/dist/cdn/PXDYPEJ6.js +2 -0
- package/dist/cdn/QG52PKXR.js +2 -0
- package/dist/cdn/QNRP4GC4.js +2 -0
- package/dist/cdn/QUCBI2DK.js +2 -0
- package/dist/cdn/{Z3MFTUAY.js → R44SMF4M.js} +1 -1
- package/dist/cdn/{WHJTD6F6.js → RBEBWODD.js} +1 -1
- package/dist/cdn/RCVILOGX.js +2 -0
- package/dist/cdn/{XJAWMEAX.js → RNZ5MJMR.js} +1 -1
- package/dist/cdn/SRIC7E4A.js +2 -0
- package/dist/cdn/SX4QOMV2.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → TFGN3C6X.js} +1 -1
- package/dist/cdn/{L4DOJVLT.js → TIIHP3SW.js} +1 -1
- package/dist/cdn/UH3VBILU.js +2 -0
- package/dist/cdn/UHHRJXZZ.js +2 -0
- package/dist/cdn/UKHGKDAO.js +2 -0
- package/dist/cdn/{Y4OMJTVI.js → UQFOOWZT.js} +1 -1
- package/dist/cdn/UR3BQTVO.js +3 -0
- package/dist/cdn/UZEOHREL.js +2 -0
- package/dist/cdn/VDIG2VCX.js +2 -0
- package/dist/cdn/{QBOTNUZA.js → VG5XUVDY.js} +1 -1
- package/dist/cdn/{LZMQVYXJ.js → VHTIGB7T.js} +1 -1
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/VXPP5IWU.js +2 -0
- package/dist/cdn/W24BZ255.js +2 -0
- package/dist/cdn/W257N36J.js +2 -0
- package/dist/cdn/WJNSGWHI.js +2 -0
- package/dist/cdn/WUMVVIVR.js +2 -0
- package/dist/cdn/WX3MK3S3.js +2 -0
- package/dist/cdn/{KCNDBMLL.js → WXRBIN4T.js} +1 -1
- package/dist/cdn/X2DWU333.js +4 -0
- package/dist/cdn/XCOABOUF.js +2 -0
- package/dist/cdn/XE2PPWZF.js +2 -0
- package/dist/cdn/{JE7COWZ4.js → XG7NZDFJ.js} +1 -1
- package/dist/cdn/XNYOZULC.js +2 -0
- package/dist/cdn/XRLXZHMJ.js +2 -0
- package/dist/cdn/XU27LX4X.js +2 -0
- package/dist/cdn/XURLGFDG.js +2 -0
- package/dist/cdn/YBG5325Y.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YWJF7JUY.js +2 -0
- package/dist/cdn/Z3JNHLOQ.js +2 -0
- package/dist/cdn/{AJYPMLTJ.js → ZLRHMY5Z.js} +1 -1
- package/dist/cdn/{EOLQCEAO.js → ZOJHKEKI.js} +1 -1
- package/dist/cdn/ZPSUPHPX.js +2 -0
- package/dist/cdn/ZPVFMZUH.js +2 -0
- package/dist/cdn/ZRWKMT3E.js +2 -0
- package/dist/cdn/ZSBHMYFT.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/explodeGeometry16.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry24.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry32.json +1 -0
- package/dist/cdn/assets/icon/integration16.json +1 -0
- package/dist/cdn/assets/icon/integration24.json +1 -0
- package/dist/cdn/assets/icon/integration32.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/spatiotemporalCatalog16.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog24.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog32.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/resources8.js +4 -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 +14 -10
- package/dist/components/calcite-autocomplete/customElement.js +43 -29
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.js +10 -5
- 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 +32 -26
- package/dist/components/calcite-dialog/customElement.js +10 -10
- package/dist/components/calcite-dropdown/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown/customElement.js +50 -11
- 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 +20 -14
- package/dist/components/calcite-flow-item/customElement.js +11 -8
- 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 +5 -3
- package/dist/components/calcite-label/customElement.js +2 -2
- 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 +13 -2
- package/dist/components/calcite-menu/customElement.js +53 -33
- package/dist/components/calcite-menu-item/customElement.d.ts +15 -5
- package/dist/components/calcite-menu-item/customElement.js +18 -63
- 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 +16 -10
- package/dist/components/calcite-panel/customElement.js +64 -13
- 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 +25 -15
- package/dist/components/calcite-sheet/customElement.js +25 -28
- 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 +17 -8
- 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 +26 -26
- package/dist/types/lumina.d.ts +28 -17
- package/dist/types/preact.d.ts +28 -17
- package/dist/types/react.d.ts +28 -17
- package/dist/types/stencil.d.ts +30 -19
- package/dist/utils/date.d.ts +2 -2
- package/package.json +15 -14
- package/dist/cdn/25HEUF62.js +0 -2
- package/dist/cdn/27TMS7TL.js +0 -2
- package/dist/cdn/2D5TGEGM.js +0 -2
- package/dist/cdn/2HYBPCP5.js +0 -2
- package/dist/cdn/2MVXV2MI.js +0 -2
- package/dist/cdn/3IIMBPGI.js +0 -2
- package/dist/cdn/4FFUO6AL.js +0 -2
- package/dist/cdn/4STE75YI.js +0 -2
- package/dist/cdn/524GQTNG.js +0 -2
- package/dist/cdn/55ECBMKY.js +0 -2
- package/dist/cdn/5BGGNWJQ.js +0 -2
- package/dist/cdn/5OJ3Q4SI.js +0 -2
- package/dist/cdn/5SJ7DUTY.js +0 -2
- package/dist/cdn/5TUWUQHN.js +0 -3
- package/dist/cdn/6JPWON4E.js +0 -2
- package/dist/cdn/6QSTWKNM.js +0 -2
- package/dist/cdn/6SJW5IBJ.js +0 -2
- package/dist/cdn/6UNW5QUY.js +0 -2
- package/dist/cdn/6XR57LJ6.js +0 -2
- package/dist/cdn/75TN3ELK.js +0 -2
- package/dist/cdn/7HV3O3DF.js +0 -2
- package/dist/cdn/7KYHXTZ7.js +0 -2
- package/dist/cdn/7QATBQUC.js +0 -2
- package/dist/cdn/7WN6WR2B.js +0 -2
- package/dist/cdn/AGH5I4NC.js +0 -2
- package/dist/cdn/AQJNAUQZ.js +0 -2
- package/dist/cdn/AXRVR7RO.js +0 -2
- package/dist/cdn/BDIWM5DD.js +0 -2
- package/dist/cdn/BJOJINNV.js +0 -2
- package/dist/cdn/BLWTCPBG.js +0 -2
- package/dist/cdn/BRRREDR5.js +0 -2
- package/dist/cdn/C2SFDYFY.js +0 -4
- package/dist/cdn/CA2SBV2Y.js +0 -2
- package/dist/cdn/CL5AZEAL.js +0 -2
- package/dist/cdn/DAE6OWX6.js +0 -2
- package/dist/cdn/DIIBT6ES.js +0 -2
- package/dist/cdn/DQBHDK7Y.js +0 -2
- package/dist/cdn/DXYF2XAM.js +0 -2
- package/dist/cdn/EDSYBZIF.js +0 -2
- package/dist/cdn/EKQRORSO.js +0 -2
- package/dist/cdn/ESHAWAWL.js +0 -2
- package/dist/cdn/ET7FYLD3.js +0 -2
- package/dist/cdn/F5S74A6J.js +0 -2
- package/dist/cdn/FEIOKH52.js +0 -2
- package/dist/cdn/FF3BNERI.js +0 -2
- package/dist/cdn/FU52LD3F.js +0 -2
- package/dist/cdn/G2XUNH4V.js +0 -2
- package/dist/cdn/G3Y3LVCH.js +0 -2
- package/dist/cdn/GH2UFRFZ.js +0 -2
- package/dist/cdn/GQHRGQXT.js +0 -2
- package/dist/cdn/GYJEWH7E.js +0 -2
- package/dist/cdn/H4DY4JG2.js +0 -2
- package/dist/cdn/H5PHSNTL.js +0 -2
- package/dist/cdn/H6QON2TD.js +0 -2
- package/dist/cdn/HI4AC5NT.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/HRLK2RSF.js +0 -2
- package/dist/cdn/HYS3KXOM.js +0 -2
- package/dist/cdn/IMZBK4NI.js +0 -2
- package/dist/cdn/IQFKCBYR.js +0 -2
- package/dist/cdn/J5H2LW3F.js +0 -2
- package/dist/cdn/JJQGOFEM.js +0 -2
- package/dist/cdn/JPSCTBEO.js +0 -2
- package/dist/cdn/KHGZVW5S.js +0 -2
- package/dist/cdn/KHVMN3I6.js +0 -4
- package/dist/cdn/KNOX6XCS.js +0 -2
- package/dist/cdn/KWIJFLPJ.js +0 -2
- package/dist/cdn/KZ3ACECQ.js +0 -2
- package/dist/cdn/L77XFD22.js +0 -2
- package/dist/cdn/LB3LM7KW.js +0 -2
- package/dist/cdn/LF3SYGBF.js +0 -2
- package/dist/cdn/LFL2NOMX.js +0 -2
- package/dist/cdn/LII6G3V3.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LMPBTORD.js +0 -2
- package/dist/cdn/LQJYSCJD.js +0 -2
- package/dist/cdn/M2KR7ZH5.js +0 -2
- package/dist/cdn/MEMDH5M4.js +0 -2
- package/dist/cdn/MKFZEFQ6.js +0 -2
- package/dist/cdn/MOSQZFYT.js +0 -2
- package/dist/cdn/MS7U4EKG.js +0 -2
- package/dist/cdn/N3D6FMEH.js +0 -2
- package/dist/cdn/NTJQBE2P.js +0 -2
- package/dist/cdn/NVF4K6HP.js +0 -2
- package/dist/cdn/OQ4ME7QP.js +0 -2
- package/dist/cdn/P2BT5ISA.js +0 -2
- package/dist/cdn/PKFY2P43.js +0 -2
- package/dist/cdn/PQ7DCUPL.js +0 -2
- package/dist/cdn/PZXDAKVC.js +0 -2
- package/dist/cdn/Q6HQOCPI.js +0 -2
- package/dist/cdn/QB2FASAQ.js +0 -2
- package/dist/cdn/QM74WXQL.js +0 -2
- package/dist/cdn/QSYX3KO4.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QXDIQQGO.js +0 -2
- package/dist/cdn/RFXCFK6K.js +0 -2
- package/dist/cdn/RUVRJVVT.js +0 -2
- package/dist/cdn/RWITZVQC.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/SA35OSIJ.js +0 -2
- package/dist/cdn/SOLIHAFU.js +0 -2
- package/dist/cdn/SRKLCLO7.js +0 -2
- package/dist/cdn/SUMMJWW7.js +0 -2
- package/dist/cdn/TD3YG3I3.js +0 -2
- package/dist/cdn/TMENZ2VZ.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/U32ZDPXB.js +0 -2
- package/dist/cdn/U34FLFGP.js +0 -2
- package/dist/cdn/UWAER5W3.js +0 -2
- package/dist/cdn/VCM2ZHPT.js +0 -2
- package/dist/cdn/VCQ5M2XF.js +0 -2
- package/dist/cdn/VTB66B24.js +0 -2
- package/dist/cdn/VV7SRS22.js +0 -20
- package/dist/cdn/VYBYSRSC.js +0 -2
- package/dist/cdn/WBIPNNGL.js +0 -2
- package/dist/cdn/XGSEBUKD.js +0 -2
- package/dist/cdn/XVHDY6QN.js +0 -2
- package/dist/cdn/Y47AW44L.js +0 -2
- package/dist/cdn/Y5DQ7II6.js +0 -2
- package/dist/cdn/Z57BICST.js +0 -2
- package/dist/cdn/ZMJFSBIG.js +0 -2
- package/dist/cdn/ZO734Y5U.js +0 -2
- package/dist/cdn/ZW25BB34.js +0 -2
- package/dist/cdn/ZYLB2RT3.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,9 +17,11 @@ 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
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* [Deprecated] The `"default"` value is deprecated in v3.3.0, removal target v6.0.0 - use `"block"` instead.
|
|
23
|
+
*
|
|
24
|
+
* @default "block"
|
|
23
25
|
*/
|
|
24
26
|
accessor layout: "block" | "inline" | "inline-space-between" | "default";
|
|
25
27
|
/**
|
|
@@ -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
|
};
|
|
@@ -11,7 +11,7 @@ class Label extends LitElement {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.alignment = "start";
|
|
14
|
-
this.layout = "
|
|
14
|
+
this.layout = "block";
|
|
15
15
|
this.scale = "m";
|
|
16
16
|
this.calciteInternalLabelClick = createEvent({ bubbles: false, cancelable: false });
|
|
17
17
|
this.listen("click", this.labelClickHandler);
|
|
@@ -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
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
3
4
|
|
|
4
5
|
export abstract class Menu extends LitElement {
|
|
5
6
|
/**
|
|
@@ -14,8 +15,18 @@ export abstract class Menu extends LitElement {
|
|
|
14
15
|
* @default "horizontal"
|
|
15
16
|
*/
|
|
16
17
|
accessor layout: Layout;
|
|
17
|
-
/**
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Replace localized message strings with your own strings.
|
|
20
|
+
*
|
|
21
|
+
* _**Note**: Individual message keys may change between releases._
|
|
22
|
+
*/
|
|
23
|
+
accessor messageOverrides: { more?: string | undefined; };
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the size of the component.
|
|
26
|
+
*
|
|
27
|
+
* @default "m"
|
|
28
|
+
*/
|
|
29
|
+
accessor scale: Scale;
|
|
19
30
|
/**
|
|
20
31
|
* Sets focus on the component's first focusable element.
|
|
21
32
|
*
|
|
@@ -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,10 +16,11 @@ class Menu extends LitElement {
|
|
|
15
16
|
this.messages = useT9n();
|
|
16
17
|
this.focusSetter = useSetFocus()(this);
|
|
17
18
|
this.layout = "horizontal";
|
|
18
|
-
this.
|
|
19
|
+
this.scale = "m";
|
|
20
|
+
this.listen("keydown", this.calciteInternalNavMenuItemKeyEvent);
|
|
19
21
|
}
|
|
20
22
|
static {
|
|
21
|
-
this.properties = { label: 1, layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }] };
|
|
23
|
+
this.properties = { label: 1, layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], scale: [3, {}, { reflect: true }] };
|
|
22
24
|
}
|
|
23
25
|
static {
|
|
24
26
|
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
@@ -30,59 +32,76 @@ class Menu extends LitElement {
|
|
|
30
32
|
return this.focusSetter(() => this.menuItems[0], options);
|
|
31
33
|
}
|
|
32
34
|
willUpdate(changes) {
|
|
33
|
-
if (changes.has("layout") && (this.hasUpdated || this.layout !== "horizontal")) {
|
|
34
|
-
this.
|
|
35
|
+
if (changes.has("layout") && (this.hasUpdated || this.layout !== "horizontal") || changes.has("scale") && (this.hasUpdated || this.scale !== "m")) {
|
|
36
|
+
this.setMenuItemProperties(this.menuItems);
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
handleGlobalAttributesChanged() {
|
|
38
40
|
this.requestUpdate();
|
|
39
|
-
this.
|
|
41
|
+
this.setMenuItemProperties(this.menuItems);
|
|
40
42
|
}
|
|
41
43
|
calciteInternalNavMenuItemKeyEvent(event) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
if (event.defaultPrevented) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const target = this.getMenuItemFromEvent(event);
|
|
48
|
+
if (!target) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const submenuItems = this.getSubmenuItems(target);
|
|
52
|
+
const hasSubmenu = submenuItems.length > 0;
|
|
53
|
+
const key = event.key;
|
|
54
|
+
let handled = false;
|
|
46
55
|
if (key === "ArrowDown") {
|
|
47
56
|
if (target.layout === "vertical") {
|
|
48
57
|
focusElementInGroup(this.menuItems, target, "next", false, false);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
handled = true;
|
|
59
|
+
} else if (target.open && hasSubmenu) {
|
|
60
|
+
submenuItems[0].setFocus();
|
|
61
|
+
handled = true;
|
|
53
62
|
}
|
|
54
63
|
} else if (key === "ArrowUp") {
|
|
55
|
-
if (
|
|
64
|
+
if (target.layout === "vertical") {
|
|
56
65
|
focusElementInGroup(this.menuItems, target, "previous", false, false);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
handled = true;
|
|
67
|
+
} else if (target.open && hasSubmenu) {
|
|
68
|
+
submenuItems[submenuItems.length - 1].setFocus();
|
|
69
|
+
handled = true;
|
|
61
70
|
}
|
|
62
71
|
} else if (key === "ArrowRight") {
|
|
63
72
|
if (this.layout === "horizontal") {
|
|
64
73
|
focusElementInGroup(this.menuItems, target, "next", false, false);
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
handled = true;
|
|
75
|
+
} else if (target.open && hasSubmenu) {
|
|
76
|
+
submenuItems[0].setFocus();
|
|
77
|
+
handled = true;
|
|
69
78
|
}
|
|
70
79
|
} else if (key === "ArrowLeft") {
|
|
71
80
|
if (this.layout === "horizontal") {
|
|
72
81
|
focusElementInGroup(this.menuItems, target, "previous", false, false);
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
handled = true;
|
|
83
|
+
} else if (target.parentElement?.tagName === "CALCITE-MENU-ITEM") {
|
|
84
|
+
this.focusParentElement(target);
|
|
85
|
+
handled = true;
|
|
77
86
|
}
|
|
78
|
-
} else if (key === "Escape") {
|
|
79
|
-
this.focusParentElement(
|
|
87
|
+
} else if (key === "Escape" && target.parentElement?.tagName === "CALCITE-MENU-ITEM") {
|
|
88
|
+
this.focusParentElement(target);
|
|
89
|
+
handled = true;
|
|
80
90
|
}
|
|
81
|
-
|
|
91
|
+
if (handled) {
|
|
92
|
+
event.preventDefault();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
getMenuItemFromEvent(event) {
|
|
96
|
+
const target = event.composedPath().find(isMenuItem);
|
|
97
|
+
return target && this.menuItems.includes(target) ? target : void 0;
|
|
98
|
+
}
|
|
99
|
+
getSubmenuItems(menuItem) {
|
|
100
|
+
return Array.from(menuItem.children).filter(isMenuItem).filter((child) => child.matches('[slot="submenu-item"]'));
|
|
82
101
|
}
|
|
83
102
|
handleMenuSlotChange(event) {
|
|
84
103
|
this.menuItems = slotChangeGetAssignedElements(event);
|
|
85
|
-
this.
|
|
104
|
+
this.setMenuItemProperties(this.menuItems);
|
|
86
105
|
}
|
|
87
106
|
focusParentElement(el) {
|
|
88
107
|
const parentEl = el.parentElement;
|
|
@@ -91,9 +110,10 @@ class Menu extends LitElement {
|
|
|
91
110
|
parentEl.open = false;
|
|
92
111
|
}
|
|
93
112
|
}
|
|
94
|
-
|
|
113
|
+
setMenuItemProperties(items) {
|
|
95
114
|
items.forEach((item) => {
|
|
96
|
-
item.layout = layout;
|
|
115
|
+
item.layout = this.layout;
|
|
116
|
+
item.scale = this.scale;
|
|
97
117
|
if (this.getEffectiveRole() === "menubar") {
|
|
98
118
|
item.isTopLevelItem = true;
|
|
99
119
|
item.topLevelMenuLayout = this.layout;
|
|
@@ -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, Scale } 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.
|
|
@@ -55,6 +59,12 @@ export abstract class MenuItem extends LitElement {
|
|
|
55
59
|
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
56
60
|
*/
|
|
57
61
|
accessor rel: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the size of the component.
|
|
64
|
+
*
|
|
65
|
+
* @default "m"
|
|
66
|
+
*/
|
|
67
|
+
accessor scale: Scale;
|
|
58
68
|
/**
|
|
59
69
|
* Specifies where to open the linked document defined in the `href` property.
|
|
60
70
|
*
|