@esri/calcite-components 5.2.0-next.3 → 5.2.0-next.5
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/{OHEDJJP3.js → 244ERQCM.js} +1 -1
- package/dist/cdn/{OF67Q5H4.js → 24HIUUSA.js} +1 -1
- package/dist/cdn/{VI4U7JDU.js → 2IU3EHCK.js} +1 -1
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/{HAJB6MIB.js → 2PWHFBYE.js} +1 -1
- package/dist/cdn/{4NKWSPPP.js → 2TEG5UFR.js} +1 -1
- package/dist/cdn/{F6A3EV5Z.js → 322PFF7Z.js} +1 -1
- package/dist/cdn/{GFTCJY52.js → 36ZG4GBQ.js} +1 -1
- package/dist/cdn/{DZ3BSHVB.js → 3CMHSLTX.js} +1 -1
- package/dist/cdn/{XH36YHWX.js → 3HX4E5AT.js} +1 -1
- package/dist/cdn/{Y3AQSDDG.js → 3L4DDI45.js} +1 -1
- package/dist/cdn/3PIM6BMO.js +2 -0
- package/dist/cdn/{QSAWZORD.js → 45ELN2PJ.js} +1 -1
- package/dist/cdn/{5MF7KGEH.js → 46EH3H4M.js} +1 -1
- package/dist/cdn/{XQKJ2MAY.js → 4IS55ZBO.js} +1 -1
- package/dist/cdn/{XGOD2THM.js → 4ZNLMI7C.js} +1 -1
- package/dist/cdn/55RYBWXB.js +2 -0
- package/dist/cdn/{EUNOZE74.js → 5BTPWVDT.js} +1 -1
- package/dist/cdn/{5SMFDB2H.js → 5BZENCNG.js} +1 -1
- package/dist/cdn/{FA3N4SCO.js → 5CSUX3V5.js} +1 -1
- package/dist/cdn/{AXKBFCNE.js → 5EKUTIXQ.js} +1 -1
- package/dist/cdn/{MKTDHS2D.js → 5NRU7OJF.js} +1 -1
- package/dist/cdn/{TVOZYOEI.js → 5Y6744HE.js} +1 -1
- package/dist/cdn/5ZQXBBQQ.js +2 -0
- package/dist/cdn/{XVSPVAAK.js → 6OC2BJBW.js} +1 -1
- package/dist/cdn/6S2O33VJ.js +2 -0
- package/dist/cdn/{UR3E5C47.js → 7BA5SO53.js} +1 -1
- package/dist/cdn/{I7GYAHCX.js → 7BR2ER3N.js} +1 -1
- package/dist/cdn/{YIYK2AH7.js → 7EJ24UTN.js} +1 -1
- package/dist/cdn/{2HNTBRGI.js → 7OHPGPMA.js} +1 -1
- package/dist/cdn/{2V5PWFGL.js → 7RH2SJQU.js} +1 -1
- package/dist/cdn/{G4OJO3U4.js → 7Y3S5Y55.js} +1 -1
- package/dist/cdn/7ZFIBIHG.js +2 -0
- package/dist/cdn/{25REF2NN.js → AK6XLW7N.js} +1 -1
- package/dist/cdn/{PKZQRMZP.js → AO3P5HVZ.js} +1 -1
- package/dist/cdn/{7R2AK6N6.js → BP25LS3Z.js} +1 -1
- package/dist/cdn/{3QDH4BSH.js → BXU65LPT.js} +1 -1
- package/dist/cdn/{YVOGB4KL.js → C3PA7JRL.js} +1 -1
- package/dist/cdn/{YKKTX575.js → CDH5LXVD.js} +1 -1
- package/dist/cdn/{NA2SOXT6.js → COKKZKHK.js} +1 -1
- package/dist/cdn/{J6NGVSKR.js → DHNR7VLX.js} +1 -1
- package/dist/cdn/{XWVX33VP.js → DMOGCVWZ.js} +1 -1
- package/dist/cdn/{E7ZJND2K.js → DNCMORYJ.js} +1 -1
- package/dist/cdn/{PIPT523T.js → DUY5W2J3.js} +1 -1
- package/dist/cdn/{KFBRWS3D.js → DWSDEXRF.js} +1 -1
- package/dist/cdn/E3RCK74P.js +2 -0
- package/dist/cdn/EFVZRX3W.js +2 -0
- package/dist/cdn/{L4UV3JUD.js → ETT4WWDK.js} +1 -1
- package/dist/cdn/{FP6LX7PQ.js → EVU777DB.js} +1 -1
- package/dist/cdn/{BPEX76AH.js → F4ZYZO6J.js} +1 -1
- package/dist/cdn/{B2TFN5WO.js → F5AGI2QN.js} +1 -1
- package/dist/cdn/{XY6ZZY3N.js → FAMZWCRE.js} +1 -1
- package/dist/cdn/{IKKOQYJ3.js → FGRTUJKR.js} +1 -1
- package/dist/cdn/{55C3E7K2.js → FTXCSWSH.js} +1 -1
- package/dist/cdn/{VHNQUJ3I.js → FYEPBQFF.js} +1 -1
- package/dist/cdn/{5P3KUKVG.js → G6G7V52J.js} +1 -1
- package/dist/cdn/{C4T3FNZ6.js → GHJCL53I.js} +1 -1
- package/dist/cdn/{YU26YM2P.js → GX6IID4J.js} +1 -1
- package/dist/cdn/{77P5NIL6.js → HB6ZWNJ6.js} +1 -1
- package/dist/cdn/{2KQYBSYT.js → HFYWGKZY.js} +1 -1
- package/dist/cdn/{PZ2JFTG3.js → HHE6MZFG.js} +1 -1
- package/dist/cdn/{64Q6HGDE.js → HIELBAF7.js} +1 -1
- package/dist/cdn/{ILPS2EH6.js → HJXYIWMX.js} +1 -1
- package/dist/cdn/{EMVLBTN2.js → HZVGGFHL.js} +1 -1
- package/dist/cdn/{XXX7LPUI.js → I46XWJBK.js} +1 -1
- package/dist/cdn/{WVDLNASH.js → I4WD7S3Q.js} +1 -1
- package/dist/cdn/{4QUJLWDM.js → ILPIQWU7.js} +1 -1
- package/dist/cdn/{O4YDLMH4.js → IOFLSPTQ.js} +1 -1
- package/dist/cdn/{ECQHUL2I.js → IYXJEO3U.js} +1 -1
- package/dist/cdn/{3Z5JAFWG.js → J4SYG3DY.js} +1 -1
- package/dist/cdn/{YPXCM33T.js → J6UBJZOW.js} +1 -1
- package/dist/cdn/{SQVIEOWT.js → JCZW5TS2.js} +1 -1
- package/dist/cdn/{NE4W2KYY.js → JRKNYKHL.js} +1 -1
- package/dist/cdn/{2R5575FD.js → JSQBAVBT.js} +1 -1
- package/dist/cdn/{DNCOUN25.js → K6XQCMHC.js} +1 -1
- package/dist/cdn/{LXNSAHEI.js → KANZL7X4.js} +1 -1
- package/dist/cdn/{KBAOMH37.js → KBJCC6M3.js} +1 -1
- package/dist/cdn/{CS5FMS2X.js → KG2UEHKF.js} +1 -1
- package/dist/cdn/{CM6N5CTY.js → KSCSAABI.js} +1 -1
- package/dist/cdn/{LGJJ3IVS.js → KW6UJGMB.js} +1 -1
- package/dist/cdn/{HTYBEKT4.js → KZQTUYY3.js} +1 -1
- package/dist/cdn/{FRW722GZ.js → L47IPAUB.js} +1 -1
- package/dist/cdn/{MJULDZYK.js → LCFR6GTY.js} +1 -1
- package/dist/cdn/{A5BV4RXA.js → M4NJVOHB.js} +1 -1
- package/dist/cdn/{HURRNHB4.js → M5TS7WI7.js} +1 -1
- package/dist/cdn/{RQUJRPWK.js → MCWOYBP4.js} +1 -1
- package/dist/cdn/{46V4FBEL.js → MMDRAXBD.js} +1 -1
- package/dist/cdn/MPLVWYDA.js +2 -0
- package/dist/cdn/{5YMFALSV.js → MPZEO75L.js} +1 -1
- package/dist/cdn/{5UK4QYJH.js → MWLCAYYX.js} +1 -1
- package/dist/cdn/{UDGWJQLI.js → MWYYOL2T.js} +1 -1
- package/dist/cdn/MZWGXNX4.js +2 -0
- package/dist/cdn/{FFGBSJ3K.js → NBZOLUHH.js} +1 -1
- package/dist/cdn/{X2KGYKIA.js → NN2IHPEX.js} +1 -1
- package/dist/cdn/{M7C3FAEE.js → NWEOQPRQ.js} +1 -1
- package/dist/cdn/{FH3ISPWF.js → NXZ67AHU.js} +1 -1
- package/dist/cdn/{FLRXMVF6.js → O3BCYJMC.js} +1 -1
- package/dist/cdn/{ASUBNSLW.js → O5PLNZUB.js} +1 -1
- package/dist/cdn/{PX6CN3BM.js → OD7YQVTL.js} +1 -1
- package/dist/cdn/{LZB4RQKP.js → ODO44U4I.js} +1 -1
- package/dist/cdn/OIS2OCUI.js +20 -0
- package/dist/cdn/{G3IACNMC.js → PBTE3AQR.js} +1 -1
- package/dist/cdn/{ZBDHEOSY.js → PCVAFTNV.js} +1 -1
- package/dist/cdn/{6T2ZPNFA.js → PEL5LMQA.js} +1 -1
- package/dist/cdn/{ZWWFCCZ7.js → PKHPMEIN.js} +1 -1
- package/dist/cdn/{VYOTQ57Z.js → PLP76FWF.js} +1 -1
- package/dist/cdn/{G3MFBUAJ.js → PQOWSFUI.js} +1 -1
- package/dist/cdn/{QCU7UPIO.js → PRWKGDJR.js} +1 -1
- package/dist/cdn/{EDVESYWS.js → Q6E7AO5H.js} +1 -1
- package/dist/cdn/{46YJO7ZX.js → QD3AIKVA.js} +1 -1
- package/dist/cdn/{74BKHZU7.js → QDVQOMAF.js} +1 -1
- package/dist/cdn/{ZFKR3EYV.js → QGJHYPKZ.js} +1 -1
- package/dist/cdn/{5HLTQ2LF.js → QJ3HRQHV.js} +1 -1
- package/dist/cdn/{XMMZONMQ.js → QKS7EOFA.js} +1 -1
- package/dist/cdn/{45GYNS4N.js → QMBCFBKX.js} +1 -1
- package/dist/cdn/{RWUXB3VT.js → QP2DLERM.js} +1 -1
- package/dist/cdn/{Q45HAOK7.js → R7RCLEUS.js} +1 -1
- package/dist/cdn/{NXAZFXVJ.js → REGGVDSA.js} +1 -1
- package/dist/cdn/{5TANECZK.js → RL6433GX.js} +1 -1
- package/dist/cdn/{WYHTLF5H.js → RNBHN3DC.js} +1 -1
- package/dist/cdn/{LJVNR3MM.js → RNPVTYW7.js} +1 -1
- package/dist/cdn/{G2DHRTQC.js → SEFQONXQ.js} +1 -1
- package/dist/cdn/{2ZHE6WYE.js → SIBHS5A2.js} +1 -1
- package/dist/cdn/{5OIVOI4E.js → SR455Z6P.js} +1 -1
- package/dist/cdn/T5AZQF23.js +2 -0
- package/dist/cdn/TH2V4WUT.js +2 -0
- package/dist/cdn/{WXVKYWR3.js → TNFD3HYK.js} +1 -1
- package/dist/cdn/{GTSHC732.js → TOBPOAGZ.js} +1 -1
- package/dist/cdn/{FMFRALQU.js → TTYV37HC.js} +1 -1
- package/dist/cdn/{SVCYJ4XS.js → TYZTOEVY.js} +1 -1
- package/dist/cdn/{5TLZJ44V.js → V3PU3YQV.js} +1 -1
- package/dist/cdn/{XWQGS5WX.js → VQAXZFZK.js} +1 -1
- package/dist/cdn/{MYKQDV34.js → VWOB3FKQ.js} +1 -1
- package/dist/cdn/{ZU5TOIDV.js → WJ5ZTHI4.js} +1 -1
- package/dist/cdn/{ZMPSTGQA.js → WSZT4GBO.js} +1 -1
- package/dist/cdn/{FW4A2RXA.js → WY3R7VLJ.js} +1 -1
- package/dist/cdn/{FVWMPMHM.js → X2K2EAV2.js} +1 -1
- package/dist/cdn/{S4DHIY5S.js → X3DDLV2Y.js} +1 -1
- package/dist/cdn/{B3XEP4OJ.js → Y3CYF4JT.js} +1 -1
- package/dist/cdn/{CPRYH6HJ.js → Y6HZAGBB.js} +1 -1
- package/dist/cdn/{Y5ML7MYH.js → YCNLKQMF.js} +1 -1
- package/dist/cdn/{5ERAQVFI.js → YPPRNINV.js} +1 -1
- package/dist/cdn/{ECM52CXF.js → Z5GDMSB2.js} +1 -1
- package/dist/cdn/{JWS6J7PU.js → Z5OIB5PU.js} +1 -1
- package/dist/cdn/{IKHJ3B3O.js → ZMMAK3SH.js} +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/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/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/resources12.js +27 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useTime.js +3 -0
- package/dist/components/calcite-action/customElement.d.ts +1 -5
- 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 +3 -5
- package/dist/components/calcite-button/customElement.d.ts +1 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -5
- package/dist/components/calcite-combobox/customElement.d.ts +13 -19
- package/dist/components/calcite-combobox/customElement.js +25 -21
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +1 -0
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +1 -3
- package/dist/components/calcite-dropdown/customElement.d.ts +2 -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-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-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 +14 -12
- package/dist/components/calcite-input-date-picker/customElement.d.ts +17 -23
- package/dist/components/calcite-input-date-picker/customElement.js +23 -23
- 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 +14 -12
- 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 +11 -9
- package/dist/components/calcite-list-item/customElement.d.ts +1 -3
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +4 -6
- 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-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-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-table-header/customElement.d.ts +1 -1
- 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-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.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +13 -10
- package/dist/cdn/2QPDMP77.js +0 -2
- package/dist/cdn/3E5PTGBR.js +0 -2
- package/dist/cdn/3I6JOWLC.js +0 -2
- package/dist/cdn/45OM3TVW.js +0 -2
- package/dist/cdn/4KPRVK5B.js +0 -2
- package/dist/cdn/H5OQSDKX.js +0 -20
- package/dist/cdn/LGHZN3MI.js +0 -2
- package/dist/cdn/O6PZ7XSR.js +0 -2
- package/dist/cdn/PYIKGUJ2.js +0 -2
- package/dist/cdn/QFXBPBV6.js +0 -2
- package/dist/cdn/QSMEIRS5.js +0 -2
- package/dist/cdn/VFOFNA4N.js +0 -2
|
@@ -22,7 +22,7 @@ export abstract class ActionMenu extends LitElement {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
accessor expanded: boolean;
|
|
25
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
25
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
26
26
|
accessor flipPlacements: FlipPlacement[];
|
|
27
27
|
/**
|
|
28
28
|
* Specifies an accessible label for the component.
|
|
@@ -59,9 +59,7 @@ export abstract class ActionMenu extends LitElement {
|
|
|
59
59
|
*/
|
|
60
60
|
accessor scale: Scale;
|
|
61
61
|
/**
|
|
62
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
63
|
-
*
|
|
64
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
62
|
+
* 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.
|
|
65
63
|
*
|
|
66
64
|
* @default false
|
|
67
65
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -85,9 +85,7 @@ export abstract class Alert extends LitElement {
|
|
|
85
85
|
*/
|
|
86
86
|
accessor scale: Scale;
|
|
87
87
|
/**
|
|
88
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
89
|
-
*
|
|
90
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
88
|
+
* 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.
|
|
91
89
|
*
|
|
92
90
|
* @default false
|
|
93
91
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -53,13 +53,9 @@ export abstract class Autocomplete extends LitElement {
|
|
|
53
53
|
* @default false
|
|
54
54
|
*/
|
|
55
55
|
accessor disabled: boolean;
|
|
56
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
56
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
57
57
|
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* Specifies the `id` of the component's associated form.
|
|
60
|
-
*
|
|
61
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
62
|
-
*/
|
|
58
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
63
59
|
accessor form: string | undefined;
|
|
64
60
|
/**
|
|
65
61
|
* When `true` or not set, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.
|
|
@@ -180,9 +176,7 @@ export abstract class Autocomplete extends LitElement {
|
|
|
180
176
|
/** Specifies the component's suffix text. */
|
|
181
177
|
accessor suffixText: string | undefined;
|
|
182
178
|
/**
|
|
183
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
184
|
-
*
|
|
185
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
179
|
+
* 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.
|
|
186
180
|
*
|
|
187
181
|
* @default false
|
|
188
182
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -12,7 +12,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
12
12
|
* @slot [content-start] - A slot for adding non-actionable elements before content of the component.
|
|
13
13
|
*/
|
|
14
14
|
export abstract class AutocompleteItem extends LitElement {
|
|
15
|
-
/** Specifies a description for the component. Displays below the label
|
|
15
|
+
/** Specifies a description for the component. Displays below the `label`. */
|
|
16
16
|
accessor description: string | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
@@ -35,7 +35,7 @@ export abstract class Block extends LitElement {
|
|
|
35
35
|
* @default false
|
|
36
36
|
*/
|
|
37
37
|
accessor collapsible: boolean;
|
|
38
|
-
/** Specifies a description for the component. Displays below the heading
|
|
38
|
+
/** Specifies a description for the component. Displays below the `heading`. */
|
|
39
39
|
accessor description: string | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
@@ -80,7 +80,7 @@ export abstract class Block extends LitElement {
|
|
|
80
80
|
* @default false
|
|
81
81
|
*/
|
|
82
82
|
accessor loading: boolean;
|
|
83
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
83
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
84
84
|
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Determines where the action menu will be positioned.
|
|
@@ -131,9 +131,7 @@ export abstract class Block extends LitElement {
|
|
|
131
131
|
*/
|
|
132
132
|
accessor status: Status | undefined;
|
|
133
133
|
/**
|
|
134
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
135
|
-
*
|
|
136
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
134
|
+
* 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.
|
|
137
135
|
*
|
|
138
136
|
* @default false
|
|
139
137
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -45,11 +45,7 @@ export abstract class Button extends LitElement {
|
|
|
45
45
|
* @see [MDN - Global download attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).
|
|
46
46
|
*/
|
|
47
47
|
accessor download: string | boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Specifies the `id` of the component's associated form.
|
|
50
|
-
*
|
|
51
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
52
|
-
*/
|
|
48
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
53
49
|
accessor form: string | undefined;
|
|
54
50
|
/** Specifies the URL of the linked resource, which can be set as an absolute or relative path. */
|
|
55
51
|
accessor href: string | undefined;
|
|
@@ -22,11 +22,7 @@ export abstract class Checkbox extends LitElement {
|
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
accessor disabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the `id` of the component's associated form.
|
|
27
|
-
*
|
|
28
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
29
|
-
*/
|
|
25
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
30
26
|
accessor form: string | undefined;
|
|
31
27
|
/**
|
|
32
28
|
* When `true`, the component is initially indeterminate, which is independent from its `checked` value.
|
|
@@ -24,7 +24,7 @@ export abstract class Combobox extends LitElement {
|
|
|
24
24
|
*
|
|
25
25
|
* @default false
|
|
26
26
|
*/
|
|
27
|
-
accessor allowCustomValues: boolean;
|
|
27
|
+
accessor allowCustomValues: boolean | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* When `true`, disables value-clearing.
|
|
30
30
|
*
|
|
@@ -40,17 +40,13 @@ export abstract class Combobox extends LitElement {
|
|
|
40
40
|
/** The component's filtered items. */
|
|
41
41
|
get filteredItems(): HTMLCalciteComboboxItemElement[];
|
|
42
42
|
/** Specifies the properties to match against when filtering. If not set, all properties will be matched (`description`, `label`, `metadata`, `shortHeading`). */
|
|
43
|
-
accessor filterProps: string[];
|
|
43
|
+
accessor filterProps: string[] | undefined;
|
|
44
44
|
/** The component's filter input field text. */
|
|
45
45
|
accessor filterText: string;
|
|
46
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
47
|
-
accessor flipPlacements: FlipPlacement[];
|
|
48
|
-
/**
|
|
49
|
-
|
|
50
|
-
*
|
|
51
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
52
|
-
*/
|
|
53
|
-
accessor form: string;
|
|
46
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
47
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
48
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
49
|
+
accessor form: string | undefined;
|
|
54
50
|
/**
|
|
55
51
|
* Specifies an accessible label for the component.
|
|
56
52
|
*
|
|
@@ -58,7 +54,7 @@ export abstract class Combobox extends LitElement {
|
|
|
58
54
|
*/
|
|
59
55
|
accessor label: string;
|
|
60
56
|
/** Specifies the component's label text. */
|
|
61
|
-
accessor labelText: string;
|
|
57
|
+
accessor labelText: string | undefined;
|
|
62
58
|
/**
|
|
63
59
|
* Specifies the maximum number of `calcite-combobox-item-group`s & `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar.
|
|
64
60
|
*
|
|
@@ -80,7 +76,7 @@ export abstract class Combobox extends LitElement {
|
|
|
80
76
|
disabledSelectedCount?: string;
|
|
81
77
|
};
|
|
82
78
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
83
|
-
accessor name: string;
|
|
79
|
+
accessor name: string | undefined;
|
|
84
80
|
/**
|
|
85
81
|
* When `true`, displays and positions the component.
|
|
86
82
|
*
|
|
@@ -98,9 +94,9 @@ export abstract class Combobox extends LitElement {
|
|
|
98
94
|
*/
|
|
99
95
|
accessor overlayPositioning: OverlayPositioning;
|
|
100
96
|
/** Specifies the input's placeholder text. */
|
|
101
|
-
accessor placeholder: string;
|
|
97
|
+
accessor placeholder: string | undefined;
|
|
102
98
|
/** Specifies the input's placeholder icon. */
|
|
103
|
-
accessor placeholderIcon: IconName;
|
|
99
|
+
accessor placeholderIcon: IconName | undefined;
|
|
104
100
|
/**
|
|
105
101
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the input's `placeholderIcon`.
|
|
106
102
|
*
|
|
@@ -183,18 +179,16 @@ export abstract class Combobox extends LitElement {
|
|
|
183
179
|
*/
|
|
184
180
|
accessor status: Status;
|
|
185
181
|
/**
|
|
186
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
187
|
-
*
|
|
188
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
182
|
+
* 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.
|
|
189
183
|
*
|
|
190
184
|
* @default false
|
|
191
185
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
192
186
|
*/
|
|
193
187
|
accessor topLayerDisabled: boolean;
|
|
194
188
|
/** Specifies the validation icon to display under the component. */
|
|
195
|
-
accessor validationIcon: IconName | boolean;
|
|
189
|
+
accessor validationIcon: IconName | boolean | undefined;
|
|
196
190
|
/** Specifies the validation message to display under the component. */
|
|
197
|
-
accessor validationMessage: string;
|
|
191
|
+
accessor validationMessage: string | undefined;
|
|
198
192
|
/**
|
|
199
193
|
* The component's current validation state.
|
|
200
194
|
*
|
|
@@ -40,6 +40,7 @@ class Combobox extends LitElement {
|
|
|
40
40
|
})(this);
|
|
41
41
|
this.selectAllComboboxItemRef = createRef();
|
|
42
42
|
this.allSelectedIndicatorChipRef = createRef();
|
|
43
|
+
this.data = [];
|
|
43
44
|
this.cancelable = useCancelable()(this);
|
|
44
45
|
this.filterItems = (() => {
|
|
45
46
|
const find = (item, filteredData) => item && filteredData.some(({ el }) => item === el);
|
|
@@ -63,7 +64,7 @@ class Combobox extends LitElement {
|
|
|
63
64
|
}
|
|
64
65
|
});
|
|
65
66
|
this.noMatchesFound = this.filteredItems.length === 0 && !!this.filterText;
|
|
66
|
-
this.filterTextMatchPattern = this.filterText
|
|
67
|
+
this.filterTextMatchPattern = this.filterText ? new RegExp(`(${escapeRegExp(this.filterText)})`, "i") : void 0;
|
|
67
68
|
this.keyboardNavItems.forEach((item) => {
|
|
68
69
|
item.filterTextMatchPattern = this.filterTextMatchPattern;
|
|
69
70
|
});
|
|
@@ -83,6 +84,7 @@ class Combobox extends LitElement {
|
|
|
83
84
|
}
|
|
84
85
|
return this.allItems.filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)));
|
|
85
86
|
};
|
|
87
|
+
this.groupData = [];
|
|
86
88
|
this.groupItems = [];
|
|
87
89
|
this.guid = guid();
|
|
88
90
|
this.ignoreSelectedEventsFlag = false;
|
|
@@ -113,7 +115,7 @@ class Combobox extends LitElement {
|
|
|
113
115
|
this.clearButtonRef = createRef();
|
|
114
116
|
this._selectedItems = [];
|
|
115
117
|
this.textInputRef = createRef();
|
|
116
|
-
this._value =
|
|
118
|
+
this._value = "";
|
|
117
119
|
this.messages = useT9n();
|
|
118
120
|
this.focusSetter = useSetFocus()(this);
|
|
119
121
|
this.customChipAddHandler = () => {
|
|
@@ -133,6 +135,7 @@ class Combobox extends LitElement {
|
|
|
133
135
|
this.fitUsingCompactCountLabel = false;
|
|
134
136
|
this.allItems = [];
|
|
135
137
|
this.items = [];
|
|
138
|
+
this.noMatchesFound = false;
|
|
136
139
|
this.clearDisabled = false;
|
|
137
140
|
this.disabled = false;
|
|
138
141
|
this.maxItems = 0;
|
|
@@ -434,7 +437,7 @@ class Combobox extends LitElement {
|
|
|
434
437
|
}
|
|
435
438
|
setFilteredPlacements() {
|
|
436
439
|
const { el, flipPlacements } = this;
|
|
437
|
-
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) :
|
|
440
|
+
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
|
|
438
441
|
}
|
|
439
442
|
getValue() {
|
|
440
443
|
const items = this.getOrderedSelectedValues(this.selectedItems.map((item) => item.value?.toString()));
|
|
@@ -494,7 +497,7 @@ class Combobox extends LitElement {
|
|
|
494
497
|
}
|
|
495
498
|
break;
|
|
496
499
|
case "ArrowLeft":
|
|
497
|
-
if (this.activeChipIndex !== -1 || this.textInputRef.value
|
|
500
|
+
if (this.activeChipIndex !== -1 || this.textInputRef.value?.selectionStart === 0) {
|
|
498
501
|
this.previousChip();
|
|
499
502
|
event.preventDefault();
|
|
500
503
|
}
|
|
@@ -534,7 +537,7 @@ class Combobox extends LitElement {
|
|
|
534
537
|
}
|
|
535
538
|
break;
|
|
536
539
|
case " ":
|
|
537
|
-
if (!this.textInputRef.value
|
|
540
|
+
if (!this.textInputRef.value?.value && !event.defaultPrevented) {
|
|
538
541
|
if (!this.open && this.keyboardNavItems.length) {
|
|
539
542
|
this.open = true;
|
|
540
543
|
this.ensureRecentSelectedItemIsActive();
|
|
@@ -571,7 +574,7 @@ class Combobox extends LitElement {
|
|
|
571
574
|
break;
|
|
572
575
|
}
|
|
573
576
|
if (!this.clearDisabled) {
|
|
574
|
-
if (this.textInputRef.value
|
|
577
|
+
if (this.textInputRef.value.value.length > 0) {
|
|
575
578
|
this.resetText();
|
|
576
579
|
event.preventDefault();
|
|
577
580
|
} else if (this.selectedItems.length > 0 && this.selectionMode !== "single-persist") {
|
|
@@ -635,7 +638,7 @@ class Combobox extends LitElement {
|
|
|
635
638
|
}
|
|
636
639
|
async setMaxScrollerHeight() {
|
|
637
640
|
const { listContainerEl, open, referenceEl } = this;
|
|
638
|
-
if (!listContainerEl || !open) {
|
|
641
|
+
if (!listContainerEl || !open || !referenceEl) {
|
|
639
642
|
return;
|
|
640
643
|
}
|
|
641
644
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
@@ -660,7 +663,8 @@ class Combobox extends LitElement {
|
|
|
660
663
|
event.preventDefault();
|
|
661
664
|
return;
|
|
662
665
|
}
|
|
663
|
-
|
|
666
|
+
const clearButton = this.clearButtonRef.value;
|
|
667
|
+
if (clearButton && composedPath.includes(clearButton)) {
|
|
664
668
|
this.clearValue();
|
|
665
669
|
event.preventDefault();
|
|
666
670
|
return;
|
|
@@ -727,11 +731,11 @@ class Combobox extends LitElement {
|
|
|
727
731
|
this.refreshingSelectionDisplay = false;
|
|
728
732
|
return;
|
|
729
733
|
}
|
|
730
|
-
|
|
734
|
+
const { allSelectedIndicatorChipRef, chipContainerEl, selectionDisplay, placeholder, selectedIndicatorChipRef, textInputRef } = this;
|
|
735
|
+
if (!textInputRef.value || !chipContainerEl) {
|
|
731
736
|
this.refreshingSelectionDisplay = false;
|
|
732
737
|
return;
|
|
733
738
|
}
|
|
734
|
-
const { allSelectedIndicatorChipRef, chipContainerEl, selectionDisplay, placeholder, selectedIndicatorChipRef, textInputRef } = this;
|
|
735
739
|
const chipContainerElGap = parseInt(getComputedStyle(chipContainerEl).gap);
|
|
736
740
|
const chipContainerElWidth = getElementWidth(chipContainerEl);
|
|
737
741
|
const { fontSize, fontFamily, minInlineSize } = getComputedStyle(textInputRef.value);
|
|
@@ -752,7 +756,7 @@ class Combobox extends LitElement {
|
|
|
752
756
|
});
|
|
753
757
|
if (selectionDisplay !== "fit" && this.allSelected && this.selectAllEnabled) {
|
|
754
758
|
this.selectedItems.forEach((item) => {
|
|
755
|
-
const chipEl = this.referenceEl
|
|
759
|
+
const chipEl = this.referenceEl?.querySelector(`#${IDS.chip(item.guid)}`);
|
|
756
760
|
if (chipEl) {
|
|
757
761
|
this.hideChip(chipEl);
|
|
758
762
|
}
|
|
@@ -760,14 +764,14 @@ class Combobox extends LitElement {
|
|
|
760
764
|
}
|
|
761
765
|
if (this.indeterminate) {
|
|
762
766
|
this.selectedItems.forEach((item) => {
|
|
763
|
-
const chipEl = this.referenceEl
|
|
767
|
+
const chipEl = this.referenceEl?.querySelector(`#${IDS.chip(item.guid)}`);
|
|
764
768
|
if (chipEl) {
|
|
765
769
|
this.showChip(chipEl);
|
|
766
770
|
}
|
|
767
771
|
});
|
|
768
772
|
}
|
|
769
773
|
if (selectionDisplay === "fit") {
|
|
770
|
-
const chipEls = Array.from(this.
|
|
774
|
+
const chipEls = Array.from(this.renderRoot.querySelectorAll("calcite-chip")).filter((chipEl) => {
|
|
771
775
|
const chipValue = chipEl.value;
|
|
772
776
|
const hasValue = chipValue != null && `${chipValue}` !== "";
|
|
773
777
|
return chipEl.disabled || hasValue;
|
|
@@ -792,7 +796,7 @@ class Combobox extends LitElement {
|
|
|
792
796
|
const didHiddenCountChange = previousHiddenChipsCount !== this.selectedHiddenChipsCount;
|
|
793
797
|
if (didHiddenCountChange && followUpRefresh) {
|
|
794
798
|
this.fitFollowUpRefreshPromise = this.updateComplete.then(() => this.refreshSelectionDisplay(false)).then(() => {
|
|
795
|
-
this.fitFollowUpRefreshPromise =
|
|
799
|
+
this.fitFollowUpRefreshPromise = void 0;
|
|
796
800
|
});
|
|
797
801
|
}
|
|
798
802
|
}
|
|
@@ -1078,7 +1082,7 @@ class Combobox extends LitElement {
|
|
|
1078
1082
|
}
|
|
1079
1083
|
focusChip() {
|
|
1080
1084
|
const guid2 = this.selectedItems[this.activeChipIndex]?.guid;
|
|
1081
|
-
const chip = guid2 ? this.referenceEl
|
|
1085
|
+
const chip = guid2 ? this.referenceEl?.querySelector(`#${IDS.chip(guid2)}`) : void 0;
|
|
1082
1086
|
chip?.setFocus();
|
|
1083
1087
|
}
|
|
1084
1088
|
scrollToActiveOrSelectedItem(scrollToSelected = false) {
|
|
@@ -1104,7 +1108,7 @@ class Combobox extends LitElement {
|
|
|
1104
1108
|
}
|
|
1105
1109
|
updateActiveItemIndex(index) {
|
|
1106
1110
|
this.activeItemIndex = index;
|
|
1107
|
-
let activeDescendant =
|
|
1111
|
+
let activeDescendant = "";
|
|
1108
1112
|
this.keyboardNavItems.forEach((el, i) => {
|
|
1109
1113
|
if (i === index) {
|
|
1110
1114
|
el.active = true;
|
|
@@ -1126,7 +1130,7 @@ class Combobox extends LitElement {
|
|
|
1126
1130
|
return;
|
|
1127
1131
|
}
|
|
1128
1132
|
this.activeChipIndex = -1;
|
|
1129
|
-
this.textInputRef.value
|
|
1133
|
+
this.textInputRef.value?.focus();
|
|
1130
1134
|
if (this.open && this.selectionDisplay === "fit" && this.isMulti()) {
|
|
1131
1135
|
void this.refreshSelectionDisplay();
|
|
1132
1136
|
}
|
|
@@ -1141,7 +1145,7 @@ class Combobox extends LitElement {
|
|
|
1141
1145
|
}
|
|
1142
1146
|
getDescriptionMessage() {
|
|
1143
1147
|
const value = Array.isArray(this.value) ? this.value.join(", ") : this.value;
|
|
1144
|
-
return this.readOnly ? this.messages.nonEditable?.replace("{value}", `${value}`) : value;
|
|
1148
|
+
return this.readOnly ? this.messages.nonEditable?.replace("{value}", `${value}`) ?? `${value}` : value;
|
|
1145
1149
|
}
|
|
1146
1150
|
getChipLabel(item, isAncestors) {
|
|
1147
1151
|
if (!isAncestors) {
|
|
@@ -1155,7 +1159,7 @@ class Combobox extends LitElement {
|
|
|
1155
1159
|
return keyed(item.guid || item.value || label, html`<calcite-chip .appearance=${readOnly ? "outline" : "solid"} class=${safeClassMap({
|
|
1156
1160
|
[CSS.chip]: true,
|
|
1157
1161
|
[CSS.disabled]: disabled
|
|
1158
|
-
})} .closable=${!disabled && !readOnly} data-testid=${`${disabled ? "disabled-chip" : "chip"}-${index}`} .disabled=${disabled} .icon=${item.icon} .iconFlipRtl=${item.iconFlipRtl} id=${(!disabled && item.guid ? `${IDS.chip(item.guid)}` :
|
|
1162
|
+
})} .closable=${!disabled && !readOnly} data-testid=${`${disabled ? "disabled-chip" : "chip"}-${index}`} .disabled=${disabled} .icon=${item.icon} .iconFlipRtl=${item.iconFlipRtl} id=${(!disabled && item.guid ? `${IDS.chip(item.guid)}` : void 0) ?? nothing} .label=${label} .messageOverrides=${!disabled ? { dismissLabel: messages.removeTag } : void 0} @calciteChipClose=${!disabled ? () => this.calciteChipCloseHandler(item) : void 0} @focusin=${!disabled ? () => this.activeChipIndex = index : void 0} .scale=${scale} .selected=${item.selected} .tabIndex=${!disabled && activeChipIndex === index ? 0 : -1} title=${label ?? nothing} .value=${item.value}>${label}</calcite-chip>`);
|
|
1159
1163
|
}
|
|
1160
1164
|
renderChipCount(count, scale) {
|
|
1161
1165
|
const label = this.fitUsingCompactCountLabel ? `${count}` : this.messages.disabledSelectedCount?.replace("{count}", `${count}`) ?? `+${count}`;
|
|
@@ -1256,7 +1260,7 @@ class Combobox extends LitElement {
|
|
|
1256
1260
|
}
|
|
1257
1261
|
renderSelectedIndicatorChip() {
|
|
1258
1262
|
const { compactSelectionDisplay, selectionDisplay, scale, selectedIndicatorChipRef } = this;
|
|
1259
|
-
let chipInvisible;
|
|
1263
|
+
let chipInvisible = false;
|
|
1260
1264
|
let label;
|
|
1261
1265
|
const selectedItemsCount = this.getSelectedItems().length;
|
|
1262
1266
|
if (compactSelectionDisplay) {
|
|
@@ -1280,7 +1284,7 @@ class Combobox extends LitElement {
|
|
|
1280
1284
|
}
|
|
1281
1285
|
renderSelectedIndicatorChipCompact() {
|
|
1282
1286
|
const { compactSelectionDisplay, selectionDisplay, scale } = this;
|
|
1283
|
-
let chipInvisible;
|
|
1287
|
+
let chipInvisible = false;
|
|
1284
1288
|
let label;
|
|
1285
1289
|
const selectedItemsCount = this.getSelectedItems().length;
|
|
1286
1290
|
if (compactSelectionDisplay) {
|
|
@@ -26,9 +26,9 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
26
26
|
*/
|
|
27
27
|
accessor active: boolean;
|
|
28
28
|
/** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */
|
|
29
|
-
accessor ancestors: ComboboxChildElement[];
|
|
30
|
-
/** Specifies a description for the component. Displays below the heading
|
|
31
|
-
accessor description: string;
|
|
29
|
+
accessor ancestors: ComboboxChildElement[] | undefined;
|
|
30
|
+
/** Specifies a description for the component. Displays below the `heading`. */
|
|
31
|
+
accessor description: string | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
34
34
|
*
|
|
@@ -50,7 +50,7 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
50
50
|
*/
|
|
51
51
|
accessor heading: string;
|
|
52
52
|
/** Specifies an icon to display. */
|
|
53
|
-
accessor icon: IconName;
|
|
53
|
+
accessor icon: IconName | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
56
56
|
*
|
|
@@ -60,7 +60,7 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
60
60
|
/** Specifies an accessible label for the component. */
|
|
61
61
|
accessor label: any;
|
|
62
62
|
/** Specifies additional metadata to the component for use in filtering. */
|
|
63
|
-
accessor metadata: Record<string, unknown
|
|
63
|
+
accessor metadata: Record<string, unknown> | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* When `true`, the component is selected.
|
|
66
66
|
*
|
|
@@ -74,7 +74,7 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
74
74
|
*
|
|
75
75
|
* It is recommended to use 5 characters or fewer.
|
|
76
76
|
*/
|
|
77
|
-
accessor shortHeading: string;
|
|
77
|
+
accessor shortHeading: string | undefined;
|
|
78
78
|
/** The component's value. Falls back to `heading` if not provided. */
|
|
79
79
|
accessor value: any;
|
|
80
80
|
/** Fires whenever the component is selected or unselected. */
|
|
@@ -9,7 +9,7 @@ import type { ComboboxChildElement } from "../calcite-combobox/interfaces.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export abstract class ComboboxItemGroup extends LitElement {
|
|
11
11
|
/** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */
|
|
12
|
-
accessor ancestors: ComboboxChildElement[];
|
|
12
|
+
accessor ancestors: ComboboxChildElement[] | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Specifies an accessible label for the component.
|
|
15
15
|
*
|
|
@@ -182,9 +182,7 @@ export abstract class Dialog extends LitElement {
|
|
|
182
182
|
*/
|
|
183
183
|
accessor scale: Scale;
|
|
184
184
|
/**
|
|
185
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
186
|
-
*
|
|
187
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
185
|
+
* 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.
|
|
188
186
|
*
|
|
189
187
|
* @default false
|
|
190
188
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -25,7 +25,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
25
25
|
* @default false
|
|
26
26
|
*/
|
|
27
27
|
accessor disabled: boolean;
|
|
28
|
-
/** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when
|
|
28
|
+
/** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when its initial or specified `placement` has insufficient space available. */
|
|
29
29
|
accessor flipPlacements: FlipPlacement[];
|
|
30
30
|
/**
|
|
31
31
|
* Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scrollbar.
|
|
@@ -87,9 +87,7 @@ export abstract class Dropdown extends LitElement {
|
|
|
87
87
|
/** The component's selected items. */
|
|
88
88
|
get selectedItems(): DropdownItem[];
|
|
89
89
|
/**
|
|
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.
|
|
90
|
+
* 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
91
|
*
|
|
94
92
|
* @default false
|
|
95
93
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -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)
|
|
@@ -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
|
}
|