@esri/calcite-components 5.2.0-next.1 → 5.2.0-next.11
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/{TX53ZOIB.js → 24X5JMHT.js} +1 -1
- package/dist/cdn/{MIR7TMZV.js → 2ELOLPNF.js} +1 -1
- package/dist/cdn/{54LRKMZS.js → 2JMH7LPC.js} +1 -1
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/{3IC622AE.js → 2XGJ3QNO.js} +1 -1
- package/dist/cdn/{TKWNZUZC.js → 3CRONO2H.js} +1 -1
- package/dist/cdn/3EZDLGBO.js +2 -0
- package/dist/cdn/{7MVJZ7CE.js → 3KCJ5OBV.js} +1 -1
- package/dist/cdn/3SETOU5V.js +2 -0
- package/dist/cdn/4RQ5ZGOF.js +2 -0
- package/dist/cdn/{PV5JONG7.js → 56KAPM6G.js} +1 -1
- package/dist/cdn/{AIWMELGE.js → 5CSHF46L.js} +1 -1
- package/dist/cdn/{PVLYFAFT.js → 5FLAJ7D2.js} +1 -1
- package/dist/cdn/5LW3L2G4.js +2 -0
- package/dist/cdn/{ACTWXLMU.js → 5LXXJ62H.js} +1 -1
- package/dist/cdn/{T64D27BK.js → 5PGOKPKX.js} +1 -1
- package/dist/cdn/{IMHBTKOK.js → 5U7ZVAAZ.js} +1 -1
- package/dist/cdn/{OMEUUIN3.js → 5XL7IT2K.js} +1 -1
- package/dist/cdn/{TUOZOBAX.js → 63DWPLOW.js} +1 -1
- package/dist/cdn/6AKAPCTR.js +2 -0
- package/dist/cdn/{GPZK2XCA.js → 6KINBEDD.js} +1 -1
- package/dist/cdn/6O3DEY2K.js +2 -0
- package/dist/cdn/{QJVQP6SA.js → 72B2PF6V.js} +1 -1
- package/dist/cdn/7LYEAGAV.js +2 -0
- package/dist/cdn/A7TDONQL.js +2 -0
- package/dist/cdn/{DOQVMLYE.js → ALEAEOVB.js} +1 -1
- package/dist/cdn/{H6TQ2ZT5.js → B2PYAAJV.js} +1 -1
- package/dist/cdn/BBQVPQKS.js +2 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{XKLVTSH7.js → BEKZEU4I.js} +1 -1
- package/dist/cdn/BI6OUBR4.js +2 -0
- package/dist/cdn/{JFBAD4EH.js → BLRDFO6X.js} +1 -1
- package/dist/cdn/BPA5EXVV.js +2 -0
- package/dist/cdn/BYHIBMOX.js +2 -0
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/{3F6G62ML.js → CDIHWTXQ.js} +1 -1
- package/dist/cdn/{YLSRMNDL.js → CJD35UKW.js} +1 -1
- package/dist/cdn/{6SJDD32D.js → CJQSJSTS.js} +1 -1
- package/dist/cdn/{V4N6LLPL.js → CN3GE6PT.js} +1 -1
- package/dist/cdn/{XVA6JBXQ.js → D7RBRMCT.js} +1 -1
- package/dist/cdn/{5B3SU7K7.js → DA2XHTL4.js} +1 -1
- package/dist/cdn/DEFKYCLD.js +20 -0
- package/dist/cdn/DPGSR54A.js +2 -0
- package/dist/cdn/{ASL35FGE.js → DQWH6U7F.js} +1 -1
- package/dist/cdn/{AWONW44Y.js → DZQK7XAU.js} +1 -1
- package/dist/cdn/{4ETK64XH.js → EAFCYLPB.js} +1 -1
- package/dist/cdn/EC7ULGFR.js +2 -0
- package/dist/cdn/{3274MQBE.js → EJEEDORY.js} +1 -1
- package/dist/cdn/{2QRPMWMD.js → EJWFQHC3.js} +1 -1
- package/dist/cdn/EWSBPNQJ.js +2 -0
- package/dist/cdn/F6ACIE2U.js +2 -0
- package/dist/cdn/{UTYK5GN7.js → FB57TK7N.js} +1 -1
- package/dist/cdn/{NSSVAO6G.js → FGJZEQ7S.js} +1 -1
- package/dist/cdn/{6HQ7WHUL.js → FKY6KVFI.js} +1 -1
- package/dist/cdn/FUTBCFE5.js +2 -0
- package/dist/cdn/{V2ZQL3ON.js → FYDHPNCY.js} +1 -1
- package/dist/cdn/{JSEZIWE7.js → G6EVBNHW.js} +1 -1
- package/dist/cdn/{CWQ3PMYG.js → GB7SQRWY.js} +1 -1
- package/dist/cdn/{GHBTJCIE.js → GDUTBFTC.js} +1 -1
- package/dist/cdn/{4MGZ6ADZ.js → GHDKS4TD.js} +1 -1
- package/dist/cdn/GI5F5GIL.js +2 -0
- package/dist/cdn/{ERXINDJK.js → GL7AHGSG.js} +1 -1
- package/dist/cdn/{DOTGEOAD.js → GM26E4GK.js} +1 -1
- package/dist/cdn/{ESXXYY4U.js → H5UDZR5O.js} +1 -1
- package/dist/cdn/{IFGOL2KZ.js → HBUYVYXR.js} +1 -1
- package/dist/cdn/{OM2LRTKI.js → HSGC6FUA.js} +1 -1
- package/dist/cdn/{4XMK7RES.js → I2BHXDYX.js} +1 -1
- package/dist/cdn/{HI5BMWLV.js → I5F3FJAY.js} +1 -1
- package/dist/cdn/{CYL77NSA.js → IBIH72UK.js} +1 -1
- package/dist/cdn/IL4G7JFU.js +2 -0
- package/dist/cdn/{SVIZ25MX.js → ILDL4WCG.js} +1 -1
- package/dist/cdn/{AYIHFCPW.js → IOUHSWD2.js} +1 -1
- package/dist/cdn/{6WRZDS46.js → JBKYBEOG.js} +1 -1
- package/dist/cdn/{YOMDRGFX.js → JEOK7EMC.js} +1 -1
- package/dist/cdn/{7BAH3USN.js → JMT3PAOJ.js} +1 -1
- package/dist/cdn/{6P2QCONQ.js → JPUVW4BM.js} +1 -1
- package/dist/cdn/{DYTBN43V.js → JQWOF5HF.js} +1 -1
- package/dist/cdn/{FEGURFPP.js → JSIAJ7SW.js} +1 -1
- package/dist/cdn/{ES72YVWM.js → JYNUT5O6.js} +2 -2
- package/dist/cdn/{VOLQZMH5.js → K3U762E3.js} +1 -1
- package/dist/cdn/{6DUYQARM.js → KHZYS5PW.js} +1 -1
- package/dist/cdn/{CJ6HLMWM.js → KJ3MMRFP.js} +1 -1
- package/dist/cdn/KLDQUGLR.js +2 -0
- package/dist/cdn/KNTY5HWG.js +2 -0
- package/dist/cdn/{QUKECT32.js → KQT4OVOQ.js} +1 -1
- package/dist/cdn/KRZT7UVD.js +2 -0
- package/dist/cdn/{UWEY77AH.js → KW3PLEX7.js} +1 -1
- package/dist/cdn/L2E2NR2H.js +2 -0
- package/dist/cdn/{Y77IPFJ6.js → LFKTIMOZ.js} +1 -1
- package/dist/cdn/{TOW6FGVT.js → LHTO7FY4.js} +1 -1
- package/dist/cdn/{MM6ZG6HL.js → LOTSIKHS.js} +1 -1
- package/dist/cdn/{JQOYQOAO.js → LR455X6K.js} +1 -1
- package/dist/cdn/{NLG3XARE.js → LRZTFP3T.js} +1 -1
- package/dist/cdn/{O4JLFLGJ.js → MCIO7E44.js} +1 -1
- package/dist/cdn/{EYO37APD.js → MCRV5ZIG.js} +1 -1
- package/dist/cdn/MHXRVPMW.js +2 -0
- package/dist/cdn/{GIWBHPUL.js → MQ7UFMYF.js} +1 -1
- package/dist/cdn/{WMJFCYAQ.js → MRZOIDQQ.js} +1 -1
- package/dist/cdn/{JNIRX7D3.js → MTOH4QVT.js} +1 -1
- package/dist/cdn/{RX7YQTRT.js → MYZS7KFS.js} +1 -1
- package/dist/cdn/{SG43VAY2.js → N5VSPAE3.js} +1 -1
- package/dist/cdn/{W6FGHS7T.js → N6TVPJ75.js} +1 -1
- package/dist/cdn/{RL3BQHH7.js → NGAWCOAE.js} +1 -1
- package/dist/cdn/{WBEFTFTM.js → NN7V77MF.js} +1 -1
- package/dist/cdn/{VNHCZF5S.js → NNQ7SFRC.js} +1 -1
- package/dist/cdn/{EARL5L6Z.js → NURKCAEJ.js} +1 -1
- package/dist/cdn/{D2F4S4IN.js → OBIIMTPH.js} +1 -1
- package/dist/cdn/OIO5CL6R.js +2 -0
- package/dist/cdn/{25KULUYL.js → OQ2LTAWF.js} +1 -1
- package/dist/cdn/{YEOA76XG.js → OYT6TEB6.js} +1 -1
- package/dist/cdn/{PK24O5FM.js → P42BO7EU.js} +1 -1
- package/dist/cdn/P5E4K2YU.js +2 -0
- package/dist/cdn/{AHIMAWOG.js → PFED4DAQ.js} +1 -1
- package/dist/cdn/{6VJGFXTB.js → PGLPZTZP.js} +1 -1
- package/dist/cdn/{TBBD7RAC.js → PRMQOCUX.js} +1 -1
- package/dist/cdn/PTCA34C2.js +2 -0
- package/dist/cdn/QESRDF5I.js +2 -0
- package/dist/cdn/{YWSUGSZQ.js → QJMREFZB.js} +1 -1
- package/dist/cdn/{GX22FMPB.js → QLMVDHA2.js} +1 -1
- package/dist/cdn/{DOEPGWZO.js → QNAN26PB.js} +1 -1
- package/dist/cdn/{JYV5JY66.js → QNSRPIAF.js} +1 -1
- package/dist/cdn/QQDQTFWB.js +2 -0
- package/dist/cdn/QQMRGXT6.js +2 -0
- package/dist/cdn/{ZSURDLTS.js → R6VINUVM.js} +1 -1
- package/dist/cdn/R77ROGW2.js +2 -0
- package/dist/cdn/{XKZW6PMR.js → RAJYPSRB.js} +1 -1
- package/dist/cdn/{T6WFAXGK.js → RCFDK4P6.js} +1 -1
- package/dist/cdn/{A7VRJEQ7.js → RCRCHQMS.js} +1 -1
- package/dist/cdn/RJYU6IPS.js +2 -0
- package/dist/cdn/{MDH6YMD3.js → S6U2KSPS.js} +1 -1
- package/dist/cdn/{2WQCK6Z3.js → S7II3I5Q.js} +1 -1
- package/dist/cdn/{MZGWIJTE.js → T3DTWGCK.js} +1 -1
- package/dist/cdn/{MOVYXJPM.js → TB4K2SOD.js} +1 -1
- package/dist/cdn/TFQV64OA.js +2 -0
- package/dist/cdn/{7BPZSHP5.js → TGKWY4TT.js} +1 -1
- package/dist/cdn/{2DTD2NAQ.js → TQQODXRZ.js} +1 -1
- package/dist/cdn/UBV2M472.js +2 -0
- package/dist/cdn/UWAER5W3.js +2 -0
- package/dist/cdn/{DXKVNK72.js → V7AJFYEC.js} +1 -1
- package/dist/cdn/{N5V52FVE.js → VZRT26W2.js} +1 -1
- package/dist/cdn/{7T64APC5.js → W3GTJS5Q.js} +1 -1
- package/dist/cdn/{L4Z32DDI.js → W43X4BGF.js} +1 -1
- package/dist/cdn/{XRGFDJYN.js → WITBUCKH.js} +1 -1
- package/dist/cdn/{VOYNOWTM.js → WMWUSGWO.js} +2 -2
- package/dist/cdn/{RSDMKNTP.js → WNRAC2WY.js} +1 -1
- package/dist/cdn/WRI4WTGJ.js +2 -0
- package/dist/cdn/{LLBCU6W2.js → WUHL2RF4.js} +1 -1
- package/dist/cdn/WX3UVAG5.js +2 -0
- package/dist/cdn/{GQYGI42P.js → X5OTLCGH.js} +1 -1
- package/dist/cdn/{R66RRO3R.js → XGCFMOII.js} +1 -1
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/Z5ZJ5N7G.js +2 -0
- package/dist/cdn/{DXJL2WZO.js → ZAUUAVGQ.js} +1 -1
- package/dist/cdn/{VINHY2BO.js → ZSDOYVMG.js} +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- 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-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/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +3 -2
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources10.js +19 -0
- package/dist/chunks/resources11.js +63 -0
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/resources5.js +40 -51
- package/dist/chunks/resources6.js +24 -46
- package/dist/chunks/resources7.js +53 -8
- package/dist/chunks/resources8.js +50 -10
- package/dist/chunks/resources9.js +7 -53
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -5
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +27 -24
- package/dist/chunks/utils.js +12 -18
- package/dist/chunks/utils2.js +59 -6
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-action/customElement.d.ts +1 -5
- package/dist/components/calcite-action/customElement.js +26 -10
- package/dist/components/calcite-action-group/customElement.d.ts +2 -4
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -4
- package/dist/components/calcite-alert/customElement.d.ts +1 -3
- package/dist/components/calcite-autocomplete/customElement.d.ts +3 -9
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +12 -14
- package/dist/components/calcite-block/customElement.js +8 -49
- package/dist/components/calcite-block-group/customElement.js +3 -5
- package/dist/components/calcite-block-section/customElement.d.ts +5 -5
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +9 -13
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -5
- package/dist/components/calcite-chip/customElement.d.ts +1 -1
- package/dist/components/calcite-chip/customElement.js +3 -29
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker/customElement.js +23 -20
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +4 -4
- 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 +13 -19
- package/dist/components/calcite-combobox/customElement.js +310 -152
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +2 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +10 -10
- package/dist/components/calcite-date-picker/customElement.js +18 -18
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +4 -4
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +14 -9
- package/dist/components/calcite-dialog/customElement.d.ts +9 -11
- package/dist/components/calcite-dialog/customElement.js +6 -7
- package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
- package/dist/components/calcite-dropdown/customElement.js +10 -7
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown-item/customElement.js +4 -4
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -4
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-graph/customElement.d.ts +3 -3
- package/dist/components/calcite-graph/customElement.js +11 -15
- 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 +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +4 -2
- package/dist/components/calcite-input/customElement.d.ts +23 -24
- package/dist/components/calcite-input/customElement.js +15 -13
- package/dist/components/calcite-input-date-picker/customElement.d.ts +17 -23
- package/dist/components/calcite-input-date-picker/customElement.js +19 -24
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +22 -25
- package/dist/components/calcite-input-number/customElement.js +15 -13
- package/dist/components/calcite-input-text/customElement.d.ts +18 -19
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +11 -13
- package/dist/components/calcite-input-time-picker/customElement.js +34 -10
- package/dist/components/calcite-input-time-zone/customElement.d.ts +9 -15
- package/dist/components/calcite-input-time-zone/customElement.js +14 -12
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +1 -3
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-pagination/customElement.js +3 -3
- package/dist/components/calcite-panel/customElement.d.ts +4 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-rating/customElement.d.ts +1 -5
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +1 -5
- package/dist/components/calcite-select/customElement.d.ts +1 -5
- package/dist/components/calcite-sheet/customElement.d.ts +1 -3
- package/dist/components/calcite-slider/customElement.d.ts +13 -17
- package/dist/components/calcite-slider/customElement.js +19 -20
- package/dist/components/calcite-sort-handle/customElement.d.ts +2 -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-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +1 -1
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +3 -3
- package/dist/components/calcite-stepper-item/customElement.js +8 -24
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +8 -6
- package/dist/components/calcite-switch/customElement.d.ts +6 -10
- package/dist/components/calcite-tab-nav/customElement.js +64 -26
- package/dist/components/calcite-tab-title/customElement.js +4 -0
- package/dist/components/calcite-table-header/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.d.ts +6 -0
- package/dist/components/calcite-tabs/customElement.js +13 -7
- package/dist/components/calcite-text-area/customElement.d.ts +1 -5
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -3
- 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/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 +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/date.d.ts +2 -2
- package/package.json +13 -10
- package/dist/cdn/4DBDLDKL.js +0 -2
- package/dist/cdn/5BXJCRHG.js +0 -2
- package/dist/cdn/6I7CG5ZI.js +0 -2
- package/dist/cdn/6THNFXTV.js +0 -2
- package/dist/cdn/7LKWZYMO.js +0 -2
- package/dist/cdn/7RTTBZVL.js +0 -2
- package/dist/cdn/BXSBN734.js +0 -2
- package/dist/cdn/DCQW26QE.js +0 -2
- package/dist/cdn/DE6F4LEP.js +0 -2
- package/dist/cdn/DHXGSMMN.js +0 -2
- package/dist/cdn/DV6Z2ZUP.js +0 -2
- package/dist/cdn/EAMIHL5M.js +0 -2
- package/dist/cdn/FGBYK22Q.js +0 -2
- package/dist/cdn/GEQANJCK.js +0 -2
- package/dist/cdn/HPG25RGF.js +0 -20
- package/dist/cdn/IQC2I5QX.js +0 -2
- package/dist/cdn/JAMAODSH.js +0 -2
- package/dist/cdn/JLRS6GUS.js +0 -2
- package/dist/cdn/JWZRDSEQ.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/NSFNE7JF.js +0 -2
- package/dist/cdn/OWVDY7XZ.js +0 -2
- package/dist/cdn/P7VFZYNM.js +0 -2
- package/dist/cdn/POCA3O3T.js +0 -2
- package/dist/cdn/RDJ3NPD2.js +0 -2
- package/dist/cdn/RJJY3IYM.js +0 -2
- package/dist/cdn/S2ACIYIJ.js +0 -2
- package/dist/cdn/SKBNA7MO.js +0 -2
- package/dist/cdn/SYWS7CRW.js +0 -2
- package/dist/cdn/T2B7YQBZ.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/UYY6Z6VK.js +0 -2
- package/dist/cdn/VWJDFV4M.js +0 -2
- package/dist/cdn/WBKHM7GQ.js +0 -2
- package/dist/cdn/WJ2DBVDY.js +0 -2
- package/dist/cdn/WWXFCBIC.js +0 -2
- package/dist/cdn/XRQ6ALBW.js +0 -2
- package/dist/cdn/ZALKF7AK.js +0 -2
- package/dist/cdn/ZOVBFLHG.js +0 -2
- /package/dist/cdn/{XJY76HZ5.js → 2QCI6TGY.js} +0 -0
- /package/dist/cdn/{O2A6CQZA.js → BLWTCPBG.js} +0 -0
- /package/dist/cdn/{5OPFL4DZ.js → KWIC32XQ.js} +0 -0
- /package/dist/cdn/{SG5FNFQO.js → Q24FQVQ4.js} +0 -0
- /package/dist/cdn/{DE7OTXX2.js → QBJZUEM2.js} +0 -0
|
@@ -7,6 +7,7 @@ import type { DropdownItem } from "../calcite-dropdown-item/customElement.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* @cssproperty [--calcite-dropdown-width] - Specifies the width of the component's wrapper.
|
|
9
9
|
* @cssproperty [--calcite-dropdown-background-color] - Specifies the component's background color.
|
|
10
|
+
* @cssproperty [--calcite-dropdown-max-height] - Specifies the maximum height of the component's wrapper.
|
|
10
11
|
* @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
11
12
|
* @slot [trigger] - [deprecated] in v5.1.0, removal target v7.0.0 - Use the `referenceElement` property instead. A slot for the element that triggers the component.
|
|
12
13
|
*/
|
|
@@ -25,8 +26,8 @@ export abstract class Dropdown extends LitElement {
|
|
|
25
26
|
* @default false
|
|
26
27
|
*/
|
|
27
28
|
accessor disabled: boolean;
|
|
28
|
-
/** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when
|
|
29
|
-
accessor flipPlacements: FlipPlacement[];
|
|
29
|
+
/** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when its initial or specified `placement` has insufficient space available. */
|
|
30
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
30
31
|
/**
|
|
31
32
|
* Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scrollbar.
|
|
32
33
|
* Value must be greater than `0`, and does not include `groupTitle`s from `calcite-dropdown-group`.
|
|
@@ -87,9 +88,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
87
88
|
/** The component's selected items. */
|
|
88
89
|
get selectedItems(): DropdownItem[];
|
|
89
90
|
/**
|
|
90
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
91
|
-
*
|
|
92
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
91
|
+
* 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.
|
|
93
92
|
*
|
|
94
93
|
* @default false
|
|
95
94
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -102,13 +101,13 @@ export abstract class Dropdown extends LitElement {
|
|
|
102
101
|
*/
|
|
103
102
|
accessor type: "hover" | "click";
|
|
104
103
|
/** Specifies the component's width. */
|
|
105
|
-
accessor width: Extract<Width, Scale
|
|
104
|
+
accessor width: Extract<Width, Scale> | undefined;
|
|
106
105
|
/**
|
|
107
106
|
* Specifies the component's width.
|
|
108
107
|
*
|
|
109
108
|
* @deprecated in v3.0.0, removal target v6.0.0 - Use the `width` property instead.
|
|
110
109
|
*/
|
|
111
|
-
accessor widthScale: Scale;
|
|
110
|
+
accessor widthScale: Scale | undefined;
|
|
112
111
|
/**
|
|
113
112
|
* Updates the component's position.
|
|
114
113
|
*
|
|
@@ -22,7 +22,7 @@ const CSS = {
|
|
|
22
22
|
wrapper: "wrapper",
|
|
23
23
|
triggerContainer: "trigger-container"
|
|
24
24
|
};
|
|
25
|
-
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:inline-block}.wrapper{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.wrapper{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.wrapper[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.wrapper:popover-open{display:block}.wrapper .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.wrapper .calcite-floating-ui-anim{box-shadow:var(--calcite-shadow-md)}.content{
|
|
25
|
+
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:inline-block}.wrapper{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.wrapper{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.wrapper[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.wrapper:popover-open{display:block}.wrapper .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.wrapper .calcite-floating-ui-anim{box-shadow:var(--calcite-shadow-md)}.content{width:auto;overflow-y:auto;overflow-x:hidden;inline-size:var(--calcite-dropdown-width, var(--calcite-internal-dropdown-width));background-color:var(--calcite-dropdown-background-color, var(--calcite-color-foreground-1));max-block-size:var(--calcite-dropdown-max-height, 45vh)}.trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-internal-dropdown-width: 12rem}.width-m{--calcite-internal-dropdown-width: 14rem}.width-l{--calcite-internal-dropdown-width: 16rem}@media(forced-colors:active){:host([open]) .wrapper{border:var(--calcite-border-width-sm) solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
26
26
|
const manager = referenceElementManager({ click: true, hover: true });
|
|
27
27
|
class Dropdown extends LitElement {
|
|
28
28
|
constructor() {
|
|
@@ -75,7 +75,7 @@ class Dropdown extends LitElement {
|
|
|
75
75
|
this.styles = styles;
|
|
76
76
|
}
|
|
77
77
|
get referenceElementType() {
|
|
78
|
-
return this.referenceElement ? this.type :
|
|
78
|
+
return this.referenceElement ? this.type : void 0;
|
|
79
79
|
}
|
|
80
80
|
async reposition(delayed = false) {
|
|
81
81
|
const { filteredFlipPlacements, floatingEl, offsetDistance, offsetSkidding, overlayPositioning, placement, referenceEl } = this;
|
|
@@ -198,7 +198,7 @@ class Dropdown extends LitElement {
|
|
|
198
198
|
}
|
|
199
199
|
setFilteredPlacements() {
|
|
200
200
|
const { el, flipPlacements } = this;
|
|
201
|
-
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) :
|
|
201
|
+
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
|
|
202
202
|
}
|
|
203
203
|
updateItems() {
|
|
204
204
|
this.items = this.groups.map((group) => Array.from(group?.querySelectorAll("calcite-dropdown-item"))).reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
@@ -266,8 +266,8 @@ class Dropdown extends LitElement {
|
|
|
266
266
|
this.topLayer.hide();
|
|
267
267
|
}
|
|
268
268
|
setReferenceEl(el) {
|
|
269
|
-
const previousReferenceEl = this.referenceEl instanceof HTMLElement ? this.referenceEl :
|
|
270
|
-
const nextReferenceEl = el instanceof HTMLElement ? el :
|
|
269
|
+
const previousReferenceEl = this.referenceEl instanceof HTMLElement ? this.referenceEl : void 0;
|
|
270
|
+
const nextReferenceEl = el instanceof HTMLElement ? el : void 0;
|
|
271
271
|
updateRefObserver(this.resizeObserver, previousReferenceEl, nextReferenceEl);
|
|
272
272
|
if (this.referenceElementType || !nextReferenceEl) {
|
|
273
273
|
return;
|
|
@@ -339,6 +339,9 @@ class Dropdown extends LitElement {
|
|
|
339
339
|
this.selectedItems = this.items.filter((item) => item.selected);
|
|
340
340
|
}
|
|
341
341
|
getYDistanceFromScroller(last) {
|
|
342
|
+
if (!last) {
|
|
343
|
+
return NaN;
|
|
344
|
+
}
|
|
342
345
|
const style = last.getBoundingClientRect();
|
|
343
346
|
return last.offsetTop + style.height;
|
|
344
347
|
}
|
|
@@ -380,7 +383,7 @@ class Dropdown extends LitElement {
|
|
|
380
383
|
this.items.forEach((item) => {
|
|
381
384
|
item.activeDescendant = item === activeItem;
|
|
382
385
|
});
|
|
383
|
-
this.activeDescendantElement = activeItem ??
|
|
386
|
+
this.activeDescendantElement = activeItem ?? void 0;
|
|
384
387
|
}
|
|
385
388
|
navigateActiveItem(direction) {
|
|
386
389
|
const traversableItems = this.getTraversableItems();
|
|
@@ -446,7 +449,7 @@ class Dropdown extends LitElement {
|
|
|
446
449
|
}
|
|
447
450
|
render() {
|
|
448
451
|
const { open } = this;
|
|
449
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`${!this.referenceElementType ? html`<div class=${safeClassMap(CSS.triggerContainer)} @click=${this.toggleClickDropdown} @focusin=${this.openHoverDropdown} @focusout=${this.closeHoverDropdown} @keydown=${this.keyDownHandler} ${ref(this.setReferenceEl)}><slot .ariaActiveDescendantElement=${this.activeDescendantElement ??
|
|
452
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`${!this.referenceElementType ? html`<div class=${safeClassMap(CSS.triggerContainer)} @click=${this.toggleClickDropdown} @focusin=${this.openHoverDropdown} @focusout=${this.closeHoverDropdown} @keydown=${this.keyDownHandler} ${ref(this.setReferenceEl)}><slot .ariaActiveDescendantElement=${this.activeDescendantElement ?? void 0} .ariaControlsElements=${this.scrollerEl ? [this.scrollerEl] : void 0} .ariaExpanded=${open} aria-haspopup=menu name=${SLOTS.trigger}></slot></div>` : null}<div class=${safeClassMap({
|
|
450
453
|
[CSS.wrapper]: true,
|
|
451
454
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale)
|
|
452
455
|
})} .inert=${!open} popover=manual ${ref(this.setFloatingEl)}><div .ariaLabelledByElements=${this.referenceEl instanceof HTMLElement ? [this.referenceEl] : void 0} class=${safeClassMap({
|
|
@@ -9,7 +9,7 @@ import type { SelectionMode } from "../interfaces.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export abstract class DropdownGroup extends LitElement {
|
|
11
11
|
/** When specified, displays a group title. */
|
|
12
|
-
accessor groupTitle: string;
|
|
12
|
+
accessor groupTitle: string | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* The position of the group in the dropdown menu.
|
|
15
15
|
*
|
|
@@ -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 { C as CSS$1 } from "../../chunks/
|
|
6
|
+
import { C as CSS$1 } from "../../chunks/resources9.js";
|
|
7
7
|
const CSS = {
|
|
8
8
|
title: "title",
|
|
9
9
|
firstTitle: "first-title",
|
|
@@ -57,7 +57,7 @@ class DropdownGroup extends LitElement {
|
|
|
57
57
|
render() {
|
|
58
58
|
const groupTitle = this.groupTitle ? html`<span aria-hidden=true class=${safeClassMap({ [CSS.title]: true, [CSS.firstTitle]: this.position === 0 })}>${this.groupTitle}</span>` : null;
|
|
59
59
|
const dropdownSeparator = this.position > 0 ? html`<div class=${safeClassMap(CSS.separator)} role=separator></div>` : null;
|
|
60
|
-
this.el.ariaLabel = this.groupTitle;
|
|
60
|
+
this.el.ariaLabel = this.groupTitle ?? null;
|
|
61
61
|
this.el.role = "group";
|
|
62
62
|
return html`<div class=${safeClassMap({
|
|
63
63
|
[CSS$1.container]: true
|
|
@@ -24,17 +24,17 @@ export abstract class DropdownItem extends LitElement {
|
|
|
24
24
|
*
|
|
25
25
|
* Determines if the component will render as an anchor.
|
|
26
26
|
*/
|
|
27
|
-
accessor href: string;
|
|
27
|
+
accessor href: string | undefined;
|
|
28
28
|
/** Specifies an icon to display at the end of the component. */
|
|
29
|
-
accessor iconEnd: IconName;
|
|
29
|
+
accessor iconEnd: IconName | undefined;
|
|
30
30
|
/** When the element direction is right-to-left (`"rtl"`), flips the component's `iconStart` and/or `iconEnd`. */
|
|
31
|
-
accessor iconFlipRtl: FlipContext;
|
|
31
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
32
32
|
/** Specifies an icon to display at the start of the component. */
|
|
33
|
-
accessor iconStart: IconName;
|
|
33
|
+
accessor iconStart: IconName | undefined;
|
|
34
34
|
/** Specifies an accessible label for the component. */
|
|
35
|
-
accessor label: string;
|
|
35
|
+
accessor label: string | undefined;
|
|
36
36
|
/** Specifies the relationship to the linked resource defined in `href`. */
|
|
37
|
-
accessor rel: string;
|
|
37
|
+
accessor rel: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* When `true`, the component is selected.
|
|
40
40
|
*
|
|
@@ -42,7 +42,7 @@ export abstract class DropdownItem extends LitElement {
|
|
|
42
42
|
*/
|
|
43
43
|
accessor selected: boolean;
|
|
44
44
|
/** Specifies the frame or window to open the linked resource. */
|
|
45
|
-
accessor target: string;
|
|
45
|
+
accessor target: string | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* Sets focus on the component.
|
|
48
48
|
*
|
|
@@ -7,7 +7,7 @@ import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
|
7
7
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
8
8
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
9
9
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
10
|
-
import { C as CSS, I as ICONS } from "../../chunks/
|
|
10
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources9.js";
|
|
11
11
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:var(--calcite-space-sm-plus);padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container,:host([active-descendant]) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
12
12
|
class DropdownItem extends LitElement {
|
|
13
13
|
constructor() {
|
|
@@ -55,7 +55,7 @@ class DropdownItem extends LitElement {
|
|
|
55
55
|
this.emitRequestedItem();
|
|
56
56
|
}
|
|
57
57
|
updateActiveItemOnChange(event) {
|
|
58
|
-
const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
|
|
58
|
+
const parentEmittedChange = this.parentDropdownGroupEl && event.composedPath().includes(this.parentDropdownGroupEl);
|
|
59
59
|
if (parentEmittedChange) {
|
|
60
60
|
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
|
61
61
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
@@ -64,7 +64,7 @@ class DropdownItem extends LitElement {
|
|
|
64
64
|
event.stopPropagation();
|
|
65
65
|
}
|
|
66
66
|
initialize() {
|
|
67
|
-
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
67
|
+
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group") ?? void 0;
|
|
68
68
|
if (this.selectionMode === "none") {
|
|
69
69
|
this.selected = false;
|
|
70
70
|
}
|
|
@@ -106,7 +106,7 @@ class DropdownItem extends LitElement {
|
|
|
106
106
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
107
107
|
const { disabled } = this;
|
|
108
108
|
this.el.ariaChecked = itemAria;
|
|
109
|
-
this.el.ariaLabel = !href ? label : "";
|
|
109
|
+
this.el.ariaLabel = !href ? label ?? null : "";
|
|
110
110
|
this.el.role = itemRole;
|
|
111
111
|
setAttribute(this.el, "tabIndex", -1);
|
|
112
112
|
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
|
|
@@ -108,7 +108,7 @@ class Filter extends LitElement {
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const { disabled, scale } = this;
|
|
111
|
-
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @
|
|
111
|
+
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @calciteInputInput=${this.inputHandler} @keydown=${this.keyDownHandler} .placeholder=${this.placeholder} .scale=${scale} type=text .value=${this.value} ${ref(this.textInputRef)}></calcite-input></label></div>` });
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
customElement("calcite-filter", Filter);
|
|
@@ -85,7 +85,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
accessor collapsible: boolean;
|
|
88
|
-
/** Specifies a the component
|
|
88
|
+
/** Specifies a description for the component. */
|
|
89
89
|
accessor description: string;
|
|
90
90
|
/**
|
|
91
91
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
@@ -153,9 +153,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
153
153
|
*/
|
|
154
154
|
accessor showBackButton: boolean;
|
|
155
155
|
/**
|
|
156
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
157
|
-
*
|
|
158
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
156
|
+
* 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.
|
|
159
157
|
*
|
|
160
158
|
* @default false
|
|
161
159
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -5,7 +5,7 @@ import { css, nothing, html } from "lit";
|
|
|
5
5
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
8
|
+
import { S as SLOTS$1 } from "../../chunks/resources8.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -119,7 +119,7 @@ class FlowItem extends LitElement {
|
|
|
119
119
|
const { showBackButton, backButtonClick, messages } = this;
|
|
120
120
|
const label = messages.back;
|
|
121
121
|
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
|
122
|
-
return showBackButton ? keyed("flow-back-button", html`<calcite-action
|
|
122
|
+
return showBackButton ? keyed("flow-back-button", html`<calcite-action class=${safeClassMap(CSS.backButton)} .icon=${icon} @click=${backButtonClick} .scale=${this.scale} slot=${SLOTS.headerActionsStart} .text=${label} title=${label ?? nothing} ${ref(this.backButtonRef)}></calcite-action>`) : null;
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
|
|
@@ -8,16 +8,16 @@ export abstract class Graph extends LitElement {
|
|
|
8
8
|
* Array of values describing a single color stop ([offset, color, opacity])
|
|
9
9
|
* These color stops should be sorted by offset value.
|
|
10
10
|
*/
|
|
11
|
-
accessor colorStops: ColorStop[];
|
|
11
|
+
accessor colorStops: ColorStop[] | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* Array of tuples describing a single data point ([x, y])
|
|
14
14
|
* These data points should be sorted by x-axis value.
|
|
15
15
|
*/
|
|
16
16
|
accessor data: DataSeries;
|
|
17
17
|
/** End of highlight color if highlighting range. */
|
|
18
|
-
accessor highlightMax: number;
|
|
18
|
+
accessor highlightMax: number | undefined;
|
|
19
19
|
/** Start of highlight color if highlighting range. */
|
|
20
|
-
accessor highlightMin: number;
|
|
20
|
+
accessor highlightMin: number | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Highest point of the range.
|
|
23
23
|
*
|
|
@@ -9,8 +9,8 @@ function slope(p0, p1, p2) {
|
|
|
9
9
|
const dx1 = p2[0] - p1[0];
|
|
10
10
|
const dy = p1[1] - p0[1];
|
|
11
11
|
const dy1 = p2[1] - p1[1];
|
|
12
|
-
const m = dy / (dx || dx1 < 0 && 0);
|
|
13
|
-
const m1 = dy1 / (dx1 || dx < 0 && 0);
|
|
12
|
+
const m = dy / Number(dx || dx1 < 0 && 0);
|
|
13
|
+
const m1 = dy1 / Number(dx1 || dx < 0 && 0);
|
|
14
14
|
const p = (m * dx1 + m1 * dx) / (dx + dx1);
|
|
15
15
|
return (Math.sign(m) + Math.sign(m1)) * Math.min(Math.abs(m), Math.abs(m1), 0.5 * Math.abs(p)) || 0;
|
|
16
16
|
}
|
|
@@ -125,36 +125,32 @@ class Graph extends LitElement {
|
|
|
125
125
|
currentMax = [max, rangeMax[1]];
|
|
126
126
|
}
|
|
127
127
|
const t = translate({ min: currentMin, max: currentMax, width, height });
|
|
128
|
-
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
129
|
-
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
130
128
|
const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
|
|
131
129
|
const fill = colorStops ? `url(#${IDS.linearGradient(id)})` : void 0;
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
if (highlightMin !== void 0 && highlightMax !== void 0) {
|
|
131
|
+
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
132
|
+
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
133
|
+
return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<mask height=100% id=${IDS.mask(id, 1) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
134
134
|
M 0,0
|
|
135
135
|
L ${hMinX - 1},0
|
|
136
136
|
L ${hMinX - 1},${height}
|
|
137
137
|
L 0,${height}
|
|
138
138
|
Z
|
|
139
|
-
`} fill=white /></mask
|
|
140
|
-
svg`<mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
139
|
+
`} fill=white /></mask><mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
141
140
|
M ${hMinX + 1},0
|
|
142
141
|
L ${hMaxX - 1},0
|
|
143
142
|
L ${hMaxX - 1},${height}
|
|
144
143
|
L ${hMinX + 1}, ${height}
|
|
145
144
|
Z
|
|
146
|
-
`} fill=white /></mask
|
|
147
|
-
svg`<mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
145
|
+
`} fill=white /></mask><mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
148
146
|
M ${hMaxX + 1},0
|
|
149
147
|
L ${width},0
|
|
150
148
|
L ${width},${height}
|
|
151
149
|
L ${hMaxX + 1}, ${height}
|
|
152
150
|
Z
|
|
153
|
-
`} fill=white /></mask
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`
|
|
157
|
-
] : svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
|
|
151
|
+
`} fill=white /></mask><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 1)})`} /><path class=${safeClassMap(CSS.graphPathHighlight)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 2)})`} /><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`}</svg>`;
|
|
152
|
+
}
|
|
153
|
+
return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
|
|
158
154
|
}
|
|
159
155
|
}
|
|
160
156
|
customElement("calcite-graph", Graph);
|
|
@@ -19,7 +19,7 @@ export abstract class Icon extends LitElement {
|
|
|
19
19
|
*
|
|
20
20
|
* @see [Calcite UI Icons](https://developers.arcgis.com/calcite-design-system/icons).
|
|
21
21
|
*/
|
|
22
|
-
accessor icon: IconName;
|
|
22
|
+
accessor icon: IconName | null;
|
|
23
23
|
/**
|
|
24
24
|
* When `true`, preloads the `icon` data.
|
|
25
25
|
*
|
|
@@ -37,5 +37,5 @@ export abstract class Icon extends LitElement {
|
|
|
37
37
|
*
|
|
38
38
|
* It is recommended to set this value if your icon is semantic.
|
|
39
39
|
*/
|
|
40
|
-
accessor textLabel: string;
|
|
40
|
+
accessor textLabel: string | undefined;
|
|
41
41
|
}
|
|
@@ -103,7 +103,7 @@ class Icon extends LitElement {
|
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
super.disconnectedCallback();
|
|
105
105
|
this.intersectionObserver?.disconnect();
|
|
106
|
-
this.intersectionObserver =
|
|
106
|
+
this.intersectionObserver = void 0;
|
|
107
107
|
}
|
|
108
108
|
async loadIconPathData() {
|
|
109
109
|
const { icon, scale, visible } = this;
|
|
@@ -121,8 +121,8 @@ class Icon extends LitElement {
|
|
|
121
121
|
this.intersectionObserver = createObserver("intersection", (entries) => {
|
|
122
122
|
entries.forEach((entry) => {
|
|
123
123
|
if (entry.isIntersecting) {
|
|
124
|
-
this.intersectionObserver
|
|
125
|
-
this.intersectionObserver =
|
|
124
|
+
this.intersectionObserver?.disconnect();
|
|
125
|
+
this.intersectionObserver = void 0;
|
|
126
126
|
callback();
|
|
127
127
|
}
|
|
128
128
|
});
|
|
@@ -138,7 +138,7 @@ class Icon extends LitElement {
|
|
|
138
138
|
const dir = this.direction;
|
|
139
139
|
const size = scaleToPx[scale];
|
|
140
140
|
const semantic = !!textLabel;
|
|
141
|
-
const paths =
|
|
141
|
+
const paths = Array.isArray(pathData) ? pathData : [pathData ?? ""];
|
|
142
142
|
this.el.ariaHidden = toAriaBoolean(!semantic);
|
|
143
143
|
this.el.ariaLabel = semantic ? textLabel : null;
|
|
144
144
|
this.el.role = semantic ? "img" : null;
|
|
@@ -5,6 +5,6 @@ export type IconName = KebabCaseIcons | CamelCaseIcons;
|
|
|
5
5
|
|
|
6
6
|
export type CamelCaseIcons = ExtractBaseIcon<keyof typeof icons>;
|
|
7
7
|
|
|
8
|
-
export type KebabCaseIcons = KebabCase<CamelCaseIcons>;
|
|
8
|
+
export type KebabCaseIcons = KebabCase<CamelCaseIcons, { splitOnNumbers: true; }>;
|
|
9
9
|
|
|
10
10
|
export type ExtractBaseIcon<T> = T extends `${infer Base}${"16" | "24" | "32"}F` ? `${Base}F` : T extends `${infer Base}F` ? `${Base}F` : T extends `${infer Base}${"16" | "24" | "32"}` ? Base : never;
|
|
@@ -13,7 +13,7 @@ import type { Scale } from "../interfaces.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export abstract class InlineEditable extends LitElement {
|
|
15
15
|
/** Specifies a callback to be executed prior to disabling editing via the controls. When provided, the component's loading state will be handled automatically. */
|
|
16
|
-
accessor afterConfirm: () => Promise<void
|
|
16
|
+
accessor afterConfirm: (() => Promise<void>) | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* When `true` and `editingEnabled` is `true`, displays save and cancel controls.
|
|
19
19
|
*
|
|
@@ -30,6 +30,8 @@ class InlineEditable extends LitElement {
|
|
|
30
30
|
this.cancelEditingButtonRef = createRef();
|
|
31
31
|
this._editingEnabled = false;
|
|
32
32
|
this.enableEditingButtonRef = createRef();
|
|
33
|
+
this.shouldEmitCancel = false;
|
|
34
|
+
this.valuePriorToEditing = "";
|
|
33
35
|
this.messages = useT9n();
|
|
34
36
|
this.focusSetter = useSetFocus()(this);
|
|
35
37
|
this.interactiveContainer = useInteractive(this);
|
|
@@ -102,7 +104,7 @@ class InlineEditable extends LitElement {
|
|
|
102
104
|
this.setFocus();
|
|
103
105
|
}
|
|
104
106
|
enableEditing() {
|
|
105
|
-
this.valuePriorToEditing = this.inputEl?.value;
|
|
107
|
+
this.valuePriorToEditing = this.inputEl?.value ?? "";
|
|
106
108
|
this.editingEnabled = true;
|
|
107
109
|
this.inputEl?.setFocus();
|
|
108
110
|
this.calciteInternalInlineEditableEnableEditingChange.emit();
|
|
@@ -131,7 +133,7 @@ class InlineEditable extends LitElement {
|
|
|
131
133
|
if (event.key === "Tab" && this.shouldShowControls) {
|
|
132
134
|
if (!event.shiftKey && event.target === this.inputEl) {
|
|
133
135
|
event.preventDefault();
|
|
134
|
-
this.cancelEditingButtonRef.value
|
|
136
|
+
this.cancelEditingButtonRef.value?.setFocus();
|
|
135
137
|
}
|
|
136
138
|
if (!!event.shiftKey && event.target === this.cancelEditingButtonRef.value) {
|
|
137
139
|
event.preventDefault();
|
|
@@ -35,7 +35,7 @@ export abstract class Input extends LitElement {
|
|
|
35
35
|
*
|
|
36
36
|
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
|
|
37
37
|
*/
|
|
38
|
-
accessor accept: string;
|
|
38
|
+
accessor accept: string | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Specifies the text alignment of the component's `value`.
|
|
41
41
|
*
|
|
@@ -48,7 +48,7 @@ export abstract class Input extends LitElement {
|
|
|
48
48
|
*
|
|
49
49
|
* @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
50
50
|
*/
|
|
51
|
-
accessor autocomplete: AutoFill;
|
|
51
|
+
accessor autocomplete: AutoFill | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* When `true` and the component has a `value`, a clear button is displayed. The clear button shows by default for `"search"`, `"time"`, and `"date"` types.
|
|
54
54
|
*
|
|
@@ -68,12 +68,8 @@ export abstract class Input extends LitElement {
|
|
|
68
68
|
* @see [MDN - files](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)
|
|
69
69
|
*/
|
|
70
70
|
accessor files: FileList | undefined;
|
|
71
|
-
/**
|
|
72
|
-
|
|
73
|
-
*
|
|
74
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
75
|
-
*/
|
|
76
|
-
accessor form: string;
|
|
71
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
72
|
+
accessor form: string | undefined;
|
|
77
73
|
/**
|
|
78
74
|
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
79
75
|
*
|
|
@@ -81,7 +77,7 @@ export abstract class Input extends LitElement {
|
|
|
81
77
|
*/
|
|
82
78
|
accessor groupSeparator: boolean;
|
|
83
79
|
/** When `true`, displays a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon. */
|
|
84
|
-
accessor icon: IconName | boolean;
|
|
80
|
+
accessor icon: IconName | boolean | undefined;
|
|
85
81
|
/**
|
|
86
82
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
87
83
|
*
|
|
@@ -89,9 +85,9 @@ export abstract class Input extends LitElement {
|
|
|
89
85
|
*/
|
|
90
86
|
accessor iconFlipRtl: boolean;
|
|
91
87
|
/** Specifies an accessible label for the component. */
|
|
92
|
-
accessor label: string;
|
|
88
|
+
accessor label: string | undefined;
|
|
93
89
|
/** Specifies the component's label text. */
|
|
94
|
-
accessor labelText: string;
|
|
90
|
+
accessor labelText: string | undefined;
|
|
95
91
|
/**
|
|
96
92
|
* When `true`, a busy indicator is displayed.
|
|
97
93
|
*
|
|
@@ -104,17 +100,20 @@ export abstract class Input extends LitElement {
|
|
|
104
100
|
*
|
|
105
101
|
* @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
|
|
106
102
|
*/
|
|
107
|
-
accessor max: number;
|
|
103
|
+
accessor max: number | undefined;
|
|
108
104
|
/**
|
|
109
105
|
* When the component resides in a form,
|
|
110
106
|
* specifies the maximum length of text for the component's `value`.
|
|
111
107
|
*
|
|
112
108
|
* @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
|
|
113
109
|
*/
|
|
114
|
-
accessor maxLength: number;
|
|
110
|
+
accessor maxLength: number | undefined;
|
|
115
111
|
/** Overrides individual strings used by the component. */
|
|
116
112
|
accessor messageOverrides: {
|
|
113
|
+
cancelInlineEditing?: string;
|
|
117
114
|
clear?: string;
|
|
115
|
+
confirmInlineEditingChanges?: string;
|
|
116
|
+
enableInlineEditing?: string;
|
|
118
117
|
loading?: string;
|
|
119
118
|
required?: string;
|
|
120
119
|
};
|
|
@@ -124,14 +123,14 @@ export abstract class Input extends LitElement {
|
|
|
124
123
|
*
|
|
125
124
|
* @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
|
|
126
125
|
*/
|
|
127
|
-
accessor min: number;
|
|
126
|
+
accessor min: number | undefined;
|
|
128
127
|
/**
|
|
129
128
|
* When the component resides in a form,
|
|
130
129
|
* specifies the minimum length of text for the component's `value`.
|
|
131
130
|
*
|
|
132
131
|
* @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
|
|
133
132
|
*/
|
|
134
|
-
accessor minLength: number;
|
|
133
|
+
accessor minLength: number | undefined;
|
|
135
134
|
/**
|
|
136
135
|
* When `true` and `type` is `"email"` or `"file"`, the component can accept more than one value.
|
|
137
136
|
* Read the native attribute's documentation on MDN for more info.
|
|
@@ -147,7 +146,7 @@ export abstract class Input extends LitElement {
|
|
|
147
146
|
*
|
|
148
147
|
* @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
|
|
149
148
|
*/
|
|
150
|
-
accessor name: string;
|
|
149
|
+
accessor name: string | undefined;
|
|
151
150
|
/**
|
|
152
151
|
* When `type="number"`, specifies the placement of the buttons.
|
|
153
152
|
*
|
|
@@ -155,7 +154,7 @@ export abstract class Input extends LitElement {
|
|
|
155
154
|
*/
|
|
156
155
|
accessor numberButtonType: InputPlacement;
|
|
157
156
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
158
|
-
accessor numberingSystem: NumberingSystem;
|
|
157
|
+
accessor numberingSystem: NumberingSystem | undefined;
|
|
159
158
|
/**
|
|
160
159
|
* When the component resides in a form,
|
|
161
160
|
* specifies a regular expression (regex) pattern the component's `value` must match for validation.
|
|
@@ -163,15 +162,15 @@ export abstract class Input extends LitElement {
|
|
|
163
162
|
*
|
|
164
163
|
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
|
|
165
164
|
*/
|
|
166
|
-
accessor pattern: string;
|
|
165
|
+
accessor pattern: string | undefined;
|
|
167
166
|
/**
|
|
168
167
|
* Specifies the component's placeholder text.
|
|
169
168
|
*
|
|
170
169
|
* @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
|
|
171
170
|
*/
|
|
172
|
-
accessor placeholder: string;
|
|
171
|
+
accessor placeholder: string | undefined;
|
|
173
172
|
/** Specifies text to display at the start of the component. */
|
|
174
|
-
accessor prefixText: string;
|
|
173
|
+
accessor prefixText: string | undefined;
|
|
175
174
|
/**
|
|
176
175
|
* When `true`, the component's `value` can be read, but cannot be modified.
|
|
177
176
|
*
|
|
@@ -203,9 +202,9 @@ export abstract class Input extends LitElement {
|
|
|
203
202
|
*
|
|
204
203
|
* @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
|
|
205
204
|
*/
|
|
206
|
-
accessor step: number | "any";
|
|
205
|
+
accessor step: number | "any" | undefined;
|
|
207
206
|
/** Specifies text to display at the end of the component. */
|
|
208
|
-
accessor suffixText: string;
|
|
207
|
+
accessor suffixText: string | undefined;
|
|
209
208
|
/**
|
|
210
209
|
* Specifies the component type.
|
|
211
210
|
*
|
|
@@ -215,9 +214,9 @@ export abstract class Input extends LitElement {
|
|
|
215
214
|
*/
|
|
216
215
|
accessor type: "color" | "date" | "datetime-local" | "email" | "file" | "image" | "month" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | "week";
|
|
217
216
|
/** Specifies the validation icon to display under the component. */
|
|
218
|
-
accessor validationIcon: IconName | boolean;
|
|
217
|
+
accessor validationIcon: IconName | boolean | undefined;
|
|
219
218
|
/** Specifies the validation message to display under the component. */
|
|
220
|
-
accessor validationMessage: string;
|
|
219
|
+
accessor validationMessage: string | undefined;
|
|
221
220
|
/**
|
|
222
221
|
* The component's current validation state.
|
|
223
222
|
*
|