@esri/calcite-components 3.3.0-next.98 → 3.3.0
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/calcite/{4S3BYI2W.js → 24MB6EOQ.js} +2 -2
- package/dist/calcite/2CMF2ECU.js +4 -0
- package/dist/calcite/{QS5PWHKT.js → 2T5GOYTN.js} +2 -2
- package/dist/calcite/2TVMB6VJ.js +4 -0
- package/dist/calcite/2VNJXJXV.js +4 -0
- package/dist/calcite/{DJA6FKIG.js → 35GBS3F2.js} +2 -2
- package/dist/calcite/{YVMDNHYN.js → 3FGLUPG5.js} +2 -2
- package/dist/calcite/{HSON7CRV.js → 3OUT7BHT.js} +2 -2
- package/dist/calcite/3WQQOYYG.js +4 -0
- package/dist/calcite/{M7Y5XNRZ.js → 3ZOJWLZ2.js} +2 -2
- package/dist/calcite/{2K46ZQMK.js → 47Y44M4X.js} +1 -1
- package/dist/calcite/4BXINLKT.js +4 -0
- package/dist/calcite/{QOUGQWW2.js → 4C6V3L7H.js} +2 -2
- package/dist/calcite/{2V4GZOHD.js → 4HBEALFI.js} +2 -2
- package/dist/calcite/{S3CQ2ZYZ.js → 4KAXREHG.js} +2 -2
- package/dist/calcite/{VQD5L7XI.js → 4KSVXRQS.js} +2 -2
- package/dist/calcite/{QIRNQCWT.js → 4NT6HTEZ.js} +2 -2
- package/dist/calcite/{WQXHLC4B.js → 53MKAPSI.js} +2 -2
- package/dist/calcite/55RJTMRW.js +4 -0
- package/dist/calcite/{UE4ENDJ5.js → 5HQ6IWLK.js} +2 -2
- package/dist/calcite/{EPISNRS4.js → 5UGSQBAD.js} +2 -2
- package/dist/calcite/{BZUBZPQN.js → 646BPU7P.js} +2 -2
- package/dist/calcite/{N2KFXDHX.js → 6JKFGNER.js} +1 -1
- package/dist/calcite/{QLWXQWIE.js → 6MZDUBUG.js} +1 -1
- package/dist/calcite/{6XTI4FHP.js → 6NSPYKR4.js} +2 -2
- package/dist/calcite/{CA7AZANI.js → 6RFAOCG5.js} +2 -2
- package/dist/calcite/{TCHCMZYC.js → 6SDFERGM.js} +2 -2
- package/dist/calcite/{AIXZKGFY.js → 7BGXEFMY.js} +1 -1
- package/dist/calcite/{XDBPJVYN.js → 7DBJVKMZ.js} +1 -1
- package/dist/calcite/{55BM6VFR.js → 7EUH4YDJ.js} +1 -1
- package/dist/calcite/{77PFXZBO.js → 7VUMNQUX.js} +1 -1
- package/dist/calcite/{LYITMM4A.js → ABYKVXFQ.js} +2 -2
- package/dist/calcite/{6EAWWJRD.js → ACABQ52U.js} +2 -2
- package/dist/calcite/{NE6CFNXM.js → ASWBX3VT.js} +2 -2
- package/dist/calcite/B65BOKKA.js +4 -0
- package/dist/calcite/{ZAI5EJQK.js → BCJDKDMG.js} +2 -2
- package/dist/calcite/{HJG2NH4J.js → BDBPSJ5M.js} +2 -2
- package/dist/calcite/{V5PHCVQ4.js → BH7LDLO3.js} +2 -2
- package/dist/calcite/{GOKEQKAU.js → BLDV2UAG.js} +1 -1
- package/dist/calcite/BS7NVHWD.js +4 -0
- package/dist/calcite/{J6HJZLDI.js → C63R75MS.js} +2 -2
- package/dist/calcite/{C4VYDXA2.js → C7AFLZ7U.js} +2 -2
- package/dist/calcite/{RQF37XI2.js → CCXO54U5.js} +2 -2
- package/dist/calcite/CFDF4Z35.js +4 -0
- package/dist/calcite/{VEZ5FB7Z.js → CH2757WA.js} +2 -2
- package/dist/calcite/{YN2X4WDE.js → CVHCTOJE.js} +1 -1
- package/dist/calcite/{LLUBT6KP.js → D6IE52UZ.js} +2 -2
- package/dist/calcite/{QDAKEM65.js → DBGCVZLH.js} +2 -2
- package/dist/calcite/{FYKRAIYL.js → DCZWN6V5.js} +2 -2
- package/dist/calcite/{Z3IXBKGR.js → DW4ETO46.js} +2 -2
- package/dist/calcite/DYKCMKXI.js +4 -0
- package/dist/calcite/{3XCPT6PP.js → EC7YG467.js} +2 -2
- package/dist/calcite/{IJRZ2LHF.js → EVG2HQFN.js} +1 -1
- package/dist/calcite/{BOSFFQCW.js → F4MKJ7JF.js} +2 -2
- package/dist/calcite/{5ZZWSJFO.js → FBXFP56L.js} +2 -2
- package/dist/calcite/{ADSIE5XJ.js → FGEJ4MLN.js} +2 -2
- package/dist/calcite/{ZVXA6N6U.js → FJMYMKCL.js} +1 -1
- package/dist/calcite/FPYQ264A.js +4 -0
- package/dist/calcite/{WISZL46D.js → FQFH6WSQ.js} +2 -2
- package/dist/calcite/{XXDAJCMU.js → FRCPVOAW.js} +2 -2
- package/dist/calcite/FSUGADDK.js +4 -0
- package/dist/calcite/{YFK5DVH4.js → FZACFT6W.js} +2 -2
- package/dist/calcite/G2MPIDFK.js +4 -0
- package/dist/calcite/G4OZMEEN.js +4 -0
- package/dist/calcite/{3IMOGRKW.js → GCX5U3IT.js} +2 -2
- package/dist/calcite/GK2YSNJV.js +4 -0
- package/dist/calcite/{7U6Z7AC7.js → GRYVCBYI.js} +2 -2
- package/dist/calcite/{XB3OTEVA.js → H43XSFCD.js} +1 -1
- package/dist/calcite/{4G5CSLSD.js → H4BLO2QF.js} +2 -2
- package/dist/calcite/H6U7MON7.js +4 -0
- package/dist/calcite/{3D5MROZV.js → H7Y7EXRE.js} +2 -2
- package/dist/calcite/{JPZHPA5D.js → HPIVTBWD.js} +2 -2
- package/dist/calcite/{S33ZEVFX.js → HZ4YKPTK.js} +2 -2
- package/dist/calcite/{BFN7HR2W.js → I2M2PTIY.js} +2 -2
- package/dist/calcite/{WVKTIOYA.js → IHUSRVYX.js} +2 -2
- package/dist/calcite/{266H36RY.js → ISKQMA35.js} +2 -2
- package/dist/calcite/{54AXM6TD.js → ISW7WZIO.js} +2 -2
- package/dist/calcite/IYRFQTUU.js +4 -0
- package/dist/calcite/{YY5ED2IO.js → JCCNI4RF.js} +1 -1
- package/dist/calcite/{6P23MLJW.js → JHWE4KD7.js} +2 -2
- package/dist/calcite/{MPDABVKB.js → JNEG6ZYO.js} +2 -2
- package/dist/calcite/{KQRVF4KA.js → JWWXT5NL.js} +2 -2
- package/dist/calcite/{7CZ5I6GM.js → JXONXMKR.js} +2 -2
- package/dist/calcite/{AWVUDI34.js → K5QJBAHQ.js} +1 -1
- package/dist/calcite/K6UN32CF.js +4 -0
- package/dist/calcite/K7V6VV5Q.js +4 -0
- package/dist/calcite/{Z23KX7K7.js → KDKMZV33.js} +1 -1
- package/dist/calcite/{L7JMWJKB.js → KOQCQSPN.js} +2 -2
- package/dist/calcite/KPPEO5LB.js +4 -0
- package/dist/calcite/{F2QJUAGT.js → KXQQ3YVB.js} +2 -2
- package/dist/calcite/{6VDXKLB4.js → L4YSH6Z3.js} +2 -2
- package/dist/calcite/LA4ZSSUY.js +4 -0
- package/dist/calcite/LE2B3J56.js +4 -0
- package/dist/calcite/{3NSLKUQ5.js → LPEU7RDR.js} +2 -2
- package/dist/calcite/{KB6VNQJQ.js → LPVISSZF.js} +2 -2
- package/dist/calcite/{XIPNLK36.js → LUYC7NEA.js} +1 -1
- package/dist/calcite/LVNNLPK6.js +4 -0
- package/dist/calcite/{4OCWMUZE.js → M7QBJT7J.js} +2 -2
- package/dist/calcite/MFN7P3KP.js +4 -0
- package/dist/calcite/{WVCCT4PX.js → MHFRHDNN.js} +2 -2
- package/dist/calcite/{WT4EZGBW.js → MJHRKCNG.js} +2 -2
- package/dist/calcite/ML64C5YX.js +4 -0
- package/dist/calcite/MVNIFUO4.js +4 -0
- package/dist/calcite/NFAWFOGW.js +4 -0
- package/dist/calcite/NMGQ7ZVZ.js +4 -0
- package/dist/calcite/{27CX25SP.js → NMH4N7KD.js} +2 -2
- package/dist/calcite/{MKRCG4OU.js → NPXYA3QA.js} +2 -2
- package/dist/calcite/{MUO6SCJK.js → NYTYMRHE.js} +2 -2
- package/dist/calcite/{6EQD5HGE.js → O4U2QSZQ.js} +1 -1
- package/dist/calcite/{KC3CQSJ4.js → O7QUJXX2.js} +2 -2
- package/dist/calcite/OKZE6X7H.js +4 -0
- package/dist/calcite/OM7F7TYC.js +4 -0
- package/dist/calcite/{P4PJ7Y7S.js → OPJ62A2Y.js} +2 -2
- package/dist/calcite/{GMIWLA6U.js → OUSXGBW7.js} +2 -2
- package/dist/calcite/{2N74EYHY.js → OVW55YGU.js} +2 -2
- package/dist/calcite/P5F7CR36.js +4 -0
- package/dist/calcite/{N3ULFZLV.js → P5S4RWAG.js} +2 -2
- package/dist/calcite/PFV4G5TT.js +4 -0
- package/dist/calcite/{6XBZX5RT.js → PO6R7RCJ.js} +2 -2
- package/dist/calcite/{YCRE6X42.js → PRTFTUL2.js} +2 -2
- package/dist/calcite/PSZLXAOU.js +4 -0
- package/dist/calcite/{TCRTVCP7.js → PUGPUIQA.js} +2 -2
- package/dist/calcite/{RRRGZX2U.js → Q2K62XM4.js} +2 -2
- package/dist/calcite/{H6P7ARUY.js → Q3PUDDWR.js} +2 -2
- package/dist/calcite/Q747L7FT.js +4 -0
- package/dist/calcite/QHULJG2R.js +4 -0
- package/dist/calcite/{NVE65HCW.js → QX46OQGH.js} +2 -2
- package/dist/calcite/{Q4XOTUPK.js → QX7QAJDA.js} +2 -2
- package/dist/calcite/{TBJOWGSR.js → RD75KWZD.js} +2 -2
- package/dist/calcite/{6BFBJ5PI.js → RNYPWWGJ.js} +2 -2
- package/dist/calcite/{O2HQZPVR.js → RZAPX2ZL.js} +2 -2
- package/dist/calcite/{PSB4VU63.js → S23AHHA5.js} +2 -2
- package/dist/calcite/{ELYNPFFG.js → S2P5LZZ3.js} +2 -2
- package/dist/calcite/{FFBYVPGX.js → SBMZJBHO.js} +2 -2
- package/dist/calcite/{T4TH43KZ.js → SKHKU4P7.js} +2 -2
- package/dist/calcite/SPKCZGM2.js +4 -0
- package/dist/calcite/{TMY7U73Y.js → SRUFFG5Q.js} +2 -2
- package/dist/calcite/{MHYCL6Z4.js → T3JR47NW.js} +2 -2
- package/dist/calcite/{DAC5K2GO.js → TBWXGKZ3.js} +2 -2
- package/dist/calcite/{XCTE3F2E.js → TCDECF3R.js} +2 -2
- package/dist/calcite/TEBMFHGW.js +4 -0
- package/dist/calcite/{NC2AMZIV.js → TJYL7HHL.js} +2 -2
- package/dist/calcite/{6BAI6MC7.js → TP27GUTZ.js} +2 -2
- package/dist/calcite/{FSQEAJWH.js → U55WE5FJ.js} +1 -1
- package/dist/calcite/{MVIOCBEO.js → U6RS6RSG.js} +2 -2
- package/dist/calcite/UDVEMSCN.js +4 -0
- package/dist/calcite/{TKCIA2M3.js → UHSQYBOD.js} +2 -2
- package/dist/calcite/UI2RQETW.js +4 -0
- package/dist/calcite/{PDKAXON5.js → UKPHV6QV.js} +2 -2
- package/dist/calcite/{Z4R7JTN3.js → UL6TFNPI.js} +2 -2
- package/dist/calcite/{63BQZ6RJ.js → UMQ3H7GJ.js} +2 -2
- package/dist/calcite/UW7MDM62.js +4 -0
- package/dist/calcite/{JF5QRSEQ.js → VEERRGQ5.js} +2 -2
- package/dist/calcite/{JOVC4ZQZ.js → VHG47LEI.js} +2 -2
- package/dist/calcite/{NJFSCLKV.js → VIR3HMHO.js} +2 -2
- package/dist/calcite/VTKYN65B.js +4 -0
- package/dist/calcite/{YGNXRKJV.js → VXBQNGNT.js} +2 -2
- package/dist/calcite/{JDSBJK3I.js → W2WU2TRM.js} +1 -1
- package/dist/calcite/{R5UO7IJT.js → WFS2PQXF.js} +2 -2
- package/dist/calcite/{7ETCRAKR.js → WGPLFNXR.js} +2 -2
- package/dist/calcite/WNVFJX4X.js +4 -0
- package/dist/calcite/{CCZAQKPQ.js → WSQMCXHM.js} +2 -2
- package/dist/calcite/{D6V52JPD.js → XAIOYFBG.js} +2 -2
- package/dist/calcite/{S5LUFCWS.js → XCKLOIVT.js} +2 -2
- package/dist/calcite/XITBRPMY.js +4 -0
- package/dist/calcite/{E4YG2JJ5.js → XQ5W56HL.js} +2 -2
- package/dist/calcite/{SMLHS4NP.js → XUOU66JQ.js} +2 -2
- package/dist/calcite/{45JYON3C.js → XWMZXCJZ.js} +2 -2
- package/dist/calcite/{T6CXK5UB.js → Y4ZN4C75.js} +1 -1
- package/dist/calcite/{RDYUJSF3.js → Y5MVVAYA.js} +2 -2
- package/dist/calcite/{NZCHNVDN.js → YEGQMUEK.js} +3 -3
- package/dist/calcite/{5UO4H3OC.js → YGK6NBIS.js} +1 -1
- package/dist/calcite/{Y3XEQGMQ.js → YRXDLI45.js} +2 -2
- package/dist/calcite/{B7FZKHHW.js → YXWRTBHG.js} +2 -2
- package/dist/calcite/{JLJFWDGF.js → Z5UKUJMN.js} +1 -1
- package/dist/calcite/{NSISBMHF.js → Z5V2X7GY.js} +2 -2
- package/dist/calcite/{3BG77ZOV.js → ZACQ2LTO.js} +2 -2
- package/dist/calcite/ZFJX6Y6O.js +4 -0
- package/dist/calcite/assets/accordion-item/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/accordion-item/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/action-bar/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/action-pad/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/sort-handle/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +3 -3
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/_sortable.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +19 -2
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/resources8.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -0
- package/dist/components/calcite-accordion-item/customElement.js +26 -12
- package/dist/components/calcite-accordion-item/resources.d.ts +4 -0
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +3 -7
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +4 -9
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +2 -2
- package/dist/components/calcite-block-group/customElement.js +2 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +6 -8
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +6 -8
- package/dist/components/calcite-carousel/customElement.d.ts +2 -2
- package/dist/components/calcite-carousel/customElement.js +13 -21
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +9 -9
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker/customElement.js +13 -21
- package/dist/components/calcite-color-picker-hex-input/customElement.js +18 -27
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +41 -48
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +9 -9
- package/dist/components/calcite-date-picker-month-header/customElement.js +17 -11
- package/dist/components/calcite-dialog/customElement.js +2 -2
- package/dist/components/calcite-dropdown/customElement.js +16 -25
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +7 -11
- package/dist/components/calcite-flow-item/customElement.js +11 -17
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +26 -29
- package/dist/components/calcite-input/customElement.js +26 -33
- package/dist/components/calcite-input-date-picker/customElement.js +27 -31
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +19 -23
- package/dist/components/calcite-input-text/customElement.js +13 -17
- package/dist/components/calcite-input-time-picker/customElement.js +7 -11
- package/dist/components/calcite-input-time-zone/customElement.js +8 -12
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +10 -11
- package/dist/components/calcite-list/customElement.js +4 -5
- package/dist/components/calcite-list-item/customElement.js +26 -28
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +10 -13
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +6 -0
- package/dist/components/calcite-panel/customElement.js +7 -15
- package/dist/components/calcite-popover/customElement.js +4 -7
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +5 -9
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +5 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +6 -12
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +2 -3
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +15 -17
- package/dist/components/calcite-slider/customElement.js +6 -10
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +2 -2
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +6 -8
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.js +11 -7
- package/dist/components/calcite-swatch/resources.d.ts +2 -0
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +5 -9
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +1 -1
- package/dist/components/calcite-tab-title/customElement.js +10 -6
- package/dist/components/calcite-table/customElement.d.ts +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +8 -7
- package/dist/components/calcite-text-area/customElement.js +9 -14
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +45 -56
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +7 -6
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +2 -2
- package/dist/custom-theme/color-picker.d.ts +22 -0
- package/dist/custom-theme/input-time-picker.d.ts +20 -0
- package/dist/custom-theme/split-button.d.ts +14 -0
- package/dist/custom-theme/swatch-group.d.ts +4 -0
- package/dist/custom-theme/swatch.d.ts +4 -0
- package/dist/custom-theme/tooltip.d.ts +1 -0
- package/dist/docs/api.json +263 -18
- package/dist/docs/docs.json +291 -13
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +192 -0
- package/dist/docs/vscode.html-custom-data.json +25 -13
- package/dist/docs/web-types.json +238 -22
- package/dist/extras/vscode-data.json +25 -13
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/observers.d.ts +12 -0
- package/package.json +10 -10
- package/dist/calcite/2243FWXI.js +0 -4
- package/dist/calcite/35BUPBDH.js +0 -4
- package/dist/calcite/4CNXVQGV.js +0 -4
- package/dist/calcite/4KCQOKGH.js +0 -4
- package/dist/calcite/5ODRV5SC.js +0 -4
- package/dist/calcite/5SIH5LED.js +0 -4
- package/dist/calcite/6E2SW6D6.js +0 -4
- package/dist/calcite/77K7GW7B.js +0 -4
- package/dist/calcite/AR7VEHRJ.js +0 -4
- package/dist/calcite/B54KDZWJ.js +0 -4
- package/dist/calcite/CDBCLVSA.js +0 -4
- package/dist/calcite/CTLQPKP2.js +0 -4
- package/dist/calcite/D3WAMWVS.js +0 -4
- package/dist/calcite/DHOHJCPM.js +0 -4
- package/dist/calcite/ECKPVV74.js +0 -4
- package/dist/calcite/FUN5M7J6.js +0 -4
- package/dist/calcite/G2ZNEWGN.js +0 -4
- package/dist/calcite/GXL3WDBN.js +0 -3
- package/dist/calcite/GZUE4252.js +0 -4
- package/dist/calcite/HBNTFC4J.js +0 -4
- package/dist/calcite/HKLTJAIW.js +0 -4
- package/dist/calcite/I6QPJMCO.js +0 -4
- package/dist/calcite/J6VWT2CJ.js +0 -4
- package/dist/calcite/K55QA6MG.js +0 -4
- package/dist/calcite/KSL75CQ5.js +0 -4
- package/dist/calcite/L5MXTLNM.js +0 -4
- package/dist/calcite/M2P62PQT.js +0 -4
- package/dist/calcite/MDCBNQ3U.js +0 -4
- package/dist/calcite/MWLNDAK7.js +0 -4
- package/dist/calcite/O26KPINV.js +0 -4
- package/dist/calcite/OLGT7GUV.js +0 -4
- package/dist/calcite/PBOPJP2H.js +0 -4
- package/dist/calcite/PE3B3YHT.js +0 -4
- package/dist/calcite/PYT45JGQ.js +0 -4
- package/dist/calcite/QONAD4SL.js +0 -4
- package/dist/calcite/R2MVQKRQ.js +0 -4
- package/dist/calcite/R3YD7RNQ.js +0 -4
- package/dist/calcite/RCJQFC4L.js +0 -4
- package/dist/calcite/RK6PVQUH.js +0 -4
- package/dist/calcite/UYUKIKKI.js +0 -4
- package/dist/calcite/VLG7AGG6.js +0 -4
- package/dist/calcite/W2XDB3WP.js +0 -4
- package/dist/calcite/W6ADZRFT.js +0 -4
- package/dist/calcite/WUPMEP7V.js +0 -4
- package/dist/calcite/Z4LMAO3S.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -73,8 +73,7 @@ class Select extends LitElement {
|
|
|
73
73
|
}
|
|
74
74
|
connectedCallback() {
|
|
75
75
|
super.connectedCallback();
|
|
76
|
-
|
|
77
|
-
this.mutationObserver?.observe(el, {
|
|
76
|
+
this.mutationObserver?.observe(this.el, {
|
|
78
77
|
subtree: true,
|
|
79
78
|
childList: true
|
|
80
79
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { C as CSS_UTILITY, a as resizeShiftStep, b as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { C as CSS_UTILITY, a as resizeShiftStep, b as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
|
-
import { ref } from "lit/directives/ref.js";
|
|
7
6
|
import { i as interact } from "../../chunks/interact.min.js";
|
|
8
7
|
import { css, html } from "lit";
|
|
9
8
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
9
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
10
10
|
import { g as getElementDir, o as getStylePixelValue, s as slotChangeGetAssignedElements, a as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
11
11
|
import { c as clamp } from "../../chunks/math.js";
|
|
12
12
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
@@ -32,11 +32,12 @@ const ICONS = {
|
|
|
32
32
|
dragVertical: "drag-resize-vertical",
|
|
33
33
|
dragHorizontal: "drag-resize-horizontal"
|
|
34
34
|
};
|
|
35
|
-
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 20vh) )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 40vh) )}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus)}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
35
|
+
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus)}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
36
36
|
class ShellPanel extends LitElement {
|
|
37
37
|
constructor() {
|
|
38
38
|
super(...arguments);
|
|
39
39
|
this.actionBars = [];
|
|
40
|
+
this.contentRef = createRef();
|
|
40
41
|
this.messages = useT9n();
|
|
41
42
|
this.resizeValues = {
|
|
42
43
|
inlineSize: null,
|
|
@@ -81,14 +82,14 @@ class ShellPanel extends LitElement {
|
|
|
81
82
|
this.cleanupInteractions();
|
|
82
83
|
}
|
|
83
84
|
getContentElDOMRect() {
|
|
84
|
-
return this.
|
|
85
|
+
return this.contentRef.value.getBoundingClientRect();
|
|
85
86
|
}
|
|
86
87
|
handleKeyDown(event) {
|
|
87
88
|
const { key, defaultPrevented, shiftKey } = event;
|
|
88
|
-
const { position, layout, resizable,
|
|
89
|
+
const { position, layout, resizable, contentRef, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
|
|
89
90
|
const arrowKeys = layout === "horizontal" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
|
|
90
91
|
const keys = [...arrowKeys, "Home", "End"];
|
|
91
|
-
if (!resizable || !
|
|
92
|
+
if (!resizable || !contentRef.value || defaultPrevented || !keys.includes(key)) {
|
|
92
93
|
return;
|
|
93
94
|
}
|
|
94
95
|
const rect = this.getContentElDOMRect();
|
|
@@ -140,8 +141,8 @@ class ShellPanel extends LitElement {
|
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
updateSize({ type, size }) {
|
|
143
|
-
const {
|
|
144
|
-
if (!
|
|
144
|
+
const { contentRef, resizeValues } = this;
|
|
145
|
+
if (!contentRef.value) {
|
|
145
146
|
return;
|
|
146
147
|
}
|
|
147
148
|
const resizeMin = type === "blockSize" ? "minBlockSize" : "minInlineSize";
|
|
@@ -152,19 +153,19 @@ class ShellPanel extends LitElement {
|
|
|
152
153
|
...resizeValues,
|
|
153
154
|
[type]: rounded
|
|
154
155
|
};
|
|
155
|
-
|
|
156
|
+
contentRef.value.style[type] = size !== null ? `${rounded}px` : null;
|
|
156
157
|
}
|
|
157
158
|
cleanupInteractions() {
|
|
158
159
|
this.interaction?.unset();
|
|
159
160
|
}
|
|
160
161
|
async setupInteractions() {
|
|
161
162
|
this.cleanupInteractions();
|
|
162
|
-
const { el,
|
|
163
|
-
if (!
|
|
163
|
+
const { el, contentRef, resizable, position, collapsed, resizeHandleEl, layout } = this;
|
|
164
|
+
if (!contentRef.value || collapsed || !resizable || !resizeHandleEl) {
|
|
164
165
|
return;
|
|
165
166
|
}
|
|
166
167
|
await this.el.componentOnReady();
|
|
167
|
-
const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(
|
|
168
|
+
const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentRef.value);
|
|
168
169
|
const values = {
|
|
169
170
|
inlineSize: getStylePixelValue(inlineSize),
|
|
170
171
|
blockSize: getStylePixelValue(blockSize),
|
|
@@ -175,7 +176,7 @@ class ShellPanel extends LitElement {
|
|
|
175
176
|
};
|
|
176
177
|
this.resizeValues = values;
|
|
177
178
|
const rtl = getElementDir(el) === "rtl";
|
|
178
|
-
this.interaction = interact(
|
|
179
|
+
this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
|
|
179
180
|
edges: {
|
|
180
181
|
top: position === "end" && layout === "horizontal" ? resizeHandleEl : false,
|
|
181
182
|
right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandleEl : false,
|
|
@@ -211,9 +212,6 @@ class ShellPanel extends LitElement {
|
|
|
211
212
|
}
|
|
212
213
|
});
|
|
213
214
|
}
|
|
214
|
-
storeContentEl(contentEl) {
|
|
215
|
-
this.contentEl = contentEl;
|
|
216
|
-
}
|
|
217
215
|
setResizeHandleEl(el) {
|
|
218
216
|
this.resizeHandleEl = el;
|
|
219
217
|
this.setupInteractions();
|
|
@@ -257,7 +255,7 @@ class ShellPanel extends LitElement {
|
|
|
257
255
|
[getAnimationDir()]: displayMode === "overlay",
|
|
258
256
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
|
|
259
257
|
[getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
|
|
260
|
-
})} .hidden=${collapsed} ${ref(this.
|
|
258
|
+
})} .hidden=${collapsed} ${ref(this.contentRef)}>${this.renderHeader()}<div class=${safeClassMap(CSS.contentBody)}><slot></slot></div>${separatorNode}</div>`)}</div>`;
|
|
261
259
|
const actionBarNode = keyed("action-bar-container", html`<div class=${safeClassMap(CSS.actionBarContainer)}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`);
|
|
262
260
|
const mainNodes = [actionBarNode, contentNode];
|
|
263
261
|
if (position === "end") {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
|
-
import { ref } from "lit/directives/ref.js";
|
|
6
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
7
6
|
import { css, html } from "lit";
|
|
8
7
|
import { LitElement, createEvent, stringOrBoolean, setAttribute, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
8
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
9
9
|
import { g as guid } from "../../chunks/guid.js";
|
|
10
10
|
import { i as isPrimaryPointerButton, j as intersects } from "../../chunks/dom.js";
|
|
11
11
|
import { I as InternalLabel } from "../../chunks/InternalLabel.js";
|
|
@@ -126,6 +126,7 @@ class Slider extends LitElement {
|
|
|
126
126
|
}
|
|
127
127
|
this.dragEnd(event);
|
|
128
128
|
};
|
|
129
|
+
this.trackRef = createRef();
|
|
129
130
|
this.focusSetter = useSetFocus()(this);
|
|
130
131
|
this.activeProp = "value";
|
|
131
132
|
this.maxValueDragRange = null;
|
|
@@ -177,9 +178,7 @@ class Slider extends LitElement {
|
|
|
177
178
|
this.styles = styles;
|
|
178
179
|
}
|
|
179
180
|
async setFocus(options) {
|
|
180
|
-
return this.focusSetter(() =>
|
|
181
|
-
return this.minHandle || this.maxHandle;
|
|
182
|
-
}, options);
|
|
181
|
+
return this.focusSetter(() => this.minHandle || this.maxHandle, options);
|
|
183
182
|
}
|
|
184
183
|
connectedCallback() {
|
|
185
184
|
super.connectedCallback();
|
|
@@ -421,9 +420,6 @@ class Slider extends LitElement {
|
|
|
421
420
|
}
|
|
422
421
|
this.emitInput();
|
|
423
422
|
}
|
|
424
|
-
storeTrackRef(node) {
|
|
425
|
-
this.trackEl = node;
|
|
426
|
-
}
|
|
427
423
|
storeThumbRef(el) {
|
|
428
424
|
if (!el) {
|
|
429
425
|
return;
|
|
@@ -447,7 +443,7 @@ class Slider extends LitElement {
|
|
|
447
443
|
}
|
|
448
444
|
mapToRange(x) {
|
|
449
445
|
const range = this.max - this.min;
|
|
450
|
-
const { left, width } = this.
|
|
446
|
+
const { left, width } = this.trackRef.value.getBoundingClientRect() || { left: 0, width: 0 };
|
|
451
447
|
const percent = (x - left) / width;
|
|
452
448
|
const mirror = this.shouldMirror();
|
|
453
449
|
const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
|
|
@@ -656,7 +652,7 @@ class Slider extends LitElement {
|
|
|
656
652
|
[CSS.container]: true,
|
|
657
653
|
[CSS.containerRange]: valueIsRange,
|
|
658
654
|
[CSS.scale(this.scale)]: true
|
|
659
|
-
})}>${this.renderGraph()}<div class=${safeClassMap(CSS.track)} ${ref(this.
|
|
655
|
+
})}>${this.renderGraph()}<div class=${safeClassMap(CSS.track)} ${ref(this.trackRef)}><div class=${safeClassMap(CSS.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${safeStyleMap(trackRangePlacementStyles)}></div><div class=${safeClassMap(CSS.ticks)}>${this.tickValues.map((tick) => {
|
|
660
656
|
const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
|
|
661
657
|
let activeTicks = false;
|
|
662
658
|
if (fillPlacement === "start" || fillPlacement === "end") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -15,7 +15,7 @@ export declare class SortableList extends LitElement {
|
|
|
15
15
|
/** When provided, the method will be called to determine whether the element can be added from another list. */
|
|
16
16
|
canPut: (detail: DragDetail) => boolean;
|
|
17
17
|
/**
|
|
18
|
-
* When
|
|
18
|
+
* When present, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
19
19
|
*
|
|
20
20
|
* @default false
|
|
21
21
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class SortableList extends LitElement {
|
|
|
41
41
|
*/
|
|
42
42
|
layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
43
43
|
/**
|
|
44
|
-
* When
|
|
44
|
+
* When present, content is waiting to be loaded. This state shows a busy indicator.
|
|
45
45
|
*
|
|
46
46
|
* @default false
|
|
47
47
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
@@ -20,7 +20,7 @@ const ICONS = {
|
|
|
20
20
|
ellipsis: "ellipsis",
|
|
21
21
|
handleVertical: "handle-vertical"
|
|
22
22
|
};
|
|
23
|
-
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-
|
|
23
|
+
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-brand);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-status-danger);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-inverse);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-split-button-divider-color, var(--calcite-internal-split-button-divider-border-color))}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider-border-color, var(--calcite-internal-split-button-divider-color))}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}calcite-button[split-child=primary],calcite-button[split-child=secondary]{--calcite-button-background-color: var(--calcite-split-button-background-color);--calcite-button-border-color: var(--calcite-split-button-border-color);--calcite-button-text-color: var(--calcite-split-button-text-color);--calcite-button-icon-color: var(--calcite-split-button-icon-color);--calcite-button-loading-color: var(--calcite-split-button-loading-color);--calcite-button-shadow: var(--calcite-split-button-shadow)}calcite-button[split-child=primary]{--calcite-button-corner-radius: var(--calcite-split-button-corner-radius) var(--calcite-corner-radius-none) var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius)}calcite-button[split-child=secondary]{--calcite-button-corner-radius: var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius) var(--calcite-split-button-corner-radius) var(--calcite-corner-radius-none)}calcite-dropdown{--calcite-dropdown-shadow: var(--calcite-split-button-dropdown-shadow);--calcite-dropdown-background-color: var(--calcite-split-button-dropdown-background-color);--calcite-dropdown-width: var(--calcite-split-button-dropdown-width)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
24
24
|
class SplitButton extends LitElement {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
|
-
import { ref } from "lit/directives/ref.js";
|
|
6
5
|
import { css, html as html$1, nothing } from "lit";
|
|
7
6
|
import { safeClassMap, LitElement, createEvent } from "@arcgis/lumina";
|
|
7
|
+
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
8
8
|
import { d as focusElementInGroup, s as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
9
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { g as guid } from "../../chunks/guid.js";
|
|
@@ -46,6 +46,7 @@ const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-fo
|
|
|
46
46
|
class Stepper extends LitElement {
|
|
47
47
|
constructor() {
|
|
48
48
|
super();
|
|
49
|
+
this.containerRef = createRef();
|
|
49
50
|
this.enabledItems = [];
|
|
50
51
|
this.guid = guid();
|
|
51
52
|
this.itemMap = /* @__PURE__ */ new Map();
|
|
@@ -247,21 +248,18 @@ class Stepper extends LitElement {
|
|
|
247
248
|
}
|
|
248
249
|
return 0;
|
|
249
250
|
}
|
|
250
|
-
setContainerEl(el) {
|
|
251
|
-
this.containerEl = el;
|
|
252
|
-
}
|
|
253
251
|
handleDefaultSlotChange(event) {
|
|
254
252
|
const items = slotChangeGetAssignedElements(event).filter((el) => el?.tagName === "CALCITE-STEPPER-ITEM" && !isHidden(el));
|
|
255
253
|
this.items = items;
|
|
256
254
|
const spacing = Array(items.length).fill("1fr").join(" ");
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
255
|
+
this.containerRef.value.style.gridTemplateAreas = spacing;
|
|
256
|
+
this.containerRef.value.style.gridTemplateColumns = spacing;
|
|
259
257
|
this.setStepperItemNumberingSystem();
|
|
260
258
|
}
|
|
261
259
|
render() {
|
|
262
260
|
this.el.ariaLabel = this.messages.label;
|
|
263
261
|
this.el.role = "region";
|
|
264
|
-
return html$1`<div class=${safeClassMap({ container: true, [CSS$1.singleView]: this.layout === "horizontal-single" })} ${ref(this.
|
|
262
|
+
return html$1`<div class=${safeClassMap({ container: true, [CSS$1.singleView]: this.layout === "horizontal-single" })} ${ref(this.containerRef)}>${this.layout === "horizontal-single" && html$1`<div class=${safeClassMap({ [CSS$1.stepBarContainer]: true })}>${this.items.map((item, index) => StepBar({ active: index === this.currentActivePosition, complete: item.complete && index !== this.currentActivePosition && !item.error, disabled: item.disabled && index !== this.currentActivePosition, error: item.error && index !== this.currentActivePosition }))}</div>` || ""}${this.layout === "horizontal-single" && html$1`<div class=${safeClassMap({ [CSS$1.actionContainer]: true })}>${this.renderAction("start")}${this.renderAction("end")}</div>` || ""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`;
|
|
265
263
|
}
|
|
266
264
|
renderAction(position) {
|
|
267
265
|
const isPositionStart = position === "start";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, svg, nothing } from "lit";
|
|
@@ -35,9 +35,11 @@ const CHECKER_DIMENSIONS = {
|
|
|
35
35
|
const IDS = {
|
|
36
36
|
checker: "checker",
|
|
37
37
|
shape: "shape",
|
|
38
|
-
swatchRect: "swatch-rect"
|
|
38
|
+
swatchRect: "swatch-rect",
|
|
39
|
+
swatchSolid: "swatch-solid",
|
|
40
|
+
swatchTransparent: "swatch-transparent"
|
|
39
41
|
};
|
|
40
|
-
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{display:block;--calcite-internal-swatch-inset: var(--calcite-spacing-xxs)}:host([scale=s]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xl)}:host([scale=m]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxl)}:host([scale=l]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxxl)}.container{position:relative;box-sizing:border-box;justify-content:center;overflow:hidden;outline-color:transparent;font-size:var(--calcite-internal-swatch-font-size, var(--calcite-font-size));block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}.container:not(.non-interactive):hover{cursor:pointer;box-shadow:0 0 0 var(--calcite-border-width-md) var(--calcite-color-border-2)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.swatch{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 1);block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}:host([selected]) .swatch{inset:var(--calcite-internal-swatch-inset);block-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));min-inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset))}:host([selected]) .container{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-text-1),inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-color-foreground-1)}:host([selected]) .image-container{inset:var(--calcite-internal-swatch-inset)}.image-container{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 2);inset:var(--calcite-spacing-px);display:flex;align-items:center;justify-content:center;pointer-events:none;border-radius:var(--calcite-swatch-corner-radius, 0)}.internal-svg-container{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:calc(var(--calcite-z-index) + 2)}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}:host([selected]) #swatch-rect{stroke-width:0}#swatch-rect{stroke:var(--calcite-color-text-1);stroke-width:var(--calcite-border-width-md);stroke-opacity:.3}.internal-svg-disabled{stroke:#6a6a6a;fill:#fff}.internal-svg-empty{stroke:var(--calcite-color-status-danger);stroke-width:3}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
42
|
+
const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{display:block;--calcite-internal-swatch-inset: var(--calcite-spacing-xxs)}:host([scale=s]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xl)}:host([scale=m]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxl)}:host([scale=l]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxxl)}.container{position:relative;box-sizing:border-box;justify-content:center;overflow:hidden;outline-color:transparent;font-size:var(--calcite-internal-swatch-font-size, var(--calcite-font-size));block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}.container:not(.non-interactive):hover{cursor:pointer;box-shadow:0 0 0 var(--calcite-border-width-md) var(--calcite-color-border-2)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.swatch{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 1);block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}:host([selected]) .swatch{inset:var(--calcite-internal-swatch-inset);block-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));min-inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset))}:host([selected]) .container{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-text-1),inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-color-foreground-1)}:host([selected]) .image-container{inset:var(--calcite-internal-swatch-inset)}.image-container{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 2);inset:var(--calcite-spacing-px);display:flex;align-items:center;justify-content:center;pointer-events:none;border-radius:var(--calcite-swatch-corner-radius, 0)}.internal-svg-container{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:calc(var(--calcite-z-index) + 2)}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}:host([selected]) #swatch-rect,:host([selected]) #swatch-solid,:host([selected]) #swatch-transparent{stroke-width:0}#swatch-rect,#swatch-solid,#swatch-transparent{stroke:var(--calcite-color-text-1);stroke-width:var(--calcite-border-width-md);stroke-opacity:.3;rx:var(--calcite-swatch-corner-radius)}.internal-svg-disabled{stroke:#6a6a6a;fill:#fff}.internal-svg-empty{stroke:var(--calcite-color-status-danger);stroke-width:3}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
41
43
|
class Swatch extends LitElement {
|
|
42
44
|
constructor() {
|
|
43
45
|
super();
|
|
@@ -162,7 +164,7 @@ class Swatch extends LitElement {
|
|
|
162
164
|
const alpha = internalColor.alpha();
|
|
163
165
|
const hex = hexify(internalColor);
|
|
164
166
|
const hexa = hexify(internalColor, alpha < 1);
|
|
165
|
-
return svg`<
|
|
167
|
+
return svg`<defs><pattern height=${CHECKER_DIMENSIONS.size} id=${IDS.checker} patternUnits=userSpaceOnUse width=${CHECKER_DIMENSIONS.size} x=0 y=0><rect class=${safeClassMap(CSS.checker)} height=${CHECKER_DIMENSIONS.squareSize} width=${CHECKER_DIMENSIONS.squareSize} x=0 y=0 /><rect class=${safeClassMap(CSS.checker)} height=${CHECKER_DIMENSIONS.squareSize} width=${CHECKER_DIMENSIONS.squareSize} x=${CHECKER_DIMENSIONS.squareSize} y=${CHECKER_DIMENSIONS.squareSize} /></pattern></defs>${this.renderSwatchRect({
|
|
166
168
|
fill: "url(#checker)",
|
|
167
169
|
rx: commonSwatchProps.rx,
|
|
168
170
|
height: commonSwatchProps.height,
|
|
@@ -170,16 +172,18 @@ class Swatch extends LitElement {
|
|
|
170
172
|
})}${this.renderSwatchRect({
|
|
171
173
|
clipPath: alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round "${borderRadius}")`,
|
|
172
174
|
fill: hex,
|
|
175
|
+
id: IDS.swatchSolid,
|
|
173
176
|
...commonSwatchProps
|
|
174
177
|
})}${alpha < 1 ? this.renderSwatchRect({
|
|
175
178
|
clipPath: "polygon(100% 0, 100% 100%, 0 100%)",
|
|
176
179
|
fill: hexa,
|
|
180
|
+
id: IDS.swatchTransparent,
|
|
177
181
|
key: "opacity-fill",
|
|
178
182
|
...commonSwatchProps
|
|
179
183
|
}) : null}`;
|
|
180
184
|
}
|
|
181
|
-
renderSwatchRect({ clipPath, fill, height, key, rx, stroke, strokeWidth, width }) {
|
|
182
|
-
return keyed(key, svg`<rect clip-path=${clipPath ?? nothing} fill=${fill ?? nothing} height=${height ?? nothing} id=${IDS.swatchRect} rx=${rx ?? nothing} stroke=${stroke ?? nothing} stroke-width=${strokeWidth ?? nothing} width=${width ?? nothing} />`);
|
|
185
|
+
renderSwatchRect({ clipPath, fill, height, key, rx, stroke, strokeWidth, width, id }) {
|
|
186
|
+
return keyed(key, svg`<rect clip-path=${clipPath ?? nothing} fill=${fill ?? nothing} height=${height ?? nothing} id=${(id ? id : IDS.swatchRect) ?? nothing} rx=${rx ?? nothing} stroke=${stroke ?? nothing} stroke-width=${strokeWidth ?? nothing} width=${width ?? nothing} />`);
|
|
183
187
|
}
|
|
184
188
|
render() {
|
|
185
189
|
const { disabled } = this;
|
|
@@ -195,7 +199,7 @@ class Swatch extends LitElement {
|
|
|
195
199
|
[CSS.selectable]: this.selectionMode !== "none",
|
|
196
200
|
[CSS.selected]: this.selected,
|
|
197
201
|
[CSS.nonInteractive]: !this.interactive
|
|
198
|
-
})} @click=${this.handleEmittingEvent} .role=${role} .tabIndex=${disableInteraction ? -1 : 0} ${ref(this.containerEl)}>${this.renderSwatchImage()}${!this.internalColor && !this.hasImage && this.renderEmptyDisplay() || ""}${this.disabled && this.renderDisabledDisplay() || ""}<svg class=${safeClassMap(classes)} role=presentation xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg></div>` });
|
|
202
|
+
})} @click=${this.handleEmittingEvent} .role=${role} .tabIndex=${disableInteraction ? -1 : 0} title=${this.label ?? nothing} ${ref(this.containerEl)}>${this.renderSwatchImage()}${!this.internalColor && !this.hasImage && this.renderEmptyDisplay() || ""}${this.disabled && this.renderDisabledDisplay() || ""}<svg class=${safeClassMap(classes)} role=presentation xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg></div>` });
|
|
199
203
|
}
|
|
200
204
|
}
|
|
201
205
|
customElement("calcite-swatch", Swatch);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
|
-
import { ref } from "lit/directives/ref.js";
|
|
6
5
|
import { css, html } from "lit";
|
|
7
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
|
+
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
8
8
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
|
|
9
9
|
import { u as updateHostInteraction, I as InteractiveContainer } from "../../chunks/interactive.js";
|
|
10
10
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
@@ -20,6 +20,7 @@ const styles = css`:host{--calcite-internal-color-focus: var( --calcite-color-fo
|
|
|
20
20
|
class Switch extends LitElement {
|
|
21
21
|
constructor() {
|
|
22
22
|
super();
|
|
23
|
+
this.switchRef = createRef();
|
|
23
24
|
this.focusSetter = useSetFocus()(this);
|
|
24
25
|
this.checked = false;
|
|
25
26
|
this.disabled = false;
|
|
@@ -35,9 +36,7 @@ class Switch extends LitElement {
|
|
|
35
36
|
this.styles = styles;
|
|
36
37
|
}
|
|
37
38
|
async setFocus(options) {
|
|
38
|
-
return this.focusSetter(() =>
|
|
39
|
-
return this.switchEl;
|
|
40
|
-
}, options);
|
|
39
|
+
return this.focusSetter(() => this.switchRef.value, options);
|
|
41
40
|
}
|
|
42
41
|
connectedCallback() {
|
|
43
42
|
super.connectedCallback();
|
|
@@ -77,11 +76,8 @@ class Switch extends LitElement {
|
|
|
77
76
|
}
|
|
78
77
|
this.toggle();
|
|
79
78
|
}
|
|
80
|
-
setSwitchEl(el) {
|
|
81
|
-
this.switchEl = el;
|
|
82
|
-
}
|
|
83
79
|
render() {
|
|
84
|
-
return InteractiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} class=${safeClassMap(CSS.container)} role=switch tabindex=0 ${ref(this.
|
|
80
|
+
return InteractiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} class=${safeClassMap(CSS.container)} role=switch tabindex=0 ${ref(this.switchRef)}>${this.labelTextStart && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextStart, spacingInlineEnd: true }) || ""}<div class=${safeClassMap(CSS.track)}><div class=${safeClassMap(CSS.handle)}></div></div>${this.labelTextEnd && InternalLabel({ alignmentCenter: true, bottomSpacingDisabled: true, labelText: this.labelTextEnd, spacingInlineStart: true }) || ""}${HiddenFormInputSlot({ component: this })}</div>` });
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
customElement("calcite-switch", Switch);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.3.0
|
|
3
|
+
v3.3.0 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -48,7 +48,7 @@ export declare class TabTitle extends LitElement {
|
|
|
48
48
|
*/
|
|
49
49
|
position: TabPosition;
|
|
50
50
|
/**
|
|
51
|
-
* When
|
|
51
|
+
* When present, the component and its respective `calcite-tab` contents are selected.
|
|
52
52
|
*
|
|
53
53
|
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
54
54
|
*
|