@esri/calcite-components 5.2.0-next.2 → 5.2.0-next.20
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/274FRZ4L.js +2 -0
- package/dist/cdn/2JPZ4U3F.js +2 -0
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/2S3J7Q5Z.js +2 -0
- package/dist/cdn/{NF3TF2WJ.js → 3C5DIDB6.js} +1 -1
- package/dist/cdn/{IVJANKWM.js → 3FMYGIHK.js} +1 -1
- package/dist/cdn/3PIVSGTG.js +2 -0
- package/dist/cdn/3QG7PMD7.js +2 -0
- package/dist/cdn/3SUPEMGE.js +2 -0
- package/dist/cdn/{4AM5CFW2.js → 3UNRNAOV.js} +1 -1
- package/dist/cdn/46R52HRO.js +20 -0
- package/dist/cdn/{45HPDOT4.js → 47RIXDBV.js} +1 -1
- package/dist/cdn/4S346774.js +2 -0
- package/dist/cdn/{U5IWCBXE.js → 4T5M75LE.js} +1 -1
- package/dist/cdn/{2U7LTQ5E.js → 52TGV3MU.js} +1 -1
- package/dist/cdn/55XFD6HO.js +2 -0
- package/dist/cdn/{EL7GGALP.js → 577SUJUX.js} +1 -1
- package/dist/cdn/{GBNEJ7ZF.js → 5ALNZXSH.js} +1 -1
- package/dist/cdn/{ATPHVTBE.js → 5AZRX3DS.js} +2 -2
- package/dist/cdn/5FPO2LVP.js +2 -0
- package/dist/cdn/5G7HGALW.js +2 -0
- package/dist/cdn/5K5QPJF6.js +2 -0
- package/dist/cdn/{PKAYPMQL.js → 5LVC7ETO.js} +1 -1
- package/dist/cdn/636S2QKG.js +3 -0
- package/dist/cdn/{4XBIPWD2.js → 6CGBTN55.js} +1 -1
- package/dist/cdn/6FX7KF45.js +2 -0
- package/dist/cdn/6TIUDPR2.js +2 -0
- package/dist/cdn/6VK7XK62.js +2 -0
- package/dist/cdn/{KQN3IXDE.js → 72TSXURJ.js} +1 -1
- package/dist/cdn/76RXUWCX.js +2 -0
- package/dist/cdn/775UWETO.js +2 -0
- package/dist/cdn/{QIW2VXWS.js → 7F33GT65.js} +1 -1
- package/dist/cdn/7UFQ3X5X.js +2 -0
- package/dist/cdn/7WVYLU6C.js +2 -0
- package/dist/cdn/B6W4AN57.js +2 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/{BDJAXYZ6.js → BMYGRIAP.js} +1 -1
- package/dist/cdn/BNC7N3R4.js +2 -0
- package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
- package/dist/cdn/{IOBH7Q3C.js → C4QSA4S3.js} +2 -2
- package/dist/cdn/CJH5YZMC.js +2 -0
- package/dist/cdn/CLSQCW4V.js +2 -0
- package/dist/cdn/CPFSTSGS.js +2 -0
- package/dist/cdn/CQDKKPB6.js +2 -0
- package/dist/cdn/{S5JJMYDX.js → DDXCC6I7.js} +1 -1
- package/dist/cdn/{XR4GGZRV.js → DG732A5I.js} +1 -1
- package/dist/cdn/{UOQXEKIF.js → DGTIDBPW.js} +1 -1
- package/dist/cdn/DQ3MLE4A.js +2 -0
- package/dist/cdn/DVKDKTTT.js +2 -0
- package/dist/cdn/DXIXUXY7.js +2 -0
- package/dist/cdn/E4NVRMZX.js +2 -0
- package/dist/cdn/{FEMVD7MC.js → EI74TGO3.js} +1 -1
- package/dist/cdn/{QXVZRQDN.js → ESZADAAH.js} +1 -1
- package/dist/cdn/EVNBFYKJ.js +2 -0
- package/dist/cdn/FCEOFOET.js +2 -0
- package/dist/cdn/FJ6U5NX4.js +2 -0
- package/dist/cdn/FWZ7I3TZ.js +2 -0
- package/dist/cdn/FYSYIGKF.js +2 -0
- package/dist/cdn/G36GJMGW.js +2 -0
- package/dist/cdn/{AFNW6NWU.js → G3JY7DQV.js} +1 -1
- package/dist/cdn/G75UXAST.js +2 -0
- package/dist/cdn/GDR2FP2D.js +2 -0
- package/dist/cdn/{YHD7HKDX.js → GHDKS4TD.js} +1 -1
- package/dist/cdn/{7Q57OJ6S.js → GOIDLV7C.js} +1 -1
- package/dist/cdn/GQU3WFZV.js +2 -0
- package/dist/cdn/{WYJ5MJ5T.js → H5W5WXHK.js} +1 -1
- package/dist/cdn/{B5M44JJO.js → HBZAO5XC.js} +1 -1
- package/dist/cdn/HHFK7TKV.js +2 -0
- package/dist/cdn/HM7JX2IF.js +2 -0
- package/dist/cdn/HMZU6HVE.js +2 -0
- package/dist/cdn/HR7ZF4O4.js +2 -0
- package/dist/cdn/HRZRDD6H.js +2 -0
- package/dist/cdn/{B34QFBVX.js → HT4HY6AT.js} +1 -1
- package/dist/cdn/HTNEOCBI.js +2 -0
- package/dist/cdn/{57I2TDEP.js → I6XS2MAU.js} +1 -1
- package/dist/cdn/ICBBCGZV.js +2 -0
- package/dist/cdn/IHICRFB2.js +2 -0
- package/dist/cdn/IMWZRCSG.js +2 -0
- package/dist/cdn/{HIXRGJPQ.js → IMZAUAXY.js} +1 -1
- package/dist/cdn/IP3UF6EB.js +2 -0
- package/dist/cdn/J5CBNSFX.js +2 -0
- package/dist/cdn/JKUFUPT6.js +2 -0
- package/dist/cdn/JRJF4HDI.js +2 -0
- package/dist/cdn/JSGM5KD3.js +2 -0
- package/dist/cdn/JTMLSOJ5.js +2 -0
- package/dist/cdn/K3SSCLYA.js +2 -0
- package/dist/cdn/K6UR6OZ2.js +2 -0
- package/dist/cdn/KP6PJRAL.js +2 -0
- package/dist/cdn/{X33GQ3A3.js → KQGMXWXI.js} +1 -1
- package/dist/cdn/KRQY2SFF.js +2 -0
- package/dist/cdn/KVWXUJ5Z.js +2 -0
- package/dist/cdn/L2WOW4WA.js +2 -0
- package/dist/cdn/{GUSPFAZS.js → L4VFHSB3.js} +1 -1
- package/dist/cdn/LENEZSR4.js +2 -0
- package/dist/cdn/LK5HCROM.js +2 -0
- package/dist/cdn/MR75ZUED.js +2 -0
- package/dist/cdn/MZL4PWY5.js +2 -0
- package/dist/cdn/N4PIPJUW.js +2 -0
- package/dist/cdn/{UMHABPZB.js → NE4WXKKT.js} +1 -1
- package/dist/cdn/NH7NEXHE.js +2 -0
- package/dist/cdn/NLKEM7KL.js +2 -0
- package/dist/cdn/NLKK7ZPG.js +2 -0
- package/dist/cdn/ODBJ3LN3.js +2 -0
- package/dist/cdn/OII6O6MC.js +2 -0
- package/dist/cdn/OIO5CL6R.js +2 -0
- package/dist/cdn/OTWVFXUM.js +2 -0
- package/dist/cdn/{DJL42XA3.js → OXHWLLZQ.js} +1 -1
- package/dist/cdn/{I5C2XC5I.js → P5E4K2YU.js} +1 -1
- package/dist/cdn/PFNK3NNN.js +2 -0
- package/dist/cdn/PM4OUC5A.js +2 -0
- package/dist/cdn/QC2L77KT.js +2 -0
- package/dist/cdn/{F25HCCSH.js → QMPPLQQ5.js} +1 -1
- package/dist/cdn/QQDQTFWB.js +2 -0
- package/dist/cdn/R266UWNO.js +2 -0
- package/dist/cdn/R4GEOVYI.js +2 -0
- package/dist/cdn/RIUXW3CT.js +2 -0
- package/dist/cdn/{YEFCURY4.js → RXOCIZR2.js} +1 -1
- package/dist/cdn/RZUBAM3F.js +2 -0
- package/dist/cdn/{AV53YUYO.js → S6UM4EUR.js} +1 -1
- package/dist/cdn/SJ74WMIE.js +2 -0
- package/dist/cdn/{NFPHYIMY.js → SKLSVDDA.js} +1 -1
- package/dist/cdn/SKT6EH46.js +2 -0
- package/dist/cdn/{6A4WSEWS.js → SPAXDNSY.js} +1 -1
- package/dist/cdn/TAUY7Z4O.js +2 -0
- package/dist/cdn/{KPR7F2IQ.js → TJQCOJLM.js} +1 -1
- package/dist/cdn/TTAUZYEK.js +2 -0
- package/dist/cdn/TUTEHUDA.js +2 -0
- package/dist/cdn/TYBH7GGH.js +2 -0
- package/dist/cdn/{YL4XYPPL.js → VC7TEAH4.js} +1 -1
- package/dist/cdn/{MIE7SGGW.js → VSQEV5GK.js} +1 -1
- package/dist/cdn/VWSSAZSV.js +2 -0
- package/dist/cdn/{TE3IGQZH.js → VY2YOVXS.js} +1 -1
- package/dist/cdn/{FPVMYG6A.js → W73JFEFK.js} +1 -1
- package/dist/cdn/WNML6YVK.js +2 -0
- package/dist/cdn/WTW36HQX.js +2 -0
- package/dist/cdn/{CC6MIBOX.js → WY4WCY62.js} +1 -1
- package/dist/cdn/{4PN5ZOFS.js → WZDOH3UT.js} +1 -1
- package/dist/cdn/{BBQFFEZH.js → XDM2TRBZ.js} +1 -1
- package/dist/cdn/{QLMCMCFN.js → XFASTRFH.js} +1 -1
- package/dist/cdn/XHWRV66Y.js +2 -0
- package/dist/cdn/{AOWO3CEE.js → XIFFX53O.js} +1 -1
- package/dist/cdn/XLWF7PEZ.js +2 -0
- package/dist/cdn/XQQVDTPC.js +2 -0
- package/dist/cdn/{G4ZSDWUZ.js → Y62446FJ.js} +1 -1
- package/dist/cdn/YB3SPSPR.js +2 -0
- package/dist/cdn/YF3XQNMO.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/{XD2JOD4K.js → YVCNMRUN.js} +1 -1
- package/dist/cdn/YVTX357W.js +2 -0
- package/dist/cdn/YZHMVXRO.js +2 -0
- package/dist/cdn/ZPMLHYGP.js +2 -0
- package/dist/cdn/ZWC56RBG.js +2 -0
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/arcgisEnterprise16.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise24.json +1 -0
- package/dist/cdn/assets/icon/arcgisEnterprise32.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/smartSearch16.json +1 -0
- package/dist/cdn/assets/icon/smartSearch24.json +1 -0
- package/dist/cdn/assets/icon/smartSearch32.json +1 -0
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/userSave16.json +1 -0
- package/dist/cdn/assets/icon/userSave24.json +1 -0
- package/dist/cdn/assets/icon/userSave32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
- package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
- package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +9 -14
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -5
- package/dist/chunks/useForm.js +8 -6
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +28 -24
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +58 -5
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
- package/dist/components/calcite-action/customElement.d.ts +5 -8
- package/dist/components/calcite-action/customElement.js +26 -10
- package/dist/components/calcite-action-bar/customElement.d.ts +4 -4
- package/dist/components/calcite-action-group/customElement.d.ts +3 -5
- package/dist/components/calcite-action-menu/customElement.d.ts +3 -5
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-action-pad/customElement.d.ts +4 -4
- package/dist/components/calcite-alert/customElement.d.ts +2 -4
- package/dist/components/calcite-autocomplete/customElement.d.ts +6 -12
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +7 -9
- package/dist/components/calcite-block-group/customElement.d.ts +2 -2
- package/dist/components/calcite-block-section/customElement.d.ts +2 -2
- package/dist/components/calcite-button/customElement.d.ts +2 -6
- package/dist/components/calcite-card/customElement.d.ts +2 -2
- package/dist/components/calcite-carousel/customElement.d.ts +7 -7
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-checkbox/customElement.d.ts +2 -6
- package/dist/components/calcite-chip/customElement.d.ts +2 -2
- package/dist/components/calcite-chip/customElement.js +4 -3
- package/dist/components/calcite-color-picker/customElement.d.ts +20 -20
- package/dist/components/calcite-color-picker/customElement.js +6 -2
- package/dist/components/calcite-combobox/customElement.d.ts +25 -30
- package/dist/components/calcite-combobox/customElement.js +80 -74
- 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 +15 -15
- 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 +12 -14
- package/dist/components/calcite-dialog/customElement.js +5 -6
- package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
- package/dist/components/calcite-dropdown/customElement.js +10 -7
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown-item/customElement.js +3 -3
- package/dist/components/calcite-filter/customElement.d.ts +2 -2
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +10 -12
- package/dist/components/calcite-flow-item/customElement.js +9 -7
- package/dist/components/calcite-graph/customElement.d.ts +3 -3
- package/dist/components/calcite-graph/customElement.js +11 -15
- package/dist/components/calcite-handle/customElement.d.ts +7 -7
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +4 -4
- package/dist/components/calcite-icon/interfaces.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +4 -2
- package/dist/components/calcite-input/customElement.d.ts +26 -27
- package/dist/components/calcite-input/customElement.js +14 -12
- package/dist/components/calcite-input-date-picker/customElement.d.ts +30 -29
- package/dist/components/calcite-input-date-picker/customElement.js +17 -17
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -3
- package/dist/components/calcite-input-number/customElement.d.ts +25 -28
- package/dist/components/calcite-input-number/customElement.js +14 -12
- package/dist/components/calcite-input-text/customElement.d.ts +21 -22
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +29 -30
- package/dist/components/calcite-input-time-picker/customElement.js +34 -10
- package/dist/components/calcite-input-time-zone/customElement.d.ts +619 -622
- package/dist/components/calcite-input-time-zone/customElement.js +14 -12
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list-item/customElement.d.ts +4 -6
- package/dist/components/calcite-list-item/interfaces.d.ts +3 -3
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-meter/customElement.js +9 -9
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +9 -9
- package/dist/components/calcite-navigation-logo/customElement.js +1 -0
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +1 -0
- package/dist/components/calcite-notice/customElement.d.ts +2 -2
- package/dist/components/calcite-option/customElement.d.ts +1 -1
- package/dist/components/calcite-option/customElement.js +1 -0
- package/dist/components/calcite-pagination/customElement.d.ts +4 -4
- package/dist/components/calcite-pagination/customElement.js +3 -3
- package/dist/components/calcite-panel/customElement.d.ts +8 -10
- package/dist/components/calcite-panel/customElement.js +38 -6
- package/dist/components/calcite-popover/customElement.d.ts +3 -5
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +4 -8
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +8 -11
- package/dist/components/calcite-segmented-control/customElement.js +2 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.d.ts +7 -11
- package/dist/components/calcite-sheet/customElement.d.ts +6 -8
- package/dist/components/calcite-sheet/customElement.js +7 -22
- package/dist/components/calcite-shell/customElement.d.ts +2 -0
- package/dist/components/calcite-shell/customElement.js +3 -14
- package/dist/components/calcite-shell-panel/customElement.d.ts +4 -4
- package/dist/components/calcite-shell-panel/customElement.js +4 -16
- package/dist/components/calcite-slider/customElement.d.ts +14 -18
- package/dist/components/calcite-slider/customElement.js +19 -20
- package/dist/components/calcite-sort-handle/customElement.d.ts +16 -18
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +3 -3
- 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 +4 -4
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +6 -6
- 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.d.ts +2 -2
- package/dist/components/calcite-tab-nav/customElement.js +65 -27
- package/dist/components/calcite-tab-title/customElement.d.ts +1 -1
- package/dist/components/calcite-tab-title/customElement.js +4 -0
- package/dist/components/calcite-table/customElement.d.ts +11 -5
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +5 -5
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +7 -7
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +26 -15
- package/dist/components/calcite-tabs/customElement.d.ts +6 -0
- package/dist/components/calcite-tabs/customElement.js +14 -8
- package/dist/components/calcite-text-area/customElement.d.ts +6 -10
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.d.ts +2 -2
- package/dist/components/calcite-time-picker/customElement.d.ts +15 -15
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -4
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useTime.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +9 -9
- package/dist/types/lumina.d.ts +4 -4
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +4 -4
- package/dist/types/stencil.d.ts +4 -4
- package/dist/utils/date.d.ts +2 -2
- package/package.json +13 -10
- package/dist/cdn/2AZU4JLL.js +0 -2
- package/dist/cdn/2C57GVL7.js +0 -2
- package/dist/cdn/2RCOMSJ4.js +0 -2
- package/dist/cdn/3FH6QU7Y.js +0 -2
- package/dist/cdn/3GSXR65T.js +0 -2
- package/dist/cdn/43MK3FDM.js +0 -2
- package/dist/cdn/4C4FXK46.js +0 -2
- package/dist/cdn/4CHUXMKI.js +0 -2
- package/dist/cdn/5EY2EEDX.js +0 -2
- package/dist/cdn/5GA4KYR2.js +0 -2
- package/dist/cdn/5ISZFTOQ.js +0 -2
- package/dist/cdn/6WR7WF5X.js +0 -2
- package/dist/cdn/6ZDUL7DM.js +0 -2
- package/dist/cdn/7IOEAAJN.js +0 -2
- package/dist/cdn/7JMYJBWS.js +0 -2
- package/dist/cdn/A2QVKNTN.js +0 -2
- package/dist/cdn/AA7ZRB5K.js +0 -2
- package/dist/cdn/AI4EP5I7.js +0 -2
- package/dist/cdn/AO3S4HXU.js +0 -2
- package/dist/cdn/BETERP4W.js +0 -2
- package/dist/cdn/BUNBY5RM.js +0 -2
- package/dist/cdn/C4VPLSW7.js +0 -2
- package/dist/cdn/C7C55I5S.js +0 -2
- package/dist/cdn/CAWTUKNX.js +0 -2
- package/dist/cdn/CFFCEFZK.js +0 -2
- package/dist/cdn/CQ6NGNY6.js +0 -2
- package/dist/cdn/CYCLHZ3A.js +0 -2
- package/dist/cdn/D6PPMEQM.js +0 -2
- package/dist/cdn/DI3IXSN2.js +0 -2
- package/dist/cdn/DJIJFKYH.js +0 -2
- package/dist/cdn/E3RE3E2N.js +0 -2
- package/dist/cdn/EGQ75QVP.js +0 -2
- package/dist/cdn/ENNOBBY4.js +0 -2
- package/dist/cdn/EXXGZUR3.js +0 -2
- package/dist/cdn/F7AKW6A4.js +0 -2
- package/dist/cdn/FFUBSUZQ.js +0 -2
- package/dist/cdn/FLX6RAXY.js +0 -20
- package/dist/cdn/FVB2OZEH.js +0 -2
- package/dist/cdn/GBGFI7SS.js +0 -2
- package/dist/cdn/GGCO6DJE.js +0 -2
- package/dist/cdn/GLH6ZAVP.js +0 -2
- package/dist/cdn/GMY4OPXB.js +0 -2
- package/dist/cdn/GNF44UQG.js +0 -2
- package/dist/cdn/GOBJFJO6.js +0 -2
- package/dist/cdn/H2JTOLL2.js +0 -2
- package/dist/cdn/HBRGGPQS.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/I2ZCMXRB.js +0 -2
- package/dist/cdn/IJZH5BV3.js +0 -2
- package/dist/cdn/J32XKCXC.js +0 -2
- package/dist/cdn/JL5V6LHI.js +0 -2
- package/dist/cdn/JQVKQIWK.js +0 -2
- package/dist/cdn/JW2SKWED.js +0 -2
- package/dist/cdn/JZCXLE2H.js +0 -2
- package/dist/cdn/KQ322MPA.js +0 -2
- package/dist/cdn/KVWHPPP5.js +0 -2
- package/dist/cdn/KZUHKTIQ.js +0 -2
- package/dist/cdn/LJJZC4QK.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LRPJV2DQ.js +0 -2
- package/dist/cdn/LVF7G7IY.js +0 -2
- package/dist/cdn/LZDIBXYZ.js +0 -2
- package/dist/cdn/MNBJJORH.js +0 -2
- package/dist/cdn/MSB35HIA.js +0 -2
- package/dist/cdn/N7DI6G6M.js +0 -2
- package/dist/cdn/OGWGMCYY.js +0 -2
- package/dist/cdn/OLCC5YK5.js +0 -2
- package/dist/cdn/OQY72DXY.js +0 -2
- package/dist/cdn/OTKKHBLB.js +0 -2
- package/dist/cdn/PO4GQAOO.js +0 -3
- package/dist/cdn/PYEU7ILW.js +0 -2
- package/dist/cdn/QNSEEZF5.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QXIJOBKX.js +0 -2
- package/dist/cdn/R2DOA2MN.js +0 -2
- package/dist/cdn/RC3UVUK3.js +0 -2
- package/dist/cdn/RE4YAX46.js +0 -2
- package/dist/cdn/RQVOT4ZO.js +0 -2
- package/dist/cdn/RXXRSLAB.js +0 -2
- package/dist/cdn/SU44IFYE.js +0 -2
- package/dist/cdn/SVEPQ765.js +0 -2
- package/dist/cdn/SVIANZ3V.js +0 -2
- package/dist/cdn/T5VR3PV2.js +0 -2
- package/dist/cdn/TD2P54UR.js +0 -2
- package/dist/cdn/TDOPUO3L.js +0 -2
- package/dist/cdn/TEGKHQ5W.js +0 -2
- package/dist/cdn/TJC3KPVJ.js +0 -2
- package/dist/cdn/TWT5XRCW.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/V3ADMKIU.js +0 -2
- package/dist/cdn/W5TTJ4T3.js +0 -2
- package/dist/cdn/W6UFYWVG.js +0 -2
- package/dist/cdn/W7BKEQCB.js +0 -2
- package/dist/cdn/W7DJIM2F.js +0 -2
- package/dist/cdn/XNAMWMN5.js +0 -2
- package/dist/cdn/XZJNPGQT.js +0 -2
- package/dist/cdn/Y3U2N2BQ.js +0 -2
- package/dist/cdn/YAQRXHHQ.js +0 -2
- package/dist/cdn/YYGQFOZ7.js +0 -2
- package/dist/cdn/ZLOMPF4H.js +0 -2
|
@@ -24,17 +24,17 @@ export abstract class DropdownItem extends LitElement {
|
|
|
24
24
|
*
|
|
25
25
|
* Determines if the component will render as an anchor.
|
|
26
26
|
*/
|
|
27
|
-
accessor href: string;
|
|
27
|
+
accessor href: string | undefined;
|
|
28
28
|
/** Specifies an icon to display at the end of the component. */
|
|
29
|
-
accessor iconEnd: IconName;
|
|
29
|
+
accessor iconEnd: IconName | undefined;
|
|
30
30
|
/** When the element direction is right-to-left (`"rtl"`), flips the component's `iconStart` and/or `iconEnd`. */
|
|
31
|
-
accessor iconFlipRtl: FlipContext;
|
|
31
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
32
32
|
/** Specifies an icon to display at the start of the component. */
|
|
33
|
-
accessor iconStart: IconName;
|
|
33
|
+
accessor iconStart: IconName | undefined;
|
|
34
34
|
/** Specifies an accessible label for the component. */
|
|
35
|
-
accessor label: string;
|
|
35
|
+
accessor label: string | undefined;
|
|
36
36
|
/** Specifies the relationship to the linked resource defined in `href`. */
|
|
37
|
-
accessor rel: string;
|
|
37
|
+
accessor rel: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* When `true`, the component is selected.
|
|
40
40
|
*
|
|
@@ -42,7 +42,7 @@ export abstract class DropdownItem extends LitElement {
|
|
|
42
42
|
*/
|
|
43
43
|
accessor selected: boolean;
|
|
44
44
|
/** Specifies the frame or window to open the linked resource. */
|
|
45
|
-
accessor target: string;
|
|
45
|
+
accessor target: string | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* Sets focus on the component.
|
|
48
48
|
*
|
|
@@ -55,7 +55,7 @@ class DropdownItem extends LitElement {
|
|
|
55
55
|
this.emitRequestedItem();
|
|
56
56
|
}
|
|
57
57
|
updateActiveItemOnChange(event) {
|
|
58
|
-
const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
|
|
58
|
+
const parentEmittedChange = this.parentDropdownGroupEl && event.composedPath().includes(this.parentDropdownGroupEl);
|
|
59
59
|
if (parentEmittedChange) {
|
|
60
60
|
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
|
61
61
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
@@ -64,7 +64,7 @@ class DropdownItem extends LitElement {
|
|
|
64
64
|
event.stopPropagation();
|
|
65
65
|
}
|
|
66
66
|
initialize() {
|
|
67
|
-
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
67
|
+
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group") ?? void 0;
|
|
68
68
|
if (this.selectionMode === "none") {
|
|
69
69
|
this.selected = false;
|
|
70
70
|
}
|
|
@@ -106,7 +106,7 @@ class DropdownItem extends LitElement {
|
|
|
106
106
|
const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
107
107
|
const { disabled } = this;
|
|
108
108
|
this.el.ariaChecked = itemAria;
|
|
109
|
-
this.el.ariaLabel = !href ? label : "";
|
|
109
|
+
this.el.ariaLabel = !href ? label ?? null : "";
|
|
110
110
|
this.el.role = itemRole;
|
|
111
111
|
setAttribute(this.el, "tabIndex", -1);
|
|
112
112
|
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
|
|
@@ -41,8 +41,8 @@ export abstract class Filter extends LitElement {
|
|
|
41
41
|
accessor label: string | undefined;
|
|
42
42
|
/** Overrides individual strings used by the component. */
|
|
43
43
|
accessor messageOverrides: {
|
|
44
|
-
label?: string;
|
|
45
|
-
clear?: string;
|
|
44
|
+
label?: string | undefined;
|
|
45
|
+
clear?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
/** Specifies the component's input placeholder text. */
|
|
48
48
|
accessor placeholder: string | undefined;
|
|
@@ -108,7 +108,7 @@ class Filter extends LitElement {
|
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const { disabled, scale } = this;
|
|
111
|
-
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @
|
|
111
|
+
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @calciteInputInput=${this.inputHandler} @keydown=${this.keyDownHandler} .placeholder=${this.placeholder} .scale=${scale} type=text .value=${this.value} ${ref(this.textInputRef)}></calcite-input></label></div>` });
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
customElement("calcite-filter", Filter);
|
|
@@ -54,7 +54,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
54
54
|
/** Specifies a function to run before the component is removed from its parent `calcite-flow`. */
|
|
55
55
|
accessor beforeBack: (() => Promise<void>) | undefined;
|
|
56
56
|
/** Specifies a function to run before the component closes. */
|
|
57
|
-
accessor beforeClose: () => Promise<void
|
|
57
|
+
accessor beforeClose: (() => Promise<void>) | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* When `true`, displays a close button in the trailing side of the component's header.
|
|
60
60
|
*
|
|
@@ -85,8 +85,8 @@ export abstract class FlowItem extends LitElement {
|
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
accessor collapsible: boolean;
|
|
88
|
-
/** Specifies a the component
|
|
89
|
-
accessor description: string;
|
|
88
|
+
/** Specifies a description for the component. */
|
|
89
|
+
accessor description: string | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* When `true`, prevents interaction and decreases the component's opacity.
|
|
92
92
|
*
|
|
@@ -94,11 +94,11 @@ export abstract class FlowItem extends LitElement {
|
|
|
94
94
|
*/
|
|
95
95
|
accessor disabled: boolean;
|
|
96
96
|
/** Specifies the component's heading text. */
|
|
97
|
-
accessor heading: string;
|
|
97
|
+
accessor heading: string | undefined;
|
|
98
98
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
99
|
-
accessor headingLevel: HeadingLevel;
|
|
99
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
100
100
|
/** Specifies an icon to display. */
|
|
101
|
-
accessor icon: IconName;
|
|
101
|
+
accessor icon: IconName | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
104
104
|
*
|
|
@@ -119,9 +119,9 @@ export abstract class FlowItem extends LitElement {
|
|
|
119
119
|
accessor menuOpen: boolean;
|
|
120
120
|
/** Overrides individual strings used by the component. */
|
|
121
121
|
accessor messageOverrides: {
|
|
122
|
-
back?: string;
|
|
123
|
-
close?: string;
|
|
124
|
-
options?: string;
|
|
122
|
+
back?: string | undefined;
|
|
123
|
+
close?: string | undefined;
|
|
124
|
+
options?: string | undefined;
|
|
125
125
|
} & Panel["messageOverrides"];
|
|
126
126
|
/**
|
|
127
127
|
* Specifies the type of positioning to use for overlaid content, where:
|
|
@@ -153,9 +153,7 @@ export abstract class FlowItem extends LitElement {
|
|
|
153
153
|
*/
|
|
154
154
|
accessor showBackButton: boolean;
|
|
155
155
|
/**
|
|
156
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
157
|
-
*
|
|
158
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
156
|
+
* When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
159
157
|
*
|
|
160
158
|
* @default false
|
|
161
159
|
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
@@ -7,7 +7,6 @@ import { createRef, ref } from "lit/directives/ref.js";
|
|
|
7
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { S as SLOTS$1 } from "../../chunks/resources8.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
10
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
11
|
const CSS = {
|
|
13
12
|
backButton: "back-button"
|
|
@@ -40,7 +39,6 @@ class FlowItem extends LitElement {
|
|
|
40
39
|
this.containerRef = createRef();
|
|
41
40
|
this.direction = useDirection();
|
|
42
41
|
this.messages = useT9n();
|
|
43
|
-
this.focusSetter = useSetFocus()(this);
|
|
44
42
|
this.interactiveContainer = useInteractive(this);
|
|
45
43
|
this.closable = false;
|
|
46
44
|
this.closed = false;
|
|
@@ -50,6 +48,7 @@ class FlowItem extends LitElement {
|
|
|
50
48
|
this.disabled = false;
|
|
51
49
|
this.iconFlipRtl = false;
|
|
52
50
|
this.loading = false;
|
|
51
|
+
this.focusTrapEnabled = false;
|
|
53
52
|
this.menuOpen = false;
|
|
54
53
|
this.overlayPositioning = "absolute";
|
|
55
54
|
this.scale = "m";
|
|
@@ -65,7 +64,7 @@ class FlowItem extends LitElement {
|
|
|
65
64
|
this.calciteInternalFlowItemChange = createEvent({ cancelable: false });
|
|
66
65
|
}
|
|
67
66
|
static {
|
|
68
|
-
this.properties = { beforeBack: [0, {}, { attribute: false }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuOpen: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], showBackButton: [5, {}, { type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
67
|
+
this.properties = { beforeBack: [0, {}, { attribute: false }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], focusTrapEnabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], showBackButton: [5, {}, { type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
69
68
|
}
|
|
70
69
|
static {
|
|
71
70
|
this.styles = styles;
|
|
@@ -74,7 +73,10 @@ class FlowItem extends LitElement {
|
|
|
74
73
|
await this.containerRef.value?.scrollContentTo(options);
|
|
75
74
|
}
|
|
76
75
|
async setFocus(options) {
|
|
77
|
-
return this.
|
|
76
|
+
return this.containerRef.value?.setFocus(options);
|
|
77
|
+
}
|
|
78
|
+
async updateFocusTrapElements(extraContainers) {
|
|
79
|
+
this.containerRef.value?.updateFocusTrapElements(extraContainers);
|
|
78
80
|
}
|
|
79
81
|
willUpdate(changes) {
|
|
80
82
|
if (changes.has("selected") && (this.hasUpdated || this.selected !== false)) {
|
|
@@ -119,11 +121,11 @@ class FlowItem extends LitElement {
|
|
|
119
121
|
const { showBackButton, backButtonClick, messages } = this;
|
|
120
122
|
const label = messages.back;
|
|
121
123
|
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
|
122
|
-
return showBackButton ? keyed("flow-back-button", html`<calcite-action
|
|
124
|
+
return showBackButton ? keyed("flow-back-button", html`<calcite-action class=${safeClassMap(CSS.backButton)} .icon=${icon} @click=${backButtonClick} .scale=${this.scale} slot=${SLOTS.headerActionsStart} .text=${label} title=${label ?? nothing} ${ref(this.backButtonRef)}></calcite-action>`) : null;
|
|
123
125
|
}
|
|
124
126
|
render() {
|
|
125
|
-
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
|
|
126
|
-
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapsed=${collapsed} .collapseDirection=${collapseDirection} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
|
|
127
|
+
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl, focusTrapEnabled, focusTrapOptions } = this;
|
|
128
|
+
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapsed=${collapsed} .collapseDirection=${collapseDirection} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .focusTrapEnabled=${focusTrapEnabled} .focusTrapOptions=${focusTrapOptions} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
customElement("calcite-flow-item", FlowItem);
|
|
@@ -8,16 +8,16 @@ export abstract class Graph extends LitElement {
|
|
|
8
8
|
* Array of values describing a single color stop ([offset, color, opacity])
|
|
9
9
|
* These color stops should be sorted by offset value.
|
|
10
10
|
*/
|
|
11
|
-
accessor colorStops: ColorStop[];
|
|
11
|
+
accessor colorStops: ColorStop[] | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* Array of tuples describing a single data point ([x, y])
|
|
14
14
|
* These data points should be sorted by x-axis value.
|
|
15
15
|
*/
|
|
16
16
|
accessor data: DataSeries;
|
|
17
17
|
/** End of highlight color if highlighting range. */
|
|
18
|
-
accessor highlightMax: number;
|
|
18
|
+
accessor highlightMax: number | undefined;
|
|
19
19
|
/** Start of highlight color if highlighting range. */
|
|
20
|
-
accessor highlightMin: number;
|
|
20
|
+
accessor highlightMin: number | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Highest point of the range.
|
|
23
23
|
*
|
|
@@ -9,8 +9,8 @@ function slope(p0, p1, p2) {
|
|
|
9
9
|
const dx1 = p2[0] - p1[0];
|
|
10
10
|
const dy = p1[1] - p0[1];
|
|
11
11
|
const dy1 = p2[1] - p1[1];
|
|
12
|
-
const m = dy / (dx || dx1 < 0 && 0);
|
|
13
|
-
const m1 = dy1 / (dx1 || dx < 0 && 0);
|
|
12
|
+
const m = dy / Number(dx || dx1 < 0 && 0);
|
|
13
|
+
const m1 = dy1 / Number(dx1 || dx < 0 && 0);
|
|
14
14
|
const p = (m * dx1 + m1 * dx) / (dx + dx1);
|
|
15
15
|
return (Math.sign(m) + Math.sign(m1)) * Math.min(Math.abs(m), Math.abs(m1), 0.5 * Math.abs(p)) || 0;
|
|
16
16
|
}
|
|
@@ -125,36 +125,32 @@ class Graph extends LitElement {
|
|
|
125
125
|
currentMax = [max, rangeMax[1]];
|
|
126
126
|
}
|
|
127
127
|
const t = translate({ min: currentMin, max: currentMax, width, height });
|
|
128
|
-
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
129
|
-
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
130
128
|
const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
|
|
131
129
|
const fill = colorStops ? `url(#${IDS.linearGradient(id)})` : void 0;
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
if (highlightMin !== void 0 && highlightMax !== void 0) {
|
|
131
|
+
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
132
|
+
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
133
|
+
return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<mask height=100% id=${IDS.mask(id, 1) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
134
134
|
M 0,0
|
|
135
135
|
L ${hMinX - 1},0
|
|
136
136
|
L ${hMinX - 1},${height}
|
|
137
137
|
L 0,${height}
|
|
138
138
|
Z
|
|
139
|
-
`} fill=white /></mask
|
|
140
|
-
svg`<mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
139
|
+
`} fill=white /></mask><mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
141
140
|
M ${hMinX + 1},0
|
|
142
141
|
L ${hMaxX - 1},0
|
|
143
142
|
L ${hMaxX - 1},${height}
|
|
144
143
|
L ${hMinX + 1}, ${height}
|
|
145
144
|
Z
|
|
146
|
-
`} fill=white /></mask
|
|
147
|
-
svg`<mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
145
|
+
`} fill=white /></mask><mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
|
|
148
146
|
M ${hMaxX + 1},0
|
|
149
147
|
L ${width},0
|
|
150
148
|
L ${width},${height}
|
|
151
149
|
L ${hMaxX + 1}, ${height}
|
|
152
150
|
Z
|
|
153
|
-
`} fill=white /></mask
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`
|
|
157
|
-
] : svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
|
|
151
|
+
`} fill=white /></mask><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 1)})`} /><path class=${safeClassMap(CSS.graphPathHighlight)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 2)})`} /><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`}</svg>`;
|
|
152
|
+
}
|
|
153
|
+
return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
|
|
158
154
|
}
|
|
159
155
|
}
|
|
160
156
|
customElement("calcite-graph", Graph);
|
|
@@ -19,15 +19,15 @@ export abstract class Handle extends LitElement {
|
|
|
19
19
|
*/
|
|
20
20
|
accessor disabled: boolean;
|
|
21
21
|
/** Value for the button title attribute. */
|
|
22
|
-
accessor dragHandle: string;
|
|
22
|
+
accessor dragHandle: string | undefined;
|
|
23
23
|
/** Overrides individual strings used by the component. */
|
|
24
24
|
accessor messageOverrides: {
|
|
25
|
-
dragHandle?: string;
|
|
26
|
-
dragHandleUntitled?: string;
|
|
27
|
-
dragHandleActive?: string;
|
|
28
|
-
dragHandleChange?: string;
|
|
29
|
-
dragHandleCommit?: string;
|
|
30
|
-
dragHandleIdle?: string;
|
|
25
|
+
dragHandle?: string | undefined;
|
|
26
|
+
dragHandleUntitled?: string | undefined;
|
|
27
|
+
dragHandleActive?: string | undefined;
|
|
28
|
+
dragHandleChange?: string | undefined;
|
|
29
|
+
dragHandleCommit?: string | undefined;
|
|
30
|
+
dragHandleIdle?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* When `true`, the component is selected.
|
|
@@ -77,7 +77,7 @@ class Handle extends LitElement {
|
|
|
77
77
|
getAriaText(type) {
|
|
78
78
|
const { setPosition, setSize, label, messages, selected } = this;
|
|
79
79
|
if (!messages || !label || typeof setSize !== "number" || typeof setPosition !== "number") {
|
|
80
|
-
return
|
|
80
|
+
return void 0;
|
|
81
81
|
}
|
|
82
82
|
const text = type === "label" ? selected ? messages.dragHandleChange : messages.dragHandleIdle : selected ? messages.dragHandleActive : messages.dragHandleCommit;
|
|
83
83
|
const replacePosition = text.replace(SUBSTITUTIONS.position, setPosition.toString());
|
|
@@ -120,7 +120,7 @@ class Handle extends LitElement {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<span .ariaChecked=${this.disabled ?
|
|
123
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`<span .ariaChecked=${this.disabled ? void 0 : this.selected} .ariaDisabled=${this.disabled ? this.disabled : void 0} .ariaLabel=${this.disabled ? void 0 : this.getAriaText("label")} class=${safeClassMap({ [CSS.handle]: true, [CSS.handleSelected]: !this.disabled && this.selected })} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled ? void 0 : 0) ?? nothing} title=${this.getTooltip() ?? nothing} ${ref(this.handleButtonRef)}><calcite-icon .icon=${ICONS.drag} scale=s></calcite-icon></span>` });
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
customElement("calcite-handle", Handle);
|
|
@@ -19,7 +19,7 @@ export abstract class Icon extends LitElement {
|
|
|
19
19
|
*
|
|
20
20
|
* @see [Calcite UI Icons](https://developers.arcgis.com/calcite-design-system/icons).
|
|
21
21
|
*/
|
|
22
|
-
accessor icon: IconName;
|
|
22
|
+
accessor icon: IconName | null;
|
|
23
23
|
/**
|
|
24
24
|
* When `true`, preloads the `icon` data.
|
|
25
25
|
*
|
|
@@ -37,5 +37,5 @@ export abstract class Icon extends LitElement {
|
|
|
37
37
|
*
|
|
38
38
|
* It is recommended to set this value if your icon is semantic.
|
|
39
39
|
*/
|
|
40
|
-
accessor textLabel: string;
|
|
40
|
+
accessor textLabel: string | undefined;
|
|
41
41
|
}
|
|
@@ -103,7 +103,7 @@ class Icon extends LitElement {
|
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
super.disconnectedCallback();
|
|
105
105
|
this.intersectionObserver?.disconnect();
|
|
106
|
-
this.intersectionObserver =
|
|
106
|
+
this.intersectionObserver = void 0;
|
|
107
107
|
}
|
|
108
108
|
async loadIconPathData() {
|
|
109
109
|
const { icon, scale, visible } = this;
|
|
@@ -121,8 +121,8 @@ class Icon extends LitElement {
|
|
|
121
121
|
this.intersectionObserver = createObserver("intersection", (entries) => {
|
|
122
122
|
entries.forEach((entry) => {
|
|
123
123
|
if (entry.isIntersecting) {
|
|
124
|
-
this.intersectionObserver
|
|
125
|
-
this.intersectionObserver =
|
|
124
|
+
this.intersectionObserver?.disconnect();
|
|
125
|
+
this.intersectionObserver = void 0;
|
|
126
126
|
callback();
|
|
127
127
|
}
|
|
128
128
|
});
|
|
@@ -138,7 +138,7 @@ class Icon extends LitElement {
|
|
|
138
138
|
const dir = this.direction;
|
|
139
139
|
const size = scaleToPx[scale];
|
|
140
140
|
const semantic = !!textLabel;
|
|
141
|
-
const paths =
|
|
141
|
+
const paths = Array.isArray(pathData) ? pathData : [pathData ?? ""];
|
|
142
142
|
this.el.ariaHidden = toAriaBoolean(!semantic);
|
|
143
143
|
this.el.ariaLabel = semantic ? textLabel : null;
|
|
144
144
|
this.el.role = semantic ? "img" : null;
|
|
@@ -5,6 +5,6 @@ export type IconName = KebabCaseIcons | CamelCaseIcons;
|
|
|
5
5
|
|
|
6
6
|
export type CamelCaseIcons = ExtractBaseIcon<keyof typeof icons>;
|
|
7
7
|
|
|
8
|
-
export type KebabCaseIcons = KebabCase<CamelCaseIcons>;
|
|
8
|
+
export type KebabCaseIcons = KebabCase<CamelCaseIcons, { splitOnNumbers: true; }>;
|
|
9
9
|
|
|
10
10
|
export type ExtractBaseIcon<T> = T extends `${infer Base}${"16" | "24" | "32"}F` ? `${Base}F` : T extends `${infer Base}F` ? `${Base}F` : T extends `${infer Base}${"16" | "24" | "32"}` ? Base : never;
|
|
@@ -13,7 +13,7 @@ import type { Scale } from "../interfaces.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export abstract class InlineEditable extends LitElement {
|
|
15
15
|
/** Specifies a callback to be executed prior to disabling editing via the controls. When provided, the component's loading state will be handled automatically. */
|
|
16
|
-
accessor afterConfirm: () => Promise<void
|
|
16
|
+
accessor afterConfirm: (() => Promise<void>) | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* When `true` and `editingEnabled` is `true`, displays save and cancel controls.
|
|
19
19
|
*
|
|
@@ -40,9 +40,9 @@ export abstract class InlineEditable extends LitElement {
|
|
|
40
40
|
accessor loading: boolean;
|
|
41
41
|
/** Overrides individual strings used by the component. */
|
|
42
42
|
accessor messageOverrides: {
|
|
43
|
-
enableEditing?: string;
|
|
44
|
-
cancelEditing?: string;
|
|
45
|
-
confirmChanges?: string;
|
|
43
|
+
enableEditing?: string | undefined;
|
|
44
|
+
cancelEditing?: string | undefined;
|
|
45
|
+
confirmChanges?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Specifies the size of the component.
|
|
@@ -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,19 +100,22 @@ 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: {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
cancelInlineEditing?: string | undefined;
|
|
114
|
+
clear?: string | undefined;
|
|
115
|
+
confirmInlineEditingChanges?: string | undefined;
|
|
116
|
+
enableInlineEditing?: string | undefined;
|
|
117
|
+
loading?: string | undefined;
|
|
118
|
+
required?: string | undefined;
|
|
120
119
|
};
|
|
121
120
|
/**
|
|
122
121
|
* When the component resides in a form,
|
|
@@ -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
|
*
|