@esri/calcite-components 5.2.0-next.1 → 5.2.0-next.10
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/23VCVGLR.js +2 -0
- package/dist/cdn/{NSSVAO6G.js → 24IFUIVY.js} +1 -1
- package/dist/cdn/{T64D27BK.js → 2BWHYQMD.js} +1 -1
- package/dist/cdn/{W6FGHS7T.js → 2NR7N254.js} +1 -1
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/{CYL77NSA.js → 2XBG7AQW.js} +1 -1
- package/dist/cdn/{UWEY77AH.js → 32V4MTBZ.js} +1 -1
- package/dist/cdn/{6WRZDS46.js → 3B57SEKF.js} +1 -1
- package/dist/cdn/{DYTBN43V.js → 3KFW6OD6.js} +1 -1
- package/dist/cdn/{4ETK64XH.js → 3LWCBP7W.js} +1 -1
- package/dist/cdn/4D4NG376.js +2 -0
- package/dist/cdn/4ILBALOX.js +2 -0
- package/dist/cdn/4NS7O3WO.js +2 -0
- package/dist/cdn/{GPZK2XCA.js → 5LF7TQ7N.js} +1 -1
- package/dist/cdn/{JYV5JY66.js → 5MI4LBOF.js} +1 -1
- package/dist/cdn/5MVD3F6G.js +2 -0
- package/dist/cdn/{UTYK5GN7.js → 5ZR6DDCR.js} +1 -1
- package/dist/cdn/{3IC622AE.js → 623VYD6R.js} +1 -1
- package/dist/cdn/{6P2QCONQ.js → 62BATO6A.js} +1 -1
- package/dist/cdn/62DS7KDI.js +2 -0
- package/dist/cdn/{Y77IPFJ6.js → 6EAKC3JX.js} +1 -1
- package/dist/cdn/{YEOA76XG.js → 6XGFIG4A.js} +1 -1
- package/dist/cdn/{GIWBHPUL.js → 7OJ44OYE.js} +1 -1
- package/dist/cdn/{5B3SU7K7.js → 7RU3CEXC.js} +1 -1
- package/dist/cdn/{MZGWIJTE.js → 7VRPMFQF.js} +1 -1
- package/dist/cdn/{WMJFCYAQ.js → A5O37JHD.js} +1 -1
- package/dist/cdn/{PV5JONG7.js → A65ZFLA5.js} +1 -1
- package/dist/cdn/{IMHBTKOK.js → AADSKWZE.js} +1 -1
- package/dist/cdn/{JNIRX7D3.js → ACJQRKUW.js} +1 -1
- package/dist/cdn/{TOW6FGVT.js → AF4KCLDZ.js} +1 -1
- package/dist/cdn/{MOVYXJPM.js → ASE5XDV4.js} +1 -1
- package/dist/cdn/{ESXXYY4U.js → ATGPYSIN.js} +1 -1
- package/dist/cdn/AUFQLHKF.js +2 -0
- package/dist/cdn/B4OXM5EW.js +2 -0
- package/dist/cdn/{XRGFDJYN.js → B57TN6IA.js} +1 -1
- package/dist/cdn/{DXKVNK72.js → BFGNWZDN.js} +1 -1
- package/dist/cdn/{IFGOL2KZ.js → BFWNX5LC.js} +1 -1
- package/dist/cdn/{QJVQP6SA.js → BLEDNRID.js} +1 -1
- package/dist/cdn/{L4Z32DDI.js → BQTJOWZ3.js} +1 -1
- package/dist/cdn/{YOMDRGFX.js → BX2A7TZF.js} +1 -1
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/{VNHCZF5S.js → CAYYH2BZ.js} +1 -1
- package/dist/cdn/{TBBD7RAC.js → CDZP2WAZ.js} +1 -1
- package/dist/cdn/{V2ZQL3ON.js → CS4FUOM2.js} +1 -1
- package/dist/cdn/D2OHAZVJ.js +2 -0
- package/dist/cdn/{SG43VAY2.js → D5SMTOSV.js} +1 -1
- package/dist/cdn/{WBEFTFTM.js → DDKQNHOD.js} +1 -1
- package/dist/cdn/{HI5BMWLV.js → DS6L5K3I.js} +1 -1
- package/dist/cdn/{CJ6HLMWM.js → DSKYNHS5.js} +1 -1
- package/dist/cdn/{AIWMELGE.js → DYPOSBRY.js} +1 -1
- package/dist/cdn/{N5V52FVE.js → E2D5X3QE.js} +1 -1
- package/dist/cdn/{6HQ7WHUL.js → EB4TOPVL.js} +1 -1
- package/dist/cdn/{JFBAD4EH.js → EBNDBB6M.js} +1 -1
- package/dist/cdn/{GX22FMPB.js → ECJOLDA7.js} +1 -1
- package/dist/cdn/{YLSRMNDL.js → EJDHS4O4.js} +1 -1
- package/dist/cdn/F2FESEN6.js +2 -0
- package/dist/cdn/{RL3BQHH7.js → F3CASDS6.js} +1 -1
- package/dist/cdn/{VINHY2BO.js → FD4JYU3Z.js} +1 -1
- package/dist/cdn/{MDH6YMD3.js → G35IZGOS.js} +1 -1
- package/dist/cdn/{DOEPGWZO.js → GA7TBRYI.js} +1 -1
- package/dist/cdn/{JQOYQOAO.js → GCPJFQZF.js} +1 -1
- package/dist/cdn/{CWQ3PMYG.js → GFNFEM62.js} +1 -1
- package/dist/cdn/{4MGZ6ADZ.js → GHDKS4TD.js} +1 -1
- package/dist/cdn/{XVA6JBXQ.js → GS2Y3PBT.js} +1 -1
- package/dist/cdn/{EARL5L6Z.js → HDPZILRT.js} +1 -1
- package/dist/cdn/{EYO37APD.js → HTU2PERJ.js} +1 -1
- package/dist/cdn/{XKZW6PMR.js → HU6DWJRC.js} +1 -1
- package/dist/cdn/I2P6NHEC.js +2 -0
- package/dist/cdn/I3B4HO2I.js +2 -0
- package/dist/cdn/{3F6G62ML.js → I5UVGD2T.js} +1 -1
- package/dist/cdn/I6SYKKXZ.js +2 -0
- package/dist/cdn/{QUKECT32.js → IAR4ISXM.js} +1 -1
- package/dist/cdn/IB5GGLYT.js +2 -0
- package/dist/cdn/{2WQCK6Z3.js → II45OKZO.js} +1 -1
- package/dist/cdn/{VOLQZMH5.js → IKWZUQVX.js} +1 -1
- package/dist/cdn/{6SJDD32D.js → IOUY4CQP.js} +1 -1
- package/dist/cdn/{NLG3XARE.js → IQNZOCQ5.js} +1 -1
- package/dist/cdn/IR3U674S.js +2 -0
- package/dist/cdn/{54LRKMZS.js → IS3ZDW5X.js} +1 -1
- package/dist/cdn/{6VJGFXTB.js → IVC47QDM.js} +1 -1
- package/dist/cdn/J4H5KXXA.js +2 -0
- package/dist/cdn/{T6WFAXGK.js → J667RYKY.js} +1 -1
- package/dist/cdn/{R66RRO3R.js → J672TVUY.js} +1 -1
- package/dist/cdn/J6HUPBGJ.js +2 -0
- package/dist/cdn/JAJPR5ZA.js +2 -0
- package/dist/cdn/{TUOZOBAX.js → JRW3WDSZ.js} +1 -1
- package/dist/cdn/{OM2LRTKI.js → JSVI27VE.js} +1 -1
- package/dist/cdn/{PK24O5FM.js → JSYBOIFM.js} +1 -1
- package/dist/cdn/{AYIHFCPW.js → K7PZZZ6K.js} +1 -1
- package/dist/cdn/{7BAH3USN.js → KI44TQK5.js} +1 -1
- package/dist/cdn/{GHBTJCIE.js → KIJ2PAMT.js} +1 -1
- package/dist/cdn/{DXJL2WZO.js → KNBD5GM5.js} +1 -1
- package/dist/cdn/KRZT7UVD.js +2 -0
- package/dist/cdn/KTXKK7QW.js +2 -0
- package/dist/cdn/{25KULUYL.js → KYXL4Q6Z.js} +1 -1
- package/dist/cdn/{WJ2DBVDY.js → KZPZO55C.js} +1 -1
- package/dist/cdn/LF33RPOG.js +2 -0
- package/dist/cdn/{AWONW44Y.js → LSCCXGYA.js} +1 -1
- package/dist/cdn/{DOTGEOAD.js → LSHFRLID.js} +1 -1
- package/dist/cdn/M4DT3YH7.js +2 -0
- package/dist/cdn/{TX53ZOIB.js → MDCWCWAM.js} +1 -1
- package/dist/cdn/{LLBCU6W2.js → NCB62BP6.js} +1 -1
- package/dist/cdn/{ZSURDLTS.js → NETUDVJE.js} +1 -1
- package/dist/cdn/{AHIMAWOG.js → NOWB7ME4.js} +1 -1
- package/dist/cdn/{ERXINDJK.js → NQW3WH3Q.js} +1 -1
- package/dist/cdn/NZSAVAYK.js +2 -0
- package/dist/cdn/OIO5CL6R.js +2 -0
- package/dist/cdn/{OMEUUIN3.js → OPSPK4B3.js} +1 -1
- package/dist/cdn/P5E4K2YU.js +2 -0
- package/dist/cdn/{7BPZSHP5.js → PKJLXAOH.js} +1 -1
- package/dist/cdn/PUF2Z3VH.js +2 -0
- package/dist/cdn/{7T64APC5.js → PWDPNUIL.js} +1 -1
- package/dist/cdn/{YWSUGSZQ.js → PWRAXZYG.js} +1 -1
- package/dist/cdn/QCGQ7ATZ.js +2 -0
- package/dist/cdn/{VOYNOWTM.js → QGF4HKFB.js} +1 -1
- package/dist/cdn/{3274MQBE.js → QJMDDNP3.js} +1 -1
- package/dist/cdn/QQDQTFWB.js +2 -0
- package/dist/cdn/{ES72YVWM.js → QTPNQPO2.js} +2 -2
- package/dist/cdn/{6DUYQARM.js → QWDKQYDJ.js} +1 -1
- package/dist/cdn/{A7VRJEQ7.js → R2OJ24AU.js} +1 -1
- package/dist/cdn/{DOQVMLYE.js → R5TLERHG.js} +1 -1
- package/dist/cdn/{JSEZIWE7.js → RRCZQZOO.js} +1 -1
- package/dist/cdn/{MM6ZG6HL.js → RU76WLDJ.js} +1 -1
- package/dist/cdn/{SVIZ25MX.js → SCTJJN6F.js} +1 -1
- package/dist/cdn/{7MVJZ7CE.js → SNAUVEQE.js} +1 -1
- package/dist/cdn/{XKLVTSH7.js → SUS2TW6Q.js} +1 -1
- package/dist/cdn/{FEGURFPP.js → T6HXZ3H2.js} +1 -1
- package/dist/cdn/{TKWNZUZC.js → TGYPYCF4.js} +1 -1
- package/dist/cdn/{RX7YQTRT.js → TGZ3QKJ4.js} +1 -1
- package/dist/cdn/TI24RDMW.js +2 -0
- package/dist/cdn/{2QRPMWMD.js → TQEGPC7M.js} +1 -1
- package/dist/cdn/{MIR7TMZV.js → TRD5VAXC.js} +1 -1
- package/dist/cdn/{V4N6LLPL.js → UB3V636R.js} +1 -1
- package/dist/cdn/{H6TQ2ZT5.js → UGQDFFBV.js} +1 -1
- package/dist/cdn/UWAER5W3.js +2 -0
- package/dist/cdn/VELYDHCO.js +20 -0
- package/dist/cdn/{FGBYK22Q.js → VOWRCOLL.js} +1 -1
- package/dist/cdn/WDSPL6ZK.js +2 -0
- package/dist/cdn/{ACTWXLMU.js → WESLKQDB.js} +1 -1
- package/dist/cdn/WLHD45FG.js +2 -0
- package/dist/cdn/WLKA4SAY.js +2 -0
- package/dist/cdn/{RSDMKNTP.js → WYZKN22P.js} +1 -1
- package/dist/cdn/WZZAKFR4.js +2 -0
- package/dist/cdn/X6FCHMZG.js +2 -0
- package/dist/cdn/{PVLYFAFT.js → X6NRJK63.js} +1 -1
- package/dist/cdn/{ASL35FGE.js → XASONDK4.js} +1 -1
- package/dist/cdn/{D2F4S4IN.js → XHHYMR4N.js} +1 -1
- package/dist/cdn/{2DTD2NAQ.js → XPBXVOOM.js} +1 -1
- package/dist/cdn/{GQYGI42P.js → Y3IJ4QWR.js} +1 -1
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/{4XMK7RES.js → YPAAYPPO.js} +1 -1
- package/dist/cdn/{O4JLFLGJ.js → Z2HYUNW6.js} +1 -1
- package/dist/cdn/ZV25GLCY.js +2 -0
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/smartSearch16.json +1 -0
- package/dist/cdn/assets/icon/smartSearch24.json +1 -0
- package/dist/cdn/assets/icon/smartSearch32.json +1 -0
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/userSave16.json +1 -0
- package/dist/cdn/assets/icon/userSave24.json +1 -0
- package/dist/cdn/assets/icon/userSave32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
- package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +3 -2
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources10.js +19 -0
- package/dist/chunks/resources11.js +63 -0
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/resources5.js +40 -51
- package/dist/chunks/resources6.js +24 -46
- package/dist/chunks/resources7.js +53 -8
- package/dist/chunks/resources8.js +50 -10
- package/dist/chunks/resources9.js +7 -53
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useTime.js +27 -24
- package/dist/chunks/utils.js +12 -18
- package/dist/chunks/utils2.js +59 -6
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-action/customElement.d.ts +1 -5
- package/dist/components/calcite-action-group/customElement.d.ts +2 -4
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -4
- package/dist/components/calcite-alert/customElement.d.ts +1 -3
- package/dist/components/calcite-autocomplete/customElement.d.ts +3 -9
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +12 -14
- package/dist/components/calcite-block/customElement.js +8 -49
- package/dist/components/calcite-block-group/customElement.js +3 -5
- package/dist/components/calcite-block-section/customElement.d.ts +5 -5
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +9 -13
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -5
- package/dist/components/calcite-chip/customElement.js +1 -27
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker/customElement.js +23 -20
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +4 -4
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +13 -19
- package/dist/components/calcite-combobox/customElement.js +308 -150
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +2 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +10 -10
- package/dist/components/calcite-date-picker/customElement.js +18 -18
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +4 -4
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +14 -9
- package/dist/components/calcite-dialog/customElement.d.ts +9 -11
- package/dist/components/calcite-dialog/customElement.js +6 -7
- package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
- package/dist/components/calcite-dropdown/customElement.js +10 -7
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown-item/customElement.js +4 -4
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -4
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.d.ts +3 -3
- package/dist/components/calcite-graph/customElement.js +11 -15
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +4 -4
- package/dist/components/calcite-icon/interfaces.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +4 -2
- package/dist/components/calcite-input/customElement.d.ts +23 -24
- package/dist/components/calcite-input/customElement.js +15 -13
- package/dist/components/calcite-input-date-picker/customElement.d.ts +17 -23
- package/dist/components/calcite-input-date-picker/customElement.js +19 -24
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +22 -25
- package/dist/components/calcite-input-number/customElement.js +15 -13
- package/dist/components/calcite-input-text/customElement.d.ts +18 -19
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +11 -13
- package/dist/components/calcite-input-time-picker/customElement.js +34 -10
- package/dist/components/calcite-input-time-zone/customElement.d.ts +9 -15
- package/dist/components/calcite-input-time-zone/customElement.js +14 -12
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +1 -3
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-pagination/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.d.ts +4 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-rating/customElement.d.ts +1 -5
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +1 -5
- package/dist/components/calcite-select/customElement.d.ts +1 -5
- package/dist/components/calcite-sheet/customElement.d.ts +1 -3
- package/dist/components/calcite-slider/customElement.d.ts +13 -17
- package/dist/components/calcite-slider/customElement.js +19 -20
- package/dist/components/calcite-sort-handle/customElement.d.ts +2 -4
- package/dist/components/calcite-split-button/customElement.d.ts +12 -14
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +1 -1
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +3 -3
- package/dist/components/calcite-stepper-item/customElement.js +8 -24
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +8 -6
- package/dist/components/calcite-switch/customElement.d.ts +6 -10
- package/dist/components/calcite-tab-nav/customElement.js +64 -26
- package/dist/components/calcite-tab-title/customElement.js +4 -0
- package/dist/components/calcite-table-header/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.d.ts +6 -0
- package/dist/components/calcite-tabs/customElement.js +13 -7
- package/dist/components/calcite-text-area/customElement.d.ts +1 -5
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -3
- package/dist/controllers/useTime.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/date.d.ts +2 -2
- package/package.json +13 -10
- package/dist/cdn/4DBDLDKL.js +0 -2
- package/dist/cdn/5BXJCRHG.js +0 -2
- package/dist/cdn/6I7CG5ZI.js +0 -2
- package/dist/cdn/6THNFXTV.js +0 -2
- package/dist/cdn/7LKWZYMO.js +0 -2
- package/dist/cdn/7RTTBZVL.js +0 -2
- package/dist/cdn/BXSBN734.js +0 -2
- package/dist/cdn/DCQW26QE.js +0 -2
- package/dist/cdn/DE6F4LEP.js +0 -2
- package/dist/cdn/DHXGSMMN.js +0 -2
- package/dist/cdn/DV6Z2ZUP.js +0 -2
- package/dist/cdn/EAMIHL5M.js +0 -2
- package/dist/cdn/GEQANJCK.js +0 -2
- package/dist/cdn/HPG25RGF.js +0 -20
- package/dist/cdn/IQC2I5QX.js +0 -2
- package/dist/cdn/JAMAODSH.js +0 -2
- package/dist/cdn/JLRS6GUS.js +0 -2
- package/dist/cdn/JWZRDSEQ.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/NSFNE7JF.js +0 -2
- package/dist/cdn/OWVDY7XZ.js +0 -2
- package/dist/cdn/P7VFZYNM.js +0 -2
- package/dist/cdn/POCA3O3T.js +0 -2
- package/dist/cdn/RDJ3NPD2.js +0 -2
- package/dist/cdn/RJJY3IYM.js +0 -2
- package/dist/cdn/S2ACIYIJ.js +0 -2
- package/dist/cdn/SKBNA7MO.js +0 -2
- package/dist/cdn/SYWS7CRW.js +0 -2
- package/dist/cdn/T2B7YQBZ.js +0 -2
- package/dist/cdn/UYY6Z6VK.js +0 -2
- package/dist/cdn/VWJDFV4M.js +0 -2
- package/dist/cdn/WBKHM7GQ.js +0 -2
- package/dist/cdn/WWXFCBIC.js +0 -2
- package/dist/cdn/XRQ6ALBW.js +0 -2
- package/dist/cdn/ZALKF7AK.js +0 -2
- package/dist/cdn/ZOVBFLHG.js +0 -2
- /package/dist/cdn/{XJY76HZ5.js → 2QCI6TGY.js} +0 -0
- /package/dist/cdn/{O2A6CQZA.js → BLWTCPBG.js} +0 -0
- /package/dist/cdn/{5OPFL4DZ.js → KWIC32XQ.js} +0 -0
- /package/dist/cdn/{SG5FNFQO.js → Q24FQVQ4.js} +0 -0
- /package/dist/cdn/{DE7OTXX2.js → QBJZUEM2.js} +0 -0
package/dist/chunks/utils.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import Color from "color";
|
|
3
3
|
import { c as calciteSpacingFixedXl, a as calciteSpacingFixedMd, b as calciteSpacingFixedSm } from "./global.js";
|
|
4
|
+
import { omit } from "es-toolkit";
|
|
4
5
|
const CSS = {
|
|
5
6
|
channel: "channel",
|
|
6
7
|
channels: "channels",
|
|
@@ -52,7 +53,7 @@ const OPACITY_LIMITS = {
|
|
|
52
53
|
};
|
|
53
54
|
const STATIC_DIMENSIONS = {
|
|
54
55
|
s: {
|
|
55
|
-
gap: parseInt(calciteSpacingFixedSm),
|
|
56
|
+
gap: parseInt(calciteSpacingFixedSm, 10),
|
|
56
57
|
slider: {
|
|
57
58
|
height: 12
|
|
58
59
|
},
|
|
@@ -65,7 +66,7 @@ const STATIC_DIMENSIONS = {
|
|
|
65
66
|
minWidth: 200
|
|
66
67
|
},
|
|
67
68
|
m: {
|
|
68
|
-
gap: parseInt(calciteSpacingFixedMd),
|
|
69
|
+
gap: parseInt(calciteSpacingFixedMd, 10),
|
|
69
70
|
slider: {
|
|
70
71
|
height: 12
|
|
71
72
|
},
|
|
@@ -78,7 +79,7 @@ const STATIC_DIMENSIONS = {
|
|
|
78
79
|
minWidth: 240
|
|
79
80
|
},
|
|
80
81
|
l: {
|
|
81
|
-
gap: parseInt(calciteSpacingFixedXl),
|
|
82
|
+
gap: parseInt(calciteSpacingFixedXl, 10),
|
|
82
83
|
slider: {
|
|
83
84
|
height: 12
|
|
84
85
|
},
|
|
@@ -103,7 +104,7 @@ const shorthandHexWithAlpha = /^#[0-9A-F]{4}$/i;
|
|
|
103
104
|
const longhandHexWithAlpha = /^#[0-9A-F]{8}$/i;
|
|
104
105
|
function colorFromValue(value, clearable = false, mode) {
|
|
105
106
|
if (clearable && !value) {
|
|
106
|
-
return
|
|
107
|
+
return void 0;
|
|
107
108
|
}
|
|
108
109
|
return Color(
|
|
109
110
|
value != null && typeof value === "object" && alphaCompatible(mode) ? normalizeColor(value) : value
|
|
@@ -136,7 +137,7 @@ function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
|
136
137
|
hex = `#${hex}`;
|
|
137
138
|
}
|
|
138
139
|
if (isShorthandHex(hex, hasAlpha)) {
|
|
139
|
-
return rgbToHex(hexToRGB(hex
|
|
140
|
+
return rgbToHex(hexToRGB(hex));
|
|
140
141
|
}
|
|
141
142
|
if (hasAlpha && convertFromHexToHexa && isValidHex(
|
|
142
143
|
hex,
|
|
@@ -144,7 +145,7 @@ function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
|
144
145
|
/* we only care about RGB hex for conversion */
|
|
145
146
|
)) {
|
|
146
147
|
const isShorthand = isShorthandHex(hex, false);
|
|
147
|
-
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}
|
|
148
|
+
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}`));
|
|
148
149
|
}
|
|
149
150
|
return hex;
|
|
150
151
|
}
|
|
@@ -163,23 +164,16 @@ function numToHex(num) {
|
|
|
163
164
|
return num.toString(16).padStart(2, "0");
|
|
164
165
|
}
|
|
165
166
|
function normalizeAlpha(colorObject) {
|
|
166
|
-
|
|
167
|
-
...colorObject,
|
|
167
|
+
return {
|
|
168
|
+
...omit(colorObject, ["alpha"]),
|
|
168
169
|
a: colorObject.alpha ?? 1
|
|
169
170
|
/* Color() will omit alpha if 1 */
|
|
170
171
|
};
|
|
171
|
-
delete normalized.alpha;
|
|
172
|
-
return normalized;
|
|
173
172
|
}
|
|
174
173
|
function normalizeColor(alphaColorObject) {
|
|
175
|
-
|
|
176
|
-
delete normalized.a;
|
|
177
|
-
return normalized;
|
|
174
|
+
return { ...omit(alphaColorObject, ["a"]), alpha: alphaColorObject.a ?? 1 };
|
|
178
175
|
}
|
|
179
|
-
function hexToRGB(hex
|
|
180
|
-
if (!isValidHex(hex, hasAlpha)) {
|
|
181
|
-
return null;
|
|
182
|
-
}
|
|
176
|
+
function hexToRGB(hex) {
|
|
183
177
|
hex = hex.replace("#", "");
|
|
184
178
|
let r;
|
|
185
179
|
let g;
|
|
@@ -252,7 +246,7 @@ function parseMode(colorValue) {
|
|
|
252
246
|
return hasChannels(colorValue, "a") ? ObjectColorMode.HSVA : ObjectColorMode.HSV;
|
|
253
247
|
}
|
|
254
248
|
}
|
|
255
|
-
return
|
|
249
|
+
return void 0;
|
|
256
250
|
}
|
|
257
251
|
function hasChannels(colorObject, ...channels) {
|
|
258
252
|
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isServer } from "lit";
|
|
3
3
|
import { n as nodeListToArray } from "./dom.js";
|
|
4
|
-
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./
|
|
4
|
+
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./resources7.js";
|
|
5
5
|
function getAncestors(element) {
|
|
6
6
|
const parent = element.parentElement?.closest(AllComboboxChildrenSelector);
|
|
7
7
|
const grandparent = parent?.parentElement?.closest(AllComboboxChildrenSelector);
|
|
@@ -47,12 +47,65 @@ function isSingleLike(selectionMode) {
|
|
|
47
47
|
function getLabel(item) {
|
|
48
48
|
return item.shortHeading || item.heading;
|
|
49
49
|
}
|
|
50
|
+
function orderByPrevious(items, previousItems) {
|
|
51
|
+
if (items.length < 2 || previousItems.length === 0) {
|
|
52
|
+
return items;
|
|
53
|
+
}
|
|
54
|
+
const previousItemOrder = new Map(previousItems.map((item, index) => [item, index]));
|
|
55
|
+
return [...items].sort((a, b) => {
|
|
56
|
+
const aOrder = previousItemOrder.get(a);
|
|
57
|
+
const bOrder = previousItemOrder.get(b);
|
|
58
|
+
if (aOrder !== void 0 && bOrder !== void 0) {
|
|
59
|
+
return aOrder - bOrder;
|
|
60
|
+
}
|
|
61
|
+
if (aOrder !== void 0) {
|
|
62
|
+
return -1;
|
|
63
|
+
}
|
|
64
|
+
if (bOrder !== void 0) {
|
|
65
|
+
return 1;
|
|
66
|
+
}
|
|
67
|
+
return 0;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function consumeValue(counts, value) {
|
|
71
|
+
const count = counts.get(value) ?? 0;
|
|
72
|
+
if (count === 0) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
if (count === 1) {
|
|
76
|
+
counts.delete(value);
|
|
77
|
+
} else {
|
|
78
|
+
counts.set(value, count - 1);
|
|
79
|
+
}
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
function orderValuesByPrevious(selectedValues, previousValues) {
|
|
83
|
+
if (selectedValues.length < 2 || previousValues.length === 0) {
|
|
84
|
+
return selectedValues;
|
|
85
|
+
}
|
|
86
|
+
const selectedValueCounts = /* @__PURE__ */ new Map();
|
|
87
|
+
selectedValues.forEach((value) => {
|
|
88
|
+
selectedValueCounts.set(value, (selectedValueCounts.get(value) ?? 0) + 1);
|
|
89
|
+
});
|
|
90
|
+
const orderedSelectedValues = previousValues.filter((value) => consumeValue(selectedValueCounts, value));
|
|
91
|
+
if (orderedSelectedValues.length === 0) {
|
|
92
|
+
return selectedValues;
|
|
93
|
+
}
|
|
94
|
+
selectedValues.forEach((value) => {
|
|
95
|
+
if (consumeValue(selectedValueCounts, value)) {
|
|
96
|
+
orderedSelectedValues.push(value);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
return orderedSelectedValues;
|
|
100
|
+
}
|
|
50
101
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
102
|
+
orderByPrevious as a,
|
|
103
|
+
getItemAncestors as b,
|
|
104
|
+
getItemChildren as c,
|
|
105
|
+
getAncestors as d,
|
|
106
|
+
getDepth as e,
|
|
55
107
|
getLabel as g,
|
|
56
108
|
hasActiveChildren as h,
|
|
57
|
-
isSingleLike as i
|
|
109
|
+
isSingleLike as i,
|
|
110
|
+
orderValuesByPrevious as o
|
|
58
111
|
};
|
package/dist/chunks/utils3.js
CHANGED
|
@@ -62,7 +62,7 @@ function getSource(changes, stringProp, dateProp) {
|
|
|
62
62
|
if (datePropChanged && !stringPropChanged) {
|
|
63
63
|
return dateProp;
|
|
64
64
|
}
|
|
65
|
-
return
|
|
65
|
+
return void 0;
|
|
66
66
|
}
|
|
67
67
|
function getMinMaxSource(changes, type) {
|
|
68
68
|
return type === "min" ? getSource(changes, "min", "minAsDate") : getSource(changes, "max", "maxAsDate");
|
|
@@ -50,11 +50,7 @@ export abstract class Action extends LitElement {
|
|
|
50
50
|
* @default false
|
|
51
51
|
*/
|
|
52
52
|
accessor disabled: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies the `id` of the component's associated form.
|
|
55
|
-
*
|
|
56
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
57
|
-
*/
|
|
53
|
+
/** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
|
|
58
54
|
accessor form: string | undefined;
|
|
59
55
|
/** Specifies an icon to display. */
|
|
60
56
|
accessor icon: IconName | undefined;
|
|
@@ -32,7 +32,7 @@ export abstract class ActionGroup extends LitElement {
|
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
34
|
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
35
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
35
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
36
36
|
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* When `true`, the `calcite-action-menu` is open.
|
|
@@ -83,9 +83,7 @@ export abstract class ActionGroup extends LitElement {
|
|
|
83
83
|
*/
|
|
84
84
|
accessor selectionMode: Extract<"single" | "single-persist" | "multiple" | "none", SelectionMode>;
|
|
85
85
|
/**
|
|
86
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
87
|
-
*
|
|
88
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
86
|
+
* 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.
|
|
89
87
|
*
|
|
90
88
|
* @default false
|
|
91
89
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -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,8 +35,8 @@ 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
|
|
39
|
-
accessor description: string;
|
|
38
|
+
/** Specifies a description for the component. Displays below the `heading`. */
|
|
39
|
+
accessor description: string | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
42
42
|
*
|
|
@@ -63,25 +63,25 @@ export abstract class Block extends LitElement {
|
|
|
63
63
|
*/
|
|
64
64
|
accessor expanded: boolean;
|
|
65
65
|
/** Specifies the component's heading text. */
|
|
66
|
-
accessor heading: string;
|
|
66
|
+
accessor heading: string | undefined;
|
|
67
67
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
68
|
-
accessor headingLevel: HeadingLevel;
|
|
68
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
69
69
|
/** Specifies an icon to display at the end of the component. */
|
|
70
|
-
accessor iconEnd: IconName;
|
|
70
|
+
accessor iconEnd: IconName | undefined;
|
|
71
71
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
72
|
-
accessor iconFlipRtl: FlipContext;
|
|
72
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
73
73
|
/** Specifies an icon to display at the start of the component. */
|
|
74
|
-
accessor iconStart: IconName;
|
|
74
|
+
accessor iconStart: IconName | undefined;
|
|
75
75
|
/** Specifies an accessible label for the component. */
|
|
76
|
-
accessor label: string;
|
|
76
|
+
accessor label: string | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* When `true`, a busy indicator is displayed.
|
|
79
79
|
*
|
|
80
80
|
* @default false
|
|
81
81
|
*/
|
|
82
82
|
accessor loading: boolean;
|
|
83
|
-
/** Specifies the component's fallback `menuPlacement` when
|
|
84
|
-
accessor menuFlipPlacements: FlipPlacement[];
|
|
83
|
+
/** Specifies the component's fallback `menuPlacement` when its initial or specified `menuPlacement` has insufficient space available. */
|
|
84
|
+
accessor menuFlipPlacements: FlipPlacement[] | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* Determines where the action menu will be positioned.
|
|
87
87
|
*
|
|
@@ -129,11 +129,9 @@ export abstract class Block extends LitElement {
|
|
|
129
129
|
*
|
|
130
130
|
* @deprecated in v3.0.0, removal target v6.0.0 - Use the `icon-start` property instead.
|
|
131
131
|
*/
|
|
132
|
-
accessor status: Status;
|
|
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)
|
|
@@ -15,46 +15,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
15
15
|
import { s as styles$2 } from "../../chunks/sortable.js";
|
|
16
16
|
import { s as styles$1 } from "../../chunks/header.js";
|
|
17
17
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
18
|
-
|
|
19
|
-
content: "content",
|
|
20
|
-
toggle: "toggle",
|
|
21
|
-
header: "header"
|
|
22
|
-
};
|
|
23
|
-
const CSS = {
|
|
24
|
-
actionsEnd: "actions-end",
|
|
25
|
-
container: "container",
|
|
26
|
-
content: "content",
|
|
27
|
-
contentEnd: "content-end",
|
|
28
|
-
contentStart: "content-start",
|
|
29
|
-
description: "description",
|
|
30
|
-
header: "header",
|
|
31
|
-
headerContainer: "header-container",
|
|
32
|
-
headerHasContent: "header--has-content",
|
|
33
|
-
headerDraggable: "header--draggable",
|
|
34
|
-
heading: "heading",
|
|
35
|
-
icon: "icon",
|
|
36
|
-
iconStart: "icon--start",
|
|
37
|
-
iconEnd: "icon--end",
|
|
38
|
-
iconEndContainer: "icon-end-container",
|
|
39
|
-
invalid: "invalid",
|
|
40
|
-
statusIcon: "status-icon",
|
|
41
|
-
title: "title",
|
|
42
|
-
toggle: "toggle",
|
|
43
|
-
toggleIcon: "toggle-icon",
|
|
44
|
-
valid: "valid"
|
|
45
|
-
};
|
|
46
|
-
const SLOTS = {
|
|
47
|
-
actionsEnd: "actions-end",
|
|
48
|
-
contentEnd: "content-end",
|
|
49
|
-
contentStart: "content-start",
|
|
50
|
-
headerMenuActions: "header-menu-actions"
|
|
51
|
-
};
|
|
52
|
-
const ICONS = {
|
|
53
|
-
expanded: "chevron-up",
|
|
54
|
-
collapsed: "chevron-down",
|
|
55
|
-
valid: "check-circle",
|
|
56
|
-
invalid: "exclamation-mark-triangle"
|
|
57
|
-
};
|
|
18
|
+
import { C as CSS, I as ICONS, S as SLOTS, a as IDS } from "../../chunks/resources5.js";
|
|
58
19
|
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .header{gap:var(--calcite-spacing-sm)}:host([scale=s]) .icon-end-container{gap:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm)}:host([scale=s]) .description{font-size:var(--calcite-font-size-xs)}:host([scale=s]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xxs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-sm);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-xxs)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-sm)) )}:host([scale=m]) .header{gap:var(--calcite-spacing-md)}:host([scale=m]) .icon-end-container{gap:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size)}:host([scale=m]) .description{font-size:var(--calcite-font-size-sm)}:host([scale=m]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xxs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-md);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-sm)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-md)) )}:host([scale=l]) .header{gap:var(--calcite-spacing-lg)}:host([scale=l]) .icon-end-container{gap:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md)}:host([scale=l]) .description{font-size:var(--calcite-font-size)}:host([scale=l]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-lg);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-md)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-lg)) )}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;padding:0;transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.215,.44,.42,.88);flex-basis:auto;border-color:var(--calcite-block-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{justify-content:flex-start}.header--has-content{padding:var(--calcite-internal-block-header-content-padding)}.header--draggable{padding-inline-start:var(--calcite-spacing-xxs)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto auto auto;grid-template-areas:"handle header icon-end menu actions-end"}.icon--start{color:var(--calcite-block-icon-start-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.icon--end{color:var(--calcite-block-icon-end-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.actions-end{align-items:center;display:flex;gap:var(--calcite-internal-block-actions-spacing);grid-area:actions-end;padding-block:var(--calcite-internal-block-actions-spacing);padding-inline-end:var(--calcite-internal-block-actions-spacing)}.toggle{margin:0;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0;outline-color:transparent;font-family:inherit;text-align:initial;background-color:var(--calcite-block-header-background-color, transparent)}.toggle:hover{background-color:var(--calcite-block-header-background-color-hover, var(--calcite-color-foreground-2))}.toggle:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.toggle:active{background-color:var(--calcite-block-header-background-color-press, var(--calcite-color-foreground-3))}calcite-loader[inline]{align-self:center}calcite-sort-handle{align-self:center;grid-area:handle;margin-block:var(--calcite-internal-block-actions-spacing);padding-inline-start:var(--calcite-spacing-xxs)}.title{display:flex;flex-direction:column}.header .title .heading{padding:0;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-heading-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-font-line-height-relative-snug)}.description{padding:0;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-description-text-color, var(--calcite-color-text-3));font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-snug)}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;grid-area:icon-end}.toggle-icon{align-self:center;justify-self:end;transition-property:color;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-block-collapsible-icon-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.toggle:hover .toggle-icon{color:var(--calcite-block-collapsible-icon-color-hover, var(--calcite-block-icon-color-hover, var(--calcite-color-text-1)))}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%;opacity:0;padding-block:var(--calcite-internal-block-padding-block);padding-inline:var(--calcite-internal-block-padding-inline);transition:opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.content-end,.content-start{display:flex;align-items:center;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}calcite-action-menu{align-self:center;grid-area:menu;margin-inline-end:var(--calcite-internal-block-actions-spacing)}:host([expanded]){margin-block:.5rem}:host([expanded]) .header .title .heading{color:var(--calcite-block-heading-text-color, var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1)));font-weight:var(--calcite-font-weight-medium)}:host([expanded]) .description{color:var(--calcite-block-description-text-color, var(--calcite-color-text-2))}:host([expanded]) .icon--start{color:var(--calcite-block-icon-start-color, var(--calcite-block-icon-color, var(--calcite-color-text-1)))}:host([expanded]) .icon--end{color:var(--calcite-block-icon-end-color, var(--calcite-block-icon-color, var(--calcite-color-text-1)))}:host([expanded]) .content{opacity:1}@starting-style{:host([expanded]){margin-block-start:0;opacity:0}}:host([expanded][scale=s]){margin-block:var(--calcite-spacing-xxs)}:host([expanded][scale=l]){margin-block:var(--calcite-spacing-md)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
59
20
|
class Block extends LitElement {
|
|
60
21
|
constructor() {
|
|
@@ -80,8 +41,6 @@ class Block extends LitElement {
|
|
|
80
41
|
this.sortDisabled = false;
|
|
81
42
|
this.overlayPositioning = "absolute";
|
|
82
43
|
this.scale = "m";
|
|
83
|
-
this.setPosition = null;
|
|
84
|
-
this.setSize = null;
|
|
85
44
|
this.sortHandleOpen = false;
|
|
86
45
|
this.topLayerDisabled = false;
|
|
87
46
|
this.calciteBlockBeforeClose = createEvent({ cancelable: false });
|
|
@@ -216,12 +175,12 @@ class Block extends LitElement {
|
|
|
216
175
|
return [loading ? html`<calcite-scrim .loading=${loading}></calcite-scrim>` : null, defaultSlot];
|
|
217
176
|
}
|
|
218
177
|
renderLoaderStatusIcon() {
|
|
219
|
-
const { loading, messages, status
|
|
220
|
-
return loading ? keyed("loader", html`<div class=${safeClassMap(CSS.icon)}><calcite-loader inline .label=${messages.loading} .scale=${this.scale}></calcite-loader></div>`) :
|
|
178
|
+
const { loading, messages, status } = this;
|
|
179
|
+
return loading ? keyed("loader", html`<div class=${safeClassMap(CSS.icon)}><calcite-loader inline .label=${messages.loading} .scale=${this.scale}></calcite-loader></div>`) : status ? keyed("status-icon", html`<div class=${safeClassMap(CSS.icon)}><calcite-icon class=${safeClassMap({
|
|
221
180
|
[CSS.statusIcon]: true,
|
|
222
|
-
[CSS.valid]:
|
|
223
|
-
[CSS.invalid]:
|
|
224
|
-
})} .icon=${ICONS[
|
|
181
|
+
[CSS.valid]: status == "valid",
|
|
182
|
+
[CSS.invalid]: status == "invalid"
|
|
183
|
+
})} .icon=${ICONS[status]} .scale=${getIconScale(this.scale)}></calcite-icon></div>`) : null;
|
|
225
184
|
}
|
|
226
185
|
renderActionsEnd() {
|
|
227
186
|
return html`<div class=${safeClassMap(CSS.actionsEnd)} .hidden=${!this.hasEndActions}><slot name=${SLOTS.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`;
|
|
@@ -247,7 +206,7 @@ class Block extends LitElement {
|
|
|
247
206
|
return keyed(iconValue, html`<calcite-icon class=${safeClassMap(iconClass)} .flipRtl=${flipRtl} .icon=${iconValue} .scale=${getIconScale(this.scale)}></calcite-icon>`);
|
|
248
207
|
}
|
|
249
208
|
render() {
|
|
250
|
-
const { collapsible, loading, expanded, label, heading, messages, description, menuFlipPlacements, menuPlacement, moveToItems, addToItems, setPosition, setSize, dragDisabled, sortDisabled, iconEnd, hasContentEnd, hasContentStart, iconStart } = this;
|
|
209
|
+
const { collapsible, loading, expanded, label, heading, messages, description, menuFlipPlacements, menuPlacement, moveToItems, addToItems, setPosition, setSize, dragDisabled, sortDisabled, iconEnd, hasContentEnd, hasContentStart, iconStart, status } = this;
|
|
251
210
|
const toggleLabel = expanded ? messages.collapse : messages.expand;
|
|
252
211
|
const headerHasContent = !!(heading || description || hasContentEnd || hasContentStart || iconStart || loading || status);
|
|
253
212
|
const headerContent = html`<header class=${safeClassMap({
|
|
@@ -256,7 +215,7 @@ class Block extends LitElement {
|
|
|
256
215
|
[CSS.headerDraggable]: this.dragHandle
|
|
257
216
|
})} id=${IDS.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`;
|
|
258
217
|
const collapseIcon = expanded ? ICONS.expanded : ICONS.collapsed;
|
|
259
|
-
const headerNode = html`<div class=${safeClassMap(CSS.headerContainer)}>${this.dragHandle ? html`<calcite-sort-handle .addToItems=${addToItems} .disabled=${dragDisabled} .label=${heading || label} .moveToItems=${moveToItems} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .scale=${this.scale} .setPosition=${setPosition} .setSize=${setSize} .sortDisabled=${sortDisabled} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.setSortHandleEl)}></calcite-sort-handle>` : null}${collapsible ? html`<button aria-controls=${IDS.content} aria-describedby=${IDS.header} .ariaExpanded=${collapsible ? expanded :
|
|
218
|
+
const headerNode = html`<div class=${safeClassMap(CSS.headerContainer)}>${this.dragHandle ? html`<calcite-sort-handle .addToItems=${addToItems} .disabled=${dragDisabled} .label=${heading || label} .moveToItems=${moveToItems} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .scale=${this.scale} .setPosition=${setPosition} .setSize=${setSize} .sortDisabled=${sortDisabled} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.setSortHandleEl)}></calcite-sort-handle>` : null}${collapsible ? html`<button aria-controls=${IDS.content} aria-describedby=${IDS.header} .ariaExpanded=${collapsible ? expanded : void 0} class=${safeClassMap(CSS.toggle)} id=${IDS.toggle} @click=${this.onHeaderClick} title=${toggleLabel ?? nothing}>${headerContent}<div class=${safeClassMap(CSS.iconEndContainer)}>${this.renderContentEnd()}${this.renderIcon("end")}<calcite-icon class=${safeClassMap(CSS.toggleIcon)} .icon=${collapseIcon} .scale=${getIconScale(this.scale)}></calcite-icon></div></button>` : headerContent}${iconEnd && !collapsible ? html`<div class=${safeClassMap(CSS.iconEndContainer)}>${this.renderContentEnd()}${this.renderIcon("end")}</div>` : !iconEnd && !collapsible ? this.renderContentEnd() : null}<calcite-action-menu .flipPlacements=${menuFlipPlacements ?? ["top", "bottom"]} .hidden=${!this.hasMenuActions} .label=${messages.options} .overlayPositioning=${this.overlayPositioning} .placement=${menuPlacement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled}><slot name=${SLOTS.headerMenuActions} @slotchange=${this.menuActionsSlotChangeHandler}></slot></calcite-action-menu>${this.renderActionsEnd()}</div>`;
|
|
260
219
|
return this.interactiveContainer({ disabled: this.disabled, children: html`<article aria-label=${label ?? nothing} .ariaBusy=${loading} class=${safeClassMap({
|
|
261
220
|
[CSS.container]: true
|
|
262
221
|
})}>${headerNode}<section aria-labelledby=${IDS.toggle} class=${safeClassMap(CSS.content)} .hidden=${!expanded} id=${IDS.content}>${this.renderScrim()}</section></article>` });
|
|
@@ -10,9 +10,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
10
10
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
12
|
import { u as useSortable } from "../../chunks/useSortable.js";
|
|
13
|
-
|
|
14
|
-
return element.tagName === "CALCITE-BLOCK";
|
|
15
|
-
}
|
|
13
|
+
import { i as isBlock } from "../../chunks/resources5.js";
|
|
16
14
|
const CSS = {
|
|
17
15
|
container: "container",
|
|
18
16
|
groupContainer: "group-container",
|
|
@@ -180,12 +178,12 @@ class BlockGroup extends LitElement {
|
|
|
180
178
|
this.calciteBlockGroupOrderChange.emit(detail);
|
|
181
179
|
}
|
|
182
180
|
setParentBlockGroup() {
|
|
183
|
-
this.parentBlockGroupEl = this.el.parentElement?.closest(blockGroupSelector);
|
|
181
|
+
this.parentBlockGroupEl = this.el.parentElement?.closest(blockGroupSelector) || void 0;
|
|
184
182
|
}
|
|
185
183
|
handleDefaultSlotChange(event) {
|
|
186
184
|
const blockChildren = [];
|
|
187
185
|
this.blockAndGroups = slotChangeGetAssignedElements(event).filter((el) => {
|
|
188
|
-
if (el
|
|
186
|
+
if (isBlock(el)) {
|
|
189
187
|
blockChildren.push(el);
|
|
190
188
|
}
|
|
191
189
|
return el.matches(blockSelector) || el.matches(blockGroupSelector);
|
|
@@ -21,11 +21,11 @@ export abstract class BlockSection extends LitElement {
|
|
|
21
21
|
*/
|
|
22
22
|
accessor expanded: boolean;
|
|
23
23
|
/** Specifies an icon to display at the end of the component. */
|
|
24
|
-
accessor iconEnd: IconName;
|
|
24
|
+
accessor iconEnd: IconName | undefined;
|
|
25
25
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
26
|
-
accessor iconFlipRtl: FlipContext;
|
|
26
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
27
27
|
/** Specifies an icon to display at the start of the component. */
|
|
28
|
-
accessor iconStart: IconName;
|
|
28
|
+
accessor iconStart: IconName | undefined;
|
|
29
29
|
/** Overrides individual strings used by the component. */
|
|
30
30
|
accessor messageOverrides: {
|
|
31
31
|
collapse?: string;
|
|
@@ -49,9 +49,9 @@ export abstract class BlockSection extends LitElement {
|
|
|
49
49
|
*
|
|
50
50
|
* @deprecated in v2.8.1, removal target v6.0.0 - Use `icon-start` instead.
|
|
51
51
|
*/
|
|
52
|
-
accessor status: Status;
|
|
52
|
+
accessor status: Status | undefined;
|
|
53
53
|
/** The component header text. */
|
|
54
|
-
accessor text: string;
|
|
54
|
+
accessor text: string | undefined;
|
|
55
55
|
/**
|
|
56
56
|
* Specifies how the component's toggle is displayed, where:
|
|
57
57
|
*
|
|
@@ -94,7 +94,7 @@ class BlockSection extends LitElement {
|
|
|
94
94
|
}
|
|
95
95
|
renderStatusIcon() {
|
|
96
96
|
const { status } = this;
|
|
97
|
-
const statusIcon = ICONS[status]
|
|
97
|
+
const statusIcon = status && ICONS[status];
|
|
98
98
|
const statusIconClasses = {
|
|
99
99
|
[CSS.statusIcon]: true,
|
|
100
100
|
[CSS.valid]: status == "valid",
|
|
@@ -45,20 +45,16 @@ 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
|
-
|
|
50
|
-
*
|
|
51
|
-
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
52
|
-
*/
|
|
53
|
-
accessor form: string;
|
|
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
|
/** Specifies the URL of the linked resource, which can be set as an absolute or relative path. */
|
|
55
|
-
accessor href: string;
|
|
51
|
+
accessor href: string | undefined;
|
|
56
52
|
/** Specifies an icon to display at the end of the component. */
|
|
57
|
-
accessor iconEnd: IconName;
|
|
53
|
+
accessor iconEnd: IconName | undefined;
|
|
58
54
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
59
|
-
accessor iconFlipRtl: FlipContext;
|
|
55
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
60
56
|
/** Specifies an icon to display at the start of the component. */
|
|
61
|
-
accessor iconStart: IconName;
|
|
57
|
+
accessor iconStart: IconName | undefined;
|
|
62
58
|
/**
|
|
63
59
|
* Specifies the kind of the component, which will apply to the border and background if applicable.
|
|
64
60
|
*
|
|
@@ -66,7 +62,7 @@ export abstract class Button extends LitElement {
|
|
|
66
62
|
*/
|
|
67
63
|
accessor kind: Extract<"brand" | "danger" | "inverse" | "neutral", Kind>;
|
|
68
64
|
/** Specifies an accessible label for the component. */
|
|
69
|
-
accessor label: string;
|
|
65
|
+
accessor label: string | undefined;
|
|
70
66
|
/**
|
|
71
67
|
* When `true`, a busy indicator is displayed.
|
|
72
68
|
*
|
|
@@ -82,7 +78,7 @@ export abstract class Button extends LitElement {
|
|
|
82
78
|
*
|
|
83
79
|
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
84
80
|
*/
|
|
85
|
-
accessor rel: string;
|
|
81
|
+
accessor rel: string | undefined;
|
|
86
82
|
/**
|
|
87
83
|
* When `true`, adds a round style to the component.
|
|
88
84
|
*
|
|
@@ -106,7 +102,7 @@ export abstract class Button extends LitElement {
|
|
|
106
102
|
*
|
|
107
103
|
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
108
104
|
*/
|
|
109
|
-
accessor target: string;
|
|
105
|
+
accessor target: string | undefined;
|
|
110
106
|
/**
|
|
111
107
|
* Specifies the default behavior of the component.
|
|
112
108
|
*
|
|
@@ -96,7 +96,7 @@ class Button extends LitElement {
|
|
|
96
96
|
setTooltipText() {
|
|
97
97
|
const { contentRef: { value: contentEl } } = this;
|
|
98
98
|
if (contentEl) {
|
|
99
|
-
this.tooltipText = contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText ||
|
|
99
|
+
this.tooltipText = contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText || void 0 : void 0;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
setChildEl(el) {
|
|
@@ -111,13 +111,13 @@ class Button extends LitElement {
|
|
|
111
111
|
const iconStartEl = html`<calcite-icon class=${safeClassMap({ [CSS.icon]: true, [CSS.iconStart]: true })} .flipRtl=${this.iconFlipRtl === "start" || this.iconFlipRtl === "both"} .icon=${this.iconStart} .scale=${getIconScale(this.scale)}></calcite-icon>`;
|
|
112
112
|
const iconEndEl = html`<calcite-icon class=${safeClassMap({ [CSS.icon]: true, [CSS.iconEnd]: true })} .flipRtl=${this.iconFlipRtl === "end" || this.iconFlipRtl === "both"} .icon=${this.iconEnd} .scale=${getIconScale(this.scale)}></calcite-icon>`;
|
|
113
113
|
const contentEl = html`<span class=${safeClassMap(CSS.content)} ${ref(this.contentRef)}><slot></slot></span>`;
|
|
114
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html$1`<${DynamicHtmlTag} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded ? this.el.ariaExpanded :
|
|
114
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html$1`<${DynamicHtmlTag} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded ? this.el.ariaExpanded : void 0} .ariaLabel=${!this.loading ? getLabelText(this) : this.messages.loading} aria-live=polite class=${safeClassMap({
|
|
115
115
|
[CSS.buttonPadding]: noStartEndIcons,
|
|
116
116
|
[CSS.buttonPaddingShrunk]: !noStartEndIcons,
|
|
117
117
|
[CSS.contentSlotted]: this.hasContent,
|
|
118
118
|
[CSS.iconStartEmpty]: !this.iconStart,
|
|
119
119
|
[CSS.iconEndEmpty]: !this.iconEnd
|
|
120
|
-
})} .disabled=${childElType === "button" ? this.disabled :
|
|
120
|
+
})} .disabled=${childElType === "button" ? this.disabled : void 0} download=${(childElType === "a" ? this.download === true || this.download === "" ? "" : this.download || void 0 : void 0) ?? nothing} href=${(childElType === "a" ? this.href : void 0) ?? nothing} name=${(childElType === "button" ? this.name : void 0) ?? nothing} rel=${(childElType === "a" ? this.rel : void 0) ?? nothing} tabindex=${(this.disabled ? -1 : void 0) ?? nothing} target=${(childElType === "a" ? this.target : void 0) ?? nothing} title=${this.tooltipText ?? nothing} type=${(childElType === "button" ? this.type : void 0) ?? nothing} ${ref(this.setChildEl)}>${loaderNode}${this.iconStart ? iconStartEl : null}${this.hasContent ? contentEl : null}${this.iconEnd ? iconEndEl : null}</${DynamicHtmlTag}>` });
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
customElement("calcite-button", Button);
|
|
@@ -287,7 +287,7 @@ class Carousel extends LitElement {
|
|
|
287
287
|
}
|
|
288
288
|
handleItemSelection(event) {
|
|
289
289
|
const item = event.currentTarget;
|
|
290
|
-
const requestedPosition = parseInt(item.dataset.index);
|
|
290
|
+
const requestedPosition = parseInt(item.dataset.index, 10);
|
|
291
291
|
if (requestedPosition === this.selectedIndex) {
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
@@ -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.
|