@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
|
@@ -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;
|
|
@@ -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
|
*
|
|
@@ -138,7 +138,7 @@ class Input extends LitElement {
|
|
|
138
138
|
}
|
|
139
139
|
connectedCallback() {
|
|
140
140
|
super.connectedCallback();
|
|
141
|
-
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
141
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable") ?? void 0;
|
|
142
142
|
if (this.inlineEditableEl) {
|
|
143
143
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
144
144
|
}
|
|
@@ -165,10 +165,10 @@ class Input extends LitElement {
|
|
|
165
165
|
}
|
|
166
166
|
willUpdate(changes) {
|
|
167
167
|
if (changes.has("max")) {
|
|
168
|
-
this.maxString = this.max?.toString()
|
|
168
|
+
this.maxString = this.max?.toString() ?? void 0;
|
|
169
169
|
}
|
|
170
170
|
if (changes.has("min")) {
|
|
171
|
-
this.minString = this.min?.toString()
|
|
171
|
+
this.minString = this.min?.toString() ?? void 0;
|
|
172
172
|
}
|
|
173
173
|
if (changes.has("icon") || changes.has("type") && (this.hasUpdated || this.type !== "text")) {
|
|
174
174
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -279,7 +279,7 @@ class Input extends LitElement {
|
|
|
279
279
|
return;
|
|
280
280
|
}
|
|
281
281
|
if (this.type === "file") {
|
|
282
|
-
this.files = this.childRef.value.files;
|
|
282
|
+
this.files = this.childRef.value.files ?? void 0;
|
|
283
283
|
}
|
|
284
284
|
this.setValue({
|
|
285
285
|
nativeEvent,
|
|
@@ -318,7 +318,9 @@ class Input extends LitElement {
|
|
|
318
318
|
origin: "user",
|
|
319
319
|
value: parseNumberString(delocalizedValue)
|
|
320
320
|
});
|
|
321
|
-
this.childNumberRef.value
|
|
321
|
+
if (this.childNumberRef.value) {
|
|
322
|
+
this.childNumberRef.value.value = this.displayedValue;
|
|
323
|
+
}
|
|
322
324
|
} else {
|
|
323
325
|
this.setValue({
|
|
324
326
|
nativeEvent,
|
|
@@ -373,26 +375,26 @@ class Input extends LitElement {
|
|
|
373
375
|
useGrouping: this.groupSeparator
|
|
374
376
|
};
|
|
375
377
|
if (event.key === numberStringFormatter.decimal) {
|
|
376
|
-
if (!this.value && !this.childNumberRef.value
|
|
378
|
+
if (!this.value && !this.childNumberRef.value?.value) {
|
|
377
379
|
return;
|
|
378
380
|
}
|
|
379
|
-
if (this.value && this.childNumberRef.value
|
|
381
|
+
if (this.value && this.childNumberRef.value?.value.indexOf(numberStringFormatter.decimal) === -1) {
|
|
380
382
|
return;
|
|
381
383
|
}
|
|
382
384
|
}
|
|
383
385
|
if (/[eE]/.test(event.key)) {
|
|
384
|
-
if (!this.value && !this.childNumberRef.value
|
|
386
|
+
if (!this.value && !this.childNumberRef.value?.value) {
|
|
385
387
|
return;
|
|
386
388
|
}
|
|
387
|
-
if (this.value && !/[eE]/.test(this.childNumberRef.value.value)) {
|
|
389
|
+
if (this.value && this.childNumberRef.value && !/[eE]/.test(this.childNumberRef.value.value)) {
|
|
388
390
|
return;
|
|
389
391
|
}
|
|
390
392
|
}
|
|
391
393
|
if (event.key === "-") {
|
|
392
|
-
if (!this.value && !this.childNumberRef.value
|
|
394
|
+
if (!this.value && !this.childNumberRef.value?.value) {
|
|
393
395
|
return;
|
|
394
396
|
}
|
|
395
|
-
if (this.value && this.childNumberRef.value.value.split("-").length <= 2) {
|
|
397
|
+
if (this.value && this.childNumberRef.value && this.childNumberRef.value.value.split("-").length <= 2) {
|
|
396
398
|
return;
|
|
397
399
|
}
|
|
398
400
|
}
|
|
@@ -516,7 +518,7 @@ class Input extends LitElement {
|
|
|
516
518
|
const childEl = this.type !== "number" ? html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} class=${safeClassMap({
|
|
517
519
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
518
520
|
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
519
|
-
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 :
|
|
521
|
+
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : void 0) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(this.childRef)}>` : null;
|
|
520
522
|
return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
|
|
521
523
|
[CSS.inputWrapper]: true,
|
|
522
524
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
@@ -58,26 +58,22 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
58
58
|
* @default false
|
|
59
59
|
*/
|
|
60
60
|
accessor disabled: boolean;
|
|
61
|
-
/** Specifies the component's fallback `placement` for slotted content when
|
|
62
|
-
accessor flipPlacements: FlipPlacement[];
|
|
61
|
+
/** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
|
|
62
|
+
accessor flipPlacements: FlipPlacement[] | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* When `true`, prevents focus trapping.
|
|
65
65
|
*
|
|
66
66
|
* @default false
|
|
67
67
|
*/
|
|
68
68
|
accessor focusTrapDisabled: boolean;
|
|
69
|
-
/**
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
73
|
-
*/
|
|
74
|
-
accessor form: string;
|
|
69
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
70
|
+
accessor form: string | undefined;
|
|
75
71
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
76
|
-
accessor headingLevel: HeadingLevel;
|
|
72
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
77
73
|
/** Specifies an accessible label for the component. */
|
|
78
|
-
accessor label: string;
|
|
74
|
+
accessor label: string | undefined;
|
|
79
75
|
/** Specifies the component's label text. */
|
|
80
|
-
accessor labelText: string;
|
|
76
|
+
accessor labelText: string | undefined;
|
|
81
77
|
/**
|
|
82
78
|
* Defines the component's layout.
|
|
83
79
|
*
|
|
@@ -88,9 +84,9 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
88
84
|
* When the component resides in a form,
|
|
89
85
|
* specifies the latest allowed date ("yyyy-mm-dd").
|
|
90
86
|
*/
|
|
91
|
-
accessor max: string;
|
|
87
|
+
accessor max: string | undefined;
|
|
92
88
|
/** Specifies the latest allowed date as a full date object. */
|
|
93
|
-
accessor maxAsDate: Date;
|
|
89
|
+
accessor maxAsDate: Date | undefined;
|
|
94
90
|
/** Overrides individual strings used by the component. */
|
|
95
91
|
accessor messageOverrides: {
|
|
96
92
|
chooseDate?: string;
|
|
@@ -104,9 +100,9 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
104
100
|
* When the component resides in a form,
|
|
105
101
|
* specifies the earliest allowed date ("yyyy-mm-dd").
|
|
106
102
|
*/
|
|
107
|
-
accessor min: string;
|
|
103
|
+
accessor min: string | undefined;
|
|
108
104
|
/** Specifies the earliest allowed date as a full date object. */
|
|
109
|
-
accessor minAsDate: Date;
|
|
105
|
+
accessor minAsDate: Date | undefined;
|
|
110
106
|
/**
|
|
111
107
|
* Specifies the component's month style.
|
|
112
108
|
*
|
|
@@ -114,9 +110,9 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
114
110
|
*/
|
|
115
111
|
accessor monthStyle: "abbreviated" | "wide";
|
|
116
112
|
/** Specifies the name of the component. Required to pass the component's `value` on form submission. */
|
|
117
|
-
accessor name: string;
|
|
113
|
+
accessor name: string | undefined;
|
|
118
114
|
/** Specifies the Unicode numeral system used by the component for localization. This property cannot be dynamically changed. */
|
|
119
|
-
accessor numberingSystem: NumberingSystem;
|
|
115
|
+
accessor numberingSystem: NumberingSystem | undefined;
|
|
120
116
|
/**
|
|
121
117
|
* When `true`, displays the `calcite-date-picker` component.
|
|
122
118
|
*
|
|
@@ -179,18 +175,16 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
179
175
|
*/
|
|
180
176
|
accessor status: Status;
|
|
181
177
|
/**
|
|
182
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
183
|
-
*
|
|
184
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
178
|
+
* 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.
|
|
185
179
|
*
|
|
186
180
|
* @default false
|
|
187
181
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
188
182
|
*/
|
|
189
183
|
accessor topLayerDisabled: boolean;
|
|
190
184
|
/** Specifies the validation icon to display under the component. */
|
|
191
|
-
accessor validationIcon: IconName | boolean;
|
|
185
|
+
accessor validationIcon: IconName | boolean | undefined;
|
|
192
186
|
/** Specifies the validation message to display under the component. */
|
|
193
|
-
accessor validationMessage: string;
|
|
187
|
+
accessor validationMessage: string | undefined;
|
|
194
188
|
/**
|
|
195
189
|
* The component's current validation state.
|
|
196
190
|
*
|
|
@@ -200,7 +194,7 @@ export abstract class InputDatePicker extends LitElement {
|
|
|
200
194
|
/** Selected date as a string in ISO format (`"yyyy-mm-dd"`). */
|
|
201
195
|
accessor value: string | string[];
|
|
202
196
|
/** The component's `value` as a full date object. */
|
|
203
|
-
accessor valueAsDate: Date | Date[];
|
|
197
|
+
accessor valueAsDate: Date | Date[] | undefined;
|
|
204
198
|
/**
|
|
205
199
|
* Updates the component's position.
|
|
206
200
|
*
|
|
@@ -199,19 +199,19 @@ class InputDatePicker extends LitElement {
|
|
|
199
199
|
const minSource = getMinMaxSource(changes, "min");
|
|
200
200
|
const maxSource = getMinMaxSource(changes, "max");
|
|
201
201
|
if (minSource === "min") {
|
|
202
|
-
this.minAsDate = dateFromISO(this.min);
|
|
202
|
+
this.minAsDate = dateFromISO(this.min) ?? void 0;
|
|
203
203
|
} else if (minSource === "minAsDate") {
|
|
204
|
-
this.minAsDate = dateFromISO(dateToISO(this.minAsDate));
|
|
204
|
+
this.minAsDate = dateFromISO(dateToISO(this.minAsDate)) ?? void 0;
|
|
205
205
|
}
|
|
206
206
|
if (maxSource === "max") {
|
|
207
|
-
this.maxAsDate = dateFromISO(this.max);
|
|
207
|
+
this.maxAsDate = dateFromISO(this.max) ?? void 0;
|
|
208
208
|
} else if (maxSource === "maxAsDate") {
|
|
209
|
-
this.maxAsDate = dateFromISO(dateToISO(this.maxAsDate));
|
|
209
|
+
this.maxAsDate = dateFromISO(dateToISO(this.maxAsDate)) ?? void 0;
|
|
210
210
|
}
|
|
211
211
|
if ((minSource || maxSource) && !Array.isArray(this.valueAsDate)) {
|
|
212
212
|
const validValueAsDate = dateFromRange(this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
213
213
|
if (validValueAsDate !== this.valueAsDate) {
|
|
214
|
-
this.valueAsDate = validValueAsDate;
|
|
214
|
+
this.valueAsDate = validValueAsDate ?? void 0;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
if (changes.has("open") && (this.hasUpdated || this.open !== false)) {
|
|
@@ -255,7 +255,7 @@ class InputDatePicker extends LitElement {
|
|
|
255
255
|
if (Array.isArray(newValue)) {
|
|
256
256
|
newValueAsDate = getValueAsDateRange(newValue);
|
|
257
257
|
} else if (newValue) {
|
|
258
|
-
newValueAsDate = dateFromISO(newValue);
|
|
258
|
+
newValueAsDate = dateFromISO(newValue) ?? void 0;
|
|
259
259
|
} else {
|
|
260
260
|
newValueAsDate = void 0;
|
|
261
261
|
}
|
|
@@ -333,7 +333,7 @@ class InputDatePicker extends LitElement {
|
|
|
333
333
|
const wasToggleClicked = path.find((el) => el.classList?.contains(CSS.toggleIcon));
|
|
334
334
|
if (wasToggleClicked) {
|
|
335
335
|
const targetInput = position === "start" ? startInputRef : endInputRef;
|
|
336
|
-
targetInput.value
|
|
336
|
+
targetInput.value?.setFocus();
|
|
337
337
|
}
|
|
338
338
|
if (!range || !this.open || currentOpenInput === position) {
|
|
339
339
|
this.open = !this.open;
|
|
@@ -341,7 +341,7 @@ class InputDatePicker extends LitElement {
|
|
|
341
341
|
}
|
|
342
342
|
setFilteredPlacements() {
|
|
343
343
|
const { el, flipPlacements } = this;
|
|
344
|
-
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) :
|
|
344
|
+
this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
|
|
345
345
|
}
|
|
346
346
|
onLabelClick() {
|
|
347
347
|
this.setFocus();
|
|
@@ -371,7 +371,7 @@ class InputDatePicker extends LitElement {
|
|
|
371
371
|
commitValue() {
|
|
372
372
|
const { focusedInput, value } = this;
|
|
373
373
|
const focusedInputRef = this.getInputRef(focusedInput);
|
|
374
|
-
const date = dateFromLocalizedString(focusedInputRef.value
|
|
374
|
+
const date = focusedInputRef.value ? dateFromLocalizedString(focusedInputRef.value?.value, this.localeData) : void 0;
|
|
375
375
|
const dateAsISO = dateToISO(date);
|
|
376
376
|
const valueIsArray = Array.isArray(value);
|
|
377
377
|
if (this.range) {
|
|
@@ -382,21 +382,21 @@ class InputDatePicker extends LitElement {
|
|
|
382
382
|
}
|
|
383
383
|
if (date) {
|
|
384
384
|
this.setRangeValue([
|
|
385
|
-
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
386
|
-
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
385
|
+
focusedInput === "start" ? date : dateFromISO(value[0]) ?? void 0,
|
|
386
|
+
focusedInput === "end" ? date : dateFromISO(value[1]) ?? void 0
|
|
387
387
|
]);
|
|
388
388
|
this.localizeInputValues();
|
|
389
389
|
} else {
|
|
390
390
|
this.setRangeValue([
|
|
391
|
-
focusedInput === "end"
|
|
392
|
-
focusedInput === "start"
|
|
391
|
+
focusedInput === "end" ? dateFromISO(value[0]) ?? void 0 : void 0,
|
|
392
|
+
focusedInput === "start" ? dateFromISO(value[1]) ?? void 0 : void 0
|
|
393
393
|
]);
|
|
394
394
|
}
|
|
395
395
|
} else {
|
|
396
396
|
if (date) {
|
|
397
397
|
this.setRangeValue([
|
|
398
|
-
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
399
|
-
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
398
|
+
focusedInput === "start" ? date : dateFromISO(value[0]) ?? void 0,
|
|
399
|
+
focusedInput === "end" ? date : dateFromISO(value[1]) ?? void 0
|
|
400
400
|
]);
|
|
401
401
|
this.localizeInputValues();
|
|
402
402
|
}
|
|
@@ -520,7 +520,7 @@ class InputDatePicker extends LitElement {
|
|
|
520
520
|
}
|
|
521
521
|
restoreInputFocus(isDatePickerClosed = false) {
|
|
522
522
|
if (!this.range) {
|
|
523
|
-
this.startInputRef.value
|
|
523
|
+
this.startInputRef.value?.setFocus();
|
|
524
524
|
this.open = false;
|
|
525
525
|
return;
|
|
526
526
|
}
|
|
@@ -533,7 +533,7 @@ class InputDatePicker extends LitElement {
|
|
|
533
533
|
if (this.shouldFocusRangeStart() || this.rangeStartValueChangedByUser) {
|
|
534
534
|
return;
|
|
535
535
|
}
|
|
536
|
-
if (this.proximitySelectionDisabled && this.valueAsDate[1] === null) {
|
|
536
|
+
if (this.proximitySelectionDisabled && this.valueAsDate && this.valueAsDate[1] === null) {
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
539
539
|
this.open = false;
|
|
@@ -542,8 +542,8 @@ class InputDatePicker extends LitElement {
|
|
|
542
542
|
localizeInputValues() {
|
|
543
543
|
const date = dateFromRange(this.range ? Array.isArray(this.valueAsDate) && this.valueAsDate[0] || void 0 : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
544
544
|
const endDate = this.range ? dateFromRange(Array.isArray(this.valueAsDate) && this.valueAsDate[1] || void 0, this.minAsDate, this.maxAsDate) : null;
|
|
545
|
-
this.setInputValue((date && this.dateTimeFormat
|
|
546
|
-
this.setInputValue(
|
|
545
|
+
this.setInputValue((date && this.dateTimeFormat?.format(date)) ?? "", "start");
|
|
546
|
+
this.setInputValue(this.range && endDate && this.dateTimeFormat?.format(endDate) || "", "end");
|
|
547
547
|
}
|
|
548
548
|
getInputRef(input = "start") {
|
|
549
549
|
return input === "start" ? this.startInputRef : this.endInputRef;
|
|
@@ -562,12 +562,12 @@ class InputDatePicker extends LitElement {
|
|
|
562
562
|
const { value: oldValue } = this;
|
|
563
563
|
const oldValueIsArray = Array.isArray(oldValue);
|
|
564
564
|
const valueIsArray = Array.isArray(valueAsDate);
|
|
565
|
-
const newStartDate = valueIsArray ? valueAsDate[0] :
|
|
565
|
+
const newStartDate = valueIsArray ? valueAsDate[0] : void 0;
|
|
566
566
|
let newStartDateISO = valueIsArray ? dateToISO(newStartDate) : "";
|
|
567
567
|
if (newStartDateISO) {
|
|
568
568
|
newStartDateISO = this.getNormalizedDate(newStartDateISO);
|
|
569
569
|
}
|
|
570
|
-
const newEndDate = valueIsArray ? valueAsDate[1] :
|
|
570
|
+
const newEndDate = valueIsArray ? valueAsDate[1] : void 0;
|
|
571
571
|
let newEndDateISO = valueIsArray ? dateToISO(newEndDate) : "";
|
|
572
572
|
if (newEndDateISO) {
|
|
573
573
|
newEndDateISO = this.getNormalizedDate(newEndDateISO);
|
|
@@ -602,7 +602,7 @@ class InputDatePicker extends LitElement {
|
|
|
602
602
|
return;
|
|
603
603
|
}
|
|
604
604
|
this.userChangedValue = true;
|
|
605
|
-
this.valueAsDate = newValue ? dateFromISO(newValue) : void 0;
|
|
605
|
+
this.valueAsDate = newValue ? dateFromISO(newValue) ?? void 0 : void 0;
|
|
606
606
|
this.value = newValue || "";
|
|
607
607
|
const changeEvent = this.calciteInputDatePickerChange.emit();
|
|
608
608
|
if (changeEvent.defaultPrevented) {
|
|
@@ -632,7 +632,7 @@ class InputDatePicker extends LitElement {
|
|
|
632
632
|
}
|
|
633
633
|
focusInput() {
|
|
634
634
|
const focusedInput = this.focusedInput === "start" ? this.startInputRef : this.endInputRef;
|
|
635
|
-
focusedInput.value
|
|
635
|
+
focusedInput.value?.setFocus();
|
|
636
636
|
}
|
|
637
637
|
render() {
|
|
638
638
|
const { disabled, messages: { _lang: effectiveLocale }, messages, numberingSystem, readOnly } = this;
|
|
@@ -12,7 +12,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export abstract class InputMessage extends LitElement {
|
|
14
14
|
/** Specifies an icon to display. */
|
|
15
|
-
accessor icon: IconName | boolean;
|
|
15
|
+
accessor icon: IconName | boolean | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
18
18
|
*
|