@esri/calcite-components 5.2.0-next.6 → 5.2.0-next.60
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/23T3Y3GE.js +2 -0
- package/dist/cdn/27YYIR6K.js +2 -0
- package/dist/cdn/2ARHNZAY.js +2 -0
- package/dist/cdn/2J4XUWYO.js +2 -0
- package/dist/cdn/2LGV2LIH.js +2 -0
- package/dist/cdn/2T3YF4F5.js +2 -0
- package/dist/cdn/2YMRGSC2.js +2 -0
- package/dist/cdn/{JTUQOIII.js → 34KZEKP6.js} +1 -1
- package/dist/cdn/36CTZGVO.js +2 -0
- package/dist/cdn/3GFZCW2S.js +2 -0
- package/dist/cdn/3IN37UDC.js +2 -0
- package/dist/cdn/3NO7PELQ.js +2 -0
- package/dist/cdn/3QHHINS4.js +2 -0
- package/dist/cdn/{WYO3R6BR.js → 42URAKLO.js} +1 -1
- package/dist/cdn/475RERZF.js +2 -0
- package/dist/cdn/4PLXA7BH.js +2 -0
- package/dist/cdn/4PQZTDQS.js +2 -0
- package/dist/cdn/4XWM4DFD.js +2 -0
- package/dist/cdn/4Y4M7ARD.js +2 -0
- package/dist/cdn/4ZPZCAFM.js +2 -0
- package/dist/cdn/5EBGPCB7.js +2 -0
- package/dist/cdn/5I7G6JLY.js +2 -0
- package/dist/cdn/5J66CX7P.js +2 -0
- package/dist/cdn/5TCFZJXA.js +2 -0
- package/dist/cdn/6EXKM2ML.js +2 -0
- package/dist/cdn/6GIAYW5Y.js +2 -0
- package/dist/cdn/{HELW7C5O.js → 6JKGSMCW.js} +1 -1
- package/dist/cdn/6KHTU4WL.js +4 -0
- package/dist/cdn/6MKIZYKA.js +2 -0
- package/dist/cdn/6PUJMHS6.js +2 -0
- package/dist/cdn/6XXNQZL3.js +2 -0
- package/dist/cdn/{UGLRJ7LC.js → 73DCL4EG.js} +1 -1
- package/dist/cdn/{L22NWLBO.js → 7B3O2EE3.js} +1 -1
- package/dist/cdn/7KM6PEAO.js +2 -0
- package/dist/cdn/A6LKKOEC.js +2 -0
- package/dist/cdn/ACHOOOAZ.js +2 -0
- package/dist/cdn/AQM2QT52.js +2 -0
- package/dist/cdn/B5YC7TWO.js +2 -0
- package/dist/cdn/B7MWEAQW.js +2 -0
- package/dist/cdn/BBYH4VYJ.js +20 -0
- package/dist/cdn/BEE5ZZFY.js +2 -0
- package/dist/cdn/BNEP76EX.js +2 -0
- package/dist/cdn/BYK32J57.js +2 -0
- package/dist/cdn/{Z2RDFJ3O.js → CA7N26MN.js} +1 -1
- package/dist/cdn/COOXR4KA.js +2 -0
- package/dist/cdn/CU7WIQWZ.js +2 -0
- package/dist/cdn/{STVS4SFC.js → CUQN2MHW.js} +1 -1
- package/dist/cdn/{6SWGOABM.js → CUQRFILK.js} +1 -1
- package/dist/cdn/CVTNS4ZW.js +2 -0
- package/dist/cdn/D4HCATE5.js +2 -0
- package/dist/cdn/DHYGUT4H.js +2 -0
- package/dist/cdn/DKJI4BME.js +2 -0
- package/dist/cdn/DKLOOOBU.js +2 -0
- package/dist/cdn/DM7VOJLG.js +2 -0
- package/dist/cdn/DMK27J6W.js +2 -0
- package/dist/cdn/{3KPPK6JG.js → DWYPBWH7.js} +1 -1
- package/dist/cdn/EFRZQV4R.js +2 -0
- package/dist/cdn/F3NWTLHV.js +2 -0
- package/dist/cdn/F5H4HXRA.js +2 -0
- package/dist/cdn/F6HWYMLX.js +2 -0
- package/dist/cdn/FASMUSKO.js +2 -0
- package/dist/cdn/FD6VNHL5.js +2 -0
- package/dist/cdn/FJFIDF5X.js +2 -0
- package/dist/cdn/FKLTSNHW.js +2 -0
- package/dist/cdn/FLYZR7QZ.js +2 -0
- package/dist/cdn/{RZKOBNPA.js → FMZ7VG53.js} +1 -1
- package/dist/cdn/FWMG52AT.js +2 -0
- package/dist/cdn/G4LVXPLG.js +2 -0
- package/dist/cdn/GGIMBRK5.js +2 -0
- package/dist/cdn/GH3XYO4N.js +2 -0
- package/dist/cdn/GQ4X2OQC.js +2 -0
- package/dist/cdn/H6OMFL4C.js +2 -0
- package/dist/cdn/HFQIDIEB.js +2 -0
- package/dist/cdn/HTH5EB4X.js +2 -0
- package/dist/cdn/{3VB4KSXM.js → HXXSSS5Y.js} +1 -1
- package/dist/cdn/I54WYWFN.js +2 -0
- package/dist/cdn/IOP2EC5Y.js +2 -0
- package/dist/cdn/IPNE6GDG.js +2 -0
- package/dist/cdn/IUYFTZHO.js +2 -0
- package/dist/cdn/{ISVN563X.js → J3MBWPYJ.js} +1 -1
- package/dist/cdn/J65IBMKU.js +2 -0
- package/dist/cdn/J7EXMBEP.js +2 -0
- package/dist/cdn/JQDPL76A.js +2 -0
- package/dist/cdn/{RWYSLJFS.js → JU5FEMV5.js} +1 -1
- package/dist/cdn/K3KC5TPO.js +2 -0
- package/dist/cdn/KAOEUJGH.js +2 -0
- package/dist/cdn/KOR4DYKT.js +2 -0
- package/dist/cdn/KQ64XM4H.js +2 -0
- package/dist/cdn/{O63QYVPR.js → KSWOOKHU.js} +1 -1
- package/dist/cdn/KYZ65ICN.js +2 -0
- package/dist/cdn/L47MJPUD.js +2 -0
- package/dist/cdn/{CKF3HEXO.js → LGSKYEBT.js} +1 -1
- package/dist/cdn/{OFWHQQ3T.js → LO2P3XQL.js} +1 -1
- package/dist/cdn/LUB3SEVD.js +2 -0
- package/dist/cdn/M2UESRI2.js +2 -0
- package/dist/cdn/{NKMMLWMY.js → M65UUX2N.js} +1 -1
- package/dist/cdn/MFM5H6QD.js +2 -0
- package/dist/cdn/MH2UJM2V.js +2 -0
- package/dist/cdn/MRXU2NCN.js +2 -0
- package/dist/cdn/NL25RJTH.js +2 -0
- package/dist/cdn/NQREOOD2.js +2 -0
- package/dist/cdn/NSQP35ZL.js +2 -0
- package/dist/cdn/NXWKWQ5V.js +2 -0
- package/dist/cdn/{2VQ4SQ6E.js → O3AFQFUF.js} +1 -1
- package/dist/cdn/O4YJ665R.js +2 -0
- package/dist/cdn/O6ITH3QQ.js +2 -0
- package/dist/cdn/{T6FWGIF5.js → OSKBKN3N.js} +1 -1
- package/dist/cdn/PAL5PWBK.js +2 -0
- package/dist/cdn/PM5LDKID.js +2 -0
- package/dist/cdn/PMLCHLIE.js +2 -0
- package/dist/cdn/PMPJTYON.js +2 -0
- package/dist/cdn/PMT6RP6F.js +2 -0
- package/dist/cdn/PXDYPEJ6.js +2 -0
- package/dist/cdn/QG52PKXR.js +2 -0
- package/dist/cdn/QNRP4GC4.js +2 -0
- package/dist/cdn/QUCBI2DK.js +2 -0
- package/dist/cdn/{Z3MFTUAY.js → R44SMF4M.js} +1 -1
- package/dist/cdn/{WHJTD6F6.js → RBEBWODD.js} +1 -1
- package/dist/cdn/RCVILOGX.js +2 -0
- package/dist/cdn/{XJAWMEAX.js → RNZ5MJMR.js} +1 -1
- package/dist/cdn/SRIC7E4A.js +2 -0
- package/dist/cdn/SX4QOMV2.js +2 -0
- package/dist/cdn/{I5C2XC5I.js → TFGN3C6X.js} +1 -1
- package/dist/cdn/{L4DOJVLT.js → TIIHP3SW.js} +1 -1
- package/dist/cdn/UH3VBILU.js +2 -0
- package/dist/cdn/UHHRJXZZ.js +2 -0
- package/dist/cdn/UKHGKDAO.js +2 -0
- package/dist/cdn/{Y4OMJTVI.js → UQFOOWZT.js} +1 -1
- package/dist/cdn/UR3BQTVO.js +3 -0
- package/dist/cdn/UZEOHREL.js +2 -0
- package/dist/cdn/VDIG2VCX.js +2 -0
- package/dist/cdn/{QBOTNUZA.js → VG5XUVDY.js} +1 -1
- package/dist/cdn/{LZMQVYXJ.js → VHTIGB7T.js} +1 -1
- package/dist/cdn/{YHD7HKDX.js → VOCKM3G2.js} +1 -1
- package/dist/cdn/VXPP5IWU.js +2 -0
- package/dist/cdn/W24BZ255.js +2 -0
- package/dist/cdn/W257N36J.js +2 -0
- package/dist/cdn/WJNSGWHI.js +2 -0
- package/dist/cdn/WUMVVIVR.js +2 -0
- package/dist/cdn/WX3MK3S3.js +2 -0
- package/dist/cdn/{KCNDBMLL.js → WXRBIN4T.js} +1 -1
- package/dist/cdn/X2DWU333.js +4 -0
- package/dist/cdn/XCOABOUF.js +2 -0
- package/dist/cdn/XE2PPWZF.js +2 -0
- package/dist/cdn/{JE7COWZ4.js → XG7NZDFJ.js} +1 -1
- package/dist/cdn/XNYOZULC.js +2 -0
- package/dist/cdn/XRLXZHMJ.js +2 -0
- package/dist/cdn/XU27LX4X.js +2 -0
- package/dist/cdn/XURLGFDG.js +2 -0
- package/dist/cdn/YBG5325Y.js +2 -0
- package/dist/cdn/YJPIZ6DX.js +2 -0
- package/dist/cdn/YWJF7JUY.js +2 -0
- package/dist/cdn/Z3JNHLOQ.js +2 -0
- package/dist/cdn/{AJYPMLTJ.js → ZLRHMY5Z.js} +1 -1
- package/dist/cdn/{EOLQCEAO.js → ZOJHKEKI.js} +1 -1
- package/dist/cdn/ZPSUPHPX.js +2 -0
- package/dist/cdn/ZPVFMZUH.js +2 -0
- package/dist/cdn/ZRWKMT3E.js +2 -0
- package/dist/cdn/ZSBHMYFT.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/deleteAndReplaceFeatures16.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry16.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry24.json +1 -0
- package/dist/cdn/assets/icon/explodeGeometry32.json +1 -0
- package/dist/cdn/assets/icon/integration16.json +1 -0
- package/dist/cdn/assets/icon/integration24.json +1 -0
- package/dist/cdn/assets/icon/integration32.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration16.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration24.json +1 -0
- package/dist/cdn/assets/icon/loadConfiguration32.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate16.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate32.json +1 -0
- package/dist/cdn/assets/icon/publish32.json +1 -1
- package/dist/cdn/assets/icon/radarChart16.json +1 -0
- package/dist/cdn/assets/icon/radarChart24.json +1 -0
- package/dist/cdn/assets/icon/radarChart32.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog16.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog24.json +1 -0
- package/dist/cdn/assets/icon/spatiotemporalCatalog32.json +1 -0
- package/dist/cdn/assets/icon/treeMap16.json +1 -0
- package/dist/cdn/assets/icon/treeMap24.json +1 -0
- package/dist/cdn/assets/icon/treeMap32.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/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.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.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.ar.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.el.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.es.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-date-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-date-picker/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.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.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.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.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.ar.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.el.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.es.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.de.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ExpandToggle.js +12 -46
- package/dist/chunks/date.js +9 -6
- package/dist/chunks/dom.js +28 -360
- package/dist/chunks/floating-ui.js +25 -15
- package/dist/chunks/label.js +1 -140
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/manager.js +8 -7
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +0 -1
- package/dist/chunks/resources12.js +29 -16
- package/dist/chunks/resources13.js +27 -0
- package/dist/chunks/resources14.js +39 -0
- package/dist/chunks/resources2.js +10 -14
- package/dist/chunks/resources3.js +17 -9
- package/dist/chunks/resources5.js +2 -0
- package/dist/chunks/resources8.js +4 -0
- package/dist/chunks/responsive.js +3 -2
- package/dist/chunks/runtime.js +55 -8
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/useForm.js +8 -6
- package/dist/chunks/useInlineEditable.js +53 -0
- package/dist/chunks/useLabel.js +150 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useSortable.js +34 -4
- package/dist/chunks/useTime.js +25 -24
- package/dist/chunks/utils.js +4 -4
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +3 -3
- package/dist/components/calcite-accordion/customElement.d.ts +6 -7
- package/dist/components/calcite-accordion-item/customElement.d.ts +10 -5
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-action/customElement.d.ts +11 -6
- package/dist/components/calcite-action/customElement.js +28 -12
- package/dist/components/calcite-action-bar/customElement.d.ts +41 -14
- package/dist/components/calcite-action-bar/customElement.js +430 -79
- package/dist/components/calcite-action-group/customElement.d.ts +25 -15
- package/dist/components/calcite-action-group/customElement.js +61 -51
- package/dist/components/calcite-action-menu/customElement.d.ts +15 -5
- package/dist/components/calcite-action-menu/customElement.js +80 -38
- package/dist/components/calcite-action-pad/customElement.d.ts +13 -9
- package/dist/components/calcite-action-pad/customElement.js +4 -5
- package/dist/components/calcite-alert/customElement.d.ts +9 -5
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +14 -10
- package/dist/components/calcite-autocomplete/customElement.js +43 -29
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.js +10 -5
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +7 -0
- package/dist/components/calcite-autocomplete-item-group/customElement.js +23 -3
- package/dist/components/calcite-avatar/customElement.d.ts +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +26 -10
- package/dist/components/calcite-block/customElement.js +29 -7
- package/dist/components/calcite-block/index.js +1 -0
- package/dist/components/calcite-block/types.d.ts +1 -0
- package/dist/components/calcite-block-group/customElement.d.ts +16 -4
- package/dist/components/calcite-block-group/customElement.js +40 -3
- package/dist/components/calcite-block-section/customElement.d.ts +14 -10
- package/dist/components/calcite-block-section/customElement.js +3 -4
- package/dist/components/calcite-button/customElement.d.ts +14 -6
- package/dist/components/calcite-button/customElement.js +6 -6
- package/dist/components/calcite-card/customElement.d.ts +8 -4
- package/dist/components/calcite-card/customElement.js +0 -11
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.js +28 -19
- package/dist/components/calcite-carousel/customElement.d.ts +13 -9
- package/dist/components/calcite-carousel/customElement.js +3 -3
- package/dist/components/calcite-checkbox/customElement.d.ts +12 -4
- package/dist/components/calcite-checkbox/customElement.js +4 -10
- package/dist/components/calcite-chip/customElement.d.ts +9 -5
- package/dist/components/calcite-chip/customElement.js +6 -13
- package/dist/components/calcite-chip-group/customElement.d.ts +6 -9
- package/dist/components/calcite-chip-group/customElement.js +22 -19
- package/dist/components/calcite-color-picker/customElement.d.ts +28 -24
- package/dist/components/calcite-color-picker/customElement.js +13 -9
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- 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 +40 -37
- package/dist/components/calcite-combobox/customElement.js +21 -21
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
- package/dist/components/calcite-combobox-item/customElement.js +3 -3
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +21 -17
- package/dist/components/calcite-date-picker/customElement.js +48 -26
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -5
- package/dist/components/calcite-date-picker-month/customElement.js +19 -14
- package/dist/components/calcite-date-picker-month-header/customElement.js +16 -11
- package/dist/components/calcite-dialog/customElement.d.ts +32 -26
- package/dist/components/calcite-dialog/customElement.js +10 -10
- package/dist/components/calcite-dropdown/customElement.d.ts +7 -7
- package/dist/components/calcite-dropdown/customElement.js +50 -11
- package/dist/components/calcite-dropdown-group/customElement.d.ts +6 -8
- package/dist/components/calcite-dropdown-group/customElement.js +44 -2
- package/dist/components/calcite-dropdown-item/customElement.d.ts +9 -9
- package/dist/components/calcite-dropdown-item/customElement.js +4 -4
- package/dist/components/calcite-fab/customElement.d.ts +2 -2
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +8 -4
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/types/index.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +20 -14
- package/dist/components/calcite-flow-item/customElement.js +11 -8
- package/dist/components/calcite-focus-trap/customElement.d.ts +6 -6
- package/dist/components/calcite-graph/customElement.d.ts +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.d.ts +13 -9
- package/dist/components/calcite-handle/customElement.js +3 -4
- package/dist/components/calcite-icon/customElement.d.ts +3 -3
- package/dist/components/calcite-icon/customElement.js +3 -5
- package/dist/components/calcite-icon/types.d.ts +16 -0
- package/dist/components/calcite-inline-editable/customElement.d.ts +19 -11
- package/dist/components/calcite-inline-editable/customElement.js +30 -18
- package/dist/components/calcite-inline-editable/index.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +45 -10
- package/dist/components/calcite-input/customElement.js +98 -15
- package/dist/components/calcite-input-date-picker/customElement.d.ts +40 -13
- package/dist/components/calcite-input-date-picker/customElement.js +102 -41
- package/dist/components/calcite-input-date-picker/index.js +1 -0
- package/dist/components/calcite-input-message/customElement.d.ts +2 -2
- package/dist/components/calcite-input-message/customElement.js +6 -8
- package/dist/components/calcite-input-number/customElement.d.ts +49 -12
- package/dist/components/calcite-input-number/customElement.js +88 -12
- package/dist/components/calcite-input-text/customElement.d.ts +45 -10
- package/dist/components/calcite-input-text/customElement.js +84 -16
- package/dist/components/calcite-input-time-picker/customElement.d.ts +49 -28
- package/dist/components/calcite-input-time-picker/customElement.js +22 -16
- package/dist/components/calcite-input-time-picker/index.js +1 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +636 -619
- package/dist/components/calcite-input-time-zone/customElement.js +7 -14
- package/dist/components/calcite-label/customElement.d.ts +5 -3
- package/dist/components/calcite-label/customElement.js +2 -2
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +27 -32
- package/dist/components/calcite-list/customElement.js +3 -3
- package/dist/components/calcite-list-item/customElement.d.ts +10 -6
- package/dist/components/calcite-list-item/customElement.js +3 -4
- package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +3 -3
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +13 -2
- package/dist/components/calcite-menu/customElement.js +53 -33
- package/dist/components/calcite-menu-item/customElement.d.ts +15 -5
- package/dist/components/calcite-menu-item/customElement.js +18 -63
- package/dist/components/calcite-meter/customElement.d.ts +9 -6
- package/dist/components/calcite-meter/customElement.js +10 -10
- package/dist/components/calcite-navigation/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation/customElement.js +9 -0
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -10
- package/dist/components/calcite-navigation-logo/customElement.js +3 -2
- package/dist/components/calcite-navigation-user/customElement.d.ts +5 -5
- package/dist/components/calcite-navigation-user/customElement.js +2 -1
- package/dist/components/calcite-notice/customElement.d.ts +12 -6
- package/dist/components/calcite-notice/customElement.js +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 +10 -6
- package/dist/components/calcite-pagination/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.d.ts +16 -10
- package/dist/components/calcite-panel/customElement.js +64 -13
- package/dist/components/calcite-popover/customElement.d.ts +16 -12
- package/dist/components/calcite-radio-button/customElement.d.ts +6 -2
- package/dist/components/calcite-radio-button/customElement.js +5 -4
- package/dist/components/calcite-radio-button-group/customElement.d.ts +11 -5
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +15 -7
- package/dist/components/calcite-rating/customElement.js +5 -11
- package/dist/components/calcite-scrim/customElement.d.ts +6 -2
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +22 -11
- package/dist/components/calcite-segmented-control/customElement.js +6 -12
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +3 -3
- package/dist/components/calcite-select/customElement.d.ts +21 -11
- package/dist/components/calcite-select/customElement.js +5 -5
- package/dist/components/calcite-sheet/customElement.d.ts +25 -15
- package/dist/components/calcite-sheet/customElement.js +25 -28
- package/dist/components/calcite-shell/customElement.d.ts +2 -0
- package/dist/components/calcite-shell/customElement.js +137 -21
- package/dist/components/calcite-shell-panel/customElement.d.ts +29 -18
- package/dist/components/calcite-shell-panel/customElement.js +162 -35
- package/dist/components/calcite-slider/customElement.d.ts +13 -7
- package/dist/components/calcite-slider/customElement.js +14 -10
- package/dist/components/calcite-sort-handle/customElement.d.ts +24 -20
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +3 -3
- package/dist/components/calcite-sortable-list/customElement.js +5 -6
- package/dist/components/calcite-split-button/customElement.d.ts +9 -7
- package/dist/components/calcite-split-button/customElement.js +2 -2
- package/dist/components/calcite-stepper/customElement.d.ts +10 -6
- package/dist/components/calcite-stepper/customElement.js +20 -12
- package/dist/components/calcite-stepper-item/customElement.d.ts +8 -4
- package/dist/components/calcite-stepper-item/customElement.js +6 -22
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +5 -44
- package/dist/components/calcite-swatch-group/customElement.d.ts +6 -9
- package/dist/components/calcite-swatch-group/customElement.js +31 -22
- package/dist/components/calcite-switch/customElement.d.ts +19 -2
- package/dist/components/calcite-switch/customElement.js +6 -11
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +8 -4
- package/dist/components/calcite-tab-nav/customElement.js +66 -28
- package/dist/components/calcite-tab-title/customElement.d.ts +9 -5
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.d.ts +22 -14
- package/dist/components/calcite-table/customElement.js +80 -5
- package/dist/components/calcite-table-cell/customElement.d.ts +16 -11
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +12 -8
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.d.ts +6 -5
- package/dist/components/calcite-table-row/customElement.js +26 -15
- package/dist/components/calcite-tabs/customElement.d.ts +8 -2
- package/dist/components/calcite-tabs/customElement.js +14 -8
- package/dist/components/calcite-text-area/customElement.d.ts +15 -9
- package/dist/components/calcite-text-area/customElement.js +25 -24
- package/dist/components/calcite-tile/customElement.d.ts +3 -3
- package/dist/components/calcite-tile/customElement.js +6 -20
- package/dist/components/calcite-tile-group/customElement.d.ts +10 -10
- package/dist/components/calcite-tile-group/customElement.js +31 -23
- package/dist/components/calcite-time-picker/customElement.d.ts +25 -21
- package/dist/components/calcite-time-picker/customElement.js +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +5 -5
- package/dist/components/calcite-tree/customElement.d.ts +10 -16
- package/dist/components/calcite-tree/customElement.js +17 -8
- package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
- package/dist/components/calcite-tree-item/customElement.js +2 -2
- package/dist/controllers/useTime.d.ts +4 -4
- 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 +26 -26
- package/dist/types/lumina.d.ts +28 -17
- package/dist/types/preact.d.ts +28 -17
- package/dist/types/react.d.ts +28 -17
- package/dist/types/stencil.d.ts +30 -19
- package/dist/utils/date.d.ts +2 -2
- package/package.json +15 -14
- package/dist/cdn/25HEUF62.js +0 -2
- package/dist/cdn/27TMS7TL.js +0 -2
- package/dist/cdn/2D5TGEGM.js +0 -2
- package/dist/cdn/2HYBPCP5.js +0 -2
- package/dist/cdn/2MVXV2MI.js +0 -2
- package/dist/cdn/3IIMBPGI.js +0 -2
- package/dist/cdn/4FFUO6AL.js +0 -2
- package/dist/cdn/4STE75YI.js +0 -2
- package/dist/cdn/524GQTNG.js +0 -2
- package/dist/cdn/55ECBMKY.js +0 -2
- package/dist/cdn/5BGGNWJQ.js +0 -2
- package/dist/cdn/5OJ3Q4SI.js +0 -2
- package/dist/cdn/5SJ7DUTY.js +0 -2
- package/dist/cdn/5TUWUQHN.js +0 -3
- package/dist/cdn/6JPWON4E.js +0 -2
- package/dist/cdn/6QSTWKNM.js +0 -2
- package/dist/cdn/6SJW5IBJ.js +0 -2
- package/dist/cdn/6UNW5QUY.js +0 -2
- package/dist/cdn/6XR57LJ6.js +0 -2
- package/dist/cdn/75TN3ELK.js +0 -2
- package/dist/cdn/7HV3O3DF.js +0 -2
- package/dist/cdn/7KYHXTZ7.js +0 -2
- package/dist/cdn/7QATBQUC.js +0 -2
- package/dist/cdn/7WN6WR2B.js +0 -2
- package/dist/cdn/AGH5I4NC.js +0 -2
- package/dist/cdn/AQJNAUQZ.js +0 -2
- package/dist/cdn/AXRVR7RO.js +0 -2
- package/dist/cdn/BDIWM5DD.js +0 -2
- package/dist/cdn/BJOJINNV.js +0 -2
- package/dist/cdn/BLWTCPBG.js +0 -2
- package/dist/cdn/BRRREDR5.js +0 -2
- package/dist/cdn/C2SFDYFY.js +0 -4
- package/dist/cdn/CA2SBV2Y.js +0 -2
- package/dist/cdn/CL5AZEAL.js +0 -2
- package/dist/cdn/DAE6OWX6.js +0 -2
- package/dist/cdn/DIIBT6ES.js +0 -2
- package/dist/cdn/DQBHDK7Y.js +0 -2
- package/dist/cdn/DXYF2XAM.js +0 -2
- package/dist/cdn/EDSYBZIF.js +0 -2
- package/dist/cdn/EKQRORSO.js +0 -2
- package/dist/cdn/ESHAWAWL.js +0 -2
- package/dist/cdn/ET7FYLD3.js +0 -2
- package/dist/cdn/F5S74A6J.js +0 -2
- package/dist/cdn/FEIOKH52.js +0 -2
- package/dist/cdn/FF3BNERI.js +0 -2
- package/dist/cdn/FU52LD3F.js +0 -2
- package/dist/cdn/G2XUNH4V.js +0 -2
- package/dist/cdn/G3Y3LVCH.js +0 -2
- package/dist/cdn/GH2UFRFZ.js +0 -2
- package/dist/cdn/GQHRGQXT.js +0 -2
- package/dist/cdn/GYJEWH7E.js +0 -2
- package/dist/cdn/H4DY4JG2.js +0 -2
- package/dist/cdn/H5PHSNTL.js +0 -2
- package/dist/cdn/H6QON2TD.js +0 -2
- package/dist/cdn/HI4AC5NT.js +0 -2
- package/dist/cdn/HKIP6O5B.js +0 -2
- package/dist/cdn/HRLK2RSF.js +0 -2
- package/dist/cdn/HYS3KXOM.js +0 -2
- package/dist/cdn/IMZBK4NI.js +0 -2
- package/dist/cdn/IQFKCBYR.js +0 -2
- package/dist/cdn/J5H2LW3F.js +0 -2
- package/dist/cdn/JJQGOFEM.js +0 -2
- package/dist/cdn/JPSCTBEO.js +0 -2
- package/dist/cdn/KHGZVW5S.js +0 -2
- package/dist/cdn/KHVMN3I6.js +0 -4
- package/dist/cdn/KNOX6XCS.js +0 -2
- package/dist/cdn/KWIJFLPJ.js +0 -2
- package/dist/cdn/KZ3ACECQ.js +0 -2
- package/dist/cdn/L77XFD22.js +0 -2
- package/dist/cdn/LB3LM7KW.js +0 -2
- package/dist/cdn/LF3SYGBF.js +0 -2
- package/dist/cdn/LFL2NOMX.js +0 -2
- package/dist/cdn/LII6G3V3.js +0 -2
- package/dist/cdn/LKEGNPWV.js +0 -2
- package/dist/cdn/LMPBTORD.js +0 -2
- package/dist/cdn/LQJYSCJD.js +0 -2
- package/dist/cdn/M2KR7ZH5.js +0 -2
- package/dist/cdn/MEMDH5M4.js +0 -2
- package/dist/cdn/MKFZEFQ6.js +0 -2
- package/dist/cdn/MOSQZFYT.js +0 -2
- package/dist/cdn/MS7U4EKG.js +0 -2
- package/dist/cdn/N3D6FMEH.js +0 -2
- package/dist/cdn/NTJQBE2P.js +0 -2
- package/dist/cdn/NVF4K6HP.js +0 -2
- package/dist/cdn/OQ4ME7QP.js +0 -2
- package/dist/cdn/P2BT5ISA.js +0 -2
- package/dist/cdn/PKFY2P43.js +0 -2
- package/dist/cdn/PQ7DCUPL.js +0 -2
- package/dist/cdn/PZXDAKVC.js +0 -2
- package/dist/cdn/Q6HQOCPI.js +0 -2
- package/dist/cdn/QB2FASAQ.js +0 -2
- package/dist/cdn/QM74WXQL.js +0 -2
- package/dist/cdn/QSYX3KO4.js +0 -2
- package/dist/cdn/QVYX2WRU.js +0 -2
- package/dist/cdn/QXDIQQGO.js +0 -2
- package/dist/cdn/RFXCFK6K.js +0 -2
- package/dist/cdn/RUVRJVVT.js +0 -2
- package/dist/cdn/RWITZVQC.js +0 -2
- package/dist/cdn/RYOYQ7JI.js +0 -2
- package/dist/cdn/SA35OSIJ.js +0 -2
- package/dist/cdn/SOLIHAFU.js +0 -2
- package/dist/cdn/SRKLCLO7.js +0 -2
- package/dist/cdn/SUMMJWW7.js +0 -2
- package/dist/cdn/TD3YG3I3.js +0 -2
- package/dist/cdn/TMENZ2VZ.js +0 -2
- package/dist/cdn/U2RL2HER.js +0 -2
- package/dist/cdn/U32ZDPXB.js +0 -2
- package/dist/cdn/U34FLFGP.js +0 -2
- package/dist/cdn/UWAER5W3.js +0 -2
- package/dist/cdn/VCM2ZHPT.js +0 -2
- package/dist/cdn/VCQ5M2XF.js +0 -2
- package/dist/cdn/VTB66B24.js +0 -2
- package/dist/cdn/VV7SRS22.js +0 -20
- package/dist/cdn/VYBYSRSC.js +0 -2
- package/dist/cdn/WBIPNNGL.js +0 -2
- package/dist/cdn/XGSEBUKD.js +0 -2
- package/dist/cdn/XVHDY6QN.js +0 -2
- package/dist/cdn/Y47AW44L.js +0 -2
- package/dist/cdn/Y5DQ7II6.js +0 -2
- package/dist/cdn/Z57BICST.js +0 -2
- package/dist/cdn/ZMJFSBIG.js +0 -2
- package/dist/cdn/ZO734Y5U.js +0 -2
- package/dist/cdn/ZW25BB34.js +0 -2
- package/dist/cdn/ZYLB2RT3.js +0 -2
- package/dist/chunks/core.js +0 -11
- package/dist/chunks/global.js +0 -23
- package/dist/chunks/logger.js +0 -50
- package/dist/components/calcite-icon/interfaces.d.ts +0 -10
- /package/dist/cdn/{WXZMRXAK.js → 5IJ25RMA.js} +0 -0
- /package/dist/cdn/{2OKTIK5P.js → 7L4EZFYG.js} +0 -0
- /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as customElement } from "../../chunks/runtime.js";
|
|
2
|
+
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed } from "lit/directives/keyed.js";
|
|
4
4
|
import { ref } from "lit/directives/ref.js";
|
|
5
5
|
import { css, html, nothing } from "lit";
|
|
@@ -10,13 +10,12 @@ import { g as getIconScale } from "../../chunks/component.js";
|
|
|
10
10
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
11
11
|
import { b as defaultEndMenuPlacement } from "../../chunks/floating-ui.js";
|
|
12
12
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
13
|
-
import { l as logger } from "../../chunks/logger.js";
|
|
14
13
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
15
14
|
import { s as styles$2 } from "../../chunks/sortable.js";
|
|
16
15
|
import { s as styles$1 } from "../../chunks/header.js";
|
|
17
16
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
18
17
|
import { C as CSS, I as ICONS, S as SLOTS, a as IDS } from "../../chunks/resources5.js";
|
|
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;
|
|
18
|
+
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;transition:opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.has-slotted-content{padding-block:var(--calcite-internal-block-padding-block);padding-inline:var(--calcite-internal-block-padding-inline)}.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}slot[name=children]::slotted(calcite-block){border-block-end-width:0}`;
|
|
20
19
|
class Block extends LitElement {
|
|
21
20
|
constructor() {
|
|
22
21
|
super(...arguments);
|
|
@@ -29,6 +28,7 @@ class Block extends LitElement {
|
|
|
29
28
|
this.hasContentStart = false;
|
|
30
29
|
this.hasEndActions = false;
|
|
31
30
|
this.hasMenuActions = false;
|
|
31
|
+
this.hasContent = false;
|
|
32
32
|
this.collapsible = false;
|
|
33
33
|
this.disabled = false;
|
|
34
34
|
this.dragDisabled = false;
|
|
@@ -42,6 +42,7 @@ class Block extends LitElement {
|
|
|
42
42
|
this.overlayPositioning = "absolute";
|
|
43
43
|
this.scale = "m";
|
|
44
44
|
this.sortHandleOpen = false;
|
|
45
|
+
this.toggleDisplay = "button";
|
|
45
46
|
this.topLayerDisabled = false;
|
|
46
47
|
this.calciteBlockBeforeClose = createEvent({ cancelable: false });
|
|
47
48
|
this.calciteBlockBeforeOpen = createEvent({ cancelable: false });
|
|
@@ -55,9 +56,12 @@ class Block extends LitElement {
|
|
|
55
56
|
this.calciteBlockSortHandleOpen = createEvent({ cancelable: false });
|
|
56
57
|
this.calciteBlockToggle = createEvent({ cancelable: false });
|
|
57
58
|
this.calciteInternalBlockUpdateSortMenuItems = createEvent({ cancelable: false });
|
|
59
|
+
this.calciteInternalBlockChange = createEvent({
|
|
60
|
+
cancelable: false
|
|
61
|
+
});
|
|
58
62
|
}
|
|
59
63
|
static {
|
|
60
|
-
this.properties = { hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasMenuActions: [16, {}, { state: true }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], dragDisabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], iconEnd: [3, {
|
|
64
|
+
this.properties = { hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasMenuActions: [16, {}, { state: true }], hasContent: [16, {}, { state: true }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], dragDisabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], loading: [7, {}, { reflect: true, type: Boolean }], label: 1, menuFlipPlacements: [0, {}, { attribute: false }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], addToItems: [0, {}, { attribute: false }], moveToItems: [0, {}, { attribute: false }], sortDisabled: [5, {}, { type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], setPosition: [9, {}, { type: Number }], setSize: [9, {}, { type: Number }], sortHandleOpen: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], toggleDisplay: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
61
65
|
}
|
|
62
66
|
static {
|
|
63
67
|
this.styles = [styles$1, styles, styles$2];
|
|
@@ -80,6 +84,7 @@ class Block extends LitElement {
|
|
|
80
84
|
connectedCallback() {
|
|
81
85
|
super.connectedCallback();
|
|
82
86
|
this.transitionEl = this.el;
|
|
87
|
+
this.setParentBlockGroupElement();
|
|
83
88
|
}
|
|
84
89
|
load() {
|
|
85
90
|
if (!this.heading && !this.label) {
|
|
@@ -103,6 +108,9 @@ class Block extends LitElement {
|
|
|
103
108
|
if (changes.has("scale") && this.hasUpdated) {
|
|
104
109
|
this.updateBlockSectionScale();
|
|
105
110
|
}
|
|
111
|
+
if ((changes.has("moveToItems") || changes.has("addToItems")) && this.hasUpdated) {
|
|
112
|
+
this.setParentBlockGroupElement();
|
|
113
|
+
}
|
|
106
114
|
}
|
|
107
115
|
onBeforeOpen() {
|
|
108
116
|
this.calciteBlockBeforeOpen.emit();
|
|
@@ -145,8 +153,15 @@ class Block extends LitElement {
|
|
|
145
153
|
this.calciteBlockSortHandleOpen.emit();
|
|
146
154
|
}
|
|
147
155
|
onHeaderClick() {
|
|
148
|
-
this.expanded = !this.expanded;
|
|
149
156
|
this.calciteBlockToggle.emit();
|
|
157
|
+
if (this.parentBlockGroupElement) {
|
|
158
|
+
this.calciteInternalBlockChange.emit({
|
|
159
|
+
el: this.el,
|
|
160
|
+
parentElement: this.parentBlockGroupElement
|
|
161
|
+
});
|
|
162
|
+
} else {
|
|
163
|
+
this.expanded = !this.expanded;
|
|
164
|
+
}
|
|
150
165
|
}
|
|
151
166
|
menuActionsSlotChangeHandler(event) {
|
|
152
167
|
this.hasMenuActions = slotChangeHasAssignedElement(event);
|
|
@@ -162,6 +177,7 @@ class Block extends LitElement {
|
|
|
162
177
|
}
|
|
163
178
|
handleDefaultSlotChange(event) {
|
|
164
179
|
this.blockSectionChildren = slotChangeGetAssignedElements(event, "calcite-block-section");
|
|
180
|
+
this.hasContent = slotChangeHasAssignedElement(event);
|
|
165
181
|
this.updateBlockSectionScale();
|
|
166
182
|
}
|
|
167
183
|
updateBlockSectionScale() {
|
|
@@ -169,6 +185,9 @@ class Block extends LitElement {
|
|
|
169
185
|
el.scale = this.scale;
|
|
170
186
|
});
|
|
171
187
|
}
|
|
188
|
+
setParentBlockGroupElement() {
|
|
189
|
+
this.parentBlockGroupElement = this.el.parentElement?.closest("calcite-block-group");
|
|
190
|
+
}
|
|
172
191
|
renderScrim() {
|
|
173
192
|
const { loading } = this;
|
|
174
193
|
const defaultSlot = html`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`;
|
|
@@ -215,10 +234,13 @@ class Block extends LitElement {
|
|
|
215
234
|
[CSS.headerDraggable]: this.dragHandle
|
|
216
235
|
})} id=${IDS.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`;
|
|
217
236
|
const collapseIcon = expanded ? ICONS.expanded : ICONS.collapsed;
|
|
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")}
|
|
237
|
+
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} type=button>${headerContent}<div class=${safeClassMap(CSS.iconEndContainer)}>${this.renderContentEnd()}${this.renderIcon("end")}${this.toggleDisplay === "switch" ? html`<calcite-switch .checked=${expanded} .disabled=${this.disabled} inert .label=${toggleLabel} .scale=${this.scale}></calcite-switch>` : html`<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>`;
|
|
219
238
|
return this.interactiveContainer({ disabled: this.disabled, children: html`<article aria-label=${label ?? nothing} .ariaBusy=${loading} class=${safeClassMap({
|
|
220
239
|
[CSS.container]: true
|
|
221
|
-
})}>${headerNode}<section aria-labelledby=${IDS.toggle} class=${safeClassMap(
|
|
240
|
+
})}>${headerNode}<section aria-labelledby=${IDS.toggle} class=${safeClassMap({
|
|
241
|
+
[CSS.content]: true,
|
|
242
|
+
[CSS.hasSlottedContent]: this.hasContent || loading
|
|
243
|
+
})} .hidden=${!expanded} id=${IDS.content}>${this.renderScrim()}</section><slot .hidden=${!expanded} name=${SLOTS.children}></slot></article>` });
|
|
222
244
|
}
|
|
223
245
|
}
|
|
224
246
|
customElement("calcite-block", Block);
|
|
@@ -2,5 +2,6 @@ import "../calcite-scrim/index.js";
|
|
|
2
2
|
import "../calcite-loader/index.js";
|
|
3
3
|
import "../calcite-icon/index.js";
|
|
4
4
|
import "../calcite-sort-handle/index.js";
|
|
5
|
+
import "../calcite-switch/index.js";
|
|
5
6
|
import "../calcite-action-menu/index.js";
|
|
6
7
|
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BlockToggleDisplay = "button" | "switch";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
4
|
-
import type { BlockDragDetail } from "./
|
|
3
|
+
import type { Scale, SelectionMode } from "../types.js";
|
|
4
|
+
import type { BlockDragDetail } from "./types.js";
|
|
5
5
|
|
|
6
6
|
/** @slot - A slot for adding `calcite-block` elements. */
|
|
7
7
|
export abstract class BlockGroup extends LitElement {
|
|
8
8
|
/** When provided, the method will be called to determine whether the element can move from the component. */
|
|
9
|
-
accessor canPull: (detail: BlockDragDetail) => boolean | "clone";
|
|
9
|
+
accessor canPull: ((detail: BlockDragDetail) => boolean | "clone") | undefined;
|
|
10
10
|
/** When provided, the method will be called to determine whether the element can be added from another component. */
|
|
11
|
-
accessor canPut: (detail: BlockDragDetail) => boolean;
|
|
11
|
+
accessor canPut: ((detail: BlockDragDetail) => boolean) | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
14
14
|
*
|
|
@@ -21,6 +21,18 @@ export abstract class BlockGroup extends LitElement {
|
|
|
21
21
|
* @default false
|
|
22
22
|
*/
|
|
23
23
|
accessor dragEnabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the selection mode of the component, where:
|
|
26
|
+
*
|
|
27
|
+
* `"multiple"` allows any number of selections,
|
|
28
|
+
*
|
|
29
|
+
* `"single"` allows only one selection, and
|
|
30
|
+
*
|
|
31
|
+
* `"single-persist"` allows one selection and prevents de-selection.
|
|
32
|
+
*
|
|
33
|
+
* @default "multiple"
|
|
34
|
+
*/
|
|
35
|
+
accessor expandMode: Extract<"single" | "single-persist" | "multiple", SelectionMode>;
|
|
24
36
|
/**
|
|
25
37
|
* Specifies the component's group identifier.
|
|
26
38
|
*
|
|
@@ -4,7 +4,7 @@ import { debounce } from "es-toolkit";
|
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
7
|
-
import {
|
|
7
|
+
import { i as getRootNode, a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
8
8
|
import { g as guid } from "../../chunks/guid.js";
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
10
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
@@ -19,7 +19,7 @@ const CSS = {
|
|
|
19
19
|
};
|
|
20
20
|
const blockGroupSelector = "calcite-block-group";
|
|
21
21
|
const blockSelector = "calcite-block";
|
|
22
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
22
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([slot=children]) slot::slotted(calcite-block){border-block-end-width:0}`;
|
|
23
23
|
function updateBlockChildren(blockChildren) {
|
|
24
24
|
blockChildren.forEach((block) => {
|
|
25
25
|
block.setPosition = blockChildren.indexOf(block) + 1;
|
|
@@ -45,6 +45,7 @@ class BlockGroup extends LitElement {
|
|
|
45
45
|
this.dragEnabled = false;
|
|
46
46
|
this.loading = false;
|
|
47
47
|
this.scale = "m";
|
|
48
|
+
this.expandMode = "multiple";
|
|
48
49
|
this.sortDisabled = false;
|
|
49
50
|
this.calciteBlockGroupDragEnd = createEvent({ cancelable: false });
|
|
50
51
|
this.calciteBlockGroupDragStart = createEvent({ cancelable: false });
|
|
@@ -55,9 +56,10 @@ class BlockGroup extends LitElement {
|
|
|
55
56
|
this.listen("calciteSortHandleReorder", this.handleSortReorder);
|
|
56
57
|
this.listen("calciteSortHandleMove", this.handleSortMove);
|
|
57
58
|
this.listen("calciteSortHandleAdd", this.handleSortAdd);
|
|
59
|
+
this.listen("calciteInternalBlockChange", this.updateBlockChildrenExpanded);
|
|
58
60
|
}
|
|
59
61
|
static {
|
|
60
|
-
this.properties = { assistiveText: [16, {}, { state: true }], sortHandleMenuItems: [16, {}, { state: true }], canPull: [0, {}, { attribute: false }], canPut: [0, {}, { attribute: false }], disabled: [7, {}, { reflect: true, type: Boolean }], dragEnabled: [7, {}, { reflect: true, type: Boolean }], group: [3, {}, { reflect: true }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], sortDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
62
|
+
this.properties = { assistiveText: [16, {}, { state: true }], sortHandleMenuItems: [16, {}, { state: true }], canPull: [0, {}, { attribute: false }], canPut: [0, {}, { attribute: false }], disabled: [7, {}, { reflect: true, type: Boolean }], dragEnabled: [7, {}, { reflect: true, type: Boolean }], group: [3, {}, { reflect: true }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], expandMode: [3, {}, { reflect: true }], sortDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
61
63
|
}
|
|
62
64
|
static {
|
|
63
65
|
this.styles = styles;
|
|
@@ -196,6 +198,41 @@ class BlockGroup extends LitElement {
|
|
|
196
198
|
el.scale = this.scale;
|
|
197
199
|
});
|
|
198
200
|
}
|
|
201
|
+
updateBlockChildrenExpanded(event) {
|
|
202
|
+
const { el, parentElement } = event.detail;
|
|
203
|
+
if (parentElement === this.el) {
|
|
204
|
+
event.stopPropagation();
|
|
205
|
+
const blockChildren = this.blockAndGroups.filter((item) => isBlock(item));
|
|
206
|
+
switch (this.expandMode) {
|
|
207
|
+
case "multiple":
|
|
208
|
+
el.expanded = !el.expanded;
|
|
209
|
+
break;
|
|
210
|
+
case "single":
|
|
211
|
+
el.expanded = !el.expanded;
|
|
212
|
+
this.collapseAllBlockElements(blockChildren, el);
|
|
213
|
+
break;
|
|
214
|
+
case "single-persist":
|
|
215
|
+
if (!el.expanded) {
|
|
216
|
+
el.expanded = true;
|
|
217
|
+
this.collapseAllBlockElements(blockChildren, el);
|
|
218
|
+
} else if (el.expanded) {
|
|
219
|
+
blockChildren.forEach((item) => {
|
|
220
|
+
if (item.contains(el) && item !== el) {
|
|
221
|
+
el.expanded = false;
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
collapseAllBlockElements(blockChildren, el) {
|
|
230
|
+
blockChildren.forEach((item) => {
|
|
231
|
+
if (item !== el && !item.contains(el)) {
|
|
232
|
+
item.expanded = false;
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
}
|
|
199
236
|
validateSortMenuItem({ fromEl, toEl, dragEl, newIndex, oldIndex, type }) {
|
|
200
237
|
if (!fromEl || !toEl || toEl === fromEl || dragEl.contains(toEl)) {
|
|
201
238
|
return false;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { FlipContext, Scale, Status } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
5
|
-
import type { BlockSectionToggleDisplay } from "./
|
|
3
|
+
import type { FlipContext, Scale, Status } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
|
+
import type { BlockSectionToggleDisplay } from "./types.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
+
* @deprecated in v5.2.0, removal target v7.0.0 - Use the `calcite-block` component instead.
|
|
8
9
|
* @cssproperty [--calcite-block-section-background-color] - Specifies the component's background color.
|
|
9
10
|
* @cssproperty [--calcite-block-section-border-color] - Specifies the component's border color. When `expanded`, applies to the component's bottom border.
|
|
10
11
|
* @cssproperty [--calcite-block-section-header-text-color] - Specifies the component's header text color.
|
|
@@ -26,10 +27,14 @@ export abstract class BlockSection extends LitElement {
|
|
|
26
27
|
accessor iconFlipRtl: FlipContext | undefined;
|
|
27
28
|
/** Specifies an icon to display at the start of the component. */
|
|
28
29
|
accessor iconStart: IconName | undefined;
|
|
29
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Replace localized message strings with your own strings.
|
|
32
|
+
*
|
|
33
|
+
* _**Note**: Individual message keys may change between releases._
|
|
34
|
+
*/
|
|
30
35
|
accessor messageOverrides: {
|
|
31
|
-
collapse?: string;
|
|
32
|
-
expand?: string;
|
|
36
|
+
collapse?: string | undefined;
|
|
37
|
+
expand?: string | undefined;
|
|
33
38
|
};
|
|
34
39
|
/**
|
|
35
40
|
* When `true`, expands the component and its contents.
|
|
@@ -53,11 +58,10 @@ export abstract class BlockSection extends LitElement {
|
|
|
53
58
|
/** The component header text. */
|
|
54
59
|
accessor text: string | undefined;
|
|
55
60
|
/**
|
|
56
|
-
* Specifies how the component's toggle is displayed
|
|
57
|
-
*
|
|
58
|
-
* `"button"` sets the toggle to a selectable header, and
|
|
61
|
+
* Specifies how the component's toggle is displayed.
|
|
59
62
|
*
|
|
60
|
-
* `"
|
|
63
|
+
* - `"button"` sets the toggle to a selectable header.
|
|
64
|
+
* - `"switch"` sets the toggle to a switch.
|
|
61
65
|
*
|
|
62
66
|
* @default "button"
|
|
63
67
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as customElement } from "../../chunks/runtime.js";
|
|
2
|
+
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed } from "lit/directives/keyed.js";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
|
|
5
5
|
import { css, html } from "lit";
|
|
@@ -7,7 +7,6 @@ import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
|
7
7
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
8
8
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { l as logger } from "../../chunks/logger.js";
|
|
11
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
11
|
const IDS = {
|
|
13
12
|
content: "content",
|
|
@@ -34,7 +33,7 @@ const ICONS = {
|
|
|
34
33
|
valid: "check-circle",
|
|
35
34
|
invalid: "exclamation-mark-triangle"
|
|
36
35
|
};
|
|
37
|
-
const styles = css`:host{box-sizing:border-box;display:block;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2))}:host([expanded]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-block-section-border-color, var(--calcite-color-border-3))}:host([expanded]) .toggle{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .icon--end,:host([expanded]) .icon--start{color:var(--calcite-block-section-text-color, var(--calcite-color-text-1))}:host([expanded]) .chevron-icon{color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}:host([expanded]) .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-brand-hover)}:host(:last-child){border-block-end-width:0px}:host([scale=s]) .toggle{padding-block:var(--calcite-spacing-xxs);gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size-sm)}:host([scale=s]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-xxs))}:host([scale=m]) .toggle{padding-block:var(--calcite-spacing-sm);gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size)}:host([scale=m]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-sm))}:host([scale=l]) .toggle{padding-block:var(--calcite-spacing-md);gap:var(--calcite-spacing-lg);font-size:var(--calcite-font-size-md)}:host([scale=l]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-md))}.toggle{display:flex;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;border-width:0px;outline-color:transparent;font-family:inherit;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-regular);padding-inline:0;line-height:var(--calcite-font-line-height-relative-snug)}.toggle:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));z-index:var(--calcite-z-index)}.toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;
|
|
36
|
+
const styles = css`:host{box-sizing:border-box;display:block;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2))}:host([expanded]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-block-section-border-color, var(--calcite-color-border-3))}:host([expanded]) .toggle{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .icon--end,:host([expanded]) .icon--start{color:var(--calcite-block-section-text-color, var(--calcite-color-text-1))}:host([expanded]) .chevron-icon{color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}:host([expanded]) .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-brand-hover)}:host(:last-child){border-block-end-width:0px}:host([scale=s]) .toggle{padding-block:var(--calcite-spacing-xxs);gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size-sm)}:host([scale=s]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-xxs))}:host([scale=m]) .toggle{padding-block:var(--calcite-spacing-sm);gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size)}:host([scale=m]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-sm))}:host([scale=l]) .toggle{padding-block:var(--calcite-spacing-md);gap:var(--calcite-spacing-lg);font-size:var(--calcite-font-size-md)}:host([scale=l]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-spacing-md))}.toggle{display:flex;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;border-width:0px;outline-color:transparent;font-family:inherit;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, var(--calcite-color-foreground-1));font-weight:var(--calcite-font-weight-regular);padding-inline:0;line-height:var(--calcite-font-line-height-relative-snug)}.toggle:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));z-index:var(--calcite-z-index)}.toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;overflow-wrap:anywhere}.toggle-container{position:relative;display:flex;align-items:center;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}.toggle-container:hover .chevron-icon{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-text-3)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
38
37
|
class BlockSection extends LitElement {
|
|
39
38
|
constructor() {
|
|
40
39
|
super(...arguments);
|
|
@@ -49,7 +48,7 @@ class BlockSection extends LitElement {
|
|
|
49
48
|
this.calciteBlockSectionToggle = createEvent({ cancelable: false });
|
|
50
49
|
}
|
|
51
50
|
static {
|
|
52
|
-
this.properties = { defaultSlotHasElements: [16, {}, { state: true }], expanded: [7, {}, { reflect: true, type: Boolean }], iconEnd: [3, {
|
|
51
|
+
this.properties = { defaultSlotHasElements: [16, {}, { state: true }], expanded: [7, {}, { reflect: true, type: Boolean }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], text: 1, toggleDisplay: [3, {}, { reflect: true }] };
|
|
53
52
|
}
|
|
54
53
|
static {
|
|
55
54
|
this.styles = styles;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Appearance, FlipContext, Kind, Scale, Width } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
5
|
-
import type { ButtonAlignment } from "./
|
|
3
|
+
import type { Appearance, FlipContext, Kind, Scale, Width } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
|
+
import type { ButtonAlignment } from "./types.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this.
|
|
@@ -69,9 +69,17 @@ export abstract class Button extends LitElement {
|
|
|
69
69
|
* @default false
|
|
70
70
|
*/
|
|
71
71
|
accessor loading: boolean;
|
|
72
|
-
/**
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Replace localized message strings with your own strings.
|
|
74
|
+
*
|
|
75
|
+
* _**Note**: Individual message keys may change between releases._
|
|
76
|
+
*/
|
|
77
|
+
accessor messageOverrides: { loading?: string | undefined; };
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the name of the component.
|
|
80
|
+
*
|
|
81
|
+
* Required to pass the component's `value` on form submission.
|
|
82
|
+
*/
|
|
75
83
|
accessor name: string | undefined;
|
|
76
84
|
/**
|
|
77
85
|
* Defines the relationship between the `href` value and the current document.
|
|
@@ -5,11 +5,12 @@ import { createRef, ref } from "lit/directives/ref.js";
|
|
|
5
5
|
import { literal, html as html$1 } from "lit/static-html.js";
|
|
6
6
|
import { LitElement, stringOrBoolean, safeClassMap, nothing } from "@arcgis/lumina";
|
|
7
7
|
import { useWatchAttributes } from "@arcgis/lumina/controllers";
|
|
8
|
-
import {
|
|
8
|
+
import { g as getLabelText } from "../../chunks/label.js";
|
|
9
|
+
import { u as useLabel } from "../../chunks/useLabel.js";
|
|
9
10
|
import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
|
|
10
11
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
11
12
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
|
-
import {
|
|
13
|
+
import { j as hasVisibleContent } from "../../chunks/dom.js";
|
|
13
14
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
14
15
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
15
16
|
import { u as useFormTrigger } from "../../chunks/useFormTrigger.js";
|
|
@@ -27,7 +28,7 @@ const CSS = {
|
|
|
27
28
|
buttonPadding: "button-padding",
|
|
28
29
|
buttonPaddingShrunk: "button-padding--shrunk"
|
|
29
30
|
};
|
|
30
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-hover, var(--calcite-color-transparent)))}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color))}:host a:active,:host button:active{background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-press, var(--calcite-color-transparent)))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]){--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-background-color-hover: var(--calcite-color-brand-hover);--calcite-internal-button-background-color-press: var(--calcite-color-brand-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=danger]){--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color-hover: var(--calcite-color-status-danger-hover);--calcite-internal-button-background-color-press: var(--calcite-color-status-danger-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=neutral]){--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1);--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-background-color-hover: var(--calcite-color-inverse-hover);--calcite-internal-button-background-color-press: var(--calcite-color-inverse-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([appearance=outline-fill]){--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-3)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]){--calcite-internal-button-background-color-hover: var(--calcite-color-border-2);--calcite-internal-button-background-color-press: var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: var(--calcite-space-sm-plus)}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
31
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, var(--calcite-corner-radius)))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, var(--calcite-corner-radius)));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-hover, var(--calcite-color-transparent)))}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color))}:host a:active,:host button:active{background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-press, var(--calcite-color-transparent)))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]){--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-background-color-hover: var(--calcite-color-brand-hover);--calcite-internal-button-background-color-press: var(--calcite-color-brand-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=danger]){--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color-hover: var(--calcite-color-status-danger-hover);--calcite-internal-button-background-color-press: var(--calcite-color-status-danger-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=neutral]){--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1);--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-background-color-hover: var(--calcite-color-inverse-hover);--calcite-internal-button-background-color-press: var(--calcite-color-inverse-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([appearance=outline-fill]){--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-3)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]){--calcite-internal-button-background-color-hover: var(--calcite-color-border-2);--calcite-internal-button-background-color-press: var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: var(--calcite-space-sm-plus)}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
31
32
|
class Button extends LitElement {
|
|
32
33
|
constructor() {
|
|
33
34
|
super(...arguments);
|
|
@@ -39,6 +40,7 @@ class Button extends LitElement {
|
|
|
39
40
|
this.focusSetter = useSetFocus()(this);
|
|
40
41
|
this.messages = useT9n();
|
|
41
42
|
this.interactiveContainer = useInteractive(this);
|
|
43
|
+
this.labelable = useLabel(this);
|
|
42
44
|
this.hasContent = false;
|
|
43
45
|
this.alignment = "center";
|
|
44
46
|
this.appearance = "solid";
|
|
@@ -53,7 +55,7 @@ class Button extends LitElement {
|
|
|
53
55
|
this.width = "auto";
|
|
54
56
|
}
|
|
55
57
|
static {
|
|
56
|
-
this.properties = { hasContent: [16, {}, { state: true }], tooltipText: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], form: [3, {}, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {
|
|
58
|
+
this.properties = { hasContent: [16, {}, { state: true }], tooltipText: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], form: [3, {}, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], kind: [3, {}, { reflect: true }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], name: [3, {}, { reflect: true }], rel: [3, {}, { reflect: true }], round: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], splitChild: [3, {}, { reflect: true }], target: [3, {}, { reflect: true }], type: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
57
59
|
}
|
|
58
60
|
static {
|
|
59
61
|
this.formAssociated = true;
|
|
@@ -67,7 +69,6 @@ class Button extends LitElement {
|
|
|
67
69
|
connectedCallback() {
|
|
68
70
|
super.connectedCallback();
|
|
69
71
|
this.setupTextContentObserver();
|
|
70
|
-
connectLabel(this);
|
|
71
72
|
}
|
|
72
73
|
async load() {
|
|
73
74
|
this.updateHasContent();
|
|
@@ -78,7 +79,6 @@ class Button extends LitElement {
|
|
|
78
79
|
disconnectedCallback() {
|
|
79
80
|
super.disconnectedCallback();
|
|
80
81
|
this.mutationObserver?.disconnect();
|
|
81
|
-
disconnectLabel(this);
|
|
82
82
|
this.resizeObserver?.disconnect();
|
|
83
83
|
}
|
|
84
84
|
handleGlobalAttributesChanged() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { LogicalFlowPosition, Scale } from "../
|
|
3
|
+
import type { LogicalFlowPosition, Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-card-accent-color-selected] - Specifies the component's accent color when `selected`.
|
|
@@ -37,10 +37,14 @@ export abstract class Card extends LitElement {
|
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
39
|
accessor loading: boolean;
|
|
40
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Replace localized message strings with your own strings.
|
|
42
|
+
*
|
|
43
|
+
* _**Note**: Individual message keys may change between releases._
|
|
44
|
+
*/
|
|
41
45
|
accessor messageOverrides: {
|
|
42
|
-
select?: string;
|
|
43
|
-
loading?: string;
|
|
46
|
+
select?: string | undefined;
|
|
47
|
+
loading?: string | undefined;
|
|
44
48
|
};
|
|
45
49
|
/**
|
|
46
50
|
* Specifies the size of the component. When contained in a parent `calcite-card-group`, inherits the parent's `scale` value, but can be overridden if needed.
|