@esri/calcite-components 5.2.0-next.3 → 5.2.0-next.31
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/275HTM6C.js +2 -0
- package/dist/cdn/{5YMFALSV.js → 2DNDO7OS.js} +1 -1
- package/dist/cdn/2H7GADY6.js +2 -0
- package/dist/cdn/2KBNA5VV.js +2 -0
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/2PB3PUJA.js +2 -0
- package/dist/cdn/{GTSHC732.js → 2YFHVR5X.js} +1 -1
- package/dist/cdn/34LKI7AN.js +2 -0
- package/dist/cdn/34T5T2XB.js +2 -0
- package/dist/cdn/{FLRXMVF6.js → 3GDCEW2O.js} +1 -1
- package/dist/cdn/{ZFKR3EYV.js → 4DQGC5JY.js} +1 -1
- package/dist/cdn/4XIM5ILC.js +3 -0
- package/dist/cdn/{I5C2XC5I.js → 53PNWBFM.js} +1 -1
- package/dist/cdn/554NDE73.js +2 -0
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/{CM6N5CTY.js → 5HDPDQLH.js} +1 -1
- package/dist/cdn/{5TLZJ44V.js → 5IPGJCLD.js} +1 -1
- package/dist/cdn/{WVDLNASH.js → 5JJPS3HK.js} +1 -1
- package/dist/cdn/5PHIIVOU.js +2 -0
- package/dist/cdn/{VI4U7JDU.js → 5RP24S6I.js} +2 -2
- package/dist/cdn/5WA7VCUZ.js +2 -0
- package/dist/cdn/{YKKTX575.js → 5WH4GGFT.js} +1 -1
- package/dist/cdn/5XTVVQ6D.js +2 -0
- package/dist/cdn/{EMVLBTN2.js → 62XMTWRN.js} +1 -1
- package/dist/cdn/6ICS6SMF.js +2 -0
- package/dist/cdn/6TS5ZWQ7.js +2 -0
- package/dist/cdn/6YTP7R4Z.js +2 -0
- package/dist/cdn/73LRUXQN.js +2 -0
- package/dist/cdn/7UDX2IW2.js +2 -0
- package/dist/cdn/{5OIVOI4E.js → 7ZO4IPZP.js} +1 -1
- package/dist/cdn/{74BKHZU7.js → AGIZ5KII.js} +1 -1
- package/dist/cdn/ASAPFCDE.js +2 -0
- package/dist/cdn/B2S475VC.js +2 -0
- package/dist/cdn/{XVSPVAAK.js → B32RTCOC.js} +1 -1
- package/dist/cdn/B35DWLY3.js +2 -0
- package/dist/cdn/B5SOOORA.js +2 -0
- package/dist/cdn/B64U7QND.js +2 -0
- package/dist/cdn/{77P5NIL6.js → BAG3AJA4.js} +1 -1
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{5HLTQ2LF.js → BN3I74NC.js} +1 -1
- package/dist/cdn/BXPFZXKS.js +2 -0
- package/dist/cdn/BXZHLQWU.js +2 -0
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/C7ODFPXC.js +2 -0
- package/dist/cdn/CIZGCFP6.js +2 -0
- package/dist/cdn/CN7PTHEB.js +2 -0
- package/dist/cdn/CU7CJFBQ.js +2 -0
- package/dist/cdn/CXNZFM4C.js +2 -0
- package/dist/cdn/D5VAYHIC.js +2 -0
- package/dist/cdn/DDD32FUC.js +2 -0
- package/dist/cdn/DGQGNFWC.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DM6ECIF2.js +2 -0
- package/dist/cdn/DMK27J6W.js +2 -0
- package/dist/cdn/{LXNSAHEI.js → DSZP76JS.js} +1 -1
- package/dist/cdn/DX4UNEXL.js +2 -0
- package/dist/cdn/EBF72GF4.js +2 -0
- package/dist/cdn/{Y5ML7MYH.js → EJ4Q77N6.js} +1 -1
- package/dist/cdn/{Y3AQSDDG.js → ESLOUCHV.js} +1 -1
- package/dist/cdn/ETODEMQI.js +2 -0
- package/dist/cdn/F3AVUHA6.js +2 -0
- package/dist/cdn/FAYBZ4NA.js +2 -0
- package/dist/cdn/FRJN2MYE.js +2 -0
- package/dist/cdn/G6JEYMUX.js +2 -0
- package/dist/cdn/GJYVDQON.js +2 -0
- package/dist/cdn/GL2M4Y47.js +2 -0
- package/dist/cdn/GOBF5ORA.js +2 -0
- package/dist/cdn/GSG6GHLN.js +2 -0
- package/dist/cdn/GTTVUYZE.js +2 -0
- package/dist/cdn/{ZMPSTGQA.js → GVQVBOVP.js} +1 -1
- package/dist/cdn/GVXEBJEW.js +2 -0
- package/dist/cdn/GXI7Q6QU.js +2 -0
- package/dist/cdn/H34AXDQR.js +2 -0
- package/dist/cdn/H6J4OSM7.js +2 -0
- package/dist/cdn/HFKP45FH.js +2 -0
- package/dist/cdn/{PZ2JFTG3.js → HIHNZASH.js} +1 -1
- package/dist/cdn/HX5G6PEU.js +2 -0
- package/dist/cdn/I7VLBVVR.js +2 -0
- package/dist/cdn/{G2DHRTQC.js → IA4HJQWG.js} +1 -1
- package/dist/cdn/IJ5EZCER.js +2 -0
- package/dist/cdn/IKBEV42F.js +2 -0
- package/dist/cdn/ILFOOTH6.js +2 -0
- package/dist/cdn/IRVIPQ7D.js +2 -0
- package/dist/cdn/IXX32AEN.js +2 -0
- package/dist/cdn/JFKJED36.js +2 -0
- package/dist/cdn/JGCDFFLC.js +2 -0
- package/dist/cdn/JGO735CO.js +2 -0
- package/dist/cdn/JSGT6DCJ.js +2 -0
- package/dist/cdn/JZA7C6P3.js +2 -0
- package/dist/cdn/{5UK4QYJH.js → K4PSZCHX.js} +1 -1
- package/dist/cdn/KCNYR66O.js +2 -0
- package/dist/cdn/KDQXAYDJ.js +2 -0
- package/dist/cdn/KMRQDEB2.js +2 -0
- package/dist/cdn/LG7NMJYN.js +2 -0
- package/dist/cdn/LPRA3T32.js +2 -0
- package/dist/cdn/MIXAK4SX.js +2 -0
- package/dist/cdn/MQDJHBBP.js +2 -0
- package/dist/cdn/N3NMWUPR.js +2 -0
- package/dist/cdn/NEUPWH65.js +2 -0
- package/dist/cdn/NQY3QGUP.js +2 -0
- package/dist/cdn/O3ZI5ANT.js +2 -0
- package/dist/cdn/O6SPXDVK.js +2 -0
- package/dist/cdn/{46V4FBEL.js → O7NYKDOG.js} +1 -1
- package/dist/cdn/OAT4WOFR.js +2 -0
- package/dist/cdn/OHEH32P2.js +2 -0
- package/dist/cdn/OIYAOKXL.js +2 -0
- package/dist/cdn/OMBL5LNO.js +2 -0
- package/dist/cdn/OSBBG6HI.js +20 -0
- package/dist/cdn/{BPEX76AH.js → P2S6K7H4.js} +1 -1
- package/dist/cdn/P6CXN7P4.js +2 -0
- package/dist/cdn/PCWHJTFI.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/PUPGDIZ5.js +2 -0
- package/dist/cdn/QN35D4ON.js +2 -0
- package/dist/cdn/QPZWBDRN.js +2 -0
- package/dist/cdn/{E7ZJND2K.js → RA3ZTRG2.js} +1 -1
- package/dist/cdn/{C4T3FNZ6.js → RT3EYWNV.js} +2 -2
- package/dist/cdn/{MJULDZYK.js → S5W6RC6X.js} +1 -1
- package/dist/cdn/{GFTCJY52.js → S6KZLK5M.js} +1 -1
- package/dist/cdn/SAW4B7WT.js +2 -0
- package/dist/cdn/SIGHPEZ7.js +2 -0
- package/dist/cdn/SIYPKMOX.js +2 -0
- package/dist/cdn/SKFU336B.js +2 -0
- package/dist/cdn/SRJHFMFP.js +2 -0
- package/dist/cdn/{UDGWJQLI.js → SRNYDEOY.js} +1 -1
- package/dist/cdn/{OF67Q5H4.js → ST5SCEF4.js} +1 -1
- package/dist/cdn/SZHLLS6U.js +2 -0
- package/dist/cdn/TBX6B7NS.js +2 -0
- package/dist/cdn/{X2KGYKIA.js → TSZKDMVH.js} +1 -1
- package/dist/cdn/U5K5WQQL.js +2 -0
- package/dist/cdn/URIFYT4D.js +2 -0
- package/dist/cdn/{VYOTQ57Z.js → UYUBR74C.js} +1 -1
- package/dist/cdn/VLZTSSQW.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/{HURRNHB4.js → W64C3RNL.js} +1 -1
- package/dist/cdn/WBRB2MAG.js +2 -0
- package/dist/cdn/{2V5PWFGL.js → WKGZT2PG.js} +1 -1
- package/dist/cdn/{LGJJ3IVS.js → WQBBH5FE.js} +1 -1
- package/dist/cdn/XHEIS6D3.js +2 -0
- package/dist/cdn/XKRS7NPC.js +2 -0
- package/dist/cdn/{EDVESYWS.js → XNTVXLSV.js} +1 -1
- package/dist/cdn/XOGICJGV.js +2 -0
- package/dist/cdn/XPIK2PAN.js +2 -0
- package/dist/cdn/{5ERAQVFI.js → XZZQRQ65.js} +1 -1
- package/dist/cdn/Y42AXULS.js +2 -0
- package/dist/cdn/YA7ARNQJ.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YLAZZLRL.js +2 -0
- package/dist/cdn/YM7MW4ZE.js +2 -0
- package/dist/cdn/YUYGZXBT.js +2 -0
- package/dist/cdn/{46YJO7ZX.js → YWGZAN5R.js} +1 -1
- package/dist/cdn/ZJHYIAS5.js +2 -0
- package/dist/cdn/{ILPS2EH6.js → ZVDNCEBK.js} +1 -1
- package/dist/cdn/ZXZ7BCV3.js +2 -0
- package/dist/cdn/{KFBRWS3D.js → ZYUHSMKB.js} +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/arcgisEnterprise16.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise24.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise32.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/smartSearch16.json +1 -0
- package/dist/cdn/assets/icon/smartSearch24.json +1 -0
- package/dist/cdn/assets/icon/smartSearch32.json +1 -0
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/userSave16.json +1 -0
- package/dist/cdn/assets/icon/userSave24.json +1 -0
- package/dist/cdn/assets/icon/userSave32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
- package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.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.en.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/ExpandToggle.js +12 -46
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +29 -34
- package/dist/chunks/floating-ui.js +23 -13
- package/dist/chunks/label.js +1 -140
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/manager.js +6 -6
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/resources2.js +10 -14
- package/dist/chunks/resources3.js +17 -9
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -5
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useForm.js +9 -7
- package/dist/chunks/useInlineEditable.js +53 -0
- package/dist/chunks/useLabel.js +150 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +28 -24
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +7 -3
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.d.ts +10 -9
- package/dist/components/calcite-action/customElement.js +26 -10
- package/dist/components/calcite-action-bar/customElement.d.ts +21 -8
- package/dist/components/calcite-action-bar/customElement.js +273 -63
- package/dist/components/calcite-action-group/customElement.d.ts +17 -6
- package/dist/components/calcite-action-group/customElement.js +61 -51
- package/dist/components/calcite-action-menu/customElement.d.ts +13 -5
- package/dist/components/calcite-action-menu/customElement.js +80 -38
- package/dist/components/calcite-action-pad/customElement.d.ts +9 -5
- package/dist/components/calcite-action-pad/customElement.js +2 -2
- package/dist/components/calcite-alert/customElement.d.ts +7 -5
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.d.ts +11 -13
- package/dist/components/calcite-autocomplete/customElement.js +3 -3
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +12 -10
- package/dist/components/calcite-block-group/customElement.d.ts +2 -2
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.d.ts +7 -3
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +7 -7
- package/dist/components/calcite-button/customElement.js +4 -4
- package/dist/components/calcite-card/customElement.d.ts +7 -3
- package/dist/components/calcite-carousel/customElement.d.ts +12 -8
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +7 -7
- package/dist/components/calcite-checkbox/customElement.js +3 -9
- package/dist/components/calcite-chip/customElement.d.ts +7 -3
- package/dist/components/calcite-chip/customElement.js +5 -4
- package/dist/components/calcite-color-picker/customElement.d.ts +25 -21
- package/dist/components/calcite-color-picker/customElement.js +7 -3
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +30 -31
- package/dist/components/calcite-combobox/customElement.js +40 -36
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +3 -2
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +21 -17
- package/dist/components/calcite-date-picker/customElement.js +45 -23
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +4 -4
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +15 -10
- package/dist/components/calcite-dialog/customElement.d.ts +17 -15
- package/dist/components/calcite-dialog/customElement.js +5 -6
- package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
- package/dist/components/calcite-dropdown/customElement.js +11 -8
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown-item/customElement.js +3 -3
- package/dist/components/calcite-filter/customElement.d.ts +7 -3
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +15 -13
- package/dist/components/calcite-flow-item/customElement.js +9 -7
- package/dist/components/calcite-graph/customElement.d.ts +3 -3
- package/dist/components/calcite-graph/customElement.js +11 -15
- package/dist/components/calcite-handle/customElement.d.ts +12 -8
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +4 -4
- package/dist/components/calcite-icon/interfaces.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +19 -11
- package/dist/components/calcite-inline-editable/customElement.js +33 -19
- package/dist/components/calcite-inline-editable/index.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +62 -28
- package/dist/components/calcite-input/customElement.js +109 -24
- package/dist/components/calcite-input-date-picker/customElement.d.ts +47 -30
- package/dist/components/calcite-input-date-picker/customElement.js +97 -36
- package/dist/components/calcite-input-date-picker/index.js +1 -0
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +2 -4
- package/dist/components/calcite-input-number/customElement.d.ts +61 -29
- package/dist/components/calcite-input-number/customElement.js +99 -21
- package/dist/components/calcite-input-text/customElement.d.ts +57 -23
- package/dist/components/calcite-input-text/customElement.js +85 -17
- package/dist/components/calcite-input-time-picker/customElement.d.ts +46 -31
- package/dist/components/calcite-input-time-picker/customElement.js +49 -19
- package/dist/components/calcite-input-time-picker/index.js +1 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +630 -623
- package/dist/components/calcite-input-time-zone/customElement.js +18 -23
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +9 -5
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +9 -7
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item/interfaces.d.ts +3 -3
- package/dist/components/calcite-menu/customElement.d.ts +6 -2
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -3
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-meter/customElement.js +10 -10
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +9 -9
- package/dist/components/calcite-navigation-logo/customElement.js +1 -0
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +1 -0
- package/dist/components/calcite-notice/customElement.d.ts +7 -3
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.d.ts +1 -1
- package/dist/components/calcite-option/customElement.js +1 -0
- package/dist/components/calcite-pagination/customElement.d.ts +9 -5
- package/dist/components/calcite-pagination/customElement.js +3 -3
- package/dist/components/calcite-panel/customElement.d.ts +13 -11
- package/dist/components/calcite-panel/customElement.js +40 -8
- package/dist/components/calcite-popover/customElement.d.ts +8 -6
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-radio-button/customElement.js +4 -3
- package/dist/components/calcite-radio-button-group/customElement.d.ts +6 -2
- package/dist/components/calcite-rating/customElement.d.ts +9 -9
- package/dist/components/calcite-rating/customElement.js +4 -10
- 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 +13 -12
- package/dist/components/calcite-segmented-control/customElement.js +5 -11
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-select/customElement.d.ts +12 -12
- package/dist/components/calcite-select/customElement.js +3 -3
- package/dist/components/calcite-sheet/customElement.d.ts +11 -9
- package/dist/components/calcite-sheet/customElement.js +7 -22
- package/dist/components/calcite-shell/customElement.d.ts +2 -0
- package/dist/components/calcite-shell/customElement.js +65 -19
- package/dist/components/calcite-shell-panel/customElement.d.ts +11 -5
- package/dist/components/calcite-shell-panel/customElement.js +94 -30
- package/dist/components/calcite-slider/customElement.d.ts +19 -19
- package/dist/components/calcite-slider/customElement.js +23 -24
- package/dist/components/calcite-sort-handle/customElement.d.ts +21 -19
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +4 -4
- package/dist/components/calcite-split-button/customElement.d.ts +12 -14
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +9 -5
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +11 -7
- package/dist/components/calcite-stepper-item/customElement.js +9 -25
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +8 -6
- package/dist/components/calcite-switch/customElement.d.ts +19 -10
- package/dist/components/calcite-switch/customElement.js +5 -10
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +7 -3
- package/dist/components/calcite-tab-nav/customElement.js +65 -27
- package/dist/components/calcite-tab-title/customElement.d.ts +6 -2
- package/dist/components/calcite-tab-title/customElement.js +5 -1
- package/dist/components/calcite-table/customElement.d.ts +16 -6
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +10 -6
- 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.js +26 -15
- package/dist/components/calcite-tabs/customElement.d.ts +6 -0
- package/dist/components/calcite-tabs/customElement.js +14 -8
- package/dist/components/calcite-text-area/customElement.d.ts +11 -11
- package/dist/components/calcite-text-area/customElement.js +24 -23
- package/dist/components/calcite-tile/customElement.d.ts +2 -2
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +20 -16
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -4
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/controllers/useTime.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +18 -18
- package/dist/types/lumina.d.ts +22 -11
- package/dist/types/preact.d.ts +22 -11
- package/dist/types/react.d.ts +22 -11
- package/dist/types/stencil.d.ts +22 -11
- package/dist/utils/date.d.ts +2 -2
- package/package.json +14 -11
- package/dist/cdn/25REF2NN.js +0 -2
- package/dist/cdn/2HNTBRGI.js +0 -2
- package/dist/cdn/2KQYBSYT.js +0 -2
- package/dist/cdn/2QPDMP77.js +0 -2
- package/dist/cdn/2R5575FD.js +0 -2
- package/dist/cdn/2ZHE6WYE.js +0 -2
- package/dist/cdn/3E5PTGBR.js +0 -2
- package/dist/cdn/3I6JOWLC.js +0 -2
- package/dist/cdn/3QDH4BSH.js +0 -2
- package/dist/cdn/3Z5JAFWG.js +0 -2
- package/dist/cdn/45GYNS4N.js +0 -2
- package/dist/cdn/45OM3TVW.js +0 -2
- package/dist/cdn/4KPRVK5B.js +0 -2
- package/dist/cdn/4NKWSPPP.js +0 -2
- package/dist/cdn/4QUJLWDM.js +0 -2
- package/dist/cdn/55C3E7K2.js +0 -2
- package/dist/cdn/5MF7KGEH.js +0 -2
- package/dist/cdn/5P3KUKVG.js +0 -2
- package/dist/cdn/5SMFDB2H.js +0 -2
- package/dist/cdn/5TANECZK.js +0 -2
- package/dist/cdn/64Q6HGDE.js +0 -2
- package/dist/cdn/6T2ZPNFA.js +0 -2
- package/dist/cdn/7R2AK6N6.js +0 -2
- package/dist/cdn/A5BV4RXA.js +0 -2
- package/dist/cdn/ASUBNSLW.js +0 -2
- package/dist/cdn/AXKBFCNE.js +0 -2
- package/dist/cdn/B2TFN5WO.js +0 -2
- package/dist/cdn/B3XEP4OJ.js +0 -2
- package/dist/cdn/CPRYH6HJ.js +0 -2
- package/dist/cdn/CS5FMS2X.js +0 -2
- package/dist/cdn/DNCOUN25.js +0 -2
- package/dist/cdn/DZ3BSHVB.js +0 -2
- package/dist/cdn/ECM52CXF.js +0 -2
- package/dist/cdn/ECQHUL2I.js +0 -2
- package/dist/cdn/EUNOZE74.js +0 -2
- package/dist/cdn/F6A3EV5Z.js +0 -2
- package/dist/cdn/FA3N4SCO.js +0 -2
- package/dist/cdn/FFGBSJ3K.js +0 -2
- package/dist/cdn/FH3ISPWF.js +0 -2
- package/dist/cdn/FMFRALQU.js +0 -2
- package/dist/cdn/FP6LX7PQ.js +0 -2
- package/dist/cdn/FRW722GZ.js +0 -3
- package/dist/cdn/FVWMPMHM.js +0 -2
- package/dist/cdn/FW4A2RXA.js +0 -2
- package/dist/cdn/G3IACNMC.js +0 -2
- package/dist/cdn/G3MFBUAJ.js +0 -2
- package/dist/cdn/G4OJO3U4.js +0 -2
- package/dist/cdn/H5OQSDKX.js +0 -20
- package/dist/cdn/HAJB6MIB.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/HTYBEKT4.js +0 -2
- package/dist/cdn/I7GYAHCX.js +0 -2
- package/dist/cdn/IKHJ3B3O.js +0 -2
- package/dist/cdn/IKKOQYJ3.js +0 -2
- package/dist/cdn/J6NGVSKR.js +0 -2
- package/dist/cdn/JWS6J7PU.js +0 -2
- package/dist/cdn/KBAOMH37.js +0 -2
- package/dist/cdn/L4UV3JUD.js +0 -2
- package/dist/cdn/LGHZN3MI.js +0 -2
- package/dist/cdn/LJVNR3MM.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LZB4RQKP.js +0 -2
- package/dist/cdn/M7C3FAEE.js +0 -2
- package/dist/cdn/MKTDHS2D.js +0 -2
- package/dist/cdn/MYKQDV34.js +0 -2
- package/dist/cdn/NA2SOXT6.js +0 -2
- package/dist/cdn/NE4W2KYY.js +0 -2
- package/dist/cdn/NXAZFXVJ.js +0 -2
- package/dist/cdn/O4YDLMH4.js +0 -2
- package/dist/cdn/O6PZ7XSR.js +0 -2
- package/dist/cdn/OHEDJJP3.js +0 -2
- package/dist/cdn/PIPT523T.js +0 -2
- package/dist/cdn/PKZQRMZP.js +0 -2
- package/dist/cdn/PX6CN3BM.js +0 -2
- package/dist/cdn/PYIKGUJ2.js +0 -2
- package/dist/cdn/Q45HAOK7.js +0 -2
- package/dist/cdn/QCU7UPIO.js +0 -2
- package/dist/cdn/QFXBPBV6.js +0 -2
- package/dist/cdn/QSAWZORD.js +0 -2
- package/dist/cdn/QSMEIRS5.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/RQUJRPWK.js +0 -2
- package/dist/cdn/RWUXB3VT.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/S4DHIY5S.js +0 -2
- package/dist/cdn/SQVIEOWT.js +0 -2
- package/dist/cdn/SVCYJ4XS.js +0 -2
- package/dist/cdn/TVOZYOEI.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/UR3E5C47.js +0 -2
- package/dist/cdn/VFOFNA4N.js +0 -2
- package/dist/cdn/VHNQUJ3I.js +0 -2
- package/dist/cdn/WXVKYWR3.js +0 -2
- package/dist/cdn/WYHTLF5H.js +0 -2
- package/dist/cdn/XGOD2THM.js +0 -2
- package/dist/cdn/XH36YHWX.js +0 -2
- package/dist/cdn/XMMZONMQ.js +0 -2
- package/dist/cdn/XQKJ2MAY.js +0 -2
- package/dist/cdn/XWQGS5WX.js +0 -2
- package/dist/cdn/XWVX33VP.js +0 -2
- package/dist/cdn/XXX7LPUI.js +0 -2
- package/dist/cdn/XY6ZZY3N.js +0 -2
- package/dist/cdn/YIYK2AH7.js +0 -2
- package/dist/cdn/YPXCM33T.js +0 -2
- package/dist/cdn/YU26YM2P.js +0 -2
- package/dist/cdn/YVOGB4KL.js +0 -2
- package/dist/cdn/ZBDHEOSY.js +0 -2
- package/dist/cdn/ZU5TOIDV.js +0 -2
- package/dist/cdn/ZWWFCCZ7.js +0 -2
- /package/dist/cdn/{WXZMRXAK.js → 5IJ25RMA.js} +0 -0
|
@@ -13,21 +13,25 @@ export abstract class SortHandle extends LitElement {
|
|
|
13
13
|
* @default false
|
|
14
14
|
*/
|
|
15
15
|
accessor disabled: boolean;
|
|
16
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
17
|
-
accessor flipPlacements: FlipPlacement[];
|
|
16
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
17
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
18
18
|
/** Specifies an accessible label for the component. */
|
|
19
|
-
accessor label: string;
|
|
20
|
-
/**
|
|
19
|
+
accessor label: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Replace localized message strings with your own strings.
|
|
22
|
+
*
|
|
23
|
+
* _**Note**: Individual message keys may change between releases._
|
|
24
|
+
*/
|
|
21
25
|
accessor messageOverrides: {
|
|
22
|
-
reorder?: string;
|
|
23
|
-
addTo?: string;
|
|
24
|
-
moveTo?: string;
|
|
25
|
-
moveToTop?: string;
|
|
26
|
-
moveToBottom?: string;
|
|
27
|
-
moveUp?: string;
|
|
28
|
-
moveDown?: string;
|
|
29
|
-
repositionLabel?: string;
|
|
30
|
-
reposition?: string;
|
|
26
|
+
reorder?: string | undefined;
|
|
27
|
+
addTo?: string | undefined;
|
|
28
|
+
moveTo?: string | undefined;
|
|
29
|
+
moveToTop?: string | undefined;
|
|
30
|
+
moveToBottom?: string | undefined;
|
|
31
|
+
moveUp?: string | undefined;
|
|
32
|
+
moveDown?: string | undefined;
|
|
33
|
+
repositionLabel?: string | undefined;
|
|
34
|
+
reposition?: string | undefined;
|
|
31
35
|
};
|
|
32
36
|
/** Defines the "Move to" items. */
|
|
33
37
|
accessor moveToItems: SortMenuItem[];
|
|
@@ -60,9 +64,9 @@ export abstract class SortHandle extends LitElement {
|
|
|
60
64
|
*/
|
|
61
65
|
accessor scale: Scale;
|
|
62
66
|
/** Specifies the handle's current position. */
|
|
63
|
-
accessor setPosition: number;
|
|
67
|
+
accessor setPosition: number | undefined;
|
|
64
68
|
/** Specifies the total number of sortable items. */
|
|
65
|
-
accessor setSize: number;
|
|
69
|
+
accessor setSize: number | undefined;
|
|
66
70
|
/**
|
|
67
71
|
* When `true`, prevents sorting of items.
|
|
68
72
|
*
|
|
@@ -70,16 +74,14 @@ export abstract class SortHandle extends LitElement {
|
|
|
70
74
|
*/
|
|
71
75
|
accessor sortDisabled: boolean;
|
|
72
76
|
/**
|
|
73
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
74
|
-
*
|
|
75
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
77
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
76
78
|
*
|
|
77
79
|
* @default false
|
|
78
80
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
79
81
|
*/
|
|
80
82
|
accessor topLayerDisabled: boolean;
|
|
81
83
|
/** Specifies the width of the component. */
|
|
82
|
-
accessor widthScale: Scale;
|
|
84
|
+
accessor widthScale: Scale | undefined;
|
|
83
85
|
/**
|
|
84
86
|
* Sets focus on the component.
|
|
85
87
|
*
|
|
@@ -95,11 +95,11 @@ class SortHandle extends LitElement {
|
|
|
95
95
|
return this.setPosition === 1;
|
|
96
96
|
}
|
|
97
97
|
get isDownReorderDisabled() {
|
|
98
|
-
return this.setPosition === this.setSize;
|
|
98
|
+
return this.hasSetInfo && this.setPosition === this.setSize;
|
|
99
99
|
}
|
|
100
100
|
get isBottomReorderDisabled() {
|
|
101
101
|
const { setPosition, setSize } = this;
|
|
102
|
-
return setPosition === setSize || setPosition === setSize - 1;
|
|
102
|
+
return this.hasSetInfo && (setPosition === setSize || setPosition === setSize - 1);
|
|
103
103
|
}
|
|
104
104
|
async setFocus(options) {
|
|
105
105
|
return this.focusSetter(() => this.dropdownEl, options);
|
|
@@ -9,9 +9,9 @@ import type { DragDetail } from "../../controllers/useSortable.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export abstract class SortableList extends LitElement {
|
|
11
11
|
/** When provided, the method will be called to determine whether the element can move from the list. */
|
|
12
|
-
accessor canPull: (detail: DragDetail) => boolean;
|
|
12
|
+
accessor canPull: ((detail: DragDetail) => boolean) | undefined;
|
|
13
13
|
/** When provided, the method will be called to determine whether the element can be added from another list. */
|
|
14
|
-
accessor canPut: (detail: DragDetail) => boolean;
|
|
14
|
+
accessor canPut: ((detail: DragDetail) => boolean) | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* When `true`, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
17
17
|
*
|
|
@@ -3,7 +3,7 @@ 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
5
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
6
|
-
import {
|
|
6
|
+
import { j as focusElement } from "../../chunks/dom.js";
|
|
7
7
|
import { l as logger } from "../../chunks/logger.js";
|
|
8
8
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
9
9
|
import { u as useSortable } from "../../chunks/useSortable.js";
|
|
@@ -74,10 +74,10 @@ class SortableList extends LitElement {
|
|
|
74
74
|
const { direction } = event.detail;
|
|
75
75
|
const handle = event.composedPath().find((el) => el.matches(this.handleSelector));
|
|
76
76
|
const sortItem = this.items.find((item) => {
|
|
77
|
-
return item.contains(handle) || event.composedPath().includes(item);
|
|
77
|
+
return handle && item.contains(handle) || event.composedPath().includes(item);
|
|
78
78
|
});
|
|
79
79
|
const lastIndex = this.items.length - 1;
|
|
80
|
-
const startingIndex = this.items.indexOf(sortItem);
|
|
80
|
+
const startingIndex = sortItem ? this.items.indexOf(sortItem) : -1;
|
|
81
81
|
let appendInstead = false;
|
|
82
82
|
let buddyIndex;
|
|
83
83
|
if (direction === "up") {
|
|
@@ -104,7 +104,7 @@ class SortableList extends LitElement {
|
|
|
104
104
|
this.items = Array.from(this.el.children);
|
|
105
105
|
this.beginObserving();
|
|
106
106
|
requestAnimationFrame(() => focusElement(handle));
|
|
107
|
-
if ("selected" in handle) {
|
|
107
|
+
if (handle && "selected" in handle) {
|
|
108
108
|
handle.selected = true;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -52,11 +52,11 @@ export abstract class SplitButton extends LitElement {
|
|
|
52
52
|
*/
|
|
53
53
|
accessor dropdownIconType: DropdownIconType;
|
|
54
54
|
/** Accessible name for the dropdown menu. */
|
|
55
|
-
accessor dropdownLabel: string;
|
|
56
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
57
|
-
accessor flipPlacements: FlipPlacement[];
|
|
55
|
+
accessor dropdownLabel: string | undefined;
|
|
56
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
57
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
58
58
|
/** Specifies the URL of the linked resource, which can be set as an absolute or relative path. */
|
|
59
|
-
accessor href: string;
|
|
59
|
+
accessor href: string | undefined;
|
|
60
60
|
/**
|
|
61
61
|
* Specifies the kind of the component, which will apply to border and background, if applicable.
|
|
62
62
|
*
|
|
@@ -86,21 +86,21 @@ export abstract class SplitButton extends LitElement {
|
|
|
86
86
|
*/
|
|
87
87
|
accessor placement: LogicalPlacement;
|
|
88
88
|
/** Specifies an icon to display at the end of the primary button. */
|
|
89
|
-
accessor primaryIconEnd: IconName;
|
|
89
|
+
accessor primaryIconEnd: IconName | undefined;
|
|
90
90
|
/** Displays the `primaryIconStart` and/or `primaryIconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
91
|
-
accessor primaryIconFlipRtl: FlipContext;
|
|
91
|
+
accessor primaryIconFlipRtl: FlipContext | undefined;
|
|
92
92
|
/** Specifies an icon to display at the start of the primary button. */
|
|
93
|
-
accessor primaryIconStart: IconName;
|
|
93
|
+
accessor primaryIconStart: IconName | undefined;
|
|
94
94
|
/** Specifies an accessible name for the primary button. */
|
|
95
|
-
accessor primaryLabel: string;
|
|
95
|
+
accessor primaryLabel: string | undefined;
|
|
96
96
|
/** Specifies the text displayed in the primary button. */
|
|
97
|
-
accessor primaryText: string;
|
|
97
|
+
accessor primaryText: string | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* Defines the relationship between the `href` value and the current document.
|
|
100
100
|
*
|
|
101
101
|
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
102
102
|
*/
|
|
103
|
-
accessor rel: string;
|
|
103
|
+
accessor rel: string | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* Specifies the component's size.
|
|
106
106
|
*
|
|
@@ -112,11 +112,9 @@ export abstract class SplitButton extends LitElement {
|
|
|
112
112
|
*
|
|
113
113
|
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
114
114
|
*/
|
|
115
|
-
accessor target: string;
|
|
115
|
+
accessor target: string | undefined;
|
|
116
116
|
/**
|
|
117
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
118
|
-
*
|
|
119
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
117
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
120
118
|
*
|
|
121
119
|
* @default false
|
|
122
120
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -62,7 +62,7 @@ class SplitButton extends LitElement {
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
65
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd
|
|
65
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd} .iconFlipRtl=${this.primaryIconFlipRtl} .iconStart=${this.primaryIconStart} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .rel=${this.rel} .scale=${this.scale} split-child=primary .target=${this.target} type=button .width=${buttonWidth}>${this.primaryText}</calcite-button><div class=${safeClassMap(CSS.dividerContainer)}><div class=${safeClassMap(CSS.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=${SLOTS.trigger} split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>` });
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
customElement("calcite-split-button", SplitButton);
|
|
@@ -26,11 +26,15 @@ export abstract class Stepper extends LitElement {
|
|
|
26
26
|
* @default "horizontal"
|
|
27
27
|
*/
|
|
28
28
|
accessor layout: StepperLayout;
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Replace localized message strings with your own strings.
|
|
31
|
+
*
|
|
32
|
+
* _**Note**: Individual message keys may change between releases._
|
|
33
|
+
*/
|
|
30
34
|
accessor messageOverrides: {
|
|
31
|
-
label?: string;
|
|
32
|
-
previousStep?: string;
|
|
33
|
-
nextStep?: string;
|
|
35
|
+
label?: string | undefined;
|
|
36
|
+
previousStep?: string | undefined;
|
|
37
|
+
nextStep?: string | undefined;
|
|
34
38
|
};
|
|
35
39
|
/**
|
|
36
40
|
* When `true`, displays the step number in the `calcite-stepper-item` heading.
|
|
@@ -47,7 +51,7 @@ export abstract class Stepper extends LitElement {
|
|
|
47
51
|
*/
|
|
48
52
|
accessor scale: Scale;
|
|
49
53
|
/** Specifies the component's selected item. */
|
|
50
|
-
get selectedItem(): StepperItem;
|
|
54
|
+
get selectedItem(): StepperItem | null;
|
|
51
55
|
/** Set the last `calcite-stepper-item` as active. */
|
|
52
56
|
endStep(): Promise<void>;
|
|
53
57
|
/**
|
|
@@ -7,6 +7,7 @@ import { f as focusElementInGroup, a as slotChangeGetAssignedElements } from "..
|
|
|
7
7
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
8
8
|
import { g as guid } from "../../chunks/guid.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
+
import { i as isStepperItem } from "../../chunks/resources12.js";
|
|
10
11
|
const CSS$1 = {
|
|
11
12
|
actionIcon: "action-icon",
|
|
12
13
|
actionContainer: "action-container",
|
|
@@ -50,6 +51,7 @@ class Stepper extends LitElement {
|
|
|
50
51
|
this.multipleViewMode = false;
|
|
51
52
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
52
53
|
this.messages = useT9n();
|
|
54
|
+
this.currentActivePosition = -1;
|
|
53
55
|
this.icon = false;
|
|
54
56
|
this.layout = "horizontal";
|
|
55
57
|
this.numbered = false;
|
|
@@ -123,11 +125,9 @@ class Stepper extends LitElement {
|
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
127
|
loaded() {
|
|
126
|
-
if (
|
|
128
|
+
if (this.currentActivePosition === -1) {
|
|
127
129
|
const enabledStepIndex = this.getFirstEnabledStepperPosition();
|
|
128
|
-
|
|
129
|
-
this.currentActivePosition = enabledStepIndex;
|
|
130
|
-
}
|
|
130
|
+
this.currentActivePosition = enabledStepIndex;
|
|
131
131
|
this.calciteInternalStepperItemChange.emit({
|
|
132
132
|
position: enabledStepIndex
|
|
133
133
|
});
|
|
@@ -194,7 +194,7 @@ class Stepper extends LitElement {
|
|
|
194
194
|
const { currentActivePosition, layout } = this;
|
|
195
195
|
this.multipleViewMode = layout !== "horizontal-single";
|
|
196
196
|
visibleItems.forEach((item, index) => {
|
|
197
|
-
item.itemHidden = layout === "horizontal-single" && index !==
|
|
197
|
+
item.itemHidden = layout === "horizontal-single" && index !== currentActivePosition;
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
getEnabledStepIndex(startIndex, direction = "next") {
|
|
@@ -231,15 +231,15 @@ class Stepper extends LitElement {
|
|
|
231
231
|
return 0;
|
|
232
232
|
}
|
|
233
233
|
handleDefaultSlotChange(event) {
|
|
234
|
-
|
|
235
|
-
this.items = items;
|
|
234
|
+
this.items = slotChangeGetAssignedElements(event).filter((el) => isStepperItem(el));
|
|
236
235
|
this.updateItems();
|
|
237
236
|
const spacing = Array(this.visibleItems.length).fill("1fr").join(" ");
|
|
238
|
-
this.containerRef.value
|
|
239
|
-
|
|
237
|
+
const value = this.containerRef.value;
|
|
238
|
+
value.style.gridTemplateAreas = spacing;
|
|
239
|
+
value.style.gridTemplateColumns = spacing;
|
|
240
240
|
}
|
|
241
241
|
render() {
|
|
242
|
-
this.el.ariaLabel = this.messages.label;
|
|
242
|
+
this.el.ariaLabel = this.messages.label ?? null;
|
|
243
243
|
this.el.role = "region";
|
|
244
244
|
return html`<div class=${safeClassMap({ container: true, [CSS$1.singleView]: this.layout === "horizontal-single" })} ${ref(this.containerRef)}>${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.stepBarContainer]: true })}>${this.visibleItems.map((item, index) => StepBar({ active: index === this.currentActivePosition, complete: item.complete && index !== this.currentActivePosition && !item.error, disabled: item.disabled && index !== this.currentActivePosition, error: item.error && index !== this.currentActivePosition }))}</div>` || ""}${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.actionContainer]: true })}>${this.renderAction("start")}${this.renderAction("end")}</div>` || ""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`;
|
|
245
245
|
}
|
|
@@ -29,8 +29,8 @@ export abstract class StepperItem extends LitElement {
|
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
31
|
accessor complete: boolean;
|
|
32
|
-
/** Specifies a description for the component. Displays below the
|
|
33
|
-
accessor description: string;
|
|
32
|
+
/** Specifies a description for the component. Displays below the `heading`. */
|
|
33
|
+
accessor description: string | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
36
36
|
*
|
|
@@ -44,18 +44,22 @@ export abstract class StepperItem extends LitElement {
|
|
|
44
44
|
*/
|
|
45
45
|
accessor error: boolean;
|
|
46
46
|
/** Specifies the component's heading text. */
|
|
47
|
-
accessor heading: string;
|
|
47
|
+
accessor heading: string | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
50
50
|
*
|
|
51
51
|
* @default false
|
|
52
52
|
*/
|
|
53
53
|
accessor iconFlipRtl: boolean;
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Replace localized message strings with your own strings.
|
|
56
|
+
*
|
|
57
|
+
* _**Note**: Individual message keys may change between releases._
|
|
58
|
+
*/
|
|
55
59
|
accessor messageOverrides: {
|
|
56
|
-
complete?: string;
|
|
57
|
-
previousStep?: string;
|
|
58
|
-
nextStep?: string;
|
|
60
|
+
complete?: string | undefined;
|
|
61
|
+
previousStep?: string | undefined;
|
|
62
|
+
nextStep?: string | undefined;
|
|
59
63
|
};
|
|
60
64
|
/**
|
|
61
65
|
* When `true`, the component is selected.
|
|
@@ -7,34 +7,20 @@ import { n as numberStringFormatter } from "../../chunks/locale.js";
|
|
|
7
7
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
8
8
|
import { i as isHidden } from "../../chunks/component.js";
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
|
-
import {
|
|
10
|
+
import { n as slotChangeHasContent } from "../../chunks/dom.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
|
|
13
|
-
container: "container",
|
|
14
|
-
hasSlottedContent: "has-slotted-content",
|
|
15
|
-
stepperItemContent: "stepper-item-content",
|
|
16
|
-
stepperItemDescription: "stepper-item-description",
|
|
17
|
-
stepperItemHeader: "stepper-item-header",
|
|
18
|
-
stepperItemHeading: "stepper-item-heading",
|
|
19
|
-
stepperItemHeaderText: "stepper-item-header-text",
|
|
20
|
-
stepperItemIcon: "stepper-item-icon",
|
|
21
|
-
stepperItemNumber: "stepper-item-number",
|
|
22
|
-
visuallyHidden: "visually-hidden"
|
|
23
|
-
};
|
|
24
|
-
const ICONS = {
|
|
25
|
-
circle: "circle",
|
|
26
|
-
circleF: "circleF",
|
|
27
|
-
exclamationMarkCircleF: "exclamationMarkCircleF",
|
|
28
|
-
checkCircleF: "checkCircleF"
|
|
29
|
-
};
|
|
12
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources12.js";
|
|
30
13
|
const styles = css`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`;
|
|
31
14
|
class StepperItem extends LitElement {
|
|
32
15
|
constructor() {
|
|
33
16
|
super();
|
|
34
17
|
this.headerRef = createRef();
|
|
18
|
+
this.itemPosition = 0;
|
|
19
|
+
this.selectedPosition = 0;
|
|
35
20
|
this.messages = useT9n();
|
|
36
21
|
this.focusSetter = useSetFocus()(this);
|
|
37
22
|
this.interactiveContainer = useInteractive(this);
|
|
23
|
+
this.stepperItemHasContent = false;
|
|
38
24
|
this.complete = false;
|
|
39
25
|
this.disabled = false;
|
|
40
26
|
this.error = false;
|
|
@@ -146,15 +132,13 @@ class StepperItem extends LitElement {
|
|
|
146
132
|
}
|
|
147
133
|
}
|
|
148
134
|
getItemPosition() {
|
|
149
|
-
|
|
135
|
+
const stepperItems = this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])");
|
|
136
|
+
return stepperItems ? Array.from(stepperItems).indexOf(this.el) : -1;
|
|
150
137
|
}
|
|
151
138
|
render() {
|
|
152
139
|
this.el.ariaCurrent = this.selected ? "step" : "false";
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
this.layout === "horizontal" && !this.disabled ? 0 : null
|
|
156
|
-
);
|
|
157
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}>${this.complete && html`<span aria-live=polite class=${safeClassMap(CSS.visuallyHidden)}>${this.messages.complete}</span>` || ""}<div class=${safeClassMap(CSS.stepperItemHeader)} tabindex=${innerDisplayContextTabIndex ?? nothing} ${ref(this.headerRef)}>${this.icon ? this.renderIcon() : null}${this.numbered ? html`<div class=${safeClassMap(CSS.stepperItemNumber)}>${this.renderNumbers()}.</div>` : null}<div class=${safeClassMap(CSS.stepperItemHeaderText)}><span class=${safeClassMap(CSS.stepperItemHeading)}>${this.heading}</span><span class=${safeClassMap(CSS.stepperItemDescription)}>${this.description}</span></div></div><div class=${safeClassMap({
|
|
140
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}>${this.complete && html`<span aria-live=polite class=${safeClassMap(CSS.visuallyHidden)}>${this.messages.complete}</span>` || ""}<div class=${safeClassMap(CSS.stepperItemHeader)} tabindex=${// additional tab index logic needed because of display: contents for horizontal layout
|
|
141
|
+
(this.layout === "horizontal" && !this.disabled ? 0 : void 0) ?? nothing} ${ref(this.headerRef)}>${this.icon ? this.renderIcon() : null}${this.numbered ? html`<div class=${safeClassMap(CSS.stepperItemNumber)}>${this.renderNumbers()}.</div>` : null}<div class=${safeClassMap(CSS.stepperItemHeaderText)}><span class=${safeClassMap(CSS.stepperItemHeading)}>${this.heading}</span><span class=${safeClassMap(CSS.stepperItemDescription)}>${this.description}</span></div></div><div class=${safeClassMap({
|
|
158
142
|
[CSS.stepperItemContent]: true,
|
|
159
143
|
[CSS.hasSlottedContent]: this.stepperItemHasContent
|
|
160
144
|
})}><slot @slotchange=${(event) => this.stepperItemHasContent = slotChangeHasContent(event)}></slot></div></div>` });
|
|
@@ -12,7 +12,7 @@ export abstract class Swatch extends LitElement {
|
|
|
12
12
|
*
|
|
13
13
|
* @see [MDN - CSS color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value)
|
|
14
14
|
*/
|
|
15
|
-
accessor color: string;
|
|
15
|
+
accessor color: string | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
18
18
|
*
|
|
@@ -117,7 +117,7 @@ class Swatch extends LitElement {
|
|
|
117
117
|
if (this.selectionMode === "single") {
|
|
118
118
|
this.calciteInternalSyncSelectedSwatches.emit();
|
|
119
119
|
}
|
|
120
|
-
const selectedInParent = this.parentSwatchGroup
|
|
120
|
+
const selectedInParent = this.parentSwatchGroup?.selectedItems.includes(this.el);
|
|
121
121
|
if (!selectedInParent && selected && this.selectionMode !== "multiple") {
|
|
122
122
|
this.calciteInternalSwatchSelect.emit();
|
|
123
123
|
}
|
|
@@ -126,7 +126,7 @@ class Swatch extends LitElement {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
handleColorChange(color) {
|
|
129
|
-
this.internalColor = color ? Color(color) :
|
|
129
|
+
this.internalColor = color ? Color(color) : void 0;
|
|
130
130
|
}
|
|
131
131
|
renderSwatchImage() {
|
|
132
132
|
return html`<div class=${safeClassMap(CSS.imageContainer)}><slot name=${SLOTS.image} @slotchange=${this.handleSlotImageChange}></slot></div>`;
|
|
@@ -82,13 +82,15 @@ class SwatchGroup extends LitElement {
|
|
|
82
82
|
}
|
|
83
83
|
event.stopPropagation();
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
handleSlotChange(event) {
|
|
86
|
+
this.updateItems(slotChangeGetAssignedElements(event, "calcite-swatch"));
|
|
87
|
+
}
|
|
88
|
+
updateItems(items = this.items) {
|
|
89
|
+
this.items = items;
|
|
90
|
+
if (this.items.length < 1) {
|
|
89
91
|
return;
|
|
90
92
|
}
|
|
91
|
-
this.items
|
|
93
|
+
this.items.forEach((el) => {
|
|
92
94
|
el.interactive = true;
|
|
93
95
|
el.scale = this.scale;
|
|
94
96
|
el.selectionMode = this.selectionMode;
|
|
@@ -126,7 +128,7 @@ class SwatchGroup extends LitElement {
|
|
|
126
128
|
render() {
|
|
127
129
|
const role = this.selectionMode === "none" || this.selectionMode === "multiple" ? "group" : "radiogroup";
|
|
128
130
|
const { disabled } = this;
|
|
129
|
-
return this.interactiveContainer({ disabled, children: html`<div .ariaLabel=${this.label} class=${safeClassMap(CSS.container)} .role=${role}><slot @slotchange=${this.
|
|
131
|
+
return this.interactiveContainer({ disabled, children: html`<div .ariaLabel=${this.label} class=${safeClassMap(CSS.container)} .role=${role}><slot @slotchange=${this.handleSlotChange} ${ref(this.slotRef)}></slot></div>` });
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
customElement("calcite-swatch-group", SwatchGroup);
|
|
@@ -24,26 +24,35 @@ export abstract class Switch extends LitElement {
|
|
|
24
24
|
* @default false
|
|
25
25
|
*/
|
|
26
26
|
accessor disabled: boolean;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
31
|
-
*/
|
|
32
|
-
accessor form: string;
|
|
27
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
28
|
+
accessor form: string | undefined;
|
|
33
29
|
/** Specifies an accessible label for the component. */
|
|
34
|
-
accessor label: string;
|
|
30
|
+
accessor label: string | undefined;
|
|
35
31
|
/** Specifies the component's end label text. */
|
|
36
|
-
accessor labelTextEnd: string;
|
|
32
|
+
accessor labelTextEnd: string | undefined;
|
|
37
33
|
/** Specifies the component's start label text. */
|
|
38
|
-
accessor labelTextStart: string;
|
|
34
|
+
accessor labelTextStart: string | undefined;
|
|
39
35
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
40
|
-
accessor name: string;
|
|
36
|
+
accessor name: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* When `true` and the component resides in a form,
|
|
39
|
+
* the component must have a value in order for the form to submit.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
accessor required: boolean;
|
|
41
44
|
/**
|
|
42
45
|
* Specifies the component's size.
|
|
43
46
|
*
|
|
44
47
|
* @default "m"
|
|
45
48
|
*/
|
|
46
49
|
accessor scale: Scale;
|
|
50
|
+
/**
|
|
51
|
+
* The component's current validation state.
|
|
52
|
+
*
|
|
53
|
+
* @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
54
|
+
*/
|
|
55
|
+
get validity(): ValidityState;
|
|
47
56
|
/** The component's value. */
|
|
48
57
|
accessor value: any;
|
|
49
58
|
/**
|
|
@@ -4,7 +4,8 @@ import { css, html } from "lit";
|
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
7
|
-
import {
|
|
7
|
+
import { g as getLabelText } from "../../chunks/label.js";
|
|
8
|
+
import { u as useLabel } from "../../chunks/useLabel.js";
|
|
8
9
|
import { I as InternalLabel } from "../../chunks/InternalLabel.js";
|
|
9
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -24,15 +25,17 @@ class Switch extends LitElement {
|
|
|
24
25
|
this.switchRef = createRef();
|
|
25
26
|
this.focusSetter = useSetFocus()(this);
|
|
26
27
|
this.interactiveContainer = useInteractive(this);
|
|
28
|
+
this.labelable = useLabel(this);
|
|
27
29
|
this.checked = false;
|
|
28
30
|
this.disabled = false;
|
|
31
|
+
this.required = false;
|
|
29
32
|
this.scale = "m";
|
|
30
33
|
this.calciteSwitchChange = createEvent({ cancelable: false });
|
|
31
34
|
this.listen("click", this.clickHandler);
|
|
32
35
|
this.listen("keydown", this.keyDownHandler);
|
|
33
36
|
}
|
|
34
37
|
static {
|
|
35
|
-
this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], label: 1, labelTextEnd: 1, labelTextStart: 1, name: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], value: 1 };
|
|
38
|
+
this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], label: 1, labelTextEnd: 1, labelTextStart: 1, name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
|
|
36
39
|
}
|
|
37
40
|
static {
|
|
38
41
|
this.formAssociated = true;
|
|
@@ -43,14 +46,6 @@ class Switch extends LitElement {
|
|
|
43
46
|
async setFocus(options) {
|
|
44
47
|
return this.focusSetter(() => this.switchRef.value, options);
|
|
45
48
|
}
|
|
46
|
-
connectedCallback() {
|
|
47
|
-
super.connectedCallback();
|
|
48
|
-
connectLabel(this);
|
|
49
|
-
}
|
|
50
|
-
disconnectedCallback() {
|
|
51
|
-
super.disconnectedCallback();
|
|
52
|
-
disconnectLabel(this);
|
|
53
|
-
}
|
|
54
49
|
keyDownHandler(event) {
|
|
55
50
|
if (!this.disabled && isActivationKey(event.key)) {
|
|
56
51
|
this.toggle();
|
|
@@ -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, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
5
|
+
import { o as nodeListToArray } from "../../chunks/dom.js";
|
|
6
6
|
import { g as guid } from "../../chunks/guid.js";
|
|
7
7
|
const CSS = {
|
|
8
8
|
container: "container",
|
|
@@ -10,10 +10,14 @@ import type { TabTitle } from "../calcite-tab-title/customElement.js";
|
|
|
10
10
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
11
11
|
*/
|
|
12
12
|
export abstract class TabNav extends LitElement {
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Replace localized message strings with your own strings.
|
|
15
|
+
*
|
|
16
|
+
* _**Note**: Individual message keys may change between releases._
|
|
17
|
+
*/
|
|
14
18
|
accessor messageOverrides: {
|
|
15
|
-
nextTabTitles?: string;
|
|
16
|
-
previousTabTitles?: string;
|
|
19
|
+
nextTabTitles?: string | undefined;
|
|
20
|
+
previousTabTitles?: string | undefined;
|
|
17
21
|
};
|
|
18
22
|
/**
|
|
19
23
|
* Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to, and is inherited from the parent `calcite-tabs`, defaults to `top`.
|